If you push something onto the stack, you won't find it with that name,
you'll then be able to access its properties transparently using the
property names in a findValue() call.

I'm not sure why you're getting a ClassCastException... Can you post a
stack trace?

Jason

> -----Original Message-----
> From: Daniel Pfeifer [mailto:[EMAIL PROTECTED] 
> Sent: Monday, October 27, 2003 11:22 AM
> To: '[EMAIL PROTECTED]'
> Subject: [OS-webwork] Impossible to put values to the value stack
> 
> 
> For some reason I am miserably failing to put a String on the 
> OgnlValueStack in an own tag (which extends WebWorkTagSupport).
> 
> I first tried it with getValueStack().setValue("disableControl",
> disableControlObject), but then I couldn't find 
> disableControl via findValue.
> 
> Now I try it via "push(disableControlObject)" but this causes 
> the RequestLifeCycleListener to throw a ClassCastException.
> 
> Any ideas?
> Thanks in advance,
> /Daniel
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: The SF.net Donation 
> Program. Do you like what SourceForge.net is doing for the 
> Open Source Community?  Make a contribution, and help us add 
> new features and functionality. Click here: 
> http://sourceforge.net/donate/ 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to