I am making heavy use of <logic:present> tags in my page.
Unfortunately, I have a major beef with them. I am receiving this
error:
Struts Error: Cannot find bean lastVitalSigns in scope null
Stack Trace:
javax.servlet.jsp.JspException: Cannot find bean lastVitalSigns in
scope null
at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:493)
at org.apache.struts.taglib.logic.PresentTag.condition(PresentTag.java:138)
at org.apache.struts.taglib.logic.PresentTag.condition(PresentTag.java:99)
at
org.apache.struts.taglib.logic.ConditionalTagBase.doStartTag(ConditionalTagBase.java:218)
at
jrun__reports__includes___vitalsigns2ejsp21._jspService(jrun__reports__includes___vitalsigns2ejsp21.java:396)
at allaire.jrun.jsp.HttpJSPServlet.service(../jsp/HttpJSPServlet.java:40)
at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1013)
at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:925)
at
allaire.jrun.servlet.JRunNamedDispatcher.forward(../servlet/JRunNamedDispatcher.java:34)
at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:175)
at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1013)
at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:925)
As you can see, this is going through the PresentTag class and into
RequestUtils. OF COURSE it doesn't exist. The purpose of me using
this tag is because I have conditional content that will display
depending upon whether or not the bean exists. Why would it throw this
exception instead of just NOT displaying the content of the tag? Any
ideas or other ways I can do this?
Thanks,
Jeremy
--
Jeremy Haile
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>