# Problem with component and variables

**URL:** <https://techcommunity.softwareag.com/t/problem-with-component-and-variables/188812>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, Natural-for-AJAX\
**Created:** [June 3, 2016, 4:11pm UTC](https://techcommunity.softwareag.com/t/problem-with-component-and-variables/188812 "2016-06-03T16:11:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexandre\_Oliveira](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/alexandre_oliveira/32/1017_2.png) [@Alexandre\_Oliveira](https://techcommunity.softwareag.com/u/Alexandre_Oliveira)\
**Post date:** [June 3, 2016, 4:11pm UTC](https://techcommunity.softwareag.com/t/problem-with-component-and-variables/188812/1 "2016-06-03T16:11:25Z")

</div>

Hi,

I’m developing components using JQuery. The component already works.  
The problem is my component didn’t generate variables in ADAPTER that allows communication between Java and Natural.  
Can you help?

Best regards, Alexandre.

Component source: [url][datepicker component · GitHub](https://gist.github.com/anonymous/82511f6d80e09295238deb7d11552470#file-datepicker-java%5B/url%5D)

.

 ![jquery-natural.png](https://global.discourse-cdn.com/techcommunity/original/2X/9/94821fd674e8b6f919ab29e9bba5a3e551718136.png)

---

<div class="post-metadata">

**Author:** ![Alexandre\_Oliveira](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/alexandre_oliveira/32/1017_2.png) [@Alexandre\_Oliveira](https://techcommunity.softwareag.com/u/Alexandre_Oliveira)\
**Post date:** [June 20, 2016, 9:10pm UTC](https://techcommunity.softwareag.com/t/problem-with-component-and-variables/188812/2 "2016-06-20T21:10:48Z")

</div>

Hi,

I created components with JQUERY. I used Handler with the implementation ITagHandler class. I declared the JavaScript calls in the method generateLayoutXML as seen as attached video.

[![]( " - YouTube") ](https://www.youtube.com/watch?v=Lrti1gnjF2U)

Best regards,

Alexandre Marques de Oliveira

---

<div class="post-metadata">

**Author:** ![Christine\_Zimmermann](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Christine\_Zimmermann](https://techcommunity.softwareag.com/u/Christine_Zimmermann)\
**Post date:** [June 22, 2016, 9:26pm UTC](https://techcommunity.softwareag.com/t/problem-with-component-and-variables/188812/3 "2016-06-22T21:26:08Z")

</div>

Hi Alexandre,

I am seeing the jquery datepicker. Are you aware that NJX already contains the jquery datepicker as control? It is the DATEINPUT2 control. In the NaturalAjaxExamples there are samples for it. New with the latest hotfixes is the feature that you can also show multiple months.

Best Regards,  
Christine

---

<div class="post-metadata">

**Author:** ![Geraldo\_Valencia1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/geraldo_valencia1/32/1217_2.png) [@Geraldo\_Valencia1](https://techcommunity.softwareag.com/u/Geraldo_Valencia1)\
**Post date:** [June 23, 2016, 3:03pm UTC](https://techcommunity.softwareag.com/t/problem-with-component-and-variables/188812/4 "2016-06-23T15:03:57Z")

</div>

How can i find in the Eclipse Natural-One this component (DATEINPUT2 )???

Can you send one picture?

Best Regards,

Geraldo Valencia

---

<div class="post-metadata">

**Author:** ![Alexandre\_Oliveira](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/alexandre_oliveira/32/1017_2.png) [@Alexandre\_Oliveira](https://techcommunity.softwareag.com/u/Alexandre_Oliveira)\
**Post date:** [June 23, 2016, 3:11pm UTC](https://techcommunity.softwareag.com/t/problem-with-component-and-variables/188812/5 "2016-06-23T15:11:58Z")

</div>

Hi Christine,

I don’t know. I know NJXDemos (TEXTCCONTROL1, TEXTCCONTROL2, TEXTCCONTROL3, COMPANY, ADDRESS, ADDRESSLIST, CONTACT, CONTACTLIST) only. How do I access this component?

Best Regards,  
Alexandre

---

<div class="post-metadata">

**Author:** ![Christine\_Zimmermann](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Christine\_Zimmermann](https://techcommunity.softwareag.com/u/Christine_Zimmermann)\
**Post date:** [June 23, 2016, 10:18pm UTC](https://techcommunity.softwareag.com/t/problem-with-component-and-variables/188812/6 "2016-06-23T22:18:46Z")

</div>

Hi Alexandre, hi Geraldo,

here are the steps to run the DATEINPUT2 samples in Natural ONE:

1. Import the NaturalAjaxDemos from the Welcom page - see screenshot
2. Start the MENU-P program. You see the 2 samples in the screenshot.
3. Run the samples. In the corresponding documentation page you’ll see the name of the layout and Natural program.

Best Regards,  
Christine

 ![DATEINPUT2_Sample.jpg](https://global.discourse-cdn.com/techcommunity/original/2X/b/bf86be302dd4e09ad54fb14879566a26298e2f88.jpeg)  
 ![MENUP_DATEINPUT2.jpg](https://global.discourse-cdn.com/techcommunity/original/2X/a/a0312093f15dcbb6e0cd720fd106a3453ddd253f.jpeg)  
 ![NaturalAjaxDemos.jpg](https://global.discourse-cdn.com/techcommunity/original/2X/7/7dac832a61e5606529e36e5f1122e89748af5dbb.jpeg)

---

<div class="post-metadata">

**Author:** ![Alexandre\_Oliveira](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/alexandre_oliveira/32/1017_2.png) [@Alexandre\_Oliveira](https://techcommunity.softwareag.com/u/Alexandre_Oliveira)\
**Post date:** [June 28, 2016, 1:17pm UTC](https://techcommunity.softwareag.com/t/problem-with-component-and-variables/188812/7 "2016-06-28T13:17:55Z")

</div>

Christine,

Thanks… I have great difficulty in obtaining documentation.

Best regards,

Alexandre

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:36pm UTC](https://techcommunity.softwareag.com/t/problem-with-component-and-variables/188812/8 "2021-04-02T15:36:10Z")

</div>


