Dynamically adding components to RepeatingView

2008-09-01 Thread Sarkast
Hi there, I'm unable to find a good solution to dynamically add elements to a repeating view when an ajax call is coming in without reloading to whole repeating view. I would also like to add the component to a specific place in the repeating view, not at the end necessarily. Is that possible?

Sending Ajaxrequest only if enter is pressed in a textfield

2008-09-01 Thread Sarkast
Hello, I hope I'm not spamming this forum too much -.- I have a hard time finding viable solutions for seemingly easy questions. Currently I want a textfield which will send a request only if either enter is pressed or when the textfield looses focus. I have an AjaxEventBehaviour

AjaxEventBehaviour with request parameters?

2008-08-27 Thread Sarkast
Hello community, I have a small (I hope) problem. I am using an AjaxEventBehaviour('onclick') and would like to tell my onEvent method additional information, however, I don't have a request, like I do with an abstractajaxbehaviour. However an abstractajaxbehaviour doesn't have an 'onclick' as

Re: AjaxEventBehaviour with request parameters?

2008-08-27 Thread Sarkast
God, that's how I did it in my code with the AbstractAjaxBehaviour as well, must have misread it when I was looking at it... feel kind of stupid now :-/ Thanks! -- View this message in context: http://www.nabble.com/AjaxEventBehaviour-with-request-parameters--tp19178005p19178158.html Sent from

Javascript in onBeforeRender

2008-08-07 Thread Sarkast
Hello everyone, I have a small problem. I have a wicket component and the idea is that the programmer can add numerous messages to it and whenever the component is rendered some javascript is executed to iterate over the messages and displays them. I thought that I could simply override

Re: Javascript in onBeforeRender

2008-08-07 Thread Sarkast
Wow, that's simple. Wish I would have stumbled over this earlier, might have a couple more brain cells now. -- View this message in context: http://www.nabble.com/Javascript-in-onBeforeRender-tp18868357p18872322.html Sent from the Wicket - User mailing list archive at Nabble.com.

Javascript/Ajax in wicket, how to?

2008-06-09 Thread Sarkast
Hi there, Another basic(?) question. I have a small test application where I drag and drop square shaped divs around. With ajax I pick those shapes up, so to speak and drop those shapes, listening for onmousedown and onmouseup events, however I would also like to display the actual dragging. I

WicketTester in spring, question about springinjection

2008-04-25 Thread Sarkast
Hello there, I have a question which came up when trying to test my wicket pages. Currently a working implementation is the following in my test class: Creating an ApplicationContextMock, populating it with the beans, creating the WebApplication, injecting the context and initializing the

Re: WicketTester in spring, question about springinjection

2008-04-25 Thread Sarkast
Thanks, much more elegant then what I came up with. (novice programmer -.-) -- View this message in context: http://www.nabble.com/WicketTester-in-spring%2C-question-about-springinjection-tp16895558p16896956.html Sent from the Wicket - User mailing list archive at Nabble.com.