where are you running this script.
this can only be run on the non UI side
to my knowledge JS is not supported on that side.
component://common/widget/CommonScreens.xml#states
can not be called on a rendered page.

=========================
BJ Freeman
Strategic Power Office with Supplier Automation  
<http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
S.Hage sent the following on 2/6/2011 6:57 PM:


when I us this
${screens.render("component://common/widget/CommonScreens.xml#states")}; in
javascript function I got this error:

Error: missing ; before statement
Source File: https://localhost:8443/cccc/control/MyNewCustomer
Line: 1771, Column: 5
Source Code:
     <option value='IT-AG'>Agrigento</option>


Any idea?

thanks

Reply via email to