Dynamic Dropdown not mapping into PDF template

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

Dynamic Dropdown not mapping into PDF template

martinholario
Hello!
I'm having a problem trying to get the value of some dynamic dropdowns, that
are working perfectly with their webservices, into my PDF template. Y am
mapping the field ID as explained in your manual: sectionId$fieldId, but it
doesn't work with these dropdowns. The other fields (textfields, checkboxes,
radiobuttons...) are mapped perfectly in the template. The PDF fields for
these dropdowns are textfields, not combos, because I only want the selected
text. I tried to get the selected text (not value) of the combos in
calculated values and map those ones instead the combos bur they are not
mapped too.
What am I doing wrong?

I send you the template and the xml of the Orbeon form. The fields that are
not mapped are all the dynamic combos (ie. secDatosComunes$provinciaTitular
for the dropdown or secDatosComunes$provinciaTitularVal for the calculated
value) The WS could not work for you, but they are working in my local.

Thanks plantillaFacileNueva.xml
<http://discuss.orbeon.com/file/t375475/plantillaFacileNueva.xml>  
SolicitudUnicaRestauracion.pdf
<http://discuss.orbeon.com/file/t375475/SolicitudUnicaRestauracion.pdf>  


--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Dynamic Dropdown not mapping into PDF template

martinholario
One comment more, using automatic PDF production those dynamic dropdowns are
well mapped, but not with that template.

Regards

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Dynamic Dropdown not mapping into PDF template

Alessandro  Vernet
Administrator
Hi Martin,

You're saying that the values for dynamic dropdowns are shown when producing
an automatic PDF production, but not a template-based PDF. What version of
Orbeon Forms are you using? If not Orbeon Forms PE 2017.1, have you also
tried this with that version?

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Dynamic Dropdown not mapping into PDF template

martinholario
Hi Alessandro,
   I tried with version 2017.1 with same result, the dynamic dropdowns are
not mapped in the pdf template but yes in the automatic pdf.

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Dynamic Dropdown not mapping into PDF template

martinholario
FYI: I'm using orbeon with oracle 11g. Maybe the problem consist on I'm tying
to map a dropdown (orbeon) in a textfield (pdf), but it should be possible,
I think.
Regards

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Dynamic Dropdown not mapping into PDF template

Alessandro  Vernet
Administrator
Hi Martin,

It's unlikely to be due to you using Oracle. We'll look into it, and
follow-up on this thread.

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Dynamic Dropdown not mapping into PDF template

martinholario
Ok, let me know if you can reproduce it or not, and if, in case of a bug, it
will be corrected.
Regards!

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Dynamic Dropdown not mapping into PDF template

martinholario
In reply to this post by Alessandro Vernet
Hi,
   we were trying to fix this issue with workarounds and so on, but
unsuccessfully. In few words, the Dynamic dropdown is not mapping its
selected value to a textfield in a PDF template, but yes in an automatic
PDF. It seems to be a bug in orbeon, we just have tried again and again and
tested the orbeon form and the PDF template, but they seems to be well
formed. (you hace them in the first mail). How can we take a workaround for
this? We are thinking into get the professional version, but with this kind
of difficult we can't decide it yet.

Regards

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Dynamic Dropdown not mapping into PDF template

Erik Bruchez
Administrator
The PDF template issue is probably a bug and we'll try to reproduce and fix
it.

-Erik

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Dynamic Dropdown not mapping into PDF template

bruno.buzzi
In reply to this post by martinholario
Hi,

We had the same problem (currently that form is no used any more).

Our workaround was to put a readonly TextField with calculated value of the
selected item in the Combo.
(the text field was below the combo)

Of course this alter the Form but in our case was far more important the
custom PDF than a readonly Field with the same value as the upper Combo.

regards,
bruno



--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Dynamic Dropdown not mapping into PDF template

Erik Bruchez
Administrator
This issue is now fixed:

    https://github.com/orbeon/orbeon-forms/issues/3358

The fix will be available in Orbeon Forms 2017.2.

-Erik

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].