Raphaël Luta wrote:


(...)
> I would agree to this only if you can show me workable fragment guidelines
> for non nestable markups like WML or SMIL. (I don't know VoiceXML but I
> gather it's also non nestable).
> What I mean by "non nestable" is that the markup does not provide a general
> element that can be recursively included and that naturally define a 
> segment
> of the aggregation space (HTML has <table>, XSL:FO has <block>, etc...).
> 
> For me your current proposition is a workable standard (but inelegant) 
> for defining
> portlets that output content in a nestable content but can't be used as 
> a standard
> for non-nestable markup.
> 

To stress the point I'll give an example. I played with WML to find that:
- a top navigation is mandatory to define the <wml> element, <head> and <template>
- a portlet can only output full cards (one or more).
- when I wanted to have the login card output by the logic in the top navigation, I 
found that then the first card
output by the first portlet(set) laid out should be called "init" ---> inelegant and 
difficult to enforce,
since a portlet should not know if it is first or only one to be output in a deck.
- then I had to duplicate logic in a bottom navigation, to show auxiliary cards 
(login, ...)
- I didn't like the hacks (even if I find it more structured than current code in 
Jetspeed).

If the portlet can specify abstract actions and events (via some markup or API) then 
the container could take
care of building templates and auxiliary cards. Else, the container has to limit 
portlets a lot.

I think WML event/action model is much more abstract than HTML, and thus a good 
starting point for
specifying how the portlet API will deal with action/event specification.

BTW, I can commit this if you want. Goes into taking out code from ECS and controls 
... and into configurable templates.
I had to use direct java in jsp to test for login. This code should go into the taglib 
eventually.

(...)



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]

Reply via email to