It's potentially confusing because, right now, a markup id is based on the untranslated component id and the underscore is used as a hierarchy separator. To use the underscore for this secondary purpose makes it more difficult to predict the markup id. Whether or not someone *should* be trying to predict markup id's is a different issue but, in general, I think a simple and predictable markup id generation scheme is preferable.

At Igor's request, I'll ask for a vote on this on the dev list.

-Ryan

On Sep 25, 2007, at 12:47 AM, Alex Objelean wrote:



Why would a developer be confused by something that is generated
automatically? Do you really care if the generated markup id is "quantity1"
or "quantity_1" or "quantity-1"? Whats the difference?


Ryan Holmes wrote:


The automatic transformation of certain characters by a framework is
exactly the kind of magic behavior that confuses users and therefore I
think the recommended "fix" is a bad idea.



--
View this message in context: http://www.nabble.com/-RFE-- getMarkupId%28%29-tf4493344.html#a12874680
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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]

Reply via email to