[jboss-user] [JBoss Portal Users] - Re: Localization of layouts

2009-11-18 Thread aspdeepak
Please be aware of the encoding issues of ResourceBundles the PropertyResourceBundles are not Unicode ready. Every unicode has to be converted into unicode escape sequences. This can be achieved using the native2ascii tool (thankfully there is an ant task for this). View the original post :

[jboss-user] [JBoss Portal Users] - Re: Localization of layouts

2009-11-16 Thread aspdeepak
I found the solution. The normal jsp based localization should be done. The resource bundles can be used to solve this issue. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4265998#4265998 Reply to the post :

[jboss-user] [JBoss Portal Users] - Localization of layouts

2009-11-15 Thread aspdeepak
Jboss App Server V 4.2.2 Jboss Portal - V 2.7.0 DB - Mysql 5.0 I need to localize my layouts (index.jsp). I learnt that portlets can be localized, but there is no information about the localization in layout. Any suggestions or help is greatly appreciable. View the original post :

[jboss-user] [JBoss Portal Users] - Re: Session Expiry Handling

2009-10-12 Thread aspdeepak
Jboss App Server V 4.2.2 Jboss Portal - V 2.7.0 DB - Mysql 5.0 you should have the portal and portlet session time out as the same to get rid of this kind of problems. you should configure the session-timeout in the following web.xml.

[jboss-user] [JBoss Portal] - Re: Handling PortalSessionEvent.SESSION_DESTROYED event

2009-05-12 Thread aspdeepak
Thanks for your reply. But my problem was to redirect the user to a automatically to a specified page, lets say login page. Also I tried using filters, but after session expiration, those filters could'nt be reached. I have solved this problem in a much simpler way, using javascript. All

[jboss-user] [JBoss Portal] - Re: Problem with PortletSession

2009-05-12 Thread aspdeepak
Thanks je.a.le for your solution It would be the optimal solution for handling the user related events. But I still can't understand why the PorteltSession gets cleared(null), when the portlet reloads. But this is not the case in PortalSession it lives through out the user session. View

[jboss-user] [JBoss Portal] - Re: Handling PortalSessionEvent.SESSION_DESTROYED event

2009-05-12 Thread aspdeepak
anonymous wrote : But my problem was to redirect the user to a automatically to a specified page, lets say login page. Means that the redirection need not require any user interaction. Also some of the form submit buttons, that leads to IPC, becomes unresponsive after session timeout; due

[jboss-user] [JBoss Portal] - No partial refresh in HTTPS

2009-05-12 Thread aspdeepak
Jboss App Server V 4.2.2 Jboss Portal - V 2.7.0 DB - Mysql 5.0 partial refresh is working fine in http (i.e) in our development environment. but it is not working in the HTTPS, since our production needs https. Are there any specialized settings to be made to enable partial refresh in HTTPS?

[jboss-user] [JBoss Portal] - Re: Logout with expired session requires login twice

2009-05-12 Thread aspdeepak
hey the same issue occured to me. Only solution is to automatically reload the page. please go through the following post for more information on automatic redirection on session expirtation. http://www.jboss.org/index.html?module=bbop=viewtopict=154498[/url] View the original post :

[jboss-user] [JBoss Portal] - Re: Logout with expired session requires login twice

2009-05-12 Thread aspdeepak
sorry this is the correct URL ;) http://www.jboss.org/index.html?module=bbop=viewtopict=154498 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4230438#4230438 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4230438

[jboss-user] [JBoss Portal] - Re: Problem with PortletSession

2009-05-05 Thread aspdeepak
I some how found that there is an inconsistent (may be) behavior of PortletSession attributes, since the stored values vanishes after page rendering. To be more precise the values become null after the page refreshes, I don't know whether this is a bug. But I started using PortalSession

[jboss-user] [JBoss Portal] - Problem with PortletSession

2009-05-04 Thread aspdeepak
Jboss App Server V 4.2.2 Jboss Portal - V 2.7.0 DB - Mysql 5.0 I need to perform certain logic when the user logs in. ie, for each session I need to perform certain logic, that too in start of the session. This is my code, where i get a PortletSession attribute IS_FIRST_LOAD which is

[jboss-user] [JBoss Portal] - Re: how to get PortalRuntimeContext from portlets

2009-05-02 Thread aspdeepak
thank you apemberton for your reply. Your suggestion really worked. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4227970#4227970 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4227970

[jboss-user] [JBoss Portal] - Handling PortalSessionEvent.SESSION_DESTROYED event

2009-04-28 Thread aspdeepak
Jboss App Server V 4.2.2 Jboss Portal - V 2.7.0 DB - Mysql 5.0 I have written a separate listener class Cem4mPortalEventListener implementing PortalEventListener . I have made the necessary mbean injections and i am also successful in loggig all portal events. But now I need to make my

[jboss-user] [JBoss Portal] - how to get PortalRuntimeContext from portlets

2009-04-27 Thread aspdeepak
Jboss App Server V 4.2.2 Jboss Portal - V 2.7.0 DB - Mysql 5.0 I currently have 4 portlets. All are deployed as independent web applications. I need to share some objects among these portlets. I tried using PortletSession, but its scope is limited, I am also afraid of making it

[jboss-user] [JBoss Portal] - Portal to portal Redirection

2009-02-11 Thread aspdeepak
I am using Jboss App server jboss-4.2.2.GA Jboss portal 2.7.0 G.A DB Mysql 5.0 I have 3 portals portalA, portalB, portalC. PortalA is the default portal. It should act as a Controller. i.e based on the UserRole It has to Redirect to either portalB or PortalC I have obtained the users/Role

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

2009-02-05 Thread aspdeepak
It should probably work with the doView() itself, Have you changed the default\deploy\jboss-portal.sar\conf\data\default-object.xml for handling the ajax support. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4207578#4207578 Reply to the post :

[jboss-user] [JBoss Portal] - Re: How to create a new Portlet Instance using API

2009-01-22 Thread aspdeepak
hi you should create a Window and assign this newly created portlet instance into that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4204212#4204212 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4204212

[jboss-user] [JBoss Portal] - Re: How to create a new Portlet Instance using API

2009-01-22 Thread aspdeepak
Window w = currentPage.createWindow(portalWindowName,ContentType.PORTLET,instanceId); log.info( window[+w+] is assigned with portlet [+instanceId+] successfully);

[jboss-user] [JBoss Portal] - How to Create or get a Page Programatically

2008-12-29 Thread aspdeepak
I am using Jboss AS - 4.2.2 GA Jboss portal - 2.7.0 GA. I want to create or get a portal Page dynamically(Programatically) I have written Page currentPage = new PageImpl().getPage(QaimPortal); but it thrown me a NullPointerException. Any Help is greatly appreciable. View the original post

[jboss-user] [JBoss Portal] - Re: including javascript, CSS in portlets

2008-12-28 Thread aspdeepak
hi ozguy.. Your second option is very correct we tried to use the absolute url instead of relative. It works fine. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4198286#4198286 Reply to the post :

[jboss-user] [JBoss Portal] - Re: including javascript, CSS in portlets

2008-12-28 Thread aspdeepak
Please also include the portlet context name Eg: http://:/portlet-ctx-name/js/xyz.js Incase if u need a file form your portlet web apps /js directory. 'portlet-ctx-name' is nothing but the actual portlet web application context View the original post :

[jboss-user] [JBoss Portal] - How to Create Portlet Instances Dynamically

2008-12-28 Thread aspdeepak
My requirement is to dynamically create portlet instances and to bind them to the window (dynamically) of portal page. To be more elaborate, I will have a left navigational portlet, which acts like the generator for the main portlets. so when ever the event is fired from navigational portlet.

[jboss-user] [JBoss Portal] - including javascript, CSS in portlets

2008-12-15 Thread aspdeepak
I am new to Portlets. I have tried to include my javascript into jsp (Portlet-VIEW) . The javascripts are written seperately under /js folder in my portlet's root directory. I am unable to access them directly in jsp. Not only the .js but also the .css This was my first way of accessing the