icefaces


ICEFACES : Multiple Parameters in link


i have a datatable with multiple rows , i want to put one link to redirect the values to one Servlet . the old call that i use is similar like this :
a onclick=openWindow('./Servlet?param1=xx&param2=xxx')
I m newbie in icefaces ... i want your help because i can put one parameter only like this :
ice:outputLinktarget="mainFrame" value="./Servlet?param1=#{item.id}
but when i put two parameters i ve errors in the code ...
ice:outputLinktarget="mainFrame" value="./Servlet?param1=#{item.id}&param2=#{item.id}
somebody knows to do it ?
thank you very much ! Tommy
You haven't said about what technology you use(jsp,jsf?)
For jsf try
The ampersand (&) is the culprit; you need to escape it or else IceFaces gets confused about the page structure.
Another way to do it:
<ice:outputLink target="mainFrame" value="./Servlet">
<f:param name="param1" value="#{item.id}"/>
<f:param name="param2" value="#{item.id}"/>
</ice:outputLink>
The f:param tags add the parameters to the base URL automatically.

Related Links

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
scrolling changes the size of the ice datatable headers
How to get values in dropdown list from database in icefaces?

Categories

HOME
json
spring
pug
jasmine
csvhelper
safari
is-empty
orientation
ios10
propertygrid
nodemailer
structuremap
dropbox
diagram
ipfs
spinnaker
xlsx
r-lavaan
arraylist
rails-activerecord
embedly
cruisecontrol.net
jquery-form-validator
dspic
tcpclient
remove-method
iis-10
dpi
vertex-buffer
positioning
invoke-command
pep8-assembly
geo
pycparser
rider
parse-android-sdk
issue-tracking
code-composer
python-idle
gist
pluck
volume
etherpad
rxvt
festival
spyne
sqldatareader
inject
backstop.js
picasa
activeweb
freetype2
mercurial-hook
spatial-query
multilingual-app-toolkit
picking
post-processing
sun-codemodel
intellitest
anti-patterns
abas
webhdfs
harp
ytplayerview
ibm-data-studio
git-checkout
scrollspy
stackframe
sortable
mov
edit-in-place
arangodb-php
opendata
stagefright
nuspec
google-closure-library
shortcuts
vertical-scrolling
qt4.6
marmalade-edk
enumerators
mpmovieplayer
jquery-selectbox
objectbrowser
adsl
noir
zend-form-element
pantheios
linfu
visual-studio-2010-beta-2
castle-validators
configurable
document-library

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