On Mar 10, 2008, at 8:58 AM, Hans Dieter Pearcey wrote: > On Mon, Mar 10, 2008 at 08:49:56AM -0700, Daniel Bretoi wrote: >> I have something like this: >> >> <form> >> <input type="radio" name="user[name]" value=""> >> <input type="radio" name="user[email]" value=""> >> </form> >> >> And I was hoping to see >> >> $ARGS = { >> 'user' => { >> 'name' => 'daniel', >> 'email' => '[EMAIL PROTECTED]', >> } >> }; > > That's not how forms work; Rails isn't the web. You'll need to do > it yourself. > Look at e.g. CGI::Expand and Catalyst::Plugin::Params::Nested.
understood. hence the "hoping" :) > > > Adding the foo[bar] syntax to CGI::Expand would be a pretty nice > patch, if you > wanted to send it in -- I'm sure you're not the only one who'd like > to use > that. > thank you. > hdp. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Mason-users mailing list > Mason-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mason-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users