I wanted to open this up for discussion.  I am starting to think that we
might have made a mistake in our PSML design.  Maybe it was unavoidable
:(

I have been working on WAP and user customization in Jetspeed.  The
problem I keep running into is that our PSML implementation is too
focused around presentation (really not presentation... more like
controller layout).

If you connect to Jetspeed via WAP, you need to give a PSML
implementation of this to the client via a WAPPortletController.  You
also want a similar layout when you connect via another media like
Netscape or IE.  The layout/controllers/controls for this needs to be
implemented different for each media type.  If we have nested <portlets>
this becomes really kludgy to implement :(

The other issue is the Customizer.  When I load the customizer I really
have no way to give the user a nice presentation designer.  You would
have to reverse Engineer PSML to figure out what page-layout they want.

I did some creative thinking and I might have a new design that could
fix this.

<portlets>

    <set name="first">
        <entry type="ref" parent="Slashdot"/> 
    </set>

    <set name="second">
        <entry type="ref" parent="CNN"/>
    </set>

    <page-layout media="default">    
        <controller name="" set="first"/>
    </page-layout>

    <page-layout media="wap">
        <controller name="WAPPortletController" set="first, second"/>
    </page-layout>

</portlets>

The good thing here is that we have separated PortletSets from the
page-layout.  This way we can have these sets given to different
controllers.  This should provide all the current functionality with
none of the problems.  It would require some more work but is possible.

Thoughts?

-- 
Kevin A Burton (e-mail: [EMAIL PROTECTED], UIN: 73488596, ZKey:
burtonator)
http://relativity.yi.org
Message to SUN:  "Please Open Source Java!"
To fight and conquer in all your battles is not supreme excellence;
supreme 
excellence consists in breaking the enemy's resistance without fighting.
    - Sun Tzu, 300 B.C.


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to