|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Rename a widget in a formHi Mr GrilladeMixte,
I've got a problem with the setName function. This function change the name of a widget only on the javascript side not on the html/Dom side. So, when i rename my widgets in my form, the parameter's names submitted at the server are the old names of the widgets. Not what i want. For now, i made my own request by bypasssing the Rialto's buildQueryString function, but it would be better to not do this and have the same name at the both side (javascript/html). Thanks and sorry for my bad english :) Kapo, |
|
|
Re: Rename a widget in a formHi Mr Philippe
It is true that the setName method doesn't change the html name. One solution is to set the dataname property of the widget and then add the element in the form using the addElement method. The widget doesn't need to be a child of the form. Then even if you change the name or the dataname (dataname is first check) the modification will be use in the request. Cyril --- In rialto-dev@..., Kapo <philippedarnal@...> wrote: > > > Hi Mr GrilladeMixte, > > I've got a problem with the setName function. > This function change the name of a widget only on the javascript side not on > the html/Dom side. > So, when i rename my widgets in my form, the parameter's names submitted at > the server are the old names of the widgets. Not what i want. > > For now, i made my own request by bypasssing the Rialto's buildQueryString > function, but it would be better to not do this and have the same name at > the both side (javascript/html). > > Thanks and sorry for my bad english :) > > Kapo, > > -- > View this message in context: http://www.nabble.com/Rename-a-widget-in-a-form-tp25803283p25803283.html > Sent from the Rialto-Development mailing list archive at Nabble.com. > |
|
|
Re: Rename a widget in a formThanks man, for your reply. I'll take a look.
See you later on the mailing list (I've got an other issue with Rialto). Kapo,
|
| Free embeddable forum powered by Nabble | Forum Help |