Hi Tibor,

You mean, that I need to add scope="request" to showRec action too? When I add it, I 
have to add also name="editRecForm" and then, after I click on the link targeting the 
showRec action, it will throw an exception:

  com.ibm.ws.webcontainer.webapp.WebAppErrorReport: No input attribute for mapping 
path /showRole

(I'm using WebSphere Studio 5 and it's Test Environment)

Ok, I add input attribute, and then it ignore all the action, goes directly to the 
defined input, so nothing is filled in...

I don't understand what's going on...

Have you any idea?

-jerryk.



-----Original Message-----
From: Gemes Tibor [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 06, 2003 3:56 PM
To: Struts Users Mailing List
Subject: Re: Initializing of DynaValidatorForm.

Kazda Juraj írta:

>  <action path="/listRec" type="sk.jerryk.ListRecsAction">
>    <forward name="listRec" path="list.recs" />
>  </action>
>    
>  <action path="/showRec" type="sk.jerryk.ShowRecAction"
>scope="request">
>    <forward name="showRec" path="edit.rec" />
>  </action>
>
>  <action path="/editRec" type="sk.jerryk.EditRecAction"
>name="editRecForm" validate="true" input="edit.rec">
>    <forward name="editRec" path="edit.rec" />
>  </action>
>  
>
The forms are not in the same context.

Tib




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to