Me too :-) On Mon, May 8, 2017 at 12:56 PM, Martin Grigorov <[email protected]> wrote:
> Hi Ulrich, > > I'm glad to hear that it worked so easily! > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Mon, May 8, 2017 at 12:05 PM, Knaack, Ulrich < > [email protected]> wrote: > > > Hi Martin, > > > > sorry for late replying. Issues in another project prevented me from > > testing your hint. > > > > Using ClientSideBootstrapTabbedPanel solved my problem completely. > > I simply replaced "class MyAjaxTabbedPanel extends > > AjaxBootstrapTabbedPanel<ITab>" > > with > > "class MyAjaxTabbedPanel extends ClientSideBootstrapTabbedPanel<ITab> " > > and removed unnecessary methods. > > Then, wicket gave me useful hints related to a ClassCastException and to > a > > missing call to tabbedPanel.setOutputMarkupId(true) . > > > > Thank you for quick response. > > > > Regards, > > Ulrich Knaack > > > > > > > -----Ursprüngliche Nachricht----- > > > Von: Martin Grigorov [mailto:[email protected]] > > > Gesendet: Mittwoch, 3. Mai 2017 15:04 > > > An: [email protected] > > > Betreff: Re: Modal dialog, form validation in AjaxBootstrapTabbedPanel > > > > > > Hi, > > > > > > I think I see the problem. > > > When using AjaxBootstrapTabbedPanel the tabs' content is loaded one at > a > > > time. This makes it hard to validate the complete form because not all > > > fields are available at any time. > > > You may need to use > > > https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/wicket- > > > 7.x/bootstrap- > > > core/src/main/java/de/agilecoders/wicket/core/markup/html/bootstrap/ta > > > bs/ClientSideBootstrapTabbedPanel.java > > > instead. It will switch the tabs > > > via JavaScript and make the validation once you use the submit button. > > > If this doesn't help you then I'll try to take a look at your > application > > > after work! > > > > > > Martin Grigorov > > > Wicket Training and Consulting > > > https://twitter.com/mtgrigorov > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > -- Regards - Ernesto Reinaldo Barreiro
