ipal tag
This tag renders an inline pal. If the cloud is configured, you can also use 'forum' or 'store' in place of palId to launch the corresponding system pal. This tag can be used in console and transaction engines but it only supports console workflow.
Attribute |
Notes |
palId
|
Required
|
workflow
|
Required
|
action
|
Required
|
param
|
|
channel
|
|
test
|
|
class
|
|
border
|
|
frameborder
|
|
scrolling
|
|
height
|
|
width
|
|
style
|
|
Sample:
<c:ipal palId="${palId}" workflow="${workflow}" action="${action}" height="200px" width="80%" channel="palHandler"></c:ipal>
// in parent pal
function palHandler(msg)
{
alert(msg);
}
// in inline pal
function clickMe()
{
var channel=ClientPal.getChannel();
channel.call(null,"Hello world");
}