Re: Secure Portlets

2001-02-11 Thread Raphaël Luta

"Thomas F. Boehme" wrote:
 
 Santiago, Raphael,
 
 What's wrong with doing the things you suggested in a derived portlet?
 Because the stream is the final result you can map (virtually) any other
 method like SAX, DOM, ECS, etc to the stream. This way the interface is not
 complicated any further, and portlet container writers are not burdened with
 several implementation paths.
 Also, doing this in derived portlets, mean we can easily add other mechanism
 including Cocoon2 (so I think), without any modifications to the API! Sounds
 very appealing to me
 

Doing this with a derived portlet is a big performance hit for implementations
that would process natively SAX events (for example Cocoon) because you would
have a event - byte streem - event serialization/parse process which is a 
complete waste of resources.

In any case, the dual implementation paths is very easy to deal with since you
just have to convert the stream you don't want to deal with into the stream 
you're intersted (that means either parsing the byte stream or serializing the
event stream).

Jetspeed 1.3 implementation will certainly use the byte stream path because
it's a natural fit with Turbine and Velocity but if I ever want to write an
alternate implementation, I don't want to be constrained by the API just 
because it was optimized for one specific implementation.

 
 I disagree with your assumption that 80% of the portlet markup needs to
 parsed anyway. If that were so something is fundementally wrong. At any
 rate, Jetspeed 1.3a1 does not parse any of its generated markup for whatever
 reason, and it does what it is supposed to do.
 

My assumption is that for about 80% of the requests, the portal will need
to post-process the portlets output.
Jetspeed 1.3a1 does post-process the markup but is very poor at providing a stable
portlet environment: any portlet can competely screw the entire portal page
and I don't even speak about WML support where the portlets need to make
assumptions on the controls/controllers used in order to provide valid markup.
Don't tell me this is good, reliable and solid design.

I don't understand what really bothers you in adding the additional methods in
the PortletResponse :
- the additionnal implementation constraints are minimal
- it does not influence the performance of native byte stream implementations
- it broadens the scope of the API since it makes it more efficient on some
  possible platforms
So what's the issue ?

--
Raphal Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Services Manager / Paris


--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Search: http://www.mail-archive.com/jetspeed@list.working-dogs.com/
List Help?:  [EMAIL PROTECTED]




Velocity support updated

2001-02-11 Thread Raphaël Luta

I've just checked in Velocity templates which can be used to replace
the ECS screens or the JSP templates.

I've not yet fully tested them in WML mode and there's an output bug
with the customizer (which outputs its content before the page) so I
didn't put them as the default templates right now.

If you want to check them out, modify your TR.p properties as 
recommended in the file.

I've also added a bunch of template utility classes for building links
and getting content in the templates (org.apache.jetspeed.util.template.*).

--
Raphal Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Services Manager / Paris


--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Search: http://www.mail-archive.com/jetspeed@list.working-dogs.com/
List Help?:  [EMAIL PROTECTED]




Account Update Customize Error

2001-02-11 Thread Budi-Wiyono

Dear All,

I. Update Account
I'm trying to update account
http://127.0.0.1:8080/jetspeed/portal/screen/Home/action/UpdateAccount

But error occure like below
Error=Turbine.handleException: java.math.BigDecimal

II. I Cannot open Customize page.
http://127.0.0.1:8080/jetspeed/portal/screen/Customize

What should we do to fix that problem ?
Any troble shooting documentation ?

Best Regards,
BDW 


--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Search: http://www.mail-archive.com/jetspeed@list.working-dogs.com/
List Help?:  [EMAIL PROTECTED]




Jetspeed Daily Build Results -

2001-02-11 Thread Jon S . Stevens


This email is autogenerated from the output from:
http://jakarta.apache.org/builds/gump/latest/jetspeed.html





--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Search: http://www.mail-archive.com/jetspeed@list.working-dogs.com/
List Help?:  [EMAIL PROTECTED]