You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ricardo de Souza Moura <ri...@hotmail.com> on 2002/08/09 15:02:37 UTC
Validation with tiles
I would like to put in the input attribute a tile definition, but I don't
get... There are any method to do this ?
my solution...
<action path="/aberturaCadastro" forward="def.cadastro.identificacao"/>
<action path="/newCustomer" type="classe" scope="request"
name="customerForm" input="/aberturaCadastro.do" parameter="method"
validate="true"> ... </action>
but I would like to do this. is It amiss ?
<action path="/newCustomer" type="classe" scope="request"
name="customerForm" input="def.cadastro.identificacao" parameter="method"
validate="true"> ... </action>
Thanks
_________________________________________________________________
Tenha você também um MSN Hotmail, o maior webmail do mundo:
http://www.hotmail.com/br
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Validation with tiles
Posted by Eelco Klaver <ee...@myefactory.nl>.
Yes, it would.
Eelco
> -----Original Message-----
> From: Jacob Hookom [mailto:hookomjj@uwec.edu]
> Sent: Thursday, August 15, 2002 2:15 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Validation with tiles
>
>
> It would work though if I forced all pages to load through an Action,
> and just did a normal forward, but in the Action, do
> request.setAttribute("",object);
>
> So the resulting page material would rely on a request
> attribute, not a
> parameter.
>
> This would be exposed in the forwarding page correct?
>
> Thanks!
> Jacob
>
> | -----Original Message-----
> | From: Eelco Klaver [mailto:eelco.klaver@myefactory.nl]
> | Sent: Thursday, August 15, 2002 6:50 AM
> | To: 'Struts Users Mailing List'
> | Subject: RE: Validation with tiles
> |
> | Hi Jacob,
> |
> | You can't add request parameters when forwarding to a new page (you
> can
> | only
> | do this when redirecting to a new page). So if you make the
> particular
> | ActionForward a redirect, it will work (note that since it will be a
> | different request, the parameters from the previous request are not
> | remembered). Otherwise, you have to put the new value in the request
> | attributes.
> |
> | Regards, Eelco
> |
> |
> | > -----Original Message-----
> | > From: Jacob Hookom [mailto:hookomjj@uwec.edu]
> | > Sent: Thursday, August 15, 2002 11:58 AM
> | > To: 'Struts Users Mailing List'
> | > Subject: RE: Validation with tiles
> | >
> | >
> | > Thanks,
> | >
> | > An example would be an action like so:
> | >
> | > /addEmployee.jsp?boss=45
> | > <form action="insertEmployee.do">
> | > <input type="hidden" name="boss" value="45">
> | > .....
> | > </form>
> | >
> | > /insertEmployee.do
> | > //do processing
> | > .....
> | > //I want to return to: mainBoss.jsp?id=45
> | > return ActionForward("mainBoss.jsp?id="....);
> | >
> | >
> | > As you can see, I would like to have struts delegate the response
> id,
> | > much like the <html:link> as to what property it will
> return in the
> | > action forward.
> | >
> | > I know I can do saveToken on the response with errors, is that the
> | > correct way to handle it adding parameters to the forward
> dynamically?
> | >
> | > Best Regards,
> | > Jacob
> | >
> | >
> | > | -----Original Message-----
> | > | From: Cedric Dumoulin [mailto:cedric@apache.org]
> | > | Sent: Wednesday, August 14, 2002 7:55 PM
> | > | To: Struts Users Mailing List
> | > | Subject: Re: Validation with tiles
> | > |
> | > |
> | > | If you put params from actions, it can only be request
> parameters,
> | > set
> | > | with parameter="...". The tiles preferred way is to put tiles
> | > attributes
> | > | in the definition, and forward to this definition.
> | > |
> | > | Cedric
> | > |
> | > | Jacob Hookom wrote:
> | > |
> | > | >What is the proper way of forwarding users, but with
> params from
> | > | >actions?
> | > | >
> | > | >Thanks,
> | > | >Jake
> | > | >
> | > | >| -----Original Message-----
> | > | >| From: Cedric Dumoulin [mailto:cedric@apache.org]
> | > | >| Sent: Monday, August 12, 2002 2:56 PM
> | > | >| To: Struts Users Mailing List
> | > | >| Subject: Re: Validation with tiles
> | > | >|
> | > | >|
> | > | >| Hi,
> | > | >|
> | > | >| Which version of Struts do you use (1.1 or 1.0.x) ? Your
> second
> | > | >| solution should works under Struts1.1 latest nightly
> | > build. If not,
> | > | >| please report a bug to bugzilla.
> | > | >|
> | > | >| Cedric
> | > | >|
> | > | >| Ricardo de Souza Moura wrote:
> | > | >|
> | > | >| > I would like to put in the input attribute a tile
> | > definition, but
> | > I
> | > | >| > don't get... There are any method to do this ?
> | > | >| >
> | > | >| > my solution...
> | > | >| >
> | > | >| > <action path="/aberturaCadastro"
> | > | >forward="def.cadastro.identificacao"/>
> | > | >| >
> | > | >| > <action path="/newCustomer" type="classe" scope="request"
> | > | >| > name="customerForm" input="/aberturaCadastro.do"
> | > parameter="method"
> | > | >| > validate="true"> ... </action>
> | > | >| >
> | > | >| >
> | > | >| > but I would like to do this. is It amiss ?
> | > | >| >
> | > | >| > <action path="/newCustomer" type="classe" scope="request"
> | > | >| > name="customerForm" input="def.cadastro.identificacao"
> | > | >| > parameter="method" validate="true"> ... </action>
> | > | >| >
> | > | >| > Thanks
> | > | >| >
> | > | >| >
> | > | >| >
> | > _________________________________________________________________
> | > | >| > Tenha você também um MSN Hotmail, o maior webmail do mundo:
> | > | >| > http://www.hotmail.com/br
> | > | >| >
> | > | >| >
> | > | >| > --
> | > | >| > To unsubscribe, e-mail:
> | > | >| > <ma...@jakarta.apache.org>
> | > | >| > For additional commands, e-mail:
> | > | >| > <ma...@jakarta.apache.org>
> | > | >| >
> | > | >| >
> | > | >|
> | > | >|
> | > | >|
> | > | >| --
> | > | >| To unsubscribe, e-mail: <mailto:struts-user-
> | > | >| unsubscribe@jakarta.apache.org>
> | > | >| For additional commands, e-mail: <mailto:struts-user-
> | > | >| help@jakarta.apache.org>
> | > | >|
> | > | >| ---
> | > | >| Incoming mail is certified Virus Free.
> | > | >| Checked by AVG anti-virus system (http://www.grisoft.com).
> | > | >| Version: 6.0.381 / Virus Database: 214 - Release
> Date: 8/2/2002
> | > | >|
> | > | >
> | > | >---
> | > | >Outgoing mail is certified Virus Free.
> | > | >Checked by AVG anti-virus system (http://www.grisoft.com).
> | > | >Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
> | > | >
> | > | >
> | > | >
> | > | >--
> | > | >To unsubscribe, e-mail: <mailto:struts-user-
> | > | unsubscribe@jakarta.apache.org>
> | > | >For additional commands, e-mail: <mailto:struts-user-
> | > | help@jakarta.apache.org>
> | > | >
> | > | >
> | > | >
> | > | >
> | > |
> | > |
> | > |
> | > | --
> | > | To unsubscribe, e-mail: <mailto:struts-user-
> | > | unsubscribe@jakarta.apache.org>
> | > | For additional commands, e-mail: <mailto:struts-user-
> | > | help@jakarta.apache.org>
> | > |
> | > | ---
> | > | Incoming mail is certified Virus Free.
> | > | Checked by AVG anti-virus system (http://www.grisoft.com).
> | > | Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
> | > |
> | >
> | > ---
> | > Outgoing mail is certified Virus Free.
> | > Checked by AVG anti-virus system (http://www.grisoft.com).
> | > Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
> | >
> | >
> | >
> | > --
> | > To unsubscribe, e-mail:
> | > <ma...@jakarta.apache.org>
> | > For additional commands, e-mail:
> | > <ma...@jakarta.apache.org>
> | >
> |
> |
> | --
> | To unsubscribe, e-mail: <mailto:struts-user-
> | unsubscribe@jakarta.apache.org>
> | For additional commands, e-mail: <mailto:struts-user-
> | help@jakarta.apache.org>
> |
> | ---
> | Incoming mail is certified Virus Free.
> | Checked by AVG anti-virus system (http://www.grisoft.com).
> | Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
> |
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Validation with tiles
Posted by Jacob Hookom <ho...@uwec.edu>.
It would work though if I forced all pages to load through an Action,
and just did a normal forward, but in the Action, do
request.setAttribute("",object);
So the resulting page material would rely on a request attribute, not a
parameter.
This would be exposed in the forwarding page correct?
Thanks!
Jacob
| -----Original Message-----
| From: Eelco Klaver [mailto:eelco.klaver@myefactory.nl]
| Sent: Thursday, August 15, 2002 6:50 AM
| To: 'Struts Users Mailing List'
| Subject: RE: Validation with tiles
|
| Hi Jacob,
|
| You can't add request parameters when forwarding to a new page (you
can
| only
| do this when redirecting to a new page). So if you make the particular
| ActionForward a redirect, it will work (note that since it will be a
| different request, the parameters from the previous request are not
| remembered). Otherwise, you have to put the new value in the request
| attributes.
|
| Regards, Eelco
|
|
| > -----Original Message-----
| > From: Jacob Hookom [mailto:hookomjj@uwec.edu]
| > Sent: Thursday, August 15, 2002 11:58 AM
| > To: 'Struts Users Mailing List'
| > Subject: RE: Validation with tiles
| >
| >
| > Thanks,
| >
| > An example would be an action like so:
| >
| > /addEmployee.jsp?boss=45
| > <form action="insertEmployee.do">
| > <input type="hidden" name="boss" value="45">
| > .....
| > </form>
| >
| > /insertEmployee.do
| > //do processing
| > .....
| > //I want to return to: mainBoss.jsp?id=45
| > return ActionForward("mainBoss.jsp?id="....);
| >
| >
| > As you can see, I would like to have struts delegate the response
id,
| > much like the <html:link> as to what property it will return in the
| > action forward.
| >
| > I know I can do saveToken on the response with errors, is that the
| > correct way to handle it adding parameters to the forward
dynamically?
| >
| > Best Regards,
| > Jacob
| >
| >
| > | -----Original Message-----
| > | From: Cedric Dumoulin [mailto:cedric@apache.org]
| > | Sent: Wednesday, August 14, 2002 7:55 PM
| > | To: Struts Users Mailing List
| > | Subject: Re: Validation with tiles
| > |
| > |
| > | If you put params from actions, it can only be request
parameters,
| > set
| > | with parameter="...". The tiles preferred way is to put tiles
| > attributes
| > | in the definition, and forward to this definition.
| > |
| > | Cedric
| > |
| > | Jacob Hookom wrote:
| > |
| > | >What is the proper way of forwarding users, but with params from
| > | >actions?
| > | >
| > | >Thanks,
| > | >Jake
| > | >
| > | >| -----Original Message-----
| > | >| From: Cedric Dumoulin [mailto:cedric@apache.org]
| > | >| Sent: Monday, August 12, 2002 2:56 PM
| > | >| To: Struts Users Mailing List
| > | >| Subject: Re: Validation with tiles
| > | >|
| > | >|
| > | >| Hi,
| > | >|
| > | >| Which version of Struts do you use (1.1 or 1.0.x) ? Your
second
| > | >| solution should works under Struts1.1 latest nightly
| > build. If not,
| > | >| please report a bug to bugzilla.
| > | >|
| > | >| Cedric
| > | >|
| > | >| Ricardo de Souza Moura wrote:
| > | >|
| > | >| > I would like to put in the input attribute a tile
| > definition, but
| > I
| > | >| > don't get... There are any method to do this ?
| > | >| >
| > | >| > my solution...
| > | >| >
| > | >| > <action path="/aberturaCadastro"
| > | >forward="def.cadastro.identificacao"/>
| > | >| >
| > | >| > <action path="/newCustomer" type="classe" scope="request"
| > | >| > name="customerForm" input="/aberturaCadastro.do"
| > parameter="method"
| > | >| > validate="true"> ... </action>
| > | >| >
| > | >| >
| > | >| > but I would like to do this. is It amiss ?
| > | >| >
| > | >| > <action path="/newCustomer" type="classe" scope="request"
| > | >| > name="customerForm" input="def.cadastro.identificacao"
| > | >| > parameter="method" validate="true"> ... </action>
| > | >| >
| > | >| > Thanks
| > | >| >
| > | >| >
| > | >| >
| > _________________________________________________________________
| > | >| > Tenha você também um MSN Hotmail, o maior webmail do mundo:
| > | >| > http://www.hotmail.com/br
| > | >| >
| > | >| >
| > | >| > --
| > | >| > To unsubscribe, e-mail:
| > | >| > <ma...@jakarta.apache.org>
| > | >| > For additional commands, e-mail:
| > | >| > <ma...@jakarta.apache.org>
| > | >| >
| > | >| >
| > | >|
| > | >|
| > | >|
| > | >| --
| > | >| To unsubscribe, e-mail: <mailto:struts-user-
| > | >| unsubscribe@jakarta.apache.org>
| > | >| For additional commands, e-mail: <mailto:struts-user-
| > | >| help@jakarta.apache.org>
| > | >|
| > | >| ---
| > | >| Incoming mail is certified Virus Free.
| > | >| Checked by AVG anti-virus system (http://www.grisoft.com).
| > | >| Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
| > | >|
| > | >
| > | >---
| > | >Outgoing mail is certified Virus Free.
| > | >Checked by AVG anti-virus system (http://www.grisoft.com).
| > | >Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
| > | >
| > | >
| > | >
| > | >--
| > | >To unsubscribe, e-mail: <mailto:struts-user-
| > | unsubscribe@jakarta.apache.org>
| > | >For additional commands, e-mail: <mailto:struts-user-
| > | help@jakarta.apache.org>
| > | >
| > | >
| > | >
| > | >
| > |
| > |
| > |
| > | --
| > | To unsubscribe, e-mail: <mailto:struts-user-
| > | unsubscribe@jakarta.apache.org>
| > | For additional commands, e-mail: <mailto:struts-user-
| > | help@jakarta.apache.org>
| > |
| > | ---
| > | Incoming mail is certified Virus Free.
| > | Checked by AVG anti-virus system (http://www.grisoft.com).
| > | Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
| > |
| >
| > ---
| > Outgoing mail is certified Virus Free.
| > Checked by AVG anti-virus system (http://www.grisoft.com).
| > Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
| >
| >
| >
| > --
| > To unsubscribe, e-mail:
| > <ma...@jakarta.apache.org>
| > For additional commands, e-mail:
| > <ma...@jakarta.apache.org>
| >
|
|
| --
| To unsubscribe, e-mail: <mailto:struts-user-
| unsubscribe@jakarta.apache.org>
| For additional commands, e-mail: <mailto:struts-user-
| help@jakarta.apache.org>
|
| ---
| Incoming mail is certified Virus Free.
| Checked by AVG anti-virus system (http://www.grisoft.com).
| Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
|
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Validation with tiles
Posted by Eelco Klaver <ee...@myefactory.nl>.
Hi Jacob,
You can't add request parameters when forwarding to a new page (you can only
do this when redirecting to a new page). So if you make the particular
ActionForward a redirect, it will work (note that since it will be a
different request, the parameters from the previous request are not
remembered). Otherwise, you have to put the new value in the request
attributes.
Regards, Eelco
> -----Original Message-----
> From: Jacob Hookom [mailto:hookomjj@uwec.edu]
> Sent: Thursday, August 15, 2002 11:58 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Validation with tiles
>
>
> Thanks,
>
> An example would be an action like so:
>
> /addEmployee.jsp?boss=45
> <form action="insertEmployee.do">
> <input type="hidden" name="boss" value="45">
> .....
> </form>
>
> /insertEmployee.do
> //do processing
> .....
> //I want to return to: mainBoss.jsp?id=45
> return ActionForward("mainBoss.jsp?id="....);
>
>
> As you can see, I would like to have struts delegate the response id,
> much like the <html:link> as to what property it will return in the
> action forward.
>
> I know I can do saveToken on the response with errors, is that the
> correct way to handle it adding parameters to the forward dynamically?
>
> Best Regards,
> Jacob
>
>
> | -----Original Message-----
> | From: Cedric Dumoulin [mailto:cedric@apache.org]
> | Sent: Wednesday, August 14, 2002 7:55 PM
> | To: Struts Users Mailing List
> | Subject: Re: Validation with tiles
> |
> |
> | If you put params from actions, it can only be request parameters,
> set
> | with parameter="...". The tiles preferred way is to put tiles
> attributes
> | in the definition, and forward to this definition.
> |
> | Cedric
> |
> | Jacob Hookom wrote:
> |
> | >What is the proper way of forwarding users, but with params from
> | >actions?
> | >
> | >Thanks,
> | >Jake
> | >
> | >| -----Original Message-----
> | >| From: Cedric Dumoulin [mailto:cedric@apache.org]
> | >| Sent: Monday, August 12, 2002 2:56 PM
> | >| To: Struts Users Mailing List
> | >| Subject: Re: Validation with tiles
> | >|
> | >|
> | >| Hi,
> | >|
> | >| Which version of Struts do you use (1.1 or 1.0.x) ? Your second
> | >| solution should works under Struts1.1 latest nightly
> build. If not,
> | >| please report a bug to bugzilla.
> | >|
> | >| Cedric
> | >|
> | >| Ricardo de Souza Moura wrote:
> | >|
> | >| > I would like to put in the input attribute a tile
> definition, but
> I
> | >| > don't get... There are any method to do this ?
> | >| >
> | >| > my solution...
> | >| >
> | >| > <action path="/aberturaCadastro"
> | >forward="def.cadastro.identificacao"/>
> | >| >
> | >| > <action path="/newCustomer" type="classe" scope="request"
> | >| > name="customerForm" input="/aberturaCadastro.do"
> parameter="method"
> | >| > validate="true"> ... </action>
> | >| >
> | >| >
> | >| > but I would like to do this. is It amiss ?
> | >| >
> | >| > <action path="/newCustomer" type="classe" scope="request"
> | >| > name="customerForm" input="def.cadastro.identificacao"
> | >| > parameter="method" validate="true"> ... </action>
> | >| >
> | >| > Thanks
> | >| >
> | >| >
> | >| >
> _________________________________________________________________
> | >| > Tenha você também um MSN Hotmail, o maior webmail do mundo:
> | >| > http://www.hotmail.com/br
> | >| >
> | >| >
> | >| > --
> | >| > To unsubscribe, e-mail:
> | >| > <ma...@jakarta.apache.org>
> | >| > For additional commands, e-mail:
> | >| > <ma...@jakarta.apache.org>
> | >| >
> | >| >
> | >|
> | >|
> | >|
> | >| --
> | >| To unsubscribe, e-mail: <mailto:struts-user-
> | >| unsubscribe@jakarta.apache.org>
> | >| For additional commands, e-mail: <mailto:struts-user-
> | >| help@jakarta.apache.org>
> | >|
> | >| ---
> | >| Incoming mail is certified Virus Free.
> | >| Checked by AVG anti-virus system (http://www.grisoft.com).
> | >| Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
> | >|
> | >
> | >---
> | >Outgoing mail is certified Virus Free.
> | >Checked by AVG anti-virus system (http://www.grisoft.com).
> | >Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
> | >
> | >
> | >
> | >--
> | >To unsubscribe, e-mail: <mailto:struts-user-
> | unsubscribe@jakarta.apache.org>
> | >For additional commands, e-mail: <mailto:struts-user-
> | help@jakarta.apache.org>
> | >
> | >
> | >
> | >
> |
> |
> |
> | --
> | To unsubscribe, e-mail: <mailto:struts-user-
> | unsubscribe@jakarta.apache.org>
> | For additional commands, e-mail: <mailto:struts-user-
> | help@jakarta.apache.org>
> |
> | ---
> | Incoming mail is certified Virus Free.
> | Checked by AVG anti-virus system (http://www.grisoft.com).
> | Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
> |
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Validation with tiles
Posted by Jacob Hookom <ho...@uwec.edu>.
Thanks,
An example would be an action like so:
/addEmployee.jsp?boss=45
<form action="insertEmployee.do">
<input type="hidden" name="boss" value="45">
.....
</form>
/insertEmployee.do
//do processing
.....
//I want to return to: mainBoss.jsp?id=45
return ActionForward("mainBoss.jsp?id="....);
As you can see, I would like to have struts delegate the response id,
much like the <html:link> as to what property it will return in the
action forward.
I know I can do saveToken on the response with errors, is that the
correct way to handle it adding parameters to the forward dynamically?
Best Regards,
Jacob
| -----Original Message-----
| From: Cedric Dumoulin [mailto:cedric@apache.org]
| Sent: Wednesday, August 14, 2002 7:55 PM
| To: Struts Users Mailing List
| Subject: Re: Validation with tiles
|
|
| If you put params from actions, it can only be request parameters,
set
| with parameter="...". The tiles preferred way is to put tiles
attributes
| in the definition, and forward to this definition.
|
| Cedric
|
| Jacob Hookom wrote:
|
| >What is the proper way of forwarding users, but with params from
| >actions?
| >
| >Thanks,
| >Jake
| >
| >| -----Original Message-----
| >| From: Cedric Dumoulin [mailto:cedric@apache.org]
| >| Sent: Monday, August 12, 2002 2:56 PM
| >| To: Struts Users Mailing List
| >| Subject: Re: Validation with tiles
| >|
| >|
| >| Hi,
| >|
| >| Which version of Struts do you use (1.1 or 1.0.x) ? Your second
| >| solution should works under Struts1.1 latest nightly build. If not,
| >| please report a bug to bugzilla.
| >|
| >| Cedric
| >|
| >| Ricardo de Souza Moura wrote:
| >|
| >| > I would like to put in the input attribute a tile definition, but
I
| >| > don't get... There are any method to do this ?
| >| >
| >| > my solution...
| >| >
| >| > <action path="/aberturaCadastro"
| >forward="def.cadastro.identificacao"/>
| >| >
| >| > <action path="/newCustomer" type="classe" scope="request"
| >| > name="customerForm" input="/aberturaCadastro.do"
parameter="method"
| >| > validate="true"> ... </action>
| >| >
| >| >
| >| > but I would like to do this. is It amiss ?
| >| >
| >| > <action path="/newCustomer" type="classe" scope="request"
| >| > name="customerForm" input="def.cadastro.identificacao"
| >| > parameter="method" validate="true"> ... </action>
| >| >
| >| > Thanks
| >| >
| >| >
| >| > _________________________________________________________________
| >| > Tenha você também um MSN Hotmail, o maior webmail do mundo:
| >| > http://www.hotmail.com/br
| >| >
| >| >
| >| > --
| >| > To unsubscribe, e-mail:
| >| > <ma...@jakarta.apache.org>
| >| > For additional commands, e-mail:
| >| > <ma...@jakarta.apache.org>
| >| >
| >| >
| >|
| >|
| >|
| >| --
| >| To unsubscribe, e-mail: <mailto:struts-user-
| >| unsubscribe@jakarta.apache.org>
| >| For additional commands, e-mail: <mailto:struts-user-
| >| help@jakarta.apache.org>
| >|
| >| ---
| >| Incoming mail is certified Virus Free.
| >| Checked by AVG anti-virus system (http://www.grisoft.com).
| >| Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
| >|
| >
| >---
| >Outgoing mail is certified Virus Free.
| >Checked by AVG anti-virus system (http://www.grisoft.com).
| >Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
| >
| >
| >
| >--
| >To unsubscribe, e-mail: <mailto:struts-user-
| unsubscribe@jakarta.apache.org>
| >For additional commands, e-mail: <mailto:struts-user-
| help@jakarta.apache.org>
| >
| >
| >
| >
|
|
|
| --
| To unsubscribe, e-mail: <mailto:struts-user-
| unsubscribe@jakarta.apache.org>
| For additional commands, e-mail: <mailto:struts-user-
| help@jakarta.apache.org>
|
| ---
| Incoming mail is certified Virus Free.
| Checked by AVG anti-virus system (http://www.grisoft.com).
| Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
|
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Validation with tiles
Posted by Cedric Dumoulin <ce...@apache.org>.
If you put params from actions, it can only be request parameters, set
with parameter="...". The tiles preferred way is to put tiles attributes
in the definition, and forward to this definition.
Cedric
Jacob Hookom wrote:
>What is the proper way of forwarding users, but with params from
>actions?
>
>Thanks,
>Jake
>
>| -----Original Message-----
>| From: Cedric Dumoulin [mailto:cedric@apache.org]
>| Sent: Monday, August 12, 2002 2:56 PM
>| To: Struts Users Mailing List
>| Subject: Re: Validation with tiles
>|
>|
>| Hi,
>|
>| Which version of Struts do you use (1.1 or 1.0.x) ? Your second
>| solution should works under Struts1.1 latest nightly build. If not,
>| please report a bug to bugzilla.
>|
>| Cedric
>|
>| Ricardo de Souza Moura wrote:
>|
>| > I would like to put in the input attribute a tile definition, but I
>| > don't get... There are any method to do this ?
>| >
>| > my solution...
>| >
>| > <action path="/aberturaCadastro"
>forward="def.cadastro.identificacao"/>
>| >
>| > <action path="/newCustomer" type="classe" scope="request"
>| > name="customerForm" input="/aberturaCadastro.do" parameter="method"
>| > validate="true"> ... </action>
>| >
>| >
>| > but I would like to do this. is It amiss ?
>| >
>| > <action path="/newCustomer" type="classe" scope="request"
>| > name="customerForm" input="def.cadastro.identificacao"
>| > parameter="method" validate="true"> ... </action>
>| >
>| > Thanks
>| >
>| >
>| > _________________________________________________________________
>| > Tenha você também um MSN Hotmail, o maior webmail do mundo:
>| > http://www.hotmail.com/br
>| >
>| >
>| > --
>| > To unsubscribe, e-mail:
>| > <ma...@jakarta.apache.org>
>| > For additional commands, e-mail:
>| > <ma...@jakarta.apache.org>
>| >
>| >
>|
>|
>|
>| --
>| To unsubscribe, e-mail: <mailto:struts-user-
>| unsubscribe@jakarta.apache.org>
>| For additional commands, e-mail: <mailto:struts-user-
>| help@jakarta.apache.org>
>|
>| ---
>| Incoming mail is certified Virus Free.
>| Checked by AVG anti-virus system (http://www.grisoft.com).
>| Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
>|
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
>
>
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Validation with tiles
Posted by Jacob Hookom <ho...@uwec.edu>.
What is the proper way of forwarding users, but with params from
actions?
Thanks,
Jake
| -----Original Message-----
| From: Cedric Dumoulin [mailto:cedric@apache.org]
| Sent: Monday, August 12, 2002 2:56 PM
| To: Struts Users Mailing List
| Subject: Re: Validation with tiles
|
|
| Hi,
|
| Which version of Struts do you use (1.1 or 1.0.x) ? Your second
| solution should works under Struts1.1 latest nightly build. If not,
| please report a bug to bugzilla.
|
| Cedric
|
| Ricardo de Souza Moura wrote:
|
| > I would like to put in the input attribute a tile definition, but I
| > don't get... There are any method to do this ?
| >
| > my solution...
| >
| > <action path="/aberturaCadastro"
forward="def.cadastro.identificacao"/>
| >
| > <action path="/newCustomer" type="classe" scope="request"
| > name="customerForm" input="/aberturaCadastro.do" parameter="method"
| > validate="true"> ... </action>
| >
| >
| > but I would like to do this. is It amiss ?
| >
| > <action path="/newCustomer" type="classe" scope="request"
| > name="customerForm" input="def.cadastro.identificacao"
| > parameter="method" validate="true"> ... </action>
| >
| > Thanks
| >
| >
| > _________________________________________________________________
| > Tenha você também um MSN Hotmail, o maior webmail do mundo:
| > http://www.hotmail.com/br
| >
| >
| > --
| > To unsubscribe, e-mail:
| > <ma...@jakarta.apache.org>
| > For additional commands, e-mail:
| > <ma...@jakarta.apache.org>
| >
| >
|
|
|
| --
| To unsubscribe, e-mail: <mailto:struts-user-
| unsubscribe@jakarta.apache.org>
| For additional commands, e-mail: <mailto:struts-user-
| help@jakarta.apache.org>
|
| ---
| Incoming mail is certified Virus Free.
| Checked by AVG anti-virus system (http://www.grisoft.com).
| Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
|
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Validation with tiles
Posted by Cedric Dumoulin <ce...@apache.org>.
Hi,
Which version of Struts do you use (1.1 or 1.0.x) ? Your second
solution should works under Struts1.1 latest nightly build. If not,
please report a bug to bugzilla.
Cedric
Ricardo de Souza Moura wrote:
> I would like to put in the input attribute a tile definition, but I
> don't get... There are any method to do this ?
>
> my solution...
>
> <action path="/aberturaCadastro" forward="def.cadastro.identificacao"/>
>
> <action path="/newCustomer" type="classe" scope="request"
> name="customerForm" input="/aberturaCadastro.do" parameter="method"
> validate="true"> ... </action>
>
>
> but I would like to do this. is It amiss ?
>
> <action path="/newCustomer" type="classe" scope="request"
> name="customerForm" input="def.cadastro.identificacao"
> parameter="method" validate="true"> ... </action>
>
> Thanks
>
>
> _________________________________________________________________
> Tenha você também um MSN Hotmail, o maior webmail do mundo:
> http://www.hotmail.com/br
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>