[jboss-user] [JBoss Seam] - Re: When we need an entity-manager-factory?

2007-12-05 Thread wuhaixing
Thanks for your reply! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110491#4110491 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110491 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - When we need an entity-manager-factory?

2007-12-04 Thread wuhaixing
There are two different SMPC code snippet from the two seam examples: persistence:managed-persistence-context name=entityManager | auto-create=true | persistence-unit-jndi-name=java:/dvdEntityManagerFactory /

[jboss-user] [JBoss Seam] - Re: Usage of @Restrict annotation with method parameters

2007-11-27 Thread wuhaixing
anonymous wrote : the value of the @Restrict annotation may reference any objects that exist within a Seam context. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108277#4108277 Reply to the post :

[jboss-user] [JBoss Seam] - who can explain the security features demonstrate in the sea

2007-11-26 Thread wuhaixing
In the seamspace project,security-rule.drl has the following code snippet I donn't know why. 1. check: PermissionCheck(name == memberImage, action == view, granted == false) there is a memberImage component,but where is the action view? 2. check: PermissionCheck(name == blog, action == create,

[jboss-user] [JBoss Seam] - Re: Can we security @Factory?

2007-11-26 Thread wuhaixing
Thanks for you patient reply. Even ‘The factory component pattern lets a Seam component act as the instantiator for a non-component object. A factory method will be called when a context variable is referenced but has no value bound to it. We define factory methods using the @Factory

[jboss-user] [JBoss Seam] - Re: who can explain the security features demonstrate in the

2007-11-26 Thread wuhaixing
Thanks for you patient reply again ;) Ok,I will read the 13.6.2. Securing components again more carefully.But I'm not first time to think the Seam is too flexible to read the code for a newbie. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107926#4107926

[jboss-user] [JBoss Seam] - Can we security @Factory?

2007-11-25 Thread wuhaixing
I found following in the seamspaces,Does this mean security applied to the @Factory?If it's true,is there any other action options? security-rules.drl rule CreateFriendRequest | no-loop | activation-group permissions | when | check: PermissionCheck(name == friendRequest, action ==

[jboss-user] [JBoss Seam] - Why there are restrictedEntityManagerentityManager?

2007-11-08 Thread wuhaixing
I think this is a very very newbie question,but I didn't found the answer! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102811#4102811 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102811

[jboss-user] [JBoss Seam] - Re: lacewiki in the cvs broken

2007-10-18 Thread wuhaixing
I fix it by remove the seam-remoting.jar from the lib View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4096452#4096452 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4096452 ___

[jboss-user] [JBoss Seam] - lacewiki in the cvs broken

2007-10-17 Thread wuhaixing
I cann't run the seam wiki any more,here is the exception message: anonymous wrote : 10:35:28,414 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.remoting.gwt.gwtRemoteService | 10:35:28,414 ERROR [[/wiki]] Exception sending context initialized event

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-04 Thread wuhaixing
Brad,thanks u very much!But if does this solution can #{redirect.captureCurrentView} and #{redirect.returnToCapturedView}? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4091583#4091583 Reply to the post :

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-02 Thread wuhaixing
Yes,If I don't call the identitiy.login,the thing is ok.That's why I think identity.login reset the session. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090488#4090488 Reply to the post :

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-01 Thread wuhaixing
hi,matt.I set the edu.yale.its.tp.cas.client.filter.serviceUrl to my login page in the web.xml. And then the login.xhtml's action as identity.login in the page.xml. In the authenticator component,it seems identity.login reset the session,and I cann't get the username at all. Would you like to

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-01 Thread wuhaixing
the following credentials | | 09:18:19,572 INFO [STDOUT] 2007-10-02 09:18:19,572 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - Granted service ticket [ST-1-lHKcFO0JY3WxO3lLJrx0a17yhjDhF5fhUmD-20] for service [http://localhost:8080/epass/login.seam] for user [wuhaixing] | 09:18

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-09-30 Thread wuhaixing
Thanks!One more question,how did you create the seam Identity after authentication? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090028#4090028 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090028

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-09-30 Thread wuhaixing
Thanks a lot View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090072#4090072 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090072 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - How can I integrate CAS client into Seam?

2007-09-29 Thread wuhaixing
Is there any 'deep' integration solution? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4089993#4089993 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4089993 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: seam don't set the invalid after an ajax request

2007-09-26 Thread wuhaixing
thanks,I had figure it out.and there is the code can do it's work! in the form: | s:decorate id=emailFormRow template=/layout/formRow.xhtml |ui:define name=label | h:outputLabel for=email value=#{messages['register.email']}/ |

[jboss-user] [JBoss Seam] - seam don't set the invalid after an ajax request

2007-09-25 Thread wuhaixing
I have a s:decorate like this | a4j:region id=#{fieldId}Field selfRendered=true regionRenderOnly=true | ui:insert/ | div id=#{fieldId}Label class=formlabel #{invalid?'errlabel':''} | ui:insert name=label/ | /div | | div id=#{fieldId}Input

[jboss-user] [JBoss Seam] - final class cann't be a seam component?

2007-09-18 Thread wuhaixing
I used to create a final class to provide some constants list for other classes,when I try this in the seam,the jboss 4.2.1 tell me cann't creat the component. Is it because it's a final class?If so,what should I do the same thing in the seam as before? View the original post :

[jboss-user] [JBoss Seam] - Re: final class cann't be a seam component?

2007-09-18 Thread wuhaixing
I found the reason why I cann't create the component: @PersistenceContext may only be used on session bean or message driven bean components so,what should I do to the common constant lists? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4085821#4085821 Reply

[jboss-user] [JBoss Seam] - Re: final class cann't be a seam component?

2007-09-18 Thread wuhaixing
I found the same thing I want in the dvdstore sample,ProcessDefinitionSwitcher Can I store the list in the db instead of a final String[] list in the code? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4085828#4085828 Reply to the post :