Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
amir55
Post subject: page colour never changes in jsf MyEclipse use  PostPosted: Mar 06, 2009 - 08:54 PM
Registered Member
Registered Member


Joined: Oct 15, 2005
Posts: 173

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
 
 View user's profile Send private message  
Reply with quote Back to top
rmcvay
Post subject: RE: page colour never changes in jsf MyEclipse use  PostPosted: Mar 06, 2009 - 09:03 PM
Registered Member
Registered Member


Joined: Sep 17, 2004
Posts: 217

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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
amir55
Post subject:   PostPosted: Mar 07, 2009 - 08:40 PM
Registered Member
Registered Member


Joined: Oct 15, 2005
Posts: 173

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
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits