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 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
icefaces modal popup timeout issue
ICEfaces messages
ICEFACES : Multiple Parameters in link
Realtime website using Icefaces

Categories

HOME
cakephp-3.x
dotnetrdf
visual-studio-2013
google-tag-manager
google-contacts
wxwidgets
youtube-livestreaming-api
tomcat7
bibtex
azureservicebus
phonegap-cli
phaser-framework
intellij-plugin
automata
data-analysis
cloudflare
riak-ts
chocolatey
google-api-java-client
linq-to-sql
eclipselink
raphael
uiautomator
esql
binutils
bcrypt
pdfsharp
activepython
sumo
emv
cep
autofill
blackboard
backup-strategies
oracle-xml-db
hawtio
precedence
.net-assembly
es-shell
mongoexport
cross-entropy
flex4.5
rule
wcf-security
dart-pub
jupyter-console
facebook-chatbot
azure-availability-set
recycle-bin
windows-firewall
nstouchbar
bnd
google-maps-ios
gce
cleditor
xib
slam-algorithm
json-schema-validator
uiprogressview
soda
git-rebase
magento-1.4
portfolio
loopj
void
insert-into
sem
xjc
pgm
httpie
rhel5
qtestlib
and-operator
adcolony
argument-passing
pic24
sqljdbc
real-time-updates
windows-mobile-6
convex-polygon
facebook-sdk-3.1
onselect
trimming
visual-studio-2003
localtime
ng-pattern
client-side-scripting
htmltextwriter
icsharpcode
pys60
attachevent
concurrent-programming
point-sprites
ou
sendfile
oggvorbis
lazy-c++
inline-if
ajaxpro
data-execution-prevention

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