struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Loschen" <Chris.Losc...@Siebel.com>
Subject Combining html:image and bean:define
Date Tue, 03 May 2005 20:13:10 GMT
Hi all,

I'm using Struts 1.1, and just received from another team updates to a
JSP page that look like this:

<bean:define id="nodeid" name="hierarchyTreeForm" property="nodeId" />
<bean:define id="requestPath" value="<%=request.getContextPath()%>" />
<html:image pageKey="image.common.button.cancel"
titleKey="jsp.hierarchy.bs_detailsJsp.details.cancel_title"
onclick="return
doAction('<%=requestPath%>/hierarchy/business/main_edit.do?nodeId=<%=nod
eid%>','')"
/>

However, these aren't working -- in the source of the generated HTML,
the JSP tags are not getting converted to the appropriate scripting
variable and are just getting rendered as-is. I checked and the defined
beans are fine, just not when they're used inside the html:image tag.

I gather than I cannot combine JSP tags and Struts tags, but I don't see
how I can avoid it in this situation: we need the localization elements,
and we also need the specific variables. There has got to be a way
around this -- any suggestions?

Thanks!

Chris Loschen


_______________
Siebel
IT'S ALL ABOUT THE CUSTOMER
Visit www.siebel.com

This e-mail message is for the sole use of the intended recipient(s) and contains confidential
and/or privileged information belonging to Siebel Systems, Inc. or its customers or partners.
Any unauthorized review, use, copying, disclosure or distribution of this message is strictly
prohibited. If you are not an intended recipient of this message, please contact the sender
by reply e-mail and destroy all soft and hard copies of the message and any attachments. Thank
you for your cooperation.

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