You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2005/08/05 03:34:54 UTC
DO NOT REPLY [Bug 36034] New: -
Unsure struts issue
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36034>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36034
Summary: Unsure struts issue
Product: Struts
Version: 1.1 Final
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: Custom Tags
AssignedTo: dev@struts.apache.org
ReportedBy: gaisanshi@hotmail.com
Hi,
We have an issue when we use the struts tag [select] and nested jsp expression.
The jsp source code looks like the following
Pay attention to the jsp expression
*****************************************
<html:select property='mySelectProperty' onchange='jsMethod("<%
=jspExpress=>")'>
<html:options collection="myCollection" property="myProperty"
labelProperty="myPropertyName" />
</html:select>
*****************************************
The issue is that the html source result from server side looks like
*****************************************
<select onchange='jsMethod("<%=jspExpress=>")'>
<option>...</option>
<option>...</option>
</select>
*****************************************
Yes. The jsp expression is not translated to its value.
But when we replace the onchange method as
onchange='<%="jsMethod('" + jspExpress + "')"=>'
It can be translated.
We are not sure whether the select tag format is correct.
Can you help us or give us some suggestion?
Thanks
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org