Anthony,

Wat do you think about:
        public ConcreteElement getContent (RunData runData)
        {
                StringBuffer text = new StringBuffer();
                String name = null;
                
                text.append ("Hello ");
                
                // Get the user name
                name = runData.getUser().getFirstName();
                
                if (name == null)
                {
                        name = "unkown person";
                }
                
                text.append (name + "!" + '<br>');
                text.append ("Currently the following portals are
available:<br>");
                text.append ("<ul>");
                text.append ("<li>Portal1 - Description1");
                text.append ("<li>Portal2 - Description2");
                text.append ("<li>Etcetera");
                text.append ("</ul>");
                return (new StringElement (text.toString() ) );
        }

The above approach has as drawback that your operators need to program in
Java to add new portals to the content management system. But you could read
an external file in which you put the new stuff. Use FileInputStream and
FileReader and such. You could even prescribe a specific format (like a
comma separated file), which you parse in the Content portal.

Hope this idea enough?

Michel

-----Original Message-----
From: Anthony Smith [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 12 februari 2002 16:01
To: Jetspeed Users List
Subject: Content Management


I would like to create some kind of content management sytem where I can
have administraors who can add/delete content to portlets without being
technically savvy. Say we have a Intro portlet for each pane. And that intro
portlet just talks about new stuff that may have something to do with that
particular pane. Well, I think I have a mechanisim of them replacing that
particular page of the portlet. Any ideas?



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

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

Reply via email to