itself
off of.
Thanks,
mike
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/property-model-question-tp3681616p3681616.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/property-model-question-tp3681616p3681616.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users
to pass a property model a sublass of IModel to base itself
off of.
Thanks,
mike
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/property-model-question-tp3681616p3681616.html
Sent from the Users forum mailing list archive at Nabble.com
) {
e.printStackTrace();
}
return client;
}
}
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/quick-page-model-question-tp3172678p3173721.html
Sent from the Users forum mailing list archive at Nabble.com
On Tue, Jan 4, 2011 at 9:18 AM, gnugrf gnu...@sdf.lonestar.org wrote:
I set a breakpoint within the load() and when the page first gets constructed
I am able to watch the code get executed. When I refresh, the listview on
the page (which uses a different LDM) does get called again, however
inherited from an abstract class? I
would assume setting it on the detach method in the abstract class. Isnt
this going to make execution stop every time ANY ldm detaches?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/quick-page-model-question-tp3172678p3173857
On Tue, Jan 4, 2011 at 10:28 AM, gnugrf gnu...@sdf.lonestar.org wrote:
Jeremy thanks for your patience, I have a couple of questions about your
replies.
1. If my constructors for the page are
public ManageClientPage(long id){this(new ClientLDM(id));}
public
with dynamic models e.g
propertymodels referencing the page model.
You saved me weeks of searching and I can't tell you how much I appreciate
the time you took helping me.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/quick-page-model-question-tp3172678p3174289.html
Sent
On Tue, Jan 4, 2011 at 2:10 PM, gnugrf gnu...@sdf.lonestar.org wrote:
Thanks a million man!
I wasn't calling super(model) and after figuring out how to attach sources
(which I hadn't known about), I was able to see that the page model was
being detached and refreshed.
Great!
The labels
how do you get the page model to refresh when a user presses reload or F5?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/quick-page-model-question-tp3172678p3172678.html
Sent from the Users forum mailing list archive at Nabble.com
.n4.nabble.com/quick-page-model-question-tp3172678p3172678.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
ManageClientPage(IModelClient client) { ///code here}
and its being called using id.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/quick-page-model-question-tp3172678p3172797.html
Sent from the Users forum mailing list archive at Nabble.com
On Mon, Jan 3, 2011 at 5:00 PM, gnugrf gnu...@sdf.lonestar.org wrote:
I'm pretty much a noob, even though I've been slowly working on a project for
about a year so bear with me. I've read understanding models a couple
dozen times already and lifecycle, requestcycle, etc. and did a fair amount
the page
itself as the model object?
Warren
-Original Message-
From: jWeekend [mailto:jweekend_for...@cabouge.com]
Sent: Friday, August 14, 2009 5:43 PM
To: users@wicket.apache.org
Subject: RE: Model question ?
Warren,
If you don't mind your wicket:ids becoming rather misleading
Is there any issues you need to be concerned with when using the page
itself as the model object?
Warren
-Original Message-
From: jWeekend [mailto:jweekend_for...@cabouge.com]
Sent: Friday, August 14, 2009 5:43 PM
To: users@wicket.apache.org
Subject: RE: Model question ?
Warren
Is there any issues you need to be concerned with when using the page
itself as the model object?
I don't think so.
Eelco
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail:
How should I set up my model for the following situation. I have a form
with a ListChoice and a TextField. The TextField needs to access a
property of the object selected of the ListChoice. I have it all working
using a ValueMap, but that seems like overkill to use a ValueMap for one
object. Here
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
--
View this message in context:
http://www.nabble.com/Model-question---tp24978225p24979787.html
Sent from the Wicket - User mailing list archive at Nabble.com
@wicket.apache.org
Subject: Re: Model question ?
Warren,
... and if you prefer using a CPM for your vendorEditForms:
public class HomePage extends WebPage {
private ListVendor vendors = Arrays.asList(new Vendor(v1),
new
Vendor
...@cabouge.com]
Sent: Friday, August 14, 2009 3:47 PM
To: users@wicket.apache.org
Subject: Re: Model question ?
Warren,
... and if you prefer using a CPM for your vendorEditForms:
public class HomePage extends WebPage {
private ListVendor vendors = Arrays.asList(new Vendor(v1
...@cabouge.com]
Sent: Friday, August 14, 2009 3:47 PM
To: users@wicket.apache.org
Subject: Re: Model question ?
Warren,
... and if you prefer using a CPM for your vendorEditForms:
public class HomePage extends WebPage {
private ListVendor vendors = Arrays.asList(new Vendor(v1
Is there a Calendar object under the covers somewhere? Cause it looks
like a conversion error, seeing how the months start counting from zero
in the Calendar object.
Regards,
Linda
jpalmer1...@mchsi.com wrote:
I have the following code to allow the user to select the date that a
report is to
I have the following code to allow the user to select the date that a report is to be generated for. For some reason, though, whatever date is selected from the textfield, the previous date is being used. For example, if the user inputs 07/06/2009 into the dateTextField, 07/05/2009 is being
/simple-model-question-tp23750088p23786425.html
Sent from the Wicket - User 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
if you chain your models properly its no problem..
imodel ldm=new loadabledetachablemodel(..)
imodel prop=new propertymodel(ldm, prop);
-igor
On Wed, May 27, 2009 at 1:20 PM, bf b...@juno.com wrote:
I constructed a Page that uses a LoadableDetachableModel. The
LoadableDetachableModel
I have a component I'm designing where it displays a list of items to
the user, so the setup for the component on the page might look like
this:
add(new MultiTextInputCollectionString(tags, new
ArrayListString() {
{
add(apple);
Are you trying to handle state on client side? While that is possible,
it is not the purpose of Wicket. Would you consider managing he state
on server side?
**
Martin
2009/4/10 Craig Tataryn crai...@tataryn.net:
I have a component I'm designing where it displays a list of items to the
user, so
On 10-Apr-09, at 12:58 PM, Martin Makundi wrote:
Are you trying to handle state on client side? While that is possible,
it is not the purpose of Wicket. Would you consider managing he state
on server side?
It's an existing javascript widget I wrote so I was looking for a
quick port to
So if it's possible for me to (easily) map those two sets of hidden inputs
to my model upon form submit I'd really like to know how.
What specifically is the difficult part?
**
Martin
-
To unsubscribe, e-mail:
look at textfield.
all you have to do is to write out the input tags with a name you
obtain from formcomponent.getname() - to guarantee uniqueness, then
override convertinput() and pull those values out of the request into
a collection and call setconvertedinput(collection). formcomponent
will
On 10-Apr-09, at 3:10 PM, Igor Vaynberg wrote:
look at textfield.
all you have to do is to write out the input tags with a name you
obtain from formcomponent.getname() - to guarantee uniqueness, then
override convertinput() and pull those values out of the request into
a collection and call
no, all you have to do is override convertinput and inside call
setconvertedinput(yourcollection);
the default implementation of updatemodel() already does
getmodel().setobject(getconvertedinput());
-igor
On Fri, Apr 10, 2009 at 3:29 PM, Craig Tataryn crai...@tataryn.net wrote:
On 10-Apr-09,
Assuming eventModel is loadable detachable model sould I implement some
marker interfaces in the following model?
private static class SystemWarningEventImagePathModel extends
AbstractReadOnlyModel {
private IModel eventModel;
public SystemWarningEventImagePathModel( IModel
Nothing directly. The only thing you should do is propagate the
'detach' method to your nested eventModel. The chaining model is
merely interesting for consumers of your model, so they can get to the
embedded model using a specified API.
From chapter 5 Understanding Models of Wicket in Action
34 matches
Mail list logo