input field name

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

input field name

julien-29
Good afternoon,
 
I need to create forms where the "name" property of each input field  could be initialised with a value wthout "$portlet$p1", for example.
 
my example :
<xforms:input ref="/form/FormCommunOrbeon/mdMontantDemande" xhtml:id="mtDemande" xhtml:name="montant Demandé de la subvention" xhtml:class="FORMINPUTOBLIGATOIRE" xhtml:size="19" xhtml:maxlength="13"/>

generated result :

<input type="text" name="$portlet$p1.montant Demand&eacute; de la subvention" value="0" id="mtDemande" class="FORMINPUTOBLIGATOIRE" size="19" maxlength="13">

How could I resolve this problem ?
I work with OPS 2.8.

thank you.




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: input field name

Erik Bruchez
Administrator
Julien,

I suspect that your application is going through the old examples
portal. You should not do that as it has a heavy performance impact. See
this part of the doc:

   http://www.orbeon.com/ops/doc/integration-tuning#your-app-portal

More recent versions of Orbeon Forms completely do away with that old
portal.

-Erik

[hidden email] wrote:

> Good afternoon,
>  
> I need to create forms where the "name" property of each input field  could be initialised with a value wthout "$portlet$p1", for example.
>  
> my example :
> <xforms:input ref="/form/FormCommunOrbeon/mdMontantDemande" xhtml:id="mtDemande" xhtml:name="montant Demandé de la subvention" xhtml:class="FORMINPUTOBLIGATOIRE" xhtml:size="19" xhtml:maxlength="13"/>
>
> generated result :
>
> <input type="text" name="$portlet$p1.montant Demand&eacute; de la subvention" value="0" id="mtDemande" class="FORMINPUTOBLIGATOIRE" size="19" maxlength="13">
>
> How could I resolve this problem ?
> I work with OPS 2.8.
>
> thank you.
>
>
>

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: input field name

julien-29
thank you for your response Erik .
I try with the last version of OPS (3.5.1) and the name of my input is ok.

Thank you.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws