struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dynamicd <dhaval.par...@gmail.com>
Subject Re: Struts 2 + AjaxTags + DisplayTag
Date Fri, 12 Sep 2008 17:46:55 GMT

Hey Márcio
Where you ever successful in getting AjaxTags to work with Dispay Tag and
Struts2
I am at the same junction as you were. Please let me know. 
Thanks




Márcio Gurgel wrote:
> 
> Hi Randy,
> 
> I also tried to set requestURI.
> I'm having lots of problems with components inside tabbedPanels...
> 
> For example:
> This example works outside a tabbed panel:
> 
>   2. Attach to "onmouseover", and "onclick" event on Area below and update
> content of Div1, highlight targets with green color
>     <sx:bind id="ex2" href="%{#urlAbrirDadosGerais}" sources="div2"
> targets="div1" events="onmouseover,onclick" highlightColor="green"/>
>     <div id="div2" style="width: 300px; height: 50px; border: 1px solid
> black">
>         Mouse Over or Click Here!
>     </div>
> 
> When its inside a div from tabbedpanel just doesn't work.
> 
> Does anyone can help me?
> 
> 
> 2008/4/15, Randy Burgess <RBurgess@nuvox.com>:
>>
>> Well your requestURI is not set so the URL is set to the current JSP and
>> not
>> the action. I have never had any success leaving requestURI blank with
>> DisplayTag on S1 or S2. I always set it to the name of an action.
>>
>> Regards,
>> Randy Burgess
>> Sr. Web Applications Developer
>> Nuvox Communications
>>
>>
>>
>> > From: Márcio Gurgel <marcio.rga@gmail.com>
>> > Reply-To: Struts Users Mailing List <user@struts.apache.org>
>> > Date: Tue, 15 Apr 2008 01:18:34 -0300
>> > To: Struts Users Mailing List <user@struts.apache.org>
>> > Subject: Re: Struts 2 + AjaxTags + DisplayTag
>>
>> >
>> > Matt, tanks for your help. But I need to persist with displayTags /:
>> >
>> > I guess that there's some kind of validation inside struts 2 that
>> doesnt
>> > allow the correct work of ajaxtags..
>> > Just take a look at my generated url from displaytag pagination.
>> >
>> > http://localhost:8080/SGVDBA/view/usuario/UsuPesquisaResultados.jsp?
>> >
>> currentUsu.eMail=&currentUsu.chv=&currentUsu.dtGvr=&struts.enableJSONValidatio
>> > n=true
>> > &buttonPesquisar=Pesquisar&dojo.currentUsu.dtGvr=&d-49489-p=2
>> >
>> >
>> > Tanks all!
>> >
>> > 2008/4/14, matt.payne <matthew.b.payne@gmail.com>:
>> >>
>> >>
>> >> You could try struts2 +  jquery + jgrid
>> >> (http://trirand.com/jqgrid/jqgrid.html)
>> >> If you need ajax, you need something that returns an json or xml
>> response
>> >> (insert you velocity, freemarker, json result, jsp result here).
>> >>
>> >> Matt
>> >>
>> >>
>> >>
>> >> Márcio Gurgel wrote:
>> >>>
>> >>> Hi all!
>> >>>
>> >>> Since this morning I'm having troubles to configure ajaxTags in my
>> >>> project.
>> >>> I followed the steps from ajaxTags web site, I also saw the ajaxTags
>> >> show
>> >>> case wich contains a example of display:table.
>> >>> But doen't work...
>> >>>
>> >>> Is there some kind os special configuration for struts 2?
>> >>> My displayTable is inside a <sx:tabbedPanel><sx:div>
>> >>>
>> >>> I also tried to use: useSelectedTabCookie="useSelectedTabCookie" to
>> >> select
>> >>> the correct tab when my displayTable pagination submits the page.
>> >>> In this case, the content of the first tab doesn't appear.
>> >>>
>> >>> Regards.
>> >>>
>> >>> Márcio Gurgel
>> >>>
>> >>>
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Struts-2-%2B-AjaxTags-%2B-DisplayTag-tp16670438p1668945
>> >> 8.html
>> >> Sent from the Struts - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> >> For additional commands, e-mail: user-help@struts.apache.org
>> >>
>> >>
>>
>>
>>
>>
>> This email and any attachments ("Message") may contain legally privileged
>> and/or confidential information.  If you are not the addressee, or if
>> this
>> Message has been addressed to you in error, you are not authorized to
>> read,
>> copy, or distribute it, and we ask that you please delete it (including
>> all
>> copies) and notify the sender by return email.  Delivery of this Message
>> to
>> any person other than the intended recipient(s) shall not be deemed a
>> waiver
>> of confidentiality and/or a privilege.
>>
>>
>> This email and any attachments ("Message") may contain legally privileged
>> and/or confidential information.  If you are not the addressee, or if
>> this
>> Message has been addressed to you in error, you are not authorized to
>> read,
>> copy, or distribute it, and we ask that you please delete it (including
>> all
>> copies) and notify the sender by return email.  Delivery of this Message
>> to
>> any person other than the intended recipient(s) shall not be deemed a
>> waiver
>> of confidentiality and/or a privilege.
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Struts-2-%2B-AjaxTags-%2B-DisplayTag-tp16670438p19460925.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message