I am integrating struts with YUI. Things are working fine except that i am
unable to send "request parameters" to my struts action from yui dataSource.
I have asked the same question at YUI group (since i am thinking that there
is some problem or i am doing wrong rleated to YUI controls) but just for
being on safe side i am asking this here as well ..
my question is

-------------------------------------------------------------------------------------------------------------------------------------------------
I am trying to sort/and implement pagination on my server side. For this, i
am trying to send the request on Paginator.changeRequest event. On every
click, i'll get the current page and depending upon the page i'd like to
send the request for rows. i.e the url will look like this
http://localhost:8080/tracker/rawList.action?user=168&startIndex=30&pageSize=25

this is my datasource code

> var myDataSource = new YAHOO.util.DataSource("rawList");
>

and here is the myConfigs var

var myConfigs = {
>
          dynamicData: true, // Enables dynamic server-driven data
>
          generateRequest: "user=168",
>
          paginator: myPaginator // Enables pagination
>
      };
>

No matter how much i change my myConfigs variable - (changing
generateResponse, or adding initialRequest) i am unable to get any sort of
queryString parameters at server side. can someone please guide me.
-------------------------------------------------------------------------------------------------------------------------------------------------

At struts Aciton i am alwasy getting queryString = null .. and if try to get
request.parameter ("user") it is null as well ..


..alee
http://techboard.wordpress.com

Reply via email to