[jboss-user] [JBoss Seam] - May i generate a full application by seam-gen in a databae e

2006-12-04 Thread chlol
i had tables in a database,i want to generate entity bean,action bean,view once and the generated application can be run. Can seam 1.x do that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991181#3991181 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [JBoss Seam] - Re: May i generate a full application by seam-gen in a datab

2006-12-05 Thread chlol
"[EMAIL PROTECTED]" wrote : yes. | | http://docs.jboss.com/seam/1.1CR2/reference/en/html/gettingstarted.html thank you gavin! but if i want to use icefaces ,the seam don't generate the view ,and the file generatd put into a directory,Can i put it into difference directory in obedience to my

[jboss-user] [JBoss Seam] - how to generate all code to many module using seam-gen?

2007-02-22 Thread chlol
eg: i have 20 tables,i want to generate 1-5 tables code to admin module,and 6-10 tables code to system module, and 10-20 tables code to forum module. but in current version,jboss-seam generate all tables code to only one direction,include entity,session and view. View the original post : http:

[jboss-user] [JBoss Seam] - Re: how to generate all code to many module using seam-gen?

2007-02-22 Thread chlol
direction is directory View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020551#4020551 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020551 ___ jboss-user mailing list jboss-us

[jboss-user] [JBoss Seam] - How to generate all code to many package?

2007-02-22 Thread chlol
eg: i have 20 tables,i want to generate 1-5 tables code to admin module,and 6-10 tables code to system module, and 10-20 tables code to forum module. but in current version,jboss-seam generate all tables code to only one directory,include entity,session and view. View the original post : htt

[jboss-user] [JBoss Seam] - Re: add my own interceptor with problems

2007-08-17 Thread chlol
i meet the same question,but can't resolve it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075150#4075150 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075150 ___ jboss-use

[jboss-user] [JBoss Seam] - Re: Interceptor for seam component

2007-08-17 Thread chlol
i do it as the doc,but i can't invoke the interceptor,my code is the following theinterceptor: package cn.sh.guanghua.manhour.service.manhour; import java.lang.reflect.Modifier; import java.util.Map; import javax.interceptor.AroundInvoke; import javax.interceptor.InvocationContext; import org.j

[jboss-user] [JBoss Seam] - submit username and password for towice to login successfull

2007-08-28 Thread chlol
my env:jboss-4.2.0.GA + jboss-seam-2.0.0.BETA1 after the jboss start ,i can login to my application's home page for once,then i logout to login page,but here i must submit the username and password towice,then login to the home page,why? can you help me? thank you! View the original post : h

[jboss-user] [JBoss Seam] - is it rich:menuItem bug ?

2007-08-28 Thread chlol
my menu source code: the Authenticator class: @Name("authenticator") @Scope(ScopeType.SESSION) public class Authenticator { @Logger Log log; @In Identity identity; @In EntityManager entityManager; private User user = new User();

[jboss-user] [JBoss Seam] - the intercept component don't work!

2007-08-28 Thread chlol
my test intercept: @Name("interceptsTest") @Interceptor public class InterceptsTest { @Logger Log log; @AroundInvoke public Object doLogs(InvocationContext inv) throws Exception { int methodModify = inv.getMethod().getModifiers();

[jboss-user] [JBoss Seam] - Re: the intercept component don't work!

2007-08-28 Thread chlol
my test intercept: @Name("interceptsTest") | @Interceptor | public class InterceptsTest { | @Logger | Log log; | | | @AroundInvoke | public Object doLogs(InvocationContext inv) throws Exception { | | int methodModify = inv.getM

[jboss-user] [JBoss Seam] - Re: the intercept component don't work!

2007-08-29 Thread chlol
thank your reply! i use a test case to call the persist method,the following is code: @Test | public void testIntercept() throws Exception { | new ComponentTest() { | protected void testComponents() throws Exception {

[jboss-user] [JBoss Seam] - Re: the intercept component don't work!

2007-08-29 Thread chlol
that's ok,thank you! but how to define a seam component? Is not it to use @Name to define? pardon my prolixity! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079425#4079425 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply

[jboss-user] [JBoss Seam] - Re: the intercept component don't work!

2007-08-30 Thread chlol
i understand thank you very much again! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079816#4079816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079816 ___ jboss-user mail

[jboss-user] [JBoss Seam] - why do the getRestrictions method in List Bean be invoked se

2007-12-03 Thread chlol
the getRestrictions method in List Bean is invoked seven time when the getResultList method is invoked? jboss-4.2.0.GA+jboss seam2.0GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110068#4110068 Reply to the post : http://www.jboss.com/index.html?module=b

[jboss-user] [JBoss Seam] - why do the getRestrictions method in List Bean be invoked se

2007-12-03 Thread chlol
jboss-4.2.0.GA + jboss seam2.0GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110067#4110067 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110067 ___ jboss-user mailing li

[jboss-user] [JBoss Seam] - the method invoked twice, when render the page once!

2007-10-17 Thread chlol
in my page ,only one place to inove the method,but it excuted twice,when render the page once i search the solution in jboss forum and google,but i cann't solve it. the code piece: | | #{messages['task.principal']} | | | | | | when the

[jboss-user] [JBoss Seam] - Re: the method invoked twice, when render the page once!

2007-10-17 Thread chlol
thank you,amitev! "The getters are invoked more than once per request",the first,i think it is not a good idea, the second in ,the expression only accept the getter method. and in my project,i have many getter method,in which having expensive logic. what can i do? thank you again! View the o

[jboss-user] [Installation, Configuration & DEPLOYMENT] - throws "Software caused connection abort: socket write error

2007-10-17 Thread chlol
jboss seam 2 rc1 application running on jboss 4.2 + mysql5 the application runs every two days,it throws Software caused connection abort: socket write error the exception detail: 5:09:24,609 ERROR [JDBCExceptionReporter] No operations allowed after connection closed.Connection was implicitly clo

[jboss-user] [JBoss Seam] - Re: the method invoked twice, when render the page once!

2007-10-17 Thread chlol
when using the non-get method,the method are invoked more than once per request! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096370#4096370 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096370

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: throws

2007-10-18 Thread chlol
config as 180 then the question is solved the reason: in mysql,default global.wait_timeout is 28800 second,if the value of idle-timeout-minutes more than global.wait_timeout,and when mysql close the idle connection,the connection still in the jboss connection pool.then if jboss application get t

[jboss-user] [JBoss Seam] - Re: the method invoked twice, when render the page once!

2007-10-18 Thread chlol
i use the @Factory,but can't solve the question my list bean generated jboss gen: package cn.sh.guanghua.manhour.service.admin; | | import org.jboss.seam.Component; | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.Factory; | import org.jboss.seam.annotations.Name;

[jboss-user] [JBoss Seam] - Re: the method invoked twice, when render the page once!

2007-10-22 Thread chlol
look forward to anybody help on edge ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097673#4097673 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097673 ___ jboss-user maili

[jboss-user] [JBoss Seam] - Re: the method invoked twice, when render the page once!

2007-10-23 Thread chlol
up View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098096#4098096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098096 ___ jboss-user mailing list jboss-user@lists.jboss.org h

[jboss-user] [JBoss Seam] - Re: the method invoked twice, when render the page once!

2007-10-24 Thread chlol
thank you,pete! as you said,the method is invoked once,but i cann't still understand: 1.how the page know the method "usersByManager" in UserList? 2.if i have the same factory method in another class,what's the result? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtop

[jboss-user] [JBoss Seam] - Myseam, the jboss seam2.0GA's expander framework, offers new

2007-11-18 Thread chlol
new feature that the jboss seam don't contain: 1. the Home Bean,List Bean,entity can be generated into difference package,and the view can be generated into difference directory. | 2. the table prefix can be get off when generating code | 3. the label value in page be config in resource file

[jboss-user] [JBoss Seam] - Re: Myseam, the jboss seam2.0GA's expander framework, offers

2007-11-19 Thread chlol
The aim of myseam is providing many ways to use jboss seam and sharing some using experience.These often are not attentioned by framework itself,because different people or companies are different in ways and habits of using jboss seam.Myseam is just the tools that let people to use jbossseam mo

[jboss-user] [JBoss Seam] - Re: Myseam, the jboss seam2.0GA's expander framework, offers

2007-11-20 Thread chlol
to 1 and 2,hibernate tools can not support these two functions too,but we need them very much ,so i developped myseam.I love jboss seam very much,but if it can add more characters of appfuse 1.9.x,it'll become more and more perfect.I have to say myseam was supplied to my own company to use at fi

[jboss-user] [JBoss Seam] - Re: Myseam, the jboss seam2.0GA's expander framework, offers

2007-11-22 Thread chlol
to explain 1 and 2: 1). for example, i have three tables:sys_role,sys_user,rs_resource,in myseam,configurate the generate as the following: | | | | | | sys_user,sys_role | | | rs_resource | |

[jboss-user] [JBoss Seam] - Re: Myseam, the jboss seam2.0GA's expander framework, offers

2007-11-22 Thread chlol
complementarity for 2: the name of the code generated as the following: model:User,Role,Resource home:UserHome,RoleHome,ResourceHome list:UserList,RoleList,ResourceList view:UserEdit.xml,RoleEdit.xml,ResourceEdit.xml,eg. View the original post : http://www.jboss.com/index.html?module=bb&op=viewto