Grokbase
x

HTML::Widget

 Topics | People | Info | Saved by

[Html-widget] retain_default() for a HTML::Widget::Element::Button?

By Bernhard Graf at May 10, 2007, 8:48 pm UTC

HTML::Widget::Element::Button has a retain_default() accessor. <cite> If true, overrides the default behaviour, so that after a field is missing from the form submission, the xml output will contain the default value, rather than be empty. </cite> But why? A button value (the label) cannot or at... More...

[Html-widget] dedicated html-formfu mailing list

By Carl Franks at May 2, 2007, 3:30 pm UTC

mst has kindly created a new list on the scsys server, so we now have our own formfu mailing list. You can subscribe via the list info page: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu Once subscribed, the list address is: html-formfu@lists.scsys.co.uk Cheers, Carl More...

[Html-widget] formfu: recent developments

By Carl Franks at May 2, 2007, 08:06 am UTC

The list's been quite quiet the past couple weeks, so here's an update of what's been happening in svn... To complement $form->javascript(), there's a new method; $form->javascript_src() which accepts a URI, and renders as a script tag with a src="" attribute to load an external javascript file. It... More...

[Html-widget] FormFu: form_error_message not an error?

By Jason Kohles at May 1, 2007, 08:08 am UTC

It seems that setting form_error_message on a form that has no other errors will not have any effect. Is this the intended behavior, and if so does anyone else think it doesn't make sense? :) In particular, I was trying to use form_error_message as a kind of 'error-handler of last resort', by doing... More...

[Html-widget] FormFu: validating complex structures

By Jonas Alves at Apr 27, 2007, 3:53 pm UTC

Hi all, I would like to use FormFu to validate a complex structure. It may come from a JSON file or from a form expanded with CGI::Expand. How hard would be to patch HTML::FormFu to process something like this? I thought that container fields could act as a container to a sub-hash. Something like... More...

[Html-widget] HTML::FormFu::Constraint::DBIC::Unique

By Jonas Alves at Apr 26, 2007, 6:36 pm UTC

Hi all, I needed a constraint to verify unique values in a db table using DBIx::Class so I created HTML::FormFu::Constraint::DBIC::Unique. It may be useful to someone else so here it goes attached. Carl, it has docs and tests in the case you want to had it to the svn repo. SYNOPSIS:... More...

paperclip

[Html-widget] FormFu: Catalyst FormConfig + manual constraints

By Tobias Kremer at Apr 25, 2007, 11:13 am UTC

I just started playing around with HTML::FormFu and I'm really liking it up to now. However I haven't been able to use the FormConfig attribute in my Catalyst controller to load the basics of a form _AND_ afterwards add constraints manually. Here's my latest try: sub signup : Local : FormConfig {... More...

Re: [Html-widget] formfu - deflators

By Carl Franks at Apr 25, 2007, 10:47 am UTC

I'd forgotten that there was a render_processed_value() method which ensures the processed value is displayed to the user. (I was on holiday when I initially replied!) I agree that if render_processed_value() is true, the values should also be run through the Deflators. I've added a task to the... More...

[Html-widget] formfu - HTML::FormFu::Localize

By Daisuke Maki at Apr 25, 2007, 10:31 am UTC

I'm trying to use a custom localize object so I can display errors from my custom validator, and added this to my yaml config: localize_class: 'My::I18N' This barfed on me at HTML/FormFu/Localize.pm line 95, where the class is being required. The errors stated was "class argument missing" in... More...

[Html-widget] FormFu: creating multi form elements

By Thorsten Domsch at Apr 20, 2007, 11:05 am UTC

problem: I want to create a custom FormFu Element consisting out of a few ordinary HTMl Elements via formFu. Let's say a date combo consisting of three select boxes (Day,Month,Year named $self->name."_d", "_m" ,"_y"), creating something like this is easy, writing the three boxes in my template file... More...

[Html-widget] literals

By Bernhard Graf at Apr 18, 2007, 2:29 pm UTC

Short question: Is there a way for literal texts in labels in HTML::Widget? I need labels with HTML code being untouched. More...

[Html-widget] Deleting an element from a widget?

By Dave Richards at Apr 15, 2007, 12:19 am UTC

Hi all, I am a newbie, so please be gentle... I have a widget that I have created, that I would like to reuse (I am using HTML::widget with Catalyst). The cut down example is: $w->element('Textfield', 'name' )->label('Real Name')->size(20); $w->element('Textfield', 'email'... More...

spacer
 Topics | People | Info | Saved by
Home > Groups > lists.rawmode.org > HTML::Widget