On Wed, Mar 6, 2013 at 6:24 PM, Nick Mudge <mud...@gmail.com> wrote:

> Hi,
> Why would I look at the AjaxEditableLabel? According to the javadoc for it,
>

To see an example how this is done there.


> it is for: "An implementation of ajaxified edit-in-place component using a
> TextField as it's editor."
> I am not doing that.
>
> What I need is a Save button that executes some javascript to calculate
> some data that is then sent the server via AJAX.  Then I need to update a
> label on the webpage saying that the data has been saved.
>
> How can I do this?
>
> Thanks
> Nick
>
>
>
>
> On Wed, Mar 6, 2013 at 12:34 AM, Martin Grigorov <mgrigo...@apache.org
> >wrote:
>
> > Hi,
> >
> > Take a look at AjaxEditableLabel, it sends a parameter named "save".
> > This is improved a lot in Wicket 6.
> >
> >
> > On Wed, Mar 6, 2013 at 3:28 AM, Nick Mudge <mud...@gmail.com> wrote:
> >
> > > I could not find an example that show's how to do what I want to do.
> > >
> > > I have a web page with a Save button on it. When the user presses the
> > Save
> > > button I want to execute some javascript which calculates a value and
> > then
> > > I want the value to be sent to the server where I store the value in a
> > > database. Then I want a label to appear on the webpage that says the
> data
> > > has been saved.
> > >
> > > I am new to Wicket and I am using Wicket 1.4. How should I do this? Is
> > > there an example of something like this?
> > >
> > > Thanks
> > > Nick Mudge
> > >
> >
> >
> >
> > --
> > Martin Grigorov
> > jWeekend
> > Training, Consulting, Development
> > http://jWeekend.com <http://jweekend.com/>
> >
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to