> I think it will be more obvious if we do something similar to ant :
>
> <actions>
>      <package name="standard" prefix="webwork.action.standard" />
>      <package name="weblog" prefix="com.example.weblog.actions" />
>
>      <action name="{weblog}.entry.CreateEntry" alias="CreateEntry">
>          <view name="input">addentry.jsp</view>
>          <view name="error">addentry.jsp</view>
>          <view name="success">viewentry.jsp</view>
>      </action>
> </actions>
>
> This also help to avoid the ambiguity when classes in different package
have
> same name ( Something pretty common actually ).

I find this rather confusing myself. Why not just do <action
name="com.example.weblog.actions.entry.CreateEntry" alias="CreateEntry"> if
you want to avoid any ambiguitiy? This seems like a lot better idea to me.
Introducing new syntax when the old syntax is clearer and more intuitive
seems like overkill to me.

// Anders Hovmöller




-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to