Return-Path: Delivered-To: apmail-portals-jetspeed-user-archive@www.apache.org Received: (qmail 9799 invoked from network); 6 Jan 2006 19:03:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jan 2006 19:03:35 -0000 Received: (qmail 26080 invoked by uid 500); 6 Jan 2006 19:03:17 -0000 Delivered-To: apmail-portals-jetspeed-user-archive@portals.apache.org Received: (qmail 25980 invoked by uid 500); 6 Jan 2006 19:03:17 -0000 Mailing-List: contact jetspeed-user-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Users List" Delivered-To: mailing list jetspeed-user@portals.apache.org Received: (qmail 25931 invoked by uid 99); 6 Jan 2006 19:03:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2006 11:03:16 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [129.46.51.59] (HELO ithilien.qualcomm.com) (129.46.51.59) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2006 11:03:15 -0800 Received: from sabrina.qualcomm.com (sabrina.qualcomm.com [129.46.61.150]) by ithilien.qualcomm.com (8.12.10/8.12.5/1.0) with ESMTP id k06J2ogi012168 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 6 Jan 2006 11:02:51 -0800 Received: from NAEXBR03.na.qualcomm.com (naexbr03.qualcomm.com [129.46.134.172]) by sabrina.qualcomm.com (8.12.10/8.12.5/1.0) with ESMTP id k06J2QhD029732 for ; Fri, 6 Jan 2006 11:02:48 -0800 (PST) Received: from NAEX09.na.qualcomm.com ([10.46.56.82]) by NAEXBR03.na.qualcomm.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 6 Jan 2006 11:02:46 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: How to create a new skin and add custom mode to it injetspeed2? Date: Fri, 6 Jan 2006 11:02:45 -0800 Message-ID: <886C7FB69EE96E408B1E92F89F0D26B728908F@NAEX09.na.qualcomm.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to create a new skin and add custom mode to it injetspeed2? Thread-Index: AcYGhWIBAlnSGrGVROWmKo+WTirA4AAAjx5wAR0uC9ABowSAIAAfjTpQAAXk0xAANGiSAA== From: "Tiwari, Sunil Kumar" To: "Jetspeed Users List" X-OriginalArrivalTime: 06 Jan 2006 19:02:46.0124 (UTC) FILETIME=[C7923AC0:01C612F3] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi scott, I have a link on my page which takes the user to another portlet which is on some other page.=20 I got it working. I created a page(can be called a second level page) and deployed a portlet on it.=20 Then I just specified the relative url (jetspeed/portal/pagename) in the link and it worked. I am not still able to figure out the search box issue. Plz see the enclosed mails. The search box request must be passed to a servlet. I have created a .vm file for this where I have a html form tag and I try to call an action on it but somehow it doesn't work. Any ideas? Regards, Sunil -----Original Message----- From: Tiwari, Sunil Kumar [mailto:c_stiwar@qualcomm.com]=20 Sent: Thursday, January 05, 2006 9:50 AM To: Jetspeed Users List Subject: RE: How to create a new skin and add custom mode to it injetspeed2? It can be either one of the cases that you have mentioned. Could you explain how to go about them? Another question: Will javascript work? If yes, can we get the values of form elements in javascript? Sorry for asking too many questions but Velocity appears totally different from JSP. Regards, Sunil=20 -----Original Message----- From: Scott T Weaver [mailto:scotts-jetspeed-list@binary-designs.net]=20 Sent: Thursday, January 05, 2006 8:55 AM To: 'Jetspeed Users List' Subject: RE: How to create a new skin and add custom mode to it injetspeed2? Hi Sunil, > But I am finding it difficult to add new functionality to the layout. > For example, I want to include a search box and a submit button on the > right hand side of header image defined in header.vm (something like: > ). >=20 > How to go about it? >=20 > And how to show the results of search? I am not sure I understand fully. Is the search box tied to a portlet or will it be the result of a direct request to a servlet? Regards, -Scott > -----Original Message----- > From: Tiwari, Sunil Kumar [mailto:c_stiwar@qualcomm.com] > Sent: Wednesday, January 04, 2006 6:55 PM > To: Jetspeed Users List > Subject: RE: How to create a new skin and add custom mode to it > injetspeed2? >=20 > Hi Scott, >=20 > Sorry, I was on vacation this time and so could not reply to your mail. > I have read your documentation and it helped me a lot to create some new > skins and themes. >=20 > I am able to change the look and feel of pages by altering the > header.vm/footer.vm file of the layout. >=20 > But I am finding it difficult to add new functionality to the layout. > For example, I want to include a search box and a submit button on the > right hand side of header image defined in header.vm (something like: > ). >=20 > How to go about it? >=20 > And how to show the results of search? >=20 > I have worked on Websphere portal and it uses jsp/stylesheets to > accomplish the above mentioned goals. >=20 > Just imagine a commercial web portal with so many links and other > functionalities. Where shall I place them? >=20 > Regards, > Sunil >=20 >=20 >=20 > -----Original Message----- > From: Scott T Weaver [mailto:scotts-jetspeed-list@binary-designs.net] > Sent: Tuesday, December 27, 2005 7:46 AM > To: 'Jetspeed Users List' > Subject: RE: How to create a new skin and add custom mode to it > injetspeed2? >=20 > Hi Sunil, >=20 > Sorry, I was on vacation last week and not able to get to this sooner. > Please look at the initial documentation I have written, > http://portals.apache.org/jetspeed-2/guides/guide-decorators.html. It > is > far from finished but should give you an idea what is required to build > a > decoration. >=20 > -Scott >=20 > > -----Original Message----- > > From: Tiwari, Sunil Kumar [mailto:c_stiwar@qualcomm.com] > > Sent: Wednesday, December 21, 2005 6:47 PM > > To: Jetspeed Users List > > Subject: RE: How to create a new skin and add custom mode to it > > injetspeed2? > > > > Hi Randy, > > > > I was able to create a new skin by copying the folder structure of an > > existing skin and tinkering with it. So far, I am able to just change > > the look and feel but wasn't able to add new custom mode. > > > > I noticed a macro #PortletActionBar($decoration) in > > jetspeed/decorations/portlet/decorator.vm > > > > I guess this macro has to do with what modes can be provided. > > But I don't know much about Velocity and so I cldn't figure it out. > > > > Could you tell me where these macros are defined and how they work > with > > themes and skins? > > > > Thanks so much for your inputs. > > > > -Sunil > > > > -----Original Message----- > > From: Randy Watler [mailto:watler@wispertel.net] > > Sent: Wednesday, December 21, 2005 3:15 PM > > To: Jetspeed Users List > > Subject: Re: How to create a new skin and add custom mode to it > > injetspeed2? > > > > Sunil, > > > > The best way to start with the decorators is to make a copy of them > and > > tinker! > > > > Decorators can be deployed by jaring them up and dropping them into > the > > webapps/jetspeed/WEB-INF/deploy directory, (the jar file must contain > > the *.properties and *.vm files at the top level and folders for css > and > > images filled appropriately). There might be a small bug in the 2.0 > > release deployer, but we'll fix that soon. In the interim, you should > be > > able to edit them in place or copy new ones into the existing > > webapps/jetspeed/decorators directory. > > > > If you need to add a new custom mode, that is more complicated. I am > not > > sure J2 supports this without code changes. I am sure David Taylor can > > give you some input there, or you can try to search the mailing list > > archives. > > > > HTH, > > > > Randy > > > > On Wed, 2005-12-21 at 11:32 -0800, Tiwari, Sunil Kumar wrote: > > > Hi, > > > > > > I have recently started using jetspeed2 portal and it looks amazing. > > > The themes and skins have been developed using Velocity and I don't > > know > > > much about it. > > > > > > Can someone help me in creating a new skin and adding custom mode to > > it? > > > I want a config mode in addition to the default modes. I need to add > > the > > > image to the skin.. am I right? > > > > > > > > > Thanks, > > > Sunil > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org > > For additional commands, e-mail: jetspeed-user-help@portals.apache.org > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org > > For additional commands, e-mail: jetspeed-user-help@portals.apache.org >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org > For additional commands, e-mail: jetspeed-user-help@portals.apache.org >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org > For additional commands, e-mail: jetspeed-user-help@portals.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-user-help@portals.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-user-help@portals.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-user-help@portals.apache.org