[jira] [Commented] (OFBIZ-4669) sessionAttributes doesn't work from screen widget

2012-04-24 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13261045#comment-13261045
 ] 

Jacques Le Roux commented on OFBIZ-4669:


OK,let's keep it seimple, like Kiran suggested I propose to replace the 
instances

 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




[jira] [Commented] (OFBIZ-4669) sessionAttributes doesn't work from screen widget

2012-04-23 Thread Daniel Riquelme (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13259685#comment-13259685
 ] 

Daniel Riquelme commented on OFBIZ-4669:


I guess it's because freemarker.ext.servlet.HttpSessionHashModel and 
freemarker.ext.servlet.HttpRequestHashModel are only intended to work in ftl.

org.ofbiz.widget.screen.ScreenRenderer has the following:
line: 240

// these ones are FreeMarker specific and will only work in FTL templates, 
mainly here for backward compatibility
BeansWrapper wrapper = BeansWrapper.getDefaultInstance();
context.put(sessionAttributes, new HttpSessionHashModel(session, wrapper));
context.put(requestAttributes, new HttpRequestHashModel(request, wrapper));



 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




[jira] [Commented] (OFBIZ-4669) sessionAttributes doesn't work from screen widget

2012-04-22 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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




[jira] [Commented] (OFBIZ-4669) sessionAttributes doesn't work from screen widget

2012-03-23 Thread Jacques Le Roux (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13236400#comment-13236400
 ] 

Jacques Le Roux commented on OFBIZ-4669:


Bump... A patch?

 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




[jira] [Commented] (OFBIZ-4669) sessionAttributes doesn't work from screen widget

2012-01-28 Thread Jacques Le Roux (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13195691#comment-13195691
 ] 

Jacques Le Roux commented on OFBIZ-4669:


Erwan, Jiran,

It seems, at least, the one used in Party component is useless (or I don't see 
its use). To be more clear I mean
{code}
form name=NewUser type=single target=${target}${previousParams}
{code}

 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




[jira] [Commented] (OFBIZ-4669) sessionAttributes doesn't work from screen widget

2012-01-25 Thread Erwan de FERRIERES (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13193291#comment-13193291
 ] 

Erwan de FERRIERES commented on OFBIZ-4669:
---

Hi Kira,

what do you want to say with this issue ?

Regards,

 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




[jira] [Commented] (OFBIZ-4669) sessionAttributes doesn't work from screen widget

2012-01-25 Thread Kiran Gawde (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13193327#comment-13193327
 ] 

Kiran Gawde commented on OFBIZ-4669:


Hello Erwan,

Seems like sessionAttributes doesn't work in screen widget. But I see 
reference to it in few other places: 

e.g: In ProfileScreens.xml
set field=previousParams from-field=
sessionAttributes._PREVIOUS_PARAMS_/

So, I either we get sessionAttributes working or replace the references. 

Regards,
Kiran Gawde


 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