You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by walidito <wa...@sgcib.com> on 2006/12/13 00:01:03 UTC
S2 - Ajax Tabbed Panel pb
Hi,
I must be unlucky with struts 2, but I based myself on the showcase
(example2) to test the tabbed panel on my web app.
It's ok it works, but the issue is that I had another "ajax div" on my page,
that also used to work. Here it is :
<s:div id="once" theme="ajax" href="/AjaxTestAction.do" delay="5000"
updateFreq="2000" loadingText="loading...">
initial content
<s:property value="count"/> @ <s:property
value="serverTime"/>
</s:div>
But when I add the tabbed panel, my "ajax div" tag does not reload anymore !
Can sbdy tell what happened and what to do ? thanks
--
View this message in context: http://www.nabble.com/S2---Ajax-Tabbed-Panel-pb-tf2810878.html#a7843835
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
Re: S2 - Ajax Tabbed Panel pb
Posted by walidito <wa...@sgcib.com>.
That's ok I have solved the problem.
For those interested by putting many ajax widgets, use the showcase example
1 that uses many widgets on the same page.
walidito wrote:
>
> I have checked thanks, but i dont have two same div ids.
>
>
> Musachy Barroso-2 wrote:
>>
>> Check that you are not using the same id for two different divs.
>>
>> musachy
>>
>> walidito wrote:
>>> Hi,
>>> I must be unlucky with struts 2, but I based myself on the showcase
>>> (example2) to test the tabbed panel on my web app.
>>> It's ok it works, but the issue is that I had another "ajax div" on my
>>> page,
>>> that also used to work. Here it is :
>>> <s:div id="once" theme="ajax" href="/AjaxTestAction.do" delay="5000"
>>> updateFreq="2000" loadingText="loading...">
>>> initial content
>>> <s:property value="count"/> @ <s:property
>>> value="serverTime"/>
>>> </s:div>
>>>
>>> But when I add the tabbed panel, my "ajax div" tag does not reload
>>> anymore !
>>> Can sbdy tell what happened and what to do ? thanks
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/S2---Ajax-Tabbed-Panel-pb-tf2810878.html#a7878686
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
Re: S2 - Ajax Tabbed Panel pb
Posted by walidito <wa...@sgcib.com>.
I have checked thanks, but i dont have two same div ids.
Musachy Barroso-2 wrote:
>
> Check that you are not using the same id for two different divs.
>
> musachy
>
> walidito wrote:
>> Hi,
>> I must be unlucky with struts 2, but I based myself on the showcase
>> (example2) to test the tabbed panel on my web app.
>> It's ok it works, but the issue is that I had another "ajax div" on my
>> page,
>> that also used to work. Here it is :
>> <s:div id="once" theme="ajax" href="/AjaxTestAction.do" delay="5000"
>> updateFreq="2000" loadingText="loading...">
>> initial content
>> <s:property value="count"/> @ <s:property
>> value="serverTime"/>
>> </s:div>
>>
>> But when I add the tabbed panel, my "ajax div" tag does not reload
>> anymore !
>> Can sbdy tell what happened and what to do ? thanks
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/S2---Ajax-Tabbed-Panel-pb-tf2810878.html#a7854142
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
Re: S2 - Ajax Tabbed Panel pb
Posted by Musachy Barroso <mb...@wfscorp.com>.
Check that you are not using the same id for two different divs.
musachy
walidito wrote:
> Hi,
> I must be unlucky with struts 2, but I based myself on the showcase
> (example2) to test the tabbed panel on my web app.
> It's ok it works, but the issue is that I had another "ajax div" on my page,
> that also used to work. Here it is :
> <s:div id="once" theme="ajax" href="/AjaxTestAction.do" delay="5000"
> updateFreq="2000" loadingText="loading...">
> initial content
> <s:property value="count"/> @ <s:property
> value="serverTime"/>
> </s:div>
>
> But when I add the tabbed panel, my "ajax div" tag does not reload anymore !
> Can sbdy tell what happened and what to do ? thanks
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org