Details
Description
The tabset component uses ice.submit and ice.singleSubmit based on the singleSubmit attribute.
I tried to test form less tabset, on page load I get the following javascript error on line 1332 in bridge.js saying 'javax.faces.ViewState' is not defined on the page:
onLoad(window, function() {
1329 singleSubmitForm = document.createElement('form');
1330 singleSubmitForm.action = window.location.pathname;
1331 singleSubmitForm.id = 'void';
1332 viewState = document.getElementById('javax.faces.ViewState').value;
1333 });
So I had to put an empty form in the page. For testing purpose I have also added a required field inside that form(e.g.)
<h:form>
<h:inputText required="true"/>
</h:form>
<ice:tabset>
......
</ice:tabset>
When I changed the tab without using singleSubmit, I could see that above form was executed and input field was validated.
When I used the singleSubmit, and changed the tab the form was not submitted and validated.
I tried to test form less tabset, on page load I get the following javascript error on line 1332 in bridge.js saying 'javax.faces.ViewState' is not defined on the page:
onLoad(window, function() {
1329 singleSubmitForm = document.createElement('form');
1330 singleSubmitForm.action = window.location.pathname;
1331 singleSubmitForm.id = 'void';
1332 viewState = document.getElementById('javax.faces.ViewState').value;
1333 });
So I had to put an empty form in the page. For testing purpose I have also added a required field inside that form(e.g.)
<h:form>
<h:inputText required="true"/>
</h:form>
<ice:tabset>
......
</ice:tabset>
When I changed the tab without using singleSubmit, I could see that above form was executed and input field was validated.
When I used the singleSubmit, and changed the tab the form was not submitted and validated.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Adnan Durrani
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Summary | Sparkle: Form less submit issue | Sparkle: Formless submit issue |
Salesforce Case | [] |
Adnan Durrani
made changes -
Assignee | Ken Fyten [ ken.fyten ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee | Ken Fyten [ ken.fyten ] | Mircea Toma [ mircea.toma ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.0-Alpha3 [ 10032 ] | |
Affects Version/s | 2.0-Alpha2 [ 10214 ] |
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0-Beta [ 10231 ] | |
Fix Version/s | 2.0-Alpha3 [ 10032 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0-Beta2 [ 10242 ] | |
Fix Version/s | 2.0-Beta1 [ 10231 ] |
Ken Fyten
made changes -
Security | Private [ 10001 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0.0 [ 10230 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |