Re: how to use wicket6 write jquery

2013-02-28 Thread Martin Grigorov
Hi, Wicket 6 uses jQuery for its internals. As a consequence jQuery is available for the user code for free. But that's all. Wicket doesn't provide any APIs to write JavaScript/jQuery in Java. jQuery integration libraries like Wiquery provide such APIs. Take a look at their documentation (see JsSt

Re: ToolTips with Panel

2013-02-28 Thread Martin Grigorov
Hi, Yes, instead of using "click" event use "mouseover" (or 'mouseenter' if it is available for you). On Thu, Feb 28, 2013 at 12:30 AM, Antonio muñoz alonso < antoniovalenciasp...@hotmail.com> wrote: > Hi. > Within a window put a panel, without having to click. > http://wicket.visural.net/examp

i18n in reusable panels / markup traversing question

2013-02-28 Thread Patrick Davids
Hi all, I have a question concerning resuable panels, translation and the markup traversing. e.g. I have a page, which has its own property file providing translation for a delete button. This page deletes, lets say "Cars", so the buttons label should "delete car". On this page is a resuable p

Re: i18n in reusable panels / markup traversing question

2013-02-28 Thread Sébastien Gautrin
Hello, For your property discovery mechanism, I'm not sure I really see how this works (sounds interesting though). However, what you want for traversing the component hierarchy upon initializing your panel is to delay the initialization after the panel has been added. And there is a method

Re: i18n in reusable panels / markup traversing question

2013-02-28 Thread Patrick Davids
Hi Sebastian, thanx, this way it works. kind regards Patrick Am 28.02.2013 10:19, schrieb Sébastien Gautrin: > Hello, > > For your property discovery mechanism, I'm not sure I really see how > this works (sounds interesting though). However, what you want for > traversing the component hierarchy

Re: Infinite Scrolling in Wicket 6

2013-02-28 Thread heapifyman
Is there some documentation or example available for wicket-bootstrap's InifiniteScrollingBehavior? 2013/2/27 Nick Pratt > Ive used Datatables (www.datatables.net) for similar features and it works > pretty well. > > N > > On Wed, Feb 27, 2013 at 4:58 AM, Martin Dietze wrote: > > > I will soon

Re: Conditional Logic in HTML

2013-02-28 Thread Martin Grigorov
Hi, https://issues.apache.org/jira/browse/WICKET-3433 You can use session.getClientInfo().isInternetExplorer() to add the class with AttributeModifier On Thu, Feb 28, 2013 at 10:19 PM, Nick Pratt wrote: > Should the following work with Wicket 6.5/6.6? > > > > > > > > > > > > Wicket is n

Re: Conditional Logic in HTML

2013-02-28 Thread Nick Pratt
Something I just noticed. if you only have a single conditional statement then everything works fine - it looks like Wicket is ignoring the conditional statements altogether, and simply sees multiple opening tags, and thus doesn't find multiple close tags. N On Thu, Feb 28, 2013 at 3:19 PM, Nick

Serialzation Problem

2013-02-28 Thread yka
Hi all, my code looks like: " *private final transient Customer customer = new Customer(); public CreateCustomer() { this("main"); } public CreateCustomer(String string) { init(); } private void init() {

Re: Serialzation Problem

2013-02-28 Thread Martin Grigorov
Hi, org.apache.wicket.model.ChainingModel.target [class=com.customer.Customer] This line says that there is a hard reference to Customer in ChainingModel On Thu, Feb 28, 2013 at 10:53 PM, yka wrote: > Hi all, > > my code looks like: > " > *private final transient Customer customer = ne

Re: 404 error in nested ModalWindow IE 7

2013-02-28 Thread Jered Myers
It appears that the request is different between IE7 and Chrome once it hits the Jetty server with the inner modal window. modal.js is calling window.location.replace in load with the same value no matter what browser I am using. The first window in the Quickstart has a location of "./wicket/

Re: Serialzation Problem

2013-02-28 Thread yka
Ok, but what exactly does that mean? And how can I avoid the chaining problem? I think the code is pretty forward and I dont know what I did wrong. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Serializable-Problem-tp4656886p4656891.html Sent from the Users forum m

Re: Serialzation Problem

2013-02-28 Thread Sven Meier
A non-serializable object must not be referenced by a component hierarchy and its models: In your case: CreateCustomer -> Form -> CompoundPropertyModel -> Customer One possibility is to use a LDM: private final IModel customer = new LoadableDetachableModel() { public Customer