Re: rc2 issues [WAS]nested:hidden setValue deprecated in rc2?

2003-06-12 Thread Kris Schneider
I'm pretty sure your another.jsp should *not* include the "name" attribute on
the  tag. So it would just look like:


 ...


This allows the nested tags to pick up the current bean from parent.jsp. The
http://www.keyboardmonkey.com/ site ought to have more details...

Quoting Phillip Qin <[EMAIL PROTECTED]>:

> I actually have two issues for rc2. One is this type. Another one is
> 
> parentjsp:
> 
>   
>   
>   
> 
> 
> anotherjsp:
> 
>   <%-- .. --%>
> 
> 
> I will get "no getter method for nestOne.testProp of myparent". To solve
> it,
> I have use logic in parentjsp.
> 
> -Original Message-
> From: Kris Schneider [mailto:[EMAIL PROTECTED] 
> Sent: June 12, 2003 2:49 PM
> To: Struts Users Mailing List
> Subject: Re: nested:hidden setValue deprecated in rc2?
> 
> Try:
> 
> property="nextTxnDate"
>type="java.lang.String"/>
> 
> or:
> 
> value="<%= String.valueOf(hdate) %>"/>
> 
> Quoting Phillip Qin <[EMAIL PROTECTED]>:
> 
> > page.jsp:
> > 
> > 
> > 
> > 
> > I got following error when this page is loading:
> > 
> > [ServletException in:/page.jsp] Unable to compile class for JSP An error
> > occurred at line: 63 in the jsp file: /page.jsp Generated servlet error:
> > [javac] Since fork is true, ignoring compiler setting. [javac] Compiling
> 1
> > source file [javac] Since fork is true, ignoring compiler setting.
> [javac]
> >
> /usr/local/jakarta-tomcat-4.1.24/work/Standalone/myhost.com/myapp/page_jsp.j
> > ava:296: cannot resolve symbol [javac] symbol : method setValue
> > (java.lang.Object) [javac] location: class
> > org.apache.struts.taglib.nested.html.NestedHiddenTag [javac]
> > _jspx_th_nested_hidden_0.setValue( hamount ); [javac] ^ [javac] Note:
> >
> /usr/local/jakarta-tomcat-4.1.24/work/Standalone/myhost.com/myapp/page_jsp.j
> > ava uses or overrides a deprecated API. [javac] Note: Recompile with
> > -deprecation for details. [javac] 1 error '
> > 
> > 
> > 
> > Regards,
> > 
> >  
> >  
> > PQ
> > 
> > "The difference between 'involvement' and 'commitment'
> > is like an eggs-and-ham breakfast: the chicken was
> > 'involved' - the pig was 'committed'."
> > 
> > 
> 
> 
> -- 
> Kris Schneider 
> D.O.Tech   
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-- 
Kris Schneider 
D.O.Tech   

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



rc2 issues [WAS]nested:hidden setValue deprecated in rc2?

2003-06-12 Thread Phillip Qin
I actually have two issues for rc2. One is this type. Another one is

parentjsp:






anotherjsp:

<%-- .. --%>


I will get "no getter method for nestOne.testProp of myparent". To solve it,
I have use logic in parentjsp.

-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED] 
Sent: June 12, 2003 2:49 PM
To: Struts Users Mailing List
Subject: Re: nested:hidden setValue deprecated in rc2?

Try:



or:



Quoting Phillip Qin <[EMAIL PROTECTED]>:

> page.jsp:
> 
> 
> 
> 
> I got following error when this page is loading:
> 
> [ServletException in:/page.jsp] Unable to compile class for JSP An error
> occurred at line: 63 in the jsp file: /page.jsp Generated servlet error:
> [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1
> source file [javac] Since fork is true, ignoring compiler setting. [javac]
>
/usr/local/jakarta-tomcat-4.1.24/work/Standalone/myhost.com/myapp/page_jsp.j
> ava:296: cannot resolve symbol [javac] symbol : method setValue
> (java.lang.Object) [javac] location: class
> org.apache.struts.taglib.nested.html.NestedHiddenTag [javac]
> _jspx_th_nested_hidden_0.setValue( hamount ); [javac] ^ [javac] Note:
>
/usr/local/jakarta-tomcat-4.1.24/work/Standalone/myhost.com/myapp/page_jsp.j
> ava uses or overrides a deprecated API. [javac] Note: Recompile with
> -deprecation for details. [javac] 1 error '
> 
> 
> 
> Regards,
> 
>  
>  
> PQ
> 
> "The difference between 'involvement' and 'commitment'
> is like an eggs-and-ham breakfast: the chicken was
> 'involved' - the pig was 'committed'."
> 
> 


-- 
Kris Schneider 
D.O.Tech   

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]