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 :
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 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 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.
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
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
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 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?
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 :
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
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 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
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 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 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
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
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 :
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
Window w =
currentPage.createWindow(portalWindowName,ContentType.PORTLET,instanceId);
log.info( window[+w+] is assigned with portlet [+instanceId+]
successfully);
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
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 :
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 :
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.
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
24 matches
Mail list logo