> -----Original Message-----
> From: Samuel Mota [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 26, 2003 11:02 AM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] Just two questions
> 
> 
> To fast questions ...
> 
> 1. How can I redirect to an action from another action?
> (explain: I don't want a chain ... my second action is 
> totally independent from the first one and the behavior is 
> configured directly at xwork.xml, but in a special case I 
> need to send a parameter to the second action (fast 
> parameter, is not the case to put it into the session nor use 
> dispacher instead redirect result type - I believe) ... is 
> that possible? Or is there another approach?

Use a redirect result with a parameterized location:

<result name="success" type="redirect">foo.vm?param=${myValue}</result>

> 
> 2. I'm using an unique view to display a list OR to display 
> details of a selected object ... how can I interact throught 
> the bean and the bean collection at my view? The bean tag 
> creates a new one, correct? (in time I'm using JSP view) This 
> one I know that I read somewhere but for now I can't find it ...

I'm not sure what you mean... Do you want to show the same information for either one 
or many?

If you're trying to decide which to show, you can use the <ww:if> tag to do 
conditional logic...

> 
> thanks
> 
> + Samuel G. Mota
> + [EMAIL PROTECTED]
> + 55 (11) 4417 7093
> + Business Application Dpt.
> + Netset Serviços em Tecnologia
> + a Hypercom Company
> + http://www.hypercom.com
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to