Re: Need Help Getting s:component tag with parameter to work

2014-03-17 Thread Lukasz Lenart
2014-03-17 15:18 GMT+01:00 bphill...@ku.edu : > Thank you for the help. I totally missed enclosing the value in single > quotes inside double quotes. I'm going to add some text to the JavaDoc for > GenericUIBean that makes this clearer (the Component UI tag reference wiki > page pulls in the Java

Re: Need Help Getting s:component tag with parameter to work

2014-03-17 Thread bphill...@ku.edu
Thank you for the help. I totally missed enclosing the value in single quotes inside double quotes. I'm going to add some text to the JavaDoc for GenericUIBean that makes this clearer (the Component UI tag reference wiki page pulls in the JavaDoc). Bruce -- View this message in context: http

Re: Need Help Getting s:component tag with parameter to work

2014-03-17 Thread Lukasz Lenart
Here you have the answer :-) Remember: the value params will always be resolved against the ValueStack so if you mean to pass a string literal to your component, make sure to wrap it in quotes i.e. value="'value1'" otherwise, the the value stack will search for an Object on the stack with a method

Need Help Getting s:component tag with parameter to work

2014-03-16 Thread bphill...@ku.edu
I'm working on JIRA WW-4299 and am trying to setup an example application to validate the problem the person reported with the Struts component tag and parameters. In my example app (see attached zip file) I have this markup in index.jsp: <%@taglib prefix="s" uri="/struts-tags" %> http://www.w3.