Can't you turn your Left menu into a component? You can then use something like <span jwcid="@Left"/> to include it in other components or pages. Also, in a component you can do ognl:page.visit to access the visit object
Eric Tan wrote: >Frame.jwc should also display some session information >such as "LoginName". But I cannot "getVisit()"? > >What should I do? Thank you very much. > >--- Eric Tan <[EMAIL PROTECTED]> 撰寫: > > >>Dear all, >> >> Component [Frame.jwc] has to load the left menu >>[Left.page], which is also a tapestry page. Should I >>load inside the Frame.java or use something like >>"RenderBody" ? >> >> Would you please give me some hints? >> >> Thank you very much. >> >>Best regards, >> Eric Tan >> >>--- Eric Tan <[EMAIL PROTECTED]> 撰寫: >> >> >>>Dear all, >>> >>> Is there any tutorial teaching how to build >>>reusable component? >>> >>> I want to build a HTML template, used by all >>> >>> >>page >> >> >>>of my webapp. >>> >>> It should be able to change: >>> - header >>> - left menu >>> - footer >>> >>> It should be able to load "username" & other >>>session >>>variable. >>> >>> Thank you very much. >>> >>>Best regards, >>> Eric Tan >>> >>> >>> >>>__________________________________ >>>想即時收到新 email 通知? >>>下載 Yahoo! Messenger >>>http://messenger.yahoo.com.hk/ >>> >>> >>> >>> >--------------------------------------------------------------------- > > >>>To unsubscribe, e-mail: >>>[EMAIL PROTECTED] >>>For additional commands, e-mail: >>>[EMAIL PROTECTED] >>> >>> >>> >>> >>__________________________________ >>想即時收到新 email 通知? >>下載 Yahoo! Messenger >>http://messenger.yahoo.com.hk/ >> >> >> >> >--------------------------------------------------------------------- > > >>To unsubscribe, e-mail: >>[EMAIL PROTECTED] >>For additional commands, e-mail: >>[EMAIL PROTECTED] >> >> >> >> > >__________________________________ >想即時收到新 email 通知? >下載 Yahoo! Messenger >http://messenger.yahoo.com.hk/ > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
