You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Mircea Zahan <mz...@level7.ro> on 2001/10/12 21:28:38 UTC

Can't find in context what I placed in an action

Hello.

This might be trivial to some, but I'm developing a comercial app
and I'm running out of time. So, don't hit me :o)

In the doPerform(RunData, Context) method of an action I place a value
in the context. After this I setup the screen template (in the same action).
In that template I'm trying to use the value placed earlier, but it's missing.

What's the catch?

Thanx a lot,
Mircea.


Re: Can't find in context what I placed in an action

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 10/12/01 3:40 PM, "Mircea Zahan" <mz...@level7.ro> wrote:

> Since the context is used in templates, I've been thinking it's a
> Velocity related question.

Yes, except us non-Turbine velociteers don't have a clue how the context is
managed in a turbine app...

 
> I'll ask there, thank you.
> 
> 
> 
> ----- Original Message -----
> From: "Dan Bachelder" <ch...@chowda.net>
> To: <ve...@jakarta.apache.org>
> Sent: Friday, October 12, 2001 10:33 PM
> Subject: Re: Can't find in context what I placed in an action
> 
> 
>> turbine questions get answered faster in the turbine-user@jakarta.apache.org
>> list...
>> 
>> 
>> ----- Original Message -----
>> From: "Mircea Zahan" <mz...@level7.ro>
>> To: "Velocity Mailing List" <ve...@jakarta.apache.org>
>> Sent: Friday, October 12, 2001 3:28 PM
>> Subject: Can't find in context what I placed in an action
>> 
>> 
>>> Hello.
>>> 
>>> This might be trivial to some, but I'm developing a comercial app
>>> and I'm running out of time. So, don't hit me :o)
>>> 
>>> In the doPerform(RunData, Context) method of an action I place a value
>>> in the context. After this I setup the screen template (in the same
>> action).
>>> In that template I'm trying to use the value placed earlier, but it's
>> missing.
>>> 
>>> What's the catch?
>>> 
>>> Thanx a lot,
>>> Mircea.
>>> 
>>> 
> 

-- 
Geir Magnusson Jr.     geirm@optonline.net
System and Software Consulting
"They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety." - Benjamin Franklin



Re: Can't find in context what I placed in an action

Posted by Mircea Zahan <mz...@level7.ro>.
Since the context is used in templates, I've been thinking it's a
Velocity related question.

I'll ask there, thank you.



----- Original Message ----- 
From: "Dan Bachelder" <ch...@chowda.net>
To: <ve...@jakarta.apache.org>
Sent: Friday, October 12, 2001 10:33 PM
Subject: Re: Can't find in context what I placed in an action


> turbine questions get answered faster in the turbine-user@jakarta.apache.org
> list...
> 
> 
> ----- Original Message -----
> From: "Mircea Zahan" <mz...@level7.ro>
> To: "Velocity Mailing List" <ve...@jakarta.apache.org>
> Sent: Friday, October 12, 2001 3:28 PM
> Subject: Can't find in context what I placed in an action
> 
> 
> > Hello.
> >
> > This might be trivial to some, but I'm developing a comercial app
> > and I'm running out of time. So, don't hit me :o)
> >
> > In the doPerform(RunData, Context) method of an action I place a value
> > in the context. After this I setup the screen template (in the same
> action).
> > In that template I'm trying to use the value placed earlier, but it's
> missing.
> >
> > What's the catch?
> >
> > Thanx a lot,
> > Mircea.
> >
> >


Re: Can't find in context what I placed in an action

Posted by Dan Bachelder <ch...@chowda.net>.
turbine questions get answered faster in the turbine-user@jakarta.apache.org
list...


----- Original Message -----
From: "Mircea Zahan" <mz...@level7.ro>
To: "Velocity Mailing List" <ve...@jakarta.apache.org>
Sent: Friday, October 12, 2001 3:28 PM
Subject: Can't find in context what I placed in an action


> Hello.
>
> This might be trivial to some, but I'm developing a comercial app
> and I'm running out of time. So, don't hit me :o)
>
> In the doPerform(RunData, Context) method of an action I place a value
> in the context. After this I setup the screen template (in the same
action).
> In that template I'm trying to use the value placed earlier, but it's
missing.
>
> What's the catch?
>
> Thanx a lot,
> Mircea.
>
>


Re: Can't find in context what I placed in an action

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 10/12/01 3:28 PM, "Mircea Zahan" <mz...@level7.ro> wrote:

> Hello.
> 
> This might be trivial to some, but I'm developing a comercial app
> and I'm running out of time. So, don't hit me :o)

Ok.  If it wasn't a commercial app, or you weren't running out of time, I
guess we would have to hit you.  But since you have both problems, you get a
pass this time.

> 
> In the doPerform(RunData, Context) method of an action I place a value
> in the context. After this I setup the screen template (in the same action).
> In that template I'm trying to use the value placed earlier, but it's missing.
> 
> What's the catch?

You may get luck here on the Velocity list, but your best bet is to post to
the Turbine list, as this is a Turbine issue.

-- 
Geir Magnusson Jr.                       geirm@optonline.net
System and Software Consulting
You're going to end up getting pissed at your software
anyway, so you might as well not pay for it. Try Open Source.