what javadoc are you looking at? The one online is based on trunk
-igor
On 10/4/07, Michael Laccetti <[EMAIL PROTECTED]> wrote:
> I am using 1.3.0-beta2 - I popped open FormComponent in Eclipse and it
> doesn't seem to exist. Do I have a versioning issue?
>
> Igor Vaynberg wrote:
> > setconvert
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\html\form\FormComponent.java)
On Thursday, October 4, 2007, 4:15:39 PM, Michael <[EMAIL PROTECTED]> wrote:
> I am using 1.3.0-beta2 - I popped open FormC
I am using 1.3.0-beta2 - I popped open FormComponent in Eclipse and it doesn't
seem to exist. Do I have a versioning issue?
Igor Vaynberg wrote:
setconvertedinput() is still there. it is public final void on the
formcomponent.
-igor
--
Input(), as expected. The
> JavaDoc suggests that I call setConvertedInput() from within convertInput(),
> except that setConvertedInput() does not exist. Has this been replaced with
> setModelValue(), and just not reflected in the JavaDoc?
>
> Mike
>
> Michael Laccetti wrote:
&
been replaced with
setModelValue(), and just not reflected in the JavaDoc?
Mike
Michael Laccetti wrote:
I've created a FormComponentPanel that wraps three text fields, to mimic
a phone number. I created a custom validator, which I have added to the
panel. When I submit the form, the validato
did you properly override convertintput() on the formcomponentpanel to
generate an object based on the 3 children? by default it returns null and
validators do not run on null values...
-igor
On 10/4/07, Michael Laccetti <[EMAIL PROTECTED]> wrote:
>
> I've created a FormCo
I've created a FormComponentPanel that wraps three text fields, to mimic
a phone number. I created a custom validator, which I have added to the
panel. When I submit the form, the validator does not seem to be fired.
If I attach the validator to another form component, it fires witho
initialize them lazily then
add(new DropDownChoice("id", new PropertyModel(this, "model")); <== will
evaluate at runtime so if cmp is used it will work.
-igor
On 9/14/07, Joe Toth <[EMAIL PROTECTED]> wrote:
>
> I have a FormComponentPanel, I want it to get an
I have a FormComponentPanel, I want it to get and set a property from
the Form it belongs to who's model is a CompoundPropertyModel.
When the FormComponentPanel is loaded, how can I get the backing model's
object whether someone passes in a Model or it should get it from the
pare
> Please read https://issues.apache.org/jira/browse/WICKET-839 and
> https://issues.apache.org/jira/browse/WICKET-840 and check whether
> this effects you. I didn't have time to look at the wicket-stuff
> projects, but if you are extending FormComponentPanel, you'
All,
Please read https://issues.apache.org/jira/browse/WICKET-839 and
https://issues.apache.org/jira/browse/WICKET-840 and check whether
this effects you. I didn't have time to look at the wicket-stuff
projects, but if you are extending FormComponentPanel, you'll have to
implement che
hrm, what version of wicket are you using?
to me it looks like abstractsingleselectchoice.convertvalue() does convert
id back to choice object.
-igor
On 7/27/07, Stephane Boisson <[EMAIL PROTECTED]> wrote:
>
> Igor said:
> > at the time of convertinput() models are not yet updated. so you shold
Igor said:
> at the time of convertinput() models are not yet updated. so you shold call
> month.getconvertinput() to get the input.
I tried this, but I get the option id not the value..
Ex: The generated HTML for the year dropdown looks like:
1995
1994
1993
(...)
If '1993' is selected yearPick
at the time of convertinput() models are not yet updated. so you shold call
month.getconvertinput() to get the input.
-igor
On 7/27/07, Stephane Boisson <[EMAIL PROTECTED]> wrote:
>
> Well. I tried using a PropertyModel for each DropDownChoice, but same
> results..
> Looks like the model doesn't
Well. I tried using a PropertyModel for each DropDownChoice, but same
results..
Looks like the model doesn't get updated even if each DropDownChoice has a
valid selection..
I looked at the source of Model (Wicket 1.3), and it simply store the value
as a Serializable attribute.. So I should work wi
missing something?
Thank you!
Stéphane
public class ComboDatePicker extends FormComponentPanel {
private Logger log = LoggerFactory.getLogger( ComboDatePicker.class );
private DropDownChoice dayPicker;
private DropDownChoice monthPicker;
private DropDownChoice yearPicker
for converted input I
got the option index instead of the real date..
I am missing something?
Thank you!
Stéphane
public class ComboDatePicker extends FormComponentPanel {
private Logger log = LoggerFactory.getLogger( ComboDatePicker.class );
private DropDownChoice dayPicker;
private
201 - 217 of 217 matches
Mail list logo