Stan Silvert wrote:
Stan Silvert wrote:

I've already been thinking that if we do this it should be part of
tomahawk instead of impl.  It is really functionality that supports
stuff outside of core JSF.  Right?

It means that portlet's source code, such as MyFacesGenericPortlet,
should be part of tomahawk, is it correct? If yes, the problem I
encountered will be fixed :) Anyway, I think it's better to move
portlet's code from impl to somewhere..

No.  MyFacesGenericPortlet implements the base functionality for JSF
portlets.  It is tied to the core implementation because its
functionality is defined in the JSF spec.  The stuff you are proposing
goes beyond the spec to support certain components like download.  The
header stuff you are talking about is also yet to be defined in any spec
(though I have heard it is being considered for the next version of the
Portlet spec).

My suggestion is that an extension of MyFacesGenericPortlet which adds
this functionality belongs with the components it supports.  So, it goes
in tomahawk.
It is OK for tomahawk to reference the base impl, but it is not OK for
impl to reference tomahawk.

Am I making sense?  I want to make sure I understand the features that
you are proposing.

Yes. Thank you for the explanation.

My suggestion I just create is:

impl:
- MyFacesGenericPortlet
 o move setContentType to do* method
- DefaultViewSelector
 o add setPortletConfig method to get parameters from portlet.xml

tomahawk:
- AddResource
 o add some method for PortletRequest
- MultipartRequest
 o interface for MultipartRequestWrapper

I would like to add the following to somewhere..
- MyFacesExtendedPortlet (extends MyFaceGenericPortlet)
 o support tags in <head>
 o support upload
 o support portlet mode change

Regards,
 shinsuke

Stan


Regards,
 shinsuke


Stan Silvert
JBoss, Inc.
[EMAIL PROTECTED]
callto://stansilvert



-----Original Message-----
From: Shinsuke SUGAYA [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 18, 2005 9:48 AM
To: Stan Silvert
Subject: build order for MyFaces Portlet

Hi Stan,

I'm working on MyFaces' portlet.
For build order, I encountered the issue.
I would like to use AddResource in impl/ directory, but
AddResource class is in tomahawk. Therefore, I could not
build impl jar... Do you have any idea? My suggestion is
to create a new directory(ex. portlet) and move files for
the portlet. So, myfaces-portlet.jar is created. What do
you think?

Regards,
shinsuke

__________________________________
Save the earth
http://pr.mail.yahoo.co.jp/ondanka/


__________________________________
Save the earth
http://pr.mail.yahoo.co.jp/ondanka/




__________________________________
Save the earth
http://pr.mail.yahoo.co.jp/ondanka/

Reply via email to