struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "王曾wang_zeng" <wangzengveryc...@gmail.com>
Subject Re: struts and javascript
Date Fri, 14 Apr 2006 08:18:00 GMT
<html:select name="Form1" property="typeselected"
onchange='showPopup("<html:rewrite action="/PrepareSchedule.do"/>");'>

this is wrong. because as far as I know, a struts tag's atrribute sholud not
be filled with mixed stuff by jsp codes and plain text.

if you write this way:
<html:select name="Form1" property="typeselected"
onchange="<html:rewrite action="/PrepareSchedule.do"/>" >

I guess  the error won't occur.

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