We discussed that about a year ago... The consensus was that the colon
was the best option. But with the advent of ajax frameworks, that
choice might be under reconsideration.

According to our investigation at that time, the colon is a valid
character inside ID attributes. That still hasn't changed:

http://www.w3.org/TR/html4/types.html#h-6.2

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 (".").

Martijn

On 7/21/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> is there a better seperator that can be used then?
>
> johan
>
>
>
> On 7/21/06, Martijn Dashorst <[EMAIL PROTECTED] > wrote:
> > The problem with using _ is that it doesn't separate the components
> > from property paths. You don't know where one component ends and the
> > other starts when someone uses _ in their Java name
> > (CompoundPropertyModels anyone)?
> >
> > Martijn
> >
> > On 7/20/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > > anyone have a problem with changing our default separator to _ instead
> of :
> > > so we dont have to do special things for ajax?
> > >
> > > the problem with : was that document.getelementbyid choked on it or
> > > prototype used : to denone something or some other such browser related
> > > crap.
> > >
> > > -Igor
> > >
> > >
> > >
> > > On 7/20/06, SourceForge.net < [EMAIL PROTECTED]> wrote:
> > > > Bugs item #1526061, was opened at 2006-07-20 19:25
> > > > Message generated for change (Tracker Item Submitted) made by Item
> > > Submitter
> > > > You can respond by visiting:
> > > >
> > >
> https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1526061&group_id=119783
> > > >
> > > > Please note that this message will contain a full copy of the comment
> > > thread,
> > > > including the initial issue submission, for this request,
> > > > not just the latest update.
> > > > Category: core
> > > > Group: None
> > > > Status: Open
> > > > Resolution: None
> > > > Priority: 5
> > > > Submitted By: Alastair Maw (almaw)
> > > > Assigned to: Nobody/Anonymous (nobody)
> > > > Summary: JavaScript and AJAX markup IDs conflict
> > > >
> > > > Initial Comment:
> > > > Form.getJavascriptId() returns getPageRelativePath();
> > > >
> > > > Component.getMarkupId() returns
> > > > getPageRelativePath().replace(':', '_');
> > > >
> > > > This means you can't do AJAX replaces, etc. on Form
> > > > elements.
> > > >
> > > > Form.getJavascriptId() should arguably just return
> > > > getMarkupId();
> > > >
> > > >
> > >
> ----------------------------------------------------------------------
> > > >
> > > > You can respond by visiting:
> > > >
> > >
> https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1526061&group_id=119783
> > > >
> > > >
> > >
> -------------------------------------------------------------------------
> > > > 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
> > > > Wicket-develop@lists.sourceforge.net
> > > >
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > > >
> > >
> > >
> > >
> -------------------------------------------------------------------------
> > > 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
> > > Wicket-develop@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > >
> > >
> > >
> >
> >
> > --
> > Download Wicket 1.2 now! Write Ajax applications without touching
> JavaScript!
> > -- http://wicketframework.org
> >
> >
> -------------------------------------------------------------------------
> > 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
> > Wicket-develop@lists.sourceforge.net
> >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> >
>
>
> -------------------------------------------------------------------------
> 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
> Wicket-develop@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
>
>
>


-- 
Download Wicket 1.2 now! Write Ajax applications without touching JavaScript!
-- http://wicketframework.org

-------------------------------------------------------------------------
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
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to