[jboss-user] [JBoss Seam] - Migrating seam 1.0.1 to 1.2.1 GA
Jayaranga
do-not-reply at jboss.com
Thu Sep 27 07:13:51 EDT 2007
Hi all,
we were using seam 1.0.1. now we decided to upgrade seam to its newer GA version 1.2.1.
we used seam-remoting for ajax functionalities.
i have following issues when migrate to 1.2.1GA
1. seam 1.0.1 remoting configuration is different with respect to 1.2.1
eg.
| <servlet>
| <servlet-name>Seam Remoting</servlet-name>
| <servlet-class>org.jboss.seam.remoting.SeamRemotingServlet</servlet-class>
| </servlet>
|
| <servlet-mapping>
| <servlet-name>Seam Remoting</servlet-name>
| <url-pattern>/seam/remoting/*</url-pattern>
| </servlet-mapping>
|
| <script type="text/javascript" src="seam/remoting/interface.js?customerAction">
| <!--
| // This space intentionally left blank
| //-->
| </script>
|
| <script type="text/javascript" src="seam/remoting/interface.js?customerAction&accountAction">
| <!--
| // This space intentionally left blank
| //-->
| </script>
VS
| <servlet>
| <servlet>
| <servlet-name>Seam Resource Servlet</servlet-name>
| <servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>
| </servlet>
| <servlet-mapping>
| <servlet-name>Seam Resource Servlet</servlet-name>
| <url-pattern>/seam/resource/*</url-pattern>
| </servlet-mapping>
|
|
| <script type="text/javascript" src="seam/resource/remoting/resource/remote.js"></script>
|
| <script type="text/javascript" src="seam/resource/remoting/interface.js?customerAction"></script>
|
|
Here, the 2 script calls are different. how can i manage backward compatibility with seam 1.0.1 ??
2. in 1.0.1 raiseEvent signature was
| public void raiseEvent(String type)
|
but in 1.2.1 this is no longer there in seam. raise event has the signature
| public void raiseEvent(String type, Object... parameters)
|
Can somebody explain me what are the drawbacks of the first method and why that method removed completely from 1.2.1??
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089268#4089268
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089268
More information about the jboss-user
mailing list