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=bb&op=viewtopic&p=3941674#3941674
Reply to the post :
http://www.jboss.
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=bb&op=viewtopic&p=3942099#3942099
Reply to
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=bb&op=viewtopic&p=3942104#3942104
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=39
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
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=bb&op=viewtopic&p=3942359#3942359
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=po
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=bb&op=viewtopic&p=3942424#3942424
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=39
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
Thanks for your great efford !!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942759#3942759
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942759
---
Using Tomcat
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 correct
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 ja
The above exception happened when calling "ProductCategory cat =
port.findById(1);"
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943148#3943148
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943148
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. E
hello,
The MyFaces 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=bb&op=viewtopic&p=393#393
Reply to the post :
http://www.jboss.com/index.html
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=bb&op=viewtopic&p=3945586#3945586
Reply to the post :
http://www.jboss.com/index.htm
Any method I can return a set of Java objects ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945588#3945588
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945588
-
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, name
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
| 10
Hello,
How can I get the current theme name and theme context path ?
Furthermore, if I add
|
|
in the portal-themes.xml as following:
|
|
| realestheme-classic
|
|
|
|
|
|
|
|
The output html contents wi
Hello,
Where should I put my JavaScript if in a theme or layout?
|
|
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 paste all the
JavaScript contents
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 :
http://www.jboss.com/index.html?module=bb&
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=bb&op=viewtopic&p=3949019#3949019
Reply to the post :
http://www.jboss.com/index.html?module=
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?
|
| foobar
|
|
|foobar
|
|...
|
|
|
|
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=bb&op=viewtopic&p=3948928#3948928
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948928
__
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=bb&op=viewtopic&p=3935976#3935976
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
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=bb&op=viewtopic&p=3938319#3938319
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting
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 :
http://www.jboss.com/index.html?module=bb&op=viewtopi
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=bb&op=viewtopic&p=3939094#3939094
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939094
--
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=bb&op=viewtopic&p=3939096#3939096
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply
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
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-app.x
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=bb&op=viewtopic&p=3940026#3940026
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940026
--
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=bb&op=viewtopic&p=3950575#3950575
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950575
__
How can change the User's profile in program ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952228#3952228
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952228
___
JBoss-
Hello,
When will JBoss Portal support International page name ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953599#3953599
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953599
Using Tomcat but need to do more? Nee
How to define the default page?
Any example or documents for the descripters?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953600#3953600
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953600
Using Tomcat but need t
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,
Add
In the above JSP, it works very well in JBos Portal 2.2(sp1 and sp2). But in
2.4beta1, the "action value" always be empty when I tried to get i
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=bb&op=viewtopic&p=3954221#3954221
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954221
Using Tomcat but need to do mo
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 th
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=bb&op=viewtopic&p=3955712#3955712
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
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=bb&op=viewtopic&p=3956398#3956398
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956398
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 :
http://www.jboss.com/index.html?mo
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 RenderUR
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 [PortletApp
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821661#3821661
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821661
Hello,
How can I define the query if I want to define a EJB finder with the signature as
following
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821674#3821674
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821674
Hi Julien,
Thanks for your answer.
If the signature is "Set findByPlayerAndSeason(int playerId, i
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 :
http://www.jboss.o
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 :
http://www.jboss
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
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 :
http:
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 speci
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
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 regard
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:
|
Would you please to give me a simple example to do that ?
Eric
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891745#3891745
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891745
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=bb&op=viewtopic&p=3867386#3867386
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38673
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 !
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 ori
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 :
http://www.jboss.org/index.html?module=bb&o
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=bb&op=viewtopic&p=3868304#3868304
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868304
hello,
what's different to set to true and false ???
Eric
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868442#3868442
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868442
---
hello,
What caused the "reentrant method called detect" exception ??
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868441#3868441
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868441
-
hello,
Is there any example to use Hibernate3 in JBoss4?
Eric
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868593#3868593
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868593
BeanA (1) --- (*) BeanB
class BeanA {
public abstract String getName();
...
public abstract Set getAllBeanBs();
...
}
class Bean B {
public abstract String getId();
}
BeanA and BeanB are undirectional relationships.
there is a method "public abstract Set getAll
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 :
http://www.jboss.or
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=bb&op=viewtopic&p=3868605#3868605
Reply to the post :
http://www.j
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=bb&op=viewtopic&p=3876925#3876925
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mod
Hello,
In the hibernate.cfg.xml, I have a property as following:
| create
|
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 Hibernate-3.1-rc2 and Annotation-beta6 in Tomcat5
hello,
How can I get the connection from Hibernate ?
Eric
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912251#3912251
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912251
---
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=bb&op=viewtopic&p=3923831#3923831
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=39238
Furthermore, is there any simple method to invoke web service under seam
framework ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923834#3923834
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923834
---
Hello,
How can I add some code in XHTML (under faceletes)?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924094#3924094
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924094
--
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
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:
Th
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 succe
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=bb&op=viewtopic&p=3925256#3925256
Rep
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 :
http://www.
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=bb&op=viewtopic&p=3925992#3925992
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925992
-
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=bb&op=viewtopic&p=3926005#3926005
Reply to the post :
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=bb&op=viewtopic&p=3926253#3926253
Reply to the post :
http://www.jboss.com
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")
| prot
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=bb&op=viewtopic&p=3926527#3926527
Reply to the
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=bb&op=viewtopic&p=3926528#3926528
Reply to the
Hello,
How can get the current login user bean from portlet ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926674#3926674
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926674
---
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
|
|
If I add the above property to the persistence.xml, it will re-create all the
tables each time I startup the JBoss.
How to make the
After use UPDATE, it will not run the import.sql
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926781#3926781
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926781
---
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 :
http://www.jboss.com/index.html?module=bb&op=
86 matches
Mail list logo