You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Raphaël Luta <ra...@apache.org> on 2005/12/01 10:22:26 UTC

Re: Layout Portlets

Aaron Evans wrote:
> Shah Amit <amit_shah25 <at> hotmail.com> writes:
> 
> 
>>Also one thing that I had to sort of "hunt" and find was nesting layouts. 
>>That feature is really very powerful and handy in creating complicated 
>>layouts. For example, we can have one row with 2 columns, second row with 3 
>>columns  and then fourth row with 2 columns etc. etc. If there were an 
>>example like that shipped somewhere with jetspeed, I think that could help 
>>someone ...
>>
>>Thanks,
>>Amit
> 
> 
> Amit, how *do* you do that? That *would* be very useful.
> 
> 
> Is it simply a matter of nesting the fragment tags?
> 
> 

Yes. Ever since JS 1.2, the layout engine and PSML markup has
supported nested layout statements.

The big issue if you start using these, is the effect on the
customizer GUI, we found early in JS1 that using the GUI many
users had issues understanding how to layout a page with nested
layout components.

-- 
Raphaël Luta - raphael@apache.org
Apache Portals - Enterprise Portal in Java
http://portals.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Layout Portlets

Posted by elfenger <el...@gmail.com>.
I tried the example for nested layouts given on the 
http://portals.apache.org/jetspeed-2/guides/guide-psml.html#Fragment_Properties
website. I got another header in the second layout fragment.
What am I missing? Any help will be appreciated.



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: How to build a custom Portal Server

Posted by Randy Watler <wa...@wispertel.net>.
Liu,

Derby is the default DB implementation and it appears that its version
has been erased somehow. It lives in the maven plugin properties, so
please try to run this again:

maven initMavenPlugin

If this fails, manually remove the jetspeed plugin from your repository
under ~/.maven and try the build steps again.

Maven can be testy at times, so be patient.

HTH,

Randy

On Sat, 2005-12-03 at 01:53 +0800, Liu Yan wrote:
> hi,
> 
> I am new to the JetSpeed as well as the Portal Server. Based on the Getting Started page on the J2 web site, I successfully built and deployed the the default Portal Server all from the J2 source. It runs well based on MySql backend. All sample Portlets are cool except the RSS one, however, I didn't look into it more.
> 
> My current task is to build a custom Portal Server. After some doc reading and mail list archive search, I found little information on it, Wiki has such title but with empty content. I guess I could miss something in the archive. The following are the steps I took:
> 
> Environment: Windows XP Professional, Tomcat 5.5.12, MySql 4.1 NT, JDK1.5.0_05
> 
> 1) Download Maven 1.0.2 (It seems there is some problem for J2 working with Maven 1.1-beta, is that true?), set MAVEN_HOME, and PATH
> 2) Delete the ${user.home}/.maven directory, this directory working fine for the default build directly from J2 source as I mentioned above, but I'd like to delete it to have a clean environment.
> 3) Create a directory, say d:\myportal, copy the build.properties to this directory
> 
> maven.repo.remote = http://www.bluesunrise.com/maven/, http://www.ibiblio.org/maven/, \
>   http://dist.codehaus.org/, http://cvs.apache.org/repository
> org.apache.jetspeed.project.home = d:/myportal
> 
> org.apache.jetspeed.portal.home = d:/myportal
> org.apache.jetspeed.portal.name=myportal
> org.apache.jetspeed.portal.groupId = myportal
> org.apache.jetspeed.portal.artifactId = portal
> jetspeed.version=2.0-dev
> org.apache.jetspeed.portal.currentVersion = 1.0
> 
> org.apache.jetspeed.genapp.home= d:/myportal
> org.apache.jetspeed.genapp.groupId=myportal
> org.apache.jetspeed.genapp.name=Test Portal
> org.apache.jetspeed.genapp.currentVersion=1.0
> 
> (There are other settings related to Tomcat and DB config, I didn't list them here for brevity)
> 
> 4) Run: maven -DartifactId=maven-jetspeed2-plugin -DgroupId=jetspeed2 -Dversion=2.0-M4-SNAPSHOT plugin:download
> 
> BUILD SUCCESSFULLY
> 
> 5) Run: maven j2:portal.genapp
> 
> BUILD SUCCESSFULLY
> 
> 6) Run: maven war:install
> 
> After download a lot of stuffs, the build failed with the output:
> WARNING: Failed to download derby-.jar.
> The build cannot continue because of the following unsatisfied dependency:
> 
> What did I do wrong? Or do I just simply misunderstand the concept of how to build a custom portal server?
> 
> Your reply is appreciated.
> 
> Liu Yan
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE: How to build a custom Portal Server

Posted by Scott T Weaver <sc...@binary-designs.net>.
I will take responsibility for #1 since I am currently re-writing the
decoration portion of Jetspeed 2.  I MAY even have a section on how to do it
with JSPs since there appears to be a decent amount of mis-guided souls
using J2 who still use them ;^) (Just kidding, don't flame me)

Regards,
-Scott


> -----Original Message-----
> From: Joachim Müller [mailto:joachim@wemove.com]
> Sent: Monday, December 05, 2005 6:38 AM
> To: Jetspeed Users List
> Subject: Re: How to build a custom Portal Server
> 
> Hi.
> 
> I think it would be helpful to write down some best practices for
> getting startet with developing a new portal:
> 
> Things that come in my mind (extendable):
> 
> 1.) Look an Feel
> 
> - How to develop a new Look (Template, Decorators, styles etc.)?
> - How to deploy this stuff?
> - Naming conventions for style definitions, template files, etc?
> 
> 2.) Development, Debug, Deploy cycle
> 
> - How to set up an dev enviroment with eclipse?
> - Basic steps to build my new portal application.
> - How to debug my portal application?
> 
> 3.) Core development
> 
> - How to extend the Jetspeed functionality, add/exchange new Services?
> - How to add new services, valves.
> - How to debug?
> - How to deploy this modifications?
> 
> ...
> 
> 
> Anyone wants to share experiences?
> 
> Joachim
> 
> 
> 
> 
> 
> Liu Yan wrote:
> > hi,
> >
> > I am new to the JetSpeed as well as the Portal Server. Based on the
> Getting Started page on the J2 web site, I successfully built and deployed
> the the default Portal Server all from the J2 source. It runs well based
> on MySql backend. All sample Portlets are cool except the RSS one,
> however, I didn't look into it more.
> >
> > My current task is to build a custom Portal Server. After some doc
> reading and mail list archive search, I found little information on it,
> Wiki has such title but with empty content. I guess I could miss something
> in the archive. The following are the steps I took:
> >
> > Environment: Windows XP Professional, Tomcat 5.5.12, MySql 4.1 NT,
> JDK1.5.0_05
> >
> > 1) Download Maven 1.0.2 (It seems there is some problem for J2 working
> with Maven 1.1-beta, is that true?), set MAVEN_HOME, and PATH
> > 2) Delete the ${user.home}/.maven directory, this directory working fine
> for the default build directly from J2 source as I mentioned above, but
> I'd like to delete it to have a clean environment.
> > 3) Create a directory, say d:\myportal, copy the build.properties to
> this directory
> >
> > maven.repo.remote = http://www.bluesunrise.com/maven/,
> http://www.ibiblio.org/maven/, \
> >   http://dist.codehaus.org/, http://cvs.apache.org/repository
> > org.apache.jetspeed.project.home = d:/myportal
> >
> > org.apache.jetspeed.portal.home = d:/myportal
> > org.apache.jetspeed.portal.name=myportal
> > org.apache.jetspeed.portal.groupId = myportal
> > org.apache.jetspeed.portal.artifactId = portal
> > jetspeed.version=2.0-dev
> > org.apache.jetspeed.portal.currentVersion = 1.0
> >
> > org.apache.jetspeed.genapp.home= d:/myportal
> > org.apache.jetspeed.genapp.groupId=myportal
> > org.apache.jetspeed.genapp.name=Test Portal
> > org.apache.jetspeed.genapp.currentVersion=1.0
> >
> > (There are other settings related to Tomcat and DB config, I didn't list
> them here for brevity)
> >
> > 4) Run: maven -DartifactId=maven-jetspeed2-plugin -DgroupId=jetspeed2 -
> Dversion=2.0-M4-SNAPSHOT plugin:download
> >
> > BUILD SUCCESSFULLY
> >
> > 5) Run: maven j2:portal.genapp
> >
> > BUILD SUCCESSFULLY
> >
> > 6) Run: maven war:install
> >
> > After download a lot of stuffs, the build failed with the output:
> > WARNING: Failed to download derby-.jar.
> > The build cannot continue because of the following unsatisfied
> dependency:
> >
> > What did I do wrong? Or do I just simply misunderstand the concept of
> how to build a custom portal server?
> >
> > Your reply is appreciated.
> >
> > Liu Yan
> >
> >
> >
> 
> 
> --
> 
> . frankfurt am main, 7°c, zur zeit ein wenig
>   bewölkt in 610 m. die sichtweite reicht weiter als
>   10 km.
> 
> < joachim müller
>   joachim@wemove.com
>   t +49 69 759003 11
> 
>   wemove digital solutions GmbH
>   www.wemove.com
> 
> 
> 
> ---------------------------------------------------------------------
> 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


Re: How to build a custom Portal Server

Posted by Joachim Müller <jo...@wemove.com>.
Hi.

I think it would be helpful to write down some best practices for
getting startet with developing a new portal:

Things that come in my mind (extendable):

1.) Look an Feel

- How to develop a new Look (Template, Decorators, styles etc.)?
- How to deploy this stuff?
- Naming conventions for style definitions, template files, etc?

2.) Development, Debug, Deploy cycle

- How to set up an dev enviroment with eclipse?
- Basic steps to build my new portal application.
- How to debug my portal application?

3.) Core development

- How to extend the Jetspeed functionality, add/exchange new Services?
- How to add new services, valves.
- How to debug?
- How to deploy this modifications?

...


Anyone wants to share experiences?

Joachim





Liu Yan wrote:
> hi,
> 
> I am new to the JetSpeed as well as the Portal Server. Based on the Getting Started page on the J2 web site, I successfully built and deployed the the default Portal Server all from the J2 source. It runs well based on MySql backend. All sample Portlets are cool except the RSS one, however, I didn't look into it more.
> 
> My current task is to build a custom Portal Server. After some doc reading and mail list archive search, I found little information on it, Wiki has such title but with empty content. I guess I could miss something in the archive. The following are the steps I took:
> 
> Environment: Windows XP Professional, Tomcat 5.5.12, MySql 4.1 NT, JDK1.5.0_05
> 
> 1) Download Maven 1.0.2 (It seems there is some problem for J2 working with Maven 1.1-beta, is that true?), set MAVEN_HOME, and PATH
> 2) Delete the ${user.home}/.maven directory, this directory working fine for the default build directly from J2 source as I mentioned above, but I'd like to delete it to have a clean environment.
> 3) Create a directory, say d:\myportal, copy the build.properties to this directory
> 
> maven.repo.remote = http://www.bluesunrise.com/maven/, http://www.ibiblio.org/maven/, \
>   http://dist.codehaus.org/, http://cvs.apache.org/repository
> org.apache.jetspeed.project.home = d:/myportal
> 
> org.apache.jetspeed.portal.home = d:/myportal
> org.apache.jetspeed.portal.name=myportal
> org.apache.jetspeed.portal.groupId = myportal
> org.apache.jetspeed.portal.artifactId = portal
> jetspeed.version=2.0-dev
> org.apache.jetspeed.portal.currentVersion = 1.0
> 
> org.apache.jetspeed.genapp.home= d:/myportal
> org.apache.jetspeed.genapp.groupId=myportal
> org.apache.jetspeed.genapp.name=Test Portal
> org.apache.jetspeed.genapp.currentVersion=1.0
> 
> (There are other settings related to Tomcat and DB config, I didn't list them here for brevity)
> 
> 4) Run: maven -DartifactId=maven-jetspeed2-plugin -DgroupId=jetspeed2 -Dversion=2.0-M4-SNAPSHOT plugin:download
> 
> BUILD SUCCESSFULLY
> 
> 5) Run: maven j2:portal.genapp
> 
> BUILD SUCCESSFULLY
> 
> 6) Run: maven war:install
> 
> After download a lot of stuffs, the build failed with the output:
> WARNING: Failed to download derby-.jar.
> The build cannot continue because of the following unsatisfied dependency:
> 
> What did I do wrong? Or do I just simply misunderstand the concept of how to build a custom portal server?
> 
> Your reply is appreciated.
> 
> Liu Yan
> 
> 
> 


-- 

. frankfurt am main, 7°c, zur zeit ein wenig
  bewölkt in 610 m. die sichtweite reicht weiter als
  10 km.

< joachim müller
  joachim@wemove.com
  t +49 69 759003 11

  wemove digital solutions GmbH
  www.wemove.com



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


How to build a custom Portal Server

Posted by Liu Yan <yl...@gmail.com>.
hi,

I am new to the JetSpeed as well as the Portal Server. Based on the Getting Started page on the J2 web site, I successfully built and deployed the the default Portal Server all from the J2 source. It runs well based on MySql backend. All sample Portlets are cool except the RSS one, however, I didn't look into it more.

My current task is to build a custom Portal Server. After some doc reading and mail list archive search, I found little information on it, Wiki has such title but with empty content. I guess I could miss something in the archive. The following are the steps I took:

Environment: Windows XP Professional, Tomcat 5.5.12, MySql 4.1 NT, JDK1.5.0_05

1) Download Maven 1.0.2 (It seems there is some problem for J2 working with Maven 1.1-beta, is that true?), set MAVEN_HOME, and PATH
2) Delete the ${user.home}/.maven directory, this directory working fine for the default build directly from J2 source as I mentioned above, but I'd like to delete it to have a clean environment.
3) Create a directory, say d:\myportal, copy the build.properties to this directory

maven.repo.remote = http://www.bluesunrise.com/maven/, http://www.ibiblio.org/maven/, \
  http://dist.codehaus.org/, http://cvs.apache.org/repository
org.apache.jetspeed.project.home = d:/myportal

org.apache.jetspeed.portal.home = d:/myportal
org.apache.jetspeed.portal.name=myportal
org.apache.jetspeed.portal.groupId = myportal
org.apache.jetspeed.portal.artifactId = portal
jetspeed.version=2.0-dev
org.apache.jetspeed.portal.currentVersion = 1.0

org.apache.jetspeed.genapp.home= d:/myportal
org.apache.jetspeed.genapp.groupId=myportal
org.apache.jetspeed.genapp.name=Test Portal
org.apache.jetspeed.genapp.currentVersion=1.0

(There are other settings related to Tomcat and DB config, I didn't list them here for brevity)

4) Run: maven -DartifactId=maven-jetspeed2-plugin -DgroupId=jetspeed2 -Dversion=2.0-M4-SNAPSHOT plugin:download

BUILD SUCCESSFULLY

5) Run: maven j2:portal.genapp

BUILD SUCCESSFULLY

6) Run: maven war:install

After download a lot of stuffs, the build failed with the output:
WARNING: Failed to download derby-.jar.
The build cannot continue because of the following unsatisfied dependency:

What did I do wrong? Or do I just simply misunderstand the concept of how to build a custom portal server?

Your reply is appreciated.

Liu Yan