Re: Action failed for Struts 2.3.15.3 GA release

2013-10-19 Thread Lukasz Lenart
2013/10/18 Emi Lu : > (2) Failed version(struts2.3.15.3 + tiles3.0.1) > struts.xml > > > > > web.xml > === > org.apache.tiles.extras.complete.CompleteAutoloadTilesListener > > > struts-login.xml > == > > > class="org.apache.struts2.views.tiles.TilesResu

Passing jsp tag attribute to Struts 2 tags

2013-10-19 Thread Alireza Fattahi
  Hi,   I am creating a new tag in jsp, named `RequiredLabel` , but I can not pass tag attribute to struts label ( The css are based on YAML)   The tag will be used as:       The label should be get from struts as it must be localized.     <%@tag description="Renders a label with required css and

Re: [ANN] Struts 2.3.15.3 GA release available - security fix

2013-10-19 Thread Alireza Fattahi
I am creating a new tag in jsp, named `RequiredLabel` , but I can not pass tag attribute to struts label ( The css are based on YAML)   The tag will be used as:       The label should be get from struts as it must be localized.       <%@tag description="Renders a label with required css and error

RE: Passing jsp tag attribute to Struts 2 tags

2013-10-19 Thread Martin Gainty
* In this example, a label is rendered. The label is retrieved from a ResourceBundle via the key attribute * giving you an output of 'User Name: Ford.Prefect'. Assuming that i18n message userName corresponds * to 'User Name' and the action's getUserName() method returns 'Ford.Prefect' * *

Re: Passing jsp tag attribute to Struts 2 tags

2013-10-19 Thread Alireza Fattahi
Actually I am not calling any action class getKeyLable   I try to: 1- Make the s:label tag get a dynamic (Is it poosibel ?!) 2- The above dynamic value must be read from jsp tag ( The s:label is used in a tag itself) ~Regards, ~~Alireza Fattahi On Saturday, 19 October 2013, 15:35, Martin Gain

RE: Passing jsp tag attribute to Struts 2 tags

2013-10-19 Thread Martin Gainty
//only if component-name and its URL is placed into a HashMap and that HashMap is set into the bean //here is the chronology: //straightforward HashMap which contains component name and the component private java.util.Map dynamicAttrs = new java.util.HashMap(); //In this case we are sett