Author: shane.bryzak(a)jboss.com
Date: 2008-10-02 23:24:23 -0400 (Thu, 02 Oct 2008)
New Revision: 9180
Modified:
trunk/examples/remoting/helloworld/view/helloworld.xhtml
Log:
JBSEAM-2954
Modified: trunk/examples/remoting/helloworld/view/helloworld.xhtml
===================================================================
--- trunk/examples/remoting/helloworld/view/helloworld.xhtml 2008-10-02 20:26:34 UTC (rev
9179)
+++ trunk/examples/remoting/helloworld/view/helloworld.xhtml 2008-10-03 03:24:23 UTC (rev
9180)
@@ -22,6 +22,7 @@
<script type="text/javascript">
function sayHello() {
var name = prompt("What is your name?");
+ if (name == null) return;
var callback = function(result) { alert(result); };
Seam.Component.getInstance("helloAction").sayHello(name, callback);
}