[html-formfu] Retrieving TT from FormFu

Mario Minati mario.minati at googlemail.com
Mon Apr 13 19:24:55 GMT 2009


That was Moritz, not me ;-)

But html_formfu_deploy only creates a local copy of all template files and 
FormFu currently uses the string renderer by default. So the TT files won't 
show the whole picture, unless you set the render method to tt.

Greets,

Mario Minati



Am Montag 13 April 2009 21:04:57 schrieb Manu Kaul:
> Yes thats the one... thanks Mario!
>
> On Mon, Apr 13, 2009 at 8:00 PM, Moritz Onken <onken at houseofdesign.de>wrote:
> > Are you looking for
> > http://search.cpan.org/~cfranks/HTML-FormFu-0.04000/bin/html_formfu_deplo
> >y.pl ?
> >
> >
> > Am 13.04.2009 um 20:16 schrieb Manu Kaul:
> >
> >
> >  Hi Mario,
> >
> >> Thanks for the response. But I remember there was a command you ran of
> >> some sort that actually extracted the TT files for you for a given YAML
> >> FormFu configuration. That way I can see exactly what the HTML for the
> >> form will look like. So instead of saying [% form %] in my TT I can just
> >> use the proper TT and embed javascript and CSS and possibly modify the
> >> presentation of the form itself.
> >> Maybe I didn't ask the question properly... my mistake.
> >> I am not that good with my Perl so I am not sure if I can write the
> >> connector classes without assistance. A friend of mine who is good with
> >> the client side of things will be working on the jQuery connection to
> >> the server ... so maybe if you explained a bit better what is needed on
> >> FormFu to talk to jQuery then I can pass it on to him to look at it for
> >> you.
> >>
> >> Cheers,
> >> Manu
> >>
> >>
> >> On Mon, Apr 13, 2009 at 7:01 PM, Mario Minati <
> >> mario.minati at googlemail.com> wrote:
> >> Hi Manu,
> >>
> >> you can do
> >> my $string = "$form";
> >> to stringify the form.
> >>
> >> And yes, you are right, submitting the expected parameters does work.
> >>
> >> Maybe you are willing to write jQuery connector classes, as Moritz is
> >> currently doing for ExtJS.
> >>
> >>
> >> Greets,
> >>
> >> Mario Minati
> >>
> >> Am Montag 13 April 2009 13:07:11 schrieb Manu Kaul:
> >> > Hi,I was wondering if there was a way to extract the actual TT or HTML
> >>
> >> code
> >>
> >> > for the form that FormFu generates internally? I ask because I am
> >> > trying
> >>
> >> to
> >>
> >> > use an AJAX/jQuery combination at the client side to interact with the
> >> > server code. My understanding is that if the AJAX function were to
> >>
> >> submit
> >>
> >> > the exact same form with the element IDs etc matching my FormFu
> >> > configuration YAML then FormFu will validate the form details on the
> >>
> >> server
> >>
> >> > end. Is this correct?
> >> >
> >> > Cheers,
> >> > Manu
> >>
> >> _______________________________________________
> >> HTML-FormFu mailing list
> >> HTML-FormFu at lists.scsys.co.uk
> >> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
> >>
> >>
> >>
> >> --
> >>
> >> The greater danger for most of us lies not in setting our aim too high
> >> and falling short; but in setting our aim too low, and achieving our
> >> mark. - Michelangelo
> >> _______________________________________________
> >> HTML-FormFu mailing list
> >> HTML-FormFu at lists.scsys.co.uk
> >> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
> >
> > _______________________________________________
> > HTML-FormFu mailing list
> > HTML-FormFu at lists.scsys.co.uk
> > http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu





More information about the HTML-FormFu mailing list