Re: RadioChoice model not updated in tomcat with liferay portal

2011-06-01 Thread sap2000
Yes, Gabriel I did remote debug using eclipse. My project uses the same wicket version as yours i.e. 1.4.17 Default selection is correct as set in default model inside constructor of RadioChoice. Once OptionB is selected, one can not toggle between radio buttons. It doesn't even allow to select

Re: FormComponent convertInput for children FormComponets

2011-06-01 Thread Clint Checketts
I finally had a chance to create a quickstart and play with it. The issue happens when my FormComponentPanel has its own form. So it appears that the inner form delays the processing of those inner elements. Once I removed the inner form so the child FormComponents were added directly to my FormCo

Pushing events to Wicket Push generated outside of Wicket

2011-06-01 Thread Doug Leeper
We have a system that subscribes to events from an ESB. These events need to be then translated / added to the Wicket Push Bus so the appropriate Wicket components get updated appropriately. >From what I can see, everything in Wicket Push requires a component. Unfortunately, we need to wire up E

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

2011-06-01 Thread James Carman
On Wed, Jun 1, 2011 at 3:41 PM, Gonzalo Aguilar Delgado wrote: > > Your project looks good. Clean code, modular, well organized. I got a > little bit confused about the PropertyComponentFactory. I cannot find > where you define the right provider... Was looking into configuration. > > In the code

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

2011-06-01 Thread James Carman
On Wed, Jun 1, 2011 at 2:59 PM, Gonzalo Aguilar Delgado wrote: > > Does it took long to program it? Do you think you will maintain it for > long time? > I have been working on the idea for a couple of years. > I cannot run the application because compile problems (need maven3). > DOH! I didn't

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

2011-06-01 Thread Gonzalo Aguilar Delgado
Hi again James, Your project looks good. Clean code, modular, well organized. I got a little bit confused about the PropertyComponentFactory. I cannot find where you define the right provider... Was looking into configuration. In the code it takes to an interface. But not implementation, I looked

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

2011-06-01 Thread Gonzalo Aguilar Delgado
Hi James, Looks pretty good!!! It's nice that you build it with plugins in mind. I want to check source code to see details of the implementation. Does it took long to program it? Do you think you will maintain it for long time? I cannot run the application because compile problems (need maven3)

Re: RadioChoice model not updated in tomcat with liferay portal

2011-06-01 Thread Gabriel Landon
I'm using liferay 6.0.5 with Tomcat and RadioChoice works perfectly even with ajax (wicket 1.4.17). Have you tried to debug your code and see what's going on? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/RadioChoice-model-not-updated-in-tomcat-with-liferay-portal-t

Re: 1.5-SNAPSHOT build repository

2011-06-01 Thread robert.mcguinness
https://github.com/apache/wicket -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/1-5-SNAPSHOT-build-repository-tp3565884p3566394.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: Wicket with Spring AOP

2011-06-01 Thread İzlem Gözükeleş
Furthermore, I changed the source code of spring framework and added serial interface for the class raising exception ( org.springframework.aop.aspectj.annotation.InstantiationModelAwarePointcutAdvisorImp). and built it again. Application passed this exception, yet raised another NotSerializableEx

Re: RefreshingView - Comparing Items in List Model

2011-06-01 Thread Igor Vaynberg
alternatively override renderiterator() and sort your items there. -igor On Wed, Jun 1, 2011 at 8:45 AM, Corbin, James wrote: > I was able to solve this issue by defining a new class that extends > LoadableDetachableModel.  The class also overrides hashcode and equals > appropriately.  Now my

Re: RadioChoice model not updated in tomcat with liferay portal

2011-06-01 Thread Igor Vaynberg
we do not support portlets, i am afraid you are on your own there. -igor On Wed, Jun 1, 2011 at 3:16 AM, sap2000 wrote: > Following code works fine on jettty 6.1.22 but not on tomcat 6.0.24 with > Liferay 5.2 > To be specific, the following line always returns string "optionB" although > other o

RE: RefreshingView - Comparing Items in List Model

2011-06-01 Thread Corbin, James
I was able to solve this issue by defining a new class that extends LoadableDetachableModel. The class also overrides hashcode and equals appropriately. Now my List> (used by RefreshingView) contains instances for the new detachable model implementation and now list manipulation works just fi

Re: AjaxEditableMultiLineLabel & setEscapeModelStrings

2011-06-01 Thread Martin Grigorov
new AjaxEditableLabel("id") { protected Component getLabel(String id) { return super.getLabel(id).setEscapeMarkup(false); } }; something like this On Wed, Jun 1, 2011 at 6:18 PM, wmike1...@gmail.com wrote: > Can you elaborate? What do you mean I need to set on these? I can't access > tho

Re: AjaxEditableMultiLineLabel & setEscapeModelStrings

2011-06-01 Thread wmike1...@gmail.com
Can you elaborate? What do you mean I need to set on these? I can't access those methods as they are protected. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxEditableMultiLineLabel-setEscapeModelStrings-tp3565832p3566112.html Sent from the Users forum mailing lis

RefreshingView - Comparing Items in List Model

2011-06-01 Thread Corbin, James
I am using a RefreshingView for a fairly simple table layout with the exception that one of columns in the table contains actions to move rows up and down (e.g., re-order rows). My model for the RefreshingView is basically a List> where T is my POJO. The approach I was going to take was to hav

Re: AjaxEditableMultiLineLabel & setEscapeModelStrings

2011-06-01 Thread Martin Grigorov
AjaxEditableMultiLineLabel has #getLabel() and #getEditor(). You need to set on these. On Wed, Jun 1, 2011 at 4:29 PM, wmike1...@gmail.com wrote: > I had a regular label which would correctly not escape characters after I set > setEscapeModelStrings(false). I changed this Label to an > AjaxEditab

AjaxEditableMultiLineLabel & setEscapeModelStrings

2011-06-01 Thread wmike1...@gmail.com
I had a regular label which would correctly not escape characters after I set setEscapeModelStrings(false). I changed this Label to an AjaxEditableMultiLineLabel and even though I'm still doing setEscapeModelStrings(false), the characters are escaped. I found one post on this forum about this exac

Re: Model detached before Validate of FormValidator

2011-06-01 Thread Tito
I read that is a normal behavior. It's because validation occurs before model population. In that way when validation fails model won't be populated. So I would have to do something like textField.getInput() but I had a problem to get a model Object from a Palette. For example: Palette palette =

RadioChoice model not updated in tomcat with liferay portal

2011-06-01 Thread sap2000
Following code works fine on jettty 6.1.22 but not on tomcat 6.0.24 with Liferay 5.2 To be specific, the following line always returns string "optionB" although other option is selected. String selectedOption = searchChoice.getModelObject(); Can anybody please point out reason for this behaviour?