Hi Nino, I've taken the liberty of improving this with WICKET-6658: No need to let Form enforce a <form>-tag when it's changed into a div afterwards (in case of nested forms).
Have fun Sven > > On 24.04.2019 at 08:45, <nino martinez wael> wrote: > > > normally I would agree.. But when our designer gives us the html, and there > are tables in it we need to change that stuff.. I do not like the idea that > the web framework forces you to change markup so that it can work.. One thing > are to teach the devs that there are some quirks with the web framework > (thats completely expected). But to have to teach the designer about a web > framework so they can avoid the quirky parts seems wrong. Its not part of > Wickets statement anyhow. > Just Java & HTML > > Leverage what you > know about Java or your favourite HTML editor to write > Wicket > applications. With pure Java code and HTML markup Wicket is the > go-to web > framework for purists. > /rant off :) On Wed, Apr 24, 2019 at 8:24 AM Maxim > Solodovnik wrote: > if something "look like a duck, walk like a duck and > sound like a duck" - > it is duck :) > CSS table are tables, but with no > HTML '' tags :) > > On Wed, 24 Apr 2019 at 13:22, nino martinez wael < > > nino.martinez. w...@gmail.com> wrote: > > > if its CSS its not a table right? > > > > > > > > On Wed, Apr 24, 2019 at 7:25 AM Maxim Solodovnik > > wrote: > > > > > Actually you can :) > > > But you need CSS tables for this :) > > > > > > On Wed, 24 Apr 2019 at 11:53, nino martinez wael < > > > nino.martinez.w...@gmail.com> wrote: > > > > > > > I agree with Maxim, but I do not know the side effects, im going to > try > > > > it.. As it is now (out of the box), we cannot have nested forms in > > tables > > > > (for example on form per ) without breaking html. > > > > > > > > -Nino > > > > > > > > On Wed, Apr 24, 2019 at 3:24 AM Maxim Solodovnik < > solomax...@gmail.com > > > > > > > wrote: > > > > > > > > > I would say we can create overridable method so users can specify > > which > > > > tag > > > > > to use > > > > > it will help with `` > > > > > > > > > > On Wed, 24 Apr 2019 at 01:39, Sven Meier wrote: > > > > > > > > > > > Hi, > > > > > > > > > > > > I think we could improve nested Forms so that only > > tags > are > > > > > > turned into a > > , but anything else stays as it is. > > > > > > > > > > > > > WDYT? > > > > > > Sven > > > > > > > > > > > > > Am 23.04.19 um 10:01 schrieb nino martinez wael: > > > > > > > > Hi > > > > > > > > > > > > > > When > nesting forms, the form tag are changed to an div and it > is > > > > hard > > > > > > coded: > > > > > > > > org/apache/wicket/markup/html/form/Form.java:1597 > > > > > > > > ... > > > > > > > > > > > > > > > tag.setName("div"); > > > > > > > > > > > > > > > ... > > > > > > > > > > > > > > If only I could > change the tag to be tr, it would produce valid > > > html. > > > > > > Are > > > > > > > it deliberate to be hardcoded? > > > > > > > > > > > > > > > > > > > > > > > ------------------------- -------------------------------------------- > > > > > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > > > > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > > > > > > > > > > > > > > > > > > -- > > > > > WBR > > > > > Maxim aka solomax > > > > > > > > > > > > > > > > > -- > > > > Best regards / Med venlig hilsen > > > > Nino Martinez > > > > > > > > > > > > > -- > > > WBR > > > Maxim aka solomax > > > > > > > > > -- > > Best regards / Med venlig hilsen > > Nino Martinez > > > > > -- > WBR > Maxim aka solomax > -- Best regards / Med venlig hilsen Nino Martinez > > > > > > > > > > > > >