[html-formfu] filter callback yaml catalyst

Ruben Fonseca rubenfonseca at di.uminho.pt
Mon Sep 24 23:04:24 GMT 2007


Hi I'm trying to handle a callback filter in a catalyst application.

In my form, I have the following especification:

---
action: /test/foo
indicator: submit
auto_fieldset: 1

elements:
- type: Text
name: user
filters:
- type: Callback
callback: foo::Controller::test::bar

However, Catalyst always dies with the "Can't use string  
("foo::Controller::test::bar") as a subroutine ref while "strict  
refs" in use".

Can you explain me how can I run a sub of mine to filter an element?

Thank you

Ruben Fonseca




More information about the HTML-FormFu mailing list