You cannot reference local variables in your JSP within JSF. You might want to put them in the request for this to work.
regards, Martin On 8/24/06, Wolf Benz <[EMAIL PROTECTED]> wrote:
- in yr backing bean: via the External Context (FacesContext.getCurrentInstance().... --> session) - in yr page: have a look here: http://wiki.apache.org/myfaces/ InvokingJsfPagesWithStandardUrls good luck, -- Wolf On 24 Aug 2006, at 18:06, Wdiaz wrote: Hi. How can I use a variable that this in session? I have this: <% String estilo = "001"; %> I try to use the variable like that <h:commandButton id="boton" value="Show more" action="" image="../ images_#{estilo}/ico_lim.gif"/> but it does not work, The html remains like that <input id="frmPro:panelTabbedPane1:boton" name="frmPro:panelTabbedPane1:boton" type="image" src="../images_/ ico_lim.gif" /> And it should remain like that <input id="frmPro:panelTabbedPane1:boton" name="frmPro:panelTabbedPane1:boton" type="image" src="../images_001/ ico_lim.gif" /> How I do? -- Cordialmente William Diaz Pabón Coordinador Técnico de Desarrollo Vicerrectoría de Gestión y Desarrollo Tecnológico Universidad de Pamplona
-- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

