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? related code snippet
from wicket Page is given below:
-
final RadioChoiceString searchChoice = new
RadioChoiceString(searchChoice, new ModelString(optionA),
searchOptions);

searchChoice.add(new AjaxFormChoiceComponentUpdatingBehavior() {

@Override
protected void onUpdate(AjaxRequestTarget target) {
String selectedOption = 
searchChoice.getModelObject(); //***
if(selectedOption .equals(optionA)){
// doSomething  

}else if(selectedSearch.equals(optionB)){
// doSomethingElse
}   

}   
});

-
Thank you.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/RadioChoice-model-not-updated-in-tomcat-with-liferay-portal-tp3565419p3565419.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: 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:

PaletteTask palette = new PaletteTask(.);
form.add(palette);

form.add(new IFormValidator() {

 @Override
 public void Validate(Form? form) {
   // how to get a list of selected tasks???
 }
});

So I made validation on onSubmit method of form. Now I'm fighting with
localized message to finish.

Thanks!
Tito

2011/5/31 Per Newgro per.new...@gmx.ch

 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




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 exact issue, but it had no
resolution. Any Ideas?

Thanks, Mike


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxEditableMultiLineLabel-setEscapeModelStrings-tp3565832p3565832.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: 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 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
 AjaxEditableMultiLineLabel and even though I'm still doing
 setEscapeModelStrings(false), the characters are escaped.

 I found one post on this forum about this exact issue, but it had no
 resolution. Any Ideas?

 Thanks, Mike


 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/AjaxEditableMultiLineLabel-setEscapeModelStrings-tp3565832p3565832.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



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 ListIModelT where T is my 
POJO.

The approach I was going to take was to have the buttons (move up/down) 
manipulate the underlying model by repositioning the IModelT instances in the 
ordered List.  In order to do this, I need to identify the index position of a 
particular item (IModelT) in the list.

My T instances have equals and hashcode defined, but wondered if my IModelT 
instances need to be detachable models that also define hashcode and equals as 
well.

Is this the right approach?

J.D.




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 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: 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 wmike1...@gmail.com wrote:
 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 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



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 ListIModelT (used by RefreshingView) contains 
instances for the new detachable model implementation and now list manipulation 
works just fine and my manual row reordering logic works perfectly.


Regards,
J.D.
-Original Message-
From: Corbin, James [mailto:jcor...@iqnavigator.com] 
Sent: Wednesday, June 01, 2011 8:56 AM
To: users@wicket.apache.org
Subject: RefreshingView - Comparing Items in List Model

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 ListIModelT where T is my 
POJO.

The approach I was going to take was to have the buttons (move up/down) 
manipulate the underlying model by repositioning the IModelT instances in the 
ordered List.  In order to do this, I need to identify the index position of a 
particular item (IModelT) in the list.

My T instances have equals and hashcode defined, but wondered if my IModelT 
instances need to be detachable models that also define hashcode and equals as 
well.

Is this the right approach?

J.D.



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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 sap2...@indiatimes.com 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 option is selected.
 String selectedOption = searchChoice.getModelObject();

 Can anybody please point out reason for this behaviour? related code snippet
 from wicket Page is given below:
 -
 final RadioChoiceString searchChoice = new
 RadioChoiceString(searchChoice, new ModelString(optionA),
 searchOptions);

 searchChoice.add(new AjaxFormChoiceComponentUpdatingBehavior() {

                        @Override
                        protected void onUpdate(AjaxRequestTarget target) {
                                String selectedOption = 
 searchChoice.getModelObject(); //***
                                if(selectedOption .equals(optionA)){
                                        // doSomething
                                }else if(selectedSearch.equals(optionB)){
                                        // doSomethingElse
                                }
                        }
                });

 -
 Thank you.

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/RadioChoice-model-not-updated-in-tomcat-with-liferay-portal-tp3565419p3565419.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: 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 jcor...@iqnavigator.com 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 ListIModelT (used by RefreshingView) contains 
 instances for the new detachable model implementation and now list 
 manipulation works just fine and my manual row reordering logic works 
 perfectly.


 Regards,
 J.D.
 -Original Message-
 From: Corbin, James [mailto:jcor...@iqnavigator.com]
 Sent: Wednesday, June 01, 2011 8:56 AM
 To: users@wicket.apache.org
 Subject: RefreshingView - Comparing Items in List Model

 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 ListIModelT where T is my 
 POJO.

 The approach I was going to take was to have the buttons (move up/down) 
 manipulate the underlying model by repositioning the IModelT instances in 
 the ordered List.  In order to do this, I need to identify the index position 
 of a particular item (IModelT) in the list.

 My T instances have equals and hashcode defined, but wondered if my IModelT 
 instances need to be detachable models that also define hashcode and equals 
 as well.

 Is this the right approach?

 J.D.



 -
 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-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 unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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-tp3565419p3566511.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: 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).

Does it support ajax?

Do you have binaries? So I can download a package and give it a try in
my tomcat...

Sorry for posting lots of questions but it's first time I see a serious
approach to scaffolding with wicket. I'm pretty excited.

I will take a look to the code to see if it fits to my projects. Will be
nice to join this nice piece of code.

Thank you again.




No subestimes el poder de la gente estúpida en grupos grandes 

El mar, 31-05-2011 a las 15:43 -0400, James Carman escribió:
 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
 


-
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

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
around and seem to find one. 

The idea is great, everything is pluggable. Even property editors as I
can see in the example.

The use of your other library, metastopheles, is good enough. The
problem with it will be automatic detection of links (foreign keys) to
other clases, specific database types and so on. Something that is
resolved just sticking to hibernate metadata (I only want one
persistence engine for now). 

Also I can see that Ajax support is in place but limited.

Will you discuss about integrating it with dojo libraries?

Thank you again.





No subestimes el poder de la gente estúpida en grupos grandes 

El mar, 31-05-2011 a las 15:43 -0400, James Carman escribió:
 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
 


-
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

2011-06-01 Thread James Carman
On Wed, Jun 1, 2011 at 2:59 PM, Gonzalo Aguilar Delgado
gagui...@aguilardelgado.com 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 realize that I made it *require* maven3.  You want me
to send you a war file for the example application?

 Does it support ajax?


The example application, which uses the Scaffold component, is all
ajax-based.  There are ajax-based components in there that you can use
for submitting your forms, deleting objects, etc.

-
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

2011-06-01 Thread James Carman
On Wed, Jun 1, 2011 at 3:41 PM, Gonzalo Aguilar Delgado
gagui...@aguilardelgado.com 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 it takes to an interface. But not implementation, I looked
 around and seem to find one.


PropertyComponentFactory isn't something that you'd be implementing as
an extender of the framework most likely.  You'll be adding your own
property editors.  For an example of how to do that, take a look at
the Joda stuff probably.

 The idea is great, everything is pluggable. Even property editors as I
 can see in the example.

 The use of your other library, metastopheles, is good enough. The
 problem with it will be automatic detection of links (foreign keys) to
 other clases, specific database types and so on. Something that is
 resolved just sticking to hibernate metadata (I only want one
 persistence engine for now).


Right now, Wicketopia doesn't support automatic editing related
entities.  It's on the to-do list for sure.  Basically, the next big
thing for Wicketopia would be a search abstraction.  Because, to
find an entity to associate with the entity you're editing, most
likely you'll be doing some type of search (unless it's just a
drop-down, but that will not be the case when there are many objects,
obviously).


 Will you discuss about integrating it with dojo libraries?


Sure will!  Alexandros Karypidis is working with me on Wicketopia
right now.  He showed interest by wicket-1.5-izing Wicketopia, so I
just gave him access to SVN and let him have at it.  If you want to
add a dojo module, as long as its scope makes sense to be part of the
framework itself, I see no reason why you can't be made part of the
team!  I don't plan on maintaining this thing all by myself.  The more
the merrier, I say!  We just have to make sure we keep our approach as
user-focused as possible, because Wicketopia is intended to be used by
other folks, not just us. :)

What exactly is it that you want to do with dojo that you can't do
with the built-in ajax libraries?  Are you thinking of using a
specific dojo component of some sort?

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



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 ESB event listener and subsequently the
ESB/Wicket Push Bridge in the Application.init() method (so we think).  The
Application.init() method doens't have access to a component (unless we
create a dummy component)

Has someone done this?  Is this possible?  Any example that can referenced?

Thanks in advance.
- Doug

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Pushing-events-to-Wicket-Push-generated-outside-of-Wicket-tp3567200p3567200.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: 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 FormComponentPanel the getConvertedInput worked as expected.

wicket:panel
form wicket:id=form   This inner form in
the panel was the culprit!
div wicket:id=namesList
label wicket:id=label/label
input wicket:id=name /

/div
/form
/wicket:panel

So this leads into another question: Is the a better solution to making it
work if I can't remove the inner form?


-Clint

On Thu, May 19, 2011 at 11:16 AM, Clint Checketts checke...@gmail.comwrote:

 I'll validate my code again. It is running on Wicket 1.4.1 so maybe it was
 linked to the older version.

 Thanks everyone for the help, its good to know that it is working correctly
 for others.

 -Clint

 On Thu, May 19, 2011 at 7:51 AM, Bertrand Guay-Paquet 
 ber...@step.polymtl.ca wrote:

 Hi,

 I am doing the same kind of processing and it works fine. I have a
 FormComponentPanel with children FormComponentPanels. Here is what the
 convertInput() method looks like for the root FormComponentPanel:
 protected void convertInput() {
// Retrieve all children
final ListFoo fooList = new ArrayListFoo();
foosRepeater.visitChildren(FooFormFields.class,
new IVisitorFooFormFields, Void() {
@Override
public void component(FooFormFields a_object, IVisitVoid
 a_visit) {
Foo foo = a_object.getConvertedInput();
if (foo != null) {
fooList.add(foo);
}
}
});
setConvertedInput(fooList);
 }

 All the children validators are called and their convertedInput is
 properly set.

 Bertrand



 On 16/05/2011 5:35 PM, Clint Checketts wrote:

   I have a FormComponentPanel that contains multiple child formcomponent.
 The purpose of this panel is to be able to add in several cihldren
 dynamically. The end model is supposed to be the list from all the
 children
 component. I get the value in my convertInput() method by iterating over
 all
 the children components, calling each one's getConvertedInput()

 Here's the problem, the child component's values haven't convertedTheir
 input at that point, so i call 'validate()' on each one to trigger that
 coversion.  Is that the right way to approach this? Am i causing
 unneeded/duplicate processing?
 .

 protected void convertInput() {
   final ArrayListT  convertedInputList = new ArrayListT();
   inForm.visitFormComponents(new IVisitor() {
public Object formComponent(IFormVisitorParticipant formComponent) {
 if (formComponent instanceof FormComponent?) {
  FormComponentT  fc = (FormComponentT) formComponent;
  *fc.validate();
 * T convertedInput =  *fc.getConvertedInput();
 * if(null != convertedInput){
   convertedInputList.add(convertedInput);
  }
 }
 return Component.IVisitor.CONTINUE_TRAVERSAL;
}
   });
   setConvertedInput(convertedInputList);
  }

  Thanks,

 -Clint


  -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





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 optionA when user tries to select it. It
goes back to optionB immidietly. 
No wonder the getModelObject() always returns optionB.
Is there any alternative implementation for RadioChoice or it's behaviour to
which I can give a try?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/RadioChoice-model-not-updated-in-tomcat-with-liferay-portal-tp3565419p3567585.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