Details
Description
Actually this might not be portlet related, but I founded while testing the bridge...
In the attached portlet, you'll notice that the provinceId dropdown is using h:selectOneMenu instead of ice:selectOneMenu
This is because the ice:selectOneMenu has a DOM-diff inefficiency with the f:selectItem value="" empty string in that it causes a DOM-diff all the time.
On the initial HTTP-GET (pre-ajax), this is what the dropdown markup looks like:
<option selected="selected" value="">-- Select --</option>
After causing an onblur, the XmlHttpRequest (post-ajax) causes a DOM-diff, and this is what the replaced dropdown markup looks like:
<option value="">-- Select --</option>
In the attached portlet, you'll notice that the provinceId dropdown is using h:selectOneMenu instead of ice:selectOneMenu
This is because the ice:selectOneMenu has a DOM-diff inefficiency with the f:selectItem value="" empty string in that it causes a DOM-diff all the time.
On the initial HTTP-GET (pre-ajax), this is what the dropdown markup looks like:
<option selected="selected" value="">-- Select --</option>
After causing an onblur, the XmlHttpRequest (post-ajax) causes a DOM-diff, and this is what the replaced dropdown markup looks like:
<option value="">-- Select --</option>
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
| Field | Original Value | New Value |
|---|---|---|
| Attachment | icefaces-2.0-compat-portlet.zip [ 12363 ] |
| Attachment | icefaces-2.0-compat-portlet-1.0.0-SNAPSHOT.war [ 12364 ] |
| Salesforce Case | [] | |
| Fix Version/s | 2.0-Beta [ 10231 ] | |
| Assignee | Ted Goddard [ ted.goddard ] |
| Salesforce Case | [] | |
| Component/s | Bridge [ 10011 ] | |
| Component/s | Framework [ 10013 ] | |
| Fix Version/s | 2.0.0 [ 10230 ] | |
| Fix Version/s | 2.0-Beta [ 10231 ] | |
| Assignee | Ted Goddard [ ted.goddard ] | Deryk Sinotte [ deryk.sinotte ] |
| Assignee Priority | P2 | |
| Assignee | Deryk Sinotte [ deryk.sinotte ] | Ted Goddard [ ted.goddard ] |
| Salesforce Case | [] | |
| Assignee Priority | P2 | |
| Assignee | Ted Goddard [ ted.goddard ] | Deryk Sinotte [ deryk.sinotte ] |
| Salesforce Case | [] | |
| Fix Version/s | 2.0.1 [ 10255 ] | |
| Fix Version/s | 2.0.0 [ 10230 ] |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |