tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BugRat Mail System <tomcat-b...@cortexity.com>
Subject BugRat Report #804 has been filed.
Date Fri, 19 Jan 2001 07:39:59 GMT
Bug report #804 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com/BugRatViewer/ShowReport/804>

REPORT #804 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: serious
Confidence: public
Environment: 
   Release: 3.2 final release
   JVM Release: 1.2.2
   Operating System: Win NT
   OS Release: 4.0 ServPack 6
   Platform: Intel

Synopsis: 
java expression not translates in attribute value

Description:
<%@ taglib uri="/atl" prefix="atl" %>
<jsp:useBean id="PbPb" scope="session" 
  class="at.alcatel.gcca.beans.pinboard.PbPinboard" />

<html>

 <atl:Menu name="xxPinboard" type="at.alcatel.gcca.beans.pinboard.PbPinboardStructure"

      vector="<%=PbPb.getPinboards(\"chris\")%>">
       
  <atl:MenuLink text="<%= xxPinboard.PbName %>" link="<%=new String(\"Messages.jsp?pinboardId=\"+xxPinboard.PbId)%>"
/>

  <atl:MenuLink text="<%= xxPinboard.PbName %>" link="Messages.jsp?pinboardId=<%=
xxPinboard.PbId%>" />

 </atl:Menu>
</html>


In the above there are 2 MenuLink tags. The second one with 'link="Messages.jsp?pinboardId=<%=
xxPinboard.PbId%>"'
was the planed version, but it does not evaluate the xxPinboard.PbId.
If I write it as in the first version (with new String) it works, but it is unreadable.



Mime
View raw message