facebook

Last MyEclipse 7.0 and IceFaces JSP validation problems

  1. MyEclipse Archived
  2.  > 
  3. ICEfaces Integration
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #292170 Reply

    Hi,

    I’m testing the last Myeclipse ide 7.0 and just have 3x little problems with jsp validation.
    My project is using ICEFaces 1.7.2 SP1 library.

    – First, when I’m using the “inputFile” Tag. The attribute “progressListener” only accept:
    “void method()” whereas we must use “void method(EventObject)”. And I’m getting an error.

    Does it exist a solution or is it a JSP validation bug ?
    It is the main problem I have. You can reproduce it with this small ICEFaces tutorial: http://facestutorials.icefaces.org/tutorial/inputFile-tutorial.html

    – Secondly, When a jsp is included into one other, all ICEFaces tags are warning.
    I’m getting “Tag ice:inputFile is missing required parent tag “form” (http://www.icesoft.com/icefaces/component)”

    But the tag “form” is present into the parent JSP…

    – Third, When I’m using ICEFaces datatables, I’m defining the “value” attribute.
    But When this value attribute is re-used into the sub columns tag, JSP validation doesn’t understand and mark a warning: “item cannot be resolved”

    Here is a small example with “item” value:

    <ice:dataTable id="data_List"
            value="#{bean.ContentTable.contentVOList}"
            columnClasses="titleColumn, descriptionColumn"
            rowClasses="oddRow, evenRow" styleClass="tableStyle">
    
            <!-- Title Column -->
            <ice:column id="columnTitre">
                <ice:rowSelector value="#{item.selected}"
                    selectionListener="#{bean.selectItem}"
                    id="rowselectorList" />
                <f:facet name="header">
                    <ice:commandSortHeader columnName="Title"
                        id="commandSortHeaderTitre">
                        <ice:outputText id="outputTitleHeader"
                            value="title" />
                    </ice:commandSortHeader>
                </f:facet>
                <ice:outputText value="#{item.title}" id="outputTitle" />
            </ice:column>
    
        </ice:dataTable>

    Thanks for your help.

    Best regards,

    Bal.

    #292171 Reply

    Note, that we are previously using myeclipseide 6.6 and first problem was ok.

    regards,

    #292203 Reply

    Greg
    Member

    Hello Bal,

    For issue #1 we will look into the issue of the inputFile, that could be a problem with the backing scheme/DTD used for icefaces validation.

    For issue #2, if the <form> is in a parent JSP and you are working in a JSP that is included from that parent, our validator does not know this relationship. So it will not know that you have properly included the <form> as a parent of your <ice:/> tags so you can just ignore that warning.

    For issue#3, it doesn’t look like you have a var=”item” in your datatable component tag. Try something like this:

    <ice:dataTable id=”data_List”
    value=”#{bean.ContentTable.contentVOList}”
    columnClasses=”titleColumn, descriptionColumn”
    rowClasses=”oddRow, evenRow” styleClass=”tableStyle”
    var=”item”>

    Hope this helps.

    #292364 Reply

    Riyad Kalla
    Member

    Baleyba,

    Great find on #1, we are getting that filed as a bug and fixed shortly.

    #292365 Reply

    Loyal Water
    Member

    – Secondly, When a jsp is included into one other, all ICEFaces tags are warning.
    I’m getting “Tag ice:inputFile is missing required parent tag “form” (http://www.icesoft.com/icefaces/component)”

    But the tag “form” is present into the parent JSP…

    Did you use the <jsp:include> tag for including a jsp into another jsp?

    #292496 Reply

    This message has not been recovered.

    #292497 Reply

    This message has not been recovered.

    #292533 Reply

    Greg
    Member

    This message has not been recovered.

    #292581 Reply

    This message has not been recovered.

    #292593 Reply

    Greg
    Member

    This message has not been recovered.

    #292595 Reply

    Greg
    Member

    This message has not been recovered.

    #292665 Reply

    This message has not been recovered.

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: Last MyEclipse 7.0 and IceFaces JSP validation problems

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