facebook

link inside a grid not working in jsf

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

    amir55
    Participant

    hi all

    I am trying to a use a link inside a grid and it gives error in running why?

    <h:panelGrid border=”1″ columns=”2″>
    <h:outputText value=”here is working”></h:outputText>

    <h:outputText value=”here is not working
    <h:commandLink action=”page2″>
    <h:outputText value=”page2″ />
    </h:commandLink>
    “>
    </h:outputText>
    </h:panelGrid>

    anyone knows how to use alternative for a layout and using a commandlink in jsf

    cheers

    Amir

    #288010 Reply

    Loyal Water
    Member

    Whats the error that your getting?

    #288061 Reply

    amir55
    Participant

    hi

    the error is

    ServletException in:/pages/page1/body.jsp] /pages/page1/body.jsp(26,29) equal symbol expected’

    the 26,29 is on the character ” on page2

    It loks like does not liike nested double quotes. I tried all options I can but of no use

    thanks a lot

    #289857 Reply

    rmcvay
    Member

    Either escape the embedded quotes or figure out a different way to express it.

    #289861 Reply

    amir55
    Participant

    hi dear

    Can you kindly make the possible to attempt changes on the ocde.

    many thanks really

    Amir

    #289978 Reply

    rmcvay
    Member

    Here’s the first thing I’d try.

    <h:outputText value=”here is not working
    <h:commandLink action=’page2′>
    <h:outputText value=’page2′ />
    </h:commandLink>
    “>

    #290068 Reply

    amir55
    Participant

    thanks

    but you have not made any changes t my code. Have a look.

    Amir

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: link inside a grid not working in jsf

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