Re: [Struts2] session variable empty in the JSP

2012-02-28 Thread Samuel Robert
-scopes-other-injection HTH 2012/2/27 Samuel Robert samuelrobert@gmail.com: I am using Spring: *bean id=context class=my.bean.SessionBean scope=session/* In the action: *@Autowired private SessionBean context;* I can manipulate the context object in the action, fill

[Struts2] session variable empty in the JSP

2012-02-27 Thread Samuel Robert
Hi, I faced few days ago a problem with the session variable in the JSP. I posted the problem here but did not get any solution: http://stackoverflow.com/questions/9381991/session-variable-empty-in-the-jsp-on-first-access-in-a-struts2-spring-applicatio Perhaps some of you have an idea.

Re: [Struts2] session variable empty in the JSP

2012-02-27 Thread Samuel Robert
, Gabriel Belingueres belingue...@gmail.comwrote: Post the code in which you actually set the attribute in the session scope. 2012/2/27 Samuel Robert samuelrobert@gmail.com: Hi, I faced few days ago a problem with the session variable in the JSP. I posted the problem here but did

Re: Struts 2.0.14 - Could not reload resource bundles exception

2011-01-19 Thread Samuel Robert
Hi, I got the same exception with Tomcat, which I do not have with Jetty. Setting the devMode Struts property to false solved the problem (as far as you do not need the resource bunbles to be reloaded dynamically). struts.i18n.reload=false struts.configuration.xml.reload=false

Re: Problem using s: url / tag

2009-11-22 Thread Samuel Robert
I am using the URL tag with paramters and have no problem with it. Just some ideas: - try by using a HTML tag instead of s:a - use another id than url Or give more info about how you build the other links in your JSP. Samuel 2009/11/21 shekher awasthi shekher.awas...@gmail.com Hi Friends,

Re: S2: how to deal with NULL value with s:text tag?

2009-11-07 Thread Samuel Robert
Hi, I have had same problems when displaying dates. The only solution I found was quite similar but maybe a little more flexible since you can choose to display nothing: s:property value=#item.referenceDate != null ? getText('format.date',{#item.referenceDate}) : 'nbsp;' escape=false/ Samuel

Re: Radio button issue with list, map, collection, localisation and action class.

2009-11-04 Thread Samuel Robert
This should also work: s:text var=yes name=yes/ s:text var=no name=no/ s:radio key=My choice list=#{true:#yes, false:#no} value=true / 2009/11/4 Greg Lindholm greg.lindh...@gmail.com You can't nest struts tags so you can't put a s:text inside of s:radio tag but you should be able to call

Re: Radio button issue with list, map, collection, localisation and action class.

2009-11-04 Thread Samuel Robert
shown and the key were sent to the server after choice is made. Cheers, Q -Original Message- From: Samuel Robert [mailto:samuelrobert@gmail.com] Sent: 04 November 2009 16:07 To: Struts Users Mailing List Subject: Re: Radio button issue with list, map, collection, localisation