<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Submit or Execute on Other Events</title>
	<atom:link href="http://forms.stefcameron.com/2009/01/30/submit-or-execute-on-other-events/feed/" rel="self" type="application/rss+xml" />
	<link>http://forms.stefcameron.com/2009/01/30/submit-or-execute-on-other-events/</link>
	<description>Building intelligent forms using Adobe LiveCycle Designer</description>
	<lastBuildDate>Thu, 19 Jan 2012 16:32:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2009/01/30/submit-or-execute-on-other-events/#comment-6875</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Fri, 12 Feb 2010 03:12:24 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2009/01/30/submit-or-execute-on-other-events/#comment-6875</guid>
		<description>juan,

To see scripts in a form, you need to select the object(s) who scripts you want to see and then use the Script Editor palette.

As for executing a web service on a FormReady event, I would recommend you simply invoke it programmatically by calling its execute() method:

&lt;pre&gt;&lt;code&gt;xfa.connectionSet.{WebServiceDataConnectionName}.execute(1);&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>juan,</p>
<p>To see scripts in a form, you need to select the object(s) who scripts you want to see and then use the Script Editor palette.</p>
<p>As for executing a web service on a FormReady event, I would recommend you simply invoke it programmatically by calling its execute() method:</p>
<pre><code>xfa.connectionSet.{WebServiceDataConnectionName}.execute(1);</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: juan</title>
		<link>http://forms.stefcameron.com/2009/01/30/submit-or-execute-on-other-events/#comment-6874</link>
		<dc:creator>juan</dc:creator>
		<pubDate>Sat, 06 Feb 2010 13:23:51 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2009/01/30/submit-or-execute-on-other-events/#comment-6874</guid>
		<description>i have been looking for days on how to do this. it looks like you have figuered this out but i dont quite understand live cycle that great i suppose. if i would like the web service to excute whenever the form event docready happens how do i make that happen i keep getting tons of errors and i cant get it to work? also when i download your form i noticed i dont see the scripting anywhere ?... any help would be appreciated.
Juan</description>
		<content:encoded><![CDATA[<p>i have been looking for days on how to do this. it looks like you have figuered this out but i dont quite understand live cycle that great i suppose. if i would like the web service to excute whenever the form event docready happens how do i make that happen i keep getting tons of errors and i cant get it to work? also when i download your form i noticed i dont see the scripting anywhere ?&#8230; any help would be appreciated.<br />
Juan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2009/01/30/submit-or-execute-on-other-events/#comment-6873</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Tue, 19 Jan 2010 22:08:12 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2009/01/30/submit-or-execute-on-other-events/#comment-6873</guid>
		<description>Han Dao,

The difference between the Initialize and the FormReady events is that Initialize occurs immediately after data merge however prior to calculations and validations whereas FormReady occurs immediately after validations (so Initialize, Calculate and Validate events occur prior to FormReady). Both events occur prior to master page layout (which includes Initialize, Calculate and Validate for master pages). Finally, the LayoutReady event occurs, followed by DocReady.

It&#039;s difficult to tell if it&#039;s SP3 or your form without knowing more about the internals of your form.</description>
		<content:encoded><![CDATA[<p>Han Dao,</p>
<p>The difference between the Initialize and the FormReady events is that Initialize occurs immediately after data merge however prior to calculations and validations whereas FormReady occurs immediately after validations (so Initialize, Calculate and Validate events occur prior to FormReady). Both events occur prior to master page layout (which includes Initialize, Calculate and Validate for master pages). Finally, the LayoutReady event occurs, followed by DocReady.</p>
<p>It&#8217;s difficult to tell if it&#8217;s SP3 or your form without knowing more about the internals of your form.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Han Dao</title>
		<link>http://forms.stefcameron.com/2009/01/30/submit-or-execute-on-other-events/#comment-6872</link>
		<dc:creator>Han Dao</dc:creator>
		<pubDate>Thu, 14 Jan 2010 22:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2009/01/30/submit-or-execute-on-other-events/#comment-6872</guid>
		<description>Hi Stefan,

Could you please explain what is the difference between the &quot;form:ready&quot; and &quot;intialize&quot; events. I used to have the code to execute the web service in the &quot;form:ready&quot; event which worked fine and then it stopped working which does not execute the web service when there is no change in the web service. This happens after the LC ES service pack 3 was applied. So I moved the code from the &quot;form:ready&quot; event to the &quot;intialize&quot; and it works fine then. I couldn&#039;t tell whether it the sp3 or the form, could you please advise.

Thanks,
Han Dao</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>Could you please explain what is the difference between the &#8220;form:ready&#8221; and &#8220;intialize&#8221; events. I used to have the code to execute the web service in the &#8220;form:ready&#8221; event which worked fine and then it stopped working which does not execute the web service when there is no change in the web service. This happens after the LC ES service pack 3 was applied. So I moved the code from the &#8220;form:ready&#8221; event to the &#8220;intialize&#8221; and it works fine then. I couldn&#8217;t tell whether it the sp3 or the form, could you please advise.</p>
<p>Thanks,<br />
Han Dao</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2009/01/30/submit-or-execute-on-other-events/#comment-6871</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Sat, 21 Mar 2009 20:03:32 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2009/01/30/submit-or-execute-on-other-events/#comment-6871</guid>
		<description>Mohan Radhakrishnan,

There are 3 types of data connections: schema, database and web service. None of them would be hitting your LC server per se unless you exposed a web service from one of your LC services (built in Workbench). For schemas, it must be a local file or a resource in the LC Repository and for database, it&#039;s via a DSN defined on the local system.

The DSN holds credentials for authentication and for web services, Designer 8.2 has basic support for authenticated web service calls (which you setup in the Data Connection Wizard).</description>
		<content:encoded><![CDATA[<p>Mohan Radhakrishnan,</p>
<p>There are 3 types of data connections: schema, database and web service. None of them would be hitting your LC server per se unless you exposed a web service from one of your LC services (built in Workbench). For schemas, it must be a local file or a resource in the LC Repository and for database, it&#8217;s via a DSN defined on the local system.</p>
<p>The DSN holds credentials for authentication and for web services, Designer 8.2 has basic support for authenticated web service calls (which you setup in the Data Connection Wizard).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohan Radhakrishnan</title>
		<link>http://forms.stefcameron.com/2009/01/30/submit-or-execute-on-other-events/#comment-6870</link>
		<dc:creator>Mohan Radhakrishnan</dc:creator>
		<pubDate>Fri, 06 Mar 2009 13:06:37 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2009/01/30/submit-or-execute-on-other-events/#comment-6870</guid>
		<description>Any pointer to a doc. on how the data connection hits the server(LiveCycle server ? ). Can I hit my app. server ? Actually none of these web service calls can succeed unless authorized and logged by my app. server first.
We plan to run the LiveCycle forms server on windows and our WebLogic app. server on Unix.

Thanks,
Mohan</description>
		<content:encoded><![CDATA[<p>Any pointer to a doc. on how the data connection hits the server(LiveCycle server ? ). Can I hit my app. server ? Actually none of these web service calls can succeed unless authorized and logged by my app. server first.<br />
We plan to run the LiveCycle forms server on windows and our WebLogic app. server on Unix.</p>
<p>Thanks,<br />
Mohan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2009/01/30/submit-or-execute-on-other-events/#comment-6869</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Fri, 06 Mar 2009 02:58:35 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2009/01/30/submit-or-execute-on-other-events/#comment-6869</guid>
		<description>Mohan Radhakrishnan,

While I&#039;m no expert in that area, I would think that you could do it in many ways using LiveCycle. For example, you could define the web service data connection in the form but have it execute on the server rather than the client.

Depending on how your LiveCycle process was setup, another option could be to execute the web service call first, gather the returned data and merge it into the form when serving it out to the client (this way, the form doesn&#039;t know anything about the web service).</description>
		<content:encoded><![CDATA[<p>Mohan Radhakrishnan,</p>
<p>While I&#8217;m no expert in that area, I would think that you could do it in many ways using LiveCycle. For example, you could define the web service data connection in the form but have it execute on the server rather than the client.</p>
<p>Depending on how your LiveCycle process was setup, another option could be to execute the web service call first, gather the returned data and merge it into the form when serving it out to the client (this way, the form doesn&#8217;t know anything about the web service).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohan Radhakrishnan</title>
		<link>http://forms.stefcameron.com/2009/01/30/submit-or-execute-on-other-events/#comment-6868</link>
		<dc:creator>Mohan Radhakrishnan</dc:creator>
		<pubDate>Wed, 04 Mar 2009 04:47:16 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2009/01/30/submit-or-execute-on-other-events/#comment-6868</guid>
		<description>Hi,
         I tried your form that connects to a web service. Generally we show forms in a web application and we don&#039;t let the form or the web page connect to a web service on its own. We send a request to the web server and then the App. server( Spring or CXF ). Even though the forms server is deployed separately the control passes to our app. server.

        How is this type of architecture implemented ? I couldn&#039;t get any architectural guidelines dealing with Adobe e-forms and how it aligns with the established web application designs.


Thanks,
Mohan</description>
		<content:encoded><![CDATA[<p>Hi,<br />
         I tried your form that connects to a web service. Generally we show forms in a web application and we don&#8217;t let the form or the web page connect to a web service on its own. We send a request to the web server and then the App. server( Spring or CXF ). Even though the forms server is deployed separately the control passes to our app. server.</p>
<p>        How is this type of architecture implemented ? I couldn&#8217;t get any architectural guidelines dealing with Adobe e-forms and how it aligns with the established web application designs.</p>
<p>Thanks,<br />
Mohan</p>
]]></content:encoded>
	</item>
</channel>
</rss>

