I'm working on installing a catalyst app on a new CentOS5 box and have
run into this problem:
$ perl Makefile.PL
include /home/lance/work/HTML-FormFu/inc/Module/Install.pm
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/Makefile.pm
include inc/
ivorw wrote:
- type: Text
name: email_address
label: Email address
constraints:
- Email
- Required
# Added below causes a problem
- type Radiogroup
name: active
options:
- [ 0, 'Inactive' ]
- [ 1, 'Active' ]
- [ 2, 'Sus
Carl Franks said the following on 6/5/2008 4:39 AM:
I'd just started looking into this, and noticed there's an update to
Module::Install (v0.75) available on CPAN which fixes this problem.
- Disabled the broken install_share error check (CLACO)
I'll update the minimum version required
Greetings,
Has anyone written a constraint to ensure the value entered looks like a
currency amount, a positive number with no more than 2 decimal places?
--[Lance]
--
GPG Fingerprint: 409B A409 A38D 92BF 15D9 6EEE 9A82 F2AC 69AC 07B9
CACert.org Assurer
___
Lance A. Brown said the following on 2/5/2009 8:36 AM:
> Greetings,
>
> Has anyone written a constraint to ensure the value entered looks like a
> currency amount, a positive number with no more than 2 decimal places?
>
> --[Lance]
Heh. Never mind, I figured it out
Greetings,
I'm working on a form that describes a paper, with a list of authors. I
let the user add additional author entries when creating a new paper or
editing an existing one via javascript that insert the appropriate html
fragment and increases the hidden counter variable to handle it, but
t
Carl Franks said the following on 4/20/2009 5:40 AM:
> When you're modifying the client-side form with JavaScript, are you
> updating the 'counter' hidden field, so the form builds the correct
> number of Repeatable reps during $form->process() ?
Yes, but with Model::DBIC involved it looks like th
Carl Franks wrote:
> If it doesn't seem to work - dump $form->params(), so you can see
> which params are being accepted.
$form->params() looks correct at all stages.
Here is an example:
I have a 'Paper' with two 'Authors': Joe Shmo and John Doe. I edit the
paper, the form displays both authors
Carl,
Never mind. I found my mistake
I was calling $form->model->default_values($paper) too soon.
--[Lance]
Lance A. Brown wrote:
>
> sub edit :Path('/edit') :Args(1) :FormConfig('paper.yml')
> {
> my ($self, $c, $paper_id ) = @_;
>
>
Gerg Coates said the following on 4/26/2009 7:02 PM:
> Here's the repeatable block from the form definition:
Do you have your counter_name element, 'line_cnt' defined outside the
Repeatable block? That's the only obvious problem I can see.
--[Lance]
--
GPG Fingerprint: 409B A409 A38D 92BF 1
Gerg Coates said the following on 4/27/2009 3:38 AM:
> Yes, it's defined even though I forgot to include it in the snippet I
> posted.
I assume all the data shows up properly when you are editting an
existing entry?
--[Lance]
--
GPG Fingerprint: 409B A409 A38D 92BF 15D9 6EEE 9A82 F2AC 69AC 0
Gerg Coates said the following on 4/26/2009 7:02 PM:
> And here's the relevant part of my Catalyst controller:
>
> sub edit :Local :FormConfig('invoices/edit_invoice.yml') {
> my ($self, $c, $ivc_id) = @_;
>
> if ($c->request->param('cancel')) {
> $c->response->redirect($c->uri_for("/invo
Greg Coates said the following on 4/30/2009 6:31 PM:
> Bumping this. Everything suggested as possible problems ended up being
> okay. Does anyone have any ideas? Carl?
Did you try taking that call to $form->process() out of the
submitted_and_valid section?
--[Lance]
--
GPG Fingerprint: 40
Adam Witney wrote:
>
> Hi,
>
> Can the Fieldset title be set using FormFu? I have used things like this
>
> - type: Fieldset
> name: Testing1
> attrs:
> title: testing2
>
> but the output always contains null ...
>
> {"title":null,"autoHeight":1,"xtype":"fieldset
Are you updating the repeatable count field as needed? I ran into that
gotcha.
--[Lance]
--
GPG Fingerprint: 409B A409 A38D 92BF 15D9 6EEE 9A82 F2AC 69AC 07B9
CACert.org Assurer
___
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://list
Yves Räber wrote:
> Wow ... that was easy :)
>
> In my case, 'Catalyst::Controller::HTML::FormFu' take care of running
> process, but it seems it's called BEFORE the repeat is executed.
>
> Adding a $form->process right after my repeat works fine.
Correct. If you do anything to the form in a C
16 matches
Mail list logo