facebook

datatable vars not resolved in EL

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #257177 Reply

    In 5.0, the validator for jsf pages is giving me “cannot be resolved” warnings for every use in EL of a var set up in a datatable tag. Can I do anything to get the validator to resolve these variables?

    I appreciate any help I can get. Thanks.
    Douglas

    #257226 Reply

    Riyad Kalla
    Member

    I have a feeling the problem may be another form of this issue described here:
    http://myeclipseide.com/PNphpBB2+file-viewtopic-t-13364.html

    Can you give me an example page so I can reproduce it here locally?

    #257237 Reply

    Here is an example. The “curExperience” variable in the EL statement in the column tag is marked as unresolved by the validator.

    While I’m at it, the “width” param is also tagged with a warning as “not a valid integer”, though it seems to me a passthrough value like this should be considered valid.

    
    <h:dataTable value="#{addMentorEventBean.allExperiencesList}"
             var="curExperience"
             cellpadding="0"
             cellspacing="0"
             border="0"
             width="100%"
             columnClasses="searchExperienceListCol"
             styleClass="searchExperienceList">
                         
              <h:column>
                         <h:outputText value="#{curExperience.experienceDesc}" />
              </h:column>
    
    ...
    

    Again, thanks for any help you can offer.

    Douglas

    #257243 Reply

    Riyad Kalla
    Member

    Douglas,
    These both seem to be problems with the validator, I will file them as bugs. Sorry for the trouble.

    #257244 Reply

    No problem. Thanks for the reply.

    #261540 Reply

    jief
    Member

    What new about this bug ?

    #261546 Reply

    Riyad Kalla
    Member

    Nothing new to report yet, it’s getting a lot of attention and we are discussing strategies internally for it. There is a coordination issue with WTP that has to be looked at additionally so it’s not a quick fix by any means.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: datatable vars not resolved in EL

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