Re: 1.5 rc 4.2 ajax radiochoice bug?

2011-05-31 Thread nino martinez wael
hmm it does also occur when not using ajax.. 2011/5/30 nino martinez wael nino.martinez.w...@gmail.com: Hi Guys I've hit yet another possible bug. I'll fill in the jira if necessary heres how it is affecting our application. I have a form that has a propertylistview, in that list view

How to initialize database with Spring in wicketTester/JUnit class?

2011-05-31 Thread Mathilde Pellerin
Hi all, I have a Wicket application which works with Spring, JPA and Hibernate. I used this archetype to create the project (archetype found through Wicket More archetype page) : mvn archetype:generate -B -DarchetypeCatalog=

Re: How to initialize database with Spring in wicketTester/JUnit class?

2011-05-31 Thread Mathilde Pellerin
My mistake : I tried to do integration test with mocks... I think I have to use @ContextConfiguration instead ApplicationContextMock... 2011/5/31 Mathilde Pellerin mathilde.pelle...@statlife.fr Hi all, I have a Wicket application which works with Spring, JPA and Hibernate. I used this

AutoCompleteTextField

2011-05-31 Thread drf
Which method has to be implemented in order to place code to execute when a value is selected in an AutoCompleteTextField? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-tp3562675p3562675.html Sent from the Users forum mailing list archive at

Re: 1.5 rc 4.2 ajax radiochoice bug?

2011-05-31 Thread nino martinez wael
Ok I have it replicated with a quickstart.. Seems the cause are because I am using an ldm in conjunction with the form is it wrong todo so? 2011/5/31 nino martinez wael nino.martinez.w...@gmail.com: hmm it does also occur when not using ajax.. 2011/5/30 nino martinez wael

Wicket with Spring AOP

2011-05-31 Thread İzlem Gözükeleş
Hi, I wanted to use Spring AOP (3.0.5) with wicket (1.4.16). However, I got java.io.NotSerializableException: org.springframework.aop.aspectj.annotation.InstantiationModelAwarePointcutAdvisorImpl My spring file contains the lines, aop:aspectj-autoproxy / bean id=flowAppLogger

Re: Wicket with Spring AOP

2011-05-31 Thread James Carman
What pointcuts are you using? You're trying to inject logic into your pages/components? 2011/5/31 İzlem Gözükeleş izl...@gmail.com: Hi, I wanted to use Spring AOP (3.0.5) with wicket (1.4.16). However, I got java.io.NotSerializableException:

Re: Wicket with Spring AOP

2011-05-31 Thread İzlem Gözükeleş
Only one pointcut used in service layer. @Pointcut(@annotation(LogAsTextFile)) public void traceAsTextLogs() { } *** Aspect class : @Before(flow.aspect.PointcutsAspect.traceAsTextLogs()) public void logBefore(JoinPoint joinPoint) { } I use LogAsTextFile annotation for some of

Re: 1.5 rc 4.2 ajax radiochoice bug?

2011-05-31 Thread Pedro Santos
Hi, using in cojuction with the ldm should be fine. On Tue, May 31, 2011 at 8:15 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Ok I have it replicated with a quickstart.. Seems the cause are because I am using an ldm in conjunction with the form is it wrong todo so? 2011/5/31

Re: AutoCompleteTextField

2011-05-31 Thread Andrea Del Bene
Hi, as far as I know there's no standard handler for onselect event in AutoCompleteTextField. But you could attach it a AjaxFormComponentUpdatingBehavior(onChange) to execute some code when value changes. Alternatively you could implement a custom AbstractAutoCompleteRenderer which exposes a

Model detached before Validate of FormValidator

2011-05-31 Thread Tito
Is this ok? I have to validate model object but it's detached when validate of form validator is called. How can I make this validation? Thanks

Re: Model detached before Validate of FormValidator

2011-05-31 Thread Per Newgro
Am 31.05.2011 15:10, schrieb Tito: Is this ok? I have to validate model object but it's detached when validate of form validator is called. How can I make this validation? Thanks Provide some code describing the problem please. Cheers Per

Re: wicket-dojo project (Should I change project name?)

2011-05-31 Thread Gonzalo Aguilar Delgado
Hi Martin, I need time to organize projects, but sure I can merge everything and find best way to do things. Just need some time and give my projects a little breath. Thank you for the update. -- No subestimes el poder de la gente estúpida en grupos grandes El dom, 13-03-2011 a las

While dojo project is still alpha status I want to say something about scaffolding in wicket

2011-05-31 Thread Gonzalo Aguilar Delgado
Hi again, too many things are going on. But I don't want to lose the oportunity to let people join or upgrade what we are building. I've just created another project that uses wicket-dojo so I can test features in a real project. I have to upload the code to gitorious.org

Re: While dojo project is still alpha status I want to say something about scaffolding in wicket

2011-05-31 Thread James Carman
Wicketopia has a scaffold component already. Perhaps we can use some of your ideas to enhance it? On Tue, May 31, 2011 at 9:41 AM, Gonzalo Aguilar Delgado gagui...@aguilardelgado.com wrote: Hi again, too many things are going on. But I don't want to lose the oportunity to let people join or

Re: AutoCompleteTextField

2011-05-31 Thread Don Ferguson
I do this with an AjaxFormSubmitBehavior: publisherField.add(new AjaxFormSubmitBehavior(publisherForm, onchange) { private static final long serialVersionUID = 1L; @Override protected void onSubmit(AjaxRequestTarget target) {

Re: While dojo project is still alpha status I want to say something about scaffolding in wicket

2011-05-31 Thread Gonzalo Aguilar Delgado
Hi James, I was looking for a lng time for scaffolding and found nothing. I need to take a review to wicketopia to see what it offers. Thank you a lot for the update. No subestimes el poder de la gente estúpida en grupos grandes El mar, 31-05-2011 a las 10:21 -0400, James Carman

Re: wicket session statistics

2011-05-31 Thread Alec Swan
Hello, I suggest you check out http://code.google.com/p/psi-probe/ or other Tomcat monitoring tools. Alec 2011/5/30 nino martinez wael nino.martinez.w...@gmail.com: Or the requestlogger On May 27, 2011 9:13 AM, KingFee Dong kingfee.d...@gmail.com wrote: Hello, I think I find it

Re: 1.5 rc 4.2 ajax radiochoice bug?

2011-05-31 Thread nino martinez wael
just created this: https://issues.apache.org/jira/browse/WICKET-3756 2011/5/31 Pedro Santos pedros...@gmail.com: Hi, using in cojuction with the ldm should be fine. On Tue, May 31, 2011 at 8:15 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Ok I have it replicated with a

Re: guice injection on WebApplication init

2011-05-31 Thread kamiseq
ok GuiceWebApplicationFactory works like a charm. but now I consider moving this init db code to custom guice module so I can easily swap configuration and have WebApplication class clean;] again thanks for replay pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com

Re: While dojo project is still alpha status I want to say something about scaffolding in wicket

2011-05-31 Thread James Carman
Download the example application and run it and you can see it in action On May 31, 2011 11:36 AM, Gonzalo Aguilar Delgado gagui...@aguilardelgado.com wrote: Hi James, I was looking for a lng time for scaffolding and found nothing. I need to take a review to wicketopia to see what it

Re: guice injection on WebApplication init

2011-05-31 Thread kamiseq
heh ok I tired to be too smart ;] anyway thanks pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: How to show / hide individual column of a DefaultDataTable using Ajax?

2011-05-31 Thread Alec Swan
Hello, I solved a similar problem by wrapping th in wicket:container and hiding the container using setVisible(false). wicket:container wicket:id=adminHeader thVisible To/th /wicket:container Alec On Thu, Jul 1, 2010 at 7:58 AM, Erich W Schreiner eschrei...@yahoo.com wrote: Dear all, I'm

Doubt about Pallet Component

2011-05-31 Thread Vitor Granzinoli Vellozo
Wicketers, Someone have been created a Pallet Component? I have doubts about its use. Is it possible to pass two different arraylists to the pallete? The first arraylist with the names that is not select and the second with selected itens, like below: List 1 A B C

RES: Doubt about Pallet Component

2011-05-31 Thread Vitor Granzinoli Vellozo
Sorry! Solved! -Mensagem original- De: Vitor Granzinoli Vellozo [mailto:vitor.vell...@cpmbraxis.com] Enviada em: terça-feira, 31 de maio de 2011 18:33 Para: users@wicket.apache.org Assunto: Doubt about Pallet Component Wicketers, Someone have been created a Pallet Component?

Re: adding style to multiple form fields on validaton

2011-05-31 Thread rebecca
hi there Has anyone have an idea for me? Thanks Rebecca -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/adding-style-to-multiple-form-fields-on-validaton-tp3560363p3564982.html Sent from the Users forum mailing list archive at Nabble.com.

Re: adding style to multiple form fields on validaton

2011-05-31 Thread Martin Grigorov
In Wicket 1.5 you can broadcast an event and notify everyone interested. e.g. MyValidator#onValidate(Validatable) { if (invalid) {getComponent().send(new InvalidComponentEvent(getComponent()))} } then MyPanel#onEvent(Object payload) { if (payload instance of InvalidComponentEvent) { ... }} On