[jboss-user] [JBoss Seam] - Re: Seam performance concerns

2007-06-23 Thread liudan2005
Thanks for your reply. I am using server side states saving, and we don't have hashmap lookup in our pages. We can't migrate to MyFaces 1.1.5 and Tomahawk 1.1.6 due to compatibility problem with seam 1.2.1. Also, MyFaces 1.1.5 doesn't work well with Seam 1.3. So basically we can't change our en

[jboss-user] [JBoss Seam] - Seam performance concerns

2007-06-22 Thread liudan2005
We did a performance test on Seam using Load Runner. The result is really disappointing. Compare with our old system(Struts based), seam is about 10 times slower. Here is the result: Hardware: Xeon 5130 * 2 + Intel S5000 SAS + 4G 667 FBM + 15K 73G SAS RAID 10 New seam based version (using ejb3)

[jboss-user] [JBoss Seam] - Re: @Out with stateless beans should be outlawed?

2007-06-05 Thread liudan2005
I have a similar problem with @Out and I don't know if it's caused by the same problem as described. I have a page that dispalys a search box and serach result, when searchResult annotated with @Out is null, a search box shows. Otherwise, search result is displayed. I've noticed search result i

[jboss-user] [JBoss Seam] - Re: migration concerns. Seam 1.3 + Jboss 4.2 +?

2007-06-02 Thread liudan2005
Thanks for your help. We just noticed we have a few jsf components that directly cooperate with myfaces components. In this case, we have to stick to myfaces. I've spent a whole trying to get our app working with Jboss4.2+Seam1.3CVSBuild+MyFaces1.1.5+Tomahawk1.1.5, but with no luck. Maybe my

[jboss-user] [JBoss Seam] - migration concerns. Seam 1.3 + Jboss 4.2 +?

2007-06-01 Thread liudan2005
I'm currently using Seam 1.2.1 GA + JBoss 4.0.5 JEMS + MyFaces 1.1.4 + Tomahawk 1.1.3. Once Seam 1.3 is release, I'll have to upgrade everything (Seam1.3+JBoss4.2+?). Since Seam 1.3 is mainly tested with JSF 1.2 Sun RI, using MyFaces 1.1.5 seems not a good choice anymore(I've seen people havin

[jboss-user] [JBoss Seam] - Re: Seam security question, in vpn environment

2007-05-26 Thread liudan2005
Great. It works. Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048844#4048844 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048844 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Seam security question, in vpn environment

2007-05-26 Thread liudan2005
I have some pages under /admin/* that I don't want them publicly available. I have a virtual NIC with IP 10.3.0.1, I need to allow access to /admin/* that comes from this NIC. It would be nice if Seam support this: | | I don't know if there's other better ways doing it. Can someone share

[jboss-user] [JBoss Seam] - NullPointerException when redeploy my app

2007-05-17 Thread liudan2005
I'm using a4j:poll to keep my session alive (like gmail). Everytime if I redeploy my app, a4j:poll would cause a NullPointerException: | 09:19:08,749 ERROR [PhaseListenerManager] Exception in PhaseListener RESTORE_VIEW(1) afterPhase | java.lang.NullPointerException | at org.apache

[jboss-user] [JBoss Seam] - Re: need a solution, commandbutton triggers a session start

2007-05-17 Thread liudan2005
No, it doesn't work. @Begin is used for conversation scoped component. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046681#4046681 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046681

[jboss-user] [JBoss Seam] - Re: need a solution, commandbutton triggers a session start

2007-05-17 Thread liudan2005
my ejb. | @Stateless | @Name("myBean") | public class MyBean implements MyBeanInterface{ | | @In(create=true) | MyState myState; | | public String search(){ | return doSearch(myState.getSearchString()); | | } | | } | my page | | | | If I

[jboss-user] [JBoss Seam] - Re: need a solution, commandbutton triggers a session start

2007-05-16 Thread liudan2005
I've tried changing my component to @Stateless, but it doesn't help. my method is not even invoked. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046389#4046389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046389 _

[jboss-user] [JBoss Seam] - need a solution, commandbutton triggers a session start

2007-05-16 Thread liudan2005
I've been having this problem for a long time and hope I can find a good solution here. I have a lot of pages that having a couple of inputTexts and a commandButton. When commandButton is clicked, it invokes a session scoped component. Everything works fine if user clicks the button before sess

[jboss-user] [JBoss Seam] - assign default value for seam component

2007-05-11 Thread liudan2005
In jsf back bean, I can assign a default (see following code). In seam, is there anyway to assign a default value to my component? | | default | Defaults | application | | | nodeResults | 15 | | | |

[jboss-user] [JBoss Seam] - getting javax.ejb.EJBNoSuchObjectException periodically

2007-05-08 Thread liudan2005
I keep getting this exception periodically. It seems Seam can't find my stateful bean when trying to destroy my timed out conversation. Anyone having the same problem? | javax.ejb.EJBNoSuchObjectException: Could not find Stateful bean: 5c4o05h-wulhek-f1g66qmp-1-f1ghkdmx-2f | at org

[jboss-user] [JBoss Seam] - Re: unable to access application scoped component in @Timeou

2007-04-30 Thread liudan2005
No, I just noticed I don't have "" in my components.xml. Everything is working now. Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041773#4041773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041773

[jboss-user] [JBoss Seam] - Re: unable to access application scoped component in @Timeou

2007-04-30 Thread liudan2005
I get IllegalStateException when I try to call an @Asynchronous annotated method in my @Create annotated method when app is started. | ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/]] Exception sending context initialized event to listener instance of class org.jbos

[jboss-user] [JBoss Seam] - Re: unable to access application scoped component in @Timeou

2007-04-29 Thread liudan2005
In the doc, Seam timer is triggered from paymentAction.scheduleRecurringPayment() which itself is a seam component and it has seam application context. In my case, seam component is triggered at startup time and it doesn't have any active application context. Is there anyway to force seam to cr

[jboss-user] [JBoss Seam] - unable to access application scoped component in @Timeout me

2007-04-29 Thread liudan2005
I'm using ejb3 timer and I wanna access application scoped component when @Timeout method is called. I get "no active application context" when trying to do this. Is there anyway to do it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041703#4041703 Reply t

[jboss-user] [JBoss Seam] - Re: RememberMe example?

2007-04-26 Thread liudan2005
It would be nice to have an event "org.jboss.seam.beforeAuthenticate", so I can manually populate values and call identity.login. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041251#4041251 Reply to the post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [JBoss Seam] - Re: RememberMe example?

2007-04-26 Thread liudan2005
also noticed if page is directed from "org.jboss.seam.security.NotLoggedInException" defined in pages.xml, rememberme would stop working. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041247#4041247 Reply to the post : http://www.jboss.com/index.html?modul

[jboss-user] [JBoss Seam] - Re: RememberMe example?

2007-04-26 Thread liudan2005
finally figured out why it didn't work for me before. it's caused by "MyFacesExtensionsFilter", FacesContext.getCurrentInstance() returns null when I have myfaces extension filter installed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041246#4041246 Reply

[jboss-user] [JBoss Seam] - Re: RememberMe example?

2007-04-25 Thread liudan2005
thanks for your help. I've tried seamspace and it seems to work, I still can see any reason why my app doesn't work. Another question is, does rememberme feature provide auto-login? It seems it only saves the username, but user still have to enter their password to login manually each time they

[jboss-user] [JBoss Seam] - Re: RememberMe example?

2007-04-25 Thread liudan2005
Tried 1.2.1.GA, still having the same problem. can't see why View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040617#4040617 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040617 __

[jboss-user] [JBoss Seam] - Re: RememberMe example?

2007-04-25 Thread liudan2005
I'm using Seam 1.2GA and latest Jboss JEMS installer. I ticked the rememberme box when log in. If I close IE and comes back again, it directs me to the login page. It seems login information is not saved in cookies. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtop

[jboss-user] [JBoss Seam] - RememberMe example?

2007-04-25 Thread liudan2005
I'm thinking of using Seam rememberme, but I can't find any doc saying how to use this feature. I've tried this in my login form: | | but it doesn't seem to work. Is there anything else I need to do? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=404046

[jboss-user] [JBoss Seam] - Re: orm.xml causes No active session context

2007-04-24 Thread liudan2005
Has anyone had the same problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040143#4040143 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040143 ___ jboss-user mailing lis

[jboss-user] [JBoss Seam] - Re: orm.xml causes No active session context

2007-04-22 Thread liudan2005
Sorry I should say it's cause by "EntitySecurityListener", Here is my content in orm.xml | | http://java.sun.com/xml/ns/persistence/orm"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/persisten

[jboss-user] [JBoss Seam] - orm.xml causes No active session context

2007-04-22 Thread liudan2005
I have a java SWT client that accesses my ejb remotely. If orm.xml is packed into my ejb.jar, I keep getting No active session context when trying to access my ejb method remotely. | Caused by: java.lang.IllegalStateException: No active session context | at org.jboss.seam.security.Identi

[jboss-user] [EJB 3.0] - change @Orderby parameter at runtime?

2007-03-01 Thread liudan2005
Is there anyway to change orderby parameter for an @Orderby annotated collection? e.g. @OrderBy("age desc") private List persons at runtime, I wanna sort by name at runtime. is there anyway to do it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024388#4024

[jboss-user] [JBossWS] - Re: just can't get jbossWS working!!

2007-02-16 Thread liudan2005
Thanks michea. I've tried what you said and now I can start jboss. However, it still doesn't allow me to deploy any simple application. | Caused by: java.lang.IllegalArgumentException: failed to parse: | at java.awt.datatransfer.DataFlavor.(DataFlavor.java:292) | at javax.

[jboss-user] [JBossWS] - Re: just can't get jbossWS working!!

2007-02-16 Thread liudan2005
I did follow the instruction. my enviroment: Jboss JEMS 1.2 CR1 (AS 4.0.5.GA, EJB3 1.0.0.CR9-jboss4.0.5, Portal 2.4.0.GA, JBossWS 1.0.3.SP1 Installer) I downloaded jbossws 1.0.4 and I did: 1.) Copy lib/jbossws-client.jar to $JBOSS_HOME/client/ 2.) Unzip lib/jbossws.sar to $JBOSS_HOME/server/defau

[jboss-user] [JBossWS] - Re: jbossws always try to use port 8080

2007-02-16 Thread liudan2005
I did a search for 8080 and there are at least 20 files contain 8080. Is there any standard way to change the port number to 80? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017558#4017558 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[jboss-user] [JBossWS] - just can't get jbossWS working!!

2007-02-15 Thread liudan2005
Has anyone managed to get jbossws working with jboss JEMS 1.2.0.GA (downloaded from http://labs.jboss.com/portal/jemsinstaller/downloads). Can't get jsr181pojo working with bundled JBossWS 1.0.3.SP1. When I try to upgrad to JBossWS 1.0.4, everything stops working. I just can't see how I can get

[jboss-user] [JBossWS] - jbossws always try to use port 8080

2007-02-15 Thread liudan2005
I've changed my port number from 8080 to 80 as you can see: | | However, I can see that jbossws is still trying to connect 8080 for invoking services. Anyone knows why this happens? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017301#4017301 Reply

[jboss-user] [JBossWS] - SOAP request exception java.lang.NoClassDefFoundError

2007-02-15 Thread liudan2005
I keep getting this when trying to run a very simple demo code: | ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] SOAP request exception | | java.lang.NoClassDefFoundError | | at org.jboss.ws.jaxrpc.encoding.SimpleDeserializer.deserialize(SimpleDeserializer.java:52) | |

[jboss-user] [JBossWS] - Re: Can not set remoting client Marshaller when not connecte

2007-02-13 Thread liudan2005
anyone knows? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015748#4015748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015748 ___ jboss-user mailing list jboss-user@lists.

[jboss-user] [JBossWS] - Can not set remoting client Marshaller when not connected?

2007-02-07 Thread liudan2005
I've followed this article to run my first ws test: http://www.regdeveloper.co.uk/2007/01/23/ejb_web_services/ However, I keep getting this exception: | javax.xml.soap.SOAPException: Could not setup remoting client | at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:16

[jboss-user] [JBoss Seam] - fileUpload doesn't support ajax submit?

2007-02-06 Thread liudan2005
I'm using ajax4jsf commandButton to submit the form and I've noticed s:fileUpload doesn't work with ajax submit. here is my code: | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012014#4012014

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Servlet welcome-file not supported

2007-02-05 Thread liudan2005
I've just noticed jboss doesn't support servlet as welcome file. I thought this is defined in servlet spec 2.4. Anyone knows a good walk around? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011654#4011654 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [JBoss Seam] - Seam 1.1.5 security components issues?

2007-02-01 Thread liudan2005
I've just downloaded 1.1.5 and try to put the following code in my session listener: | @Name("mysessionlistener") | @Scope(SESSION) | public class MyListener{ | @Create | public void sessionCreated() { | Identity identity=(Identity)Component.getInstance(Identity.class,true); | }

[jboss-user] [JBoss Seam] - Is this bug gonna be fixed in Seam 1.1.5?

2007-01-27 Thread liudan2005
JIRA link: http://jira.jboss.org/jira/browse/JBSEAM-632 I've also notices, if my pages is being manipulated by ajax4jsf components, h:commandLink would stop working as well. Is there any plan to fix this bug in Seam 1.1.5? I have to decide whether to abandon ajax4jsf if this bug is not gonna b

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

2007-01-27 Thread liudan2005
Sorry for my mistyping. The EntityManager is injected to my session scoped EJB. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007224#4007224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007224 __

[jboss-user] [JBoss Seam] - Getting "Entity not managed" when using EntityManager in ses

2007-01-27 Thread liudan2005
My EntityManager is injected to my session scoped and I have 3 methods: | @PersistenceContext(type = EXTENDED) | private EntityManager em; | | public String list(){ | ... | } | | public String edit(){ | ... | } | | public String save(){ | ... | } | In list method

[jboss-user] [JBoss Seam] - anyone uses s:selectDate ?

2007-01-27 Thread liudan2005
I've noticed its background is transparent in Firefox. Also is there anyway to configure its locale, language...? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007173#4007173 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=rep

[jboss-user] [JBoss Seam] - Re: pagination problem, advice needed

2007-01-26 Thread liudan2005
Sorry I was trying to explain my situation better but made it worse. Here is my scenario. The person.xhtml page shows all the properties of Person entity. In this page, I need to show top 5 records of person's calls and reviews. Here is the code: | | | | | | |

[jboss-user] [JBoss Seam] - Re: pagination problem, advice needed

2007-01-24 Thread liudan2005
Thanks Gavin. I've had a look at Query and it looks great. However, my situation is a bit more complicated. What I need is a way to to paginating the collocation based property of my entities. Here is my code: | | | | | | | | | | | | As y

[jboss-user] [JBoss Seam] - pagination problem, advice needed

2007-01-24 Thread liudan2005
I've been trying to solve this problem for ages but still couldn't find a good solution. I have an entity which looks like this: | class Person{ | String name; | int age; | List reviews; | List calls; | } | in my jsf page, I have: | | | | ... | | | | ... |

[jboss-user] [JBoss Seam] - Can use Set<> for @OneToMany property

2007-01-24 Thread liudan2005
The following code works fine: | public List getReviews() { | return reviews; | } | | public void setReviews(List reviews) { | this.reviews = reviews; | } | in my jsf page, I have: | | However, if I change List to Set, it says

[jboss-user] [JBoss Seam] - Icefaces + Ajax4Jsf + Seam?

2007-01-20 Thread liudan2005
I'm using ajax4jsf+seam at moment. As Icefaces is becoming more compatible with seam, I'm thinking of adding icefaces to my application when next version of both seam and icefaces are released. Since ajax4jsf and icefaces are naturally competitors, would it be a problem to put them together? Any

[jboss-user] [JBoss Seam] - Re: manual validation in Seam

2007-01-18 Thread liudan2005
I've removed ajax4jsf , it then works. I thinks it's a bug when integrate with ajax4jsf. I've created a JIRA issue: http://jira.jboss.org/jira/browse/JBSEAM-667 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003292#4003292 Reply to the post : http://www.jbo

[jboss-user] [JBoss Seam] - Re: manual validation in Seam

2007-01-13 Thread liudan2005
The jsf code I've posted was copied from Seam doc: http://docs.jboss.com/seam/1.1GA/reference/en/html_single/#validation I don't understand why it doesn't work. Removing a:components would lose ajax support. Is this a bug? View the original post : http://www.jboss.com/index.html?module=bb&op=v

[jboss-user] [JBoss Seam] - Re: manual validation in Seam

2007-01-12 Thread liudan2005
I've tried this but it doesn't seem to work. I get nothing appeared when user typed wrong thing and left the inputtext box. Here is my code: | public void checkLocation(){ | facesMessages.add("country", "error message"); | } | my page: | | |

[jboss-user] [JBoss Seam] - manual validation in Seam

2007-01-12 Thread liudan2005
s:decorate + s:message is a great feature in Seam. I wonder if there's a way to manually validate the user input. Here is my scenario, I have following code in my page: | | | | | http://www.jboss.com/index.html?m

[jboss-user] [JBoss Seam] - Re: bookmarkable page with cid problem

2007-01-08 Thread liudan2005
Thanks Gavin. This seems not work for me. Looking at your url, I've noticed it deosn't have "clr=true". why does my url have clr=true? What does clr do? Is there anyway to get ride of it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998893#3998893 Reply to

[jboss-user] [JBoss Messaging] - temporary destination vs. dynamically created destination

2007-01-04 Thread liudan2005
I'm writing a little problem behaves similar to other instant messengers (e.g. MSN, yahoo messenger). The client login to the server and talk to the server individually. I'm not sure whether to use a temporary destination between server and the client, or use JMX to create a dynamic destination.

[jboss-user] [JBoss Messaging] - Re: Programmaticaly create queue

2007-01-04 Thread liudan2005
Why do I get InstanceNotFoundException ? here is my code: | mbeanServer = MBeanServerFactory.createMBeanServer(); | ObjectName objName = new ObjectName("jboss.messaging:service=ServerPeer"); | mbeanServer.invoke(objName, "createQueue", | new Object[] { "anyname", null },

[jboss-user] [JBoss Seam] - Re: bookmarkable page with cid problem

2007-01-04 Thread liudan2005
I've tried doing it for my page, but it still doesn't solve my original problem: It doesn't create a new conversation! All I need is to ask Seam to create a new conversation when @Being annotated method is invoked and cid's value can't be found. This problem drives me crazy now. I might have to

[jboss-user] [JBoss Seam] - Re: Jboss messaging supported?

2007-01-04 Thread liudan2005
It says "jms:queue-connection" is not a valid tag in components.xml when I deploy it. here is my xml definition: | http://jboss.com/products/seam/components"; | xmlns:core="http://jboss.com/products/seam/core"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc

[jboss-user] [JBoss Seam] - Re: Jboss messaging supported?

2007-01-03 Thread liudan2005
I simply followed seam doc http://docs.jboss.com/seam/1.1GA/reference/en/html/jms.html#d0e5121 and I haven't added any thing new. The doc seem to be not updated. Here is my code: | @In(create=true) | private QueueSender paymentQueueSender; | @In(create=true) | private QueueSession q

[jboss-user] [JBoss Seam] - Re: bookmarkable page with cid problem

2007-01-03 Thread liudan2005
removing no-conversation-view-id from components.xml seems not the right way to do it. There are cases users do need to be redirected when conversation doesn't exist. I think the correct behaviour should to create a new conversation when @Being annotated method is invoked and cid's value can't

[jboss-user] [JBoss Seam] - Jboss messaging supported?

2007-01-03 Thread liudan2005
I'm using JBoss messaging at moment. I can send a message from a standalone client. When I try to send a message from my ejb, I keep getting NullPointerException. Here is how I defined the component | | queue/testQueue | | Is there any guidelines of how u can use jbo

[jboss-user] [JBoss Seam] - Re: bookmarkable page with cid problem

2006-12-29 Thread liudan2005
Thanks for your help. It is a result view. Here is what I'm trying to do. I have 3 pages: search->choose from result-> detailed info. I used s:link in the 2nd page. the detailed info page needs to be bookmarkable. The back bean has a search method and showResult method. both action methos are a

[jboss-user] [JBoss Seam] - Re: bookmarkable page with cid problem

2006-12-29 Thread liudan2005
yes, I just noticed it's actually caused by clr=true. what does clr mean? Is there anyway to solve this problem? Here is how mu url looks like: http://testmachine:8080/myweb/home.meal?city=1&actionMethod=home.xhtml%3AmyBean.myMethod&cid=3&clr=true&conversationPropagation=join View the original p

[jboss-user] [JBoss Seam] - Re: page opened through s:link doesn't support ajax4jsf ?

2006-12-28 Thread liudan2005
anyone knows? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996689#3996689 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996689 ___ jboss-user mailing list jboss-user@lists.

[jboss-user] [JBoss Seam] - bookmarkable page with cid problem

2006-12-28 Thread liudan2005
I have a bookmarkable page that is opened through s:link. the action method is annoated with @Begin(join=true) in a conversation scoped bean. The s:linke generated url has a parameter "cid=2". When I restart my browser and paste the url, I get an error saying that conversaton can't be found and

[jboss-user] [JBoss Seam] - page opened through s:link doesn't support ajax4jsf ?

2006-12-22 Thread liudan2005
I've noticed that if my page is opened through s:link, the ajax4jsf a:commandLink in this page would stop working. Is there anyway to work around? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995931#3995931 Reply to the post : http://www.jboss.com/index.h

[jboss-user] [Beginners Corner] - Re: java.util.zip.ZipException

2006-12-19 Thread liudan2005
I'm having the same problem as well. Have you managed to solve the problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995173#3995173 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995173 ___

[jboss-user] [JBoss Seam] - Re: ClassValidator, java.util.MissingResourceException

2006-08-14 Thread liudan2005
No. No one answered me yet and I still couldn't find a solution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964909#3964909 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964909 __

[jboss-user] [JBoss Seam] - Re: pressing enter doesn't submit the form in IE when there'

2006-08-08 Thread liudan2005
aha, it's a jsf issue. Looks like the simplest solution is to add one more field with "width: 0px; height: 0px" to make it invisible. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963739#3963739 Reply to the post : http://www.jboss.com/index.html?module=b

[jboss-user] [JBoss Seam] - Re: pressing enter doesn't submit the form in IE when there'

2006-08-07 Thread liudan2005
The Seam booking demo works because it has 2 input fields: username and password. If there's only one input field (say only username), it would stop working. It is caused by being alone in the form. I guess the first thing to do is to find out whether this is a Seam bug, or Facelet bug? With

[jboss-user] [JBoss Seam] - Re: pressing enter doesn't submit the form in IE when there'

2006-08-07 Thread liudan2005
I guess more than 80% of users in this world use IE 6. Is there any way to get around this problem? What I have now is quite simple. A form contains 2 elements: a inputText for user to enter search term, and a commandButton for submit the form (similar to google's home page). When user entered

[jboss-user] [JBoss Seam] - pressing enter doesn't submit the form in IE when there's on

2006-08-07 Thread liudan2005
In Seam booking example login page, you are required to enter username and password. when you enter username and password and press enter, it will submit the form. However, if you only have one inputText in your page (remove the password inputText from .xhtml file), and when you press enter, the

[jboss-user] [JBoss Seam] - Re: I will pay $10 for a solution

2006-08-07 Thread liudan2005
http://answers.google.com/answers/ I guess google answers might be better place to go for paid questions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963494#3963494 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963

[jboss-user] [JBoss Seam] - Re: ClassValidator, java.util.MissingResourceException

2006-08-03 Thread liudan2005
I can see there is DefaultValidatorMessages.properties file in hibernate jar file. Buf for somehow, hibernate is not able to load it. Anyone knows about this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962763#3962763 Reply to the post : http://www.jboss

[jboss-user] [JBoss Seam] - ClassValidator, java.util.MissingResourceException

2006-08-02 Thread liudan2005
I'm trying to use hibernate validators, and I keep getting: Caused by: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key validator .length It seems it's unable to find the resource bundle file. Do I need to do something special before using

[jboss-user] [JBoss Seam] - Stateless not supported with List/Edit type applications

2006-07-20 Thread liudan2005
I have a stateless ejb that has 2 methods: list() and edit(). list method populate a list so user can click on one of the items for editing. However, my edit() method is never triggered when user clicked on the items. Changing my ejb to Stateful would solve the problem. Is there any reason why S