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.
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>
Launch Navigator with an existing transaction and when Navigator closes, post action to Console workflow:
<c:window name="w1" transaction="${txId}" closeAction="refreshList"/>
Launch Navigator and create a new transaction (note, all the form field values of the current page will be sent with the post
and be made available by Packet.getData("data"). The information is also available on the post.
<c:window name="w1" pal="${palId}"/>
<c:window name="w1" pal="${palId}?name=Joe&age=32"/>