>>> [com.ibm.ws.webcontainer.jar:na]
> >>> at
> >>> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
> >>> [com.ibm.ws.runtime.jar:na]
> >>> at
> >>> com.ibm.ws.htt
s.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
>>> [com.ibm.ws.runtime.jar:na]
>>> at
>>> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
>>> [com.ib
If it helps here is the full ClassificationPanel class:
-
class ClassificationsPanel extends
FormComponentPanel {
private static final long serialVersionUID = 1L;
private static final String TOGGLE_CLASS = "list-group-item-warning";
public ClassificationsPanel(String
s.runtime.jar:na]
>> at
>> com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1833)
>> [com.ibm.ws.runtime.jar:na]
>> at
>> com.ibm.ws.tcp.channel.impl.WorkQueueManager.re
.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:985)
> [na:CCX.CF [o1800.01]]
>at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1074)
> [na:CCX.CF [o1800.01]]
>at
> com.ibm.ws.util.ThreadPool$Worker.run(Thread
FormComponent, however ClassificationPanel extends FormComponentPanel
class ClassificationsPanel extends
FormComponentPanel {
...
}
I’m sure there’s a simple answer here but I’m not seeing it. It’s only
happening on WebSphere and are not seeing this behavior on test Jetty
environment. We are using
our app has a phone number field like ###-###- x## on the page
<http://apache-wicket.1842946.n4.nabble.com/file/t375760/phone_number_fields.png>
We define a phone number class as FormComponentPanel in our app like below
public class PhoneFormComponent extends FormComponen
e.com/FormComponentPanel-with-input-type-test-tag-tp4676516p4676520.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: us
27;s a work : I thought for FormComponentPanel.class
> it's necessary to have a tag like (with open and close tag) :
> it
> is normal ?
>
> * when I update the afterFieldComponent (FormComponentPanel) by ajax
> (AjaxRequestTarget) the label () is add (not replace) on the dom
&g
en I update the afterFieldComponent (FormComponentPanel) by ajax
(AjaxRequestTarget) the label () is add (not replace) on the dom each
time a update the afterFieldComponent : I think it's a bug
Best regarde
Duto
-
Duto
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/For
n, Mar 7, 2016 at 3:24 PM, Sven Meier wrote:
>>
>> Hi,
>>>
>>> it always has been that way.
>>> I'm not aware of any benefit which would justify a change - besides
>>> consistency.
>>>
>>> Have fun
>>> Sven
>>&
2016 at 3:24 PM, Sven Meier wrote:
Hi,
it always has been that way.
I'm not aware of any benefit which would justify a change - besides
consistency.
Have fun
Sven
On 07.03.2016 15:10, Patrick Davids wrote:
Hi Wicket Pros,
is it bug or an feature, that FormComponentPanel is not overri
t aware of any benefit which would justify a change - besides
> consistency.
>
> Have fun
> Sven
>
>
>
> On 07.03.2016 15:10, Patrick Davids wrote:
>
>> Hi Wicket Pros,
>>
>> is it bug or an feature, that FormComponentPanel is not overriding
>> clearI
Hi,
it always has been that way.
I'm not aware of any benefit which would justify a change - besides
consistency.
Have fun
Sven
On 07.03.2016 15:10, Patrick Davids wrote:
Hi Wicket Pros,
is it bug or an feature, that FormComponentPanel is not overriding
clearInput() to delegat
Hi Wicket Pros,
is it bug or an feature, that FormComponentPanel is not overriding
clearInput() to delegate the clearing to its inner FormComponents?
For me, it should behave the same way, when extending FormComponent.
But I'm not sure here about consequences...
(As I ca
OK . It seems I figure it out ...
add(yangDayChoice = new DropDownChoice<>(
"day",
new PropertyModel(localDate, "dayOfMonth") {
@Override
public void setObject(Integer value) {
LocalDate ld = getModelObject();
LocalDate ld2 = LocalDate.of(ld.getY
2015-06-08 14:36 GMT+08:00 Martin Grigorov :
>
> MyFormComponentPanel.this.setModelObject(getModelObject().withDayOfMonth(DayOfMonth));
>
Excuse me
Where should I put this code to ?
DatePanel's constructor ?
or override DropDownChoice's some method ?
or DatePanel's convertInput() ?
or somewhere
g and Consulting
https://twitter.com/mtgrigorov
On Mon, Jun 8, 2015 at 5:27 AM, smallufo wrote:
> Hi :
> I have a question about immutable object in FormComponentPanel .
> If the object doesn't have setters , how to correctly handle it ?
> for example : Java8's Loca
Hi :
I have a question about immutable object in FormComponentPanel .
If the object doesn't have setters , how to correctly handle it ?
for example : Java8's LocalDate , it only has getYear() , getMonthValue() ,
getDayOfMonth()
no setters.
And in my code :
public class DatePan
;
> Why dont you delegate to your inner textfiled by implementing an own
> setXYZModel()-method?
>
> Or bind your inner textfield direct by providing a particular model in
> your Constructor of your custom MyFormComponentPanel?
> And no onInitialize()-method...
>
> public clas
()-method...
public class MyFormComponentPanel extends FormComponentPanel {
public MyFormComponentPanel(IModel myModel){
add(new TextField("id", myModel));
}
}
(add generics if needed)
Patrick
Am 08.04.2015 um 09:27 schrieb mscoon:
Hi all,
I have a FormComponentPanel. Is it
Hi all,
I have a FormComponentPanel. Is it okay if I set its components models
using a behavior that overrides onConfigure() as below?
public class MyFormComponentPanel extends FormComponentPanel {
protected void onInitialize() {
super.onInitialize();
componentA = new
side
> the test?
>
> I fear I am missing something really obvious in my tests.
>
> Thanks, once more,
> Lucas
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Unit-testing-FormComponentPanel-tp4666900p4666923.html
> Sent from
n context:
http://apache-wicket.1842946.n4.nabble.com/Unit-testing-FormComponentPanel-tp4666900p4666923.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.o
ect I need to pass to tester.executeAjaxEvent(), please?
Thanks, once more,
Lucas
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Unit-testing-FormComponentPanel-tp4666900p4666914.html
Sent from the Users forum mailing list archive at Nabbl
ining and Consulting
https://twitter.com/mtgrigorov
On Wed, Aug 6, 2014 at 1:38 PM, lucast wrote:
> Dear Forum,
> I am trying to unit test a FormComponentPanel. I would like to populate its
> fields and test some ajax behaviour as well.
>
> Is it possible to test a FormComponentP
Dear Forum,
I am trying to unit test a FormComponentPanel. I would like to populate its
fields and test some ajax behaviour as well.
Is it possible to test a FormComponentPanel and its behaviour in isolation
and not as part of a form?
How can this be achieved? For testing a form, I call
Is
e via form
submit. Maybe I am missing something.
Thanks,
Lucas
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/getting-values-from-FormComponentPanel-outside-form-onSubmit-tp4664462p4664498.html
Sent from the Users forum mailing list arch
Why wouldn’t you just use the defaultFormProcessing an add the converted value
of the FormComponentPanel to the list inside your onSubmit method?
Best,
Marvin
Am 14.02.2014 um 18:14 schrieb lucast :
> Dear forum,
>
> I have implemented a FormComponentPanel as suggested both in t
FormComponentPanel.getConvertedInput(), which in turns calls
FormComponentPanel.convertInput().
Not true.
See FormComponentPanel#onEvent() on how to properly process a single
FormComponent.
Regards
Sven
On 02/14/2014 06:14 PM, lucast wrote:
Dear forum,
I have implemented a
Dear forum,
I have implemented a FormComponentPanel as suggested both in the Apache
Wicket Cookbook (chapter 2) and wicket guide (chapter 12.8)
<http://wicket.apache.org/guide/guide/forms2.html#forms2_8> .
Before I submit the form, I would like to have the option of adding the
conten
cific sort of inputs needs to be derived from
FormComponentPanel. One of these simply contains a
DropDownChoice of which the model object is simply
passed through.
In some context I added an OnChangeAjaxBehavior to this
component and found that in its onChange() method the
component's model
al Message-
From: Richard W. Adams [mailto:rwada...@up.com]
Sent: Monday, May 20, 2013 12:54 PM
To: users@wicket.apache.org
Subject: RE: DropDownChoice in FormComponentPanel
I'm not finished investigating this yet, but my preliminary findings
indicate that the solution (at least in my c
Paul Bors
To:
Date: 05/20/2013 11:35 AM
Subject:RE: DropDownChoice in FormComponentPanel
Simplest way I can think of is something like:
@Override
protected void onBeforeRender() {
if(isValid()) {
dropDown.getFormField().setDefaultModel(getDe
) {
setConvertedInput(dropDown.getConvertedInput());
}
...
}
But it really depends on what your FormComponentPanel is wrapping and how
you share its model among the child components.
Refer to the Wicket Users Guide section 1.8 "Creating comples form
components with FormComponentPanel":
http://wicket.
I have a FormComponentPanel with both string fields & DropDownChoice
controls. How do I get the drop downs' current selections from inside my
override of convertInput()?
I can get the string fields' values by calling the fields' convertInput()
methods, but when I call co
N/M, forgot about the valid() method J
~ Thank you,
Paul Bors
From: Paul Bors [mailto:p...@bors.ws]
Sent: Friday, May 17, 2013 5:35 PM
To: users@wicket.apache.org
Subject: FormComponentPanel resets my user's input when an error is reported
Suppose I want to preserve my u
Suppose I want to preserve my user's raw input when I wrap some form fields
inside a FormComponentPanel after an error is generated, would I be wrong to
only update my form field's model only for the first time around and
thereafter only for Ajax requests?
I've notice that the
rocessing.
Or is it other better way?
Thanks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how-can-I-get-the-input-value-of-a-customized-formcomponentpanel-tp4657375.html
Sent from the Users forum mailing list a
Have you tried this:
https://cwiki.apache.org/WICKET/creating-custom-formcomponentpanels-to-build-valid-objects-using-wickets-form-validation-logic.html
~ Thank you,
Paul Bors
On Thu, Mar 14, 2013 at 9:39 AM, Jeremy Levy wrote:
> I have a FormComponentPanel with 3 TextFields. I'd
You should set up your nested components with appropriate models.
See DateTimeField for inspirations.
Regards
Sven
On 03/11/2013 04:16 PM, Patrick Davids wrote:
Hi all,
I'm implementing a FormComponent which devides Date from Time in two
input fields.
It results in a simple Date Object... due
Hi all,
I'm implementing a FormComponent which devides Date from Time in two
input fields.
It results in a simple Date Object... due to the method convertInput().
Works so far...
But how to fill/load the FormComponent fields by Date on init?
I'm looking for the counterpart of convertInput(), so
Yikes! You're right. OnError() was called instead of onSubmit(). (Hides
red face & slinks away...)
From: Sven Meier
To: users@wicket.apache.org
Date: 03/01/2013 12:24 PM
Subject:Re: AjaxSubmitLink.onSubmit() Not Called in
FormComponentPanel
Do you have unrendered
Do you have unrendered feedback messages?
Override #onError() and see if it gets invoked.
Sven
On 03/01/2013 06:53 PM, Richard W. Adams wrote:
I created an AjaxSubmitLink in a FormComponent Panel, and set a break
point in its onSubmit() method. For some reason, the breakpoint never gets
hit whe
I created an AjaxSubmitLink in a FormComponent Panel, and set a break
point in its onSubmit() method. For some reason, the breakpoint never gets
hit when I click the link. I've used an AjaxSubmitLink on a normal,
non-panel page successfully, and modeled the panelized link after that, so
am not
;
always null
So just about all combinations still seem to only return null :-(
I put the code for my FormComponentPanel up on pastebin:
http://pastebin.com/AMvYbv2B
Any insight would be great.
Thanks...
Bill-
On Wed, Dec 12, 2012 at 10:57 PM, Colin Rogers <
colin.
avior?
Can you post the non-working code up if those suggestions don't solve it? I'd
be happy to have a look at it.
Cheers,
Col.
-Original Message-
From: William Speirs [mailto:wspe...@apache.org]
Sent: Thursday, 13 December 2012 1:51 PM
To: users
Subject: FormComponentPanel &am
o: users
>Subject: FormComponentPanel & onchange Events
>
>I've created a FormComponentPanel with 2 text boxes: A & B. I've add
this
>new FormComponentPanel to my page twice: 1 & 2. What I'd like to have
>happen is when I change the value of 1A I want that same value
I've created a FormComponentPanel with 2 text boxes: A & B. I've add this
new FormComponentPanel to my page twice: 1 & 2. What I'd like to have
happen is when I change the value of 1A I want that same value copied into
2A.
I call setOutputMarkupId to true on 1A, 1B,
Thanks, your suggestion solved my problem. Greetings from Spain.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654594.html
Sent from the Users forum mailing list archive at Nabble.com
Hi Raul,
there are a few things to improve here:
- in your case you don't need to extend FormComponentPanel
- if you really want to control the textField's inputName, you have to
let the component know about it
- usage of models could be improved.
See here for some id
Here is the example to prove it's package it and deploy it in an application
server.
http://ul.to/ymfabds0
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654586.html
Sent from the Users forum ma
Paul Bors wrote:
> Assuming that you don't set a model for the FormComponet won't Wicket fail
> back to the CompountPropertyModel of the form?
Yes, for sure. But you explicitly recommended:
>> If you're using CompoundPropertyModel and set the model on your
>
after submit, using FormComponentPanel
I created a quickstart, Where I can upload it for what you may see?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-
FormComponentPanel-tp4654441p4654566.html
Sent from the Users forum mailing list
Assuming that you don't set a model for the FormComponet won't Wicket fail
back to the CompountPropertyModel of the form?
Who will perform the conversion then?
I only override FormComponentPanel#convertInput() when I force my clients to
provide the model for my FormComponentPanel and e
I created a quickstart, Where I can upload it for what you may see?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654566.html
Sent from the Users forum mailing list archive at Nabble.com
Paul Bors wrote:
> I would suggest overriding FormComponentPanel#convertInput() only if your
> domain object can't be easily converted by Wicket given the model you have.
>
> If you're using CompoundPropertyModel and set the model on your
> FormComponentPanel then y
I would suggest overriding FormComponentPanel#convertInput() only if your
domain object can't be easily converted by Wicket given the model you have.
If you're using CompoundPropertyModel and set the model on your
FormComponentPanel then your TextField ID and type should be all yo
I've tried to override FormComponentPanel#convertInput (), but in the
execution of this, both the method TextField#getConvertedInput () and
TextField#getModelObject () return null. By the way I'm using Wicket 6.3
--
View this message in context:
http://apache-wicket.1842946.n4.
Hi,
I think you need to override FormComponentPanel#convertInput().
Cheers,
Tobias
Thanks for the reply, I tried to use the component on the form with the
object
CompoundPropertyModel. As follows,
ccc = new CustomerAccountCode("ccc",
new CompoundPropertyModel(new Account(con
correctly displayed data, but when
you throw the "onSubmit" form, the model
the "ccc.getModelObject()" still returns null.
//New implementation
public class CustomerAccountCode extends
FormComponentPanel {
private FormComponent entity;
Take a look at https://cwiki.apache.org/WICKET/working-with-wicket-models.html
Okay so Account is the type of the model object and your FormComponentPanel
seem to work off a CustomerAccountCodeModel:
>> CustomerAccountCodeModel ccc = getModelObject();
If I'm understanding this right
I tried to use CompoundPropertyModel in CustomerAccountCode object
constructor, and similarly
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654490.html
Sent from the Users forum mailing list archive
Raul wrote:
> Thank Col, But I have no validation, my component code is the code of the
> component is
>
> public class CustomerAccountCode extends
> FormComponentPanel {
>
> private FormComponent entity;
> private FormComponent office;
>
Thank Col, But I have no validation, my component code is the code of the
component is
public class CustomerAccountCode extends
FormComponentPanel {
private FormComponent entity;
private FormComponent office;
private FormComponent dc;
private
.
-Original Message-
From: Raul [mailto:ralva...@netwie.com]
Sent: Tuesday, 4 December 2012 8:35 AM
To: users@wicket.apache.org
Subject: Model is null after submit, using FormComponentPanel
Hello, I want to create a reusable component for use as part of a form, for
this class use
Hello, I want to create a reusable component for use as part of a form, for
this class use FormComponentPanel,
As the following article.
https://cwiki.apache.org/WICKET/creating-custom-formcomponentpanels-to-build-valid-objects-using-wickets-form-validation-logic.html
My problem is that when I
You were right, Sven. It was that simple! Sometimes I can't see the forest
for the trees.
From: Sven Meier
To: users@wicket.apache.org
Date: 11/15/2012 03:41 PM
Subject:Re: No Ajax Model Update in FormComponentPanel
> final Integer newSubdivision = getMod
Richard W. Adams wrote:
I have a drop down choice in a FormComponentPanel, and & need to update
other parts of the panel when the user changes the selected value in the
drop down. My panel class is defined as:
PointLocationPanel extends FormComponentPanel
Its constructor begins like t
I have a drop down choice in a FormComponentPanel, and & need to update
other parts of the panel when the user changes the selected value in the
drop down. My panel class is defined as:
PointLocationPanel extends FormComponentPanel
Its constructor begins like this:
public PointLocationP
Hi,
I decided to just override isRequired() on the child components and let
it delegate to FormComponentPanel.this#isRequired() ... didn't test it
yet but I suppose it should work.
Thanks for your reply!
Tobias
Hi,
Don't think you have to propagate #setRequired() to child components
becau
Hi,
Don't think you have to propagate #setRequired() to child components
because the whole formcomponent is required. But I think you could overrive
#checkRequired() - which is not final - to fit best your use case (which is
called underneath by #validate())
Hope this helps,
Sebastien.
On Mon, O
Hi,
With setRequired() being final, I'm not sure how to propagate a
setRequired() call to my child components ... I found some discussion
about the pro's and con's of having a final setRequired() method () (
http://apache-wicket.1842946.n4.nabble.com/VOTE-setRequired-final-or-not-td1903843.htm
With a normal FormComponent, you can disable default form processing on a
submit button, and still process that component by calling processInput().
This doesn't work with FormComponentPanel, because processInput() doesn't call
the processInput() method of child FormComponents, and i
I cannot replace it at this point of the development... I just need to able
to get accurate date from its model object. Also I really want to learn how
to accomplish this.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Models-in-a-FormComponentPanel
Hi,
See org.apache.wicket.extensions.yui.calendar.DateTimeField.convertInput()
for example
On Mon, Nov 21, 2011 at 5:20 AM, infiniter wrote:
> I've created a FormComponentPanel to represent the current time which
> consists of 3 drop downs for hour and minute and meridiem.
> The m
I've created a FormComponentPanel to represent the current time which
consists of 3 drop downs for hour and minute and meridiem.
The model object of the FormComponentPanel is a Date object and the model of
the drop down represents the selected option, but I need to change the model
object
yep I did it like that and it works
public class Editor extends FormComponentPanel> {
private ListView item;
/**
* If you dont have ArrayList you can always copy your collection to new
ArrayList.
*
* @param id of the control
* @param accounts a list of all accou
On Sat, Apr 23, 2011 at 2:45 PM, kamiseq wrote:
> heh i thought I was smart :] as each component in FormComponentPanel is
> converted and validated so it would be easy to intercept value set on
> components model and add it to List (which is model of whole FCPanel)
> because I
heh i thought I was smart :] as each component in FormComponentPanel is
converted and validated so it would be easy to intercept value set on
components model and add it to List (which is model of whole FCPanel)
because Im not really converting components value to something bigger.
the only
don't set the model already.
On Fri, Apr 22, 2011 at 4:12 AM, kamiseq wrote:
> hej,
> on the second thought I can implement (in this simple case) a model
> backuped
> by List or Set and then let Form (or FormComponentPanel) to process all
> fields.
>
> pozdrawiam
hej,
on the second thought I can implement (in this simple case) a model backuped
by List or Set and then let Form (or FormComponentPanel) to process all
fields.
pozdrawiam
Paweł Kamiński
kami...@gmail.com
pkaminski@gmail.com
__
Override convertInput is a good option. Keep in mind that at this point of
the form processing (converting input), component models will not be updated
yet. So you need to rely on children converted data
(see FormComponet#getConvertedInput) in order to assemble the
FormComponentPanel converted
hi,
Im trying to implement a simple form component that accepts List of Strings
*public class AccountsPanel extends FormComponentPanel>
{
****public AccountsPanel(String id, ArrayList accounts) {
******super(id, new Model(accounts));
buildComponents();
}
}
*and I am us
Thanks again.
Just tried it out and it works perfect.
ContainerFeedbackMessageFilter for my form-comp-panel's feedback panel
allowed it to show it's children messages.
Using a visitor in my invalid-css-class-behavior allowed me to enable the
behavior when one of the children has an error.
This i
Hi Sam, you can change the feedback panel to show not only messages
registered for the panel, but also for the inner components. The Wicket
feedback panel uses the IFeedbackMessageFilter to filter what messages to
display. You can provide one that test if the reporter is an panel children.
See Cont
give the panel containerfeedbackmessagefilter which will filter on the
specified component and any of its children.
-igor
On Wed, Jan 26, 2011 at 9:03 AM, Sam Zilverberg wrote:
> That is an excellent idea.
> However I don't want to just set the panel to be invalid when one of it's
> children is
That is an excellent idea.
However I don't want to just set the panel to be invalid when one of it's
children is invalid.
I'd like to also "steal" its' feedback message.
I want this to happen because I have a feedback panel next to the form
component that shows feedback messages registered to it.
your form component panel should check if any of its children have
error messages as well. use a visitor.
-igor
On Wed, Jan 26, 2011 at 8:32 AM, Sam Zilverberg wrote:
> I have a FormComponentPanel that represents a Time object - not
> java.sql.Time but my own Time object.
> This Ti
I have a FormComponentPanel that represents a Time object - not
java.sql.Time but my own Time object.
This Time object has 2 fields - hours and minutes.
The panel has textfields for the hours and minutes that are defined as class
type Integer.
I have a behavior on the panel that whenever it has
When I use the second solution I gave above, the data I enter in the form is
not saved to the model, and I don't understand why...
I also tried to override convertInput() - still does not work
protected void convertInput() {
> setConvertedInput(getModelObject());
> }
>
For info,
FormComponentPanel {
private Address address = new Address();
private TextField address1;
private TextField address2;
private TextField zipCode;
private TextField city;
private CountryCodeDropDownChoice countryCode;
public AddressField(String id) {
super
between an external model and
a set of individual components ; but in my case, the internal and external
models are the same.
Below is my current code (adapted from Wicket In Action) ; as you can see,
it is very verbose and redundant.
public class AddressField extends FormComponentPanel
On 12/05/2010 09:21 AM, Igor Vaynberg wrote:
the problem is in DecoratedEdit classs, the tmp variable is not
updated with converted input of the inner textfield, so
composeConvertedInput() incorrectly returns null when it should return
the converted input of the inner text component.
hi igo
Oh, I fouled myself
There nothing to do with setType at all and WiA uses explicit call
only instead of generics.
So, if there are code such as mine, all one have to do is properly
assembly object on it's way to model.
private Collection modelField;
@Override
protected void onInitialize()
Anyone? (
On 6 December 2010 15:59, alex shubert wrote:
> Hello!
>
> I got a problem with type mysmatch then implementing custom component.
>
> First of all, the code^
> public class EnumCheckGroup extends
> FormComponentPanel> {
>
> public EnumCheckGroup
Hello!
I got a problem with type mysmatch then implementing custom component.
First of all, the code^
public class EnumCheckGroup extends
FormComponentPanel> {
public EnumCheckGroup(final String id, final IModel> model, final Class enumClass) {
//noinspection unc
the problem is in DecoratedEdit classs, the tmp variable is not
updated with converted input of the inner textfield, so
composeConvertedInput() incorrectly returns null when it should return
the converted input of the inner text component.
-igor
On Thu, Dec 2, 2010 at 2:18 AM, Joseph Pachod wrot
On 11/26/2010 05:41 PM, Igor Vaynberg wrote:
quickstart, jira issue.
-igor
hi igor
I've created a quickstart for it (cf attachement)
however, it may be linked to self made DecoratedEdit/TextFieldEdit
classes (cf attachement again).
As such, I'm not sure if it's a wicket bug or not, so I p
On 11/26/2010 05:41 PM, Igor Vaynberg wrote:
quickstart, jira issue.
thanks, I wasn't sure about creating an issue
I will do then, but since I moved on (removing the nested form), so it
could take a little while (+ we are on 1.4.9, so maybe latest versions
are better there, no clue)
++
1 - 100 of 217 matches
Mail list logo