Re: [Wicket-user] creating a javascript "prompt" component

2006-08-23 Thread Hugo Visser
Okay, that could work, but in my case I'm not wrapping each led-sign element in a form. What I've come up with, after looking at the Link class, is registering a new IRequestListener, my PromptResultListener.Then, when rendering i get the url for the listener and append a parameter, like this: Stri

Re: [Wicket-user] creating a javascript "prompt" component

2006-08-21 Thread Martijn Dashorst
Probably the simplest way to go is to create a panel with a hidden field, or a textfield with style='display:none', and a label. the rest is left your javascript guru-ness. text comes here Martijn On 8/20/06, Hugo Visser <[EMAIL PROTECTED]> wrote: > Hi, > > I'm toying around with wicket some

[Wicket-user] creating a javascript "prompt" component

2006-08-20 Thread Hugo Visser
Hi,I'm toying around with wicket some more and I'm working on a kind of editor application for my led-sign which I have at home. Basically it allows you to select a font, color, effect and set some text. For the set text part of it I'd like it to be as simple as clicking on the text, popping up a _