<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Single field submit or multiple forms simultaneous submit"]]></title>
		<link>http://www.icefaces.org/JForum/posts/list/12.page</link>
		<description><![CDATA[Latest messages posted in the topic "Single field submit or multiple forms simultaneous submit"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Single field submit or multiple forms simultaneous submit</title>
				<description><![CDATA[   Hi again!
  I'm working on an application where I have to put in one form lots (about 250) controls. On just a couple of them i have to make some logic on the server, and this doesn't depend on the values of the other fields. Is it possible in any way to force a partialSubmit on just one field, as submitting 250 fields each time is a little bit unrealistic.
  A solution could be (I think) to break the big form in more forms, but how can I then synchronize the submit of all forms on a push of a button?

    Thanx a lot!]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/3863.page#17437</guid>
				<link>http://www.icefaces.org/JForum/posts/list/3863.page#17437</link>
				<pubDate><![CDATA[Tue, 27 Feb 2007 09:41:18]]> GMT</pubDate>
				<author><![CDATA[ edykory]]></author>
			</item>
			<item>
				<title>Re:Single field submit or multiple forms simultaneous submit</title>
				<description><![CDATA[     I checked and yes, breaking the initial form in more forms does the job. My only question now is how to synchronize all the submits on a submit button. I know that ice faces adds some javascript stuff, and I want to do the thing in the right way, not just in a way that works for someone.
]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/3863.page#17439</guid>
				<link>http://www.icefaces.org/JForum/posts/list/3863.page#17439</link>
				<pubDate><![CDATA[Tue, 27 Feb 2007 09:50:40]]> GMT</pubDate>
				<author><![CDATA[ edykory]]></author>
			</item>
			<item>
				<title>Re:Single field submit or multiple forms simultaneous submit</title>
				<description><![CDATA[ I have got the same issue.

I tried add additional iceSubmitPartial action to onClick but this does not work as I thought.

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
&lt;ice:form id="form1" partialSubmit="true"&gt;
...
&lt;/ice:form&gt;
&lt;ice:form id="form2" partialSubmit="true"&gt;
...
&lt;ice:commandButton value="Submit" action="#{bean.submit}" onclick="iceSubmitPartial&#40;document.getElementById&#40;'form1'&#41;, this, event&#41;;" /&gt;
&lt;/ice:form&gt;
</pre>
		</div>

Follwing code caused that both forms are sent but bean.submit action is not called only when validation on form2 fails. If validation on form1 fails appropriate messages will be displayed but bean.submit will be called.
How to break action after iceSubmitPartial (it does not return boolean value) fail?

Might there is other resolution?

Regards,
Krzysiek]]></description>
				<guid isPermaLink="true">http://www.icefaces.org/JForum/posts/list/3863.page#37375</guid>
				<link>http://www.icefaces.org/JForum/posts/list/3863.page#37375</link>
				<pubDate><![CDATA[Sat, 5 Jul 2008 03:38:34]]> GMT</pubDate>
				<author><![CDATA[ dzik]]></author>
			</item>
	</channel>
</rss>