Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The "Tapestry5LayoutWithMenuMenuItem" page has been changed by deian. http://wiki.apache.org/tapestry/Tapestry5LayoutWithMenuMenuItem?action=diff&rev1=2&rev2=3 -------------------------------------------------- The className property will return the currentPage className for the html tags when the pagename matches the current node we render ---- + {{{ import org.apache.tapestry5.BindingConstants; import org.apache.tapestry5.ComponentResources; import org.apache.tapestry5.annotations.Parameter; @@ -39, +40 @@ return null; } } - + }}} ---- == MenuItem.tml == ---- + {{{ <li xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd" xmlns:p="tapestry:parameter"> <t:if test="isPage"> <t:pageLink page="${page}" class="${className}">${pageTitle}</t:pageLink> @@ -58, +60 @@ </ul> </li> + }}} --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
