> Surrounding it with dollar signs should make the template code
> editable in an existing javascript IDE, right?

I would suggest Craig's other choice of @@ instead of $.  This would
eliminate any potential confusion about whether the $ is related to an
EL expression.

> As for the dataTable issues, I would say that that would just have to
> be a limitation of the tag.  If you can't assign an id to the
> UIComponent within the same namingcontainer as your <x:script>, then
> you just can't use it.  In this case, you would have to include your
> javascript within a custom component that is not reliant on an id.

I think this answers one of the questions I just asked.  You will only
be able to use this if the javascript is in the same naming container
as your component.  I guess this means that you cannot have your
javascript in a separate page from your component then (ex.
scripts/foo.js) unless you do a static include ...

As for the UIData issue, perhaps this could be solved by approach #2?

sean

Reply via email to