gt; thanks igor
>
> it did so but the nested form was validating after the FormComponentPanel,
> so the converted inputs of the nested form components were all null...
>
> -
> To unsubscribe, e-mail: users-unsubsc
On 11/25/2010 08:26 PM, Igor Vaynberg wrote:
addressedit should be composing itself in its convertinput() method
based on the converted input of the subcomponents.
thanks igor
it did so but the nested form was validating after the
FormComponentPanel, so the converted inputs of the nested
addressedit should be composing itself in its convertinput() method
based on the converted input of the subcomponents.
-igor
On Thu, Nov 25, 2010 at 5:07 AM, Joseph Pachod wrote:
> Hi
>
> I've an AddressEdit which is a FormComponentPanel
>
> The addressEdit is comp
Hi
I've an AddressEdit which is a FormComponentPanel
The addressEdit is composed of two parts: a structured address and a
displayed text.
The displayed text can be generated from the structured address
(provided the structured address is valid, meaning it has all its field
apart fro
so make it extend it. the same way formcomponentpanel does but minus
the markup bits.
-igor
On Fri, Aug 6, 2010 at 6:01 AM, Joseph Pachod
wrote:
> hi
>
> >
> > List convertedInput ;
> >
> > public void convertInput(){
> > List list= new ArrayLis
hi
>
> List convertedInput ;
>
> public void convertInput(){
> List list= new ArrayList()
> // how to compose the list ?
listeditor.convertinput();
setConvertedInput(listeditor.getconvertedinput());
-igorlisteditor isn't a FormComponent, so there's no convertinput to
, but with
> the wrapper around the list item.
>
> For example (pseudo code):
> public class ContactListEdit extends FormComponentPanel>{
>
> (...)
> private ListEditor contactListEdit ;
>
> onBeforeRender(){
> if(!hasBeenRendered()){
> contactListEdit = new L
FormComponentPanel>{
(...)
private ListEditor contactListEdit ;
onBeforeRender(){
if(!hasBeenRendered()){
contactListEdit = new ListEditor("id",listModel){
void onPopulateItem(item){
item.add(new TextField("firstname", new
PropertyModel(item.getModel(), "first
why not? convertinput() will cascade down to all components that need them.
-igor
On Wed, Aug 4, 2010 at 12:03 AM, Joseph Pachod wrote:
> Igor Vaynberg wrote:
>>
>> visit all the children, check if they are a FormComponent and call
>> convertinput() followed by getconvertedinput()
>>
>> -igor
>>
Igor Vaynberg wrote:
visit all the children, check if they are a FormComponent and call
convertinput() followed by getconvertedinput()
-igor
hi
thanks igor
we thought of that, but the issue is that we need to handle the
getconvertedinput
For example, if I've a ContactListEdit, with each
quot;good form citizen". On our way, we spotted the
> FormComponentPanel, which seems to achieve our goal.
>
> Yet, a question has popped up: how to deal with List edit ? Indeed, none of
> the class extending AbstractRepeater is a form component. As such, there's no
>
hi
IF
we're heavily reusing the edit components we do, and as such we wanted them to
behave as "good form citizen". On our way, we spotted the FormComponentPanel,
which seems to achieve our goal.
Yet, a question has popped up: how to deal with List edit ? Indeed, none of the
Yes I did. Is it better not to not do this?
Regards,
Bernard
On Thu, 29 Jul 2010 16:54:28 -0300, you wrote:
>Hi Bernard, did you call setRequired method on your FormComponentPanel input
>components?
>like: formComponentPanel.fieldOne.setRequired(true)
>
>On Thu, Jul 29, 2010 at
Hello Bernard,
why did you ask a new question in this topic?
I think my issue is lost now :)
Dos anybody have an idea for the original question?
Thanks
Loic
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/WicketTester-and-Palette-component-tp2306743p2307708.html
S
Hi Bernard, did you call setRequired method on your FormComponentPanel input
components?
like: formComponentPanel.fieldOne.setRequired(true)
On Thu, Jul 29, 2010 at 4:33 PM, wrote:
> Hi,
>
> org.apache.wicket.markup.html.form.FormComponentPanel
> aims to act to the outside
Hi,
org.apache.wicket.markup.html.form.FormComponentPanel
aims to act to the outside world as one component.
I want it to behave in a way that it flags missing required input on
behalf of its enclosed components.
Imagine an input component with 4 fields for a credit card number.
If input in an
Hi,
I have implemented a date chooser custom component with 3 combined
DropDownChoice components.
Like
http://blog.aparnachaudhary.net/2009/07/29/date-dropdownchoice-apache-wicket/
My overriding boolean checkRequired() is not called when the form is
submitted.
I then used FormComponentPanel
override convertinput() and check that all three are filled in by
calling getconvertedinput() on the child components
-igor
On Fri, Dec 4, 2009 at 8:39 AM, Sam Barrow wrote:
>
> I have a FormComponentPanel called Name with 3 fields.
> Is there a way to set it up so that by filling o
I have a FormComponentPanel called Name with 3 fields.
Is there a way to set it up so that by filling out one of the fields,
this makes the other ones required?
For example if there is an optional Name field on a form it can be
completely filled out or completely empty, but i dont want somebody
Hi,
I have a FormComponentPanel which contains several select boxes.
Title
Model
Transmission
I'd like to be able to be able to do the following - but not sure how
to achieve it.
MyAwesomeComponent extends FormComponentPanel
new MyAwesomeComponent.add(new OnChangeAjaxBehavior() {
onU
create a quickstart and attach it to a jira issue
-igor
On Tue, May 5, 2009 at 1:47 PM, FlyingMustang wrote:
>
>
> John Krasnay wrote:
>>
>> AddressFormComponent should extend Panel, not FormComponentPanel.
>>
>
> Thank you for yout help! Now AddressFormCompone
John Krasnay wrote:
>
> AddressFormComponent should extend Panel, not FormComponentPanel.
>
Thank you for yout help! Now AddressFormComponent extends from Panel and
fixed the wrong chainigs. I also asserted that the address is NOT null right
before I submit the form in my test-case.
AddressFormComponent should extend Panel, not FormComponentPanel.
FormComponentPanel is used for special cases where you have several
FormComponents that work together to edit a model value, such as a date
editor that has dropdowns for month and day.
On a FormComponentPanel, you have to implement
empty. The PersonFormComponent works well as it only sets some
> String-Properties of the Person-Object. But I have trouble with the
> AddressFormComponent which looks like this:
>
> public class AddressFormComponent extends
> FormComponentPanel {
> protected TextField cityField, postcode
.add(addressFormComponent);
After creation of this Panel I call form.setModelObject(...). So the model
ist not empty. The PersonFormComponent works well as it only sets some
String-Properties of the Person-Object. But I have trouble with the
AddressFormComponent which looks like this:
public class Add
show us your code.
-igor
On Tue, May 5, 2009 at 10:04 AM, Marc Hauptmann wrote:
> Hello,
>
> I want to use FormComponentPanels in forms to deal with more complex
> model-objects. I think it should be possible to chain the Model of every
> FormComponentPanel to the Model of the
Hello,
I want to use FormComponentPanels in forms to deal with more complex
model-objects. I think it should be possible to chain the Model of every
FormComponentPanel to the Model of the Form. So every FormComponent has
automatically the right data in its Model when it changes. But somehow I
van der Pal wrote:
>
> Arg, I wanted to make my changes bold. But now I see stars. Not sure if
> you get those too, but if you do: leave out the stars :)
>
--
View this message in context:
http://www.nabble.com/FormComponentPanel-woes-tp22720502p22721785.html
Sent from the W
ender, which prepares for
rendering,
and convertInput, which handles receiving input."
So your code would become something like this:
public class LimitedTextArea extends FormComponentPanel implements
IHeaderContributor {
*private String text;
private TextArea textField;
*public LimitedTextA
edTextArea extends FormComponentPanel implements
IHeaderContributor {
*private String text;
private TextArea textField;
*public LimitedTextArea(String id, IModel model, int limit) {
super(id, model);
* PropertyModel textModel = new PropertyModel(this, "text");*
tan.k...@gmail.com]
Gesendet: Donnerstag, 26. März 2009 13:52
An: users@wicket.apache.org
Betreff: RE: FormComponentPanel woes
Hi Stefan
You have completely lost me on this one.
All I want to do is have my TextArea (contained within my
FormComponentPanel) to render properly without sticking arbitrary bi
Hi Stefan
You have completely lost me on this one.
All I want to do is have my TextArea (contained within my
FormComponentPanel) to render properly without sticking arbitrary bits of
markup inside itself.
That markup you have quoted is being generated by Wicket - not by me :(
Stefan Lindner
Should do it
-Ursprüngliche Nachricht-
Von: triswork [mailto:tristan.k...@gmail.com]
Gesendet: Donnerstag, 26. März 2009 13:14
An: users@wicket.apache.org
Betreff: Re: FormComponentPanel woes
Hi Linda,
No, I haven't :(
I didn't realise I had to... Do you know where I can
I found it in the book Wicket in Action.
triswork wrote:
Hi Linda,
No, I haven't :(
I didn't realise I had to... Do you know where I can find some documentation
explaining this?
Thanks
T
Linda van der Pal wrote:
Hi
Did you override onBeforeRender and convertInput?
Regards,
Linda
mething?
>
> Cheers - Steve
>
--
View this message in context:
http://www.nabble.com/FormComponentPanel-woes-tp22720502p22720956.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: us
iew this message in context:
http://www.nabble.com/FormComponentPanel-woes-tp22720502p22720806.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For ad
s, that my text area is
always rendered containing its own HTML.
Basically, I have:
public class LimitedTextArea extends FormComponentPanel implements
IHeaderContributor {
public LimitedTextArea(String id, IModel model, int limit) {
super(id, model);
TextArea textField = ne
that my text area is
always rendered containing its own HTML.
Basically, I have:
public class LimitedTextArea extends FormComponentPanel implements
IHeaderContributor {
public LimitedTextArea(String id, IModel model, int limit) {
super(id, model);
TextArea textField = new Tex
ublic class LimitedTextArea extends FormComponentPanel implements
IHeaderContributor {
public LimitedTextArea(String id, IModel model, int limit) {
super(id, model);
TextArea textField = new TextArea("content", model);
add(textField);
...
}
}
And it
problem is that selectedGenre stays null. So I'm looking for the
cause of that. My guess is that it is because the model isn't updated.
(I did implement convertInput() in GenreFieldSwitchPanel, which
extends FormComponentPanel.)
Linda
jWeekend wrote:
Linda,
Take a look at AjaxFormC
ays null. So I'm looking for the
cause of that. My guess is that it is because the model isn't updated.
(I did implement convertInput() in GenreFieldSwitchPanel, which extends
FormComponentPanel.)
Linda
jWeekend wrote:
Linda,
Take a look at AjaxFormComponentUpdatingBehavior.
Regar
Linda,
Take a look at AjaxFormComponentUpdatingBehavior.
Regards - Cemal
http://jWeekend.com jWeekend
Linda van der Pal wrote:
>
> I have a FormComponentPanel that contains a TextField and a
> DropDownChoice. Of those two only one is visible at any moment. (The
> TextField
I have a FormComponentPanel that contains a TextField and a
DropDownChoice. Of those two only one is visible at any moment. (The
TextField is there for when the DropDownChoice doesn't offer the wanted
result.) On the panel that contains the FormComponentPanel, I want
another element to re
I've got a custom date picker component that extends
FormComponentPanel and I include it in my markup with.
[date picker]
The component uses a hidden form field to store an ISO formatted date
value and a display field to show the localised full date.
It's the hidden field that
FYI, you are awesome.
Always obvious what the problem is after its fixed hey ;)
igor.vaynberg wrote:
>
> then just"model.object" will do :)
>
> -igor
>
--
View this message in context:
http://www.nabble.com/Using-CompoundPropertyModel-with-FormComponentPanel-tp20
>>
>> String.format("model.object.%s", id)));
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/Using-CompoundPropertyModel-with-FormComponentPanel-tp20697019p20709911.html
> Sent from the Wicket - User mailing list archive at Nabble.co
ned for class:
class java.lang.String expression: name
Rgds
Ned
igor.vaynberg wrote:
>
> String.format("model.object.%s", id)));
>
>
--
View this message in context:
http://www.nabble.com/Using-CompoundPropertyModel-with-FormComponentPanel-tp20697019p20709911.html
Sent from
t; through.
>
> I've gotta be close!
>
>
> /* the class itself */
>
> private final FormComponentLabel label;
> private final Label labelText;
> private final TextField editor;
> private Fragment componentFragment;
>
> public class LabelledTextField
ahhh, didnt catch that you were doing that..
Ned Collyer wrote:
I'm going to be sourcing the labelText from a properties file relatve to the
class of the modelObject (in this case it will be the User - eg,
user.properties).
If I use the binding, then I need to have scope to the CPM in java worl
l("labelText", CPM.bind("propertyname"));
>
> You can also do this for your property models btw...
>
--
View this message in context:
http://www.nabble.com/Using-CompoundPropertyModel-with-FormComponentPanel-tp20697019p20699724.html
Sent from
!
/* the class itself */
private final FormComponentLabel label;
private final Label labelText;
private final TextField editor;
private Fragment componentFragment;
public class LabelledTextField extends FormComponentPanel {
public LabelledTextField(String id) {
super(id);
I'm not sure how to get the textfield "editor" working on the property "name"
of the user object - I am aware the CPM is trying to look at the id "editor"
which is wrong :).
--
View this message in context:
http://www.nabble.com/Using-CompoundPr
h from wicketopia - which I've had a good dig
through.
I've gotta be close!
/* the class itself */
private final FormComponentLabel label;
private final Label labelText;
private final TextField editor;
private Fragment componentFragment;
public class LabelledTextField extends FormCompo
On Fri, 05 Sep 2008, Lutz Müller wrote:
> I expected problems, mostly because the enclosing div (the panels container)
> gets the onchange listener added. but to my surprise, an js event was
> generated when i changed the selected value in one of the select elements,
> and
People who know more
Hello all,
I created a Component called TimePanel which is a FormComponentPanel
containing two DropDownChoices. As you may have guessed from the components
name, its used to input time. It is intended to be used with Jodas LocaTime as
a ModelObject. One DDC is for hours, the other one for
: [text field] Add
I have implemented the component as a
FormComponentPanel>, with
AjaxLink's to realize the remove links (x) and with an AjaxSubmitLink
for
the Add button.
The remove links work but the Add button's onSubmit() always fails
with a
NullPointerException when it tri
component:
public String getInnerMarkupId() {
return dateField.getMarkupId();
}
Please let me know if there's a better solution.
And whether it would make sense to add this method to
FormComponentPanel so that subclasses can override it to return the
markupid of their 'main' formcompon
Hello,
How can I add a SimpleFormComponentLabel for an
org.apache.wicket.extensions.yui.calendar.DateField ?
The problem is that the SimpleFormComponentLabel uses the markupid of
the DateField itself
instead of the markupid of the nested DateTextField.
This code
DateField departure = new Da
instead of invalid() call error(msg);
-igor
On Tue, Jun 17, 2008 at 8:01 AM, NTS <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I have written a simple date component with 3 dropdowns using
> FormComponentPanel.
> In the method convertInput, I am doing
>
>
Hi,
I have written a simple date component with 3 dropdowns using
FormComponentPanel.
In the method convertInput, I am doing
Integer day = (Integer) day.getConvertedInput();
Integer month = (Integer) month.getConvertedInput();
Integer year = (Integer
Since the validator is custom can't you make the validator send the
error to the formcomponentpanel instead of the inner component. then
hasErrorMessage will work automatically.
Maurice
On Thu, May 1, 2008 at 9:43 PM, Clay Lehman <[EMAIL PROTECTED]> wrote:
> Hey Everyone,
>
>
Hey Everyone,
I have made a FormComponentPanel that contains components in it. I add
a custom validator to the inner component to validate the input.
However, when I call hasErrorMessage on the FormComponentPanel, it
always returns false, even if the custom validator found a problem.
Is
b info is
> actually what I need, so this should work.
>
> Michael
>
>
> -Original Message-
> From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
>
>
> Sent: Monday, April 14, 2008 5:48 PM
> To: users@wicket.apache.org
> Subject: Re: Good example for FormComp
FormComponentPanel?
On Mon, Apr 14, 2008 at 3:52 PM, Michael Mehrle <[EMAIL PROTECTED]>
wrote:
> Oh, I think you misunderstood
no, i didnt. instead of all this theorizing why dont you try to
implement this and see what the problems with it are. you will find
that since tabbed panel uses are regu
ay, April 14, 2008 3:33 PM
> To: users@wicket.apache.org
> Subject: Re: Good example for FormComponentPanel?
>
> yes, those links. by default they are regular a href links, so they
> wont submit the values of components that are inside the tab. you can
> override tabbedpane
e: Good example for FormComponentPanel?
yes, those links. by default they are regular a href links, so they
wont submit the values of components that are inside the tab. you can
override tabbedpanel.newlink and return a submitlink instead.
-igor
On Mon, Apr 14, 2008 at 3:28 PM, Michael Mehrle &l
he.org
> Subject: Re: Good example for FormComponentPanel?
>
> if you replace tabbedpanel links to submitlink it will
>
> -igor
>
>
> On Mon, Apr 14, 2008 at 12:51 PM, Michael Mehrle
> <[EMAIL PROTECTED]> wrote:
> > So, a form CAN contain a pa
FormComponentPanel?
if you replace tabbedpanel links to submitlink it will
-igor
On Mon, Apr 14, 2008 at 12:51 PM, Michael Mehrle
<[EMAIL PROTECTED]> wrote:
> So, a form CAN contain a panel? Meaning, I am able to add a
tabbedpanel
> to a form and it'll work?
>
> Michael
>
&g
t;
>
> -Original Message-
> From: Nick Heudecker [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 14, 2008 10:29 AM
> To: users@wicket.apache.org
> Subject: Re: Good example for FormComponentPanel?
>
> A FormComponentPanel is used to combine several individual form
>
So, a form CAN contain a panel? Meaning, I am able to add a tabbedpanel
to a form and it'll work?
Michael
-Original Message-
From: Nick Heudecker [mailto:[EMAIL PROTECTED]
Sent: Monday, April 14, 2008 10:29 AM
To: users@wicket.apache.org
Subject: Re: Good example for FormComponent
DateTimeField extends FormComponentPanel
On Fri, Apr 11, 2008 at 7:37 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote:
> I need to build a TabbedPanel with three tabs which are part of one form
> - the selected tab will contain form components which need to be
> submitted by th
A FormComponentPanel is used to combine several individual form components
into a single object, like if you had year/month/day DropDownChoices in a
single component.
AFAIK, forms can contain anything except pages.
On Mon, Apr 14, 2008 at 12:26 PM, Michael Mehrle <[EMAIL PROTECTED]>
wrote
I am pretty sure that a tabbed panel can't be part of one form. If it can, that
would be lovely. But I was under the impression that you can't add panels to a
form.
Could someone clarify this for me? BTW, one of the things I tried was to make
each panel into a FormComponentPanel an
ign decision is out of my
> hand. It's got to have tabs. Of course it is possible to do the tabbing by
> CSS styling, but I wanted to see if FormComponentPanel is a way to go since
> the complexity of managing the tabbed panel would then be shifted to the
> CSS/JS side.
>
Yes, I agree, Vitaly - but unfortunately the design decision is out of my hand.
It's got to have tabs. Of course it is possible to do the tabbing by CSS
styling, but I wanted to see if FormComponentPanel is a way to go since the
complexity of managing the tabbed panel would then be shift
; submitted by that one form. It seems FormComponentPanel is the way to
> go: are there any good examples of this?
>
>
>
> Also, would this be the recommended approach?
>
>
>
> Thanks,
>
>
>
> Michael
>
>
I need to build a TabbedPanel with three tabs which are part of one form
- the selected tab will contain form components which need to be
submitted by that one form. It seems FormComponentPanel is the way to
go: are there any good examples of this?
Also, would this be the recommended approach
: Problem with using RadioGorup and AjaxEventBehavior in a
FormComponentPanel
in onupdate you should be calling getmodelobject()
-igor
On Thu, Mar 20, 2008 at 10:55 AM, Zhubin Salehi
<[EMAIL PROTECTED]> wrote:
> OK, now I changed my code to this:
>
> add(nanp = new Ra
hen I click on a radio button and
> > onUpdate() gets called, RadioChoice.convertedInput is null.
> >
> >
> > -----Original Message-
> > From: Zhubin Salehi [mailto:[EMAIL PROTECTED]
> >
> > Sent: Thursday, March 20, 2008 1:17 PM
> > T
gets called, RadioChoice.convertedInput is null.
>
>
> -Original Message-
> From: Zhubin Salehi [mailto:[EMAIL PROTECTED]
>
> Sent: Thursday, March 20, 2008 1:17 PM
> To: users@wicket.apache.org
>
>
> Subject: RE: Problem with using RadioGorup and AjaxEventBeha
en I click on a radio button and
onUpdate() gets called, RadioChoice.convertedInput is null.
-Original Message-
From: Zhubin Salehi [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 1:17 PM
To: users@wicket.apache.org
Subject: RE: Problem with using RadioGorup and
, March 20, 2008 1:07 PM
To: users@wicket.apache.org
Subject: Re: Problem with using RadioGorup and AjaxEventBehavior in a
FormComponentPanel
right. see AjaxFormChoiceComponentUpdatingBehavior
-igor
On Thu, Mar 20, 2008 at 10:02 AM, Zhubin Salehi
<[EMAIL PROTECTED]> wrote:
> I
ngBehavior
> can only be added to a FormComponent.
>
>
> -Original Message-
> From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
>
>
> Sent: Thursday, March 20, 2008 12:59 PM
> To: users@wicket.apache.org
> Subject: Re: Problem with using RadioGorup and AjaxEv
08 12:59 PM
To: users@wicket.apache.org
Subject: Re: Problem with using RadioGorup and AjaxEventBehavior in a
FormComponentPanel
are you adding the bheavior to Radio or RadioGroup, it needs to go to
Radio components
-igor
On Thu, Mar 20, 2008 at 6:21 AM, Zhubin Salehi <[EMAIL PROTECTED]>
wro
;
> -Original Message-
> From: Zhubin Salehi [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 20, 2008 9:18 AM
> To: users@wicket.apache.org
>
>
> Subject: RE: Problem with using RadioGorup and AjaxEventBehavior in a
> FormComponentPanel
>
> onclick
AjaxEventBehavior in a
FormComponentPanel
onclick doesn't work either.
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 1:56 AM
To: users@wicket.apache.org
Subject: Re: Problem with using RadioGorup and AjaxEventBehavior in a
FormComponent
onclick doesn't work either.
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 1:56 AM
To: users@wicket.apache.org
Subject: Re: Problem with using RadioGorup and AjaxEventBehavior in a
FormComponentPanel
also, for what its worth, on
> I do?
> >
> > Thanks,
> > Zhubin
> >
> >
> >
> > -Original Message-
> > From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 19, 2008 6:04 PM
> > To: users@wicket.apache.org
> > Subject: Re: Problem
> From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 19, 2008 6:04 PM
> To: users@wicket.apache.org
> Subject: Re: Problem with using RadioGorup and AjaxEventBehavior in a
> FormComponentPanel
>
> ajax event behavior does not send over input. try
>
--
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2008 6:04 PM
To: users@wicket.apache.org
Subject: Re: Problem with using RadioGorup and AjaxEventBehavior in a
FormComponentPanel
ajax event behavior does not send over input. try
ajaxformcomponentupdatingbehavior.
-igor
O
ajax event behavior does not send over input. try
ajaxformcomponentupdatingbehavior.
-igor
On Wed, Mar 19, 2008 at 2:19 PM, Zhubin Salehi <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm trying to update some TextFields in a FormComponentPanel when the user
> select
Hi all,
I'm trying to update some TextFields in a FormComponentPanel when the user
selects a radio button from a RadioGroup.
Here is a fragment of my code that created Radio and RadioGroup objects:
add(nanp = new RadioGroup("nanp", new PropertyModel(this,
&q
gt;
>> -igor
>>
>
> Thank you.
> But I still can add validators as following :
> add(new TextField("year" , new PropertyModel(time , "year")).add(
> NumberValidator.POSITIVE));
>
> And it still works (including the validator)
2008/1/12, Igor Vaynberg <[EMAIL PROTECTED]>:
>
> first you should implement convertintput() not setconvertedinput().
> inside your impl of convertinput() you should call setconvertedinput()
> with the right value.
Sorry , it's my typo , I meant convertInput() as you mentioned.
this is indeed im
will
need to implement the method.
-igor
On Jan 11, 2008 8:59 AM, smallufo <[EMAIL PROTECTED]> wrote:
> Hi , I am evaluating FormComponentPanel .
> I looked into the document , it seems setConvertedInput() is the proper way
> .
> I use another method , which skips the setConverte
Hi , I am evaluating FormComponentPanel .
I looked into the document , it seems setConvertedInput() is the proper way
.
I use another method , which skips the setConvertedInput() , I don't know if
it is suggested :
Here is the code :
public class TimePanel extends FormComponentPanel
{
pr
On Mon, 26 Nov 2007, Franklin Antony wrote:
> I have a situation where in which I have a FormComponentPanel. This
> FormComponentPanel is placed on Form and the Form in turn placed on a Page.
> Now when I instantiate the page I set a model on the page using setModel(new
> CompoundP
Dear Friends,
I have a situation where in which I have a FormComponentPanel. This
FormComponentPanel is placed on Form and the Form in turn placed on a Page.
Now when I instantiate the page I set a model on the page using setModel(new
CompoundPropertyModel(myModel)). Further I DO NOT pass
Yeah, trunk JavaDoc, 1.3b2 code. I'll seek to keep the two sync'd in future.
Thx.
Igor Vaynberg wrote:
what javadoc are you looking at? The one online is based on trunk
-igor
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Okay, I cannot find it in the 1.3.0-beta2 source JAR from Maven. I'll query
about the possibility of switching to b3 to fix this.
Gwyn Evans wrote:
Some form of issue - it's definitely in 1.3.0b3
(D:\Wicket\apache-wicket-1.3.0-beta3\src\jdk-1.4\wicket\src\main\java\org\apache\wicket\markup\ht
101 - 200 of 217 matches
Mail list logo