[jboss-user] [JBoss Seam] - Use Eclipse's BIRT with JBoss Seam

2008-02-09 Thread Fangzx
Has anyOne used Eclipse's BIRT with JBoss Seam 2.0? In birt report design, I have to call a Java class's static method from javascript. Can I use Component.getInstance() in this Java class? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128144#4128144 Re

[jboss-user] [JBoss Seam] - Re: Seam 2.0 on Glassfish

2008-02-04 Thread Fangzx
I have used Glassfish v2.1-b19 with Groovy today, and the problem remain unsolved. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126410#4126410 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126410 ___

[jboss-user] [JBoss Seam] - Re: Seam Component + Servlet

2008-02-04 Thread Fangzx
Use Component.getInstance(DocumentService.class) where DocumentService is a Seam component. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126029#4126029 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126029 _

[jboss-user] [JBoss Seam] - Re: Seam 2.0 on Glassfish

2008-02-04 Thread Fangzx
hi,thejavafreak,thank you for reply. I used GlassFish v2ur1-b09d. Have you used Groovy with Glassifh 2.1? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126028#4126028 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=

[jboss-user] [JBoss Seam] - How to prevent startup console log info?

2008-02-03 Thread Fangzx
In My Web app startup time, I can see following info in the console: - Welcome to Seam 2.0.0.GA - scanning: /D:/workspace-fzx/Divo2/WEB-INF/lib/jboss-seam.jar - scanning: /D:/workspace-fzx/Divo2/WEB-INF/lib/jboss-seam-remoting.jar - scanning: /D:/workspace-fzx/Divo2/WEB-INF/lib/jboss-seam-ui.jar -

[jboss-user] [JBoss Seam] - Re: Seam 2.0 on Glassfish

2008-01-29 Thread Fangzx
I use Groovy to write plain POJO Seam components, and I have problem in GlassFish to detect class modification. I think the classloader of Groovy in GlassFish may have problem, in Tomcat 6, everything is ok. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=41246

[jboss-user] [JBoss Seam] - Re: ExtJs and JBoss Seam with web remoting

2008-01-23 Thread Fangzx
hi,cvigouroux,thank you for sharing code. Do you have something similar like DWRTreeLoader with JBoss Seam Remoting? http://extjs.com/forum/showthread.php?t=6217&page=4 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122499#4122499 Reply to the post : http://

[jboss-user] [JBoss Seam] - Re: ExtJs and JBoss Seam with web remoting

2008-01-15 Thread Fangzx
I would love to see your work also. but I cannot visit link http://ntispace.blogspot.com/. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120277#4120277 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120277 __

[jboss-user] [JBoss Seam] - Re: How to set and get cookie in seam?

2008-01-03 Thread Fangzx
You can use cookies in client directly by JavaScript. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116665#4116665 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116665 ___ j

[jboss-user] [JBoss Seam] - Re: Using Seam and Groovy together question

2008-01-02 Thread Fangzx
The above hot deployment occurs only in Glassfish v2ur1, in Tomcat 6.0.14, it is ok? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116586#4116586 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116586 ___

[jboss-user] [JBoss Seam] - Re: Using Seam and Groovy together question

2008-01-02 Thread Fangzx
The above hot deployment problem occurs only in Glassfish v2ur1, in Tomcat 6.0.14, it is ok! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116587#4116587 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116587 ___

[jboss-user] [JBoss Seam] - Re: How to access HttpServletResponse when not use JSF clien

2008-01-02 Thread Fangzx
Thanks,that sovle my problem! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116411#4116411 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116411 ___ jboss-user mailing list j

[jboss-user] [JBoss Seam] - Re: about component Name convention

2008-01-02 Thread Fangzx
I use JBoss Seam 2.0.0GA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116407#4116407 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116407 ___ jboss-user mailing list jboss

[jboss-user] [JBoss Seam] - Re: about component Name convention

2008-01-01 Thread Fangzx
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116307#4116307 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116307 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [JBoss Seam] - Re: Using Seam and Groovy together question

2007-12-31 Thread Fangzx
About hot deployment: When I use java to write service component, and modify the java source code, hot deployment take effect. But when I use groovy to write service component,the hot deployment effect disappear. Can anyone help me? View the original post : http://www.jboss.com/index.html?mo

[jboss-user] [JBoss Seam] - How to access HttpServletResponse when not use JSF client?

2007-12-30 Thread Fangzx
I use plain servlet to render all html pages, not use JSF. I use Seam remoting to access server side service. In DWR (Direct Web Remoting), I can directly access HttpServletResponse like this: | public Boolean login(String loginName, String password, boolean remember, HttpSession session,

[jboss-user] [JBoss Seam] - Re: about component Name convention

2007-12-30 Thread Fangzx
When I use name like this: | @Name("app.userService") | @AutoCreate | class UserService extends BaseService { | | I must use the component like this: | @In("app.userService") UserService userService | But when I use name in Entity class like this: | @Entity | @Name(

[jboss-user] [JBoss Seam] - about component Name convention

2007-12-29 Thread Fangzx
To make component name unique, make name like: @Name("org.jboss.seam.security.identity") or @Name("identity")? How above name convention affact bijection? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116054#4116054 Reply to the post : http://www.jbo

[jboss-user] [JBoss Seam] - How to completely use Servlet instead of Facelets?

2007-12-23 Thread Fangzx
I use ExtJS as Client UI framework, and want completely use Servlet instead of Facelets。 How to completely remove Facelets related config and lib in a seam project? You may wonder why I want do so? Because I am Chinese user, I encountered Chinese text display problem that caused by Facelet.

[jboss-user] [JBoss Seam] - Re: Example of using Seam (without EJB) with ExtJS

2007-11-29 Thread Fangzx
hi,Techieexchange,thanks for your attention. 1) I will try it. 2) We can use ExtJS to build OPOA(One Page One Application), and I think JSF/Seam tags are not very usefull to us. If you learn more about ExtJS, you can see that it's OOP style code will have no problem in developer productivity a

[jboss-user] [JBoss Seam] - Re: Example of using Seam (without EJB) with ExtJS

2007-11-28 Thread Fangzx
I have uploaded the full src of the example porject. http://seamextsample.googlecode.com/files/seamextsample-1.0-beta1-src.exe About detail of this example, pls see my blog(but it is in Chinese yet): http://fangzhouxing.javaeye.com/ Any comments are appreciated! View the original post : http:/

[jboss-user] [JBoss Seam] - Example of using Seam (without EJB) with ExtJS

2007-11-28 Thread Fangzx
Based on Hotel Booking example, I have provided another example Project. Main features as follows: 1. replace JSF with ExtJS 2.0. 2. Facade/Servlet + Service layer design. 3. Complete TestNG unit test of Service layer. You can download the war file http://seamextsample.googlecode.com/files/seame

[jboss-user] [JBoss Seam] - Re: Seam and plain old JDBC code

2007-11-22 Thread Fangzx
How to use plain old JDBC code with Seam? Could anyone show some code pls? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107137#4107137 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107137

[jboss-user] [JBoss Seam] - Re: How to integrate Ext with Seam using JSON

2007-11-20 Thread Fangzx
Thanks for the reply. I will use servlet to build json response, and in servlet, We can call Seam Components to get grid data like this: | public class SampleServlet extends HttpServlet { | | private UserService userService; | | private void createUserService() { |

[jboss-user] [JBoss Seam] - How to integrate Ext with Seam using JSON

2007-11-20 Thread Fangzx
I want to use json respone for Ext grid, can anyone explain how to use json in Seam? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106259#4106259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106259 ___

[jboss-user] [JBoss Seam] - problem to use @Rollback in POJO

2007-11-17 Thread Fangzx
I have used @Transactional in POJO successfully, now want to test @Rollback feature in POJO, but in seam 2.0 there is no @Rollback(if... Can anyone help? Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105825#4105825 Reply to the post : h

[jboss-user] [JBoss Seam] - Re: Handling web remoting errors

2007-11-17 Thread Fangzx
yes,I also have this querstion. How to detect server side exception when using remoting? Can anyone provide any help?Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105750#4105750 Reply to the post : http://www.jboss.com/index.html?module

[jboss-user] [JBoss Seam] - Re: Seam remoting or DWR

2007-11-11 Thread Fangzx
There are times and situations where asynchronous just will not do. I agree that it is ideal to use async requests as much as possible, even if it requires refactoring much of your other code to make it work that way. However, there is value in having the option to make a synchronous call if on

[jboss-user] [JBoss Seam] - Re: Seam remoting or DWR

2007-11-11 Thread Fangzx
After two days hard work, I decided to modify remote.js in jboss-seam-remoting.jar to support synchronous call. old code: asyncReq.open("POST", Seam.Remoting.resourcePath + path, true); new code : asyncReq.open("POST", Seam.Remoting.resourcePath + path, Seam.Remoting.async); I crea

[jboss-user] [JBoss Seam] - Seam remoting or DWR

2007-11-09 Thread Fangzx
I used DWR before, and switched to JBoss Seam recently. Can I still use DWR instead of Seam remoting? Can Seam remoting make synchronous call like DWR? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103401#4103401 Reply to the post : http://www.jboss.com/in