Title: Nachricht

Will this work though if you are chaining actions? 

 

Skip Walker

[EMAIL PROTECTED]

Gossamer Group

Bldg #2, Suite 410

4807 Spicewood Springs Rd.

Austin, TX  78759

(512) 342-2600  Fax (512) 342-2612

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans Prueller
Sent: Tuesday, January 06, 2004 4:07 AM
To: [EMAIL PROTECTED]
Subject: AW: [OS-webwork] Adding values from action into Velocity Context for VelocityResult

 

it should work creating a getter within the action, say

 

public String getMyMessage();

 

then you should have $myMessage available on the velocity context value stack. i'm not sure if thats

the right way to to this but it should work.

 

hans

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Skip Walker
Gesendet: Montag, 05. Jänner 2004 21:40
An: [EMAIL PROTECTED]
Betreff: [OS-webwork] Adding values from action into Velocity Context for VelocityResult

 

If I have some value, say a confirmation number or some other type of message, that is created in an action, how can I get this value placed into the velocity context that will be used to render the result in the VelocityResult?  What is the suggested best practice for this? 

 

Do I simply add the value to the ValueStack, like the following:

 

setValue(“mymessage”, msg);

 

?

 

Thanks

 

 

Skip Walker

[EMAIL PROTECTED]

Gossamer Group

Bldg #2, Suite 410

4807 Spicewood Springs Rd.

Austin, TX  78759

(512) 342-2600  Fax (512) 342-2612

 

 

Ikarus GuardNT hat dieses eMail auf Viren und Trojaner untersucht.
Nichts Verdächtiges gefunden.

keine Anlagen gefunden
-------------------------------------------------------

Ikarus GuardNT hat dieses eMail auf Viren und Trojaner untersucht.
Nichts Verdächtiges gefunden.

keine Anlagen gefunden
-------------------------------------------------------

Reply via email to