Juan,

You have a lot of needs and it's easiest in a mailing list to break it down into bite sizes chunks.

First, buy Struts2 In Action. It will give you a lot of the info you need to get oriented. As great as Struts2 is, there is a lack of free online tutorials. Appfuse is really the best tool after you read the book.

For prepopulating combo, select, radio that could be either a) list attribute which you use to reference a List or b) the value attribute which compares values in the ValueStack for matched and marks the option SELECTED, CHECKED, etc.

Keeping values I assume means on a validation fail, etc. Struts2 will do this automatically. But you need to understand a dispatch vs. a redirect. The general idea is your form creates objects in your action which through getters are available when you dispatch to a jsp page. You just match your field names to setters in your action.

Jquery is my preferred library and I think you are better off learning how it works and using it yourself rather than te plugin.

It is a woefully inadequate orientation, but mailing lists are usually for support of specific implementation or design issues.

Good luck!

-Dusty

On Mar 18, 2010, at 3:56 PM, Juan Antonio <juan....@tecnosfera.org> wrote:


I have seen the appfuse tutorial for struts 2, and I find it a bit shallow, i need to know how to (pre)populate combo box, radio buttons, checkboxes, etc, and how to keep values in a form (in struts 1 i used the request and session
objects, to recover the data sent).

I am not familiar with Ajax, i was talking about "plain" Javascript :P (I
suppose this will need an extra effort).

To finish, I will learn Struts 2, everybody speaks very highly of him.

Thanks for the answer.
--
View this message in context: 
http://n4.nabble.com/Javascript-and-Struts2-tp1596342p1598749.html
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to