- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2016 05:14 AM
Hi there,
To save a variable in jelly, use the tag that you yourself provided on line 8: Jelly Tags - Set
You saved a value into the variable called 'jvar_link":
<j:set var="jvar_link" value="${tab.u_url.getDisplayValue()}"/>
To use this variable again later, you could use an evaluate tag as described on the wiki: "If you would like to access Jelly variables inside an evaluate, include jelly="true" in the evaluate and add "jelly." before the Jelly variable's name. Extensions to Jelly Syntax
<g2:evaluate var="jvar_page" jelly="true">
...
<!-- to access your variable using javascript: jelly.jvar_type -->
...
</g2:evaluate>
If this doesn't answer your question, could you explain more clearly where you want to use the saved variable?
Best Regards,
Miriam