Ok I did it already, but getting some exceptions. Can it be related with
sitemesh use?

----- Original Message -----
From: "Jason Carreira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 15, 2003 7:38 PM
Subject: RE: [OS-webwork] xworks.xml actions mistery


You add the jar file to your web app and include it from your xwork.xml
(see the xwork.xml in the example war). Then you can hit it at
/config-browser/actionNames.action

> -----Original Message-----
> From: remigijus [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 15, 2003 12:11 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] xworks.xml actions mistery
>
>
> Ok it is getting better. I found config browser, but have no
> idea how to use. Do I have to add this part to my project? I
> can try to figure out what to do with it, but if can give
> some roadmap it will be nice.
>
>
> ----- Original Message -----
> From: "Jason Carreira" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, December 15, 2003 6:55 PM
> Subject: RE: [OS-webwork] xworks.xml actions mistery
>
>
> Try out the config browser... It will show you the action
> configurations by namespace and allow you to see if it's what
> you expected. It's built as part of the distribution and you
> can see how it's added to the example war file in the distribution.
>
> > -----Original Message-----
> > From: remigijus [mailto:[EMAIL PROTECTED]
> > Sent: Monday, December 15, 2003 11:49 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [OS-webwork] xworks.xml actions mistery
> >
> >
> > I did some experimentation and changed name from delete to delete2.
> > Problem is not in the name. I little confused because one
> action from
> > this package works and other does not work. I even tryed to do some
> > debugging in the DefaultActionProxy by got nothing.
> >
> > Some othe ideas?
> >
> > ----- Original Message -----
> > From: "Jason Carreira" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, December 15, 2003 6:11 PM
> > Subject: RE: [OS-webwork] xworks.xml actions mistery
> >
> >
> > You don't have an Action mapped to the name "delete2"...
> Either change
> > your link or change your xwork.xml <action> element so they match.
> >
> > > -----Original Message-----
> > > From: remigijus [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, December 15, 2003 11:02 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: [OS-webwork] xworks.xml actions mistery
> > >
> > >
> > > Ok I have added namespace with value "/admin/category"
> and changed
> > > name of the package to "admin-category" but sitaution is
> > the same as
> > > before. edit action works as it has to but on delete action I'm
> > > gettinfg exception
> > >
> > > com.opensymphony.xwork.config.ConfigurationException: There is no
> > > Action mapped for namespace /admin/category and action
> name delete2
> > > at
> > >
> >
> com.opensymphony.xwork.DefaultActionProxy.(DefaultActionProxy.java:73)
> > > at com.opensymphony.xwork.DefaultActionProxyFactory.createActionP
> > > roxy(DefaultAc
> > > tionProxyFactory.java:40)  Any other suggestions.
> > >
> > > now my package looks as follows.
> > >     <package name="admin-category" extends="webwork-default"
> > > namespace="/admin/category">
> > >         <action name="delete"
> > > class="lt.akmila.admin.category.DeleteCategoryAction">
> > >             <result name="success" type="dispatcher">
> > >                 <param
> > > name="location">/admin/category/index.jsp</param>
> > >             </result>
> > >             <result name="error" type="dispatcher">
> > >                 <param
> > > name="location">/admin/category/delete.jsp</param>
> > >             </result>
> > >
> > >             <interceptor-ref name="defaultStack"/>
> > >             <interceptor-ref name="validation"/>
> > >             <interceptor-ref name="workflow"/>
> > >         </action>
> > >
> > >         <action name="add"
> > > class="lt.akmila.admin.category.AddCategoryAction">
> > >             <result name="success" type="dispatcher">
> > >                 <param
> > > name="location">/admin/category/index.jsp</param>
> > >             </result>
> > >             <result name="error" type="dispatcher">
> > >                 <param
> > name="location">/admin/category/add.jsp</param>
> > >             </result>
> > >
> > >             <interceptor-ref name="defaultStack"/>
> > >             <interceptor-ref name="validation"/>
> > >             <interceptor-ref name="workflow"/>
> > >         </action>
> > >
> > >         <action name="edit"
> > > class="lt.akmila.admin.category.EditCategoryAction">
> > >             <result name="success" type="dispatcher">
> > >                 <param
> > > name="location">/admin/category/index.jsp</param>
> > >             </result>
> > >             <result name="error" type="dispatcher">
> > >                 <param
> > > name="location">/admin/category/edit.jsp</param>
> > >             </result>
> > >             <result name="input" type="dispatcher">
> > >                 <param
> > > name="location">/admin/category/edit.jsp</param>
> > >             </result>
> > >
> > >             <interceptor-ref name="defaultStack"/>
> > >             <interceptor-ref name="validation"/>
> > >             <interceptor-ref name="workflow"/>
> > >         </action>
> > >     </package>
> > >
> > >
> > > ----- Original Message -----
> > > From: "Jonas Eriksson" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Monday, December 15, 2003 5:31 PM
> > > Subject: Re: [OS-webwork] (no subject)
> > >
> > >
> > > > I think the name of a package is just a "name", with no
> > > other meaning
> > > > outside the xwork.xml. You need to set the
> > > namespace="/admin/category"
> > > > if you want to use an action like /admin/category/foo.action
> > > >
> > > > Have you tried that?
> > > >
> > > > Jonas
> > > >
> > > > remigijus wrote:
> > > > > Hi
> > > > >
> > > > > I have some strange problems related with action
> > > packages. I'm trying to
> > > > > use a package lik this     <package name="admin/category"
> > > > > extends="webwork-default"> and having some strange
> > problems. Some
> > > > > actions from the package works as expected, but on some I
> > > getting a
> > > message
> > > > >
> > > > >
> > > > > com.opensymphony.xwork.config.ConfigurationException:
> > There is no
> > > > > Action
> > > mapped for namespace /admin/category and action name delete
> > > > > at
> > >
> >
> com.opensymphony.xwork.DefaultActionProxy.(DefaultActionProxy.java:73)
> > > > >
> > > > >
> > > > > Maybe I do somthing wrong. Does anybody can give some
> > > sugesstions or
> > > > > a link to some docs related with xwork.xml file for packages.
> > > >
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.net email is sponsored by: SF.net Giveback
> Program. Does
> > > > SourceForge.net help you be more productive?  Does it help
> > > you create
> > > > better code?  SHARE THE LOVE, and help us help YOU!
> Click Here:
> > > > http://sourceforge.net/donate/
> > > > _______________________________________________
> > > > Opensymphony-webwork mailing list
> > > > [EMAIL PROTECTED]
> > > >
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: SF.net Giveback Program. Does
> > > SourceForge.net help you be more productive?  Does it help
> > you create
> > > better code?  SHARE THE LOVE, and help us help YOU!  Click Here:
> > > http://sourceforge.net/donate/
> > > _______________________________________________
> > > Opensymphony-webwork mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> > >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SF.net Giveback Program. Does
> > SourceForge.net help you be more productive?  Does it help
> you create
> > better code?  SHARE THE LOVE, and help us help YOU!  Click Here:
> > http://sourceforge.net/donate/
> > _______________________________________________
> > Opensymphony-webwork mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SF.net Giveback Program. Does
> > SourceForge.net help you be more productive?  Does it help
> you create
> > better code?  SHARE THE LOVE, and help us help YOU!  Click Here:
> > http://sourceforge.net/donate/
> > _______________________________________________
> > Opensymphony-webwork mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> >
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us
> help YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us
> help YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
>


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to