facebook

page colour never changes in jsf MyEclipse use

  1. MyEclipse Archived
  2.  > 
  3. Examples On-Demand
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #295636 Reply

    amir55
    Participant

    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

    #295637 Reply

    rmcvay
    Member

    Have you tried <%=resumeBean.fgColor%> instead of that custom tag? Jeez I hope that code isn’t literally from one of the ME examples.

    #295648 Reply

    amir55
    Participant

    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

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: page colour never changes in jsf MyEclipse use

You must be logged in to post in the forum log in