<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>jetspeed-user@portals.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/"/>
<id>http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/</id>
<updated>2009-12-09T08:29:42Z</updated>
<entry>
<title>Add Portlet does not add portlet and opens a new web browser</title>
<author><name>jainneha_81@yahoo.co.in</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200912.mbox/%3c17465667.11260314493749.JavaMail.root@wombat%3e"/>
<id>urn:uuid:%3c17465667-11260314493749-JavaMail-root@wombat%3e</id>
<updated>2009-12-08T23:21:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

My jetspeed 2.2 portal was working fine. But suddenly, the Add Portlet functionality stopped
working. Now when I click on Add Portlet, the add portlet page opens in a new web browser
and the portlet does not get added to the original page.
I am not able to figure out why this has started to happen suddenly.

Please help.

Thanks
Neha

--
This message was sent on behalf of jainneha_81@yahoo.co.in at openSubscriber.com
http://opensubscriber.com/messages/jetspeed-user@portals.apache.org/topic.html

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Page Security Report</title>
<author><name>Randy Watler &lt;watler@wispertel.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200912.mbox/%3c4B1E76AA.8060603@wispertel.net%3e"/>
<id>urn:uuid:%3c4B1E76AA-8060603@wispertel-net%3e</id>
<updated>2009-12-08T15:54:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Michael,

There is not a simple way to do this, but it is possible using the 
PortalSite component.

The PortalSite component generates a view of the portal folder/page 
hierarchy that is used to construct menus. One of the most important 
aspects of menus is that they present only what the user is able to 
access and, at the same time, everything they can. Consequently, if you 
walk the Folder/Page proxy hierarchy returned by the PortalSite, you 
will have exactly what you need.

To do this for each user, you need to become the user and then ask the 
portal site for the root folder and recurse from there as the user. You 
can also ask the PortalSite to return a deep menu of all folders and 
pages if you want a comprehensive set of URLs for the user. See the 
Security and Profiler valves for hints on how to do this. Feel free to 
ask any more detailed questions as they come up.

HTH.

Randy

Michael Binette wrote:
&gt; I have a custom "report" portlet that uses the UserManager, GroupManager,
&gt; and RoleManager to create a report showing each user with what groups and
&gt; roles are assigned to them. That works great. But what we really need is a
&gt; list of Folders and Pages each user has access to as well. Right now they
&gt; are using a big Excel spreadsheet but of course keeping that up to date is
&gt; error prone. It doesn't look like the PageManager in Jetspeed does what I
&gt; need. Does anyone think of a way for me to do this using the information
&gt; already setup in Jetspeed.
&gt;
&gt; --
&gt; Michael
&gt;
&gt;   


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Leveraging Jetspeed security tables to secure access to external resources</title>
<author><name>shikari shambu &lt;shikarishambu70@hotmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200912.mbox/%3cBAY108-W110FEFE23B51D42CDA575CAB8F0@phx.gbl%3e"/>
<id>urn:uuid:%3cBAY108-W110FEFE23B51D42CDA575CAB8F0@phx-gbl%3e</id>
<updated>2009-12-08T15:31:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

 I have a solution that uses Jetspeed with Alfresco ECM. Rather than create users and access
permissions in both places I plan to access Alfresco content from Jetspeed through a service
account and implement the authorization checks on the front end - in Jetspeed portal. I would
like to see if there is a way to leverage the Jetspeed security tables to achieve this.

 

Essentially, I have document types and sub types. Specific roles have specific permissions
on document type (in which case they have the same permission on all sub types) or they have
defined permissions on the sub type. All documents related to a document type are stored in
a folder/ space in Alfresco.

 

I am toying with the idea of using the security_permission table and create document management
specific entries

 

PERMISSION_ID     PERMISSION_TYPE     NAME                              ACTIONS

XXX                     document                 /doctype                         view, edit

YYY                     document                 /doctype/subtype             view, edit

 

Is this a valid/ good approach? Or, is there a better way to extend jetspeed security to support
access to external resources?

 

TIA
 		 	   		  
_________________________________________________________________
Windows Live Hotmail gives you a free,exclusive  gift.
http://www.microsoft.com/windows/windowslive/hotmail_bl1/hotmail_bl1.aspx?ocid=PID23879::T:WLMTAGL:ON:WL:en-ww:WM_IMHM_7:092009

</pre>
</div>
</content>
</entry>
<entry>
<title>Page Security Report</title>
<author><name>Michael Binette &lt;jetspeed@adinquiry.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200912.mbox/%3c395ded650912071239g619c3e5fo3995d4a967ac09c4@mail.gmail.com%3e"/>
<id>urn:uuid:%3c395ded650912071239g619c3e5fo3995d4a967ac09c4@mail-gmail-com%3e</id>
<updated>2009-12-07T20:39:28Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I have a custom "report" portlet that uses the UserManager, GroupManager,
and RoleManager to create a report showing each user with what groups and
roles are assigned to them. That works great. But what we really need is a
list of Folders and Pages each user has access to as well. Right now they
are using a big Excel spreadsheet but of course keeping that up to date is
error prone. It doesn't look like the PageManager in Jetspeed does what I
need. Does anyone think of a way for me to do this using the information
already setup in Jetspeed.

--
Michael


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: removing a portlet definition from Jetspeed 2</title>
<author><name>David Sean Taylor &lt;d.taylor@onehippo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3cE0D32474-3FF7-4486-B4AB-A704223167DE@onehippo.com%3e"/>
<id>urn:uuid:%3cE0D32474-3FF7-4486-B4AB-A704223167DE@onehippo-com%3e</id>
<updated>2009-11-24T21:40:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

On Nov 23, 2009, at 9:56 PM, Vladimir Figurov wrote:

&gt; Good evening, sir!
&gt;
&gt; Yes, yours "step-by-step" 100% congruous with my...
&gt; Problem in next: if this "clon" to come a not need, I can't deleted  
&gt; its from "Portlet App Manager"
&gt;

You are correct. There is no "Delete Portlet" functionality in the  
Portlet App Manager at this time
You can redeploy your portlet.xml minus the portlet to delete it, but  
you may end up leaving lots of orphaned portlet instances 

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: WebContentPortlet &lt;Table border=1&gt;</title>
<author><name>David Sean Taylor &lt;d.taylor@onehippo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3cB5B5B4F7-E362-4316-B32E-5A44B83F9726@onehippo.com%3e"/>
<id>urn:uuid:%3cB5B5B4F7-E362-4316-B32E-5A44B83F9726@onehippo-com%3e</id>
<updated>2009-11-24T21:35:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

On Nov 24, 2009, at 6:38 AM, Robert Walthall wrote:

&gt;
&gt;
&gt; My html has
&gt; &lt;Table border=1&gt;
&gt;
&gt; but the border does not show up in the WebContentPortlet.
&gt;
&gt; Any thoughts on how to get the borders to show up?
&gt;

Ive been wondering about that myself. So I wrote a little table in my  
content:

&lt;table border="1"&gt;
&lt;tr&gt;&lt;td&gt;test&lt;/td&gt;&lt;td&gt;hkdslk&lt;/td&gt;&lt;/tr&gt;

And of course the border doesn't show up


By pointing Firebug at the table, I discovered why, it inherits this  
setting:

.portlet table, .portlet th, .portlet td {
border:medium none;
font-size:small;
vertical-align:top;
}

as well as:

.jetspeed table, .jetspeed th, .jetspeed td {
border:medium none;
vertical-align:top;
white-space:normal;
}

By removing both, your borders should show up again. You can 'test'  
this in Firebug by pressing the red icon next to style leaving

.portlet table, .portlet th, .portlet td {
font-size:small;
vertical-align:top;
}

as well as:

.jetspeed table, .jetspeed th, .jetspeed td {
vertical-align:top;
white-space:normal;
}

I think this is a bug in Jetspeed: we should not be forcing cascading  
styles on the inner content by element type.



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: WebContentPortlet &lt;Table border=1&gt;</title>
<author><name>&quot;Robert Walthall&quot; &lt;robert.walthall@npss911.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c8A51860EAA144B07AD876E4F918A0A15@OFFICE26GHZ%3e"/>
<id>urn:uuid:%3c8A51860EAA144B07AD876E4F918A0A15@OFFICE26GHZ%3e</id>
<updated>2009-11-24T14:38:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>


My html has 
&lt;Table border=1&gt;

but the border does not show up in the WebContentPortlet.

Any thoughts on how to get the borders to show up?

Thanks,
Robert

-----Original Message-----
From: Robert Walthall [mailto:robert.walthall@npss911.com] 
Sent: Monday, November 23, 2009 11:40 PM
To: 'Jetspeed Users List'
Subject: RE: WebContentPortlet 

David, Thanks for the response.  

&lt;snip&gt;with the customizer add a new WebContentPortlet to your page and  
&gt;then go into edit mode to modify the SRC preference &lt;snip&gt;

That works - I can take it from here.

Thanks,
Robert
 

-----Original Message-----
From: David Sean Taylor [mailto:d.taylor@onehippo.com] 
Sent: Monday, November 23, 2009 8:39 PM
To: Jetspeed Users List
Subject: Re: WebContentPortlet 

On Nov 23, 2009, at 10:59 AM, Robert Walthall wrote:

&gt; Hi All,
&gt; I have a question about the WebContentPortlet.  By default it pulls up
&gt; http://www.google.com
&gt; which is configured in this file &lt;snip&gt;/webapps/demo/WEB-INF/ 
&gt; portlet.xml
&gt;
&gt; I can edit that file and change the page that the portlet pulls up.
&gt;
&gt; The issue is that I need to be able to create several of these  
&gt; portlets, and
&gt; they need to go to different webpages.
&gt;
&gt; Could that be accomplished by copying/renaming the WebContentPortlet  
&gt; files,
&gt; and editing the filename/path so that it points to a different file
&gt; (webapps/demo/WEB-INF/portlet2.xml)?
&gt;
&gt; Any tips on what files would need to be copied/renamed/edited would  
&gt; be much
&gt; appreciated.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.709 / Virus Database: 270.14.78/2521 - Release Date: 11/23/09
01:52:00


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Can't getting a corrected html-content with picture</title>
<author><name>Vladimir Figurov &lt;VFigurov@asia-soft.kz&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c4B0B8358.1050705@asia-soft.kz%3e"/>
<id>urn:uuid:%3c4B0B8358-1050705@asia-soft-kz%3e</id>
<updated>2009-11-24T06:55:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi

About "hard-coded" picture's URL in FilePortlet's pointing html doc - 
it's don't work 8(
- or not find resource
- or show byte stream instead pictures (may be FilePortlet did a 
recognize html[encoding] ? - I wont look to src FilePortlet... but later)
maximum that I getted from combination "html with &lt;img.../&gt; throws 
FilePortlet" - in Mozilla browser - the blank area with corrected size 
as picture's size (the tag IMG was without size definitions)


About WebClipping &amp; JIRA - I try it, but in near post the Woonsan Ko to 
write about suggested workaround:

&gt;
&gt; Woonsan Ko wrote:
&gt;
&gt; Hi Vladimir,
&gt;
&gt; Do you mean WebContentPortlet of apa-webcontent project by WebClipping 
&gt; portlet?
&gt; If so, can you try to make the web server write contentType header 
&gt; with charset=UTF-8?
&gt; You could also test if it works by changing the html files to jsp 
&gt; files with contentType page directive:
&gt; &lt;%@page contentType="text/html; charset=UTF-8" %&gt;
&gt;
&gt; Regards,
&gt;
&gt; Woonsan 




David Sean Taylor wrote:

&gt;
&gt; On Nov 22, 2009, at 9:29 PM, Vladimir Figurov wrote:
&gt;
&gt;&gt; Hi
&gt;&gt;
&gt;&gt; I want a put in some portal's pages a some html docs... (as view- 
&gt;&gt; portlets)
&gt;&gt;
&gt;&gt; If my html document contained is only text - no problem - use a  
&gt;&gt; FilePortlet's clone from J2-ADMIN PA and enjoy...
&gt;&gt; But,... dizign requared a one or more pictures (jpg,png,...) in my  
&gt;&gt; html docs. And here a FilePortlet cannot help me - his don't make a  
&gt;&gt; URI resolve for &lt;img scr='picture.jpg'&gt;
&gt;&gt;
&gt;
&gt; Right, you just need to point the URL at your file. Of course these  
&gt; must be hard-coded with html to something like
&gt;
&gt; &lt;img src='/j2-admin/images/picture.jpg'&gt;
&gt;
&gt; or just store your image outside your webapp and serve them up 
&gt; through  apache
&gt;
&gt; Anyway the File Portlet isn't exactly an advanced portlet. If you 
&gt; were  to use JSPs you wouldn't have to hard code the "/j2-admin" part
&gt;
&gt;
&gt;&gt; I try usage a WebClipping portlet - exellent work,... but only with  
&gt;&gt; "en" 1-byte locale...  I usage a UTF8 encoded html files - the  
&gt;&gt; WebClipping display a broken chars...
&gt;&gt;
&gt;
&gt; Im surprised to hear that. Could you please create a bug report in 
&gt; our  JIRA issue tracking system?
&gt;
&gt; Thanks
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
&gt; For additional commands, e-mail: jetspeed-user-help@portals.apache.org
&gt;
&gt;


-- 



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: removing a portlet definition from Jetspeed 2</title>
<author><name>Vladimir Figurov &lt;VFigurov@asia-soft.kz&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c4B0B758D.2000405@asia-soft.kz%3e"/>
<id>urn:uuid:%3c4B0B758D-2000405@asia-soft-kz%3e</id>
<updated>2009-11-24T05:56:29Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Good evening, sir!

Yes, yours "step-by-step" 100% congruous with my...
Problem in next: if this "clon" to come a not need, I can't deleted its 
from "Portlet App Manager"


David Sean Taylor wrote:

&gt;
&gt; On Nov 22, 2009, at 8:57 PM, Vladimir Figurov wrote:
&gt;
&gt;&gt; I'm sorry - we talk about jetspeed-2.2.0 binary distribution ?
&gt;&gt; If I work into "Registry Applications List" portlet - then the "j2- 
&gt;&gt; admin" portlet aplication is running.
&gt;&gt; (and jetspeed.log &amp; j2-admin.log - work)
&gt;&gt;
&gt;&gt; I make a clones from FilePortlet a not manually Copy-Paste in j2- 
&gt;&gt; admin/WEB-INF/portlet.xml - I usage a button "Clone" in  
&gt;&gt; PortletDetailsManager stay on the "About Jetspeed" or "Welcome to  
&gt;&gt; Jetspeed" portlets in table "Portlets" in "Registry Applications  
&gt;&gt; List" portlet...
&gt;&gt;
&gt;
&gt; Right. I understand, I know the feature and it works for me. Its  
&gt; probably a user experience issue on my part. Sorry. Let me try to  
&gt; explain it:
&gt;
&gt; 1. search on "file" from the Portlet App Manager
&gt; 2. select the found portlet "ContentViewer"
&gt; 3. enter a portlet name and enter it in the Clone edit field, i  
&gt; entered "ApacheContent"
&gt; 4. press Clone
&gt; 5. Press the Refresh link (next to the search button)
&gt; 6. "ApacheContent" should now be near the top of your list, otherwise  
&gt; search on it
&gt; 7. Select ApacheContent portlet
&gt; 8. in the Portlet Details, click on the Preferences tab
&gt; 9. replace "/_content/menu.html" with "/_content/BillOfRights.html"
&gt; 10. save
&gt; 11. make any other changes such as keywords
&gt; 12. navigate to a page where you would like to add the portlet
&gt; 13. From the customizer, search on "ApacheContent"
&gt; 14. add it
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
&gt; For additional commands, e-mail: jetspeed-user-help@portals.apache.org
&gt;
&gt;


-- 
Vladimir


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: WebContentPortlet</title>
<author><name>&quot;Robert Walthall&quot; &lt;robert.walthall@npss911.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c19E1B68D83A54DFA8563117229691C2C@OFFICE26GHZ%3e"/>
<id>urn:uuid:%3c19E1B68D83A54DFA8563117229691C2C@OFFICE26GHZ%3e</id>
<updated>2009-11-24T05:40:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
David, Thanks for the response.  

&lt;snip&gt;with the customizer add a new WebContentPortlet to your page and  
&gt;then go into edit mode to modify the SRC preference &lt;snip&gt;

That works - I can take it from here.

Thanks,
Robert
 

-----Original Message-----
From: David Sean Taylor [mailto:d.taylor@onehippo.com] 
Sent: Monday, November 23, 2009 8:39 PM
To: Jetspeed Users List
Subject: Re: WebContentPortlet 

On Nov 23, 2009, at 10:59 AM, Robert Walthall wrote:

&gt; Hi All,
&gt; I have a question about the WebContentPortlet.  By default it pulls up
&gt; http://www.google.com
&gt; which is configured in this file &lt;snip&gt;/webapps/demo/WEB-INF/ 
&gt; portlet.xml
&gt;
&gt; I can edit that file and change the page that the portlet pulls up.
&gt;
&gt; The issue is that I need to be able to create several of these  
&gt; portlets, and
&gt; they need to go to different webpages.
&gt;
&gt; Could that be accomplished by copying/renaming the WebContentPortlet  
&gt; files,
&gt; and editing the filename/path so that it points to a different file
&gt; (webapps/demo/WEB-INF/portlet2.xml)?
&gt;
&gt; Any tips on what files would need to be copied/renamed/edited would  
&gt; be much
&gt; appreciated.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Can't getting a corrected html-content with picture</title>
<author><name>David Sean Taylor &lt;d.taylor@onehippo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3cEF8720ED-0920-47B5-BC81-AC374C9AB6CC@onehippo.com%3e"/>
<id>urn:uuid:%3cEF8720ED-0920-47B5-BC81-AC374C9AB6CC@onehippo-com%3e</id>
<updated>2009-11-24T03:38:02Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

On Nov 22, 2009, at 9:29 PM, Vladimir Figurov wrote:

&gt; Hi
&gt;
&gt; I want a put in some portal's pages a some html docs... (as view- 
&gt; portlets)
&gt;
&gt; If my html document contained is only text - no problem - use a  
&gt; FilePortlet's clone from J2-ADMIN PA and enjoy...
&gt; But,... dizign requared a one or more pictures (jpg,png,...) in my  
&gt; html docs. And here a FilePortlet cannot help me - his don't make a  
&gt; URI resolve for &lt;img scr='picture.jpg'&gt;
&gt;

Right, you just need to point the URL at your file. Of course these  
must be hard-coded with html to something like

&lt;img src='/j2-admin/images/picture.jpg'&gt;

or just store your image outside your webapp and serve them up through  
apache

Anyway the File Portlet isn't exactly an advanced portlet. If you were  
to use JSPs you wouldn't have to hard code the "/j2-admin" part


&gt; I try usage a WebClipping portlet - exellent work,... but only with  
&gt; "en" 1-byte locale...  I usage a UTF8 encoded html files - the  
&gt; WebClipping display a broken chars...
&gt;

Im surprised to hear that. Could you please create a bug report in our  
JIRA issue tracking system?

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: removing a portlet definition from Jetspeed 2</title>
<author><name>David Sean Taylor &lt;d.taylor@onehippo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c915CAE90-F235-4A30-9EC6-C4EF6005EB0C@onehippo.com%3e"/>
<id>urn:uuid:%3c915CAE90-F235-4A30-9EC6-C4EF6005EB0C@onehippo-com%3e</id>
<updated>2009-11-24T03:34:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

On Nov 22, 2009, at 8:57 PM, Vladimir Figurov wrote:

&gt; I'm sorry - we talk about jetspeed-2.2.0 binary distribution ?
&gt; If I work into "Registry Applications List" portlet - then the "j2- 
&gt; admin" portlet aplication is running.
&gt; (and jetspeed.log &amp; j2-admin.log - work)
&gt;
&gt; I make a clones from FilePortlet a not manually Copy-Paste in j2- 
&gt; admin/WEB-INF/portlet.xml - I usage a button "Clone" in  
&gt; PortletDetailsManager stay on the "About Jetspeed" or "Welcome to  
&gt; Jetspeed" portlets in table "Portlets" in "Registry Applications  
&gt; List" portlet...
&gt;

Right. I understand, I know the feature and it works for me. Its  
probably a user experience issue on my part. Sorry. Let me try to  
explain it:

1. search on "file" from the Portlet App Manager
2. select the found portlet "ContentViewer"
3. enter a portlet name and enter it in the Clone edit field, i  
entered "ApacheContent"
4. press Clone
5. Press the Refresh link (next to the search button)
6. "ApacheContent" should now be near the top of your list, otherwise  
search on it
7. Select ApacheContent portlet
8. in the Portlet Details, click on the Preferences tab
9. replace "/_content/menu.html" with "/_content/BillOfRights.html"
10. save
11. make any other changes such as keywords
12. navigate to a page where you would like to add the portlet
13. From the customizer, search on "ApacheContent"
14. add it


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: WebContentPortlet</title>
<author><name>David Sean Taylor &lt;d.taylor@onehippo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c9262FB0D-4644-4BE3-BF18-53D8E783720B@onehippo.com%3e"/>
<id>urn:uuid:%3c9262FB0D-4644-4BE3-BF18-53D8E783720B@onehippo-com%3e</id>
<updated>2009-11-24T02:38:38Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Nov 23, 2009, at 10:59 AM, Robert Walthall wrote:

&gt; Hi All,
&gt; I have a question about the WebContentPortlet.  By default it pulls up
&gt; http://www.google.com
&gt; which is configured in this file &lt;snip&gt;/webapps/demo/WEB-INF/ 
&gt; portlet.xml
&gt;
&gt; I can edit that file and change the page that the portlet pulls up.
&gt;
&gt; The issue is that I need to be able to create several of these  
&gt; portlets, and
&gt; they need to go to different webpages.
&gt;
&gt; Could that be accomplished by copying/renaming the WebContentPortlet  
&gt; files,
&gt; and editing the filename/path so that it points to a different file
&gt; (webapps/demo/WEB-INF/portlet2.xml)?
&gt;
&gt; Any tips on what files would need to be copied/renamed/edited would  
&gt; be much
&gt; appreciated.

There are several ways to handle this currently:

* copy and paste the entries in the portlet.xml. Redeploy. Probably  
not the most appealing approach as you are just changing one  
preference and cutting and pasting the rest
* with the customizer add a new WebContentPortlet to your page and  
then go into edit mode to modify the SRC preference. Again, not  
perfect and to make matters worse, if you don't set up in  
edit_defaults mode, the preference is only good for the current user
* with the customizer add a new WebContentPortlet to your page and  
then go into edit defaults mode to modify the SRC preference. Problem:  
the WebContent portlet doesn't support edit_defaults mode out of the  
box you have to change that yourself (edit_defaults actually stores to  
psml)

In the trunk, we are working a new solution with portlet references.  
You can create a portlet reference (also called a portlet instance).  
If you are interested in working against a pre-release let me explain:

References should be declared  in a fpsml files:

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;fragment-definition id="definition"
     xmlns="http://portals.apache.org/jetspeed"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://portals.apache.org/jetspeed http://portals.apache.org/jetspeed-2/2.1/schemas/psml.xsd

"&gt;

   &lt;title&gt;DEFINITION&lt;/title&gt;
   &lt;fragment id="wp-definition" type="portlet"  
name="webcontent::WebContentPortlet"&gt;
       &lt;preference name="SRC"&gt;
         &lt;value&gt;http://www.apache.org/&lt;/value&gt;
       &lt;/preference&gt;
    &lt;/fragment&gt;
&lt;/fragment-definition&gt;

There will be two UI enhancements to support references:

1. a Portlet Reference Editor to create new references from existing  
'real' portlets, and override only specific preferences
2. an enhanced Toolbox (Portlet Selector) that will merge portlet  
references with portlets in the portlet selection and search process  
(all references will be indexed)

Portlet References are now implemented in the trunk however we have  
not yet developed the UI support. These features will be included in  
the next release

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: WebContentPortlet</title>
<author><name>Vladimir Figurov &lt;VFigurov@asia-soft.kz&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c4B0ADF64.1010007@asia-soft.kz%3e"/>
<id>urn:uuid:%3c4B0ADF64-1010007@asia-soft-kz%3e</id>
<updated>2009-11-23T19:15:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Yes, I also view at this behavior...
and I say a more:
- under admin this WebContentPortlet (placed on page) - excellently 
customizing...
- but, after logon and look under guest - i view a google.com :-\


Robert Walthall wrote:

&gt;Hi All, 
&gt;I have a question about the WebContentPortlet.  By default it pulls up
&gt;http://www.google.com
&gt;which is configured in this file &lt;snip&gt;/webapps/demo/WEB-INF/portlet.xml 
&gt;
&gt;I can edit that file and change the page that the portlet pulls up.
&gt;
&gt;The issue is that I need to be able to create several of these portlets, and
&gt;they need to go to different webpages.
&gt;
&gt;Could that be accomplished by copying/renaming the WebContentPortlet files,
&gt;and editing the filename/path so that it points to a different file
&gt;(webapps/demo/WEB-INF/portlet2.xml)?
&gt;
&gt;Any tips on what files would need to be copied/renamed/edited would be much
&gt;appreciated.
&gt;
&gt;Thanks,
&gt;Robert
&gt;
&gt;
&gt;
&gt;---------------------------------------------------------------------
&gt;To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
&gt;For additional commands, e-mail: jetspeed-user-help@portals.apache.org
&gt;
&gt;
&gt;  
&gt;


-- 
Vladimir


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>WebContentPortlet</title>
<author><name>&quot;Robert Walthall&quot; &lt;robert.walthall@npss911.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c4D4B6E66F0754B16A30E3B2206012540@OFFICE26GHZ%3e"/>
<id>urn:uuid:%3c4D4B6E66F0754B16A30E3B2206012540@OFFICE26GHZ%3e</id>
<updated>2009-11-23T18:59:49Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi All, 
I have a question about the WebContentPortlet.  By default it pulls up
http://www.google.com
which is configured in this file &lt;snip&gt;/webapps/demo/WEB-INF/portlet.xml 

I can edit that file and change the page that the portlet pulls up.

The issue is that I need to be able to create several of these portlets, and
they need to go to different webpages.

Could that be accomplished by copying/renaming the WebContentPortlet files,
and editing the filename/path so that it points to a different file
(webapps/demo/WEB-INF/portlet2.xml)?

Any tips on what files would need to be copied/renamed/edited would be much
appreciated.

Thanks,
Robert



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How can I getted a correct html-content with picture?</title>
<author><name>Vladimir Figurov &lt;VFigurov@asia-soft.kz&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c4B0AD92F.5030009@asia-soft.kz%3e"/>
<id>urn:uuid:%3c4B0AD92F-5030009@asia-soft-kz%3e</id>
<updated>2009-11-23T18:49:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thanks, it's one is just the one I need.


Woonsan Ko wrote:

&gt;Hi Vladimir,
&gt;
&gt;Do you mean WebContentPortlet of apa-webcontent project by WebClipping portlet?
&gt;If so, can you try to make the web server write contentType header with charset=UTF-8?
&gt;You could also test if it works by changing the html files to jsp files with contentType
page directive:
&gt;&lt;%@page contentType="text/html; charset=UTF-8" %&gt;
&gt;
&gt;Regards,
&gt;
&gt;Woonsan
&gt;
&gt;
&gt;
&gt;----- Original Message ----
&gt;From: Vladimir
&gt;To: jetspeed-user@portals.apache.org
&gt;Sent: Mon, November 23, 2009 4:32:52 PM
&gt;Subject: How can I getted a correct html-content with picture?
&gt;
&gt;Hi
&gt;
&gt;I want a put in some portal's pages a some html docs... (as view-portlets)
&gt;
&gt;If my html document contained is only text - no problem - use a FilePortlet's clone from
J2-ADMIN PA and enjoy...
&gt;But,... dizign requared a one or more pictures (jpg,png,...) in my html docs. And here
a FilePortlet cannot help me - his don't make a URI resolve for &lt;img scr='picture.jpg'&gt;
&gt;
&gt;I try usage a WebClipping portlet - exellent work,... but only with "en" 1-byte locale...
 I usage a UTF8 encoded html files - the WebClipping display a broken chars...
&gt;
&gt;-- Vladimir
&gt;
&gt;
&gt;---------------------------------------------------------------------
&gt;To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
&gt;For additional commands, e-mail: jetspeed-user-help@portals.apache.org
&gt;
&gt;
&gt;      
&gt;
&gt;---------------------------------------------------------------------
&gt;To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
&gt;For additional commands, e-mail: jetspeed-user-help@portals.apache.org
&gt;
&gt;
&gt;  
&gt;


-- 
Vladimir


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How can I getted a correct html-content with picture?</title>
<author><name>Woonsan Ko &lt;woon_san@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c615406.64393.qm@web51104.mail.re2.yahoo.com%3e"/>
<id>urn:uuid:%3c615406-64393-qm@web51104-mail-re2-yahoo-com%3e</id>
<updated>2009-11-23T17:44:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Vladimir,

Do you mean WebContentPortlet of apa-webcontent project by WebClipping portlet?
If so, can you try to make the web server write contentType header with charset=UTF-8?
You could also test if it works by changing the html files to jsp files with contentType page
directive:
&lt;%@page contentType="text/html; charset=UTF-8" %&gt;

Regards,

Woonsan



----- Original Message ----
From: Vladimir Figurov &lt;VFigurov@asia-soft.kz&gt;
To: jetspeed-user@portals.apache.org
Sent: Mon, November 23, 2009 4:32:52 PM
Subject: How can I getted a correct html-content with picture?

Hi

I want a put in some portal's pages a some html docs... (as view-portlets)

If my html document contained is only text - no problem - use a FilePortlet's clone from J2-ADMIN
PA and enjoy...
But,... dizign requared a one or more pictures (jpg,png,...) in my html docs. And here a FilePortlet
cannot help me - his don't make a URI resolve for &lt;img scr='picture.jpg'&gt;

I try usage a WebClipping portlet - exellent work,... but only with "en" 1-byte locale...
 I usage a UTF8 encoded html files - the WebClipping display a broken chars...

-- Vladimir


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


      

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>How can I getted a correct html-content with picture?</title>
<author><name>Vladimir Figurov &lt;VFigurov@asia-soft.kz&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c4B0AAB24.4070301@asia-soft.kz%3e"/>
<id>urn:uuid:%3c4B0AAB24-4070301@asia-soft-kz%3e</id>
<updated>2009-11-23T15:32:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi

I want a put in some portal's pages a some html docs... (as view-portlets)

If my html document contained is only text - no problem - use a 
FilePortlet's clone from J2-ADMIN PA and enjoy...
But,... dizign requared a one or more pictures (jpg,png,...) in my html 
docs. And here a FilePortlet cannot help me - his don't make a URI 
resolve for &lt;img scr='picture.jpg'&gt;

I try usage a WebClipping portlet - exellent work,... but only with "en" 
1-byte locale...  I usage a UTF8 encoded html files - the WebClipping 
display a broken chars...

-- 
Vladimir


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Can't getting a corrected html-content with picture</title>
<author><name>Vladimir Figurov &lt;VFigurov@asia-soft.kz&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c4B0A1DA1.8050807@asia-soft.kz%3e"/>
<id>urn:uuid:%3c4B0A1DA1-8050807@asia-soft-kz%3e</id>
<updated>2009-11-23T05:29:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi

I want a put in some portal's pages a some html docs... (as view-portlets)

If my html document contained is only text - no problem - use a 
FilePortlet's clone from J2-ADMIN PA and enjoy...
But,... dizign requared a one or more pictures (jpg,png,...) in my html 
docs. And here a FilePortlet cannot help me - his don't make a URI 
resolve for &lt;img scr='picture.jpg'&gt;

I try usage a WebClipping portlet - exellent work,... but only with "en" 
1-byte locale...  I usage a UTF8 encoded html files - the WebClipping 
display a broken chars...


-- 
Vladimir



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: removing a portlet definition from Jetspeed 2</title>
<author><name>Vladimir Figurov &lt;VFigurov@asia-soft.kz&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c4B0A1638.9060302@asia-soft.kz%3e"/>
<id>urn:uuid:%3c4B0A1638-9060302@asia-soft-kz%3e</id>
<updated>2009-11-23T04:57:28Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I'm sorry - we talk about jetspeed-2.2.0 binary distribution ?
If I work into "Registry Applications List" portlet - then the 
"j2-admin" portlet aplication is running.
(and jetspeed.log &amp; j2-admin.log - work)

I make a clones from FilePortlet a not manually Copy-Paste in 
j2-admin/WEB-INF/portlet.xml - I usage a button "Clone" in 
PortletDetailsManager stay on the "About Jetspeed" or "Welcome to 
Jetspeed" portlets in table "Portlets" in "Registry Applications List" 
portlet...



David Sean Taylor wrote:

&gt;
&gt; On Nov 21, 2009, at 6:10 AM, Vladimir Figurov wrote:
&gt;
&gt;&gt; Hi
&gt;&gt;
&gt;&gt; it's don't work if my Portlet - a clone from existing j2-admin's  
&gt;&gt; portlet. For example - from FilePortlet
&gt;&gt;
&gt;&gt;
&gt;&gt;&gt; 2.2:
&gt;&gt;&gt; Login as admin and go here: (assuming running on localhost:8080)
&gt;&gt;&gt; http://localhost:8080/jetspeed/portal/Administrative/pam.psml
&gt;&gt;&gt; press stop then delete or undeploy for the specific Portlet App
&gt;&gt;
&gt;&gt;
&gt;&gt; - on "core" Apps action "STOP" was not exist...
&gt;&gt;
&gt;
&gt; If the stop action is not available, it means the portlet application  
&gt; is not running. Check your log files under $TOMCAT/logs/jetspeed*.log
&gt;
&gt;
&gt;&gt;&gt; -- 
&gt;&gt;&gt; When I want to delete individual portlets, I generally just remove   
&gt;&gt;&gt; them from the portlet.xml  and redeploy
&gt;&gt;
&gt;&gt;
&gt;&gt; - I'm not find referenses on my cloned portlet in CATALINA_HOME 
&gt;&gt; \webapps\*
&gt;&gt;
&gt;
&gt; A "Portlet Application" (PA) is a "Web Application". You will see one  
&gt; or more of these under the /webapps/ directory. Each PA contains  
&gt; exactly one portlet.xml deployment descriptor. That descriptor file  
&gt; can contain one or more portlet definitions. So you will find cloned  
&gt; portlet in the portlet.xml, since its a portlet, not a PA.
&gt; Hope that makes sense
&gt;
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
&gt; For additional commands, e-mail: jetspeed-user-help@portals.apache.org
&gt;
&gt;


-- 
Vladimir


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: removing a portlet definition from Jetspeed 2</title>
<author><name>Vladimir Figurov &lt;VFigurov@asia-soft.kz&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c4B0A0DE3.9090800@asia-soft.kz%3e"/>
<id>urn:uuid:%3c4B0A0DE3-9090800@asia-soft-kz%3e</id>
<updated>2009-11-23T04:21:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
No, I don't want undeploy/delete a Parent's portlet (FilePortlet),
I want delete a his clones - I deleted a FilePortlet's clones from the 
all myPages, but I can't delete the clones from Portlets list on the 
"Registry Applications List" portlet


Mansour Al Akeel wrote:

&gt;Did you try removing all the instances (clones) before you try to
&gt;undeploy/delete it ?
&gt;
&gt;
&gt;On Sat, Nov 21, 2009 at 10:10 AM, Vladimir Figurov
&gt;&lt;VFigurov@asia-soft.kz&gt; wrote:
&gt;  
&gt;
&gt;&gt;Hi
&gt;&gt;
&gt;&gt;it's don't work if my Portlet - a clone from existing j2-admin's portlet.
&gt;&gt;For example - from FilePortlet
&gt;&gt;
&gt;&gt;
&gt;&gt;    
&gt;&gt;
&gt;&gt;&gt;2.2:
&gt;&gt;&gt;
&gt;&gt;&gt;Login as admin and go here: (assuming running on localhost:8080)
&gt;&gt;&gt;
&gt;&gt;&gt;http://localhost:8080/jetspeed/portal/Administrative/pam.psml
&gt;&gt;&gt;
&gt;&gt;&gt;press stop then delete or undeploy for the specific Portlet App
&gt;&gt;&gt;
&gt;&gt;&gt;      
&gt;&gt;&gt;
&gt;&gt;- on "core" Apps action "STOP" was not exist...
&gt;&gt;
&gt;&gt;    
&gt;&gt;
&gt;&gt;&gt;--
&gt;&gt;&gt;
&gt;&gt;&gt;When I want to delete individual portlets, I generally just remove  them
&gt;&gt;&gt;from the portlet.xml  and redeploy
&gt;&gt;&gt;      
&gt;&gt;&gt;
&gt;&gt;- I'm not find referenses on my cloned portlet in CATALINA_HOME\webapps\*
&gt;&gt;
&gt;&gt;( may be refs placed in database? )
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;Vladimir
&gt;&gt;
&gt;&gt;
&gt;&gt;---------------------------------------------------------------------
&gt;&gt;To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
&gt;&gt;For additional commands, e-mail: jetspeed-user-help@portals.apache.org
&gt;&gt;
&gt;&gt;
&gt;&gt;    
&gt;&gt;
&gt;
&gt;---------------------------------------------------------------------
&gt;To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
&gt;For additional commands, e-mail: jetspeed-user-help@portals.apache.org
&gt;
&gt;
&gt;  
&gt;


-- 
Vladimir


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: removing a portlet definition from Jetspeed 2</title>
<author><name>David Sean Taylor &lt;d.taylor@onehippo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3cAC6FE106-0832-49D8-991D-E768CA74C58A@onehippo.com%3e"/>
<id>urn:uuid:%3cAC6FE106-0832-49D8-991D-E768CA74C58A@onehippo-com%3e</id>
<updated>2009-11-22T18:33:42Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

On Nov 21, 2009, at 6:10 AM, Vladimir Figurov wrote:

&gt; Hi
&gt;
&gt; it's don't work if my Portlet - a clone from existing j2-admin's  
&gt; portlet. For example - from FilePortlet
&gt;
&gt;
&gt;&gt; 2.2:
&gt;&gt; Login as admin and go here: (assuming running on localhost:8080)
&gt;&gt; http://localhost:8080/jetspeed/portal/Administrative/pam.psml
&gt;&gt; press stop then delete or undeploy for the specific Portlet App
&gt;
&gt; - on "core" Apps action "STOP" was not exist...
&gt;

If the stop action is not available, it means the portlet application  
is not running. Check your log files under $TOMCAT/logs/jetspeed*.log


&gt;&gt; --
&gt;&gt; When I want to delete individual portlets, I generally just remove   
&gt;&gt; them from the portlet.xml  and redeploy
&gt;
&gt; - I'm not find referenses on my cloned portlet in CATALINA_HOME 
&gt; \webapps\*
&gt;

A "Portlet Application" (PA) is a "Web Application". You will see one  
or more of these under the /webapps/ directory. Each PA contains  
exactly one portlet.xml deployment descriptor. That descriptor file  
can contain one or more portlet definitions. So you will find cloned  
portlet in the portlet.xml, since its a portlet, not a PA.
Hope that makes sense



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: j2-admin::CategoryPortletSelector - can't add my custom Category</title>
<author><name>David Sean Taylor &lt;d.taylor@onehippo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3cA4382D2A-8E78-48C9-88DB-07E4DF190320@onehippo.com%3e"/>
<id>urn:uuid:%3cA4382D2A-8E78-48C9-88DB-07E4DF190320@onehippo-com%3e</id>
<updated>2009-11-22T18:29:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

On Nov 21, 2009, at 5:08 AM, Vladimir Figurov wrote:

&gt; Hi
&gt; jetspeed-2.2.0 demo &amp; minimal. bin jar distributions
&gt;
&gt; I make a Clone from FilePortlet and want put it's into new  
&gt; myCategory in Portlet Selector.
&gt; I added a new Category, fill the Keywords field
&gt; But the Portlet Selector after click on the "Save" button throws the  
&gt; Error:
&gt;
&gt;
I just reproduced the error, thanks for finding this. I've created a  
JIRA issue and will get this fixed ASAP. Please put a watch on this  
bug if you want to track it. I will also try to remember to respond  
back to this thread when the bug is fixed

https://issues.apache.org/jira/browse/JS2-1085


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Stopping a portlet from maximizing</title>
<author><name>David Sean Taylor &lt;d.taylor@onehippo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3cAD4BE6EE-C323-48D4-8581-CBCDFFAC0521@onehippo.com%3e"/>
<id>urn:uuid:%3cAD4BE6EE-C323-48D4-8581-CBCDFFAC0521@onehippo-com%3e</id>
<updated>2009-11-22T18:24:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

On Nov 22, 2009, at 12:43 AM, Ron McNulty wrote:

&gt; Hi Mansour
&gt;
&gt; A bit of experimentation and a careful read of JSR 168 and JSR 286  
&gt; lead me to believe that this is not a standard thing to do.
&gt;
&gt; - NORMAL, MAXIMIZED and MINIMIZED are &lt;window-state&gt; values, not  
&gt; &lt;portlet-mode&gt; values.
&gt; - JSR 168 is a bit ambiguous about window states, but JSR 286 states  
&gt; that all portlets must support NORMAL, MAXIMIZED and MINIMIZED at a  
&gt; minimum, so they need not be defined. It seems to make no provision  
&gt; for turning off support for any of these window states.
&gt;
&gt; So for now I am back to the custom decorator...
&gt;
I find the whole action processing in Jetspeed annoying. I have  
created an issue to re-implement actions in a less complicated, more  
easily configurable manner (JS2-1059).  The most obvious approach I  
took was to comment out the maximize window in jetspeed.properties:

# supported.windowstate = maximized

However doing so has absolutely no effect.

Recommend writing your own custom decorator factory and set it in your  
portlet decorator:

actions 
.factory=org.apache.jetspeed.decoration.ClearDecoratorActionsFactory

Currently, the factory class is the best place to implement custom  
action filtering and behavior

If you working off the trunk, there are a few new features in progress:

# option.actions valid values are: show | hide | dropdown | hover  
(default=show)
option.actions=hide
# option.title valid values are: show | hide (default=show)
option.title=show


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Stopping a portlet from maximizing</title>
<author><name>&quot;Ron McNulty&quot; &lt;rmcnulty@xtra.co.nz&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c4247C7848E4642009C3E56654AC8DA27@Conservatory%3e"/>
<id>urn:uuid:%3c4247C7848E4642009C3E56654AC8DA27@Conservatory%3e</id>
<updated>2009-11-22T08:43:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Mansour

A bit of experimentation and a careful read of JSR 168 and JSR 286 lead me 
to believe that this is not a standard thing to do.

  - NORMAL, MAXIMIZED and MINIMIZED are &lt;window-state&gt; values, not 
&lt;portlet-mode&gt; values.
  - JSR 168 is a bit ambiguous about window states, but JSR 286 states that 
all portlets must support NORMAL, MAXIMIZED and MINIMIZED at a minimum, so 
they need not be defined. It seems to make no provision for turning off 
support for any of these window states.

So for now I am back to the custom decorator...

Regards

Ron

----- Original Message ----- 
From: "Mansour Al Akeel" &lt;mansour.alakeel@gmail.com&gt;
To: "Jetspeed Users List" &lt;jetspeed-user@portals.apache.org&gt;
Sent: Sunday, November 22, 2009 6:17 PM
Subject: Re: Stopping a portlet from maximizing


&gt; did you try setting the allowed modes in the portlet.xml ?
&gt; For example,
&gt;
&gt; &lt;supports&gt;
&gt;         &lt;mime-type&gt;text/html&lt;/mime-type&gt;
&gt;          &lt;portlet-mode&gt;MINIMIZE&lt;/portlet-mode&gt;
&gt;          &lt;portlet-mode&gt;VIEW&lt;/portlet-mode&gt;
&gt;           &lt;portlet-mode&gt;EDIT&lt;/portlet-mode&gt;
&gt;     &lt;/supports&gt;
&gt;
&gt; Let us know if it work ?
&gt;
&gt;
&gt; On Sat, Nov 21, 2009 at 2:19 AM, Ron McNulty &lt;rmcnulty@xtra.co.nz&gt; wrote:
&gt;&gt; Hi All
&gt;&gt;
&gt;&gt; I have a requirement where a portlet should not be able to be maximized
&gt;&gt; (mainly because it looks rather silly when maximized) Currently I have
&gt;&gt; written a custom portlet decorator (skin?) that filters out the maximize
&gt;&gt; icon.
&gt;&gt;
&gt;&gt; Is there a cleaner/simpler way to do this? I have a feeling that I saw a
&gt;&gt; maximum window size setting somewhere, but I can't track it down.
&gt;&gt;
&gt;&gt; Regards
&gt;&gt;
&gt;&gt; Ron
&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
&gt;&gt; For additional commands, e-mail: jetspeed-user-help@portals.apache.org
&gt;&gt;
&gt;&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
&gt; For additional commands, e-mail: jetspeed-user-help@portals.apache.org
&gt; 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: j2-admin::CategoryPortletSelector - can't add my custom Category</title>
<author><name>Mansour Al Akeel &lt;mansour.alakeel@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c2a21586d0911212131i3087e133s3af3a248f62ed37d@mail.gmail.com%3e"/>
<id>urn:uuid:%3c2a21586d0911212131i3087e133s3af3a248f62ed37d@mail-gmail-com%3e</id>
<updated>2009-11-22T05:31:54Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I don't think you gave me enough info to help. What you can do is,
checking hte log files, and try to extract the exact error. If you are
using tomcat, and you didn't change the log file location, it should
be $TOMCAT/logs/jetspeed.log

The error log will tell us little more about the cause.


2009/11/21 Vladimir Figurov &lt;VFigurov@asia-soft.kz&gt;:
&gt; Hi
&gt; jetspeed-2.2.0 demo &amp; minimal. bin jar distributions
&gt;
&gt; I make a Clone from FilePortlet and want put it's into new myCategory in
&gt; Portlet Selector.
&gt; I added a new Category, fill the Keywords field
&gt; But the Portlet Selector after click on the "Save" button throws the Error:
&gt;
&gt;
&gt;   Request Error Diagnostics
&gt;
&gt; *Error ID*              G2AE44H3
&gt; *Message*
&gt;        java.lang.NullPointerException
&gt; *Path*
&gt;        /jetspeed/portal/system/customizer/selector.psml
&gt; *User*
&gt;        admin
&gt; *Application*
&gt;        j2-admin
&gt; *Portlet*
&gt;        CategoryPortletSelector
&gt; *Window ID*
&gt;        js-cp-selector.2
&gt;
&gt; Click here &lt;javascript:history.go(-1)&gt; to go back to the previous page.
&gt;
&gt;
&gt;     Server Status
&gt;
&gt; *Free Memory (KB)*              20953
&gt; *Total Memory (KB)*
&gt;        66520
&gt;
&gt;
&gt;
&gt; Vladimir
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
&gt; For additional commands, e-mail: jetspeed-user-help@portals.apache.org
&gt;
&gt;

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: removing a portlet definition from Jetspeed 2</title>
<author><name>Mansour Al Akeel &lt;mansour.alakeel@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c2a21586d0911212119w419eae63qe443213655ff2f10@mail.gmail.com%3e"/>
<id>urn:uuid:%3c2a21586d0911212119w419eae63qe443213655ff2f10@mail-gmail-com%3e</id>
<updated>2009-11-22T05:19:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Did you try removing all the instances (clones) before you try to
undeploy/delete it ?


On Sat, Nov 21, 2009 at 10:10 AM, Vladimir Figurov
&lt;VFigurov@asia-soft.kz&gt; wrote:
&gt; Hi
&gt;
&gt; it's don't work if my Portlet - a clone from existing j2-admin's portlet.
&gt; For example - from FilePortlet
&gt;
&gt;
&gt;&gt; 2.2:
&gt;&gt;
&gt;&gt; Login as admin and go here: (assuming running on localhost:8080)
&gt;&gt;
&gt;&gt; http://localhost:8080/jetspeed/portal/Administrative/pam.psml
&gt;&gt;
&gt;&gt; press stop then delete or undeploy for the specific Portlet App
&gt;&gt;
&gt;
&gt; - on "core" Apps action "STOP" was not exist...
&gt;
&gt;&gt; --
&gt;&gt;
&gt;&gt; When I want to delete individual portlets, I generally just remove  them
&gt;&gt; from the portlet.xml  and redeploy
&gt;
&gt; - I'm not find referenses on my cloned portlet in CATALINA_HOME\webapps\*
&gt;
&gt; ( may be refs placed in database? )
&gt;
&gt;
&gt;
&gt;
&gt; Vladimir
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
&gt; For additional commands, e-mail: jetspeed-user-help@portals.apache.org
&gt;
&gt;

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Stopping a portlet from maximizing</title>
<author><name>Mansour Al Akeel &lt;mansour.alakeel@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c2a21586d0911212117t347dd214v79fdeb85d178f771@mail.gmail.com%3e"/>
<id>urn:uuid:%3c2a21586d0911212117t347dd214v79fdeb85d178f771@mail-gmail-com%3e</id>
<updated>2009-11-22T05:17:09Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
did you try setting the allowed modes in the portlet.xml ?
For example,

&lt;supports&gt;
         &lt;mime-type&gt;text/html&lt;/mime-type&gt;
          &lt;portlet-mode&gt;MINIMIZE&lt;/portlet-mode&gt;
          &lt;portlet-mode&gt;VIEW&lt;/portlet-mode&gt;
           &lt;portlet-mode&gt;EDIT&lt;/portlet-mode&gt;
     &lt;/supports&gt;

Let us know if it work ?


On Sat, Nov 21, 2009 at 2:19 AM, Ron McNulty &lt;rmcnulty@xtra.co.nz&gt; wrote:
&gt; Hi All
&gt;
&gt; I have a requirement where a portlet should not be able to be maximized
&gt; (mainly because it looks rather silly when maximized) Currently I have
&gt; written a custom portlet decorator (skin?) that filters out the maximize
&gt; icon.
&gt;
&gt; Is there a cleaner/simpler way to do this? I have a feeling that I saw a
&gt; maximum window size setting somewhere, but I can't track it down.
&gt;
&gt; Regards
&gt;
&gt; Ron
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
&gt; For additional commands, e-mail: jetspeed-user-help@portals.apache.org
&gt;
&gt;

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: removing a portlet definition from Jetspeed 2</title>
<author><name>Vladimir Figurov &lt;VFigurov@asia-soft.kz&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c4B07F4C6.8050905@asia-soft.kz%3e"/>
<id>urn:uuid:%3c4B07F4C6-8050905@asia-soft-kz%3e</id>
<updated>2009-11-21T14:10:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi

it's don't work if my Portlet - a clone from existing j2-admin's 
portlet. For example - from FilePortlet


&gt; 2.2:
&gt; 
&gt; Login as admin and go here: (assuming running on localhost:8080)
&gt; 
&gt; http://localhost:8080/jetspeed/portal/Administrative/pam.psml
&gt; 
&gt; press stop then delete or undeploy for the specific Portlet App
&gt; 

- on "core" Apps action "STOP" was not exist...

&gt; --
&gt; 
&gt; When I want to delete individual portlets, I generally just remove  
&gt; them from the portlet.xml  and redeploy

- I'm not find referenses on my cloned portlet in CATALINA_HOME\webapps\*

( may be refs placed in database? )




Vladimir


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>j2-admin::CategoryPortletSelector - can't add my custom Category</title>
<author><name>Vladimir Figurov &lt;VFigurov@asia-soft.kz&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c4B07E647.1080402@asia-soft.kz%3e"/>
<id>urn:uuid:%3c4B07E647-1080402@asia-soft-kz%3e</id>
<updated>2009-11-21T13:08:23Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi
jetspeed-2.2.0 demo &amp; minimal. bin jar distributions

I make a Clone from FilePortlet and want put it's into new myCategory in 
Portlet Selector.
I added a new Category, fill the Keywords field
But the Portlet Selector after click on the "Save" button throws the Error:


    Request Error Diagnostics

*Error ID* 	    	G2AE44H3
*Message* 	
	java.lang.NullPointerException
*Path* 	
	/jetspeed/portal/system/customizer/selector.psml
*User* 	
	admin
*Application* 	
	j2-admin
*Portlet* 	
	CategoryPortletSelector
*Window ID* 	
	js-cp-selector.2

Click here &lt;javascript:history.go(-1)&gt; to go back to the previous page.


      Server Status

*Free Memory (KB)* 	    	20953
*Total Memory (KB)* 	
	66520



Vladimir

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Stopping a portlet from maximizing</title>
<author><name>&quot;Ron McNulty&quot; &lt;rmcnulty@xtra.co.nz&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3cB3D6D62B8430469E97102888C15C8C33@Conservatory%3e"/>
<id>urn:uuid:%3cB3D6D62B8430469E97102888C15C8C33@Conservatory%3e</id>
<updated>2009-11-21T06:19:08Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi All

I have a requirement where a portlet should not be able to be maximized 
(mainly because it looks rather silly when maximized) Currently I have 
written a custom portlet decorator (skin?) that filters out the maximize 
icon.

Is there a cleaner/simpler way to do this? I have a feeling that I saw a 
maximum window size setting somewhere, but I can't track it down.

Regards

Ron


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Default Portlet State</title>
<author><name>David Sean Taylor &lt;d.taylor@onehippo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c91719561-538B-4827-BBB3-809189881A4E@onehippo.com%3e"/>
<id>urn:uuid:%3c91719561-538B-4827-BBB3-809189881A4E@onehippo-com%3e</id>
<updated>2009-11-20T19:06:34Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

On Nov 19, 2009, at 2:15 PM, Jeff Pierce wrote:

&gt; Thanks. That would be great.
&gt;
&gt; I did find the portlet fragment "state" and tried it with a value of
&gt; "hidden".  With Jetspeed 2.2 you only get the portlet action bar but  
&gt; you
&gt; can't do anything with it.  This would be exactly what we want if  
&gt; you could
&gt; then use the actions to display the portlet.  If it makes sense, I  
&gt; am going
&gt; to pursue that path with the possibility of adding the feature to  
&gt; support
&gt; additional values along with hidden. If there is an easier approach,  
&gt; let me
&gt; know.
&gt;

Its not clear to me what you are planning to do. Are you saying you  
are going to work on contributing this feature back? If yes, we should  
discuss in more detail on the other mailing list jetspeed-dev

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How can I retrieve a portal URL parameter within a portlet ?</title>
<author><name>Michel DAVID &lt;mimah35@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3caecb700b0911200139m60214e33yb97c50d69c6fbacf@mail.gmail.com%3e"/>
<id>urn:uuid:%3caecb700b0911200139m60214e33yb97c50d69c6fbacf@mail-gmail-com%3e</id>
<updated>2009-11-20T09:39:10Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thanks a lot, it works.

Michel.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Default Portlet State</title>
<author><name>Jeff Pierce &lt;harleynut@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c84671fb70911191415p37344937o8783da4e2bbfffe8@mail.gmail.com%3e"/>
<id>urn:uuid:%3c84671fb70911191415p37344937o8783da4e2bbfffe8@mail-gmail-com%3e</id>
<updated>2009-11-19T22:15:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thanks. That would be great.

I did find the portlet fragment "state" and tried it with a value of
"hidden".  With Jetspeed 2.2 you only get the portlet action bar but you
can't do anything with it.  This would be exactly what we want if you could
then use the actions to display the portlet.  If it makes sense, I am going
to pursue that path with the possibility of adding the feature to support
additional values along with hidden. If there is an easier approach, let me
know.

Thanks.

On Thu, Nov 19, 2009 at 3:22 PM, David Sean Taylor &lt;d.taylor@onehippo.com&gt;wrote:

&gt;
&gt; On Nov 4, 2009, at 12:37 PM, Jeff P. wrote:
&gt;
&gt;
&gt;&gt; We have a custom built portal built on Jetspeed 2.2. Was there any support
&gt;&gt; added to this version to allow for the setting of the initial window state
&gt;&gt; of a portlet? I checked the spec and the PSML doc and didn't see anything.
&gt;&gt; We'd like to be able to set the initial window state of one or more
&gt;&gt; portlets
&gt;&gt; on a page to be MINIMIZED.  I know others have asked the question but
&gt;&gt; didn't
&gt;&gt; see any activity on this topic for a while.  Thanks so much.
&gt;&gt;
&gt;&gt;  Not currently. We are discussing adding this feature to the next version
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
&gt; For additional commands, e-mail: jetspeed-user-help@portals.apache.org
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Default Portlet State</title>
<author><name>David Sean Taylor &lt;d.taylor@onehippo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c6BF05C3E-1259-440D-B207-C34B95ED0B05@onehippo.com%3e"/>
<id>urn:uuid:%3c6BF05C3E-1259-440D-B207-C34B95ED0B05@onehippo-com%3e</id>
<updated>2009-11-19T21:22:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

On Nov 4, 2009, at 12:37 PM, Jeff P. wrote:

&gt;
&gt; We have a custom built portal built on Jetspeed 2.2. Was there any  
&gt; support
&gt; added to this version to allow for the setting of the initial window  
&gt; state
&gt; of a portlet? I checked the spec and the PSML doc and didn't see  
&gt; anything.
&gt; We'd like to be able to set the initial window state of one or more  
&gt; portlets
&gt; on a page to be MINIMIZED.  I know others have asked the question  
&gt; but didn't
&gt; see any activity on this topic for a while.  Thanks so much.
&gt;
Not currently. We are discussing adding this feature to the next version

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How can I retrieve a portal URL parameter within a portlet ?</title>
<author><name>David Sean Taylor &lt;d.taylor@onehippo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3cA34AE6E1-8A75-449F-9E33-84B0D2FD5DFF@onehippo.com%3e"/>
<id>urn:uuid:%3cA34AE6E1-8A75-449F-9E33-84B0D2FD5DFF@onehippo-com%3e</id>
<updated>2009-11-19T21:20:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Nov 19, 2009, at 7:36 AM, Michel DAVID wrote:

&gt; Hi all,
&gt;
&gt; I have a Jetspeed 2 portal and in a portlet included in this portal  
&gt; I have
&gt; to read a parameter passed to the portal URL and share it as a
&gt; publicRenderParameter.
&gt; How can I do this ?
&gt;
&gt; Example :
&gt; http://localhost:9080/jetspeed/portal/Test.psml?secretKey=xxxx-yyyy-zzzz
&gt;
&gt; Then I have to add the parameter secretKey in a  
&gt; publicRenderParameter to be
&gt; rendered in different portlets.
&gt;
 From jetspeed.properties you can turn Jetspeed's way of accessing  
'portal' (servlet) level parameters as you describe above:

#----------------------------------------------------------------------------------
# Until version 2.1, Jetspeed merged portal request parameters with  
portlet specific
# parameters, effectively allowing "shared" parameters.
# This is not compliant with the JSR-168 PLT.11, so by default this is  
now disabled.
#
# By setting merge.portal.parameters.with.portlet.parameters=true this  
feature can
# be "restored".
# In the situation of portal and portlet parameters with the same  
name, by default
# the portlet parameters will be provided first in the values array,  
but this too
# can be overridden by setting  
merge.portal.parameters.before.portlet.parameters=true
#
# Setting both these properties to true will deliver the "old" pre-2.1  
behavior.
# Note: for individual portlets, these global settings can be  
overridden by setting
#       these properties as metadata in jetspeed-portlet.xml
#----------------------------------------------------------------------------------
merge.portal.parameters.with.portlet.parameters=false
merge.portal.parameters.before.portlet.parameters=false

To use public render parameters from the 2.0 spec


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: removing a portlet definition from Jetspeed 2</title>
<author><name>David Sean Taylor &lt;d.taylor@onehippo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c0068D312-5A50-44F5-A108-9D6EFEB7AD2D@onehippo.com%3e"/>
<id>urn:uuid:%3c0068D312-5A50-44F5-A108-9D6EFEB7AD2D@onehippo-com%3e</id>
<updated>2009-11-19T21:12:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Nov 19, 2009, at 9:11 AM, cenk.oguz@ica.se wrote:

&gt; Hi,
&gt;
&gt; I have deployed portlet definitions in Jetspeed2, but is there
&gt; functionality for undeploying/deleting the portlet definitions?
&gt; Can not find any way to do this from web interface.
&gt;
You did not specify which version.... here is how to delete portlet  
applications

2.1.3:

Login as admin and go here: (assuming running on localhost:8080)

http://localhost:8080/jetspeed/portal/Administrative/palm.psml

press stop then delete or undeploy for the specific Portlet App

2.2:

Login as admin and go here: (assuming running on localhost:8080)

http://localhost:8080/jetspeed/portal/Administrative/pam.psml

press stop then delete or undeploy for the specific Portlet App

--

When I want to delete individual portlets, I generally just remove  
them from the portlet.xml  and redeploy


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>removing a portlet definition from Jetspeed 2</title>
<author><name>cenk.oguz@ica.se</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3cOF27C576AD.DA4B4C28-ONC1257673.005E4730-C1257673.005E66C8@ica.se%3e"/>
<id>urn:uuid:%3cOF27C576AD-DA4B4C28-ONC1257673-005E4730-C1257673-005E66C8@ica-se%3e</id>
<updated>2009-11-19T17:11:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

I have deployed portlet definitions in Jetspeed2, but is there 
functionality for undeploying/deleting the portlet definitions?
Can not find any way to do this from web interface.

BR,
Cenk



ATTENTION:
This e-mail may contain confidential information that is intended solely 
for the addressee. If you are not the intended recipient, you should 
delete this message and are hereby notified that any disclosure, copying, 
or distribution of this message, or the taking of any action based on it, 
is strictly prohibited.


</pre>
</div>
</content>
</entry>
<entry>
<title>How can I retrieve a portal URL parameter within a portlet ?</title>
<author><name>Michel DAVID &lt;mimah35@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3caecb700b0911190736o53a3f034u1caaf23ca085a750@mail.gmail.com%3e"/>
<id>urn:uuid:%3caecb700b0911190736o53a3f034u1caaf23ca085a750@mail-gmail-com%3e</id>
<updated>2009-11-19T15:36:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi all,

I have a Jetspeed 2 portal and in a portlet included in this portal I have
to read a parameter passed to the portal URL and share it as a
publicRenderParameter.
How can I do this ?

Example :
http://localhost:9080/jetspeed/portal/Test.psml?secretKey=xxxx-yyyy-zzzz

Then I have to add the parameter secretKey in a publicRenderParameter to be
rendered in different portlets.

Thanks,

Michel.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: portal-page-actions</title>
<author><name>David Sean Taylor &lt;d.taylor@onehippo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200911.mbox/%3c0EE62552-0BC9-4C56-80EB-E83FF28AF4EC@onehippo.com%3e"/>
<id>urn:uuid:%3c0EE62552-0BC9-4C56-80EB-E83FF28AF4EC@onehippo-com%3e</id>
<updated>2009-11-18T04:06:12Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

On Nov 17, 2009, at 2:29 PM, Jeff Pierce wrote:

&gt; Within the portal page actions is an edit icon and a help icon.  The  
&gt; help
&gt; icon displays Portal Online Help and it appears the same for each  
&gt; page.
&gt;
&gt; Is it possible to create  your own page level help so you could have  
&gt; each
&gt; page display different help?
&gt;
&gt; I looked around a bit in the PSML and at the PageManager but didn't  
&gt; find
&gt; anything.
&gt;
Page level help configured in the layout template's portlet.xml,  
although none of the layout portlet definitions actually configure it,  
so it defaults to

templates/layout/html/columns/layout-help.vm

Its not really much there, but it is localized

So if you wanted to configure help based on this portlet.xml approach,  
for all your layout pages (one column, two column etc....) you would  
need to declare a help view init parameter something like:

     &lt;init-param&gt;
       &lt;name&gt;HelpPage&lt;/name&gt;
       &lt;value&gt;myHelpPage&lt;/value&gt;
     &lt;/init-param&gt;

I don't know of an easy way to get per page help, but I will consider  
that in the next release as we are getting away from the "one layout  
per layout variation approach"


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



</pre>
</div>
</content>
</entry>
</feed>
