<2003-okt-27 kl 17:19 CET> <Error> <HTTP> <BEA-101020>
<[ServletContext(id=26962306,name=pan,context-path=/pan)] Servlet
 failed with Exception
java.lang.ClassCastException
        at
com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLi
fecycleFilter.java:53)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:6316)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
        at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3622)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2569)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>

Thats what I got as output after I started using
getValueStack().push(disableControl); (disableControl is an object of type
Boolean).

/Daniel

-----Original Message-----
From: Jason Carreira [mailto:[EMAIL PROTECTED]
Sent: den 27 oktober 2003 17:26
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] Impossible to put values to the value stack


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


-------------------------------------------------------
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