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

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
ui:repeatn tag inside ui:repeat..not working
<ice:outputMedia> and <ui:repeat>
HOW TO HIDE/IGNORE ?RVN in Icefaces
Two ICEfaces panel positioned interacting
java.lang.ClassNotFoundException: com.icesoft.faces.util.event.servlet.ContextEventRepeater
how to push component state changes to multiple different pages using icefaces
How can Websphere PUMA SPI (PumaLocator) be used with an ICEfaces Portlet?
IceFaces and FileResource - delete after session expires
icefaces 2 beta 1: binding selectmanycheckbox to map raises conversion error

Categories

HOME
converter
jdbc
cntk
plsql
oauth
itext
bower
deep-linking
couchdb-2.0
dataframe
data-science-experience
flexbox
keystore
mongodb-query
uiview
datagrip
mousewheel
plupload
avplayeritem
codelite
spring-data-neo4j
edge-detection
weinre
gpib
construct-2
division
npm-shrinkwrap
wfp
vmd
liquid-xml
ddms
resuming-training
scalafx
facebook-chatbot
encapsulation
prototypejs
production-environment
azureportal
emoticons
objloader
coremidi
dbscan
spinlock
asynccallback
sonarqube5.3
lemoon
windows-vista
wikitext
datasnap
visual-studio-code
pl-i
proximity
rhel5
genetic-programming
humanizer
argument-passing
level
delphi-xe3
ksoap2
wic
document-database
swrl
dig
gridworld
symphony-cms
digital-design
mozart-mvc
lync-server-2010
autostart
point-sprites
separation-of-concerns
handwriting
qtembedded
goliath
cookieless
for-xml-path
gwt-2.2-celltable
inline-if
weborb

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