Re: Struts2+YUI

2008-10-20 Thread Owen Berry
You need to use the Struts JSON plugin to format your list as a JSON response. Your Javascript code can then call eval on the JSON string to create a Javascript object. Either that, or look into the YUI JSON module. Another alternative might be to look at the YUI datasource module, although I haven

Re: Struts2+YUI

2008-10-17 Thread Adam Lister
I am not a YUI guy, but I'm assuming YUI is expecting a javascript array of string. What does your struts.xml look like? What have you defined for the SUCCESS result? Is it a jsp? If it is a jsp, you should make the jsp write out the array as YUI is expecting it. The jsp will have access to

Re: Struts2+YUI

2008-10-17 Thread aum strut
HI All, DO any one have any clue about this probelm...??? i am really stuck here. On Thu, Oct 16, 2008 at 3:33 PM, shekher awasthi <[EMAIL PROTECTED]>wrote: > Hi All, > > I am trying to integrate struts2 with YUI ,but facing some problems with > this. I want that when my action get call

Re: Struts2+YUI

2008-10-16 Thread aum strut
sorry for using another mail box for posting the question i am geting some problem in my ID while posting the question in the mail listso i have used my alternative ID. On Thu, Oct 16, 2008 at 4:31 PM, aum strut <[EMAIL PROTECTED]> wrote: > No i want to get this arraylist using YUI Ajax funct

Re: Struts2+YUI

2008-10-16 Thread aum strut
No i want to get this arraylist using YUI Ajax functionality i have a drop down in my jsp page and i am calling the ajax function with onChange event the code which i have used for calling my action class is working fine and even i am able to hot my action class using YUI APIbut what i want is tha

Re: Struts2+YUI

2008-10-16 Thread Hardik Shah
hi you can use for getting array list of valuestack but you should setter and getter for this arraylist for accessing it from jsp side shekher awasthi wrote: > > Hi All, > > I am trying to integrate struts2 with YUI ,but facing some problems with > this. I want that