Redundant date in fr:metadata node of fr-form-instance

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

Redundant date in fr:metadata node of fr-form-instance

Łukasz Pytlarz
Hi,

I use action (HTTP Service) with set control choices as a service responce action

I have few dropdown menu inside section which could be repeated several hundred times.

My problem concerns fr:medadata, which I understand is important for fields associated with the checkbox controls, but on the other hand contains a lot of unnecessary data.

Is there any other way to store this data? Autocomplete field have its own label attr what is good enough and could be a solution also in this case.

Thanks in advance.

Łukasz

--
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: Redundant date in fr:metadata node of fr-form-instance

Alessandro  Vernet
Administrator
Hi Łukasz,

Are you saying that you're seeing that the list of choices is stored for
each "instance" of your dropdown in the repeat, which seems redundant, and
you'd prefer for it to be stored only once for all the "instances" of the
"save" dropdown? Or am I misunderstanding your question?

‑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: Redundant date in fr:metadata node of fr-form-instance

Łukasz Pytlarz
Hi Alex, 

I think rather about store all choices instead of only one which I need to proper display value in control. 

There is few hundred such controls in form and for each control is store list of choices counting several dozen. This seems to me unrelevantly redundant. 

After reload this form I need for each control only one label/value pair.

I need to add that architecture of my solution requires reload most lists when I try to change my choice. This is multi-level selector with address data (region/subregion/community/city/street) for the list of participants. 

Maybe this would work better with other architecture but API which I consume it assumes such use. 

Some solution is to use autocomplete controls but it is pretty much change in user expirience. 

Now in instance is much more metadata than data itself. 

Łukasz

On Wed, 14 Nov 2018, 02:12 Alessandro Vernet, <[hidden email]> wrote:
Hi Łukasz,

Are you saying that you're seeing that the list of choices is stored for
each "instance" of your dropdown in the repeat, which seems redundant, and
you'd prefer for it to be stored only once for all the "instances" of the
"save" dropdown? Or am I misunderstanding your question?

‑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 a topic in the Google Groups "Orbeon Forms" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orbeon/KbqAYgVrdto/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To post to this group, send email to [hidden email].
--

--
Łukasz Pytlarz
609 055 172

--
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: Redundant date in fr:metadata node of fr-form-instance

Alessandro  Vernet
Administrator
Łukasz, I'm sorry but I am still not sure to understand what you'd like to
do. Could you give an example (maybe shortened / summarized), of what is
being stored now vs. what you'd like to store?

‑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: Redundant date in fr:metadata node of fr-form-instance

Alessandro  Vernet
Administrator
Hi Łukasz, have you solved the issue you were having with the redundant
information in the `fr:metadata`? If not, could you give me more detailed
information, per my previous message?

‑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: Redundant date in fr:metadata node of fr-form-instance

Łukasz Pytlarz
Hi Alex, 

I promise I give you some example of what I meant. 

This was about to have a control over saving select1s' dictionary within instance. 

I would like to have possibility for dropdown control to store label for value with reflabel attr. This is similar to how autocompletem control works right now. This label attr for node allow us cleanning metamata in instance on save. 

Łukasz

On Tue, 27 Nov 2018, 22:49 Alessandro Vernet, <[hidden email]> wrote:
Hi Łukasz, have you solved the issue you were having with the redundant
information in the `fr:metadata`? If not, could you give me more detailed
information, per my previous message?

‑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 a topic in the Google Groups "Orbeon Forms" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orbeon/KbqAYgVrdto/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To post to this group, send email to [hidden email].
--

--
Łukasz Pytlarz
609 055 172

--
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: Redundant date in fr:metadata node of fr-form-instance

Alessandro  Vernet
Administrator
Hi Łukasz,

Are you saying that you would like the dropdown to, in addition to the
value, also save the label of the selected item in the data?

‑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: Redundant date in fr:metadata node of fr-form-instance

Łukasz Pytlarz
Yes. That could be enough. I mean, when I have also label not only value I could clear meta data from instance. 

On Fri, 30 Nov 2018, 00:24 Alessandro Vernet, <[hidden email]> wrote:
Hi Łukasz,

Are you saying that you would like the dropdown to, in addition to the
value, also save the label of the selected item in the data?

‑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 a topic in the Google Groups "Orbeon Forms" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orbeon/KbqAYgVrdto/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To post to this group, send email to [hidden email].
--

--
Łukasz Pytlarz
609 055 172

--
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: Redundant date in fr:metadata node of fr-form-instance

Alessandro  Vernet
Administrator
Hi Łukasz,

Could you extract the label or the current value from the "full" metadata,
store it somewhere on the element say adding an attribute `label="…"` on the
relevant element, and then clear the metadata, if you don't need the whole
thing?

And I imagine that this would happen in the service you implement, which is
called by the `send()` action.

‑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: Redundant date in fr:metadata node of fr-form-instance

Alessandro  Vernet
Administrator
Hi Łukasz, if this is still current, have you considered taking the label
from the metadata you get from `send()`, and discarding the part you don't
need, as suggest in my previous message?

‑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: Redundant date in fr:metadata node of fr-form-instance

Łukasz Pytlarz
Hi Alex, 

I haven't tried it yet. I will inform you when I do. 

On Wed, 19 Dec 2018, 08:06 Alessandro Vernet, <[hidden email]> wrote:
Hi Łukasz, if this is still current, have you considered taking the label
from the metadata you get from `send()`, and discarding the part you don't
need, as suggest in my previous message?

‑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 a topic in the Google Groups "Orbeon Forms" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orbeon/KbqAYgVrdto/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To post to this group, send email to [hidden email].
--

--
Łukasz Pytlarz
609 055 172

--
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: Redundant date in fr:metadata node of fr-form-instance

Alessandro  Vernet
Administrator
Got it Łukasz, thank you for the update, and of course, there is no rush on
our side ;), I just wanted to make sure you were able to do what you were
aiming for. ‑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