Re: 1.5 rc 4.2 ajax radiochoice bug?
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 theres a couple of different components where some are conditionally displayed depending on one of the formcomponents(componentA) which also has a ajaxformchoiceupdating behavior. If the radiochoice( componentB) starts by not being shown and then altered to get shown if the user clicks the right option on componentA, componentB gets redrawn by the ajaxupdate but then when the form are submitted I've debugged it and can see that somehow it's getting set to null instead of the selected choice. If componentB starts by being shown theres no problems... Hmm I probably need to provide a quickstart or are this sounding familiar to somebody? -N - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
How to initialize database with Spring in wicketTester/JUnit class?
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= http://legup.googlecode.com/svn/repo/archetype-catalog.xml-DarchetypeArtifactId=wicket-spring-jpa-archetype -DarchetypeGroupId=com.jweekend -DarchetypeVersion=0.8.4 -DgroupId=com.mycompany -DartifactId=mycompany -Dversion=1.0-SNAPSHOT -Dpackage=com.mycompany in the project generated, there is a class DataInitialiser which initialize database and which is called by applicationContext.xml : bean class=fr.statlife.protoE4N.DataInitialiser init-method=dataInit property name=serviceMembre ref=serviceMembre/property property name=serviceLienBaseE4N ref=serviceLienE4N/property /bean it's work well when I test my application manually, but database is not initialized when I used WicketTester. This is the setup method used with wicket tester : public class TestStory04 { protected WicketTester tester; @Before public void setup() { final ApplicationContextMock acm = new ApplicationContextMock(); ServiceIdentification serviceIdentif = Mockito.mock(ServiceIdentification.class); acm.putBean(serviceIdentif, serviceIdentif); ServiceInscription serviceInscription = Mockito.mock(ServiceInscription.class); acm.putBean(serviceInscription, serviceInscription); tester = new WicketTester(new WicketApplication(){ /* (non-Javadoc) * @see fr.statlife.protoE4N.WicketApplication#getGuiceInjector() */ @Override protected SpringComponentInjector getSpringInjector() { return new SpringComponentInjector(this, acm, true); } }); } [some tests] } In setup method, I tried to add DataInitialiser dataInitialiser = Mockito.mock(DataInitialiser.class); acm.putBean(initData, dataInitialiser); try { dataInitialiser.dataInit(); } catch (ParseException e) { // TODO Auto-generated catch block e.printStackTrace(); } but it doesn't work : database is not initialized. So how can I initialize my database ? Thanks -- *Mathilde Pellerin* Ingénieur en développement de logiciel STATLIFE tel : 01.42.11.64.88 mail : mathilde.pelle...@statlife.fr
Re: How to initialize database with Spring in wicketTester/JUnit class?
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 archetype to create the project (archetype found through Wicket More archetype page) : mvn archetype:generate -B -DarchetypeCatalog= http://legup.googlecode.com/svn/repo/archetype-catalog.xml-DarchetypeArtifactId=wicket-spring-jpa-archetype -DarchetypeGroupId=com.jweekend -DarchetypeVersion=0.8.4 -DgroupId=com.mycompany -DartifactId=mycompany -Dversion=1.0-SNAPSHOT -Dpackage=com.mycompany in the project generated, there is a class DataInitialiser which initialize database and which is called by applicationContext.xml : bean class=fr.statlife.protoE4N.DataInitialiser init-method=dataInit property name=serviceMembre ref=serviceMembre/property property name=serviceLienBaseE4N ref=serviceLienE4N/property /bean it's work well when I test my application manually, but database is not initialized when I used WicketTester. This is the setup method used with wicket tester : public class TestStory04 { protected WicketTester tester; @Before public void setup() { final ApplicationContextMock acm = new ApplicationContextMock(); ServiceIdentification serviceIdentif = Mockito.mock(ServiceIdentification.class); acm.putBean(serviceIdentif, serviceIdentif); ServiceInscription serviceInscription = Mockito.mock(ServiceInscription.class); acm.putBean(serviceInscription, serviceInscription); tester = new WicketTester(new WicketApplication(){ /* (non-Javadoc) * @see fr.statlife.protoE4N.WicketApplication#getGuiceInjector() */ @Override protected SpringComponentInjector getSpringInjector() { return new SpringComponentInjector(this, acm, true); } }); } [some tests] } In setup method, I tried to add DataInitialiser dataInitialiser = Mockito.mock(DataInitialiser.class); acm.putBean(initData, dataInitialiser); try { dataInitialiser.dataInit(); } catch (ParseException e) { // TODO Auto-generated catch block e.printStackTrace(); } but it doesn't work : database is not initialized. So how can I initialize my database ? Thanks -- *Mathilde Pellerin* Ingénieur en développement de logiciel STATLIFE tel : 01.42.11.64.88 mail : mathilde.pelle...@statlife.fr -- *Mathilde Pellerin* Ingénieur en développement de logiciel STATLIFE tel : 01.42.11.64.88 mail : mathilde.pelle...@statlife.fr
AutoCompleteTextField
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 Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: 1.5 rc 4.2 ajax radiochoice bug?
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 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 theres a couple of different components where some are conditionally displayed depending on one of the formcomponents(componentA) which also has a ajaxformchoiceupdating behavior. If the radiochoice( componentB) starts by not being shown and then altered to get shown if the user clicks the right option on componentA, componentB gets redrawn by the ajaxupdate but then when the form are submitted I've debugged it and can see that somehow it's getting set to null instead of the selected choice. If componentB starts by being shown theres no problems... Hmm I probably need to provide a quickstart or are this sounding familiar to somebody? -N - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Wicket with Spring AOP
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 class=flow.aspect.LogAspect property name=logService ref=flowLog/ /bean bean id=flowLog class=flow.aspect.FlowLog / My flowAppLogger works, it wrote to file. Yet, I got exceptions because of Serialization. I know and use @SpringBean for other beans. But, how can I use @SpringBean annotation for aspect oriented programming in wicket? Or use AOP in another way? thanks
Re: Wicket with Spring AOP
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: org.springframework.aop.aspectj.annotation.InstantiationModelAwarePointcutAdvisorImpl My spring file contains the lines, aop:aspectj-autoproxy / bean id=flowAppLogger class=flow.aspect.LogAspect property name=logService ref=flowLog/ /bean bean id=flowLog class=flow.aspect.FlowLog / My flowAppLogger works, it wrote to file. Yet, I got exceptions because of Serialization. I know and use @SpringBean for other beans. But, how can I use @SpringBean annotation for aspect oriented programming in wicket? Or use AOP in another way? thanks - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket with Spring AOP
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 the methods in the service class. On the other hand, I use service class in the components with @SpringBean annotatiion. Until I started trying AOP, there weren't any problems about serialization. On Tue, May 31, 2011 at 2:55 PM, James Carman ja...@carmanconsulting.comwrote: 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: org.springframework.aop.aspectj.annotation.InstantiationModelAwarePointcutAdvisorImpl My spring file contains the lines, aop:aspectj-autoproxy / bean id=flowAppLogger class=flow.aspect.LogAspect property name=logService ref=flowLog/ /bean bean id=flowLog class=flow.aspect.FlowLog / My flowAppLogger works, it wrote to file. Yet, I got exceptions because of Serialization. I know and use @SpringBean for other beans. But, how can I use @SpringBean annotation for aspect oriented programming in wicket? Or use AOP in another way? thanks - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: 1.5 rc 4.2 ajax radiochoice bug?
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 nino martinez wael nino.martinez.w...@gmail.com: 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 theres a couple of different components where some are conditionally displayed depending on one of the formcomponents(componentA) which also has a ajaxformchoiceupdating behavior. If the radiochoice( componentB) starts by not being shown and then altered to get shown if the user clicks the right option on componentA, componentB gets redrawn by the ajaxupdate but then when the form are submitted I've debugged it and can see that somehow it's getting set to null instead of the selected choice. If componentB starts by being shown theres no problems... Hmm I probably need to provide a quickstart or are this sounding familiar to somebody? -N - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pedro Henrique Oliveira dos Santos - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AutoCompleteTextField
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 method called getOnSelectJavaScriptExpression. With this method you could execute custom JavaScript when user select a value from list. See AbstractAutoCompleteRenderer's JavaDoc for further details. 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 Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Model detached before Validate of FormValidator
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
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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicket-dojo project (Should I change project name?)
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 21:25 +0200, Martin Grigorov escribió: Hi, On Sun, Mar 13, 2011 at 9:04 PM, Gonzalo Aguilar Delgado gagui...@aguilardelgado.com wrote: Hi Martin, Yes I knew about this but I thought it was obsolete. I tried to use some time ago but it didn't worked. Also was a little bit difficult to implement. But I will take a reload to see if something can be commited/added. Maybe this project is not needed if now dojo of wicketstuff works! Actually it is in the same state... The project has some nice features - like automatic download of Dojo distribution, easy way to declare Dojo dependencies (dojo.require()'s), All it need is a new maintainer. I just committed a README file which contains a link to the last known working example of wicketstuff-dojo-1.1 If you decide to give it a go then you may download this example and add it as a subproject in dojo-parent. :D Thank you!!! I will keep an eye on it. Best regards, No subestimes el poder de la gente estúpida en grupos grandes El dom, 13-03-2011 a las 18:35 +0200, Martin Grigorov escribió: Congratulations Gonzalo! Dojo is also my choice of JS library. I hope one day to use your project ;-) Until then keep the good work and add more components. I understand you're trying to reuse the good parts of WiQuery (I'm not saying there are bad parts) but I want to mention https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/dojo-parentas well. I'm not sure whether you know or not. This project has been done with Dojo 0.4 and Wicket 1.(2|3) and then partially upgrated to Dojo 1.1 and Wicket 1.(4|5). And yes - this mailing list is the right place for such announcements and discussions! On Sun, Mar 13, 2011 at 4:01 PM, Gonzalo Aguilar Delgado gagui...@aguilardelgado.com wrote: Hi all, I started a new project to give support for dojo to the current wicket base 1.5. I don't know if it will reach much far but wanted to revamp the dojo support in wicket. I have not much time but will try to add widgets and more support when I need it in my projects. This is why I asked several times last week. I took as base excelent wiquery+wicket examples projects and refactored them do give it dojo ability. Looks nice! :-) At current time is fairly easy to implement new widgets. I just added two partially implemented with theme support included. A standard button and the editor. I have to cleanup the code but as you can see is easy to use and extend. It has wiquery comments inside. Should I remove it? But I want to give credits to the original authors... Please, any comments will be welcome. http://gitorious.org/wicket-dojo PS: Sorry If I should not say this here... Tell me and I will shut any comments about it but I think it will be useful for the wicket community. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
While dojo project is still alpha status I want to say something about scaffolding in wicket
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 https://gitorious.org/wscaffold But I created a small intro about what I'm doing: http://level2crm.com/content/building-scaffoldling-wicket Hope someone else can help me or propose advances. I want also migrate all to 1.5 but it takes time... :D No subestimes el poder de la gente estúpida en grupos grandes - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: While dojo project is still alpha status I want to say something about scaffolding in wicket
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 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 https://gitorious.org/wscaffold But I created a small intro about what I'm doing: http://level2crm.com/content/building-scaffoldling-wicket Hope someone else can help me or propose advances. I want also migrate all to 1.5 but it takes time... :D No subestimes el poder de la gente estúpida en grupos grandes - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AutoCompleteTextField
I do this with an AjaxFormSubmitBehavior: publisherField.add(new AjaxFormSubmitBehavior(publisherForm, onchange) { private static final long serialVersionUID = 1L; @Override protected void onSubmit(AjaxRequestTarget target) { // add on submit behavior here } @Override protected void onError(AjaxRequestTarget target) { } }); On May 31, 2011, at 5:29 AM, Andrea Del Bene wrote: 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 method called getOnSelectJavaScriptExpression. With this method you could execute custom JavaScript when user select a value from list. See AbstractAutoCompleteRenderer's JavaDoc for further details. 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 Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: While dojo project is still alpha status I want to say something about scaffolding in wicket
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 escribió: 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 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 https://gitorious.org/wscaffold But I created a small intro about what I'm doing: http://level2crm.com/content/building-scaffoldling-wicket Hope someone else can help me or propose advances. I want also migrate all to 1.5 but it takes time... :D No subestimes el poder de la gente estúpida en grupos grandes - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicket session statistics
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 getLiveSessions() can give me some help! Thank you both! Good Luck ! 在 2011年5月27日 下午1:47,Tobias Gierke tobias.gie...@code-sourcery.de写道: Hi, Implement a http://download.oracle.com/javaee/5/api/javax/servlet/http/HttpSessionListener.html and put it in your web.xml. Regards, Tobias Hello, Maybe I found it,LiveSessionsPage.java ,it can count peak session,but not what i want. I want to count the online users, for example there a three users here, if somtime a user had closed his(or her) web browser this session number is two now How can I do it ? Thanks! 2011/5/26 Martin Grigorov mgrigo...@apache.org Look deeper. This info is also provided. 2011/5/26 KingFee Dong kingfee.d...@gmail.com: I found that DebugBar panel in wicket-devutils.jar is also talk about size of one session. What I want to count is unexpired sessions in the wicket application. just like a forum,count the online users Thanks ! 2011/5/26 Martin Grigorov mgrigo...@apache.org Also Tomcat comes with ManagerApplication which provides such kind of information for all deployed apps On Thu, May 26, 2011 at 12:05 PM, Martin Grigorov mgrigo...@apache.org wrote: see DebugBar panel in wicket-devutils.jar 2011/5/26 KingFee Dong kingfee.d...@gmail.com: hello, Maybe my question is not very clear. I want to Statistics Session Numbers, I mean the sessions in the application. for example there are two users online the session should be 2. Can anyone give me some solutions ? Thank you all the same,Martin Grigorov! Good Luck ! 2011/5/26 Martin Grigorov mgrigo...@apache.org org.apache.wicket.Session.getSizeInBytes() 2011/5/26 KingFee Dong kingfee.d...@gmail.com Hi,EVERYONE I am a newer to wicket ,now i want to statistics session,how can i do it? Can anyone give me some suggestion ? Thanks! -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/ http://jweekend.com/ http://jweekend.com/ -- -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/ http://jweekend.com/ -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/ http://jweekend.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/ http://jweekend.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: 1.5 rc 4.2 ajax radiochoice bug?
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 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 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 theres a couple of different components where some are conditionally displayed depending on one of the formcomponents(componentA) which also has a ajaxformchoiceupdating behavior. If the radiochoice( componentB) starts by not being shown and then altered to get shown if the user clicks the right option on componentA, componentB gets redrawn by the ajaxupdate but then when the form are submitted I've debugged it and can see that somehow it's getting set to null instead of the selected choice. If componentB starts by being shown theres no problems... Hmm I probably need to provide a quickstart or are this sounding familiar to somebody? -N - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pedro Henrique Oliveira dos Santos - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: guice injection on WebApplication init
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
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 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 escribió: 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 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 https://gitorious.org/wscaffold But I created a small intro about what I'm doing: http://level2crm.com/content/building-scaffoldling-wicket Hope someone else can help me or propose advances. I want also migrate all to 1.5 but it takes time... :D No subestimes el poder de la gente estúpida en grupos grandes - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: guice injection on WebApplication init
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?
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 trying to implement an Ajax button for showing / hiding some columns of a DefaultDataTable based on a Boolean associated with a custom session. Currently I have implemented an AttributeModifier that sets the style to display:none on the hidden columns. This is working fine for the table content (data rows) where I am adding this AttributeModifier to the cellItem, but not for the column headers. The function getHeader() returns a Label that I can hide by adding the same AttributeModifier, but I do not know how to get to the TH element itself. Effectively, I can hide the headers' label but not the header. Any suggestions, please? TIA best regards, Erich - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Doubt about Pallet Component
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 List2 D E Is it possible? Thanks a lot, Vitor Atenciosamente, Vitor Granzinoli Vellozo Applications Outsourcing CPM Braxis Tel: 55 21 3213 9400 Cel: 55 21 8896 5676 www.cpmbraxis.com
RES: Doubt about Pallet Component
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? 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 List2 D E Is it possible? Thanks a lot, Vitor Atenciosamente, Vitor Granzinoli Vellozo Applications Outsourcing CPM Braxis Tel: 55 21 3213 9400 Cel: 55 21 8896 5676 www.cpmbraxis.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: adding style to multiple form fields on validaton
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. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: adding style to multiple form fields on validaton
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 Wed, Jun 1, 2011 at 8:25 AM, rebecca rivka.shis...@gmail.com wrote: 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. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org