On 12/06/2010 01:22 PM, Tim Rayner wrote:
>>>
>>> Hi,
>>>
>>> I've been using just a single form for both add and edit, using the
>>> self_stash_key option from H::F::C::DBIC::Unique. The idea is that you
>>> put the DBIC row object being edited onto the Catalyst stash and then
>>> name that stash key in the form config. The uniqueness constraint will
>>> ignore this one object if it's on the stash. 

>> btw, it looks like the object needs to be on the form's stash, not the
>> Catalyst stash.
> 
> You're quite correct, my mistake.


Thanks to both, I'll get cracking on this solution

-- 
Erez

Observations, not opinions.

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to