Title: Message
Ok, who knows the views.properties way of doing this?
 
It looks to me like the "." in the action name is giving problems.
-----Original Message-----
From: Frank Febbraro [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 5:42 PM
To: webwork
Subject: [OS-webwork] CommandDriven SUCCESS

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