FAQ
I've just started to experiment properly with HTML::FormFu, while things are
brand new I'll see if I can help with some documentation improvements. So,
first question - how does load_config_file determine the base dir and what
does it default to? The HTML::FormFu docs don't seem to mention it, IMO this
should be clearly explained under load_config_file.

Also, I've found the cookbook modules for Catalyst and DBIx::Class very
useful in the past. As FormFu is currently brand new to me it struck me that
it might be good to start on HTML::FormFu::Cookbook to help make things
easier for other new users. Sound like a good idea? If so, please sort out
project membership for this email address and I'll get on with it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20071004/d9e35d50/attachment.htm

Search Discussions

  • Carl Franks at Oct 4, 2007 at 4:22 pm

    On 04/10/2007, Will Hawes wrote:
    Also, I've found the cookbook modules for Catalyst and DBIx::Class very
    useful in the past. As FormFu is currently brand new to me it struck me that
    it might be good to start on HTML::FormFu::Cookbook to help make things
    easier for other new users. Sound like a good idea? If so, please sort out
    project membership for this email address and I'll get on with it.
    ok, you've now got commit access to svn.

    You'll need to checkout using the HTTPS url:
    https://html-formfu.googlecode.com/svn/trunk/HTML-FormFu/
    ( the other dists are also under trunk/ )

    I think you'll also need your separate googlecode password - you
    should be able to get it here:
    http://code.google.com/hosting/settings

    Thanks!
    Carl
  • Mario Minati at Oct 4, 2007 at 10:32 pm

    On Thursday 04 October 2007 17:13:37 Will Hawes wrote:
    I've just started to experiment properly with HTML::FormFu, while things
    are brand new I'll see if I can help with some documentation improvements.
    So, first question - how does load_config_file determine the base dir and
    what does it default to? The HTML::FormFu docs don't seem to mention it,
    IMO this should be clearly explained under load_config_file.
    load_config_file is defined in ObjectUtil.pm

    It uses Config::Any->load_files( { files => [$file], ..} to load the files.
    So it looks relatie from the apps basepath, in Catalyst you use 'root/...'

    Greets,
    Mario
  • Carl Franks at Oct 5, 2007 at 9:23 am

    On 04/10/2007, Will Hawes wrote:
    I've just started to experiment properly with HTML::FormFu, while things are
    brand new I'll see if I can help with some documentation improvements. So,
    first question - how does load_config_file determine the base dir and what
    does it default to? The HTML::FormFu docs don't seem to mention it, IMO this
    should be clearly explained under load_config_file.
    I've updated the 'load_config_file' docs with the following:

    Like perl's C<open> function, relative-paths are resolved from
    the current working directory.

    If you're using the C<FormConfig> action controller in
    L<Catalyst::Controller::HTML::FormFu>, see
    L<config_file_path|Catalyst::Controller::HTML::FormFu/config_file_path>.

    Thanks,
    Carl
  • Mario Minati at Oct 11, 2007 at 9:48 am

    On Friday 05 October 2007 10:23:21 Carl Franks wrote:
    On 04/10/2007, Will Hawes wrote:
    I've just started to experiment properly with HTML::FormFu, while things
    are brand new I'll see if I can help with some documentation
    improvements. So, first question - how does load_config_file determine
    the base dir and what does it default to? The HTML::FormFu docs don't
    seem to mention it, IMO this should be clearly explained under
    load_config_file.
    I've updated the 'load_config_file' docs with the following:

    Like perl's C<open> function, relative-paths are resolved from
    the current working directory.

    If you're using the C<FormConfig> action controller in
    L<Catalyst::Controller::HTML::FormFu>, see

    L<config_file_path|Catalyst::Controller::HTML::FormFu/config_file_path>.
    As I just found out (see my other email) we are running into a problem.

    load_config_file inside of that config doesn't now anything about
    config_file_path.

    What do you think of creating a base_path attribute that is prepended (if
    defined) to the filenames when 'load_config_file' tries to open a config.

    Greets,

    Mario

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphtml-formfu @
categoriesperl, catalyst
postedOct 4, '07 at 4:13p
activeOct 11, '07 at 9:48a
posts5
users3
websitemetacpan.org...

People

Translate

site design / logo © 2022 Grokbase