[JBoss-user] [JBoss Portal] - Re: JBoss Portal 2.0.2RC1 - Released

2006-02-11 Thread jlaskowski
"[EMAIL PROTECTED]" wrote : * [JBPORTAL-530] - Null Pointer Exception in MyFacesGenericPortlet | Hi Julien, According to JIRA - http://jira.jboss.com/jira/browse/JBPORTAL-530 is not closed. How could it make it in the Change Notes? I assume it lists fixed issues, doesn't it? Jacek View t

[JBoss-user] [JBoss Portal] - Re: want to send data from portlet

2006-01-20 Thread jlaskowski
Hi, You didn't read the book, did you? ;) Neither did I yet, but I'm pretty sure there's the answer. Anyway... As you might've tried, you can include a jsp page into a portlet. So can you include a servlet, since a jsp is a servlet at runtime. Create a servlet-mapping (if it's not done for you

[JBoss-user] [JBoss Portal] - Re: want to send data from portlet

2006-01-19 Thread jlaskowski
Hi, Use RequestDispatcher (RD) and request.setAttribute(). public void doView (RenderRequest request, RenderResponse response) | throws PortletException, IOException | { | response.setContentType("text/html"); | request.setAttribute("myAttr", "myValue"); | PortletRequestDispatch

[JBoss-user] [JBoss Portal] - Re: call jbpm workflow from jboss portal

2005-11-07 Thread jlaskowski
Hi Pedro, I'd say it is possible to create a jbpm object as long as it doesn't want to send any response back to a client (reuse the RenderResponse object, which is committed upon include'ing). I think jBPM does not really care about the object. By the way, how do you know that the exception is

[JBoss-user] [JBoss Portal] - Re: Changing the background color of a portlet

2005-11-04 Thread jlaskowski
Hi, I haven't done it before, but if I had to do it I would definitely take a look at the default theme and change its CSS. Jacek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905460#3905460 Reply to the post : http://www.jboss.com/index.html?module=bb&op

[JBoss-user] [JBoss Portal] - Re: JBP 2.2 on 4.0.3 SP1

2005-11-03 Thread jlaskowski
Hi dunks, I don't know, but the general rule of mine is to keep the system polution as low as possible and choose to install a binary over installer version. That way I can completely control the installation process and installation/uninstallation is very simple - unpack/remove a binary distro

[JBoss-user] [JBoss Portal] - Re: JBP 2.2 on 4.0.3 SP1

2005-11-02 Thread jlaskowski
Hi, Hmmm, that's really strange. Although I could simply say there's an issue on Linux Fedora Core (dunks' setup), but koba seems to have the issue on Windows, too. I can however see a difference between the configuration of mine and koba's. Is there a reason that you've installed JBAS using th

[JBoss-user] [JBoss Portal] - Re: JBP 2.2 on 4.0.3 SP1

2005-11-02 Thread jlaskowski
Hi, "koba" wrote : What I do: | | 1. Install clear jboss-4.0.3SP1 | 2. Checkout today version of portal from cvs. | 3. Set JBOSS_HOME | 4. Use command 'set ANT_OPTS=-Xmx500M' | 5. Use command 'ant deploy' in /build dir -> got BUILD SUCCESSFUL | 6. Copy portal-hsqldb-ds.xml from '...

[JBoss-user] [JBoss Portal] - Re: JBP 2.2 on 4.0.3 SP1

2005-11-02 Thread jlaskowski
Hi Martin, The UserTransaction not found issue is gone on JBoss AS 4.0.3SP1. Jacek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904805#3904805 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904805

[JBoss-user] [JBoss Portal] - Re: JBP 2.2 on 4.0.3 SP1

2005-10-27 Thread jlaskowski
Hi, The Ant explode task was helping me at the time when Hibernate dialect for HSQL was not configured during the build. I had to make changes by hand and it made me crazy to unpack the portal sar every time. Funny to say, but as the task was committed, it wasn't actually necessary any longer b

[JBoss-user] [JBoss Portal] - Re: IDE that supports portlet development for JBOSS Portal

2005-10-27 Thread jlaskowski
Hi, Thanks for asking as it bugged me lately, too. As far as I know there's no open source tool to design portlets in a GUI. I used an early access version of Sun Java Studion Creator, which is an excellent yet commercial tool. Although BEA WebLogic Workshop IDE supports developing JSR-168 port

[JBoss-user] [JBoss Portal] - Re: forward from processAction

2005-10-14 Thread jlaskowski
Hi, I don't know about samples (which I guess should be a part of some kind of JBoss Portal tutorial) so I can't point you out to one, but... When the form is submitted, it executes processAction(). I assume that you use appropriate tag, otherwise it won't work. In processAction, doView() or

[JBoss-user] [JBoss Portal] - Re: UserTransaction not found in JBP 2.2.0-ALPHA and JBoss A

2005-10-08 Thread jlaskowski
"conkan" wrote : Did you run 'build' under the "build" directory and then do a 'build' under the "core" directory in the portal? I had "JTA" problems before when deploying and trying out 2.2. However, when I did a 'build' in the "core" directory, the problems were resolved. | | JBoss Portal

[JBoss-user] [JBoss Portal] - Re: UserTransaction not found in JBP 2.2.0-ALPHA and JBoss A

2005-10-08 Thread jlaskowski
"[EMAIL PROTECTED]" wrote : what service is it ? | | it looks like the service needs hibernate that needs UserTransaction that is not yet bound into JNDI. >From the stack trace it looks like it's the PersistentInstanceContainer >service. Jacek View the original post : http://www.jboss.co

[JBoss-user] [JBoss Portal] - UserTransaction not found in JBP 2.2.0-ALPHA and JBoss AS 4.

2005-10-08 Thread jlaskowski
Hi, I'm getting the following exception while deploying JBP 2.2.0-ALPHA (today's build) to JBoss AS 4.0.3. Why is that? | 22:34:32,100 INFO [SessionFactoryImpl] Checking 0 named queries | 22:34:32,421 ERROR [JTATransaction] Could not find UserTransaction in JNDI | javax.naming.NameNotFou

[JBoss-user] [JBoss Portal] - Re: Compile failed - today's sources

2005-10-07 Thread jlaskowski
Thanks! p.s. See you at JBoss World 2005! Jacek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3899840#3899840 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3899840 ---

[JBoss-user] [JBoss Portal] - Re: Setting the dafault portal

2005-10-07 Thread jlaskowski
Hi, Use /portal/ url. That's the servlet that will route the request to appropriate portal. Jacek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3899839#3899839 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3899839

[JBoss-user] [JBoss Portal] - Re: Setting the dafault portal

2005-10-07 Thread jlaskowski
Hi, Oh come on, you have read it, haven't you? :) The way the portals (actually, JBoss Portal itself) are accessed is configured in the deployment descriptor of the web app (bound to /portal). It's described at http://docs.jboss.com/jbportal/v2.0Final/user-guide/en/html/installation.html#d0e6

[JBoss-user] [JBoss Portal] - Re: Compile failed - today's sources

2005-10-07 Thread jlaskowski
Thanks Julien. It works now. Any chances that the change to PortalObjectCommandMapper class go into the repository? | $ cvs diff core/src/main/org/jboss/portal/core/model/portal/PortalObjectCommandMapper.java | Index: core/src/main/org/jboss/portal/core/model/portal/PortalObjectCommandMa

[JBoss-user] [JBoss Portal] - Compile failed - today's sources

2005-10-07 Thread jlaskowski
Hi, I'm getting the following exception on Java 5 while building Portal from today's sources. ... _default:compile-classes: [mkdir] Created dir: C:\projs\jboss-portal-2.2\core\output\classes [mkdir] Created dir: C:\projs\jboss-portal-2.2\core\output\gen\classes [javac] Compiling 292

[JBoss-user] [JBoss Portal] - Re: Portlet and init-param

2005-10-07 Thread jlaskowski
Hi, I don't know if these init-params exists at all. When you click the Help or Edit buttons (and they show only when you have declared EDIT and HELP support in your portlet deployment descriptor), doHelp() and doEdit() methods are invoked where you can decide what page is to display relevant c

[JBoss-user] [JBoss Portal] - Re: EL in included JSP

2005-10-07 Thread jlaskowski
Hi, I don't understand. Does it mean that your portlets with EL statements don't work in JBoss Portal? I work with 2.2.0-ALPHA and had no problems with it. Jacek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3899795#3899795 Reply to the post : http://www.j

[JBoss-user] [JBoss Portal] - Re: ClassCastException during Portlet Initialisation

2005-10-07 Thread jlaskowski
Hi, You didn't describe your environment, but having taken a look at the configuration files, I guess it's JBoss Portal 2.0.1, isn't it? It may not be as important as it seemed to be at first glance, but it's a good habit to include such information when reporting an issue. I've seen ClassCast

[JBoss-user] [JBoss Portal] - Re: Apache MyFaces 1.1.0 and 2.2.0-ALPHA don't work any more

2005-10-04 Thread jlaskowski
Hi, I've just found the answer to the issue with a portlet name being appended to the friendly url. It turned out that the last URL part referencing a portlet should have been the name of a portlet instance rather than a portlet name itself. When I think about the change it seems very reasona

[JBoss-user] [JBoss Portal] - Re: Apache MyFaces 1.1.0 and 2.2.0-ALPHA don't work any more

2005-10-03 Thread jlaskowski
Hi, I think I have found a partial solution to the issue I reported earlier (which resulted in the ClassCastException below). Take a look at org.jboss.portal.core.model.portal.PortalObjectCommandMapper:74. Shouldn't it look as follows? return page.getWindow(name); instead of return page

[JBoss-user] [JBoss Portal] - Apache MyFaces 1.1.0 and 2.2.0-ALPHA don't work any more

2005-10-03 Thread jlaskowski
Hi, Until recently, I could develop portlets with MyFaces impl. Now, JSF forms are no longer able to pass form parameters to backing beans and MyFaces reports | 14:06:20,659 WARN [HtmlRendererUtils] There should always be a submitted value for an input if it is rendered, its form is submitt

[JBoss-user] [JBoss Portal] - Re: How to arrange Fragments

2005-10-03 Thread jlaskowski
I'm not sure how it could work, but to add to Martin's message, you could also render a portlet only when a application/session/request parameter is set. You would then end up with a controller portlet and when appropriate parameter is set, it would dispatch render request to a portlet of your

[JBoss-user] [JBoss Portal] - Re: The dialect was not set. Set the property hibernate.dial

2005-10-03 Thread jlaskowski
Hi, It's getting worse with the latest changes to JBoss Portal 2.2 deployed onto JBoss AS 4.0.3RC2. Now, there're 3 directories - instance, portal and user - with Hibernate configuration files and it's a tedious task to change the dialect to org.hibernate.dialect.HSQLDialect every time I upda

[JBoss-user] [JBoss Portal] - Re: Failed to create configuration directory for workspace d

2005-09-28 Thread jlaskowski
Hi Roy, It works now fine. Althoght at some time when I close JBoss using Ctrl-C, the .lock is left and the MBean complains the directory is locked. I'd say it happens every time at Ctrl-C, but am not so sure. 15:54:17,393 WARN [ServiceController] Problem starting service portal:service=CMS

[JBoss-user] [JBoss Portal] - Re: Portal deployment alternatives

2005-09-24 Thread jlaskowski
Hi, After a couple of days exploring the code, I finally figured out how to deploy a portlet and a portal separately and be able to access it. I must admit it was a quite challenging task. I don't know if *-portal.xml files can be deployed as-is in deploy directory, but the trick is to set up

[JBoss-user] [JBoss Portal] - Re: The dialect was not set. Set the property hibernate.dial

2005-09-23 Thread jlaskowski
Hi Julien, $ pwd /cygdrive/c/projs/jboss-portal-2.2/build $ ./build.sh explode build.sh: *WARNING* Ignoring environment value for $ANT_HOME build.sh: Executing: /cygdrive/c/projs/jboss-portal-2.2/tools/bin/ant -logger org.apache.tools.ant.NoBannerLogger explode Buildfile: build.xml BUILD FAILED

[JBoss-user] [JBoss Portal] - The dialect was not set. Set the property hibernate.dialect.

2005-09-23 Thread jlaskowski
Hi, I know I can change the property in jboss-portal.sar\conf\hibernate\hibernate.cfg.xml, but is there another way to set the default Hibernate dialect so that I don't have to extract/modify/save the file? The change is required as without it JBoss AS 4.0.3RC2 refuses the portal sar to be de

[JBoss-user] [JBoss Portal] - Re: Failed to create configuration directory for workspace d

2005-09-23 Thread jlaskowski
Hi, Gave it a shot again after rebooting my Windows machine and got different error messages: 15:05:34,159 INFO [JCRCMS] Starting JCR CMS. 15:05:34,249 INFO [LocalFileSystem] LocalFileSystem initialized at path C:\apps\jboss\server\portal\data\portal\jcr\repository 15:05:34,249 INFO [LocalFi

[JBoss-user] [JBoss Portal] - Re: Failed to create configuration directory for workspace d

2005-09-23 Thread jlaskowski
Hi Roy, It does exist. Take a look at the directory listing. I believe that rep.home equals to /cygdrive/c/apps/jboss/server/portal/data/portal/jcr in my case. $ pwd /cygdrive/c/apps/jboss/server/portal/data/portal/jcr $ ls -R .: repository/ versions/ workspaces/ ./repository: ./versions:

[JBoss-user] [JBoss Portal] - Failed to create configuration directory for workspace defau

2005-09-22 Thread jlaskowski
Hi, What's that? It happens with the latest JBoss Portal 2.2.0-ALPHA build from the sources and deployed onto JBoss AS 4.0.3RC2. 20:26:04,481 INFO [JCRCMS] Starting JCR CMS. 20:26:04,531 INFO [LocalFileSystem] LocalFileSystem initialized at path C:\apps\jboss\server\portal\data\portal\jcr\rep

[JBoss-user] [JBoss Portal] - Portal deployment alternatives

2005-09-22 Thread jlaskowski
Hi, I can't figure out what deployment options are available in JBoss Portal. I work with the sources, so its version is JBoss Portal 2.2.0-ALPHA and JBoss AS is 4.0.3RC2. According to the chapter 2 of JBoss Portal reference guide - http://docs.jboss.com/jbportal/v2.0Final/reference-guide/en/h

[JBoss-user] [JBoss Portal] - Re: how could I integrate helloworld portlet into the defaul

2005-09-22 Thread jlaskowski
Have a look at http://www.jboss.com/products/jbossportal/docs where you can find all the answers. Jacek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896428#3896428 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=38964

[JBoss-user] [JBoss Portal] - Re: portal navigation

2005-09-22 Thread jlaskowski
Could you elaborate more on the API in JP2.2? I'm just curious what's there. Jacek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896295#3896295 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896295 -

[JBoss-user] [JBoss Portal] - How to build Portal

2005-09-12 Thread jlaskowski
Hi, Just to make sure I'm doing it properly, does the ant -f build/build.xml command build JP? The question stroke me right after having noticed that the build/build.xml file contains "Nukes (The OpenSource CMS) Build File" whereas server/build.xml does "JBoss Portal (The OpenSource Portal) B

[JBoss-user] [JBoss Portal] - Can't run a portlet in 2.2.0-ALPHA that worked in JP 2.0.1RC

2005-09-12 Thread jlaskowski
Hi, Built JBoss Portal 2.2.0-ALPHA (JP 2.2) from its sources and tried to run a portlet that worked well in JP 2.0.1RC1. I know I don't provide much details, but perhaps you will figure out what might cause that it doesn't work. What details would you need to track it down? Jacek View the ori