Appearantly this works, just from playing around, not exactly sure why yet.
<actions> <action name="autopilot.action.DocumentAction" alias="document"> <view name="error">/error.jsp</view> <command name="view" alias="document!view"> <view name="success">/document/documentViewer.jsp</view> </command> </action> </actions> My tags look like this: Class level: /** * @webwork.action * name="document" * error="/error.jsp" */ doView() level: /** * @webwork.command * success="/document/documentViewer.jsp" */ The webwork.command tags I used were not documented, but in looking at the xdoclet source file webwork_views.xdt I saw references to webwork.command. I think I may try to write a template to produce the actions.xml file as I described above using the undocumented webwork.command tag. Would anyone here be interested in this if I actually get it to work ;-)? Also if anyone can explain why the above actions.xml file works and my previous attempts do not, please let me know. Thanks for all your help, Frank ----- Original Message ----- From: "James Cook" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 04, 2003 9:58 AM Subject: RE: [OS-webwork] CommandDriven SUCCESS > > I'm getting pretty good at this XDoclet stuff, I can probalby > > write a template to generate the actions.xml file if need be. > > What does your xdoclet tags look like. I didn't think that XDoclet supported > command driven actions yet. Jason had a good proposal a few weeks ago: > > http://sf.net/mailarchive.message.php?msg)id=4179234 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork