[Webwork-devel] Re: [Webwork-user] global views in views.properties
Brought to you by:
baldree,
rickardoberg
From: Victor S. <vsa...@ho...> - 2002-03-15 10:56:41
|
> > If I remember correctly (it's been a long time since I touched > > views.properties): > > > > commonview=commonview.jsp > >Victor, > >Thanks, this works just fine. Can you do the same using actions.xml? >How? > Same concept, different syntax: <action> <view name="commonview">/commonview.jsp</view> <view name="othercommon">/othercommon.jsp</view> </action> I'll be adding more syntax soon (after 1.0), like being able to do: <command name="default" alias="login"> <view name="input">${profile}/login.vm</view> </command> Where 'profile' is a property you have define in your actions.xml ... /V _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com |