Skip Menu |

This queue is for tickets about the Rose-HTML-Objects CPAN distribution.

Report information
The Basics
Id: 38581
Status: rejected
Priority: 0/
Queue: Rose-HTML-Objects

People
Owner: Nobody in particular
Requestors: cpan [...] funkreich.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: xhtml_table/html_table doesn't display required error message
If a required field of type Rose::HTML::Form::Field::CheckboxGroup is rendered via xhtml_table() / html_table() the corresponding "field is required" error message is not displayed if nothing was selected. Using xhtml() instead works correctly.
On Tue Aug 19 07:31:24 2008, TKREMER wrote: Show quoted text
> If a required field of type Rose::HTML::Form::Field::CheckboxGroup is > rendered via xhtml_table() / html_table() the corresponding "field is > required" error message is not displayed if nothing was selected. Using > xhtml() instead works correctly.
This is as designed. Only the html()/xhtml() methods include both the field and the error. If the html_table()/xhtml_table() methods included the error, there'd be no way to print just the checkboxes in a table, with the error (if any) appearing elsewhere in the template. If you'd like, you can submit an enhancement request for a new method (or a new argument to an existing method) that will return the field as a table plus the error.