RE: new jetspeed user
Jetspeed is more of a framework than a web-app. Concerning persitency - the war comes with a built in hypersonic db. Stef. -Original Message- From: Amir Nashat [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 18. September 2003 03:24 To: [EMAIL PROTECTED] Subject: new jetspeed user Hello all, I just downloaded the jetspeed portal, installed and started playing. All is going well. A couple questions come to mind 1) Is Jetspeed a portlet container? Granted not a reference implementation but I'm curious as to the .war extension. Are containers nothing more then war files and thus a web app? I've read the spec front to back and still are not sure about this one. If someone can point to the section I'd be very much obliged. 2) So I haven't tied Jetspeed into any backend database. I then create a new user. I then create another new user with the same user name and it chokes on me saying that this user already exists. How is this user data persisted in the first place if I have no data store to save it in? I'm curious about this one. Doing a little search I noticed that data is saved into the jetspeed.script file. So when jetspeed starts is this file read and a in-memory object created that stores all the users? Is this assumption correct? Anyone? Thanks for your help everyone. Regards, Amir Amir N. Nashat Software Engineer [EMAIL PROTECTED] www.cj.com p 805 560 0777 d 805 899 8936 f 805 560 0776 Commission Junction delivers advanced solutions for online marketing. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: steps for creating portlet where to put class files
Even better to check the root ... http://www.bluesunrise.com/jetspeed-docs/ -Original Message- From: Tâm Huynh [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 18. September 2003 14:00 To: Jetspeed Users List Subject: Re: steps for creating portlet where to put class files Hi Cevat, I am a new jetspeed user. I appreciate any help. does anyone has a document shows the steps to create a portlet and add it to the portal clearly. and where should I put the class files. Take a look at http://www.bluesunrise.com/jetspeed-docs/JetspeedTutorial.htm for example. Tâm - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cascading Menus from PSML
Yusuf, No response from the list on this one yet. Probably what we need is some orientation on where to grab this from the context. Cheers -J -Original Message- From: Yusuf Isaacs [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 2:09 AM To: [EMAIL PROTECTED] Subject: Cascading Menus from PSML Hi Have you managed to incorporate cascading menus for a particular user PSML ? , if so could you point me in the right direction as I am struggling with the same problem thanks Yusuf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Adding Portlet as link in another portlet content
Hi, I want to add a one portlet as link into content of another portlet. How can I acheive this ? thanks, js dev __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
jsp errorPage
Hi list, Is there any way Jetspeed can support the JSP errorPage directive? Or maybe JetSpeed / Turbine provide a replacement service for this? Thanks g - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Adding Portlet as link in another portlet content
For navigation, see the class org.apache.jetspeed.util.template.BaseJetspeedLink, the velocity tools $jlink and the forward service (http://jakarta.apache.org/jetspeed/site/forwards.html). Christophe * * JS developer wrote: Hi, I want to add a one portlet as link into content of another portlet. How can I acheive this ? thanks, js dev __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cascading Menus from PSML
Cascading menu with plenty of javascript DHTML ? I'm intesting to build one for my project but it is not plannified for this month :-) Anyway, If you can work without the customizer in this case, it is not so complex to build your own, if you know javascript-DHTML, the PSML structure and the mechanism used for jetspeed controls controllers. Obviously, customizer for this kind of menu will require more time. Do you have time ? Let me know in which area you require more info, I can try to help Christophe Jonathan Porterfield wrote: Yusuf, No response from the list on this one yet. Probably what we need is some orientation on where to grab this from the context. Cheers -J -Original Message- From: Yusuf Isaacs [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 2:09 AM To: [EMAIL PROTECTED] Subject: Cascading Menus from PSML Hi Have you managed to incorporate cascading menus for a particular user PSML ? , if so could you point me in the right direction as I am struggling with the same problem thanks Yusuf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Getting a Portlet instance entry
Ok, I'm trying to get an instance of a Portlet object so I can check permissions like so: JetspeedSecurity.checkPermission((JetspeedUser) data.getUser(), portlet, view) I'm doing this in left.jsp, so I need to generate the instance by name. After much trial and error, I've discovered a method that works (querying the profiles, iterating through trying to get portlets by name). There really must be a better way, and I'm hoping that someone can make a suggestion. Here's what I'm doing now: QueryLocator qLoc = new QueryLocator(QueryLocator.QUERY_ROLE); qLoc.setRoleByName(user); qLoc.setUser((JetspeedUser) data.getUser()); Portlet portlet = null; Iterator i = Profiler.query(qLoc); while (i.hasNext()) { Profile profile = (Profile) i.next(); if (profile.getRootSet().getPortletByName(files) != null) { String name = profile.getRootSet().getPortletByName(files).getName(); if (name.equalsIgnoreCase(files)) { portlet = profile.getRootSet().getPortletByName(files); break; } } } Ugly, especially in JSP. Any ideas? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jsp errorPage
I'm not complelty familiar with jsp within jetspeed but have you try to put this directive in /WEB-INF/templates/jsp/layouts/html/default.jsp ? Christophe Gregory Joseph wrote: Hi list, Is there any way Jetspeed can support the JSP errorPage directive? Or maybe JetSpeed / Turbine provide a replacement service for this? Thanks g - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Need to get Role of the Logged In User.
Hello All, I need to know the role of the logged in User in my JSP to do some processing. How to do it? I tried the following code but it returned Null. Rundata rundata = (Rundata)request.getAttribute(rundata); // this returned properly AccessControlList acl = rundata.getACL(); // This returned NULL... Please let me know how to get the role of the logged in user. Thanks in Advance. Regards, Sunil. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts as a JSR-168 Portlet Framework
Hi Tim, Good to hear that you are pushing Struts as the portlet framework at your company. You may want to also get engaged in the struts-dev mailing list and send your feedback to them. Craig wrote that it would be nice if someone wrote the portlet version of the request processor extension for the new decomposed request processor that is being designed for Struts 2.0. The code can be found in /contrib/struts-chain in Struts CVS. So far there is only the servlet extension. If any of you could work on a portlet extension, that would be great. You can contact struts-dev about this. Thanks, Mete -- Original Message -- From: Tim Reilly [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 17 Sep 2003 20:50:18 -0400 Excellent! I just spent the afternoon lobbying for Struts use at the portlet level... I'm not sure I did very well. In the end it came down to: * Each advocate of methodologies will present our representative use-case:Add Client Site developed in their respective methodology this coming Monday (So for me that means using IBM portlet revision of Struts1.1-b2 to develop this functionality for Mon.) The main alternate contenter is using the MVC portlet. This implies coding the if..else if..else if..else in the controller; however the point was made that since the responsibilities of a portlet should not be as large as that of a normal struts application this is acceptible. * Someone estimated a factor of 4 as the time required to develop in Struts versus not developing with Struts. This is also the person in our group with the most Struts experience, so I can't really argue against... except perhaps to capture my time and present that as well on Monday. * Others in the group expressed apprehension to the fact that we are using a modified version of Struts. I mentioned based on a previous post on this list, that the Struts community is behind supporting portlets as well as servlets. Your posting here reaffirms this for us so .. thank you. * I mentioned that although Struts adds complexity it provides; a) a well-known framework for application development. b) Would ease certain development and maintainence. c) Provide a proven framework for validation. d) Allow new team members to get up to speed faster since the framework is so well known. * I added to the discussion ... that development time may not be a factor of 4 - if solid tools are used to generate certain elements; for example - the struts-config.xml? Stubs for our Actions and Forms. Does anyone have any favorite tools that may help here? I've seen EasyStruts on eclipse-plugins.2y.net but have not used. I'd love to hear people's thoughts on this topic. [I realize this is perhaps off-topic for jetspeed-dev, so I am posting it on [EMAIL PROTECTED] with same for reply-to; e.g: Trying to move sub-thread from dev to user? If it doesn't work right please just reply to [EMAIL PROTECTED] Thanks. Hope hear your thoughts. -Original Message- From: David Sean Taylor [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 2:29 AM To: Jetspeed Developers List Subject: Re: Struts as a JSR-168 Portlet Framework On Tuesday, September 16, 2003, at 09:25 AM, Mete Kural wrote: You are right, David, Struts 2.0 does not claim to be working at the portal layer. That is, as you say, the portal server's concern such as Jetspeed. Struts 2.0 aims to be a framework for building portlet applications (JSR-168 compliant). Right now, Struts committers are re-designing the RequestProcessor to make it flexible for portlet environments as well as plain servlet environments. They need feedback from the portal community in order to make sure that the re-design is done in a way that effectively satisfies the needs of portlet environments. Please take a look at the code in the Struts CVS at contrib/struts-chain. I would recommend you to ask any questions to the Struts committers in the struts-dev mailing list. Sounds great! I will have a look at the code in contrib/struts-chain -- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] +01 707 773-4646 +01 707 529 9194 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Original Message -- From: David Sean Taylor [EMAIL PROTECTED] Reply-To: Jetspeed Developers List [EMAIL PROTECTED] Date: Tue, 16 Sep 2003 16:45:50 -0700 On Tuesday, September 16, 2003, at 05:23 AM, Mete Kural wrote: Hello all, The topic of adapting Struts to be a portlet framework compliant with JSR-168 was discussed earlier. I remember that some of you were interested in contributing to such a project. Now is the opportunity. One of the goals of the next generation of Struts, Struts 2.0, is Transparent support for a portlet environment (JSR 168). Development for