You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ken in Nashua <kc...@live.com> on 2013/02/11 17:15:40 UTC

implementing a tabbed pages for top of page

Folks,

I am implementing a tabbed pages... with page off of any page tab

Has this been modeled in java tapestry yet as a component?

All I want to do is put page links on the tab selections.

It seems like a nice model to fall into place.

Wondering if its been done yet for tap5

Ken
 		 	   		   		 	   		  

Re: implementing a tabbed pages for top of page

Posted by Lance Java <la...@googlemail.com>.
I've made a tabgroup component based on twitter-bootstrap tabs. It's ajax
based but gracefully degrades when you map the "active" parameter to a
PageActivationContext.

http://twitter.github.com/bootstrap/components.html#navs

Demo:
https://github.com/uklance/tapestry-stitch-demo/blob/master/src/main/resources/org/lazan/t5/stitch/demo/pages/TabGroupDemo.tml
https://github.com/uklance/tapestry-stitch-demo/blob/master/src/main/java/org/lazan/t5/stitch/demo/pages/TabGroupDemo.java

Source:
https://github.com/uklance/tapestry-stitch/blob/master/src/main/java/org/lazan/t5/stitch/components/TabGroup.java
https://github.com/uklance/tapestry-stitch/blob/master/src/main/resources/org/lazan/t5/stitch/components/TabGroup.tml
https://github.com/uklance/tapestry-stitch/blob/master/src/main/java/org/lazan/t5/stitch/components/Tab.java
https://github.com/uklance/tapestry-stitch/blob/master/src/main/java/org/lazan/t5/stitch/model/TabModel.java



--
View this message in context: http://tapestry.1045711.n5.nabble.com/implementing-a-menubar-for-top-of-page-tp5719941p5719947.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


RE: implementing a tabbed pages for top of page

Posted by Ken in Nashua <kc...@live.com>.
Hey Lance, you modeled that nicely and fine efficient usage too.
I will see what flies and choose something.
But thanks !
Ken