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: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
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

Categories

HOME
windows-7
reportportal
memory-leaks
zend-framework2
quill
gspread
ng-admin
cortex-a
wysiwyg
game-physics
cpanel
x-frame-options
lstm
jsonserializer
attask
boolean-expression
mousewheel
kadanes-algorithm
fop
avplayeritem
myob
yosys
net-snmp
ui5
bus-error
maximo
dss
chrome-native-messaging
pitest
exponential
idl
geo
modelandview
vsts-package-management
readfile
declare
concrete5-5.7
onbackpressed
stereo-3d
mod-fcgid
matlab-cvst
rich-text-editor
catia
fastq
dojox.grid.datagrid
rapidweaver
proof
chunked-encoding
crystal-reports-8.5
tcserver
fontconfig
httplib2
jszip
uicollectionviewlayout
pspice
vst
visible
gherkin
soda
nssplitview
eml
xmp
license-key
test-class
optionbutton
ninject.web.mvc
matcaffe
pyopengl
graphical-logo
hana-xs
cpan
client-side-validation
cocoascript
omnifocus
microblaze
vcl
iostream
outline
facebook-wall
smartystreets
mfmailcomposeviewcontroll
colt
cppdepend
android-looper
uipickerviewcontroller
roxygen
visual-studio-addins
opendata
real-time-updates
nsmatrix
vmware-server
objcmongodb
abnf
domain-calculus
trailing-slash
ubuntu-11.10
returnurl
parameterization
concurrent-programming
nemerle
datacontract
opengl-es-lighting
dcpu-16
recordset
unreachable-code
external-assemblies
scala-2.8
savestate
nt4
system-codedom-compiler

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