[jboss-user] [EJB 3.0] - Re: .. problems with clob's and oracle (ojdbc14_g)

2008-07-10 Thread gus888
itsme wrote : BTW the given byte[] must be de-/serialized by some code written on your own. Hi Sandor, May you share your de-/serialized codes? I googled convert byte into string and found many example codes, but I don't know which one is good for EJB3 byte. Thanks a lot. Gus View the

[jboss-user] [JBoss Seam] - Issue on page param security

2008-02-04 Thread gus888
Hi, After practicing on page param, I found that page param is very nice, especially on its bidirectional. However, I also found a problem when I used it about its security. For example, I list all my friends , then I click on one of them and get page param friendId=?, e.g. fiendId=3. On the

[jboss-user] [JBoss Seam] - Re: Booking ScopeType.SESSION

2008-02-04 Thread gus888
I think that it is just for demo, and the same case happens in seam-bay AuctionSearchAction.java. For enterprise project, I remember that pete.muir ever recommended to use EVENT plus page param in this forum. View the original post :

[jboss-user] [JBoss Seam] - Re: How to prevent page data reloading when click Back

2008-02-04 Thread gus888
Hi Arvhatte, thank for your very detailed explanation. It is really helpful for me to understand the Seam framework. However, I still couldn't figure out why I click Back, pages always act with back beans. When I run Seam samples, then click page Back, it seems it run on client, and pages

[jboss-user] [JBoss Seam] - How to prevent page data reloading when click Back

2008-01-31 Thread gus888
Hi there, When I run the Seam example (seam-space), I browsed several pages, then I clicked Back to go back the previous browsed pages, I found there are no any page data reloading from database. However, when I clicked Back in my project, every previous page would reload data again from

[jboss-user] [JBoss Seam] - Re: Poll: what JSF framework are you using with Seam?

2008-01-30 Thread gus888
Hi there, I began to use the ICEfaces with Seam when ICEfaces just became open source and Gavin announced to support ICEfaces with Seam. I found that Seam works very well with ICEfaces. I never tried the Richfaces, but I know that Richfaces should work more well with Seam, since JBoss own the

[jboss-user] [JBoss Seam] - Facelets ui:include bean param became null in s:link tag

2008-01-25 Thread gus888
Hi, I don't know whether I did correctly in the following code. The bean action throw exception Target Unreachable, identifier 'action' resolved to null in s:link. If I change s:link to ice:commandLink, it works. I don't know what is wrong. Thanks for help.ui:include src=/common/view.xhtml |

[jboss-user] [JBoss Seam] - Re: Still confuse on usage of page param, help please!

2008-01-23 Thread gus888
Anybody can confirm my understanding on page parameter is correct or not? Thank you. anonymous wrote : So, based on my understanding on page parameter, when I click on s:link view=/comment.seam, the link's f:param will pass #{selectedMember.memberName} to name, and redirect to /comment.xhml

[jboss-user] [JBoss Seam] - Re: Still confuse on usage of page param, help please!

2008-01-22 Thread gus888
Thanks, Shane. So, based on my understanding on page parameter, when I click on s:link view=/comment.seam, the link's f:param will pass #{selectedMember.memberName} to name, and redirect to /comment.xhml page, then page param will get the name value and pass it to

[jboss-user] [JBoss Seam] - Still confuse on usage of page param, help please!

2008-01-21 Thread gus888
Hi, I reviewed the seamspace example and tried to understand how and when to use page parameter, but I still get confused. After I commented the following page parameter codes, I couldn't find any performance difference(including bookmarkable page). Anybody can tell me the purpose of using

[jboss-user] [JBoss Seam] - Is it possible to use page param in page navigation...

2008-01-17 Thread gus888
Hi there, I went through the docs, but couldn't find how to use page param in the docs sample code snippets:page view-id=/editDocument.xhtml | | navigation from-action=#{documentEditor.update} | rule if-outcome=success | redirect view-id=/viewDocument.xhtml/

[jboss-user] [JBoss Seam] - Can I inject a session bean into a stateless session bean?

2008-01-17 Thread gus888
Hi, I am not sure whether I can inject a session bean (e.g. currentUser) into a stateless session bean, and each user will have his owner username in the stateless session bean when he/she call it. For example:@Stateless | @Name(friend) | public class FriendAction implements Friend { |

[jboss-user] [JBoss Seam] - Re: Can I inject a session bean into a stateless session bea

2008-01-17 Thread gus888
Sorry Pete, What I am asking is whether I can inject a SFSB into a SLSB, e.g. inject user or username into a SLSB, see codes in the first posting. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121043#4121043 Reply to the post :

[jboss-user] [JBoss Seam] - A little confuse on stateful context scope types

2008-01-14 Thread gus888
Anybody can explain the distinguish among the stateful context scope types listed below. If I don't use long-running conversation, their functionalities are same? Thank you very much in [EMAIL PROTECTED](myAction) | @Stateful | @Scope(ScopeType.EVENT) | public class MyActionBean

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-10 Thread gus888
[EMAIL PROTECTED] wrote : My tip is to avoid starting conversations from navigation links (those links that take you to other areas of the app), always make navigation disable conversation propagation, and just use conversations *within* each area of the app.Excellent tip! Thank you very much,

[jboss-user] [JBoss Seam] - Re: Data disappeared when clicking on Conversation outjectio

2008-01-09 Thread gus888
Anybody can give a help? I am looking for Seam pattern for browsing data and pagination. Thank you very much. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4118321#4118321 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Data disappeared when clicking on Conversation outjectio

2008-01-09 Thread gus888
jacob.orshalick wrote : gus888 wrote : Question 1 : I tried different outjection scopes: EVENT, PAGE and CONVERSATION, and only the CONVERSATION scope works (outjected data were displayed on web). When I used EVENT and PAGE scopes, no data were displayed on web page. I don't know why

[jboss-user] [JBoss Seam] - Re: Data disappeared when clicking on Conversation outjectio

2008-01-09 Thread gus888
jacob.orshalick wrote : Without some code (the view, the navigation, etc), I don't think anyone is going to be able to help here... Thank you, Jacob. Following are my code snippets:pages.xml | page view-id=* | navigation | rule if-outcome=emailList |

[jboss-user] [JBoss Seam] - Data disappeared when clicking on Conversation outjection pa

2008-01-06 Thread gus888
Hi there, I have a stateless session bean which has a conversation outjection page: @Name(contactServicer) | @Stateless | @Scope(ScopeType.STATELESS) | public class ContactServicerBean implements ContactServicer { | | | @Out(required=false,

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-04 Thread gus888
[EMAIL PROTECTED] wrote : Normally you wouldn't make a search screen conversational. Why do you want to make it conversational? Hi Pete, in fact, I want to make my search screen conversational, because I need to save some search criteria, e.g. searching a classmate, it need to first select a

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-04 Thread gus888
[EMAIL PROTECTED] wrote : Have you taken a look at the way seam-gen does it? It produces a pageable, bookmarkable search screen that saves the search criteria without using a conversation. I went through all seam examples, and I found the following search beans: | 1. booking -

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-01 Thread gus888
trouby wrote : what's the difference between a new conversation starting from the same bean instance or from different bean instance? | I think that they are the same. Both of them create new conversations with new ids. trouby wrote : | why the behavior is different? | I think that this

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2007-12-31 Thread gus888
trouby wrote : I guess I'm doing something wrong, as in seam booking example the 'setHotel' is annotated with @Begin and can be invoked many times without this exception No, you didn't do anything wrong. As I posted above, the @Begin in booking example always was invoked in the same bean

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2007-12-26 Thread gus888
For How to control end of conversations: I have the same problem. I think that it is critical issue for the core (conversation) of Seam. The Seam forum here suggested that you use propagation=none to all other buttons and links which users can reach and propagate away from the current

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2007-12-26 Thread gus888
[EMAIL PROTECTED] wrote : gus888 wrote : For How to control end of conversations: | | I have the same problem. I think that it is critical issue for the core (conversation) of Seam. The Seam forum here suggested that you use propagation=none to all other buttons and links which users can

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2007-12-26 Thread gus888
[EMAIL PROTECTED] wrote : I don't see why putting propagate=none for all menu type links is a problem...Hi Pete, really, it is not a problem, but what I mean whether it is possible let Seam system to do the propagate=none job for a conversation once a user propagates away from the conversation

[jboss-user] [EJB 3.0] - Re: @id id data type: primitive or object which one is bette

2007-11-15 Thread gus888
Thank you very much, Mazz. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105088#4105088 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105088 ___ jboss-user mailing list

[jboss-user] [EJB 3.0] - Re: @id id data type: primitive or object which one is bette

2007-11-14 Thread gus888
No help? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4104794#4104794 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104794 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss Seam] - Re: Why cannot I run more than one concurrent conversation S

2007-11-08 Thread gus888
Hi Pete, Thank you so much for your patiently responding my questions. In fact, I have an idea to use conversation browse bean. User can browsing the search results, then he/she can either create a new instance or edit an existing instance through another conversation bean from the browsing

[jboss-user] [JBoss Seam] - Re: Why cannot I run more than one concurrent conversation S

2007-11-05 Thread gus888
Hi Pete, Thanks for your reply. Now I have not fully understood the Seam conversation strategy, but I think that if you remove the begin method invoked from a long running conversation, try using @Begin(join=true) exception check from new conversation @Begin invoke, maybe this issue will be

[jboss-user] [JBoss Seam] - Re: Why cannot I run more than one concurrent conversation S

2007-11-02 Thread gus888
Hi Pete, I don't know whether you can a functionality to Seam conversation Manager.java: as long as a user start @Begin, system will add propagation=none to the current/active conversation, then system will start a new current/active conversation. If you like, I can create JIRA. Thank you very

[jboss-user] [JBoss Seam] - Re: Why cannot I run more than one concurrent conversation S

2007-11-02 Thread gus888
[EMAIL PROTECTED] wrote : The programmer would make the navigation link he clicks propagation=none Hi Pete, Thank you very much for your replies on my several Conversation discussion post. Could you please give me a details instruction in the following codes which I modified from the booking

[jboss-user] [JBoss Seam] - Re: Why cannot I run more than one concurrent conversation S

2007-11-02 Thread gus888
Hi Pete, How about, as long as system get @Begin, system will start a new front conversation, and set other conversation back to time-off. If @Begin with a Id, system will check existing conversatin list, if found, system retrieve it, otherwise system create a new conversation. Can you think

[jboss-user] [JBoss Seam] - Re: Why cannot I run more than one concurrent conversation S

2007-11-01 Thread gus888
curtney wrote : | effectively leaving the current/active conversation (not ending it). You can then proceed to create another conversation. | | In other words, you have four options: | 1) join | 2) nest | 3)propagation none ** This is the one you want * | 4)end |

[jboss-user] [JBoss Seam] - Re: Is there a plan to fix fileUpload issue in Seam-ICEfaces

2007-10-26 Thread gus888
[EMAIL PROTECTED] wrote : In Seam 2 you have the option of disabling the built-in filters, so if you wish to use the ICEfaces file upload control you can now disable Seam's MultipartFilter. Hi Shane, Thank you very much for your reply. If I wish to use Seam s:fileUpload in Seam-ICEfaces

[jboss-user] [JBoss Seam] - Re: Is there a plan to fix fileUpload issue in Seam-ICEfaces

2007-10-26 Thread gus888
jguglielmin wrote : | There are at least 2 different implementations (available in download sample apps or ICEfaces forum) of the ice:inputfile component working with Seam --without disabling Seam's MultipartFilter. Hi Judy, thank you for your response. I have found several posts on ICEfaces

[jboss-user] [JBoss Seam] - Is there a plan to fix fileUpload issue in Seam-ICEfaces for

2007-10-25 Thread gus888
Hi Seam team, I am just wondering whether you plan to fix the issue http://jira.jboss.com/jira/browse/JBSEAM-859 about fileUpload for Seam ICEfaces integration in Seam 2 release. It is really bad since after integrating Seam and ICEfaces, both of the file upload components (s:fileUpload and

[jboss-user] [JBoss Seam] - Re: Question on conversation...

2007-10-25 Thread gus888
jacob.orshalick wrote : anonymous wrote : 1. How do these conversations end if the user does not come back to generate a click that invokes the method with @End annotation? | | Conversations will timeout after a configurable time period. Any conversation that is not the foreground

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

2007-10-17 Thread gus888
rdewell wrote : Our primary scope types are EVENT and SESSION. We were early adopters, and conversations just never worked quite right for us, so we didn't look back. Are there any others who made long-running conversations work in production environment? We also have a main problem on long

[jboss-user] [EJB 3.0] - @id id data type: primitive or object which one is better?

2007-10-15 Thread gus888
Hi there, I have a question about the primary key @id data type. Some use primitive, e.g. long and int, but some use object, e.g. Long and Integer. Which one is better or the two cases are the same. Thank you in advance. View the original post :

[jboss-user] [JBoss Seam] - Re: Why cannot I run more than one concurrent conversation S

2007-10-11 Thread gus888
[EMAIL PROTECTED] wrote : You can only have one foreground/active long running conversation per browser window. Hi Pete, Thank you so much for your reply, but I really couldn't figure out how to set current foreground/active long running conversation to background/inactive, and create a new

[jboss-user] [JBoss Seam] - Re: Noob conversation confusion

2007-10-10 Thread gus888
Hi, I have been struggling on this issue for a long time. From Seam 2.0, I can create multiple conversations for the same bean, e.g. click @Begin method to create a new conversation id=1, then click page back and click @Begin again, another new conversation id=3 was created, ... (before Seam

[jboss-user] [JBoss Seam] - Functionality difference between EntityHome and EntityContro

2007-10-04 Thread gus888
Hi, I want to use Seam framework: EntityHome and EntityController. After comparing their methods, I found that the methods between the two classes are almost same. I want to what different functionalities between them. and when I should use EntityHome and when to use EntityController. Hope

[jboss-user] [JBoss Seam] - Re: Functionality difference between EntityHome and EntityCo

2007-10-04 Thread gus888
I got it. Thank you so much, Matt and Pete. And also appreciate the Seam team's great work. Best regards, Gus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4091776#4091776 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Why cannot I run more than one concurrent conversation S

2007-09-29 Thread gus888
Can any other experts give me a help? I have this problem for a while. I really don't know why my system allows only one concurrent long-running conversation. When I try to @Begin another long-running conversation, my system always ask for @Begin with join=true. From Seam coversationList, it

[jboss-user] [JBoss Seam] - Re: Why cannot I run more than one concurrent conversation S

2007-09-28 Thread gus888
Hi Jacob, Thank you very much for your quick reply. I am still confused about the long-running conversation. You means that, if I start a long-running conversation SFSB, I cannot start another long-running conversation SFSB unless I @End the first one or @Begin(nested=true) to start a nested

[jboss-user] [JBoss Seam] - Why cannot I run more than one concurrent conversation SFSB

2007-09-28 Thread gus888
Hi all, I am very frustrated by my conversation problem. I don't know where is wrong in my project settings. It seems that my environment only allows one conversation exist concurrently. For example, after I click @Begin to create a conversation SFSB, then when I try to click @Begin to start

[jboss-user] [JBoss Seam] - Re: Why cannot I run more than one concurrent conversation S

2007-09-28 Thread gus888
Thank you very much, Jacob. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4089761#4089761 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4089761 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Why cannot I run more than one concurrent conversation S

2007-09-28 Thread gus888
Hi Jacob, This time I got a little clear, but I still don't know how to use it in my following code. In my previous studyList, the more codes like this: (I think this is typical search bean)@Stateful | @Scope(CONVERSATION) | @Name(studyList) | public class StudyListAction implements

[jboss-user] [JBoss Seam] - Re: Right Click Contextual Menu

2007-09-12 Thread gus888
As far as I know, ICEfaces has put it in JIRA, but no implementation yet View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083463#4083463 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083463

[jboss-user] [JBoss Seam] - Re: ICEFaces and Seam 2.0

2007-09-10 Thread gus888
Try ICEfaces svn icefaces-seam-gen: http://sventon.icefaces.org/svn/repobrowser.svn?path=%2fprojects%2ficefaces-seam-gen%2ftrunkrevision=HEADname=repo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082665#4082665 Reply to the post :

[jboss-user] [JBoss Seam] - Re: ResourceBundle in Database

2007-09-08 Thread gus888
Great job, Pete. Thank you s much. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082351#4082351 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082351 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: em is always null in my quartz scheduler, plz help.

2007-08-11 Thread gus888
Hi Pete, I have the same problem. I created a subClass @override schedule method, which loads schedules from database. When I inject @In entityManager, it also got null. I don't have any idea how to deal with this situation. Could you please give some guidance? Thank you very much in advance.

[jboss-user] [JBoss Seam] - Re: End conversation when user leaves a page

2007-07-10 Thread gus888
[EMAIL PROTECTED] wrote : On navigation away, yes. Hi Pete, Could you please give a hint how to end a conversation on navigation away? Thank you very much in advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062429#4062429 Reply to the post :

[jboss-user] [JBoss Seam] - Re: ICEfaces 1.6 is out.

2007-07-09 Thread gus888
I upgraded to ICEfaces 1.6 from ICEfaces 1.6DIV#5 on Seam1.3 project, it works excellent. Thank you so much. I ever tried ICEfaces 1.6 DIV#5 + Seam2.0, but it failed. I have not tried ICEfaces1.6 + Seam2.0. I don't know whether ICEfaces1.6 is compatible with Seam2.0. Thank you. View the

[jboss-user] [JBoss Seam] - entityManager null exception on CVS20070623

2007-06-23 Thread gus888
Hi all, I just downloaded the new CVS and tested it, but I got entityManager null exception in Authenticator. Thank you in advance. In Authenticator: @In(create = true) | private EntityManager entityManager; In components.xml core:managed-persistence-context name=entityManager

[jboss-user] [JBoss Seam] - Re: entityManager null exception on CVS20070623

2007-06-23 Thread gus888
Sorry, I just found the solution from Seam examples. I changed the persisent code as followings in components.xml, and exceptions gone. Thank you. persistence:managed-persistence-context name=entityManager | auto-create=true |

[jboss-user] [JBoss Seam] - Re: Greate thanks to Jboss team and Jboss-Seam team especial

2007-06-15 Thread gus888
+1 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4054783#4054783 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054783 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss Seam] - Re: Use of the Tomahawk tag library not recommended

2007-06-15 Thread gus888
Hi, It was discussed a lot before. You may search tomahawk in this form to find some answers. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4054759#4054759 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054759

[jboss-user] [JBoss Seam] - Exception thrown on Seam1.3.0ALPHA

2007-06-15 Thread gus888
Hi all, When I updated to Seam1.3.0ALPHA, I got the following exceptions. I checked source codes of SeamCVS20070526, and the Manager class has the method of getConversationIsLongRunningParameter(), but in Seam1.3.0ALPHA, the Manager class does not has the method. Anybody can give me a help?

[jboss-user] [JBoss Seam] - Re: Exception thrown on Seam1.3.0ALPHA

2007-06-15 Thread gus888
Hi Ramazan, Thank you for your quick reply. I reviewed the postanonymous wrote : http://www.jboss.com/index.html?module=bbop=viewtopicp=4051500#4051500 I already removed conversation-is-long-running-parameter from core:manager in components.xml. I think the problem probably resulted from

[jboss-user] [JBoss Seam] - Re: SEAM and Icefaces

2007-06-14 Thread gus888
Yes, I use it. It is very good to integrate Seam with ICEfaces. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4054373#4054373 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054373

[jboss-user] [JBoss Seam] - How to start a new conversation in a process of a conversati

2007-06-13 Thread gus888
Hi all, I want to start a new conversation in a process of a conversation. Why I don't want to use nested conversation is that the new conversation may be called from a conversation session bean or from a stateful session bean. Anybody can give me guidance? Thank you very much in advance.

[jboss-user] [JBoss Seam] - Re: Is there anybody get s:fileUpload works in ICEfaces inte

2007-06-08 Thread gus888
Anybody can give me a help? I really appreciate it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4052728#4052728 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4052728 ___

[jboss-user] [JBoss Seam] - Where is Petemuir?

2007-06-06 Thread gus888
I have not seen him on the forum for a while. Where is he? He gave us a lot of great help! We are missing him. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4051725#4051725 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Where is Petemuir?

2007-06-06 Thread gus888
Christian, Thank you for your reply and thank you for your great Java Persistence and Hibernate book. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4051737#4051737 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4051737

[jboss-user] [JBoss Seam] - Is there anybody get s:fileUpload works in ICEfaces integrat

2007-05-31 Thread gus888
Hi all, I want to know whether somebody get s:fileUpload to work in ICEfaces integration project. I tested it a couple of months ago, and failed, but I don't know whether it was fixed now. Thank you very much. Now, I got a problem on ice:fileUpload in recent DIV 1.6 releases, so I want to

[jboss-user] [JBoss Seam] - Need an advice to improve Seam-ICEfaces fileUpload Session b

2007-05-29 Thread gus888
Hi all, I reviewed the Seam-ICEfaces fileUpload demo codes (as follows), and I want to change the SFSB to conversation bean. In addition, the codes seem a little hard to follow, anybody can give some advice on how to simplify them? I really appreciate it. Thank you very much in advance. The

[jboss-user] [JBoss Seam] - Re: An enterprise question on s:graphicImage

2007-05-03 Thread gus888
Hi Raghinii, Thank you very much for your advice. The project which I plan to do is very similar to web 2.0 picture sharing sites. The picture size may be big or small, depending on user's uploading. At this situation, should I separately save image contents into two database columns (small

[jboss-user] [JBoss Seam] - Re: An enterprise question on s:graphicImage

2007-05-03 Thread gus888
Hi Shane and Peter, Thank you so much for your great help. I really want to use Seam to build an enterprise Web 2.0 site to demonstrate the great Seam framework. anonymous wrote : save both the image thumbnail and the full size image in separate database columns (separate records would be

[jboss-user] [JBoss Seam] - An enterprise question on s:graphicImage

2007-05-02 Thread gus888
Hi all, I plan to use s:graphicImage in an enterprise project. I don't know how to save image content source in following two situations: 1) Display a list of small icon images in one page; 2) Click one of them to get a full size image; Should I save them into two separate image contents

[jboss-user] [JBoss Seam] - Re: Image for s:link

2007-05-01 Thread gus888
The image function was already added in s:button. You may follow the Seam reference docs to use it. It seems like image= View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042254#4042254 Reply to the post :

[jboss-user] [JBoss Seam] - Re: ICEfaces v1.6.0 DR#3

2007-04-20 Thread gus888
This is great news. I used the ICEfaces v1.6.0 DR#3 to run Seam CVS20070417 icefaces example on JBoss AS4.2.0.CR2, no exception happens again, but you have to add the following codes in web.xml: * This parameter indicates to ICEfaces to use the standard JSF implementation of EVENT scope.

[jboss-user] [JBoss Seam] - Re: ICEfaces v1.6.0 DR#3

2007-04-20 Thread gus888
Use DR#3 and put the backport-util-concurrent.jar from icefaces package into lib directory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039397#4039397 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039397

[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1

2007-04-19 Thread gus888
Thanks, Peter. Since I also got the deployment error for calendar.ear, I thought the whole mail deployment failed. Thanks again for your very kind help! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038942#4038942 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1

2007-04-19 Thread gus888
Hi Peter, After I deployed Seam mail example to JBosss 4.2 server, I immediately got the following exceptions. Do I need to modify some server setting files? Thank you so much for your guidance. 2007-04-19 20:01:54,593 ERROR [org.jboss.ejb.plugins.LogInterceptor]

[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1

2007-04-18 Thread gus888
petemuir wrote : Note that JBoss AS 4.2.0.CR2 is now out - CVS is running well on it :) Hi Peter, however, when I run Seam-CVS20070417 mail example on JBoss AS 4.2.0.CR2, I still got exceptions. I don't know whether I my server settings are wrong (I use all default values). Thank you. View

[jboss-user] [JBoss Seam] - Exceptions in JBoss log file when deploying Seam examples

2007-04-17 Thread gus888
Hi all, When I deploy Seam examples to JBoss servers, I always got the following exceptions from log file, although these examples work as normal on servers. I want to know how to terminate these exceptions. I am currently using jboss-4.2.0.CR2 and Seam-CVS.20070417. Any help will be very

[jboss-user] [JBoss Seam] - Need help on deploying seam-mail example!

2007-04-15 Thread gus888
Hi there, I tried to deploy the mail example of Seam-CVS20070414 into JBoss4.0.5GA, but I always got the following exceptions. Any guidance will be very appreciative. Thank you very much in advance. org.jboss.deployment.DeploymentException: url

[jboss-user] [JBoss Seam] - Re: Need help on deploying seam-mail example!

2007-04-15 Thread gus888
Hi Peter, Thank you so much for the quick reply. I will try it on JBoss4.2.0CR1. Thanks again. Best regards, Gus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037410#4037410 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Exceptions on Seam CVS20070322

2007-03-27 Thread gus888
Hi Gavin, I tested them on CVS20070326, and it seems that the two exceptions were fixed. BTW, anonymous wrote : I deprecated the method instead of removing it.It means the Seam persistence was deprecated? Thanks. View the original post :

[jboss-user] [JBoss Seam] - Re: Problem on deploying Seam mail example on CVS20070324

2007-03-26 Thread gus888
Can anybody give a help on how to correctly deploy and run the Seam mail example? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4031696#4031696 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4031696

[jboss-user] [JBoss Seam] - Re: Exceptions on Seam CVS20070322

2007-03-26 Thread gus888
Hi Gavin, thanks for your reply. How about the second LazyInitializationException on the first thread? It seems I should not get the Lazy exception since I use Seam persistence manager. My code works fine in Seam1.2.0Patch1, but failed in the CVS. Thanks. View the original post :

[jboss-user] [JBoss Seam] - Re: framework:entity-query

2007-03-26 Thread gus888
Check your EntityManager object is entityManager. I ever got the null exception when use EntityManager em. Later, after I changed to EntityManager entityManager, the exception gone. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4031855#4031855 Reply to the

[jboss-user] [JBoss Seam] - Re: framework:entity-query

2007-03-26 Thread gus888
Like this: core:managed-persistence-context name=entityManager | persistence-unit-jndi-name=java:/cvnEntityManagerFactory/ | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4031856#4031856 Reply to the post :

[jboss-user] [JBoss Seam] - Problem on deploying Seam mail example on CVS20070324

2007-03-25 Thread gus888
Hi there, I downloaded Seam CVS20070324, run 'ant deploy' under examples/mail. When I start Jboss4.0.5, I got the following exception. I don't know whether I need to modify other settings or not. Any guidance is appreciative! 2007-03-25 19:25:02,062 ERROR

[jboss-user] [JBoss Seam] - Re: Problem on deploying Seam mail example on CVS20070324

2007-03-25 Thread gus888
Follow the first thread above When I began to run the mail program(input name and email address, and click button), I got the following exception. I ever successfully deploy the mail example in Seam1.2.0Pacth1 in the same deployment method. Thanks for any help. 2007-03-25 19:58:59,828 ERROR

[jboss-user] [JBoss Seam] - Re: Can anybody share how to create mailbox ER tables?

2007-03-22 Thread gus888
Hi Peter, Thank you for your reply. In my project, I want to use entity tables to save these emails (sent emails and received emails) into database. So I want to use entityManager.persist(...). Could you please give some guidance on designing email entity fields? Thank you very much. Best

[jboss-user] [JBoss Seam] - Exceptions on Seam CVS20070322

2007-03-22 Thread gus888
Hi there, When I moved to Seam Seam CVS20070315 and Seam CVS20070322 from Seam CVS20070305, I always got the following NoSuchMethodException exception:2007-03-22 22:14:13,609 ERROR [com.icesoft.util.SeamUtilities] Exception loading seam environment: | java.lang.NoSuchMethodException:

[jboss-user] [JBoss Seam] - Can anybody share how to create mailbox ER tables?

2007-03-21 Thread gus888
Hi all, I want to use Seam mail, but I don't have any idea on how to create mail box database tables, e.g. inbox_mails, sent_mails, deleted_mails. Anybody can share the entity relational structures? Thank you very much in advance. Best regards, Gus View the original post :

[jboss-user] [JBoss Seam] - Re: Seam, EL enhancements and ICEFaces

2007-03-12 Thread gus888
I got the exact same exception. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4027165#4027165 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4027165 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Anybody made s:upload work in Seam+ICEfaces app?

2007-03-05 Thread gus888
Hi Tony, Thank you very much for your very detailed codes, but I still have a problem with servlet mapping. Could you please share your web.xml and faces-config.xml codes? Thank you!!! Gus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4025274#4025274 Reply

[jboss-user] [JBoss Seam] - Re: Anybody made s:upload work in Seam+ICEfaces app?

2007-03-05 Thread gus888
Hi Tony, Oh, I found the solution. I missed the following code in web.xml: !-- file upload Servlet -- | servlet | servlet-nameuploadServlet/servlet-name | servlet-class | com.icesoft.faces.component.inputfile.FileUploadServlet |

[jboss-user] [JBoss Seam] - Re: s:dynamicImage is possible in Seam 1.1.5

2007-03-04 Thread gus888
Hi Peter, I tested it. It is excellent!!! Thank you sooo much for your great job! Best regards, Gus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024957#4024957 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024957

[jboss-user] [JBoss Seam] - Re: Questions on s:selectItems

2007-03-03 Thread gus888
Hi Peter, Thank you for your reply. Yes, when I use em as persistent name, I got an exception entityManager is null. Then I changed em into entityManager in components.xml, and also changed the converter code to: return ((EntityManager)Component.getInstance(entityManager)).find(Category.class,

[jboss-user] [JBoss Seam] - Re: Questions on s:selectItems

2007-03-03 Thread gus888
petemuir wrote : Or are you trying to use the entityconverter with this? Peter, I exactly followed the ui example in Seam 1.2.0. 1. added following code in components.xml:framework:entity-query name=categories ejbql=select c from Category c / 2. created Converters class, and added the convert

[jboss-user] [JBoss Seam] - Re: Questions on s:selectItems

2007-03-03 Thread gus888
Thank you so much, Peter. Gus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024864#4024864 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024864 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - A bug on s:fileUpload in Seam + ICEfaces

2007-03-03 Thread gus888
Hi, I think that it is a bug in org.jboss.seam.ui.UIFileUpload. In the decode(FacesContext context) method of UIFileUpload, if I run seamspace example, the request in Object *request* = context.getExternalContext().getRequest(); got MultipartRequest Object. But in Seam+ICEfaces application, I

[jboss-user] [JBoss Seam] - Questions on s:selectItems

2007-03-02 Thread gus888
Hi, It seems that s:selectItems has a bug. If I use em entity manager name in the components.xml: core:managed-persistence-context name=em | persistence-unit-jndi-name=java:/cvnEntityManagerFactory/, and I used following code in converters class:return ((EntityManager)

[jboss-user] [JBoss Seam] - null exception on @inject in ICEfaces PanelTabListener

2007-02-27 Thread gus888
Hi there, I tried to inject a Seam session bean into panelTabListener, but I always got null value. The code is follows:@Name(tabListenerImpl) | @Stateless | public class TabListenerImpl implements TabChangeListener { | | @In (create=true, required=true) | @Out

  1   2   3   >