[Opensource] referencing properties in the jsp (4.0.2
upgrade to 5.0.3RC5) que stion
Michael Rimov
rimovm at centercomp.com
Tue Oct 28 06:15:21 PST 2003
At 09:50 PM 10/27/2003, you wrote:
>controller/ state set the output
>response.addOutput(new Output("domainprefix", domain));
>
>in the jsp - defined a String
><logic:present property="domainprefix">
> <bean:define id="domainprefix" property="domainprefix"
> type="java.lang.String"/>
></logic:present>
Eddie, that code looks good. Can you add: &style=xml&xsl=NONE to the URL
and see if for sure the controller response really does include the
'domainprefix' output? [Which I can't see why it won't].
Since DBMaint uses code like you described all the time, I can't see
anything else going on there.
Any chance you could drop a breakpoint on:
com.jcorporate.expresso.ext.struts.taglib.bean.ExDefine tag line 139 to see
what's going on in there? The fact that bean:write works and bean:define
doesn't is really strange, and may be a Struts 1.1 migration bug.
-Mike
NOTE <bean:write property="domainprefix" /> does work
>
>have gone through the compiled jsp code and it looks like the property
>should be set ok.
>Has anybody else had this problem.
>
More information about the Opensource
mailing list