[jboss-user] [JBoss Portal] - Rendering Portal Pages

2009-07-09 Thread dvanwest
Greetings, We're using portal v2.6.4. We have a tree of pages defined, with pageA the parent of pageB. When we access a page with a URL like: https://my.server.org/portal/myportal/pageA/pageB it appears, from log messages, that pageA is rendered, then pageB is rendered. I'd have expected

[jboss-user] [JBoss Portal] - References to portlet instances

2009-06-01 Thread dvanwest
Is there an easy way, via the API, to find out if a portlet instance is being used (referenced on a page)? I assume one could look at each portal and walk the tree, but that could get difficult if there are lots of dashboards. Is there another way? Thanks. View the original post : http://www

[jboss-user] [JBoss Portal] - Re: Removing Users from Portal

2009-05-08 Thread dvanwest
Found part of the solution, by using the following method: customizationManager.destroyDashboard(userId); But now I'm wondering how one removes portlet preferences that are not associated with dashboard portlets. How does one find the portlets that a user has customized via the API? Any sugg

[jboss-user] [JBoss Portal] - Re: Removing Users from Portal

2009-05-06 Thread dvanwest
Looking at the database, it appears that calling the removeUser() method doesn't cleanup all other user related information in the JBoss portal database. I see user references left in jbp_instance_per_user. Don't know what else might be lingering. Is there some other method of removing inac

[jboss-user] [JBoss Portal] - Re: Access to User's Dashboard from a Servlet

2009-04-18 Thread dvanwest
While the example I referenced before was for dashboards, I'd hope that something like this would work with non-dashboard pages. I've not tried this however, as we define static portal pages via the portal-object.xml. This example assumes you want to implement via a servlet, rather than a port

[jboss-user] [JBoss Portal] - Re: Adding a portlet to an existing portlet page

2009-04-17 Thread dvanwest
Does this help? http://www.jboss.org/index.html?module=bb&op=viewtopic&t=123030 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226271#4226271 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226271 __

[jboss-user] [JBoss Portal] - Re: How to set empty renders for portlets

2009-04-17 Thread dvanwest
We typically indicate the empty renderer in the page description file portal-object.xml. Not sure this approach will meet your needs. | | Intro | introInstance | top | 2 | |

[jboss-user] [JBoss Portal] - Removing Users from Portal

2009-04-17 Thread dvanwest
Greetings, We're running portal version 2.4.2. If one uses the API's userModule.removeUser(userID) method to remove inactive users, will it cleanup things like customized pages, etc. that the user may have created? Or is that something I have to deal with explicitly? Thanks. View the origina

[jboss-user] [JBoss Portal] - Where is JBossPortlet.class

2009-03-19 Thread dvanwest
What jar contains the JBossPortet class? Running 2.6.4. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219626#4219626 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219626 __

[jboss-user] [JBoss Portal] - Overlays with Drag and Drop

2008-05-15 Thread dvanwest
Running portal 2.6.4. We have a number of portlets that employ overlays (absolute positioned divs which should float above the page) to display information. We've run into some issues when these portlets are used on pages that allow drag and drop. If a portlet window is dragged on the page, t

[jboss-user] [JBoss Portal] - Re: Implementing portlet-specific help

2008-05-08 Thread dvanwest
How about having your doHelp() method call your doView() method with an extra attribute, then have the doView() pop a help window or overlay? Or forget the help mode and just embed a help icon in your view mode. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&

[jboss-user] [JBoss Portal] - Re: how to external link in portlet

2008-04-14 Thread dvanwest
Here's one solution... The link you expose should return to the portlet (passing the URL of interest as a parameter), then in the processAction() method you can clip the URL of interest and display its content via the doView() method. View the original post : http://www.jboss.com/index.html?

[jboss-user] [JBoss Portal] - Disable Drag and Drop on Portlet

2008-03-05 Thread dvanwest
Using portal 2.6.4. We've setup a portlet to display without decoration via the following: | Teasers | Teasers | teaser | 0 | | | theme.renderSetId | emptyRenderer | |

[jboss-user] [JBoss Portal] - Re: How can I to include JavaScript files in Portlets to JBo

2008-02-25 Thread dvanwest
One solution: Include your JavaScript in a file and place in the web root of your project. Lets assume the project has a context root of /MyProject. Then in your JSP, send back the following along with your other output: | | Now you should be able to reference your JavaScript code in

[jboss-user] [JBoss Portal] - Dashboard 403 Error

2008-02-21 Thread dvanwest
Running portal 2.6.3. We setup a portlet to only allow view access to a group via the Admin Management Portlet. Works fine on regular pages, whose in the group see the portlet, those not in the group don't. On dashboard pages, which contain this portlet, a 403 error is generated for those f

[jboss-user] [JBoss Portal] - Re: Portlet Security Constraints

2008-01-29 Thread dvanwest
I've also tried adding the following to the *-object.xml that is used to configure the portal. With the overwrite option set. However it doesn't seem to make any difference. I'm not sure one can associate a security-constraint with the window... seems like I saw a note about that somewhere.

[jboss-user] [JBoss Portal] - Re: Portlet Security Constraints

2008-01-29 Thread dvanwest
Both posts you reference seem to deal with pages rather than portlets. I assume they should work in a similar manner... correct. Your comment about things not working via the descriptor files if the database already has been initialized is interesting. Maybe it is the root issue here? anonym

[jboss-user] [JBoss Portal] - Re: Portlet Security Constraints

2008-01-29 Thread dvanwest
Sorry, fat fingered something and it posted before I was done! So the example is from the portlet-instances.xml. The role is defined for the portal and it is the correct name (not the description). What am I missing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewto

[jboss-user] [JBoss Portal] - Portlet Security Constraints

2008-01-29 Thread dvanwest
Running portal 2.6.3. We're trying to configure a portlet instance to be displayed for only one set of folks. I've looked at the portal reference guide section 6.2.2 and I've tried various things to get the security constraints to work via the descriptors, but have not yet found the magic comb

[jboss-user] [JBoss Portal] - Loading portlet in parallel

2007-12-17 Thread dvanwest
Running portal 2.6.2. It appears that currently portlets are rendered sequentially as a page is being rendered. Are there any plans to make this process work in parallel? Sure would be nice! thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113546#

[jboss-user] [JBoss Portal] - Re: Access to User's Dashboard from a Servlet

2007-11-09 Thread dvanwest
We are trying to replace the edit dashboard screen with a simple drop-down panel that would allow one to add a portlet to a dashboard page. We've also added a delete button to the window decoration for dashboard portlets to allow folks to easily remove a portlet. View the original post : htt

[jboss-user] [JBoss Portal] - Re: Access to User's Dashboard from a Servlet

2007-11-05 Thread dvanwest
OK, I found it... looked in jboss-service.xml and then the stuff below works if you wrap in a transaction. MBeanServer mbeanServer = MBeanServerLocator.locateJBoss(); customManager = (CustomizationManager)MBeanProxy.get(CustomizationManager.class,

[jboss-user] [JBoss Portal] - Access to User's Dashboard from a Servlet

2007-11-05 Thread dvanwest
Greetings, Using portal 2.6.2. We are trying to access portal functionality from a servlet. I'm able to get access to the PortalObjectContainer and from there I can get to various portals, but I don't see a way to get to the user's dashboard. Can someone provide directions or hints? thanks.

[jboss-user] [JBoss Portal] - Adding delete button to portlet decoration

2007-10-31 Thread dvanwest
Running portal 2.6.2. We'd like to add a delete button to the window decoration for all portlets when displayed in the dashboard. If one clicked the button it would remove the window from the page. What is the best way to approach this? thanks. View the original post : http://www.jboss.co

[jboss-user] [JBoss Portal] - Re: iGoogle Style portel selection for dashboard

2007-10-18 Thread dvanwest
We are interested in something similar. Has anyone made any progress on this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096639#4096639 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096639 ___

[jboss-user] [JBoss Portal] - Re: Reference to parent page from portlet.

2007-10-18 Thread dvanwest
Alright, I found a reference to the original question in section 10.8.3 of the Portal Reference Guide. I'd sort of ignored this since I'd been looking for a direct method to the Window object, rather than using the PortalNode. As for getting a reference to a PortalObject from a PortalNode, it

[jboss-user] [JBoss Portal] - Re: Reference to parent page from portlet.

2007-10-17 Thread dvanwest
Can you be any more specific? I've looked the Portal Reference Guide and the API JavaDocs and it sure didn't jump out! Does the solution involve getting the portlet's parent node (window) then the window's parent node (page)? If so, how does one then convert the PortalNode reference into a P

[jboss-user] [JBoss Portal] - Re: Reference to parent page from portlet.

2007-10-17 Thread dvanwest
Surely this isn't impossible... is it? I haven't been able to navigate the API to find a solution, but there must be a way for a portlet to determine the page it's presented on at runtime. Right? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096129#4096129

[jboss-user] [JBoss Portal] - Reference to parent page from portlet.

2007-10-16 Thread dvanwest
Greetings, Using portal 2.6.2. How does one get a reference to the page on which a portal instance is deployed from the context of the portlet, in this case a JBossPortet? thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095801#4095801 Reply to the

[jboss-user] [JBoss Portal] - Javascript Problems with Portal and Internet Explorer

2007-09-26 Thread dvanwest
We're running portal 2.6.1 on a Solaris box for an evaluation. The installation is very generic at this point. Things work great with Firefox, but with IE v6 and v7 we have issues with drag & drop and clicking control buttons in the portlet headers. It's as though the drag & drop event handle