Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.2
-
Fix Version/s: EE-4.2.0.GA
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ace
-
Assignee Priority:P2
Description
showcase example ajax:-> ajax.Advanced.xhtml
use the following markup:-
{code}
<ace:panel id="ajaxAdvancedSettings" header="Settings" style="width: 100%;">
<h:panelGrid width="60%" columns="1" cellpadding="20" cellspacing="20">
<ace:radioButtons id="radioButton" header="Update values: "
value="#{ajaxAdvancedBean.event}">
<ace:ajax render="ajaxAdvancedSlider" />
<f:selectItem itemLabel="after releasing handle" itemValue="slideEnd" />
<f:selectItem itemLabel="as the handle is moved" itemValue="slide" />
</ace:radioButtons>
<ace:checkboxButton id="updateCelsius" value="#{ajaxAdvancedBean.updateCelsius}"
label="Update Celsius value: " labelPosition="left">
<ace:ajax render="ajaxAdvancedSlider" />
</ace:checkboxButton>
<ace:checkboxButton id="updateFahrenheit" label="Update Fahrenheit value: "
labelPosition="left"
value="#{ajaxAdvancedBean.updateFahrenheit}">
<f:ajax render="ajaxAdvancedSlider" />
</ace:checkboxButton>
<ace:checkboxButton id="updateKelvin" label="Update Kelvin value: "
labelPosition="left"
value="#{ajaxAdvancedBean.updateKelvin}">
<f:ajax render="ajaxAdvancedSlider" />
</ace:checkboxButton>
</h:panelGrid>
</ace:panel>
{code}
see attached screen shot for rendering alignment problem
use the following markup:-
{code}
<ace:panel id="ajaxAdvancedSettings" header="Settings" style="width: 100%;">
<h:panelGrid width="60%" columns="1" cellpadding="20" cellspacing="20">
<ace:radioButtons id="radioButton" header="Update values: "
value="#{ajaxAdvancedBean.event}">
<ace:ajax render="ajaxAdvancedSlider" />
<f:selectItem itemLabel="after releasing handle" itemValue="slideEnd" />
<f:selectItem itemLabel="as the handle is moved" itemValue="slide" />
</ace:radioButtons>
<ace:checkboxButton id="updateCelsius" value="#{ajaxAdvancedBean.updateCelsius}"
label="Update Celsius value: " labelPosition="left">
<ace:ajax render="ajaxAdvancedSlider" />
</ace:checkboxButton>
<ace:checkboxButton id="updateFahrenheit" label="Update Fahrenheit value: "
labelPosition="left"
value="#{ajaxAdvancedBean.updateFahrenheit}">
<f:ajax render="ajaxAdvancedSlider" />
</ace:checkboxButton>
<ace:checkboxButton id="updateKelvin" label="Update Kelvin value: "
labelPosition="left"
value="#{ajaxAdvancedBean.updateKelvin}">
<f:ajax render="ajaxAdvancedSlider" />
</ace:checkboxButton>
</h:panelGrid>
</ace:panel>
{code}
see attached screen shot for rendering alignment problem
Issue Links
Activity
Judy Guglielmin
created issue -
Judy Guglielmin
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | ace radioButtons problem.png [ 22538 ] |
Judy Guglielmin
made changes -
Ken Fyten
made changes -
Assignee | Arturo Zambrano [ artzambrano ] | |
Fix Version/s | EE-4.2.0.GA [ 13071 ] | |
Assignee Priority | P2 [ 10011 ] |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
I don't see what's the issue here. All elements inside the ace:radioButtons div container are set to be center-aligned. We have this CSS definition:
If anyone wishes to align all the items to the left, then they can easily override that rule with "text-align: left;".