Re: Getting warn message in log file while using tabs functionlaity in wicket

2012-11-09 Thread Sven Meier
Do what the log message recommends to do: Don't call getString() in your constructor. Note that there are several other causes why a string might be retrieved from the localizer prematurely, e.g. when calling StringResourceModel#getString(). Hope this helps Sven On 11/09/2012 07:02 AM,

Re: Updating datatable ajax

2012-11-09 Thread Sven Meier
Why do you want to recreated the dataTable? Sven -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Updating-datatable-ajax-tp4653734p4653741.html Sent from the Users forum mailing list archive at Nabble.com.

Wicket Selectable Tree

2012-11-09 Thread void
Hi, I implemented a tree component similar to the SelectableFolderContent example (http://www.wicket-library.com/wicket-examples-6.0.x/tree/wicket/bookmarkable/org.apache.wicket.examples.tree.NestedTreePage). It works fine as long as the nodes do have unique names. If thehe is more then one

Re: Wicket Selectable Tree

2012-11-09 Thread Sven Meier
What is the generic parameter of your ITreeProvider ? Sven v...@gmx.it schrieb: Hi, I implemented a tree component similar to the SelectableFolderContent example (http://www.wicket-library.com/wicket-examples-6.0.x/tree/wicket/bookmarkable/org.apache.wicket.examples.tree.NestedTreePage).

Re: Updating datatable ajax

2012-11-09 Thread Sven Meier
Normally you just add the table to the ART an when it regenerates its HTML it will use new data from your data provider. Sven anton antoniovalenciasp...@hotmail.com schrieb: depending on what you specify in the text appear one row or other. replaceWith,does not work -- View this message in

Wicket Selectable Tree

2012-11-09 Thread void
It's a custom Node class, pretty similar to Foo in the example. I resolved this by adding a second attribute name to Node. name is returned by Node.toString() for display. The id attribute is set to hierarchy1.hierarchy2.name. So the id is unique: Selection works as expected. Regards Oliver

need advice for wicket-plugin's implementation

2012-11-09 Thread Decebal Suiu
Hi I'm working to first version of wicket-plugin. I encounter some problems. In few words I implemented a PluginManagerInitializer that create a PluginManager, load and start the plugins from a directory and store the plugin manager to application using wicket meta data. Each plugin is loaded

Re: need advice for wicket-plugin's implementation

2012-11-09 Thread Decebal Suiu
Hi I will abort the solution with ResourceReference. I will try to use a IRequestMapper (PluginResourceMapper) for each started plugin (if request url is ./plugin/plugin-name/...). The mapRequest() method will return a ResourceRequestHandler (PluginResourceRequestHandler) that returns a

migration to wicket 6

2012-11-09 Thread saty
old wicket code has this everywhere in my app some textField .add new AjaxEventBehavior(onkeypress) { . . protected CharSequence getCallbackScript(boolean onlyTargetActivePage) { } . . } could someone point me to an example how this can be done in wicket 6. Looking to migrate

Re: migration to wicket 6

2012-11-09 Thread Sven Meier
I'm not sure what you're doing in #getCallbackScript() but have you read this? https://cwiki.apache.org/WICKET/wicket-ajax.html#WicketAjax-AjaxRequestAttributes Sven On 11/09/2012 09:25 PM, saty wrote: old wicket code has this everywhere in my app some textField .add new

Re: migration to wicket 6

2012-11-09 Thread Martin Grigorov
Read about dynamic extra parameters in the link that Sven gave you earlier. On Fri, Nov 9, 2012 at 11:05 PM, saty satya...@gmail.com wrote: Thanks, its pretty much doing something similar to this example