On Monday 07 July 2008 11:46:18 zaf wrote:
> Hi all,
> I am sending a form to my controllers but some of the input fields of
> this form contain the "-" in the name attribute (those names are
> actually uuids I need to identify data). The problem as far as I can
> see is that the variable_decode method in FormEncode will split any
> name attribute that contains a certain list_char parameter (defaulting
> to "-" ).
> Is there anyway I could change the list_char parameter foir this
> particular form I using ? would I have to tweak TG1 for that or can I
> just set it from my controller or something ?
> Has anyone got an alternative idea ?

Use some different naming scheme for these, or even better get rid of them as 
names totally. I don't think that using dynamic form input *names* is a good 
idea. Why can't you use something like 

<input type="hidden" name="uuid" value="one-uuid"/>

instead?

Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to