yes

-igor


On Feb 13, 2008 1:49 AM, carloc <[EMAIL PROTECTED]> wrote:
>
> Thanks For The Reply,
>
> Rating Panel is not a FormComponent right? So am I correct in saying that
> the model gets updated during the Ajax Requests ? Cause every click on the
> button triggers an ajax request.
>
> Thanks
>
>
>
> igor.vaynberg wrote:
> >
> > or you can bind the model to a property, and then when a component is
> > rendered it will use the value in that property, when it is submitted
> > it will set the value to that property - that way it is all completely
> > transparent.
> >
> > see PropertyModel, the wiki has a great page that explains how models
> > work...
> >
> > -igor
> >
> >
> > On Feb 12, 2008 7:02 AM, Maurice Marrink <[EMAIL PROTECTED]> wrote:
> >> Data in wicket components is wrapped in models.
> >> You can ask a component for its model: getModel() and then ask the
> >> model for its data: getObject().
> >> Or you can use the shortcut getModelObject() on a component.
> >> Setting data is done in a similar way.
> >>
> >> Maurice
> >>
> >>
> >> On Feb 12, 2008 3:11 PM, carloc <[EMAIL PROTECTED]> wrote:
> >> >
> >> > hi everyone,
> >> >
> >> > I would like to ask how I could actually get data from the different
> >> > components in the wicket examples...
> >> > For example in the YUI selection or in the RatingPanel...
> >> >
> >> > What will my code look like if I have a submit button and I want to
> >> know the
> >> > rating?
> >> > (e.g. how many stars were pressed)
> >> >
> >> > I can display the components properly but I can't get data from them...
> >> > Same as with the other examples...
> >> >
> >> > What is the best way to do this?
> >> > --
> >> > View this message in context:
> >> http://www.nabble.com/Harnessing-Data-From-Components-tp15433918p15433918.html
> >> > Sent from the Wicket - User mailing list archive at Nabble.com.
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> > For additional commands, e-mail: [EMAIL PROTECTED]
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/Harnessing-Data-From-Components-tp15433918p15452757.html
>
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to