<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to change dynamically tJava content via an application url? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-dynamically-tJava-content-via-an-application-url/m-p/2233709#M23300</link>
    <description>&lt;P&gt;Yes, I'm&amp;nbsp;&lt;SPAN&gt;trying to call this job from any url.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;So, I explain my problem to you. I have an web application. When I clic a button from this application, it sends an url like this :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;"https://localhost:80/appli?name='Opel'"&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;So I want to take this parameter "name" and after I want to set it in my tJava, like that :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;context.name = "Opel"&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;My question is , how to set this parameter value in the context.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Here is my job's picture. &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtZV"&gt;Capture.PNG&lt;/A&gt;</description>
    <pubDate>Thu, 23 Aug 2018 09:09:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-23T09:09:27Z</dc:date>
    <item>
      <title>How to change dynamically tJava content via an application url?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-dynamically-tJava-content-via-an-application-url/m-p/2233707#M23298</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt; 
&lt;P&gt;I've do a talend project that used tJava , I have a variable in my tJava and I want to change this dynamically by my application&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;url.&lt;/P&gt; 
&lt;P&gt;So,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;How to change dynamically tJava content via an application request?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Example :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;url : https://localhost:80/haha?name='Joe'&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tJava code :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;String name = ?How to take the url value : "name=Joe"?;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you for your responses &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 08:00:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-change-dynamically-tJava-content-via-an-application-url/m-p/2233707#M23298</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-23T08:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to change dynamically tJava content via an application url?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-dynamically-tJava-content-via-an-application-url/m-p/2233708#M23299</link>
      <description>&lt;P&gt;Hi Mialy,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Are you trying to call this job from any url? Or is there any separate batch process which will call the job containing the tjava component you have mentioned?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Could you please give some more details about the flow you are trying to create so that we can help you better. If you are fine, could you please also share a screen shot of your current job flow?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 08:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-change-dynamically-tJava-content-via-an-application-url/m-p/2233708#M23299</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-23T08:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to change dynamically tJava content via an application url?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-dynamically-tJava-content-via-an-application-url/m-p/2233709#M23300</link>
      <description>&lt;P&gt;Yes, I'm&amp;nbsp;&lt;SPAN&gt;trying to call this job from any url.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;So, I explain my problem to you. I have an web application. When I clic a button from this application, it sends an url like this :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;"https://localhost:80/appli?name='Opel'"&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;So I want to take this parameter "name" and after I want to set it in my tJava, like that :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;context.name = "Opel"&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;My question is , how to set this parameter value in the context.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Here is my job's picture. &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtZV"&gt;Capture.PNG&lt;/A&gt;</description>
      <pubDate>Thu, 23 Aug 2018 09:09:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-change-dynamically-tJava-content-via-an-application-url/m-p/2233709#M23300</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-23T09:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to change dynamically tJava content via an application url?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-dynamically-tJava-content-via-an-application-url/m-p/2233710#M23301</link>
      <description>You should consider to use Talend ESB to expose a web service which you can call from your web application, passing parameter and receving result.
&lt;BR /&gt;Running a job from a web application is possible using a system command with --context_param=yourParameterValue
&lt;BR /&gt;However, this is not the best choice in my opinion.</description>
      <pubDate>Thu, 23 Aug 2018 15:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-change-dynamically-tJava-content-via-an-application-url/m-p/2233710#M23301</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-08-23T15:17:58Z</dc:date>
    </item>
  </channel>
</rss>

