ICEfaces
  1. ICEfaces
  2. ICE-9828

Remove the icecore:singleSubmit tag

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.BETA
    • Fix Version/s: 4.0.BETA, 4.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      server
    • Assignee Priority:
      P1
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration

      Description

      Remove the icecore:singleSubmit component and its supporting code in the bridge.

        Activity

        Hide
        Ken Fyten added a comment -

        Any showcase demos using ice core:singleSubmit should be converted to use f:ajax, and make sure the scope of any f:ajax tag only includes h:components, as ace comps require a nested ace:ajax tag instead.

        Show
        Ken Fyten added a comment - Any showcase demos using ice core:singleSubmit should be converted to use f:ajax, and make sure the scope of any f:ajax tag only includes h:components, as ace comps require a nested ace:ajax tag instead.
        Hide
        Ken Fyten added a comment -

        Need to remove the singleSubmit attributes on ace:dateTimeEntry and ace:simpleSelectMenu (new JIRAs required for each).

        Show
        Ken Fyten added a comment - Need to remove the singleSubmit attributes on ace:dateTimeEntry and ace:simpleSelectMenu (new JIRAs required for each).
        Hide
        Mircea Toma added a comment - - edited

        Removed single submit component&tag from core. Removed enabling single submit JS API from bridge. Removed usage of single submit tag in showcase application. Wherever it made sense, replaced single submit with f:ajax[execute="@this", "render="@all"].

        Show
        Mircea Toma added a comment - - edited Removed single submit component&tag from core. Removed enabling single submit JS API from bridge. Removed usage of single submit tag in showcase application. Wherever it made sense, replaced single submit with f:ajax [execute="@this", "render="@all"] .
        Hide
        Carmen Cristurean added a comment -

        This change is required also for showcase > tabSet (testing with IF4 trunk rev# 40010/FF26), as there is a server side exception (Error 500 rendered on page) when trying to access showcase -> tabSet:

        exception

        javax.servlet.ServletException: /resources/examples/ace/tab/tabset.xhtml @41,45 <icecore:singleSubmit> Tag Library supports namespace: http://www.icefaces.org/icefaces/core, but no tag was defined for name: singleSubmit
        javax.faces.webapp.FacesServlet.service(FacesServlet.java:659)

        root cause

        javax.faces.view.facelets.TagException: /resources/examples/ace/tab/tabset.xhtml @41,45 <icecore:singleSubmit> Tag Library supports namespace: http://www.icefaces.org/icefaces/core, but no tag was defined for name: singleSubmit
        com.sun.faces.facelets.compiler.CompilationManager.pushTag(CompilationManager.java:311)
        com.sun.faces.facelets.compiler.SAXCompiler$CompilationHandler.startElement(SAXCompiler.java:266)
        com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
        com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
        com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:355)
        com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2770)
        com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
        com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)
        com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
        com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
        com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
        com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)

        Show
        Carmen Cristurean added a comment - This change is required also for showcase > tabSet (testing with IF4 trunk rev# 40010/FF26), as there is a server side exception (Error 500 rendered on page) when trying to access showcase -> tabSet: exception javax.servlet.ServletException: /resources/examples/ace/tab/tabset.xhtml @41,45 <icecore:singleSubmit> Tag Library supports namespace: http://www.icefaces.org/icefaces/core , but no tag was defined for name: singleSubmit javax.faces.webapp.FacesServlet.service(FacesServlet.java:659) root cause javax.faces.view.facelets.TagException: /resources/examples/ace/tab/tabset.xhtml @41,45 <icecore:singleSubmit> Tag Library supports namespace: http://www.icefaces.org/icefaces/core , but no tag was defined for name: singleSubmit com.sun.faces.facelets.compiler.CompilationManager.pushTag(CompilationManager.java:311) com.sun.faces.facelets.compiler.SAXCompiler$CompilationHandler.startElement(SAXCompiler.java:266) com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509) com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182) com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:355) com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2770) com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606) com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117) com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848) com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777) com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
        Hide
        Mircea Toma added a comment -

        Removed usage of icecore:singleSubmit tag in tabset.xhtml page.

        Show
        Mircea Toma added a comment - Removed usage of icecore:singleSubmit tag in tabset.xhtml page.
        Hide
        Liana Munroe added a comment -

        AutoCompleteEntry Indicator text not working now, Change to Indicator text position is not being submitted. Icefaces 4 revision #40020

        Show
        Liana Munroe added a comment - AutoCompleteEntry Indicator text not working now, Change to Indicator text position is not being submitted. Icefaces 4 revision #40020
        Hide
        Mircea Toma added a comment -

        Use ace:ajax instead of f:ajax when using ace:simpleSelectOneMenu component to force submit when the drop down is used.

        Show
        Mircea Toma added a comment - Use ace:ajax instead of f:ajax when using ace:simpleSelectOneMenu component to force submit when the drop down is used.
        Hide
        Liana Munroe added a comment -

        Confirmed fixed, Tomcat 7, Icefaces 4 revision #40027, All browsers.

        Show
        Liana Munroe added a comment - Confirmed fixed, Tomcat 7, Icefaces 4 revision #40027, All browsers.
        Hide
        Carmen Cristurean added a comment - - edited

        Tutorials using icecore:singleSubmit must be removed or updated to use ace:ajax:
        1) singleSubmit: http://dev.icesoft.com/svn/ossrepo/icefaces4/trunk/icefaces/tutorials/singleSubmit
        2) tabSet-dynamic-tutorial: http://dev.icesoft.com/svn/ossrepo/icefaces4/trunk/icefaces/tutorials/tabSet-dynamic-tutorial

        Show
        Carmen Cristurean added a comment - - edited Tutorials using icecore:singleSubmit must be removed or updated to use ace:ajax: 1) singleSubmit: http://dev.icesoft.com/svn/ossrepo/icefaces4/trunk/icefaces/tutorials/singleSubmit 2) tabSet-dynamic-tutorial: http://dev.icesoft.com/svn/ossrepo/icefaces4/trunk/icefaces/tutorials/tabSet-dynamic-tutorial
        Hide
        Carmen Cristurean added a comment -

        Reopening because of the tutorials still using icecore:singleSubmit.

        Show
        Carmen Cristurean added a comment - Reopening because of the tutorials still using icecore:singleSubmit.
        Hide
        Ted Goddard added a comment -

        Mircea, please look at using ace:ajax in tabSet-dynamic-tutorial.

        Show
        Ted Goddard added a comment - Mircea, please look at using ace:ajax in tabSet-dynamic-tutorial.
        Hide
        Mircea Toma added a comment -

        Replaced singleSubmit tag (or component attribute) with f:ajax or ace:ajax facets. Removed singleSubmit tutorial application.

        Show
        Mircea Toma added a comment - Replaced singleSubmit tag (or component attribute) with f:ajax or ace:ajax facets. Removed singleSubmit tutorial application.
        Hide
        Liana Munroe added a comment -

        Confirmed fixed Icefaces4, Tomcat 7, all browsers, revision # 40282.

        Show
        Liana Munroe added a comment - Confirmed fixed Icefaces4, Tomcat 7, all browsers, revision # 40282.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: