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

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

Categories

HOME
rest
symfony
openssl
freepascal
voip
wms
apollo
automated-tests
apache2
phonegap-cli
adsense
yocto
sequelize.js
proguard
gimp
click
cartodb
ndis
wordpress-theming
activesync
simple-injector
multiple-monitors
pdo
mod-pagespeed
scala-native
ada
zoho
nmake
cruisecontrol.net
shopping-cart
hanami
chrome-native-messaging
dpi
ipfw
hotmail
division
geomesa
color-scheme
equivalence
jquery-multidatespicker
intellilock
wsadmin
dart-pub
jupyter-console
xbim
microdata
constants
dojox.mobile
g1gc
prototypejs
tableau-server
taskmanager
drawingarea
sapui
spring-data-hadoop
cgcontext
windows-95
tcserver
jexl
garrys-mod
windows-azure-pack
pagekit
brython
spring-lemon
string-parsing
amazon-kcl
acm
function-fitting
application-loader
app.xaml
fabric-twitter
mptcp
digits
debian-based
adobe-indesign
subversion-edge
adodb
searchkick
musl
sqoop2
alphablending
scala-2.11
fragment-tab-host
dto
outline
bsp
mfmailcomposeviewcontroll
funkload
level
lumx
magic-numbers
uipickerviewcontroller
mimosa
bigint
convex-polygon
cdata
loop-invariant
astyanax
vmware-server
ienumerator
backbone-relational
zend-lucene
template-haskell
usn
cadisplaylink
symfony-2.0
isolatedstorage
entity-framework-ctp5
audiostreamer
out-of-browser
quick-search
integer-promotion

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