Hi, It appears that the UI tags all include standard header and footer code that places them within a table within the containing form. This allows validation errors to be nicely formatted above the relevant input. However, the simple structure of this table makes it hard to create forms that are not laid out in its extremely simple manner. For this reason I could not use the UITags in my last application. I think that if the UITags were simplified to not include this 'layout' functionality they would become much more useful to most real life web applications. I need the ability to define exactly where the error messages will appear on the page. More importantly I need the ability to layout form fields in a pattern other than the simple 'one row per field' that is assumed by the UITags. A new tag would be useful that would check for error messages and output them where the designer wants them. Something like this: <ww:text name="age"/> <ww:error name="age"><ww:iterator><ww:property/></ww:iterator></ww:error> This would simply check the fieldErrors for messages and push them onto the stack allowing you to display your messages whereever on the page you want. John. |
- Re: [OS-webwork] UITags inflexible John Patterson
- Re: [OS-webwork] UITags inflexible Sebastiano Pilla
- Re: [OS-webwork] UITags inflexible Francisco Hernandez
- RE: [OS-webwork] UITags inflexible Patrick Lightbody
- Re: [OS-webwork] UITags inflexible Dag Liodden
- Re: [OS-webwork] UITags inflexible Matt Ho
- [OS-webwork] Webwork Tigris Styl... Dag Liodden
- RE: [OS-webwork] Webwork Tig... Patrick Lightbody
- Re: [OS-webwork] Webwork... Dag Liodden
- Re: [OS-webwork] UITags inflexible Grzegorz Mucha