RE: implementaiton advise on custom TextProvider
But when I start the app I get the following error, thrown when the framework tries to create the text provider bean. It seems like the framework isn't recognizing that I'm referencing a spring bean with the class attribute . . . So, I have figured this out. The TextProvider is injected outside the control of the core objectfactory. If you look at the ActionSupport class, you'll see that there is a lazy init method for acquiring the textprovider. It uses the default ContainerImpl, as injected ( by type I think ) into the action, to inject the textprovider. This means that it goes around the spring object factory for this injection. Not sure what to do. Several workarounds come to mind. Good point, could you register an issue for that ? Of course, and I'd even be happy to do the work. Perhaps you can advise me on a plan? - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
put ArrayList to s:hidden in jsp?
Good morning, Is there a way to put hidden ArrayList in JSP please? For example in a.jsp: s:hidden name=abean.arraylist1 / In action java class: private ArrayListBean2arraylist1 ; So that abean.arraylist1 could be retrieved by action java class. Thanks a lot! Emi - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
put ArrayList to s:hidden in jsp?
Good morning, Is there a way to put hidden ArrayList in JSP please? For example in a.jsp: s:hidden name=abean.arraylist1 / In action java class: private ArrayListBean2arraylist1 ; So that abean.arraylist1 could be retrieved by action java class. Thanks a lot! Emi - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: put ArrayList to s:hidden in jsp?
You can not do this directly as hidden field is used to store only a value You need indexed field to store those value I am not sure why you want to do this as more information can help others to provide some solutions --Original Message-- From: Emi Lu To: user@struts.apache.org ReplyTo: Struts Users Mailing List ReplyTo: em...@encs.concordia.ca Subject: put ArrayList to s:hidden in jsp? Sent: Oct 18, 2012 7:45 PM Good morning, Is there a way to put hidden ArrayList in JSP please? For example in a.jsp: s:hidden name=abean.arraylist1 / In action java class: private ArrayListBean2arraylist1 ; So that abean.arraylist1 could be retrieved by action java class. Thanks a lot! Emi - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org Sent from BlackBerry® on Airtel
Re: implementaiton advise on custom TextProvider
2012/10/18 Davis, Chad chad.da...@emc.com: Of course, and I'd even be happy to do the work. Perhaps you can advise me on a plan? Everything is ready, I'm just waiting for you to register the issue ;-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
RE: implementaiton advise on custom TextProvider
Of course, and I'd even be happy to do the work. Perhaps you can advise me on a plan? Everything is ready, I'm just waiting for you to register the issue ;-) I created the ticket. Let me know if the ticket conforms with struts2 standards for ticket submission; I'll be happy to edit it.
Re: put ArrayList to s:hidden in jsp?
Use session object. On Thu, Oct 18, 2012 at 8:56 PM, umeshawas...@gmail.com wrote: You can not do this directly as hidden field is used to store only a value You need indexed field to store those value I am not sure why you want to do this as more information can help others to provide some solutions --Original Message-- From: Emi Lu To: user@struts.apache.org ReplyTo: Struts Users Mailing List ReplyTo: em...@encs.concordia.ca Subject: put ArrayList to s:hidden in jsp? Sent: Oct 18, 2012 7:45 PM Good morning, Is there a way to put hidden ArrayList in JSP please? For example in a.jsp: s:hidden name=abean.arraylist1 / In action java class: private ArrayListBean2arraylist1 ; So that abean.arraylist1 could be retrieved by action java class. Thanks a lot! Emi - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org Sent from BlackBerry® on Airtel
Re: implementaiton advise on custom TextProvider
2012/10/18 Davis, Chad chad.da...@emc.com: Of course, and I'd even be happy to do the work. Perhaps you can advise me on a plan? Everything is ready, I'm just waiting for you to register the issue ;-) I created the ticket. Let me know if the ticket conforms with struts2 standards for ticket submission; I'll be happy to edit it. Ok, thanks! Everything is ok, please check and test my solution. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org