[Gridsphere-users] RE:Questions about Gridsphere's display !
Jason Novotny
novotny at gridsphere.org
Tue Dec 12 21:26:29 PST 2006
Hi,
Hj wrote:
> I think u've misapprehended my questions.
> My questions are (synthesizing all questions in my 2 posts ,in detail):
>
> 1¡¢If i can create a site whose look and feeling is similar with the site
> "www.sohu.com" (for example ) with Gridsphere.
>
I think you have two options here. One option is to customize the
layout descriptor as described here
http://www.gridsphere.org/gridsphere/docs/ReferenceGuide/ReferenceGuide.html#N102E7
to match the sort of layout you are looking for. However our descriptor
approach pretty much limits you to something that is organized with
menus or double tabbed panes. Sure you could enhance it by adding new
layout components but this means writing layout classes (see
org.gridlab.gridsphere.layout.*)
A better option would be to use HTML/CSS/JSP to create your website
just as the folks at sohu.com have done. Then you can add portlets into
your site buy using the portlet UI tag. This works by sticking a tag like:
<ui:portlet portletId="mywebapp#myportlet" .../>
in your JSP which will actually add the portlet into your page. This has
been prototyped but is not well documented or tested in production. A
few issues would need to be ironed out, like how window states should
work if a portlet is maximized or minimized.
Another interesting idea would be to use an iframe in your website that
would connect to a gridpshere portal instance. This might be the most
useful for your purposes since it would free you up completely to build
whatever site you wanted which could look virtually identical to
sohu.com but your portlets and portal are hosted elsewhere. Let me know
what your thoughts are.
> 2 ¡¢If it does , which files should i change to get it?
>
> 3¡¢Is there any file illustrating the Gridsphere's class function structure?
> I mean , for example , which classes are used for the user login function.
> Another example ,which classes are used for UI tags , i think , maybe the
> "org.gridlab.gridsphere.provider.portletui.tags" package .
>
>
The UI tags are all in
org.gridlab.gridsphere.provider.portletui.tags and
org.gridlab.gridsphere.provider.portletui.beans as you've discovered and
defined in the portletui.tld tag library descriptor file.
User login (at least in GS 2) is a mixture of the LoginPortlet,
GridSphereServlet and the org.gridlab.gridsphere.services.core.security
classes.
While I know it's not a substitute for more comprehensive documentation,
I encourage you to have a look at the online javadocs
http://www.gridsphere.org/gridsphere/docs-2.2.X/javadocs/index.html
Cheers, Jason
> waiting...........
>
>
> _______________________________________________
> Gridsphere-users mailing list
> Gridsphere-users at gridsphere.org
> http://lists.gridsphere.org/mailman/listinfo/gridsphere-users
>
>
--
Jason Novotny
Chief Portal Architect
BIRN-CC / UCSD
9500 Gilman Dr., La Jolla, CA
novotny at gridsphere.org
http://www.gridsphere.org
More information about the Gridsphere-users
mailing list