anonymous wrote : 
  | anonymous wrote : Also you don't know how many pages portal has, or how 
many portlets on the page, etc. 
  | 
  | I'm not agree with this; infact it's real that i creat portlets but i creat 
the full portal too so i know how many pages there are and how many portlet in 
a page there are.
  | 
Yes you can extent existent portal functionality to acheve it. But it is out of 
the portlet spec's. And you will write portlets that are not jsr-168 complient. 
In some cases it is the only way to go.
anonymous wrote : 
  | Let's pass to word example (Excel is not my best :-) ).I imagine, instead, 
that the portal is the Word software, while my portelt is a word document tha 
can contain several page; now in word when i use an hypertextual link i can go 
from a page to another page...well what i want is to obtain this thing.
You are misleading yourself here, Word application is a portlet not a portal, 
windows is a portal.

...

Also don't forget that portlet just the presentation layer. So nobody stopping 
you from having your business logic in (EJB, POJO, ....). It means that you can 
have more that 1 portlet to present your application data.

The simple scenario is to have MyPortletRegistry in ServletContext (or session, 
depending on your architecture) that have knowledge about all your portlets. 
Now you define for each your portlet a role, since portlet name can be changed 
by an administrator you have to keep pairs role=name in order to get needed 
portlet. Each portlet will register itself with MyPortletRegistry, and you can 
query this registry for a portlet name with wanted portlet role. And as soon 
you know portlet name you can construct portal link that will display needed 
portlet.
But be carefull this is a hack.

Personally,
I belive that portal must have portlet registry, and portlet specs should 
define such fiunctionality. 
Since portal is a container I should be able to query it for needed component.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954902#3954902

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954902

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to