Wicket and jQuery UI

2012-10-02 Thread Ronny.Voss
Hi Wicket I have been looking at a) wiQuery and b) wicket-jquery-ui What API to use when doing a bridge between Wicket and jQuery UI? Recommendations and experience would be very much welcomed. Thanks in advance! Best regards/Med venlig hilsen Ronny Voss Nordea Bank Danmark A/S Online

Re: Avoid panel's extra div

2012-10-02 Thread Alexander Morozov
Also take a look at tag https://cwiki.apache.org/WICKET/wickets-xhtml-tags.html . Oscar Besga Arcauz wrote Hi wickersI am using a lot of panels in my wicket webapp, with the usual    add(new MyPanel(myPanel));    But I was thinking if there is a wicket tag that can avoid using the extra

Re: Wicket+Spring Security the Wicket way

2012-10-02 Thread Alexander Morozov
Check out this open-source project http://www.jfrog.com/home/v_artifactory_opensource_source and look at security.xml file. It is good example how to integrate wicket and spring security. - -- http://www.linkedin.com/in/amorozov -- View this message in context:

Re: [Announce] wicket-dashboard

2012-10-02 Thread James Eliyezar
Managed to get the demo working. It's really elegant. Echoing the same feelings as Paul. It would be nice to split this up into relevant modules. While I was playing around with the code, I thought of creating a custom widget with just a data table. So I created the following classes: -

Re: [Announce] wicket-dashboard

2012-10-02 Thread Decebal Suiu
Hi Paul Thanks for the feedback. I will split the project in modules asap. In my mind are some problems related to modularity that cannot be resolved so easy: how can I inject some components (DashboardPersister, WidgetFactory, WidgetRegistry) in wicket-dashboard? Now these components are

Re: [Announce] wicket-dashboard

2012-10-02 Thread Decebal Suiu
Hi James I will improve the wiki with a new page Creating a custom widget. To create a custom widget is very simple. You must declare three components: - a TableWidgetDescriptor (implements WidgetDescriptor) that supplies information (meta data) about widget (display name, provider, description,

TabbedPanel with huge number of tabs

2012-10-02 Thread Dirk Wenke
Hello, I've searched the forum and the web for a solution, but I did not find anything. We are building a workbench-like application with wicket. The objects in our application are displayed in tabs, so we used the TabbedPanel for that. But if many tabs are opened, the tabs are displayed in

Re: Wicket and jQuery UI

2012-10-02 Thread Martin Grigorov
Hi, On Tue, Oct 2, 2012 at 9:28 AM, ronny.v...@consult.nordea.com wrote: Hi Wicket I have been looking at a) wiQuery and b) wicket-jquery-ui What API to use when doing a bridge between Wicket and jQuery UI? What exactly do you need ? The bridge is AbstractDefaultAjaxBehavior - the base

RE: Wicket and jQuery UI

2012-10-02 Thread Ronny.Voss
Hi I was not thinking about the base, ie AbstractDefaultAjaxBehavior. I was thinking about using one off the API - several components - could be accordion? could be some effects etc. So I was thinking about who has tried out both API's - has some experiences and suggest this API because bla

Re: TabbedPanel with huge number of tabs

2012-10-02 Thread Sven Meier
Hi Dirk, you can provide your own component to render the tabs, just override TabbedPanel#newTabsContainer(). This container can use a repeater for a row of tabs and some javascript popup/menu solution to make the other tabs accessible. Hope this helps Sven On 10/02/2012 11:12 AM, Dirk

Re: Wicket and jQuery UI

2012-10-02 Thread Pointbreak
It's a very long time ago that I looked at the API's, so it's likely things have changed since that time. But the problem I had with both products is that they are mostly component based API's (meaning they offer an Accordion component, Autocomplete component, etc.). Imho, a much more flexible

HTML validation

2012-10-02 Thread Lucio Crusca
Hello *, I'm new to wicket. I use NetBeans 7.2/Linux. I'm trying to follow some examples, but NB doesn't validate wicket HTML files. Now I could live without validating them. However the NetBeans editor highlights syntax errors and that's a desirable feature, but it becomes an annoyance if

Re: get new value of drop down inside vieworedit on onchange

2012-10-02 Thread vineet semwal
no you can't but if your use case is just to retain old value,you can retain it in a field ,you can even set the old value back or just write your own behavior that does that On Tue, Oct 2, 2012 at 2:08 PM, cosmindumy cosmind...@yahoo.com wrote: Another question, hope the last at this topic.

Migration 1.5 - 6 CancelEventIfNoAjaxDecorator

2012-10-02 Thread Marco Di Sabatino Di Diodoro
Hi all, how can I convert for Wicket 6.0: @Override protected IAjaxCallDecorator getAjaxCallDecorator () { return new CancelEventIfNoAjaxDecorator(AjaxDecoratedCheckbox.this.getAjaxCallDecorator()); } Regards M -- Dott. Marco Di Sabatino Di Diodoro Tel. +39 3939065570 Tirasa S.r.l. Viale

Re: Migration 1.5 - 6 CancelEventIfNoAjaxDecorator

2012-10-02 Thread Martin Grigorov
Hi Marco, Just remove this. It is the default in Wicket 6. To switch on/off: #updateAjaxAttributes(AjaxRequestAttributes attrs){ attrs.setAllowDefault(true|false); } On Tue, Oct 2, 2012 at 3:51 PM, Marco Di Sabatino Di Diodoro marco.disabat...@tirasa.net wrote: Hi all, how can I convert

Re: SessionStore

2012-10-02 Thread Martin Grigorov
org.apache.wicket.pageStore.memory.HttpSessionDataStore On Tue, Oct 2, 2012 at 3:49 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Hi Are there a memory only session store? I am seeing a lot of writes from tomcat, and wanted to see if using a different session store would help..

Re: HTML validation

2012-10-02 Thread Martin Grigorov
Hi, I use Intellij IDEA and here is what I did to suppress those errors: File - Settings - DTDs and Schemas - External DTDs and Schemas - Add button (+) - URI = http://wicket.apache.org , Location: /path/to/wicket-core.jar#META-INF/wicket-1.5.xsd Now you should find how to do this in Netbeans.

HighlightForm without consuming FeedbackMessages

2012-10-02 Thread Wolfgang
Hi everybody! I have made a subclass of org.apache.wicket.markup.html.form.Form with name HighlightForm The purpose of this class is to give all Fields a css class fieldError if validation failed for all FormComponents. But in a way that it's generic - so I can use this class as DropIn

Re: HighlightForm without consuming FeedbackMessages

2012-10-02 Thread Martin Grigorov
Hi, Try with latest 6.x. There were two related improvements: https://issues.apache.org/jira/browse/WICKET-4773 https://issues.apache.org/jira/browse/WICKET-4757 On Tue, Oct 2, 2012 at 4:07 PM, Wolfgang wicket-us...@woifal.at wrote: Hi everybody! I have made a subclass of

Re: Wicket and jQuery UI

2012-10-02 Thread Sébastien Gautrin
Hi Pointbreak, At least for wicket-jquery-ui, it offers also pure behaviours integration for jquery extensions that are pure behaviours (such as Droppable). I think wiQuery does as well. For ease of defining such things for you own component, it is the main goal of wicket-jquery-ui; take a

Re: get new value of drop down inside vieworedit on onchange

2012-10-02 Thread Sven Meier
overwrite AjaxFormComponentUpdatingBehavior#getUpdateModel() to return false, then update the model for yourself in #onUpdate(). Sven On 10/02/2012 02:47 PM, vineet semwal wrote: no you can't but if your use case is just to retain old value,you can retain it in a field ,you can even set the

Re: Appending to CSS url to prevent caching.

2012-10-02 Thread dickster
i tried using... getResourceSettings().setCachingStrategy(new FilenameWithVersionResourceCachingStrategy(new MessageDigestResourceVersion())); ...but not all of my urls are rewritten. the wiquery ones are but the one's i've added via... renderHead(response) {

Re: HTML validation

2012-10-02 Thread Lucio Crusca
In data martedì 2 ottobre 2012 15:01:28, Martin Grigorov ha scritto: Hi, I use Intellij IDEA and here is what I did to suppress those errors: File - Settings - DTDs and Schemas - External DTDs and Schemas - Add button (+) - URI = http://wicket.apache.org , Location:

Re: Wicket and jQuery UI

2012-10-02 Thread Pointbreak
But why not for tabs, accordion, slider, and other jquery components? That gives you much more flexibility in separating what a component logically does (e.g. render various sections of data, widgets, etc.), from how it is shown and interacted with in the browser (view as tabs, steps in a widget,

Re: Wicket and jQuery UI

2012-10-02 Thread Sebastien
Hi, I will provide an answer for wicket-jquery-ui and let people/users from wiQuery answer about this last. wicket-jquery-ui has several goals: the first one is to provide the jQuery UI widget library as Wicket components, for both wicket 1.5.x and wicket 6.x. The work has mainly been focused to

Re: SessionStore

2012-10-02 Thread nino martinez wael
Great wasnt sure if it were memory only.. 2012/10/2 Martin Grigorov mgrigo...@apache.org org.apache.wicket.pageStore.memory.HttpSessionDataStore On Tue, Oct 2, 2012 at 3:49 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Hi Are there a memory only session store? I am seeing

Re: [Announce] wicket-dashboard

2012-10-02 Thread Paul Szulc
If we dont want to add any specific DI implementation, and Dashboard depends on DashboardPersister, WidgetFactory, WidgetRegistry then I guess there are two ways we can do here: 1. constructor Dashboard constructor will take DashboardPersister, WidgetFactory, WidgetRegistry as parameters. Or we

Re: [Announce] wicket-dashboard

2012-10-02 Thread Martin Grigorov
Have you considered Wicket's IInitializer ? This notifies you when the app is about to start and gives you the Application instance. From here you just need to decide how to store and lookup the registry for the widgets in the app. On Tue, Oct 2, 2012 at 11:06 PM, Paul Szulc paul.sz...@gmail.com

Re: Appending to CSS url to prevent caching.

2012-10-02 Thread Martin Grigorov
On Tue, Oct 2, 2012 at 6:46 PM, dickster derek.i...@gmail.com wrote: i tried using... getResourceSettings().setCachingStrategy(new FilenameWithVersionResourceCachingStrategy(new MessageDigestResourceVersion())); ...but not all of my urls are rewritten. the wiquery ones are but the one's