onchange="'sendCommand(this.forum, "load")'"
Otherwise it tries to find it on the valuestack. Same reason that you escaped "'Country'".
Cheers,
Scott
Manuel Alzola wrote:
Hello. I have a problem with the <ui:select> tag. I need to execute some javascript code when selection changes. I have figured out that the attribute onchange is a placeholder for the function. The page compiles without errors but doesn´t emit the code in the page. Here is the piece of code in the page:
<ui:select label="'Country'" name="'country'" list="@contriesList/countries"
listKey="'code'" listValue="'name'"
onchange="sendCommand(this.form,'load')"/>
Any idea?
Thanks in advance
Manuel Alzola
-- ATLASSIAN - http://www.atlassian.com Expert J2EE Software, Services and Support ------------------------------------------------------- Need a simple, powerful way to track and manage issues? Try JIRA - http://www.atlassian.com/software/jira
------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en _______________________________________________ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user