Re: Markup Rendering issues

2008-03-07 Thread Jörn Zaefferer
On Wed, Mar 5, 2008 at 5:01 PM, Erik van Oosten [EMAIL PROTECTED] wrote: Hi Jörn, -- Ids This one of the exceptions in just taking existing HTML. Our designers also use jquery and solved the problem by using classes. Something like: class=idCommentForm. For jquery it doesn't matter much,

Markup Rendering issues

2008-03-05 Thread Jörn Zaefferer
Hi, I've got a few rendering issues with wicket: I'd like to use IDs to select elements via jQuery on the clientside, eg. a form with wicket:id=commentForm should also have id=commentForm. Wicket generates id=commentForm4 or id=commentForm5 - I've got no idea where that number comes from.

Re: Markup Rendering issues

2008-03-05 Thread richardwilko
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Markup-Rendering-issues-tp15852773p15853077.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Markup Rendering issues

2008-03-05 Thread Erik van Oosten
Hi Jörn, -- Ids This one of the exceptions in just taking existing HTML. Our designers also use jquery and solved the problem by using classes. Something like: class=idCommentForm. For jquery it doesn't matter much, and by including id in the class name the intend is still clear. -- Wicket

Re: Markup Rendering issues

2008-03-05 Thread Gin Yeah
-- Wicket tags This is all time high FAQ :) Do getMarkupSettings().setStripWicketTags(true) in the init() of your application class. (I still wonder why it is not the default.) Don't explicitly turn off wicket tag, unless you have real good reason to. This setting is automatically determined by

Re: Markup Rendering issues

2008-03-05 Thread Erik van Oosten
Hi Gin, I understand the reasoning. I have just never ever had any use for this debugging feature. Oh, well. It is only one line of code ;) Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ Gin Yeah wrote: -- Wicket tags This is all time high FAQ :) Do