 |
|
 |
 |
|
 |
 |
| Author |
Message |
|
|
Post subject: page colour never changes in jsf MyEclipse use
Posted: Mar 06, 2009 - 08:54 PM
|
|
Registered Member


Joined: Oct 15, 2005
Posts: 125
|
|
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 |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: page colour never changes in jsf MyEclipse use
Posted: Mar 06, 2009 - 09:03 PM
|
|
Registered Member


Joined: Sep 17, 2004
Posts: 216
|
|
| Have you tried <%=resumeBean.fgColor%> instead of that custom tag? Jeez I hope that code isn't literally from one of the ME examples. |
_________________ Ray
Just another MyEclipse user
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Mar 07, 2009 - 08:40 PM
|
|
Registered Member


Joined: Oct 15, 2005
Posts: 125
|
|
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 |
|
|
| |
|
|
|
 |
|
|
| |
|
|
 |
|
 |
|
|
|
 |