tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Signorelli" <mario.signore...@pimm.it>
Subject RE: Tag Logic:equal
Date Mon, 05 May 2003 15:33:41 GMT
.......
                
                <html:form action="/integrazioni" >
 
 
                                <logic:iterate id="desc" name="integrazioni"  >
<ul><li>
<bean:write name="desc" property="descrizione" />
                                
<html:submit property="submit" value=" Rispondi "/>
 
<logic:iterate id="desc1" name="risposte" >
                                                                
<bean:define id="id1" name="desc" property="id"/> 
 
<logic:equal name="desc1" property="idpadre" value="<%=id1%>"/>
 
<ul><li><bean:write name="desc1" property="descrizione" /></li></ul>
 
</logic:equal>
</bean:define>                  
</logic:iterate> 
 
</li></ul>
</logic:iterate>
                                
<html:errors />
</html:form>
......
 
I have tried your trick but don't go , this above it's the error
 
org.apache.jasper.JasperException: Unable to compile class for JSP
 
An error occurred at line: -1 in the jsp file: null
 
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] C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\CFL\integrazioni_jsp.java:172:
cannot resolve symbol
    [javac] symbol  : method setValue (java.lang.Object)
    [javac] location: class org.apache.struts.taglib.logic.EqualTag
    [javac]                       _jspx_th_logic_equal_0.setValue(id1);
    [javac]                                             ^
    [javac] 1 error
 
 
have you another idea
 
thanks for all
________________
Mario Signorelli
PIMM S.R.L.
via Lampugnano, 144
20151 - Milano
Tel. - 02/48206371
Fax. - 02/48206437
 
      
 
-----Original Message-----
From: "Rodríguez Miguélez, Adolfo" [mailto:adolfor@mapfre.com] 
Sent: Monday, May 05, 2003 10:00 AM
To: Tag Libraries Users List
Subject: RE: Tag Logic:equal
 
Without too much tought:
 
<bean:define id="id1" name="bean1" property="property1"/>
<logic:equal name="bean2" property="property2" value="<%=id1%>"/>
 
The trick is <%=id1%> since you cannot embed 2 tags.
 
 
 
> -----Mensaje original-----
> De:    Mario Signorelli [SMTP:mario.signorelli@pimm.it]
> Enviado el:   viernes 2 de mayo de 2003 17:23
> Para: taglibs-user@jakarta.apache.org
> Asunto:         Tag   Logic:equal
> 
> <logic:iterate id="desc" name="integrazioni"  >
> <ul>
> <li>
> <bean:write name="desc" property="descrizione" />
>                      <html:submit property="submit" value=" Rispondi "/>
>                      <logic:iterate id="desc1" name="risposte"  >
>                                  <logic:equal name="desc1" property="idpadre"
> value="??">
>                                              <ul>
>                                              <li><bean:write name="desc1"
> property="descrizione" /></li>
>                                              </ul>
>                                  </logic:equal>
>                      </logic:iterate >
>          </li>
> </ul>
> </logic:iterate >
> 
> How i can compare with the tag logic:equal two value of two bean???
> 
> Some idea ??
> 
> Help me
> ________________
> Mario Signorelli
> PIMM S.R.L.
> via Lampugnano, 144
> 20151 - Milano
> Tel. - 02/48206371
> Fax. - 02/48206437
> 
>       
> 
 
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message