Binding local model data.

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

Binding local model data.

Ajit
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Binding local model data.

Alessandro  Vernet
Administrator
Hi Ajit,

I've tried your component as-is, and here it shows some content, so the
binding to the local seems to work, from what I can see. Are you seeing
something different? Or are you referring to another issue?

<http://discuss.orbeon.com/file/t119778/Screen_Shot_2017-11-20_at_4.png>

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: Binding local model data.

Ajit
Hi Alex

When i try same component on my local machine

it doesn't show any text show only blank control. also not showing any error
in log.

it would be great if you can share the step how you configure my component

how it worked in you side.

Thanks
Ajit.


--
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: Binding local model data.

Alessandro  Vernet
Administrator
Hi Ajit,

I don’t think that I did anything special. I tried this with 2017.1. Is this
the version you are using? If not, would you be able to try if it works for
you as well with 2017.1?

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: Binding local model data.

Ajit
HI Alex

Yes version is same 2017.1.1, as soon as i copy this code to my XBL file it
display blank when i add control to my form.

Do I have to to some extra settings

Below is my property settings


<properties xmlns:xs="http://www.w3.org/2001/XMLSchema"
        xmlns:oxf="http://www.orbeon.com/oxf/processors">

        <property as="xs:string" name="oxf.fr.persistence.provider.*.*.*"
                value="mysql" />

        *<property as="xs:string" name="oxf.fb.toolbox.group.other.uri.*.*"
                value="oxf:/xbl/ucsf/medication-history/medication-history.xbl
                      oxf:/xbl/my/country-selector/country-selector.xbl" />*
                     

        <property as="xs:string" name="oxf.xforms.xbl.mapping.ucsf"
                value="http://www.ucsf.com/" />

        <property as="xs:boolean" name="oxf.xforms.minimal-resources"
                value="true" />
        <property as="xs:boolean" name="oxf.xforms.cache-combined-resources"
                value="true" />


        <property as="xs:boolean" name="oxf.xforms.resources.encode-version"
                value="false" />


</properties>


Please look and let me know.

Regards
Ajit


--
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: Binding local model data.

Alessandro  Vernet
Administrator
Hi Ajit,

I tried this again, just to be sure, and here is what I did:

-  Download <http://www.orbeon.com/download>   a build of Orbeon Forms PE
2017.1.1, uncompress the distrib, uncompress the war.
- Put this ` properties-local.xml
<http://discuss.orbeon.com/file/t119778/properties-local.xml>  ` in
`WEB-INF/resources/config`.
- Create the directory `WEB-INF/resources/xbl/ucsf/medication-history` and
add your ` medication-history.xbl
<http://discuss.orbeon.com/file/t119778/medication-history.xbl>  ` in that
directory.
- Replace the content of `WEB-INF/resources/apps/xforms-hello/view.xhtml` by
the content of this ` view.xhtml
<http://discuss.orbeon.com/file/t119778/view.xhtml>  `.

With this, when loading http://localhost:8080/orbeon/xforms-hello/, I get:

<http://discuss.orbeon.com/file/t119778/Screen_Shot_2017-12-01_at_4.png>

You'll let me know if you get a different result by following those steps.

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: Binding local model data.

Ajit
Hello Alex

Thanks , I am also able to run this component  to following yours step. but
i want this component in form builder like existing component eg
Autocomplete ,Time, Date etc

I am also able to see this component "Medication-History " in form builder
but when i drag this component to create form. i got blank.

is there any way to add this component in form builder. please share those
step so i can integrate  complex  component

in our application.

following is my local formbuilder screen shot you can check that.
<http://discuss.orbeon.com/file/t375565/blank.png>

--
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].