Re: NoClassDefFoundError: org/objectweb/asm/Type

2015-01-21 Thread Francois Meillet
Thanks Martin François Meillet Le 21 janv. 2015 à 21:35, Martin Grigorov a écrit : > https://issues.apache.org/jira/browse/WICKET-5817 > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Wed, Jan 21, 2015 at 9:18 PM, Martin Grigorov > wrote: > >

Re: NoClassDefFoundError: org/objectweb/asm/Type

2015-01-21 Thread Martin Grigorov
https://issues.apache.org/jira/browse/WICKET-5817 Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Jan 21, 2015 at 9:18 PM, Martin Grigorov wrote: > Please create a ticket! > Thanks! > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/

Re: validation in form component panels in RefreshingView

2015-01-21 Thread Martin Grigorov
org.apache.wicket.markup.repeater.RefreshingView#setItemReuseStrategy(org.apache.wicket.markup.repeater.ReuseIfModelsEqualStrategy#getInstance()) Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Jan 21, 2015 at 6:59 PM, lucast wrote: > Dear forum, > > I'm im

Re: NoClassDefFoundError: org/objectweb/asm/Type

2015-01-21 Thread Martin Grigorov
Please create a ticket! Thanks! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Jan 21, 2015 at 8:50 PM, Francois Meillet < francois.meil...@gmail.com> wrote: > Hi Martin, > > with version 7.0.4 and using JMX (wicket-jmx.jar) > > I get > java.lang.NoClassDe

validation in form component panels in RefreshingView

2015-01-21 Thread lucast
Dear forum, I'm implementing a tabbed panel. On first panel, user selects number of items. On second tab, user enters details for each item. I've implemented a RefreshingView so that the number of items on list reflects the number of items selected by user. To bundle all of the fields together

NoClassDefFoundError: org/objectweb/asm/Type

2015-01-21 Thread Francois Meillet
Hi Martin, with version 7.0.4 and using JMX (wicket-jmx.jar) I get java.lang.NoClassDefFoundError: org/objectweb/asm/Type at net.sf.cglib.core.TypeUtils.parseType(TypeUtils.java:184) at net.sf.cglib.core.KeyFactory.(KeyFactory.java:66) at net.sf.cglib.proxy.Enhancer.(Enha

Re: Wicket panel #oninitilize for replacing

2015-01-21 Thread K
@sven Thanks for your response 1. i am using nested panels, searchinnerpanel and jobdetailspanel are present in searchbodypanel hence i could not use page to handle the retrival logic. 2. these panels were actually pages hence pageparameters i plan on changing it. - K -- View this message

Re: Use application.setName to set a custom name?

2015-01-21 Thread Thorsten Schöning
Guten Tag Martin Grigorov, am Mittwoch, 21. Januar 2015 um 11:37 schrieben Sie: > This is a problem that deserves a ticket, IMO. https://issues.apache.org/jira/browse/WICKET-5816 Thanks for your help! Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: thorsten.scho

Re: When should one use fragments?

2015-01-21 Thread Michael Mosmann
Hi, You can refactor fragments into panel (and should do this, it is easy). I use fragments only if i want to hide components to the outside or reduce the count of files i have to open to solve something.. this happens only if i build some kind of prototype. If you have nothing to "hide" just use

Re: Wicket panel #oninitilize for replacing

2015-01-21 Thread Rodrigo Ribeiro Miguele
If the "job panel" and "search panel" has the same id and parent, you can use the *#addOrReplace(Component)* method on its parent to add the panel that you need to display. If the "search panel" is on the previous page, you need to keep the reference of it and when you submit the form your submit/

Re: Wicket panel #oninitilize for replacing

2015-01-21 Thread Sven Meier
Hi, you should move the retrieval of jobs out of your panel: Let your page do this and just pass the retrieved jobs to the panel *or* replace it with something else. BTW it's unusual to have a non-page constructor with pageParameters as arguments. Hope this helps Sven On 21.01.2015 12:54,

Wicket panel #oninitilize for replacing

2015-01-21 Thread K
Hi i have been strugguling with this for a while. could you please suggest changes. Scenario: when i search for a job, if a job exists job is displayed in this panel and if the job does not exist it is redirected back to the search panel. i am unable to redirect back to the search panel. --

When should one use fragments?

2015-01-21 Thread ChambreNoire
Hello, I'm going over some old code and I have noticed that some devs are using fragments to slice up views. For instance, one Panel only has a single 'content' div and then the 3 different views are displayed by switching between 3 Fragments with replaceWith(). This seems to me to break the 'avoi

Re: Use application.setName to set a custom name?

2015-01-21 Thread Martin Grigorov
On Wed, Jan 21, 2015 at 12:18 PM, Thorsten Schöning wrote: > Guten Tag Martin Grigorov, > am Mittwoch, 21. Januar 2015 um 09:46 schrieben Sie: > > > But how would you decide what name to use if you do this in the > constructor? > > At that time you don't have access to many things, e.g. the servl

Re: Use application.setName to set a custom name?

2015-01-21 Thread Thorsten Schöning
Guten Tag Martin Grigorov, am Mittwoch, 21. Januar 2015 um 09:46 schrieben Sie: > But how would you decide what name to use if you do this in the constructor? > At that time you don't have access to many things, e.g. the servlet context. I would have implemented a ServletContextListener to create

Re: Work flow for html design

2015-01-21 Thread Martin Grigorov
Hi, I didn't understand the problem. Please try to rephrase and give some more details where is the .html file, where is the .css file and what exactly is the issue you face. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Jan 21, 2015 at 7:48 AM, Km wrote:

Re: Use application.setName to set a custom name?

2015-01-21 Thread Martin Grigorov
On Wed, Jan 21, 2015 at 10:12 AM, Thorsten Schöning wrote: > Guten Tag Martin Grigorov, > am Dienstag, 20. Januar 2015 um 19:21 schrieben Sie: > > > This is by design ( > > > https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/Application.java#L944-L945 > > ).

Re: Use application.setName to set a custom name?

2015-01-21 Thread Thorsten Schöning
Guten Tag Martin Grigorov, am Dienstag, 20. Januar 2015 um 19:21 schrieben Sie: > This is by design ( > https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/Application.java#L944-L945 > ). > The application name is used for internal caches, keys, etc. and it mus