At 11:27 AM 8/7/2003 -0400, you wrote:
I would not be surprised if there is a speed penalty but then again my first
programming language was assembler and I have no doubt that writting
software in assembler will result in fast execution. I am not about to go
back to that. You almost always pay for productivity with speed but that

I know you said you weren't going to back it up, but believe me : it is possible to write slow code in assembly language. One of the ways is accessible very low performance memory such as old-time VGA cards. The overall speed of the software is not only the speed of execution of the application's main code, but also all the sub-systems that it communicates with.


As for Jetspeed's performance. If it's the only problem you have with the software, you should not shy away, because you can always :

- buy faster hardware (as you said it's the cheapest solution)
- contribute more efficient designs

One thing I don't know about Jetspeed because I was away from the project for a few years is if it's easily to set up in a cluster. This is one of my main points of interest right now.

Regards,
  Serge Huber.


-----Original Message-----
From: Weaver, Scott [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 11:01 AM
To: 'Jetspeed Users List'
Subject: RE: master detail records displayed in a portlet


> I tried to do a few things with JetSlow, and then I went Struts.


Okay, that comment was uncalled for.  Please try and refrain from mud
slinging as it does no one any good and is fodder for a flame war, which is
not conducive to the goals of this list.

Regards,
*===================================*
* Scott T Weaver                    *
* Jakarta Jetspeed Portal Project   *
* [EMAIL PROTECTED]                 *
*===================================*



> -----Original Message-----
> From: Vic Cekvenich [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 07, 2003 9:29 AM
> To: [EMAIL PROTECTED]
> Subject: Re: master detail records displayed in a portlet
>
> I tried to do a few things with JetSlow, and then I went Struts. This is
> using JSTL, not Velocity, but same concept, Struts supports Velocity.
> Master detail processing is done all the time, and several working samples
> are in there:
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/bPproj/bP/WEB-
> INF/portlets/newsBlg/NewsBlgCmntsLst.jsp
> Note that it using the core master tag and then iterating a list. This is
> usnig nested beans. I think that is the key conecpt I recommend, nest
> beans
> and then use dot notation to get to each of the 3 iterating
> collections/beans.
> So you can have one bean, that nests your 3 beans.
> You can download and look at sample (or CVS source).
>
> Here is an example of how to click in, and get detail:
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/bPproj/bP/WEB-
> INF/portlets/cms/ContentAdminLst.jsp
>
> KISS,
>
> .V
>
> ps:
> And here is a navigation, but I do not think you asked for that:
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/bPproj/bP/WEB-
> INF/config/navigation.xml
>
>
>
>
> "D.S. Johnson" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Ron Wheeler wrote:
> >
> > >We are fairly new to Jetspeed and have made pretty good progress
> dispite
> the
> > >documentation.
> > >
> > >We are wondering how to create the following fairly common web page
> > >structure.
> > >We have three identical problems. List of case studies, list of white
> > >papers, list of training courses.
> > >In each case, we want to present the user with the list and when they
> click
> > >on one of them, show them the details of that item.
> > >
> > >The information is in one or more XML files. (list of items in one XML
> that
> > >links to the many individual XML files containing the details of te
> item.)
> > >
> > >The first problem is that we do not see how we can use separate
> portlets
> > >since we only want either the list or one of the items on the screen at
> once
> > >and we do not the menu to change while the user navigates within the
> topic.
> > >
> > >If we use a single portlet, then we need to be able to respond to
> selection
> > >of one item (a Case Study for example) by clearing the list and
> displaying
> > >the selected document (the Case Study).
> > >We have the xsl stylesheets to display the initial list and the details
> of
> > >the idividual item.
> > >
> > >1) Are we on the right track and understanding the problem in a
> reasonable
> > >way?
> > >2) Which portlet type would be the best way to handle this?
> > >3) Does anyone have a model that we could see/use for this type of
> > >application?
> > >4) Should we be looking at Velocity/DVSL rather than XSLT if we are
> going
> to
> > >work with Jetspeed?
> > >
> > >Thanks for the help.
> > >
> > >Ron
> > >
> > >
> > >
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> > I don't use Velocity very much so I don't know if this will work for
> > you. But, I have used java server pages and servlets to switch between
> > pages in the same portlet. Usually, I create a menu and then based on
> > the users choice I switch to that page in the portlet.  Using links I
> > can then switch between different pages in the same portlet, I believe
> > this is what you want to do.
> >
> > What I do is create the initial jsp page which will have the logic for
> > jumping to other pages. So the switch file would look something like
> this;
> > I don't know if this is the best way but, it is a way to solve your
> > problem, it has worked  me.
> >
> >
> > ## switch.jsp##
> >
> > <[EMAIL PROTECTED] language="java" import="java.sql.*"%>
> > <%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld'
> > prefix='jetspeed' %>
> >
> > <%
> > //  Create and get the switch val, this will be a val to decide on what
> > page to load.
> >
> > String var_switchval =request.getParameter("switchval");
> >
> > // If  switchval is null ( on first pass ) then load the main menu page
> >
> > if ( var_switchval == null || var_switchval.compareTo("val_main_menu")
> > == 0  ) {
> >
> > %>
> >
> > <%
> >
> > // Include the file with the menu code, this file will have HTML code
> > and a parameter called switchval.
> > // So in this included file you will need to create a parameter
> > (switchval), setting this val will cause the other pages to be included
> > // into switch.jsp
> >
> > // Example: <a href="?switchval=val_casestudies">
> > // When this link is executed then the case studies page would be
> > included and loaded.
> > // You would want to add code for each page you want to switch to
> >
> > @ include file="/WEB-INF/templates/jsp/portlets/html/artifact_menu.jsp"
> >
> > %>
> >
> > <%
> >  }
> > %>
> >
> > <%
> >   if ( var_switchval != null )
> >   if ( var_switchval.compareTo("val_casestudies") == 0  ) {
> >
> > %>
> > <%@ include file="/WEB-INF/templates/jsp/portlets/html/casestudies.jsp"
> %>
> >
> > <%
> >  }
> > %>
> >
> > <%
> >   if ( var_switchval != null )
> >   if ( var_switchval.compareTo("val_whitepapers") == 0  ) {
> >
> > %>
> > <%@ include file="/WEB-INF/templates/jsp/portlets/html/whitepapers.jsp"
> %>
> >
> > <%
> >  }
> > %>
> >
> >
> > <%
> >   if ( var_switchval != null )
> >   if ( var_switchval.compareTo("val_trainingcourses") == 0  ) {
> >
> > %>
> > <%@ include file="/WEB-INF/templates/jsp/portlets/html/training.jsp" %>
> >
> > <%
> >  }
> > %>
>
>
>
>
> ---------------------------------------------------------------------
> 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]

- -- --- -----=[ shuber2 at jahia dot com ]=---- --- -- - www.jahia.org : A collaborative source CMS and Portal Server



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to