I like this idea.. :) In wicket 1.2.x branch, when markup id mirrored the component hierarchy, the generated DOM was huge due to long id names (page_body_panel_tab_form_component_quantity_unit)... I was very happy to see a change in 1.3.x branch. Minimizing it even more, seems to be a great idea.
Alex igor.vaynberg wrote: > > On 9/27/07, Ryan Holmes <[EMAIL PROTECTED]> wrote: >> >> I've always >> been comfortable with the idea that it's a user's responsibility not >> to use invalid HTML id characters in a component id since it's the >> user's choice to call setOutputMarkupId(true) and it's easy to >> understand how component id's relate to markup id's. > > > i think this is where the problem stems for you. markupid and componentid > are not really meant to be tightly coupled. the only contract on markupid > is > that it returns a unique id. for the most part we have been trying to > reuse > componentid in some shape or form because it makes debugging easier, but i > can totally see an optimization that is enabled in production mode where > markup ids are generated to minimize their length. "a2e", "ox", etc. > > -igor > > -- View this message in context: http://www.nabble.com/-VOTE--WICKET-995-tf4523748.html#a12936497 Sent from the Wicket - Dev mailing list archive at Nabble.com.