[jboss-user] [JBoss Seam] - Re: Object disappear

2007-10-31 Thread Phantom
Anser: Do not user FINAL methods! In this case, the behavior is unpredictable. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100653#4100653 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100653 ___

[jboss-user] [JBoss Seam] - Object disappear

2007-10-31 Thread Phantom
Good day, Let me show you a real magic! But I don't know the secret... If you know it - please describe me! It's real problem for me... 1 Class: | package xxx.finders; | | import org.jboss.seam.framework.EntityController; | import org.jboss.seam.log.Log; | import org.jboss.seam.an

[jboss-user] [JBoss Seam] - Re: Threads and entityManager in Jboss Seam

2007-07-18 Thread Phantom
There is a workaround. Define entityManager as @PersistenceContext | private EntityManager entityManager; | Not as: | @In | private EntityManager entityManager; | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065358#4065358 Reply to the

[jboss-user] [JBoss Seam] - Threads and entityManager in Jboss Seam

2007-07-18 Thread Phantom
Good day, Please help me in my situation: I have a startup servlet, which starts server-socket to listen for incoming row socket connections. Than that connections interations hadnled by custom code wich use entityManager registered in Seam. When I run that application on my local host all wo

[jboss-user] [JBoss Seam] - Themes question

2007-07-10 Thread Phantom
Good day, How can I realise such functionality: I have 2 themes on my site: 1) Default - with images, CSS etc. 2) Printable - plain text - suitable for printing I want: for human show Default theme, but for crawles (Google, Yahoo etc.) show by default Printable version. How can I do that? May

[jboss-user] [JBoss Seam] - s:formattedText works incorrect

2007-07-09 Thread Phantom
Good day, I use s:formattedText on my site. But in some cases i can catch such exception: line 1:100: unexpected char: 0x2013 at org.jboss.seam.text.SeamTextLexer.nextToken(SeamTextLexer.java:203) at antlr.TokenBuffer.fill(TokenBuffer.java:69) at antlr.TokenBuffer.LA(Toke

[jboss-user] [JBoss Seam] - Re: Dispatcher not bound

2007-06-28 Thread Phantom
Ok. Thank you! I place Seams jars to that directories to share it among several Seams projects on one instance of Jboss AS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058760#4058760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=postin

[jboss-user] [JBoss Seam] - Re: Dispatcher not bound

2007-06-28 Thread Phantom
But I have already this line in my components.xml. As you can see this exception rised during instantiating of the session bean Dispatcher. May be I can instantiate by that line: ? It seams, that I know where the problem. I have seams jars in /lib and /deploy/jbossweb-tomcat5.5/jsf-libs/ di

[jboss-user] [JBoss Seam] - Dispatcher not bound

2007-06-28 Thread Phantom
Good day, I cann't run my application due to this excaption: | 16:25:23,866 ERROR [DebugPageHandler] redirecting to debug page | javax.naming.NameNotFoundException: Dispatcher not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) | at org.jnp.server

[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA

2007-06-28 Thread Phantom
Good news! :) I have several question: 1) Are you planning to switch development complitly to 2 version or you'll also support 1? 2) Can I download somewhere Jboss Seam 2.0 with all requered (AS, JSF 1.2 etc.) as one installation package? I had a lot of problems to install Jboss Seam on my Jbos

[jboss-user] [JBoss Seam] - EntityHome refresh entity

2007-06-26 Thread Phantom
Good day, It would be nice to have along with update(), merge(), remove() methods also refresh() method. Sometimes it's requered to obtain a fresh version of the object from DB. Or you have some methods for this already? Thanks!:) View the original post : http://www.jboss.com/index.html?modul

[jboss-user] [JBoss Seam] - DataModel from EntityQuery problem?

2007-06-22 Thread Phantom
Good day, I have the following code: template.xhtml: | http://www.w3.org/1999/xhtml"; |xmlns:ui="http://java.sun.com/jsf/facelets"; |xmlns:f="http://java.sun.com/jsf/core"; |xmlns:h="http://java.sun.com/jsf/html"; |xmlns:t="http://myface

[jboss-user] [JBoss Seam] - Seam namespaces.

2007-06-18 Thread Phantom
Please help me! I don't have much time and resources for experiment and in documentation I didn't find the answer to my question... In components.xml we can define XML namespaces in the header. Is it correct, that Jboss Seam looking for components only in this namespaces? My problem is: I have

[jboss-user] [JBoss Seam] - Greate thanks to Jboss team and Jboss-Seam team especialy

2007-06-15 Thread Phantom
You can delete my message, but I just want to say you realy greate thanks for the Jboss-Seam product!!! It's realy simple to code and create web applications! Some mounth ago I thought that Struts2 is perfect, but after learning JbossSeam and writing several projects on them, I think that JbossS

[jboss-user] [JBoss Seam] - Re: LocaleSelector

2007-06-12 Thread Phantom
Good day! I have the same problem in 1.2.1GA. And, as I see, there is no explanations how to fix in this topic. Does anybody know the solution? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053699#4053699 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [JBoss Seam] - Re: how to prevent *.xhtml pages from downloading?

2007-06-09 Thread Phantom
To prevent this you can use following structure in web.xml: | | Restrict XHTML Documents | | XHTML | *.xhtml | | | NONE | | | But Is there any mechanism to automaticly redirect to corr

[jboss-user] [JBoss Seam] - how to prevent *.xhtml pages from downloading?

2007-06-09 Thread Phantom
Please, help me! A have seam pages in *.xhtml files. Correct addresing to this page throught *.seam. But if I point IE to corresponding *.xhtml page - I can downlod it and view code. It seems quite unsecured. Is there possibility to automaticly redirect from *.xhtml page to *.seam page? Thank

[jboss-user] [JBoss Seam] - EntityHome.persist transaction problem?

2007-05-25 Thread Phantom
Good day, I have the problem with EntityHome.persist in simplest .xhtml page. | | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> | http://www.w3.org/1999/xhtml"; xmlns:ui="http://java.sun.com/jsf/facelets"; | xmlns:f="http://java.sun.com/jsf/core"; | xmlns:h="