You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sony Thomas <so...@genialgenetics.com> on 2005/12/08 11:55:27 UTC

tabs is struts

Hi,

Is there is any way to use tabs in struts. Is there is any html bean tag 
for this ?
------------------------------------------------------------------------

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


Re: tabs is struts (O/T caution: Thread hike by S. Claus)

Posted by Martin Gainty <mg...@hotmail.com>.
Good Afternoon Master Rahul-

As they say in Harvard Square.. this is very helpful advice indeed!

I Hope one and all have a good Chanukkah, Merry Christmas and a Happy Festivus!

Martin Gainty
http://www.laconiadatasystems.com

----- Original Message ----- 
From: "Rahul Akolkar" <ra...@gmail.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>; "Martin Gainty" <mg...@hotmail.com>
Sent: Saturday, December 24, 2005 11:41 AM
Subject: Re: tabs is struts


On 12/24/05, Martin Gainty <mg...@hotmail.com> wrote:
> You can use
> <jsp:include page="local_URL " flush="true"/>
> page is file which contains the JSP logic
> flush sends the current page output before included file
>
> c:import to include local and remote rewrite tasks
> c:url for URL rewrite URL
> http://java.sun.com/developer/technicalArticles/javaserverpages/faster/index.html
<snip/>

Indeed. One point I'd like to add is if you *aggregate* content in the
tabs from separate static or dynamic sources, you will also need to
mitigate potential naming conflicts if that can be an issue (things
where this can bite is form submission, AJAX techniques etc.)

-Rahul


> ----- Original Message -----
> From: "Jim Douglas" <jd...@hotmail.com>
> To: <us...@struts.apache.org>
> Sent: Saturday, December 24, 2005 10:18 AM
> Subject: Re: tabs is struts
>
>
> > This is an excelet solution, thank you!
> >
> > Do you know how can I modify the line "<c:out value="Bar is cooler!" />", so
> > that it servers up a JSP via STRUTS?
> >
> > <tab:tabContainer id="foo-bar-container">
> >   <tab:tabPane id="foo" tabTitle="Foo!">
> > Foo is cool!
> > </tab:tabPane>
> > <tab:tabPane id="bar" tabTitle="Bar!">
> > <c:out value="Bar is cooler!" />
> > </tab:tabPane>
> > </tab:tabContainer>
> >
> >
> >
> > Jim
> >
> >
> >
> >>From: su mo <su...@gmail.com>
> >>Reply-To: "Struts Users Mailing List" <us...@struts.apache.org>
> >>To: Struts Users Mailing List <us...@struts.apache.org>
> >>Subject: Re: tabs is struts
> >>Date: Tue, 13 Dec 2005 09:41:51 +0530
> >>
> >>Checkout this.  Very good one
> >>
> >>ditchnet.org/taglibs/
> >>
> >>
<snap/>

Re: tabs is struts

Posted by Rahul Akolkar <ra...@gmail.com>.
On 12/24/05, Martin Gainty <mg...@hotmail.com> wrote:
> You can use
> <jsp:include page="local_URL " flush="true"/>
> page is file which contains the JSP logic
> flush sends the current page output before included file
>
> c:import to include local and remote rewrite tasks
> c:url for URL rewrite URL
> http://java.sun.com/developer/technicalArticles/javaserverpages/faster/index.html
<snip/>

Indeed. One point I'd like to add is if you *aggregate* content in the
tabs from separate static or dynamic sources, you will also need to
mitigate potential naming conflicts if that can be an issue (things
where this can bite is form submission, AJAX techniques etc.)

-Rahul


> ----- Original Message -----
> From: "Jim Douglas" <jd...@hotmail.com>
> To: <us...@struts.apache.org>
> Sent: Saturday, December 24, 2005 10:18 AM
> Subject: Re: tabs is struts
>
>
> > This is an excelet solution, thank you!
> >
> > Do you know how can I modify the line "<c:out value="Bar is cooler!" />", so
> > that it servers up a JSP via STRUTS?
> >
> > <tab:tabContainer id="foo-bar-container">
> >   <tab:tabPane id="foo" tabTitle="Foo!">
> > Foo is cool!
> > </tab:tabPane>
> > <tab:tabPane id="bar" tabTitle="Bar!">
> > <c:out value="Bar is cooler!" />
> > </tab:tabPane>
> > </tab:tabContainer>
> >
> >
> >
> > Jim
> >
> >
> >
> >>From: su mo <su...@gmail.com>
> >>Reply-To: "Struts Users Mailing List" <us...@struts.apache.org>
> >>To: Struts Users Mailing List <us...@struts.apache.org>
> >>Subject: Re: tabs is struts
> >>Date: Tue, 13 Dec 2005 09:41:51 +0530
> >>
> >>Checkout this.  Very good one
> >>
> >>ditchnet.org/taglibs/
> >>
> >>
<snap/>

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


Re: tabs is struts

Posted by Martin Gainty <mg...@hotmail.com>.
You can use 
<jsp:include page="local_URL " flush="true"/>
page is file which contains the JSP logic
flush sends the current page output before included file

c:import to include local and remote rewrite tasks
c:url for URL rewrite URL
http://java.sun.com/developer/technicalArticles/javaserverpages/faster/index.html
----- Original Message ----- 
From: "Jim Douglas" <jd...@hotmail.com>
To: <us...@struts.apache.org>
Sent: Saturday, December 24, 2005 10:18 AM
Subject: Re: tabs is struts


> This is an excelet solution, thank you!
> 
> Do you know how can I modify the line "<c:out value="Bar is cooler!" />", so 
> that it servers up a JSP via STRUTS?
> 
> <tab:tabContainer id="foo-bar-container">
>   <tab:tabPane id="foo" tabTitle="Foo!">
> Foo is cool!
> </tab:tabPane>
> <tab:tabPane id="bar" tabTitle="Bar!">
> <c:out value="Bar is cooler!" />
> </tab:tabPane>
> </tab:tabContainer>
> 
> 
> 
> Jim
> 
> 
> 
>>From: su mo <su...@gmail.com>
>>Reply-To: "Struts Users Mailing List" <us...@struts.apache.org>
>>To: Struts Users Mailing List <us...@struts.apache.org>
>>Subject: Re: tabs is struts
>>Date: Tue, 13 Dec 2005 09:41:51 +0530
>>
>>Checkout this.  Very good one
>>
>>ditchnet.org/taglibs/
>>
>>
>>On 12/13/05, Yujun Liang <yu...@acm.org> wrote:
>> >
>> > Tiles is needed for option 1, but I am not sure if it is still needed if
>> > using Struts-Layout.
>> >
>> > On 12/13/05, Jim Douglas <jd...@hotmail.com> wrote:
>> > >
>> > > Can this be done easily with Tiles?
>> > >
>> > >
>> > > >From: Yujun Liang <yu...@acm.org>
>> > > >Reply-To: "Struts Users Mailing List" <us...@struts.apache.org>
>> > > >To: Struts Users Mailing List <us...@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 <kr...@gmail.com> wrote:
>> > > > >
>> > > > > Try struts layout tags.
>> > > > > They support tabbed inputs.
>> > > > >
>> > > > >
>> > > > >
>> > > > > On 12/8/05, Sony Thomas <so...@genialgenetics.com> 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: user-unsubscribe@struts.apache.org
>> > > > > > For additional commands, e-mail: user-help@struts.apache.org
>> > > > > >
>> > > > > >
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > > >--
>> > > >Yujun Liang
>> > > >yujun.liang@acm.org
>> > >
>> > >
>> > >
>> > > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> > > For additional commands, e-mail: user-help@struts.apache.org
>> > >
>> > >
>> >
>> >
>> > --
>> > Yujun Liang
>> > yujun.liang@acm.org
>> >
>> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
>

Re: tabs is struts

Posted by Jim Douglas <jd...@hotmail.com>.
This is an excelet solution, thank you!

Do you know how can I modify the line "<c:out value="Bar is cooler!" />", so 
that it servers up a JSP via STRUTS?

<tab:tabContainer id="foo-bar-container">
   <tab:tabPane id="foo" tabTitle="Foo!">
		Foo is cool!
	</tab:tabPane>
	<tab:tabPane id="bar" tabTitle="Bar!">
		<c:out value="Bar is cooler!" />
	</tab:tabPane>
</tab:tabContainer>



Jim



>From: su mo <su...@gmail.com>
>Reply-To: "Struts Users Mailing List" <us...@struts.apache.org>
>To: Struts Users Mailing List <us...@struts.apache.org>
>Subject: Re: tabs is struts
>Date: Tue, 13 Dec 2005 09:41:51 +0530
>
>Checkout this.  Very good one
>
>ditchnet.org/taglibs/
>
>
>On 12/13/05, Yujun Liang <yu...@acm.org> wrote:
> >
> > Tiles is needed for option 1, but I am not sure if it is still needed if
> > using Struts-Layout.
> >
> > On 12/13/05, Jim Douglas <jd...@hotmail.com> wrote:
> > >
> > > Can this be done easily with Tiles?
> > >
> > >
> > > >From: Yujun Liang <yu...@acm.org>
> > > >Reply-To: "Struts Users Mailing List" <us...@struts.apache.org>
> > > >To: Struts Users Mailing List <us...@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 <kr...@gmail.com> wrote:
> > > > >
> > > > > Try struts layout tags.
> > > > > They support tabbed inputs.
> > > > >
> > > > >
> > > > >
> > > > > On 12/8/05, Sony Thomas <so...@genialgenetics.com> 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: user-unsubscribe@struts.apache.org
> > > > > > For additional commands, e-mail: user-help@struts.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >--
> > > >Yujun Liang
> > > >yujun.liang@acm.org
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
> >
> >
> > --
> > Yujun Liang
> > yujun.liang@acm.org
> >
> >



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


Re: tabs is struts

Posted by su mo <su...@gmail.com>.
Checkout this.  Very good one

ditchnet.org/taglibs/


On 12/13/05, Yujun Liang <yu...@acm.org> wrote:
>
> Tiles is needed for option 1, but I am not sure if it is still needed if
> using Struts-Layout.
>
> On 12/13/05, Jim Douglas <jd...@hotmail.com> wrote:
> >
> > Can this be done easily with Tiles?
> >
> >
> > >From: Yujun Liang <yu...@acm.org>
> > >Reply-To: "Struts Users Mailing List" <us...@struts.apache.org>
> > >To: Struts Users Mailing List <us...@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 <kr...@gmail.com> wrote:
> > > >
> > > > Try struts layout tags.
> > > > They support tabbed inputs.
> > > >
> > > >
> > > >
> > > > On 12/8/05, Sony Thomas <so...@genialgenetics.com> 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: user-unsubscribe@struts.apache.org
> > > > > For additional commands, e-mail: user-help@struts.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> > >--
> > >Yujun Liang
> > >yujun.liang@acm.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
> --
> Yujun Liang
> yujun.liang@acm.org
>
>

Re: tabs is struts

Posted by Yujun Liang <yu...@acm.org>.
Tiles is needed for option 1, but I am not sure if it is still needed if
using Struts-Layout.

On 12/13/05, Jim Douglas <jd...@hotmail.com> wrote:
>
> Can this be done easily with Tiles?
>
>
> >From: Yujun Liang <yu...@acm.org>
> >Reply-To: "Struts Users Mailing List" <us...@struts.apache.org>
> >To: Struts Users Mailing List <us...@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 <kr...@gmail.com> wrote:
> > >
> > > Try struts layout tags.
> > > They support tabbed inputs.
> > >
> > >
> > >
> > > On 12/8/05, Sony Thomas <so...@genialgenetics.com> 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: user-unsubscribe@struts.apache.org
> > > > For additional commands, e-mail: user-help@struts.apache.org
> > > >
> > > >
> > >
> > >
> >
> >
> >--
> >Yujun Liang
> >yujun.liang@acm.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


--
Yujun Liang
yujun.liang@acm.org

Re: tabs is struts

Posted by Michael Jouravlev <jm...@gmail.com>.
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 <jm...@gmail.com> 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 <yu...@acm.org>
> >Reply-To: "Struts Users Mailing List" <us...@struts.apache.org>
> >To: Struts Users Mailing List <us...@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 <kr...@gmail.com> wrote:
> > >
> > > Try struts layout tags.
> > > They support tabbed inputs.
> > >
> > >
> > >
> > > On 12/8/05, Sony Thomas <so...@genialgenetics.com> 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: tabs is struts

Posted by Michael Jouravlev <jm...@gmail.com>.
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 <yu...@acm.org>
>Reply-To: "Struts Users Mailing List" <us...@struts.apache.org>
>To: Struts Users Mailing List <us...@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 <kr...@gmail.com> wrote:
> >
> > Try struts layout tags.
> > They support tabbed inputs.
> >
> >
> >
> > On 12/8/05, Sony Thomas <so...@genialgenetics.com> 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: tabs is struts

Posted by Jim Douglas <jd...@hotmail.com>.
Can this be done easily with Tiles?


>From: Yujun Liang <yu...@acm.org>
>Reply-To: "Struts Users Mailing List" <us...@struts.apache.org>
>To: Struts Users Mailing List <us...@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 <kr...@gmail.com> wrote:
> >
> > Try struts layout tags.
> > They support tabbed inputs.
> >
> >
> >
> > On 12/8/05, Sony Thomas <so...@genialgenetics.com> 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: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
> >
> >
>
>
>--
>Yujun Liang
>yujun.liang@acm.org



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


Re: tabs is struts

Posted by Yujun Liang <yu...@acm.org>.
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 <kr...@gmail.com> wrote:
>
> Try struts layout tags.
> They support tabbed inputs.
>
>
>
> On 12/8/05, Sony Thomas <so...@genialgenetics.com> 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: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>


--
Yujun Liang
yujun.liang@acm.org

Re: tabs is struts

Posted by Raghu Kanchustambham <kr...@gmail.com>.
Try struts layout tags.
They support tabbed inputs.



On 12/8/05, Sony Thomas <so...@genialgenetics.com> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>