contrib:Otherwise Component Index contrib:Table

contrib:PopupLink
org.apache.tapestry.contrib.popup.PopupLink
Popup Link
 
Description
Creates a <a> popup link to launch a target window using the javascript window.open(URL, windowName, windowFeatures) function.
See Also
ExternalLink, PageLink
Parameters
Name Type Direction Required Default Description
href String in yes   The URL of the window to open.
features String in no   The JavaScript features of the target window. Boolean features to include be should be specified in comma delimited string. Integer features (left, height, top, width) should be specified by assigning the feature value as [feature name]=100. JavaScript 1.1 features include:

height, left, location, menubar, resizable, scrollbars, status, toolbar, top, width

windowName String in no popuplink_window The name of the target window.

Body: rendered
Informal parameters:allowed
Reserved parameters: none

Examples

This example provides a context help popup link for an account number field.

Account Number: Help

<tr>
 <td> Account Number: </td>
 <td> <input jwcid="@TextField" value='ognl:visit.accountNumber'/> </td>
 <td> <a href="help/account-number-help.html" jwcid="@contrib:PopupLink" features='ognl:"resizable,scrollbars,top=100,left=100,height=400,width=300"'>Help</a> </td>
</tr>



contrib:Otherwise Component Index contrib:Table