Portlet and JSF

2006-04-10 Thread GopalakrishnanNair, Anishkumar
Hi friends, I am trying to create a simple application with portlet and JSF on Jetspeed. I have my portlet.xml and faces-config.xml configured properly. I have defined my portlets in portlet.xml and in web.xml I have configured FacesServlet and mapped it to the url-pattern *.htm.

Re: Build Jetspeed from source

2006-04-10 Thread Marco Catunda
Randy, thanks very much. Now, everything just fine... -- Marco Catunda 2006/4/10, Randy Watler <[EMAIL PROTECTED]>: > Marco... it seems you have a 2.1-dev plugin and are asking for a 2.0 > jar. try specifying 2.1-dev as the jetspeed.version in your > build.properties: > > jetspeed.version=2.1-d

WebLogic 9.1 - no worko

2006-04-10 Thread Bryan Noll
Hello all... Mr. Watler told me that two gentlemen that frequent this list, Ate Douma & David Taylor, may be able to provide some insight on getting Jetspeed 2 up and going on Weblogic 9.1. I'm about 3 hours into it, and still haven't made it happen. We seem to have gotten as far as getting j

Re: Force downloading a file in JSF portlet

2006-04-10 Thread Raj Saini
Thanks, Vlad, Aron. It is working fine now. Regards, Raj Vladimir Figurov wrote: I don't use a CommandLink I use a outputLink : value="#{facesContext.externalContext.requestContextPath}/documents/#{dataRow['name4url']}/?doc_id=#{dataRow['docId']}" target="_blank" >

Jetspeed training...

2006-04-10 Thread Hamblett, Sean
Hi, I am looking for some formalized training for Jetspeed2. I have been tinkering and slowly getting my way through picking up the basics of Jetspeed, but as our project is picking up steam, and funding, I would like to get some training for myself and some other members of our group. D

Re: Simplest Portlet

2006-04-10 Thread Bryan Noll
Hopefully someone can reap the rewards of my dumb mistake. If you look at that psml file I attached previously, you'll notice that it is malformed. It is missing the '<' as the first character. Once I put that in, all is well. Hit me on the head with a tackhammer. "Ya know what? If you don

Re: Portlet Instances

2006-04-10 Thread Randy Watler
Yes, Something has changed... :-). Now you can add preferences in the PSML: http://portals.apache.org/jetspeed-2/guides/guide-psml.html#Preferences Check out the link to the docs as well :-). Randy On Mon, 2006-04-10 at 18:58 +0400, Alexey Manulenko wrote: > Hello, > > I s

Re: Simplest Portlet

2006-04-10 Thread Bryan Noll
Here's the file. Randy Watler wrote: Bryan, Please email the file that you have here: $TOMCAT_HOME/webapps/jetspeed/WEB-INF/pages/simplest.psml It is either not there or bogus. If you touch the file, you should be able to see some PageManager activity in the logs within 10 seconds. If you ar

Re: Portlet Instances

2006-04-10 Thread Alexey Manulenko
Hello, I should elaborate a little bit... What I want to do is to have TWO OR MORE IFrame portlets (on one, or on different pages), which display DIFFERENT contents. For example: The demo/WEB-INF/portlet.xml file looks something like this: == ... IFramePortlet

Re: Accessing Portal with Apache webserver in front of tomcat doent work

2006-04-10 Thread Aaron Evans
You should add: JkMount /pbcportal example as well. To see why, try logging out of the portal without it, you'll get a page not found error. On 4/10/06, Parambathu Kandy, Yasser Arafat (Cognizant) <[EMAIL PROTECTED]> wrote: > > Thanks folks for the help, > It works when I added JkMount /pbcpo

Re: Simplest Portlet

2006-04-10 Thread Randy Watler
Bryan, Please email the file that you have here: $TOMCAT_HOME/webapps/jetspeed/WEB-INF/pages/simplest.psml It is either not there or bogus. If you touch the file, you should be able to see some PageManager activity in the logs within 10 seconds. If you are frustrated with that approach, try log

Re: How to install Jetspeed2 in Geronimo or WebSphere Community Edition?

2006-04-10 Thread Randy Watler
There are plenty of documents available. Please search the archives of this and the dev list. I think there is a JIRA issue open as well on it. Randy On Mon, 2006-04-10 at 16:42 +0300, [EMAIL PROTECTED] wrote: > Good day! > > I want to deploy Jetspeed2 in Apache Geronimo. How can I do it? > > T

RE: jetspeed decorations

2006-04-10 Thread Randy Watler
Guys... J2 does not support this at this time. However, you can package decorations as their own jar file and deploy them as you would a portlet app. In your jar file, you will want to have something like this: css/ css/styles.css decorator.properties footer.vm header.vm images/ images/banner.jpg

RE: Accessing Portal with Apache webserver in front of tomcat doent work

2006-04-10 Thread Parambathu Kandy, Yasser Arafat \(Cognizant\)
Thanks folks for the help, It works when I added JkMount /pbcportal/* example Thanks for making my application go live. -Original Message- From: Aaron Evans [mailto:[EMAIL PROTECTED] Sent: Monday, April 10, 2006 6:04 PM To: Jetspeed Users List Subject: Re: Accessing Portal with Apache w

How to install Jetspeed2 in Geronimo or WebSphere Community Edition?

2006-04-10 Thread baranovsky
Good day! I want to deploy Jetspeed2 in Apache Geronimo. How can I do it? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Simplest Portlet

2006-04-10 Thread Bryan Noll
OK... getting closer. I appreciate the responses. Still cannot simply navigate to http://localhost:8080/jetspeed/portal/simplest.psml. So... I navigate to the PAM (Portlet Application Manager) and 'simplest' appears in the Portlet Entity Browser underneath "Choose a Portlet Application..."

RE: Portlet Instances

2006-04-10 Thread Balaji Chandrasekaran
Hi Alexey..if u want the same portlet more than once in a page u can add that in to your psml file and I think there is no need to add the same portlet in portlet.xmlone more thing to note is preference are stored against the id of the fragments we give in psml and not against the portlet n

Portlet Instances

2006-04-10 Thread Alexey Manulenko
Hello, all I need help. Could anyone prompt me the way to create several portlet "instances" that share the same portlet class. I'm trying to do a very simple thing: I need two "instances" of demo::IFrame portlet to be displayed on one psml page, but have different SRC preference to display the

RE: jetspeed decorations

2006-04-10 Thread Balaji Chandrasekaran
Hi Yogesh.thanks for the responseI have my own decorations created but the decoration folders are in Jetspeed (Jetspeed/web-inf/decorations). ...I want to move those decorations to my-application (sampleapplication/web-inf/decorations). Regards, Balaji Chandrasekaran -Original Messa

Re: Simplest Portlet

2006-04-10 Thread Philip Mark Donaghy
Hi Bryan, Try seeing if the portlet shows up in the Jetspeed administrator. Either in the Portlet Application Manager (PAM) or try adding a portlet to a page using the Portlet selector. This can be done when in page edit mode. The psml file does not belong in the simplest.war. It won't hurt to pu

Re: Simplest Portlet

2006-04-10 Thread Aaron Evans
You can't get a portlet to display unless there is some portal page that includes it. You can either copy out the psml as you have done, or you can use the jetspeed administrative interfaces (the page manager I believe) to create a page and include that portlet. On 4/10/06, Bryan Noll <[EMAIL

Re: Force downloading a file in JSF portlet

2006-04-10 Thread Aaron Evans
I don't think you may do request forwarding from a portlet application (but you can do redirects and includes). So, instead of creating the download link via a "command link" that maps to an action listener that will handle the download, you use a link that points to a servlet that will take the

RE: jetspeed decorations

2006-04-10 Thread Yogesh Salunke
Hi Balaji, I received your mail. See it's a good practice always to have your own decorations. So what you should do is create your own layout like (Tigris) And your own portlet like (jet speed) you can create folders and copy all your style-sheets in that. Make the entry of your decorations in web

Re: Force downloading a file in JSF portlet

2006-04-10 Thread Ge
Hi, I've 2 alternately suggestion: 1. Write the code in a jsp file instead of the servlet. 2. in the faces-config.xml file, config the action to an jsp file, write code forward the request to your servlet in the jsp file. Hope be helpful. David -Original Message- From: Raj Saini [mailt

Re: Accessing Portal with Apache webserver in front of tomcat doent work

2006-04-10 Thread Ge
Hi, The code below --- [uri:/jetspeed2/portal/*] [uri:/jetspeed2/login/*] ... --- is syntac for jk2. If you use Jk 1.2, try this --- JkMount /jetspeed/po

Re: Simplest Portlet

2006-04-10 Thread Bryan Noll
Thanks David. I gave that a go and still nothing. It would seem weird to me that you'd be forced to take a file that belongs bundled in the war and individually move it out to a different location in jetspeed. It seems like at least 3 people have run into this issue, probably more. Has any

Re: Accessing Portal with Apache webserver in front of tomcat doent work

2006-04-10 Thread Aaron Evans
> JkMount /pbcportal/*.jsp example Here, you are only mapping jsp URIs under the pbcportal context. What about psml pages, images, css, etc? Unless you are serving other stuff from apache, the easiest solution is to just map everything to tomcat: JkMount /* example If you can't do this (ie. yo

Re: Force downloading a file in JSF portlet

2006-04-10 Thread Vladimir Figurov
I don't use a CommandLink I use a outputLink : value="#{facesContext.externalContext.requestContextPath}/documents/#{dataRow['name4url']}/?doc_id=#{dataRow['docId']}" target="_blank" > How can you see, I use "*/documents/*" key in href This url-part a l

Problem while creating an application with Portlet and JSF together

2006-04-10 Thread GopalakrishnanNair, Anishkumar
> Hi friends, > > I am trying to create a simple application with portlet and JSF on > Jetspeed. I have my portlet.xml and faces-config.xml configured properly. I > have defined my portlets in portlet.xml and in web.xml I have configured > FacesServlet and mapped it to the url-pattern *.h

jetspeed decorations

2006-04-10 Thread Balaji Chandrasekaran
Hi all, Im crating a portal application and I want to create my own decorations (say like tigris). Currently Im creating all my decorations in my Jetspeed folder itself. Is this right..or can I have all these folders in my web-application itself. Please respond ASAP. Thanks in adv

Re: Force downloading a file in JSF portlet

2006-04-10 Thread Raj Saini
Vladimir, Thanks for you help till now. I feel I am still missing something. I am not able to forward the control from my JSF page to servlet. My servlet is configured fine and it is working standalone. I searched the web for help on how to forward request to a servlet from JSF page and based on

RE: Accessing Portal with Apache webserver in front of tomcat doent work

2006-04-10 Thread Parambathu Kandy, Yasser Arafat \(Cognizant\)
I tried that but it doesn't work. I am pasting the http.conf and workers.properties here, please help. Below is the addition to my http.conf file in apache conf dir. *** LoadModule jk_module modules/mod_jk.so JkWorkersFile conf/worke

RE: Simplest Portlet

2006-04-10 Thread gexiangdong
Hi, I met this probelem a few days agao too. It worked after I copy the "simplest.psml" file to the webapps/jetspeed/WEB-INF/pages folder, It worked. I'm not sure my method is right, but it really worked on my machine. Hope be helpfule for you. David -Original Message- From: Bryan Noll

Simplest Portlet

2006-04-10 Thread Bryan Noll
It could be that my brain is fried because its so late... but I am not having any luck getting the simplest portlet example to work. Has anyone gotten this thing to go? (http://portals.apache.org/jetspeed-2/guides/guide-simple-portlet.html) I found a message in the archives where the guy was

Re: Force downloading a file in JSF portlet

2006-04-10 Thread Vladimir Figurov
8-O It's simple - need add to web.xml next elements: ... documents asoft.web.Doc_view 1 ... documents /documents/* ... Raj Saini wrote: Hi Vladimir, My code is inside a ActionListener of CommandLink component of JSF and that may be the reason it is not working.

Re: Force downloading a file in JSF portlet

2006-04-10 Thread Raj Saini
Hi Vladimir, My code is inside a ActionListener of CommandLink component of JSF and that may be the reason it is not working. I am not able to figure out how to forward control to servlet from ActionListener. Can you please tell me how do you forward control to servlet from your JSF page? Regards

Re: JSF portlet - how to getting the Jetspeed functions?

2006-04-10 Thread Vladimir Figurov
Addons: I am using a Jestspeed 1.6 with fusion. I am a try building JSF based portlet for master-detail tables. Necessary, that after click on the button (or link) the new window with details opened. Without any portal's elements - as Print mode. If I use a next method: then I getted a

RE: Accessing Portal with Apache webserver in front of tomcat doent work

2006-04-10 Thread gexiangdong
Hi, I think that you havenot configure the JK2 to let apache passthought the servlet request to tomcat. Commonly, it is a configration file named as "jk2.properties" in the conf folder of apache root. Something like below should be added to the jk2.properties file. [uri:/jetspeed2/portal/*] [uri:

Re: Force downloading a file in JSF portlet

2006-04-10 Thread Vladimir Figurov
Hi Raj, I look your code. I think, it does not work because you use not pure сервлет for loading. I do not see heading of your class - similar that it Faces PageBean? I use a combination JSF pages + simple pure Servlet, listening part URL for download: public class Doc_view extends HttpS