Transaction API

window

window tag

Creates an anchor tag <a> that opens a new window to the specified url. If closeAction is supplied in Console for a transaction or pal, Console workflow will run with the action when Navigator is closed. To create a new transaction, use the pal attribute. To access an existing transaction, use the transaction attribute. Querystring parameters can be passed with the pal or transaction ID.

Tag Attributes
Attribute Notes
test
name alphanumeric starting with alpha (required)
url
params not available for pal or transaction windows
show
id
attachment
class
style
title
transaction
pal
closeAction
google-auth
anon personal profile required
type
value required when type is button
confirm
file
unc true or false
cacheId

Sample:

<c:window url="http://www.mysite.com" params="toolbar=yes,width=300,height=300,resizable=yes,scrollbars=yes,location=yes,status=yes,directories=yes,menubar=yes,copyhistory=no">
    click here to go to mysite
</c:window>

The window tag is also used for opening an attachment for editing (uses webdav and requires Java on the client):

<c:window attachment="${attachmentId}">Edit Attachment</c:window>

or a list:

<ul>
<c:list name="attachments" id="att">
    <li><c:window name="w1" attachment="${att.get('id')}">${att.get("name")}</c:window></li>
</c:list>
</ul>

Create a new transaction:

<c:window name="win" pal="${palId}?whatever=${whatever}">Create new tx</c:window>

Access existing transaction

<c:window name="txWin" transaction="${txId}?data=${something}">${txname}</c:window>

Display content from the cache

<c:window name="cacheWin" cacheId="${cacheId}">Cached Item</c:window>

Copyright © 2006 - 2025, ContractPal, Inc. All rights reserved. API Date: May 13, 2025 07:00 AM