> So does every "registered user only" page that accesses my crappy resource
> need to look like this..??
> 
> <action name="CreateProfileAction" alias="createprofile">
> <view name="guest">redirect.action?url=login!default.action</view>
> <view name="success">redirect.action?url=welcome!default.action</view>
> <view name="input">/templates/createprofileform.vm</view>
> <view name="error">/templates/createprofileform.vm</view>
> <view name="resourceerror">/templates/resourcebroken.vm</view>
> <view name="resourceslow">/templates/resourcetooslow.vm</view>
> </action>

Rajesh,

You could define global view like reseourceerror, resourceslow in
views.properties like this:

resourceerror=/templates/resourcebroken.vm
resourceslow=/templates/resourcetooslow.vm

Then you do not have to add them to the action definition in
actions.xml. I do not know if this is possible with the help of
actions.xml only.

with best wishes,
Taavi



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to