ICEfaces
  1. ICEfaces
  2. ICE-5618

ICEfaces 2.0 ice:form portlet incompatibility

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha2
    • Fix Version/s: 2.0-Alpha3, 2.0.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces 2.0, Portlet

      Description


      h:form and ice:form render very differently in a Portlet environment, causing ice:form to be non-functional:

      <form action="/icefaces-2.0-job-application-portlet" class="iceFrm" enctype="application/x-www-form-urlencoded" id="1190616612:f2" method="post" onsubmit="return false;">

      <form action="http://localhost:8080/web/ted/icetest?p_p_id=icefaces_2_0_job_application_WAR_icefaces20jobapplicationportlet_INSTANCE_oAP1&amp;p_p_lifecycle=1&amp;p_p_state=normal&amp;p_p_mode=view&amp;p_p_col_id=column-1&amp;p_p_col_count=1" enctype="application/x-www-form-urlencoded" id="1190616612:f2" method="post" name="1190616612:f2">

        Activity

        Hide
        Ted Goddard added a comment -

        Two possible fixes:
        modify ice:form to obtain the correct action URL
        create a decorator for h:form so that the ice: components are fully supported within h:form

        Show
        Ted Goddard added a comment - Two possible fixes: modify ice:form to obtain the correct action URL create a decorator for h:form so that the ice: components are fully supported within h:form
        Hide
        Ted Goddard added a comment -

        JSF 2.0 FormRenderer also requires javax.faces.encodedURL for Portlet compatibility.

        https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1046

        Show
        Ted Goddard added a comment - JSF 2.0 FormRenderer also requires javax.faces.encodedURL for Portlet compatibility. https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1046
        Hide
        Ted Goddard added a comment -

        Related problem for selectInputDate (name of commandLink hidden field seems to be incompletely applied):

        http://jira.icefaces.org/browse/ICE-4692

        Show
        Ted Goddard added a comment - Related problem for selectInputDate (name of commandLink hidden field seems to be incompletely applied): http://jira.icefaces.org/browse/ICE-4692

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: