[JBoss JIRA] Created: (RF-7409) SuggestionBox: rowClasses attribute works incorrectly
by Alexander Dubovsky (JIRA)
SuggestionBox: rowClasses attribute works incorrectly
-----------------------------------------------------
Key: RF-7409
URL: https://jira.jboss.org/jira/browse/RF-7409
Project: RichFaces
Issue Type: Bug
Components: component-input
Affects Versions: 3.3.2.CR1
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
Priority: Minor
# Set rowClasses="rowClasses-rowClasses1, rowClasses-rowClasses2" for suggestionBox.
# Open page and check how classes are applied.
Result: only the last class is applied for all rows in suggestion pop up.
# Open page source and check generated html.
Result: something like this is generated for each row:
<tr class="rich-sb-int entryClass-entryClass rowClasses-rowClasses1, rowClasses-rowClasses2">
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (RF-3967) tabPanel: incorrect handlers in test-application: ondownclick, onupclick, onorderchanged, ontopclick, onbottomclick, onheaderclick
by Tsikhon Kuprevich (JIRA)
tabPanel: incorrect handlers in test-application: ondownclick, onupclick, onorderchanged, ontopclick, onbottomclick, onheaderclick
----------------------------------------------------------------------------------------------------------------------------------
Key: RF-3967
URL: https://jira.jboss.org/jira/browse/RF-3967
Project: RichFaces
Issue Type: Sub-task
Affects Versions: 3.2.2
Reporter: Tsikhon Kuprevich
Assignee: Tsikhon Kuprevich
Fix For: 3.2.2
need to research where are they getting from
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (RF-4293) comboBox: using component with s:convertEntity leads to displaying id list instead of object property in label for s:selectItems.
by Mikhail Vitenkov (JIRA)
comboBox: using component with s:convertEntity leads to displaying id list instead of object property in label for s:selectItems.
---------------------------------------------------------------------------------------------------------------------------------
Key: RF-4293
URL: https://jira.jboss.org/jira/browse/RF-4293
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: jboss 4.2.1.GA, seam 2.0.2, richfaces 3.2.2.BETA5(IE6, IE7, FF 3.1, Safari 3.1, Opera 9.51)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
#1. Create "Car" entity with two attributes("id" & "name") following way:
@Entity(name="car")
public class Car {
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Car(int id){
this.id = id;
this.name = "name_" + id;
}
@Id
private int id;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
}
#2. Add rich:comboBox on the page.
<rich:comboBox id="lstIndustry1" defaultLabel="Select your industry">
<s:selectItems value="#{combobox.selectItems}" var="ind" label="#{ind.name}"/>
<s:convertEntity />
</rich:comboBox>
selectItems is ArrayList<Car> defined in "combobox" bean:
private ArrayList<Car> selectItems;
public Combobox(){
this.selectItems = new ArrayList<Car>();
for(int i = 0; i < 100; i++){
selectItems.add(new Car(i));
}
}
#3. Naviagate on the page, contained rich:comboBox.
#4. Open component's pop up list & verify items' labels.
Actual behavior:
Instead of Car's "name" property list fo ids displayed. Replace rich:comboBox with h:selectOneMenu - everything works fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (RF-6230) Support itemValue and itemLabel for rich:comboBox
by Felipe Jaekel (JIRA)
Support itemValue and itemLabel for rich:comboBox
-------------------------------------------------
Key: RF-6230
URL: https://jira.jboss.org/jira/browse/RF-6230
Project: RichFaces
Issue Type: Feature Request
Reporter: Felipe Jaekel
When using a SelectItem object, only the value property is used.
The problem is when data is populated from the database, the value property is necessary for holding the entity primary key, since the property that is used as label isn't always unique at the database, like the name property of an Employee entity for example. It has also the problem of having to write extra code to retrieve the entity. Having the ID there are already some entity converters available and when using JPA there is the EntityManager's findById method.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months