Discussion:
gs in svn uses jdk 1.5
Jason Novotny
2006-08-04 10:06:49 UTC
Permalink
Hi,

I plan on taking advantage of features in JDK 1.5, mostly generics
as a start so you will now be required to use jdk 1.5 to compile the code.

Thanks, Jason
Alessandro Busato
2006-08-04 10:29:54 UTC
Permalink
GRIDSPHERE 2.1.2

in order to clear every modes for a portlet
I setup its descriptor in this way:

<allows />

but the portal shows the portlet with all modes set.

I looked the mapping for "gridpshere-portlet" and I see that the
"allows" is a generic type,
so I wrote for an unknown portlet mode (ie.none) :
<allows>
<none/>
</allows>
and the portal displays the portlet without modes set as I want.
I think to it as a side-effect solution,
has the portal a bug or is it right so?

bye,
Alessandro
Jason Novotny
2006-08-05 10:41:29 UTC
Permalink
Hi,

I would have to take a look at the WebSphere 4.1 portlet API again
to which you are referring to, but I believe it behaves like the JSR 168
API where support of view mode is required. So you should probably just do

<allows>
<view/>
</allows>

Jason
Post by Alessandro Busato
GRIDSPHERE 2.1.2
in order to clear every modes for a portlet
<allows />
but the portal shows the portlet with all modes set.
I looked the mapping for "gridpshere-portlet" and I see that the
"allows" is a generic type,
<allows>
<none/>
</allows>
and the portal displays the portlet without modes set as I want.
I think to it as a side-effect solution,
has the portal a bug or is it right so?
bye,
Alessandro
_______________________________________________
Gridsphere-dev mailing list
https://www.gridlab.org/mailman/listinfo/gridsphere-dev
Loading...