Re: load properties file from extrnal path

2012-08-06 Thread oliver.stef
Thanks Martin and Sandor!! That was really helping!!! I did it both - changed the Init() and added an external folder. WORKS GREAT!! Thanks again. Oliver. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/load-properties-file-from-extrnal-path-tp4650944p4651007.html

Re: Update two fields with AjaxFormComponentUpdatingBehavior

2012-08-06 Thread Sandor Feher
Hi, Just for the archives the following do the trick. helyseg.add(new AjaxFormComponentUpdatingBehavior(onchange) { @Override protected void onUpdate(AjaxRequestTarget art) { try { int irszam =

Re: Repeating TextFields

2012-08-06 Thread vineet semwal
actually with quickview you can add/remove any number of items but i might have overread/misunderstood what martin is saying.. On Thu, Aug 2, 2012 at 12:37 PM, Martin Grigorov mgrigo...@apache.org wrote: On Thu, Aug 2, 2012 at 3:25 AM, Benjamin Heiskell ben.heisk...@gmail.com wrote: Hi, I

Re: Repeating TextFields

2012-08-06 Thread Martin Grigorov
On Mon, Aug 6, 2012 at 12:52 PM, vineet semwal vineetsemwa...@gmail.com wrote: actually with quickview you can add/remove any number of items but i might have overread/misunderstood what martin is saying.. Correct! I meant to add/remove just items without the need to repaint the parent of the

Re: Repeating TextFields

2012-08-06 Thread vineet semwal
quickview *can* add/remove any number of items without the need to repaint the parent of repeater,check the examples in the quickview ;) ,AjaxItemsNavigator and other new onscroll behaviors which i have added recently would not have been possible if quickview was not capable of that,they work like

Re: Repeating TextFields

2012-08-06 Thread vineet semwal
sorry i misread again :),i assumed you meant for more than one item the parent has to be repainted . On Mon, Aug 6, 2012 at 3:45 PM, vineet semwal vineetsemwa...@gmail.com wrote: quickview *can* add/remove any number of items without the need to repaint the parent of repeater,check the examples

ComponentNotFound exception question

2012-08-06 Thread Serban.Balamaci
Hi guys, I'm asking for an opinion on how to approach the following: Wicket 1.5.7, browser Chrome, Firefox. I have a FormTestPanel with TextField and AjaxFormComponentUpdatingBehavior attached: AjaxFormComponentUpdatingBehavior formUpdate = new AjaxFormComponentUpdatingBehavior(onblur)

Re: ComponentNotFound exception question

2012-08-06 Thread Martin Grigorov
Hi Serban, This problem happens because after typing something in the text field you click with the mouse on the button. This way the browser first fires 'click' event for the button and then 'blur' event for the text field. DROP doesn't help because this is part of its design. The first Ajax

Re: ComponentNotFound exception question

2012-08-06 Thread Serban.Balamaci
Thanks Martin, I think it will work as the delay need be small enough for the click event to enter the ajax queue after the blur so not much delay would be introduced. -- View this message in context:

Paste Behaviour

2012-08-06 Thread saschisch87
Hi, I´m trying to accomplish the following Behaviour. I have a tree of Textareas. each one of them is modifiable. When you click into one of them you can open a modal window where you can choose from predefined textblocks. on confirmation of the selected block it should be pasted where the

[1.5] AjaxFormComponentUpdatingBehavior and Cancel AjaxButton to reset form

2012-08-06 Thread heapifyman
Hello, I've been struggling for a while now with a problem that a Cancel AjaxButton (with setDefaultFormProcessing(false)) calling form.clearInput() would not reset my form to original values. The problem seems to be that I have AjaxFormComponentUpdatingBehavior (onchange event) for validation

What exactly is IWrapModel used for?

2012-08-06 Thread Matthias Keller
Hi I'm having some trouble porting a 1.4 application to 1.5 since we're using our own subclass of a StringResourceModel implementing load() in a special way. However, in some cases this does not work as our subclass might get wrapped in a AssignmentWrapper and since we do not provide the

Help migrating page mounts to 1.5

2012-08-06 Thread Emmanouil Batsis (Manos)
Hello, I've spent a couple of days migrating 1.4 code to compile with 1.5. The docs have been helpfull but I'm stuck and would appreciate if someone could point out what i am missing tryint ot migrate this: //- mount(new IndexedParamUrlCodingStrategy(/item,

Re: [1.5] AjaxFormComponentUpdatingBehavior and Cancel AjaxButton to reset form

2012-08-06 Thread Bertrand Guay-Paquet
Hi, form.clearInput() only clears the raw input (what is received in the current request) of the form components. That is, it doesn't modify the underlying models. With setDefaultFormProcessing(false), this means that your FormComponent models are not updated at all. The

Re: Paste Behaviour

2012-08-06 Thread Bertrand Guay-Paquet
Hi, How about: Attach a ajax onclick behavior to your TextAreas. This behavior opens the modalwindow and registers an onclose callback. In the callback: -update the model of the text area according to which textblock the user chose -add the TextArea to the ajax request for a refresh. On

Re: Help migrating page mounts to 1.5

2012-08-06 Thread Martin Grigorov
On Mon, Aug 6, 2012 at 7:52 PM, Emmanouil Batsis (Manos) ma...@abiss.gr wrote: Hello, I've spent a couple of days migrating 1.4 code to compile with 1.5. The docs have been helpfull but I'm stuck and would appreciate if someone could point out what i am missing tryint ot migrate this:

Re: What exactly is IWrapModel used for?

2012-08-06 Thread Sven Meier
Hi Matt, I don't know about your example but the following makes perfect sense: new Label(id, new StringResourceModel(foo)); This way the message is resolved relative to the label. If the StringResourceModel's constructor is given a component argument, it doesn't make sense to pass it to

MountedMapper and CryptoMapper

2012-08-06 Thread jchappelle
Currently I am using CryptoMapper for my application. It is installed in the init method of my application like this: setRootRequestMapper(new CryptoMapper(getRootRequestMapper(), this));. I need some of my pages to be bookmarkable with a url like /abc. I was able to accomplish this by doing this

Re: urgent-help.. how to click a specific tree node at the default

2012-08-06 Thread Sven Meier
Just override LinkTree#onNodeLinkClicked() Sven On 08/06/2012 02:57 AM, swwa...@tsmc.com wrote: Hello: I have seen this article. http://www.wicket-library.com/wicket-examples/ajax/ It only select the node but can't trigger the on-click event. Any one could help? Joan

Re: AutocompleteTextField and object (not just String)

2012-08-06 Thread Per
Hi Daniele, while I don't have the answer to your question, here's a recent blogpost about how we implemented a reusable wicket autocomplete field. We were not entirely satisfied by the solutions we found about a year ago, so we cooked our own. There might be better solutions by now, and it's not

Re: AutocompleteTextField and object (not just String)

2012-08-06 Thread Igor Vaynberg
probably easier to use https://github.com/ivaynberg/wicket-select2 which integrates http://ivaynberg.github.com/select2/ rather then writing your own from scratch... -igor On Mon, Aug 6, 2012 at 3:36 PM, Per p...@hamburg.de wrote: Hi Daniele, while I don't have the answer to your

Re: MountedMapper and CryptoMapper

2012-08-06 Thread Jesse Long
Hi Josh, On 06/08/2012 22:10, jchappelle wrote: Currently I am using CryptoMapper for my application. It is installed in the init method of my application like this: setRootRequestMapper(new CryptoMapper(getRootRequestMapper(), this));. I need some of my pages to be bookmarkable with a url like

contributing external javascript resources

2012-08-06 Thread mlabs
I have a page that renders a googleapi map in a wicket panel. Works great. I thought I would optimize things a bit by having the panel contribute the googleapi javascript reference to the header, instead of having it permanently referenced in the page header irrespective of whether the map panel