Key Enter on Form Does not work on IE8

2012-01-22 Thread Krishna Mohan
I have a form and few panels in it. In panel 'A' i have search button , panle 'A' consist of set of other panels 'B'. panel 'B' has few fields for example field 'F' Each panel is implemented in sepearate java class I have requirement wherein after entering text in the field 'F' on press of "E

Execute Javascript after components of a certain type render

2012-01-22 Thread Alec Swan
Hello, What is the best way to execute some Javascript code when components of type IMyPanel render? I was hoping that I could use Application#addPostComponentOnBeforeRenderListener(..) and add a listener that would add a behavior to each component of IMyPanel type. The behavior would then execut

Re: AJAX Rating extension, multiple on a page

2012-01-22 Thread armhold
Just to be clear in case it wasn't obvious- thingBeingRated will be serialized with the rest of your page if you take this approach. If it's not serializable, use a reference (like a database ID) to look it up when needed, instead of marking the object itself as final. -- View this message in con

Re: AJAX Rating extension, multiple on a page

2012-01-22 Thread armhold
I've not used this component before, so take this with a grain of salt. But if you're overriding the RatingPanel.onRating(), you implicitly have access to the RatingPanel via "this". You can access it in the onRating() method, as well as any other accessible member/final field. So you could do so

Re: AJAX Error in parsing: XML Parsing Error: not well-formed @L

2012-01-22 Thread Alec Swan
The following workaround works but violates encapsulation. Why doesn't AjaxRequestTarget.AjaxHeaderResponse class escape special XML characters? public void renderHead(IHeaderResponse response) { String scriptToRender = "if (1 == 1 && true) alert('Hello!')"; if (scriptToRender != n

Re: Nested Modal Window Problem - IE8 - 404 Error

2012-01-22 Thread ashindler
Thanks for you reply - I cleared the cache and I still get the same error. Any other suggestions? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Nested-Modal-Window-Problem-IE8-404-Error-tp4311638p4318507.html Sent from the Users forum mailing list archive at Nabble.