action configuration, javascript and value binding
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2008 05:32 PM
Hi,
the following action configuration
results in this link
whereas I believe it should read like this
Can someone confirm?
the following action configuration
<action id="testAction"> <label-id>testAction</label-id> <tooltip-id>testAction_tooltip</tooltip-id> <image>/images/icons/reset.gif</image> <onclick>javascript:testActionFunction('#{actionContext.id}');</onclick> </action>
results in this link
<a href='#' onclick="document.forms['browse']['browse:act'].value='browse:testActionid_196';document.forms['browse'].submit();return false;">testAction</a>
whereas I believe it should read like this
<a href='#' onclick="javascript:testActionFunction('theIdOfTheNode');">testAction</a>
.Can someone confirm?
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2008 06:46 PM
