On 5/14/2012 13:36, Guilherme Scomparim wrote:
Hi All,

   I am trying to call  javascript from a hyperlink. Like in the
example. from an swp:Element

<a onClick="swa.loadWithResource('form', 'resource', domain)">{=
ui:label(?domain) }</a>

I am getting an error that says Undefined SWP property onClick

Any tips on how to fix it?

Sure: use onclick (lower case). Internally those are mapped to the properties from the html: namespace (SWP vocabulary).

Regards,
Holger

--
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to