You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Apache Wiki <wi...@apache.org> on 2009/10/20 20:08:54 UTC
[Tapestry Wiki] Trivial Update of "Tapestry5LayoutWithMenuMenuHolder" by deian
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The "Tapestry5LayoutWithMenuMenuHolder" page has been changed by deian.
http://wiki.apache.org/tapestry/Tapestry5LayoutWithMenuMenuHolder?action=diff&rev1=2&rev2=3
--------------------------------------------------
----
- = MenuHolder.java =
+ == MenuHolder.java ==
----
+
+ {{{
import org.apache.tapestry5.BindingConstants;
import org.apache.tapestry5.Block;
import org.apache.tapestry5.ComponentResources;
@@ -54, +56 @@
}
}
+ }}}
+
----
- = MenuHolder.tml =
+ == MenuHolder.tml ==
We create a container div tag with a <ul/> menu items holder. The submenu hierarchy will be placed at the <t:body/> element. It should be nested <li/> <ul/> structure with <a/> for the action for the menu actions
----
+ {{{
<t:container xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd" xmlns:p="tapestry:parameter">
<style type="text/css">
/*override/change the css if you want*/
@@ -69, +74 @@
</ul>
</div>
</t:container>
+ }}}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org