MyEclipse: page colour never changes in jsf MyEclipse use

amir55 - Mar 06, 2009 - 08:54 PM
Post subject: page colour never changes in jsf MyEclipse use
Dear all

Iuse Myeclipse

when I try to load colours to the page I use the next for jsf code

<BODY TEXT="<h:outputText value="#{resumeBean.fgColor}"/>"
BGCOLOR="<h:outputText value="#{resumeBean.bgColor}"/>">

I get the colour value like red blue as text and not has changed the page colurs !1 why?

the page called show-prevew,jsp has the above code to read from a bean.

I expect the page should change colours and not write the colours as text.

many thanks

Amir
rmcvay - Mar 06, 2009 - 09:03 PM
Post subject: RE: page colour never changes in jsf MyEclipse use
Have you tried <%=resumeBean.fgColor%> instead of that custom tag? Jeez I hope that code isn't literally from one of the ME examples.
amir55 - Mar 07, 2009 - 08:40 PM
Post subject:
thanks but sorry not woeking
Can you tell me the alternative for next hstl code in jsf code.

I need to pass a parameter to a page.jsp.
simply
1 - how to redirect in jsf code with parameter to pass. That is it. This may sort the problem

********* JSTL ***************
<c:redirect url="/page.faces">
<c:param name="body" value="${leftBody.body}" />
</c:redirect>
***************

take care

Amir
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits