There's some aliasBean documentation on the wiki. Between the the wiki page and the tomahawk page, I was able to get x:aliasBean working without any problems.
http://wiki.apache.org/myfaces/AliasBean On 7/26/05, Martin Marinschek <[EMAIL PROTECTED]> wrote: > I can't say much about the inner workings of the tabbed pane, haven't worked > on that. You'll need to look at the source for that. > > as for the docu on aliasBean: there should be something on the page, it > doesn't show how to do the jsp:include stuff though, but this is really how > you do normal includes as well. > > regards, > > Martin > > > On 7/25/05, Curtney Jacobs <[EMAIL PROTECTED]> wrote: > > Forgot to include my post. Forgive me, its been a long day. > > > > Greetings! Thanks for responding :-) > > > > I don't know much about how tiles is integrated with JSF, but it seems > > that the problem is the tabbed pane component is constructed using a > > form (input elements of type button for the actual tab), thus clicking > > the tab does not generate a new "request url" to the server and thus I > > stay in the same view. Perhaps a command link instead of an input form > > would allow for greater flexibility? Is there a specific reason for > > using an HTML form as the rendered component? > > > > Where on the site is the documentation on using <jsp:includes/> and > > <x:aliasBean/> as an alternateive? I did not find anything. > > > > Curtney > > > > On Sun, 2005-07-24 at 20:20 -0700, Curtney Jacobs wrote: > > > Oops! I did not replied to the list. > > > > > > Curtney > > > > > > On Sun, 2005-07-24 at 12:44 +0200, Martin Marinschek wrote: > > > > you won't be able to do this with the tiles definitions in place, as > > > > tiles doesn't integrate with the JSF subsystem on a detailed level. > > > > > > > > thing is - you are always on the same view, so the same tile will be > > > > integrated on the page all the time. > > > > > > > > you might rather want to use <jsp:includes/> in combination with the > > > > <x:aliasBean/> to get things like that working - see the documentation > > > > for info about that. > > > > > > > > regards, > > > > > > > > Martin > > > > > > > > On 7/22/05, Curtney Jacobs <[EMAIL PROTECTED] > wrote: > > > > Any suggestions? > > > > > > > > On Thu, 2005-07-21 at 21:11 -0700, Curtney Jacobs wrote: > > > > > Greetings! > > > > > > > > > > I have successfully manage to get my tile to display within > > > > my tabs, > > > > > however, the same tile definition is displayed in each tab. > > > > I would like > > > > > each tab to display its' corresponding tile. I don't know > > > > how to specify > > > > > the correct url so that the correct tile definition is > > > > inserted. The > > > > > following is what my tile definitions and jsp looks like: > > > > > > > > > > <tiles-definitions> > > > > > > > > > > <definition name="opened.workspace.layout " > > > > > > path="/workspace/template/workspace-template.jsp"> > > > > > <put name="wks-desktop" value="/workspace/tiles/wks- > > > > desktop- > > > > > default.jsp" /> > > > > > </definition> > > > > > > > > > > <definition name=" myworkspace.desktop" > > > > path="/desktop/template/desktop- > > > > > template.jsp"> > > > > > <put name="dkt-hnav" > > > > > value="/desktop/myworkspace/tiles/myworkspace-dkt- > > > > > hnav.jsp" /> > > > > > <put name="dkt-vnav" > > > > > value="/desktop/myworkspace/tiles/myworkspace-dkt- > > > > > vnav.jsp " /> > > > > > <put name="dkt-content" > > > > > value="/desktop/myworkspace/tiles/myworkspace- > > > > > dkt-content.jsp" /> > > > > > </definition> > > > > > > > > > > <definition name="sesm.desktop" > > > > path="/desktop/template/desktop- > > > > > template.jsp"> > > > > > <put name="dkt-hnav" > value="/desktop/sesm/tiles/sesm- > > > > dkt-hnav.jsp" /> > > > > > <put name="dkt-vnav" > value="/desktop/sesm/tiles/sesm- > > > > dkt-vnav.jsp" /> > > > > > <put name="dkt-content" > > > > value="/desktop/sesm/tiles/sesm-dkt- > > > > > content.jsp" /> > > > > > </definition> > > > > > > > > > > <definition name="/myworkspace.tiles" > > > > extends="opened.workspace.layout "> > > > > > <put name="wks-desktop" value=" > > > > myworkspace.desktop" /> > > > > > </definition> > > > > > > > > > > <definition name="/sesm.tiles" > > > > extends=" opened.workspace.layout"> > > > > > <put name="wks-desktop" value=" sesm.desktop" /> > > > > > </definition> > > > > > > > > > > > > > > > </tiles-definitions> > > > > > > > > > > > > > > > <f:view> > > > > > <body> > > > > > > > > > > <h:panelGrid id="workspacePanel" > > > > width="100%" columns="1" border="0" > > > > > cellpadding="0" cellspacing="0" > > > > > > > > > > > <x:panelTabbedPane width="100%" > > > > styleClass="tabs" > > > > > > activeTabStyleClass="active" > > > > > > inactiveTabStyleClass="inactive" > > > > > > activeSubStyleClass="activeSub" > > > > > > inactiveSubStyleClass="inactiveSub" > > > > > > tabContentStyleClass="tabContent"> > > > > > > > > > > > > > > > <x:panelTab id="workspace-tab" label="My > > > > Workspace"> > > > > > > <f:subview id="wks- > > > > desktop"> > > > > > > <tiles:insert > > > > attribute="wks-desktop" flush="false"/> > > > > > > </f:subview> > > > > > </x:panelTab> > > > > > > > > > > <x:panelTab id="sesm-tab" label="SESM"> > > > > > <f:subview id="dkt-sesm"> > > > > > > <tiles:insert > > > > attribute="wks-desktop" flush="false"/> > > > > > > </f:subview> > > > > > </x:panelTab> > > > > > > > > > > <x:panelTab id="tab4" > > > > label="Tab5"> > > > > > > > > > > </x:panelTab> > > > > > > > > > > <x:panelTab id="tab5" > > > > label="Tab6"> > > > > > > > > > > </x:panelTab> > > > > > > > > > > </x:panelTabbedPane> > > > > > > > > > > </h:panelGrid> > > > > > > > > > > </body> > > > > > </f:view> > > > > > > > > > > > > > > > > > > > > > >

