We ran into the same issue the other day using Tacos in generating XHTML compliant markup. Tapestry has a function for this: TapestryUtils.convertTapestryIdToNMToken.. So presumably any usage of the internal IDs in markup/javascript should utilize this.
viktor On 11/29/06, andyhot <[EMAIL PROTECTED]> wrote:
So, what's the contract for the generation of those? Here's what is allowed: http://www.htmlhelp.com/reference/html40/attrs.html and it includes hyphens ("-"), underscores ("_"), colons (":"), and periods (".") Problem is we also use them as javascript identifiers... See Autocompleter.script So, do they also have to be 'javascript safe'? Or change those scripts, perhaps using <let key="wId" unique="true">... ? -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
