[
https://issues.apache.org/jira/browse/OFBIZ-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259233#comment-13259233
]
Jacques Le Roux commented on OFBIZ-4669:
----------------------------------------
BTW it seems that this is known for a moment, also for requestAttributes.
<!-- TODO/NOTE DEJ20070223: for some reason this isn't working, doing an assign
within the FTL file which does work: <set field="productCategoryLink"
from-field="requestAttributes.productCategoryLink"/> -->
They are both represented by a freemarker.ext.servlet.HttpSessionHashMode
sessionAttributes = freemarker.ext.servlet.HttpSessionHashModel@4559a
requestAttributes = freemarker.ext.servlet.HttpRequestHashModel@902aea
> sessionAttributes doesn't work from screen widget
> -------------------------------------------------
>
> Key: OFBIZ-4669
> URL: https://issues.apache.org/jira/browse/OFBIZ-4669
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Release Branch 11.04, SVN trunk
> Reporter: Kiran Gawde
>
> In the screen widget, add a set action that refers to sessionAttributes, it
> doesn't work.
> e.g: Following doesn't work:
> <set field="titleProperty" value="${sessionAttributes.autoName}"/>
> Following works:
> <set field="titleProperty" from-field="autoName" from-scope="user"/>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira