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

Hide menuBar on click icefaces
ice:paneConfirmation - is it really so bad?
SessionRenderer not rendering throws ViewExpiredException
icefaces 1.8.2 Datapaginator unexpected PaneltabSet content swap
How can i download ICEfaces-1.7.0 Netbeans plugin?
Icefaces ace:autoCompleteEntry not working
ICEFaces: values for the “icon” attribute
EffectQueue and chaining effects in IceFaces 1.8
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

Categories

HOME
sql-server
vue.js
ssas-2012
google-cloud-bigtable
hana
parse-server
recyclerview
ios10
branch.io
quill
httpclient
dropbox
pca
xamarin-studio
outlook-web-addins
onsen-ui2
finite-group-theory
uiscrollview
cs-cart
store
maxima
riak
aspell
derived
ms-access-2007
embedly
facebook4j
jquery-scrollify
croppic
compare-and-swap
switching
continuous-deployment
aurelia-binding
blackboard
vegan
android-vpn-service
backup-strategies
pdflatex
data-extraction
salesforce-chatter
css-counter
boilerplate
bigcartel
dql
fltk
s3cmd
socketscan
android-maps-v2
pdftk
g1gc
jdbi
ivona
matlab-cvst
data-integration
web-deployment-project
pinvoke
workflow-foundation-4.5
tofixed
fontconfig
lotus
rsqlite
git-annex
visible
freetype2
metalsmith
windows-nt
twgl.js
portfolio
license-key
servlet-3.0
sonarqube5.3
insertion-sort
getrusage
sem
pyrocms
leadtools-sdk
xjc
debian-based
fragment-tab-host
jstat
bullet
edit-in-place
document-database
nsmatrix
image-zoom
execvp
stagefright
multiple-conditions
ng-pattern
mstsc
mailcore
appfog
wpdb
point-sprites
nintendo
ubuntu-11.04
nsindexpath
handwriting
charts4j
noir
for-xml-path
.app
loadui
hibernate3-maven-plugin
sitemappath
external-assemblies
winverifytrust
webrat
castle-validators
outlook-form

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