refreshOnShow is something different, it will force the tab(div) to reload
the content everytime it is made visible. The problem is that the tab will
load its content only if it is visible, I'm not sure why the isShowing()
method of the widget returns true, even when the tab is not visible, when
the page first loads. As a workaround, set cssStyle="display:none" on
initially unselected tabs. It will be fixed for 2.1.

regards
musachy


Dave Newton-4 wrote:
> 
> --- "King, Leon C" wrote:
>> [...] I'm looking for a way to load only the
> Selected
>> Tab when my page is rendered.
> 
> Does <s:div... refreshOnShow="true" .../> do what you
> need?
> 
> http://struts.apache.org/2.x/docs/div.html
> 
> d.
> 
> 
> 
>  
> ____________________________________________________________________________________
> Food fight? Enjoy some healthy debate 
> in the Yahoo! Answers Food & Drink Q&A.
> http://answers.yahoo.com/dir/?link=list&sid=396545367
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Load-One-Tab-%40-startup-tf3474760.html#a9699485
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to