I don't think periods will work in IDs, surely?
They'd interfere with CSS syntax - would:
#foo.bar { }
...refer to an element with id="foo.bar" or an element with id="foo" and
class="bar" ?
Hyphens probably aren't usable either. You can't use hyphens in your
class/field names, but I guess people might be using them in their
wicket:ids already.
So how about using multiple chars for the separator? "-_-" or something,
and String#split() on that?
Al
Eelco Hillenius wrote:
> Yes, and also about a year ago we switched to _ for outputting as we
> had actual experience with javascript troubles. : is not a useable for
> external purposes.
> On 7/21/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
>> ID and NAME tokens must begin with a letter ([A-Za-z]) and may be
>> followed by any number of letters, digits ([0-9]), hyphens ("-"),
>> underscores ("_"), colons (":"), and periods (".").
>> On 7/21/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
>>> is there a better seperator that can be used then?
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop