voyent
icefaces and jstl access to a bean  XML
Forum Index -> Woodstock to ICEfaces Migration
Author Message
cristiansaavedra

Joined: 01/Jul/2009 00:00:00
Messages: 2
Offline


Hello

I'm migrating my application from woodstock to icefaces and i got stuck on the next issue:

At the end of the process, my application has to post to an external (totally out of my server) url, this url can change and could be https or http. So, in my woodstock application i got something like this.

Code:
 <form action="${Transaccion.idFactura}" id="datosEnvio" method="POST" name="datosEnvio">
                             <input name="codigoFactura" type="hidden" value="${Transaccion.idFactura}"/>
                                 <input name="valorFactura" type="hidden" value="${Transaccion.valor}"/>
                                 <input name="codigoAutorizacion" type="hidden" value="${Transaccion.codigoAutorizacion}"/>
                                 <input name="firmaTuCompra" type="hidden" value="${Transaccion.encodedAnswer}"/>
                             </form>
 


As you can see, i got the parameters from my bean, named Transaccion using the jstl access bean ${}.

But now, when i try to do the same using icefaces, the ${Transaccion.property} is not parsed. How can i solve this?

Thans a lot.
imac13

Joined: 11/Aug/2009 00:00:00
Messages: 1
Offline


Hello cristinasaavedra.

I'am begining with icefaces, but your doubt if i know to answer it.

In icefaces you must use that:

#{Class.property}

So in tag form you can't use "action" modificator, that modificator you use in tag imput, for example : commandButton or commandLink

Bye and i hope that my answer help you
cristiansaavedra

Joined: 01/Jul/2009 00:00:00
Messages: 2
Offline


Thank for your answer, but the problem is that i need to post to an external url, so i need to specdify the action in a regular form, extracting data from my beans.

Using #{Bean.property} doesn't work either because i'm not using an <ice:form/> tag
 
Forum Index -> Woodstock to ICEfaces Migration
Go to:   
Powered by JForum 2.1.7ice © JForum Team