Hi Martijn,
When I was looking at the diffs, it looked like it went from a Button
to a Link during your commit. But I certainly could have messed up.
Tauren
On 8/13/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> According to the revision log, I had nothing to do with this... My
> commit only moved the projects from a branch to trunk.
>
> Martijn
>
> On 8/13/07, Tauren Mills <[EMAIL PROTECTED]> wrote:
> > Well, it looks like it was done on 4/19/2007 by dashorst. Is this
> > message enough, or should I submit a jira?
> >
> > Should I switch it back to Button for my application, or is there a
> > way to get Link to set a value if used with <input type="button">
> > markup?
> >
> > Tauren
> >
> >
> > On 8/12/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > > looks like someone changed it from a Button to a Link. the Button uses its
> > > model to set the value attr, the link obviously doesnt. so see svn history
> > > and who made the change, and then bug that person on the list :)
> > >
> > > -igor
> > >
> > >
> > >
> > > On 8/12/07, Tauren Mills <[EMAIL PROTECTED]> wrote:
> > > >
> > > > When running wicket-phonebook, both the "Confirm" and "Cancel" buttons
> > > > on the delete contact page say "Confirm Query" when rendered on a web
> > > > page. Is this a bug in Link when it is used with an <input
> > > > type="button">? Or is there a bug in wicket-phonebook?
> > > >
> > > > private void addConfimButton() {
> > > > /*
> > > > * notice in mark-up this link is attached to <input
> > > > type='button'/>
> > > > * tag, the link is smart enough to know to generate an
> > > > onclick instead
> > > > * of href
> > > > */
> > > > add(new Link("confirm", new ResourceModel("confirm")) {
> > > > @Override
> > > > public void onClick() {
> > > > final Contact deleted = getContact();
> > > > contactDao.delete(deleted.getId());
> > > > String msg =
> > > > MapVariableInterpolator.interpolate(getLocalizer()
> > > >
> > > > .getString("status.deleted",
> > > > this), new MicroMap(
> > > > "name",
> > > > deleted.getFullName
> > > > ()));
> > > > getSession().info(msg);
> > > > setResponsePage(
> > > > DeleteContactPage.this.backPage);
> > > > }
> > > > });
> > > > }
> > > >
> > > > Thanks,
> > > > Tauren
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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]
> >
> >
>
>
> --
> Wicket joins the Apache Software Foundation as Apache Wicket
> Apache Wicket 1.3.0-beta2 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/
>
> ---------------------------------------------------------------------
> 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]