tags:

views:

414

answers:

2

Hello ! 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

A: 

You haven't said about what technology you use(jsp,jsf?)

For jsf try

A: 

The ampersand (&) is the culprit; you need to escape it or else IceFaces gets confused about the page structure.

Timo