[JBoss-user] [Persistence CMP/JBoss] - EJB Finder problem

2004-02-16 Thread ericmacau
View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3821661#3821661 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821661 Hello, How can I define the query if I want to define a EJB finder with the signature as following:

[JBoss-user] [Persistence CMP/JBoss] - Re: EJB Finder problem

2004-02-16 Thread ericmacau
View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3821674#3821674 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821674 Hi Julien, Thanks for your answer. If the signature is Set findByPlayerAndSeason(int playerId, int

[JBoss-user] [Persistence CMP/JBoss] - EJB-QL: get a SET of Beans ???

2004-02-19 Thread ericmacau
Hello, How can I get a BEAN its ID is the MAXMIMUM ? For example, UserBean.java - userID - userName How can I retrieve the last User Object ? signature=User findLastUser() query= ??? What should be defined in the query ??? Eric View the original post :

[JBoss-user] [JBoss.NET SOAP] - Setup and Deploy Web Service in JBoss ??

2004-02-27 Thread ericmacau
Hello, JBoss supports web service with AXIS. But I don't want to use AXIS and want to setup my own services in JBoss-Tomcat for deploying my web-service written in Sun's JWSDP ??? Or setup in another server (weblogic, jonas, etc) How can I do? Eric View the original post :

[JBoss-user] [Beginners Corner] - Connect to the JBoss Server failed !!!

2004-11-08 Thread ericmacau
Hello, When I tried to connect to the JBoss4 from a client to look up a remote session bean, it just raised the following exceptions, please tell me what's wrong with my programs ? The EJBs are deployed successfully without any errors. | 00:52:48,312 INFO [EjbModule] Deploying Restaurant

[JBoss-user] [Javassist user questions] - Replace a statement !!

2004-12-16 Thread ericmacau
Hello, How can I replace a statement or expression ? For example: class Test { public static int add(int a, int b) { return a+b; } } How can I replace the return a+b; with return _add(a, b); ? And then add another method public static int _add(int a, int b). Best regards,

[JBoss-user] [Beginners Corner] - JBossHibernate Example?

2005-02-21 Thread ericmacau
Hello, Is there any simple example to use Hibernate in JBoss4.0.1? And the deploy with HAR Eric View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867386#3867386 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867386

[JBoss-user] [Installation Configuration] - deployment problem?

2005-02-23 Thread ericmacau
Hello, I am going to deploy 3 applications into the JBoss: 1) app.ear, 2) myweb.war, 3) test.war How can define the myweb.war must be loaded after the app.ear loaded? The priority of the loading order is : app.ear, myweb.war, test.war If fact, the app.ear must be loaded prior all other .war

[JBoss-user] [Beginners Corner] - Classloader problem !!!

2005-02-25 Thread ericmacau
I deploy an EAR application into JBoss4.0.1sp1, within the EAR, there are two WAR applications. Both of the WAR have one same class X(same name, same package, same function). In WAR B, I changed some logic in X, but it never changed and always use the X in WAR B Strange !!! View the

[JBoss-user] [Javassist user questions] - Beginner's question !

2005-02-28 Thread ericmacau
Hello, If I knows the variable name, how can I retrieve its value? For example: public class A { String s; public A() { s = 123456; String x = XXX; } } How can I know the value of s? Eric View the original post :

[JBoss-user] [Javassist user questions] - How to add a constant ?

2005-02-28 Thread ericmacau
How can I add a constant value? For example: private static final String X = 123456; View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868304#3868304 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868304

[JBoss-user] [Persistence CMP/JBoss] - when to use reentrant ?

2005-03-01 Thread ericmacau
hello, what's different to set to true and false ??? Eric View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868442#3868442 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868442

[JBoss-user] [Persistence CMP/JBoss] - ReEntrant method called detect ??

2005-03-02 Thread ericmacau
hello, What caused the reentrant method called detect exception ?? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868441#3868441 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868441

[JBoss-user] [Persistence CMP/JBoss] - Hibernate 3 in JBoss4?

2005-03-02 Thread ericmacau
hello, Is there any example to use Hibernate3 in JBoss4? Eric View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868593#3868593 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868593

[JBoss-user] [Persistence CMP/JBoss] - Re: ReEntrant method called detect ??

2005-03-02 Thread ericmacau
It means if I set the False then it will raise the exception ... reentrant method called detect . So, how about I define the True ? Can it be solve the problem? As in your example, do I need to define the to be True in both EJB A and EJB B ? View the original post :

[JBoss-user] [Persistence CMP/JBoss] - Re: ReEntrant method called detect ??

2005-03-02 Thread ericmacau
If the CMP/CMR relation is bi-directional, does it must raise reentrant method called ? If so, how can prevent this if I want to get teh object of other side? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868605#3868605 Reply to the post :

[JBoss-user] [Javassist user questions] - Modify codes ???

2004-06-28 Thread ericmacau
Hello, I am a beginner in using Javaassist. Is it possible to modify the variable values and variable name with Javassist ? For example, class test { public void init(int a, String x) { int i; String o; i = a + 1; o = x + ... ; } } In the above java, after I

[JBoss-user] [Javassist user questions] - Get the variable value ??

2004-06-29 Thread ericmacau
Hello, How can I get the local variable value in methods ?? For example, | public class A { |public int sum(int a, in b) { | int x = 100; | return a + b + x; |} | } | How can I get the value of x in the method sum ??? Eric View the original post :

[JBoss-user] [Javassist user questions] - Urgent, please give me a hand ???

2004-07-01 Thread ericmacau
Hi, I am going to use Javassist to do some education project. But I have so many problems and questions if I should use Javassist or other library. 1. retrieve all the variable names and its corresponding values (global variables, and local variables) ? 2. can I insert a statement into a

[JBoss-user] [HTTPD, Servlets JSP] - Failed to get context ?

2005-05-08 Thread ericmacau
Hello, If I define the context-root in jboss-web.xml, it cannot get the context-root by using request.getContextPath() View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3876925#3876925 Reply to the post :

[JBoss-user] [Javassist user questions] - How to get the value in switch case ?

2005-08-25 Thread ericmacau
Hello, How can I use Javassist to get the case value in switch ? For example: switch(a) { |case 1: |case 2: | do12(); | break; | |case 3: | do3(); | break; | |case 4: |do4(); |break; | |default: |

[JBoss-user] [Javassist user questions] - Re: How to get the value in switch case ?

2005-08-26 Thread ericmacau
Would you please to give me a simple example to do that ? Eric View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891745#3891745 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891745

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Hibernate automatic create schema !

2005-10-21 Thread ericmacau
Hello, In the hibernate.cfg.xml, I have a property as following: | property name=hibernate.hbm2ddl.autocreate/property | If I use this property create, it will drop and create the schema automaitc. How can I just create or update the schema if not existed or updated ? I am using

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - How to get connection from Hibernate

2005-12-12 Thread ericmacau
hello, How can I get the connection from Hibernate ? Eric View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3912251#3912251 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3912251

[JBoss-user] [JBoss Seam] - EJB as web service

2006-02-15 Thread ericmacau
Hello, How can I trun Stateless EJB into web service under Seam ? Is there any annotation to do this ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3923831#3923831 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923831

[JBoss-user] [JBoss Seam] - Re: EJB as web service

2006-02-15 Thread ericmacau
Furthermore, is there any simple method to invoke web service under seam framework ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3923834#3923834 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923834

[JBoss-user] [JBoss Seam] - Use JSP script in xhtml

2006-02-15 Thread ericmacau
Hello, How can I add some code in XHTML (under faceletes)? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3924094#3924094 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3924094

[JBoss-user] [JBoss Seam] - ResourceBundle in Annotation ?

2006-02-16 Thread ericmacau
Hello, In my Entity bean, if I want to add message resource bundle, how can I do that ? For example, @NotNull(message=password required) @Length(min=5, max=15) public String getPassword() { return password; } Is it possible to define the NotNull message in resource

[JBoss-user] [JBoss Seam] - Customer JSF component not worked !!

2006-02-16 Thread ericmacau
Hello, I create a simple JSF component to use in Seam, but it seems not work. And it just show nothing in the browser. When I view the HTML source, it just keep the TAG in the XHTML without rendered ! Anything I missed to do, please teach me ??? The following is my codes and configuration:

[JBoss-user] [JBoss Seam] - Show registration user information !

2006-02-17 Thread ericmacau
Hello, In the Registration example, how can show the registered user list after register a user under the registration form? For example, in the registration example, it will show Register success ... after registered a user, right? I just want to show the registration form again after

[JBoss-user] [JBoss Portal] - Cannot cancel editing/creating file in CMS

2006-02-21 Thread ericmacau
Hello, Is there any way to cancel editing/creating/deleting file in CMS Manager portlet ? After I click create/edit/delete to the file, I can't cancel my action any more in the portlet !!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3925256#3925256

[JBoss-user] [JBoss Portal] - Cannot cancel editing/creating file in CMS

2006-02-21 Thread ericmacau
Hello, Is there any way to cancel editing/creating/deleting file in CMS Manager portlet ? After I click create/edit/delete to the file, I can't cancel my action any more in the portlet !!! Furthermore, how can I add a subpage in the management portlet ? View the original post :

[JBoss-user] [JBoss Portal] - How to dynamic change portal locale ?

2006-02-23 Thread ericmacau
Hello, Is there any mechanism to dynamic change the locale of the portal ? Eric View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3925992#3925992 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925992

[JBoss-user] [JBoss Portal] - define DEFAULT portal ??

2006-02-23 Thread ericmacau
Hello, If I deploy many portal instance in the portal server, how can I define the default portal when loading the page as http://localhost/portal ? Where can define it ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3926005#3926005 Reply to the post :

[JBoss-user] [JBoss Portal] - How to use Hibernate3 or EJB3 in my portlet ?

2006-02-25 Thread ericmacau
Hello, How can I use the Hibernate3 or EJB3 in my portlet ? Is there any mechanism to get the portal's datasource, Hibernate session, or EJB3 PM ? Eric View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3926253#3926253 Reply to the post :

[JBoss-user] [EJB 3.0] - NullPointer Exception !!!

2006-02-27 Thread ericmacau
Hello, I try to use EJB3 in portlet, but it just raised NullPointerException ! Could you please to teach me how to solve it ? | @Stateless | @Local(ProductLocal.class) | public class ProductBean implements ProductLocal { | @PersistenceContext | // (unitName=cal) |

[JBoss-user] [EJB 3.0] - Auto create schema ?

2006-02-27 Thread ericmacau
Hello, How to force the EJB3 deployer to automatic create the schema in the deplo time and not to drop after stop the server ? Anyway, is there any tools to generate DDL for EJB3 ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3926527#3926527 Reply to the

[JBoss-user] [EJB 3.0] - Re: Auto create schema ?

2006-02-27 Thread ericmacau
Furthermore, is it possible to import some data in a SQL when deploy the EJB3 ? For example, I packed a data.sql with the EJB3 .jar, can the deployer automatic load the data.sql ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3926528#3926528 Reply to the

[JBoss-user] [JBoss Portal] - Retrieve the User ?

2006-02-27 Thread ericmacau
Hello, How can get the current login user bean from portlet ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3926674#3926674 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926674

[JBoss-user] [EJB 3.0] - Re: Auto create schema ?

2006-02-28 Thread ericmacau
Yes, Hibernate will automatic execute the /Import.sql. The problem is that JBoss will not create the schema for the EJB3 if I did not add a properties | property name=hibernate.hbm2ddl.auto value=create/ | If I add the above property to the persistence.xml, it will re-create all the

[JBoss-user] [EJB 3.0] - Re: Auto create schema ?

2006-02-28 Thread ericmacau
After use UPDATE, it will not run the import.sql View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3926781#3926781 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926781

[JBoss-user] [JBoss Portal] - UserModule always be null !!

2006-02-28 Thread ericmacau
Hello, I tried to get the UserModule from the portlet by using : | UserModule um = (UserModule)getPortletContext().getAttribute(UserModule); | But it always return null, do I need to setup something to using that ? View the original post :

[JBoss-user] [JBoss Portal] - Portal Title ?

2006-04-07 Thread ericmacau
Hello, How can I change the portal page tilte JBoss Portal 2.2.1-RC3 ? And how can I define multi-language for it ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3935976#3935976 Reply to the post :

[JBoss-user] [JBoss Portal] - Change the portal title ???

2006-04-19 Thread ericmacau
Hello, How can I config the title with other string rather than JBoss Portal 2.2.1-RC3 ?? Where can I change that ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3938319#3938319 Reply to the post :

[JBoss-user] [JBoss Portal] - Is it a bug ? Cannot render to correct page if form without

2006-04-24 Thread ericmacau
hello, if the form without deinfed the method=post, it just show the default portal. for example, The above will just return to /portal/index.. but if I change to : It works fine. Eric View the original post :

[JBoss-user] [JBoss Portal] - Default page ?

2006-04-24 Thread ericmacau
Hello, Where can I define the default page in jboss-portal-2.2.1 ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3939094#3939094 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3939094

[JBoss-user] [JBoss Portal] - International problem

2006-04-24 Thread ericmacau
Hello, Will there any plan to add a internationalization portlet to change the locale for the portal ? Eric View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3939096#3939096 Reply to the post :

[JBoss-user] [JBoss Portal] - Sun Java Studio Creator 2 to create portlet for JBoss portal

2006-04-25 Thread ericmacau
Hello, How can I use Sun Java Studio Creator 2 to create portlet for JBoss Portal ? I followed the blog of Marco post in http://blogs.sun.com/roller/page/marcoscorner?entry=creator_2_portlet_in_jboss;. But still not work. Any document for details. Or is there any completed worked example for

[JBoss-user] [JBoss Portal] - EAR portal deployment problem ?

2006-04-27 Thread ericmacau
Hello, I package a portal instance in an EAR, which includes some portlets(WAR), EJB3s(JAR) and some common libraries that share with all the portlets and EJB3. The following is the structure of the EAR: | * myportal.ear |+ META-INF |- application.xml |-

[JBoss-user] [Beginners Corner] - Re: java.lang.OutOfMemoryError: PermGen space

2006-04-27 Thread ericmacau
I also have this problem, after re-depoy an EAR a few times, it riased that exception !!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3940026#3940026 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940026

[JBoss-user] [JBoss Portal] - CMSPortlet problem

2006-05-06 Thread ericmacau
Hello, I think it is better to allow CMSPortlet to select the index page in EDIT mode or other manipulation way (GUI) rather than modify the portlet.xml ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941674#3941674 Reply to the post :

[JBoss-user] [JBoss Portal] - Re: CMSPortlet problem

2006-05-09 Thread ericmacau
Any document for reference? Anyway, if I add more than one CMSPortlet instance in different pages, and those instances shows different page, how can config it in CMSManagement Portlet ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3942099#3942099 Reply to

[JBoss-user] [JBoss Portal] - Portal Admin (Management)

2006-05-09 Thread ericmacau
is it possible to allow add/modify portlet properties in the Management portlet for each portlet (instance) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3942104#3942104 Reply to the post :

[JBoss-user] [JBoss Portal] - CMS Admin Portlet problem

2006-05-09 Thread ericmacau
Hello, In the CMSAdminPortlet, I add a new index.html in default folder, and the language is Chinese. All the images in the CMSPortlet cannot display in the Test page, but in the default page, there is no problem at all, strange. Furthermore, after I add the new file in another language as in

[JBoss-user] [JBoss Portal] - Re: CMS Admin Portlet problem

2006-05-09 Thread ericmacau
If I clicked the X on index.html, it will delete both of the English and Chinese version (all the languages I create) !!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3942359#3942359 Reply to the post :

[JBoss-user] [JBoss Portal] - Re: CMSPortlet problem

2006-05-10 Thread ericmacau
It can't modify the preference values in the management portlet for CMSportlet as reference in the manual. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3942424#3942424 Reply to the post :

[JBoss-user] [JBoss Portal] - Portlet Instance in Page problem !!!

2006-05-10 Thread ericmacau
Hello, For an individual portlet in a WAR, how can I add the portlet into a page ? Reference from the documents, we can do this by adding the instance and related configuration in the *-object.xml, right ? But, my problem is that, how can I add my new portlet into the existing page abd not for

[JBoss-user] [JBoss Portal] - Re: CMSPortlet problem

2006-05-10 Thread ericmacau
Thanks for your great efford !! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3942759#3942759 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3942759 --- Using Tomcat but

[JBoss-user] [JBossWS] - wstools generate wrong array type class !

2006-05-11 Thread ericmacau
Hello, I use the JBossWS-1.0GA with JBoss4.0.4CR2. I tested the web service with EJB3 SessionBean, after use the wstools to generate the stub interfaces, it just rasied error in those generate codes. I tried to use C# to call the WebService (M$VS2005), the code generation is better and

[JBoss-user] [JBossWS] - Failed to return Java object !

2006-05-12 Thread ericmacau
Hello, Can JBossWS return a Java object(Java Bean) ? When I try to return a bean, it just raised the following exception. But those primitive types and String are no problem at all. The following are my codes: | import java.util.Hashtable; | | import javax.naming.Context; | import

[JBoss-user] [JBossWS] - Re: Failed to return Java object !

2006-05-16 Thread ericmacau
The above exception happened when calling ProductCategory cat = port.findById(1); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943148#3943148 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943148

[JBoss-user] [JBoss Portal] - JSF Portlet always raised NULL exception when redeploy in EA

2006-05-16 Thread ericmacau
Hello, I am not what problem caused the null exception when redeploy the EAR if using the JSF portlet. I bundled the WARs (JSF portlets) in an EAR and deploy into JBoss4.0.4GA+JBP2.2.1. The application works fine when fresh deploy but it always raised the following exception when redeploy.

[JBoss-user] [JBoss Portal] - Myfaces t:dataScroller not work under Portlet

2006-05-17 Thread ericmacau
hello, The MyFaces t:dataScroller seems not work in portal ? It seems cannot generate the javascript function getScrolling(). Any solution or fixed of it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=393#393 Reply to the post :

[JBoss-user] [JBossWS] - return/pass JavaBean ?

2006-05-23 Thread ericmacau
Hello, How can I pass a JavaBean as a parameter and return an array of JavaBean through web service ? Any example to do this, please help ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3945586#3945586 Reply to the post :

[JBoss-user] [JBossWS] - Re: wstools generate wrong array type class !

2006-05-23 Thread ericmacau
Any method I can return a set of Java objects ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3945588#3945588 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3945588 ---

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - dynamic put all the request parameters into a bean

2006-05-25 Thread ericmacau
Hello, How can I pass all the request parameters into a bean ? For example: class User { private int id; private String name; private String sex; private Dat birth; private boolean status; } How can I set all the request parameters into the User if those parameters name contains any (id,

[JBoss-user] [JBoss Portal] - DownHandler] DownHandler (UDP) exception is java.lang.OutOfM

2006-05-29 Thread ericmacau
Hello, After a few times re-deploy EAR in JBoss 4.0.4GA + JBossPortal 2.2.1sp1, it always raised the following errors and can't start application anymore except restart JBoss. | 10:20:37,375 WARN [DownHandler] DownHandler (UDP) exception is java.lang.OutOfMemoryError: PermGen space |

[JBoss-user] [JBoss Portal] - How can get the current theme name ?

2006-05-30 Thread ericmacau
Hello, How can I get the current theme name and theme context path ? Furthermore, if I add | script src=/js/myscript.js/script | in the portal-themes.xml as following: | themes | theme | namerealestheme-classic/name | link rel=stylesheet id=main_css

[JBoss-user] [JBoss Portal] - Theme and Layout problem?

2006-05-31 Thread ericmacau
Hello, Where should I put my JavaScript if in a theme or layout? | script src=myscript.js/script | As I want to create my own theme and layout, some JavaScript will be added to the page, but I don't knwo how I can do this. I download the samples for reference from PortletSwap, if I

[JBoss-user] [EJB 3.0] - Quartz or TimerService ?

2006-06-05 Thread ericmacau
Hello, In EJB3, both Quartz MDB and TimerService can be used for scheduling, right? What's the difference of them? Anyway, after I deploy a Quartz MDB, how can I modify/stop/start/interupt the timer without undeploy the MDB ? View the original post :

[JBoss-user] [JBoss Portal] - Urgent: how to get the theme name using in current page?

2006-06-05 Thread ericmacau
Hello, is it possible to get the current theme's (or layout's) context path that applying in the displaying page ? best regards, Eric View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949019#3949019 Reply to the post :

[JBoss-user] [JBoss Portal] - Default page problem

2006-06-05 Thread ericmacau
Hello, I just download the JBP-2.4-beta1. I added the following in myportal-object.xml, but it seesm not work. Anything I missed, please help? Anyway, how can I show the page title (page name) in different language? | pages | default-pagefoobar/default-page | | page |

[JBoss-user] [EJB 3.0] - Quartz Datasource job store?

2006-06-05 Thread ericmacau
Hello, How can define the Quartz service to use datasource to persistence all the schedules? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3948928#3948928 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3948928

[JBoss-user] [JBoss Portal] - Portlet title problem

2006-06-12 Thread ericmacau
Hello, Is it possible to change the portlet title in run-time ? Best regards, Eric View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950575#3950575 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3950575

[JBoss-user] [JBoss Portal] - Re: JBoss Portal i18n usage configration

2006-06-21 Thread ericmacau
How can change the User's profile in program ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3952228#3952228 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3952228 ___ JBoss-user

[JBoss-user] [JBoss Portal] - Page name in message resources

2006-06-26 Thread ericmacau
Hello, When will JBoss Portal support International page name ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953599#3953599 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953599 Using Tomcat but need to do more? Need to

[JBoss-user] [JBoss Portal] - Re: JBoss Portal 2.2.1-SP2 - Released

2006-06-26 Thread ericmacau
How to define the default page? Any example or documents for the descripters? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953600#3953600 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953600 Using Tomcat but need to do

[JBoss-user] [JBoss Portal] - Some function not work after migrate to 2.4-beta1

2006-06-28 Thread ericmacau
Hello, I wrote some portlets and they work in 2.2(SP1, SP2) very well. After move to 2.4beta1, some function not work. For example, a href=# onClick='document.myForm.action.value=add'; document.myForm.submit();Add In the above JSP, it works very well in JBos Portal 2.2(sp1 and

[JBoss-user] [JBoss Portal] - Re: Some function not work after migrate to 2.4-beta1

2006-06-28 Thread ericmacau
It seems not work in form action with portlet:renderURL in 2.4, right ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954221#3954221 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954221 Using Tomcat but need to do more?

[JBoss-user] [JBoss Portal] - Re: Some function not work after migrate to 2.4-beta1

2006-06-28 Thread ericmacau
When I get the parameter from ActionReqeust, it cannot get the correct parameter value with the correct charset. When I tried to input some non-ascii character, it returned something unreadable(seems change charset). Anyway, I moved it back to 2.2Sp2 and everything goes fine. Thanks. View

[JBoss-user] [JBoss Portal] - A simple mvc framework for portlet development

2006-07-05 Thread ericmacau
There is a pretty simple and easy use framework for portlet development. Please have a look at http://simflet.dev.java.net View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3955712#3955712 Reply to the post :

[JBoss-user] [JBoss Portal] - Re: Changing default pages

2006-07-08 Thread ericmacau
Go to the Theme/Layout that you use, and modified the index.jsp and maxmized.jsp. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3956398#3956398 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956398

[JBoss-user] [JBoss Portal] - Problem: Undeploy problem in JBoss2.4CR1

2006-07-08 Thread ericmacau
Hello, It will not remove the portlet and page after I delete the portlet application from /deploy. Therefore, it cause error in the page. I have to remove the page or portlet instance from the Admin. Is there any problem in it ? View the original post :

[JBoss-user] [JBoss Portal] - JBoss Portal 2.4 problem

2006-07-09 Thread ericmacau
Hello, I just downloaded the JBoss Portal 2.4 for testing. I tried to run my simple portlet in it but failed. In fact my portlet ran in 2.2 very fine. After I traced it for a long time, I found that JBoss Portal 2.4 uses a parameter action=1 or action=2 to identify the ActionURL or RenderURL.

[JBoss-user] [JBoss Portal] - java.lang.ClassNotFoundException: org.jboss.portal.portlet.

2006-07-10 Thread ericmacau
I upgrade the JBoss Portal from 2.2 to 2.4 CR1, but it got the following exception. And my application cannot work any more. It worked fine in 2.2. I tried to search in the jbossportal.sar, no library contains the following missed class. Please help to solve. | 22:38:05,890 ERROR