[jboss-user] [JBossWS] - Re: How can I use session sope in jbossws?

2008-01-31 Thread chicochen
To froden: Would mind parse you code here pls? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125069#4125069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125069 ___ jboss-u

[jboss-user] [JBossWS] - How can I use session sope in jbossws?

2008-01-15 Thread chicochen
I use flash lite client to access jbossws webservice, ServletContexts.instance().getRequest() return null, so I can't get the session scope. Maybe I need to use a token in soap header? If so, is there a good way to map the session scope to the token? View the original post : http://www.jboss.

[jboss-user] [JBoss Seam] - Re: How can I get the session id?

2008-01-14 Thread chicochen
Anyone can help me? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119879#4119879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119879 ___ jboss-user mailing list jboss-user@

[jboss-user] [JBoss Seam] - Re: How can I get the session id?

2008-01-09 Thread chicochen
up, need your help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118162#4118162 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118162 ___ jboss-user mailing list jboss-user@

[jboss-user] [JBoss Seam] - Re: How can I get the session id?

2008-01-07 Thread chicochen
But ServletContexts.instance().getRequest() always return null, how can I keep the session?thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117778#4117778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117778 ___

[jboss-user] [JBoss Seam] - Re: How can I get the session id?

2008-01-07 Thread chicochen
So, do you have any good way to solve it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117522#4117522 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117522 ___ jboss-user ma

[jboss-user] [JBoss Seam] - Re: How can I get the session id?

2008-01-06 Thread chicochen
No, I call this webservice method from flash lite client. I like to get the jsessionid and send it back via request url, is there any good way? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117420#4117420 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [JBoss Seam] - Re: How can I get the session id?

2008-01-05 Thread chicochen
Identity.instance.login will call "authenticate" method that config in component.xml, isn't it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117351#4117351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117351 __

[jboss-user] [JBoss Seam] - Re: How can I get the session id?

2008-01-04 Thread chicochen
Also, is there a good way to keep http session in jboss seem actions calling via web service method? @Stateless | @Name("AuthenticateWebService") | @WebService(name = "AuthenticateWebService", serviceName = "AuthenticateWebService") | public class AuthenticateWebService implements Authenti

[jboss-user] [JBoss Seam] - How can I get the session id?

2008-01-04 Thread chicochen
I use below code, but FacesContext.getCurrentInstance() always return null. | FacesContext facesContext = FacesContext.getCurrentInstance(); | ExternalContext externalContext = facesContext.getExternalContext(); | HttpSession session = (HttpSession)

[jboss-user] [JBoss Seam] - Is there a good way that let seam bean or ejb return a xml f

2007-12-23 Thread chicochen
Is there a good way that let seam bean or ejb return a xml file for flash client? Do we must use a servlet working before ejb to return the xml stream? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115308#4115308 Reply to the post : http://www.jbos

[jboss-user] [JBoss Seam] - Re: After adding SeamServletFilte, request.getInputStream()

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

[jboss-user] [JBoss Seam] - Re: After adding SeamServletFilte, request.getInputStream()

2007-10-29 Thread chicochen
still does not work, pls help me, thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100060#4100060 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100060 ___ jboss-user ma

[jboss-user] [JBoss Seam] - Re: After adding SeamServletFilte, request.getInputStream()

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

[jboss-user] [JBoss Seam] - After adding SeamServletFilte, request.getInputStream() retu

2007-10-28 Thread chicochen
| Seam Servlet Filter | | org.jboss.seam.servlet.SeamServletFilter | | | | Seam Servlet Filter | *.serv | | testServlet | | com.ea

[jboss-user] [JBoss Seam] - Re: After adding SeamServletFilte, request.getInputStream()

2007-10-28 Thread chicochen
After adding SeamServletFilte, request.getInputStream() return null? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099705#4099705 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099705 __

[jboss-user] [JBoss Seam] - Re: HTML source codes has some characters like

2007-10-11 Thread chicochen
Pls send it to [EMAIL PROTECTED], thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094224#4094224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094224 ___ jboss-user ma

[jboss-user] [JBoss Seam] - Re: HTML source codes has some characters like

2007-10-11 Thread chicochen
How about send this new HtmlUtills.class to me? I will replace the old one, is it enough? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093952#4093952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093952

[jboss-user] [JBoss Seam] - Re: HTML source codes has some characters like

2007-10-11 Thread chicochen
so how can I solve it, need to re-compile the jsf from source? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093936#4093936 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093936

[jboss-user] [JBoss Seam] - Re: HTML source codes has some characters like

2007-10-10 Thread chicochen
Pls refer to the img, anyone can help me? [img]http://www.0515px.com/upload/Snap1.jpg[/img] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093850#4093850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093850 __

[jboss-user] [JBoss Seam] - Re: HTML source codes has some characters like

2007-10-01 Thread chicochen
IE browser display these native characters rightly, incuding all native characters come from database, but the html source code has problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090467#4090467 Reply to the post : http://www.jboss.com/index.html?mod

[jboss-user] [JBoss Seam] - HTML source codes has some characters like "&# 30416", but I

2007-10-01 Thread chicochen
HTML source codes has some characters like "&# 30416", but IE display these native words rightly. I use jboss seam and facelet, and there must not has "&# 30416" charater, which is not supported by google search engine. I even tried to solve this problem in jsf level, here are some codes, but s

[jboss-user] [JBoss Seam] - Search engine can't find the utf-8 character

2007-09-20 Thread chicochen
I have the code in webpage: | IE can display the page rightly, but has problem for Search engine like google. [img]http://www.javaeye.com/upload/attachment/pic/8706/090fd3ee-682a-43aa-8035-5cc976fe3595-thumb.jpg[/img] View the original post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [JBoss Seam] - Re: How can I disable the query cache?

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

[jboss-user] [JBoss Seam] - Re: How can I disable the query cache?

2007-07-29 Thread chicochen
i use query.setHint("org.hibernate.cacheMode", CacheMode.REFRESH); | query.setHint("org.hibernate.cacheable", false);, but it does not work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068517#4068517 Reply to the post : http://www.jboss.com/

[jboss-user] [JBoss Seam] - How can I disable the query cache?

2007-07-28 Thread chicochen
I find "project.moduleItems" can't be refreshed automaticly, after adding a new module. Are there any ways to just clear certain object - "project", I not like to use "entityManager.clear();", as I know it will clear all the cached object, is it a problem? public Project getProjectDetai

[jboss-user] [JBoss Seam] - Wrong action order? Need I to change all my searching webpag

2007-07-01 Thread chicochen
When I click the Link A, why seam call "projectQueryAction.doQuery" before "projectQueryAction.resetQuery"? As I know It work well in seam 1.2, now I update to 2.0. Link A: Pre-Action: | | | | View the original post : http://www.jb

[jboss-user] [JBoss Seam] - Re: selectDate not popping up on click

2007-06-29 Thread chicochen
I mit the error too, html code is: Above, parameter1 and parameter2 are same? Why the function definition in "calendar.htm" is different: function __selectDate(calName, viewCtlName) { | Plan Start Date |

[jboss-user] [JBoss Seam] - Re: Write a custom pagination bar component ?

2007-06-28 Thread chicochen
Maybe no need the tag, just use blow codes instead? | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059012#4059012 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059012

[jboss-user] [JBoss Seam] - Write a custom pagination bar component ?

2007-06-28 Thread chicochen
I like to Write a custom pagination bar component to replace the following codes. Does it mean I will lose the benifit of "f:setPropertyActionListener" tag like below, and need to use parameters like "userQueryCriteria.gotoPage?curPage=#{pn}" ? ===

[jboss-user] [JBoss Seam] - I got the java.lang.NoClassDefFoundError error

2007-06-27 Thread chicochen
I get the error: Caused by: java.lang.NoClassDefFoundError: org/richfaces/component/TreeNode I find that the richfaces-3.0.1.jar in qaforum.ear folder, and had change value to true as below: true | | anyone can help me? I use jboss-seam 2.0, jboss 4.2 View the original post : http://

[jboss-user] [JBoss Seam] - Re: How can I get the value from s:selectItems

2007-06-25 Thread chicochen
@In is not valid, need to use get/set method. It's work now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057375#4057375 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057375 _

[jboss-user] [JBoss Seam] - How can I get the value from s:selectItems

2007-06-24 Thread chicochen
Why devIds always is null? thanks. Webpage: | | | Action: @In(required = false) | @Out(required=false) | private List devIds; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057209#4057209 Reply to the post : http://www.jboss.

[jboss-user] [JBoss Seam] - How can I get the value from s:selectItems

2007-06-24 Thread chicochen
Why devIds always is null? thanks. Webpage: | | |

[jboss-user] [JBoss Seam] - Re: Is it a bug?

2007-03-08 Thread chicochen
also i find: projectQueryCriteria.searchString != projectQueryCriteria.getSearchString() View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026520#4026520 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026520 __

[jboss-user] [JBoss Seam] - Re: Is it a bug?

2007-03-08 Thread chicochen
queryCriteria.setCurPage(1); //return 1, but debug variable still = 0? int surPage = queryCriteria.getCurPage(); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026513#4026513 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&

[jboss-user] [JBoss Seam] - Is it a bug?

2007-03-08 Thread chicochen
ProjectQueryActionImpl call it's super -"BaseQueryActionImpl" method "resetQueryInBase(projectQueryCriteria)", So in BaseQueryActionImpl.java below method, parameter "BaseQueryCriteria" is a "ProjectQueryCriteria" instance: public void resetQueryInBase(BaseQueryCriteria queryCriteria)

[jboss-user] [JBoss Seam] - Re: Allways can't get he project value, bother me for 2 days

2007-03-08 Thread chicochen
it's ok now, my code come from different doc, it's my mistake. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026218#4026218 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026218

[jboss-user] [JBoss Seam] - Re: Allways can't get he project value, bother me for 2 days

2007-03-08 Thread chicochen
thanks for your feedback! my actionbean: @Stateful | @Name("projectMaintAction") | @Scope(ScopeType.CONVERSATION) | @Restrict("#{identity.loggedIn}") | public class ProjectMaintActionImpl implements ProjectMaintAction { | | @In(required = false) @Out | private Project projec

[jboss-user] [JBoss Seam] - Allways can't get he project value, bother me for 2 days

2007-03-07 Thread chicochen
pages.xml | | | | | | | | | projectQuery.xhtml ProjectMaintActionImpl.Add() | @Stateful | @Name("projectMaintAction") | @Scope(ScopeType.CONVERSATION) | @Restrict("#{identit

[jboss-user] [JBoss Seam] - Re: How can i popup a browser window?

2007-03-06 Thread chicochen
i am not very clear, could you paste all codes here, or send them to [EMAIL PROTECTED], thanks a lot! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025452#4025452 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025452

[jboss-user] [JBoss Seam] - Re: How can i popup a browser window?

2007-03-05 Thread chicochen
anybody can help me? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025289#4025289 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025289 ___ jboss-user mailing list jboss-user

[jboss-user] [JBoss Seam] - How can i popup a browser window?

2007-03-05 Thread chicochen
function openWindow(element) | { | var vWinUsers = window.open("?formId=projectAddForm&multiSelect=&element=' + element, 'UserPicker', 'status=yes,resizable=yes,top=100,left=200,width=580,height=750,scrollbars=yes'); | vWinUsers.opener = self; | vWinUsers.focus(); | } |

[jboss-user] [JBoss Seam] - Who can give me a sample about "userAction call userService,

2007-02-26 Thread chicochen
Who can give me a sample about "userAction call userService, and EntityManager is in userService"? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022817#4022817 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=402

[jboss-user] [JBoss Seam] - Is there any good way to implement "jump from actionA.method

2007-02-25 Thread chicochen
thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022175#4022175 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022175 ___ jboss-user mailing list jboss-user@lists.jboss.o

[jboss-user] [JBoss Seam] - Re: h:commandButton not work

2007-02-24 Thread chicochen
i missed public void setPageSize(int pageSize); in it's interface, it's work now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021901#4021901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021901

[jboss-user] [JBoss Seam] - Re: h:commandButton not work

2007-02-24 Thread chicochen
sorry, should be , but still work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021888#4021888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021888 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: h:commandButton not work

2007-02-24 Thread chicochen
just click the button, find following info: 14:06:01,791 INFO [STDOUT] beforePhase: RESTORE_VIEW(1) | 14:06:01,822 INFO [STDOUT] afterPhase: RESTORE_VIEW(1) | 14:06:01,822 INFO [STDOUT] beforePhase: APPLY_REQUEST_VALUES(2) | 14:06:01,854 INFO [STDOUT] afterPhase: APPLY_REQUEST_VALUES(2)

[jboss-user] [JBoss Seam] - Re: h:commandButton not work

2007-02-24 Thread chicochen
anonymous wrote : Do you have a form around the commandButton and input field? | | Note that s:link does NOT do a form submission so searchString won't be updated in the model using s:link. thanks for your feedback! yes, i have a around the commandButton and input field. View the origi

[jboss-user] [JBoss Seam] - h:commandButton not work

2007-02-24 Thread chicochen
2 things in one webpage: 1. | | 2. | | also has I find "h:commandButton" cannot call "projectAction.find" method, only can set "projectAction.searchString" field to new value; but "s:link" can. anyone could help me? View the original post : http://www.jboss.com/index.html?mod