[jboss-user] [JBoss Portal] - Query: List of portlets on a pgae

2008-05-02 Thread pshaktig
Hi all, Does there exist any api by which I can retrieve list of all the portlets that exist on current portal page? Is there any other method to achieve this? Thanks in advance. Shakti View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148265#4148265 Reply t

[jboss-user] [JBoss Portal] - Portlets: Partial Refresh

2008-04-21 Thread pshaktig
Hi all, This is query regarding partial refresh on JBoss portal. I have three portlets on a page. Whenever I perform action in portlet-1 processAction() of portlet-1 is invoked and then deView of portlet-2 and portlet-3. I read through partial refresh section of JBoss reference guide and enabl

[jboss-user] [JBoss Portal] - Page layout: 3columns layout error

2008-04-02 Thread pshaktig
Hi all, When I try to change the layout of the default page I get an exception like: An error occurred at line: 12 in the jsp file: /layouts/3columns/index.jsp The method setJspContext(JspContext) in the type SimpleTagSupport is not applica ble for the arguments (PageContext) 9: 10: 11:

[jboss-user] [JBoss Portal] - Issue with doView() in case of multiple portlets

2008-03-31 Thread pshaktig
Hi all, I have a portal which contains 6-7 portlets. Each portlet, on some action redirects (requestdispatcher.include(req,res)) control to a jsp page. Each portlet has with it an associated jsp. The jsp page for each protlet calls a servlet whicd does some processing and sends back the respons

[jboss-user] [JBoss Portal] - Re: InterPortlet Communication: one to many portlet communic

2008-03-31 Thread pshaktig
Please provide appropriate links to follow if the question is already posted. I searched thru the entire forum but could not find relevant information. Thanks, Shakti View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140322#4140322 Reply to the post : http://w

[jboss-user] [JBoss Portal] - InterPortlet Communication: one to many portlet communicatio

2008-03-31 Thread pshaktig
Hi All, My requirement is such that an action in one portlet should invoke some acctions to occur in all other portlets in the page(about 6-7 portlets in my page). The article http://docs.jboss.org/jbportal/v2.2/reference-guide/en/html/ipc.html says that JBoss IPC enables one-to-one relations

[jboss-user] [JBoss Portal] - Re: How to retrieve username?

2008-03-24 Thread pshaktig
Okay found it out. In my portlet I set a session variable as PortletSession session = request.getPortletSession(true); session.setAttribute("userName", user, PortletSession.APPLICATION_SCOPE) Since the varialbe is app scoped it is available in servlet as session.getAttribute("userName"). Th

[jboss-user] [JBoss Portal] - How to retrieve username?

2008-03-24 Thread pshaktig
Hi all, I have deployed a portlet in JBoss. I login into the portal and fire a request. I also have a servlet which is part of the same web application of which portlet is a part. While trying to retrieve username using request.getPrincipal(), I get null. Any idea as to why I am getting null

[jboss-user] [JBoss Portal] - Reagrding Login Module Implementation deployment

2008-03-20 Thread pshaktig
Hi, I have implemented a custom login module extending IdentityLoginModule and prepared a jar of it. The question I have is: Is it a good practice to put the jar in jboss-portal.sar\lib directory for deploying custom login module. If not please suggest the good practices? Thanks, Shakti View

[jboss-user] [JBoss Portal] - Re: How to make a portlet secured

2008-03-18 Thread pshaktig
Hi, When I put security constraints in *-object.xml in admin portlet I can see tha page has view permissions for Admin role. However when I open the page it is accessible to everyone. Evene overwrite<...> not working Please provide some pointers. Thanks, Shakti View the original post : http:/

[jboss-user] [JBoss Portal] - Re: How to make a portlet secured

2008-03-18 Thread pshaktig
Hi Matthieu, Thanks for your solution. My portlet got secured. This is what I did in my portlet-instances.xml: overwrite AJAXSearchViewerPortletInstance AJAXSearchViewerPortlet Admin view

[jboss-user] [JBoss Portal] - Re: How to make a portlet secured

2008-03-18 Thread pshaktig
Hi Matthieu, I did the same. But its not working. In portlet-insatances.xml made the entry you suggested. Do I need to disable viewrecursive action for the default portal? Thanks, Shakti View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137361#4137361 Reply t

[jboss-user] [JBoss Portal] - How to make a portlet secured

2008-03-18 Thread pshaktig
Hi all, I have deployed HelloWorldPortlet (avaialble at portletSwap.com) on JBoss Portal 2.6. Now I need to make this portlet secured so that only users from the roles defined in portlet-instance.xml can access this portlet. I have made proper entries for security-constraints in portlet-instanc