Hey all,
 
I have a CommandDriven Action (DocumentAction) and I use XDoclet to generate the views.properties.
 
DocumentAction has doView(), doEdit(), doSave(), etc. and they each have their own SUCCESS defined using @webwork.command success="/something/test.jsp"
 
after xdoclet processing views.properties contains:
 
document.view.action="">
document.view.success="/something/test.jsp"
 
Now when doView() "return SUCCESS" the view is not found, but if I return "view." + SUCCESS it is found.
This does not seem right. Is this by design? 
 
I thought since it knew enough to call doView() (document.view.action) then that is where it would look for success (document.view). Am I mistaken? It seems to only be aware of the context as "document".
 
Thank you so much for any help,
Frank

Reply via email to