[jboss-user] [JBoss Portal] - Referencing path outside of portlet

2009-04-16 Thread Shazzaam
Hi, I have 2 or more portlets on a page that I want to use a shared js library for that exists outside of the portlet structure. If I add it to the jboss-portlet.xml for each: The browser loads the file twice because it attaches the portlet's context in front of it. Since JBoss portal is o

[jboss-user] [JBoss Portal] - emptyRenderer

2008-11-18 Thread Shazzaam
Is there a way to set a default RenderSet to emptyRenderer within the portlet configuration without setting an instance of the portlet? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4190267#4190267 Reply to the post : http://www.jboss.com/index.html?modul

[jboss-user] [JBoss Portal] - Re: where does prototype.js get added?

2008-11-14 Thread Shazzaam
sorry, forgot to add the code tags: Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189484#4189484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189484 ___ jboss-u

[jboss-user] [JBoss Portal] - where does prototype.js get added?

2008-11-14 Thread Shazzaam
Hi, I'm trying to find out where this gets loaded into the portal: I grepped all the files in the jboss portal with AS package, but it didn't find it. I would like to add a javascript file after this javscript file is loaded, doesn't appear I can do this anywhere in the layout customization o

[jboss-user] [JBoss Portal] - Looking for Portal APIs, are they available?

2008-07-10 Thread Shazzaam
Hi, I'm looking for APIs so that I can do some of these things, can anyone help me? -- Add/Delete/Update a Portal Instance -- Assign Pages to a Portal Instance -- Assign Portlets to a Page -- Assign Layout to a Page I'm sure these libraries must exist, but am having no luck finding documentatio

[jboss-user] [JBoss Portal] - Partial page refresh

2008-06-27 Thread Shazzaam
Would it be possible to take from the partial page refresh feature to load a portlet into a page via ajax, assuming you knew the instance id of the portlet? Also, I have a portlet in jboss portal 2.6.5. When I enable partial refresh for the page and click on a renderurl link within the portlet,

[jboss-user] [JBoss Portal] - core-admin portlet error

2008-06-26 Thread Shazzaam
Hi, I'm trying to copy the admin portlet code into a separate portlet with a maven build. I have it compiling successfully but when I deploy it I get this message, can someone tell me if it's possible to deploy the core-admin portlet as a standalone war? | 14:24:08,901 ERROR [[/my-admin]]

[jboss-user] [JBoss Portal] - Re: Create a new Portal Object through the API?

2008-06-26 Thread Shazzaam
Hi, So I was actually hoping to use the API library to add a new Portal instance through my Portlet's interface (similar to how the Core-Admin portlet works, you enter a Portal Name in a text box and it creates a new Portal) Is that Possible? Thanks! View the original post : http://www.jbos

[jboss-user] [JBoss Portal] - Re: Access a servlet from deployed portlet war

2008-06-25 Thread Shazzaam
nevermind, it was an included jsp that was causing the 404. thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160702#4160702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160702 __

[jboss-user] [JBoss Portal] - Create a new Portal Object through the API?

2008-06-25 Thread Shazzaam
Is it possible to create a new portal object by using the API? I was looking through the documentation but didn't see anything. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160688#4160688 Reply to the post : http://www.jboss.com/index.html?module

[jboss-user] [JBoss Portal] - Access a servlet from deployed portlet war

2008-06-25 Thread Shazzaam
I'm deploying a portlet along with a servlet in my war to: JBOSS_HOME/server/default/deploy When I try accessing it I get a 404 error. Assuming my war is named test.war and my servlet path is test.test, should the url below be the correct url, or should it be something else? http://localhost:

[jboss-user] [JBoss Portal] - Re: Adding JBoss Portal dependencies to Maven pom?

2008-06-25 Thread Shazzaam
If I don't include dependencies in maven but instead set the classpath to include jboss libraries in eclipse, can anyone tell me which directory i need to include to get the core libraries, assuming JBoss Portal 2.6.5? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [JBoss Portal] - Re: specifying javascript location in portal-themes.xml

2008-06-24 Thread Shazzaam
I'm not sure if it's possible, but can't you change your javascript to fire onload? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160281#4160281 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160281 __

[jboss-user] [JBoss Portal] - Re: Pop up in a Portlet.

2008-06-24 Thread Shazzaam
This is more to do with Javascript than the portal spec. Since JBoss uses Prototype have a look at this: http://prototype-window.xilinus.com/samples.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160268#4160268 Reply to the post : http://www.jboss.com

[jboss-user] [JBoss Portal] - Re: Which class handles defining layout and theme?

2008-06-23 Thread Shazzaam
Hey Michael, Isn't there some logic involved to determine this? In the identity admin portlet window you can set a default theme for a User. You can also set a default theme and layout for a page and a default theme and layout for an entire portal. It seems like there would be some class

[jboss-user] [JBoss Portal] - Which class handles defining layout and theme?

2008-06-18 Thread Shazzaam
Hi, Can you tell me which class handles defining which layout and theme should be used when a user logs in? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159117#4159117 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=

[jboss-user] [JBoss Portal] - Drag and Drop: Drag works, but Drop not working?

2008-06-18 Thread Shazzaam
Hi, When I go into the dashboard using the default theme and layout I am able to drag my portlets, but they aren't dropping into place after I move them. I'm using 2.6.5.SP1 and this happens with the bundle as well as with my src install. I'm not getting any javascript errors, and this is occ

[jboss-user] [JBoss Portal] - Adding JBoss Portal dependencies to Maven pom?

2008-06-18 Thread Shazzaam
Hi, I'm trying to create a portlet that uses some of the JBoss portal classes. In this case, I want to use the PortalContainer class. In my pom, I'm trying to add it like this: | | org.jboss.portal.common | common-common | 1.2.0 |

[jboss-user] [JBoss Portal] - Possible to add a portlet to a page via ajax?

2008-06-17 Thread Shazzaam
Is it possible to add a portlet to a page dynamically? For example, I click a link and it makes a call to some library in jboss portal passing the portlet instance, and returns the portlet's html to the page to display. Is that something that can be done easily, if at all? View the original po

[jboss-user] [JBoss Portal] - Re: What does PortletTagHandler do?

2008-06-17 Thread Shazzaam
Hey Thomas, Thanks. I was hoping this tag provided an easy way to embed a portlet within a portlet. Do you know if it's possible to do that? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158779#4158779 Reply to the post : http://www.jboss.com/

[jboss-user] [JBoss Portal] - What does PortletTagHandler do?

2008-06-17 Thread Shazzaam
Hi, I'm looking at the JBoss portal src code (version 2.6.5.SP1) and noticed in the admin portlet that it uses the jbp:portlet tag to include a list of portlet instances for managing portlets on a page. This tag appears to be accessing PortletTagHandler. Does this class actually import a sepa

[jboss-user] [JBoss Portal] - Re: Portal Admin customization

2008-06-16 Thread Shazzaam
Thanks for the replies. I was looking through the admin portlet code. In editPageLayout.xhtml it appears to pull in another portlet to get a list of instances: Can someone explain how this jbp:portlet tag works and where this add'l portlet is located? Thanks! View the original post : htt

[jboss-user] [JBoss Portal] - Portal Admin customization

2008-06-12 Thread Shazzaam
Hi, I'm looking into doing some customization of the admin portal. I need to assign a set of roles to a portal containing a set of pages. Each page would have a custom layout and set of portlets. Are there any Admin APIs that I can use? Also is it possible to create a standalone admin port

[jboss-user] [JBoss Portal] - Re: Modifying login

2008-06-06 Thread Shazzaam
Forgot to mention I will be using 2.6.5. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4156437#4156437 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4156437 ___ jboss-user mai

[jboss-user] [JBoss Portal] - Modifying login

2008-06-06 Thread Shazzaam
Hi, I'm pretty new to JBoss Portal and was wondering if anyone had any advice on modifying the login. What I would like to do is have a Sign In link that when the guest clicks on it will redirect them to a page that handles SSO. When they come back I'll need to verify that they have a cookie

[jboss-user] [JBoss Portal] - Re: Portlet permissions, using the security element

2008-06-06 Thread Shazzaam
Hey PeterJ, thanks for replying. By "write permission" I'm just referring to any custom permission that you may want to add to check a user's permission for a given portlet. Currently, the only permissions available are view, view-recursive, personalize and personalize-recursive View the orig

[jboss-user] [JBoss Portal] - Re: Link for downalding a document PDF in a portlet

2008-06-03 Thread Shazzaam
You need to point your link to a servlet and pass the necessary information and have the servlet create the pdf. A portlet won't work for creating a pdf, excel doc, csv etc... because the portal content will have already been drawn to the view before the portlet content is created. View the o

[jboss-user] [JBoss Portal] - Re: Portlet permissions, using the security element

2008-06-03 Thread Shazzaam
Hi, Maybe I didn't ask the question right, I'm going to rephrase it, in hopes that it's more clear what I'm asking: In JBoss portal 2.6.5 is it possible to create custom permissions for a role at the portlet level? For instance, say I want to add a Write permission so that only certain roles

[jboss-user] [JBoss Portal] - Portlet permissions, using the security element

2008-05-29 Thread Shazzaam
Hi, I found this documentation for an older version of JBoss Portal, where you can set custom permissions for a portlet in the jboss-portal.xml: http://docs.jboss.org/jbportal/v2.0RC2/reference-guide/en/html/security.html I don't see this in the newer documentation, and when I try implementing