Details
-
Type: Bug
-
Status: Closed
-
Priority: 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&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1" enctype="application/x-www-form-urlencoded" id="1190616612:f2" method="post" name="1190616612:f2">
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