This is a little frustrating!  Any help would be appreciated.
 
Following code works in Tomcat & Sun One 7 Appserver but not in WLS 8.1.
 
 
<bean:write name="SomeFormBean" property="someProperty" scope="session"/>
<bean:define name="SomeFormBean" id="propertyThatCausesProblems" 
type="java.lang.String" property="someProperty" scope="session" toScope="page" />
<logic:equal name="SomeOtherBean" property="someOtherProperty" 
value="<%=propertyThatCausesProblems%>">
...
</logic:equal>

 
The first line works in all environments and demonstrates that the form bean is there 
and that the property is not null.  (No problem here)
The next line, I define a page scoped variable (I have tried omitting the toSocpe 
attribute all togeather as well).  No errors are generated from this line.
 
An error gets generated from the third line.  The error message explains that the 
"propertyThatCausesProblems" is not defined.
 
If I sneek a line between lines two and three which defines a string named 
"propertyThatCausesProblems", the problem goes away.
 
I am not sure what to do here.  It seem as though the bean:define tag does not every 
create a variable (Only when deployed on WLS 8.1).
 
Any ideas?
 
Regards,
 
Joshua
 
 
 

Reply via email to