Hi guys,
I'm trying to add a webwork frontend to the xpetstore application. I'm
making a decent bit of progress but I'm trying to use xdoclet tags and
am a bit stuck on their usage. Maybe someone can help.
 
Like Struts, webwork takes info from JSPs and passes to actions.
However the xdoclet support for Webwork seems very minimal.
 
To be precise, I've seen only 1 tag on webwork from the current
xdoclet documentation at http://xdoclet.sourceforge.net
 
the tag is
It just specifies that this method is a webwork method. However
it doesn't seem to allow specification of what view to take based
on success or failure like you can with the xdoclet struts tags.
Yet this is still needed in webwork.
 
For example, a webwork "actions.xml" file should look something like this:
 
<actions>
    <action name="BriansAction" alias="brians">
        <view name="success">success.jsp</view>
        <view name="error">error.jsp</view>
    </action>
</actions>
 
But I can't see a way to specify the views in xdoclet. Any ideas?
 
thanks very much,
 
Brian
 
 
 
 

Reply via email to