"sherkan777" wrote : Hello,
| I have problem with example HelloWorld method...
| I've implemented those example in my project, on my index.xhtml page it
works fine, but when i try to use it or some other AJAX functions on pages in
my /pages/ folder (/pages/Person.xhtml) AJAX it could't work..
|
| My Firefox browser throws me an error: "Seam is not defined"
| at line: Seam.Component.getInstance("helloAction").sayHello(name,
sayHelloCallback);
|
| Can anyone tell me why this works on my main page, and could't in other
pages?
| I have acces to those pages after I log in to my web page, and when User is
looged In i start LongRunningConversation (id=2).
|
| I have implemented all same as in Seam documentation.
|
|
| anonymous wrote :
| |
| |
| |
|
| anonymous wrote :
| | function sayHello() {
| | var name = prompt("What is your name?");
| | Seam.Component.getInstance("userAction").sayHello(name,
sayHelloCallback);
| | }
| |
| | function sayHelloCallback(result) {
| | alert(result);
| | }
| |
| |
| etc.
|
| Regards!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973167#3973167
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973167
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user