"Make sure the file you created exists for the locale your browser it set to."
Not sure what that means. The file has been uploaded into the CMS system.
He also wrote:
"... there is a known limitation with the cmsportlet, that it ONLY renders in the default page. So if you have this portlet on another Portal Page, and click a link, it will bounce you back to the default portal page. "
Well, I DO get the intial page in this instance rendering on a different page (I've actually created 3 separate instances of the CMS portlet, and each is on a different page.)
Anyway, I changed the DrugDept page to be the default page for the Portal, and the link from index.html to clientlist.html still doesn't work.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975306#3975306
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975306
Is your new HTML page a full page, or a fragment? It seems to me that the CMS portlet expects only a fragment that is set to fit inside the "portlet-content" DIV. Perhaps there's other code in your file that is calling on the default theme.
I know that I have only had success in getting well-styled pages by importing my file, and making sure that it only uses styles marked with "font class='portlet-xxxxxx'" right out of the theme's CSS sheet.
ANYWAY - I still can't get my link to work. The portlet is on a page other than the default page, and the HTML page that the portlet is set to start with is in a directory parallel to "default" in the CMS. (CMS has "default", "clientconfig" and "drug". The portlet in question looks first at "drug/index.html". I have a link in it that is supposed to go to "drug/clientlist.html". The portlet can't find it. The directions in the CMS Admin portlet say "Links to resources within this portal should be absolute. For example: A link to an image located in default/images/back.gif should be typed in exactly as shown here. Do not prefix a slash (/) to the path of the resource."
This advice works for images, but not for URL links.
If anyone can help, I'd appreciate it.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975304#3975304
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975304
I have installed Eclipse 3.1 and Jboss 4.0.4.GA.
When I start the server using Run.bat -c default, it starts ok, but when I am trying to start it through Eclipse the following error appears:
java.lang.NoClassDefFoundError: de Exception in thread "main"
I looked up the configuration of the server and I execute the following instrution at system prompt:
java -Dprogram.name=run.bat -Djava.endorsed.dirs=C:/Archivos de programa/jboss-4.0.4.GA/bin/../lib/endorsed -Xms128m -Xmx512m
The same error appears, so I think the problem is on the arguments.
So, what are the right arguments to start the server.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975300#3975300
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975300
I'm using Eclipse Version: 3.2.1, JBossIDE 2 Beta1, JBoss-4.0.4
I'm new to the IDE.
I have an existing eclipse project called WebAppProject that's a web application.
I created a packaging configuration, that copies all the required files into WebAppProject/webapp.war. I called "Run packaging" and it did that.
I now want to deploy webapp.war to the server. The IDE documentation (marked 1.5) says to do;
Window > Preferences -> JBoss-IDE > Deployer
but there is no Deployer option under JBoss-IDE, should there be?
I tried to right click the project and webapp.war, then run on server but I got a "No launchable artifact could be found at that location".
What should I do?
Thanks in advance
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975297#3975297
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975297