taylor 02/03/06 08:58:36
Modified:src/java/org/apache/jetspeed/services/portaltoolkit
JetspeedPortalToolkitService.java
Log:
- Start of support for portlet id. Set PSML id into portlet on portlet-set generation
Revision ChangesPath
1.12 +3
taylor 02/03/06 09:03:35
Modified:src/java/org/apache/jetspeed/portal BasePortletSet.java
Portlet.java PortletSet.java
src/java/org/apache/jetspeed/portal/controllers
CardPortletController.java
Has anyone used the security and role tags in the PSML files in
Jetspeed-1.3a1?
If you have, could you send me an example of them?
I am trying to display a portlet from the PSML file based on a role, and
I don't have the option of upgrading to 1.3a2.
Many thanks in advance
--
Brian J. Glas
Brian J. Glas wrote:
Has anyone used the security and role tags in the PSML files in
Jetspeed-1.3a1?
If you have, could you send me an example of them?
In Jetspeed 1.3a1 security for psml did not work.
In current CVS it is not yet finished, although we are very close now.
I am trying to
Santiago Gala wrote:
(...) quoting myself :(
Random thought (take it with a cup of salt):
A simple id generation algorithm: take the parent id, and append . +
a max-sibling number from parent. Each portletset would store a number
that is the number of portlet ever contained inside
David Sean Taylor wrote:
Santiago Gala wrote on Wednesday, March 06, 2002 8:49 AM:
It should be only unique per psml resource. Thus we can make this
conversion utility choose whichever convention we wish.
Including a deep
traversal with a counter incremented for each entry found, or
For the portlet id, I think it needs to be unique withing the portal (psml
file), and not unique within the entire system. Adding a unique identifier
for the psml (which must be more than default, i.e. something to do with
the path such as user/turbine/html/default) when needed would make the
Hi,
The code changes were as specified in the bug:
Amend JLoginUser, if enable/user selects remember me, stores cookies.
Amend EditAccount to have the remember me checkbox - so that a user
can turn
it off from that page
Amend Logout to remove the cookie.
Amend SessionValidator to use the
We all agree the portlet id should be unique within the PSML
Document/file :)
By making the id unique within the entire system, which is easier, a
portlet set can be included in many PSML files, i.e. the common company
info portlet (Future enhancement). This is easier because all we need
is
kimptoc 02/03/06 10:17:46
Modified:src/sql/external populate-db2.sql populate-mysql.sql
populate-postgres.sql populate-sybase.sql
Log:
fix invalid references in the sql scripts
Revision ChangesPath
1.5 +2 -2
To summarize the plan for portlet ids:
- change all psml files to have a unique id
- if a psml file doesn't have an id, the toolkit service will add the id
(but the id doesn't get stored until its customized)
- write a conversion utility
- start converting all $links and references everywhere
taylor 02/03/06 10:32:34
Modified:src/java/org/apache/jetspeed/portal/controls
AbstractPortletControl.java
Log:
- added method to lookup portlet from portlet set by id
Revision ChangesPath
1.13 +41 -1
Glenn Golden wrote:
For the portlet id, I think it needs to be unique withing the portal (psml
file), and not unique within the entire system. Adding a unique identifier
for the psml (which must be more than default, i.e. something to do with
the path such as user/turbine/html/default) when
Paul Spencer wrote:
We all agree the portlet id should be unique within the PSML
Document/file :)
By making the id unique within the entire system, which is easier, a
portlet set can be included in many PSML files, i.e. the common
company info portlet (Future enhancement). This is
Seems to me there's one other open question, that of id scope:
- unique within a psml
- unique on a jetspeed server.
While I like the idea of being able to include parts in many psml's, which
unique on server supports, I think in general unique on server is more
difficult, would make it harder
include portal=/shared/finance/template peid=23.
+1 on that. I need to implement this exact feature next week
I vote for unique within a psml only.
+1 - although if we ever put psml in the database, completely normalised
(right now its stored as blobs), system wide unique ids would be
David Sean Taylor wrote:
include portal=/shared/finance/template peid=23.
+1 on that. I need to implement this exact feature next week
+1
I vote for unique within a psml only.
+1 - although if we ever put psml in the database, completely
normalised (right now its
What's needed is a way to uniquely identify the portlet markup (a xml
fragment) and the file that markup resides in. Rather than generating our
own unique ID service, what about using a URI for the file and xpath for the
portlet markup.
You could actually write the URL extensions to handle a
I believe Glenn proposed something like this:
http://host/jetspeed/portal/template/PortalEntry/peid/7
The template seems like extra, but it's a way to specify that you are
requesting an alternative aggregation than the default screen.
I suppose that we could cut that shorter, and use
I have noticed that in the portlet api 2.0 branch there is a pid and a piid.
Any idea on how these were meant to be used? Also should we not attempt to
move the direction of integrating that branch if it has anything that
matches this functionality or defines any interface for this
taylor 02/03/06 17:26:24
Modified:src/java/org/apache/jetspeed/services/portaltoolkit
JetspeedPortalToolkitService.java
Log:
- automatically give a portlet an id if it doesn't already have one defined in the
psml
Revision ChangesPath
1.13
So many messages, so little time!
I LIKE the leaner URL, such as:
http://host/jetspeed/portal/PortalEntry/7
Or
http://host/jetspeed/portal/group/Apache/PortalEntry/9
As David proposed. +1 from me!
Instead of PortalEntry, what about
- portlet (though this is for a portlet or portlet set)
-
See comments below
-Original Message-
From: Glenn Golden [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 8:16 PM
To: 'Jetspeed Developers List'
Subject: RE: Jetspeed Proposal: iframe portlet control
So many messages, so little time!
I LIKE the leaner URL, such
23 matches
Mail list logo