Oops, the live demo uses old tag classes and works in Ajax mode only
now. Have to redeploy the app, should take an hour or so.

On 12/26/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> It is possible to have both types of functionality (with full page
> reload and with asynchronous request) in just one component. Check
> this out, does it look like something you need:
> http://www.superinterface.com/jspcontrols/tabcontrol/index.jsp
>
> If you have modern browser that supports XMLHTTPRequest and has
> Javascript turned on, the tab panels will be reloaded using In-Place
> Update (Ajax). If you have Javascript turned off or you have, say
> Netscape 4, then the page will be refreshed. Notice that this would be
> a redirect, not a forward, so you can refresh it manually after that
> with no warnings. Also, with redirect you get the same user
> experience, because page locations are not piled in browser page
> history.
>
> The tabs in the demo were created using JSP Controls Tag Library:
> http://jspcontrols.sourceforge.net/
>
> Michael J.
>
> >From: Yujun Liang <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
> >To: Struts Users Mailing List <user@struts.apache.org>
> >Subject: Re: tabs is struts
> >Date: Fri, 9 Dec 2005 09:02:42 +1100
> >
> >On web page, there are two kinds of tabs,
> >1. Tab-looking pages with the different style for active tab, there is
> >nothing special for this kind of tab, you can just treat them as the POHA
> >(Plain Old HTML Application), well you need design the styles. Please check
> >CSS-2 document. Page refresh will be observed for tab switch.
> >2. DHTML Tabs, this is dynamic and you won't see page refresh, it is really
> >like the POWA(Plain Old Windows Application), to achieve this, you may need
> >hidden frames for data transmission or you can use AJAX.
> >
> >If you client can afford to use JavaScript, the option 2 is definitely a
> >preferred choice, it gives the user real time experience.
> >If the application has to be W3C Accessibility complaint, you have no
> >choice
> >to use option 1. So the tab is just a different look and feel, not really
> >different from other kind of page. From one example of Struts Recipe by
> >George Franciscus, I can tell the Tabs generated by Struts Layout Tag are
> >JavaScript driven so it is not W3C Accessibility complaint.
> >
> >Regards
> >
> >On 12/8/05, Raghu Kanchustambham <[EMAIL PROTECTED]> wrote:
> > >
> > > Try struts layout tags.
> > > They support tabbed inputs.
> > >
> > >
> > >
> > > On 12/8/05, Sony Thomas <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi,
> > >
> > > Is there is any way to use tabs in struts. Is there is any html bean
> > > tag for this ?
>

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

Reply via email to