icefaces


How can Websphere PUMA SPI (PumaLocator) be used with an ICEfaces Portlet?


Symptoms:
PumaLocator is unusable, every findXXX-method returns empty results or throws an exception because nothing was found.
Analysis:
The problem seems that, due to the ICEfaces specific architecture, the method GenericPortlet.doView is invoked only for the first time the Portlet is loaded, and not for the following (AJAX) page updates, e.g. in case of a called ActionListener.
If I use PumaLocator inside the doView-method, everything works fine.
I tried the following attempts yet:
Get the PumaLocator in doView, put it into Session and use it later - didn't work
Get the RenderRequest in doView, put it into Session and use it later to get a PumaLocator by passing that request - didn't work
I would be very glad to have any hints. Thank you!
PUMA checks the authorization for results by using information found in the Context. You must add JavaEE security roles in the deployment descriptor for the AJAX backend servlets the ICEFaces uses. As a thumb of rule if request.getRemoteUser() and request.getUserPrincipal() return something besides null you know PUMA will work. Otherwise it will NOT work and that is intended behaviour.
Alternatively you can attempt to disable the security checks of PUMA like this.

Related Links

Ace Datatable row selector with paginator
How to customize internal server error popup?
How to use more than one ace:fileEntry tag in the same page?
Enabling ICEfaces compat leads to not recognizing h:head and h:body
Passing parameter to <ice:rowSelector>'s clickListener attribute
ICEfaces configured for view, but h:head and h:body components are required
ace:tabSet style is corrupted when using ICEFaces 3
How to configure rime style in ICEfaces 3
scrolling changes the size of the ice datatable headers
How to get values in dropdown list from database in icefaces?
Data pager in icefaces not paging
use sbt for generate a webapp with icefaces
Cancel button Icefaces with immediate=true
how to redirect to j_security_check in the managed bean?
How do I disable a column using icefaces?
icefaces menu bar handling

Categories

HOME
sharepoint
dynamics-crm
warnings
google-tag-manager
otrs
angular2-directives
safari
rfc
getorgchart
cartodb
ndis
iso
xul
wysiwyg
image-recognition
flann
game-physics
cs-cart
viber
phpbb
statusbar
sensu
url.action
cgal
ggmap
mayavi
reply
data-conversion
positioning
service-locator
openpgp
hashcat
nunit-3.0
coreclr
parse-android-sdk
code-behind
ntfs-mft
fax
nsexception
ical-dotnet
nashorn
jdbi
context-free-language
livescribe
google-maps-ios
tofixed
photography
communication-protocol
garrys-mod
project-template
cjson
brython
coordinate-transformation
supportmapfragment
qt-linguist
approval-tests
asymptote
plone-3.x
calibration
chaining
cpu-speed
jquery-autocomplete
kendo-mvvm
livechat
internal
circos
bfd
asp.net-mvc-scaffolding
ng-pattern
mstsc
dynamics-ax-2009
fortran77
bulbs
osi
hobo
ajax.beginform
coff
posting
adobe-contribute
clients
front-controller
revision
dotproject

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App