lost URL parameters with s:param tag

2010-07-20 Thread Emi Lu
is never called. How come? Found one line bug report lost URL parameters with s:param tag (bug 1938) at http://readlist.com/lists/struts.apache.org/user/9/47016.html Does someone know whether the bug has been fixed? Thanks a lot! -- Lu Ying

Re: lost URL parameters with s:param tag

2010-07-20 Thread Emi Lu
The second help_text_name is never called. How come? Found one line bug report lost URL parameters with s:param tag (bug 1938) at http://readlist.com/lists/struts.apache.org/user/9/47016.html Does someone know whether the bug has been fixed? Another bug link: https://issues.apache.org/jira/browse/WW

Re: lost URL parameters with s:param tag

2010-07-20 Thread Brian Thompson
more than one s:param is assigned. s:url id=url_help namespace=/Action/Global action=ProcessHelp s:param name=helpTitle value=example1 / s:param name=help_text_name value=contents / /s:url The second help_text_name is never called. How come? Found one line bug report lost URL parameters

Re: lost URL parameters with s:param tag

2010-07-20 Thread Dale Newfield
On 7/20/10 11:48 AM, Emi Lu wrote: It seems that s:param does not work well when more than one s:param is assigned. I use multiple param tags inside url tags all over the place. It does work. I would suggest running your application inside a debugger to find out what exactly is not working

Re: lost URL parameters with s:param tag

2010-07-20 Thread Emi Lu
On 07/20/2010 01:39 PM, Dale Newfield wrote: On 7/20/10 11:48 AM, Emi Lu wrote: It seems that s:param does not work well when more than one s:param is assigned. I use multiple param tags inside url tags all over the place. It does work. I would suggest running your application inside a

Re: lost URL parameters with s:param tag

2010-07-20 Thread Lukasz Lenart
2010/7/20 Emi Lu em...@encs.concordia.ca: s:param name=helpTitle      value=%{getText('example1')} / s:param name=helpText       value=%{getText('example2')} / It's the expected behavior as you don't have these properties in your action. You're looking throughout message resources and not for

Re: lost URL parameters with s:param tag

2010-07-20 Thread Chris Pratt
Are you intending for these values to come from your application resource bundle? That's where getText() gets it's values from. I believe it it doesn't find anything it just returns whatever is passed to is, which might be why you're seeing what I expect you are expecting. If you are actually

Re: lost URL parameters with s:param tag

2010-07-20 Thread Emi Lu
Are you intending for these values to come from your application resource bundle? That's where getText() gets it's values from. I believe it it doesn't find anything it just returns whatever is passed to is, which might be why you're seeing what I expect you are expecting. If you are

Re: lost URL parameters with s:param tag

2010-07-20 Thread Johannes Geppert
s:param is assigned. s:url id=url_help namespace=/Action/Global action=ProcessHelp s:param name=helpTitle value=example1 / s:param name=help_text_name value=contents / /s:url The second help_text_name is never called. How come? Found one line bug report lost URL parameters

Re: lost URL parameters with s:param tag

2010-07-20 Thread Chris Pratt
/ s:param name=help_text_name value=contents / /s:url The second help_text_name is never called. How come? Found one line bug report lost URL parameters with s:param tag (bug 1938) at http://readlist.com/lists/struts.apache.org/user/9/47016.html Does someone know whether the bug has been

Re: Struts 2 - lost URL parameters with s:param tag (bug 1938)

2007-08-28 Thread Laurie Harper
Riccardo Mollame wrote: Does anybody know about any fix or workaround to the mentioned bug? Did you see James Holmes' comment? [1] By the sound of it, there's no problem with the s:url tag itself, it's a question of how you subsequently use the value it produces. How are you using it? L.

Re: Struts 2 - lost URL parameters with s:param tag (bug 1938)

2007-08-28 Thread Laurie Harper
[edit: include the URL for James' post] Riccardo Mollame wrote: Does anybody know about any fix or workaround to the mentioned bug? Did you see James Holmes' comment? [1] By the sound of it, there's no problem with the s:url tag itself, it's a question of how you subsequently use the value it

Struts 2 - lost URL parameters with s:param tag (bug 1938)

2007-08-27 Thread Riccardo Mollame
Does anybody know about any fix or workaround to the mentioned bug? For the record, it's the bug emerging when the s:url contains more than one s:param tag, in which case strange things happen (e.g. only one parameter is actually retrievable in the target action, the others producing the infamous