-
1. Re: why there is padding in rich:combobox?
kidrock_hj Aug 14, 2009 5:52 AM (in response to kidrock_hj)The combobox.xhtml is like below:
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<rich:comboBox defaultLabel="Enter some value">
<f:selectItem itemValue="suggestion 1"/>
<f:selectItem itemValue="suggestion 2"/>
<f:selectItem itemValue="suggestion 3"/>
<f:selectItem itemValue="suggestion 4"/>
<f:selectItem itemValue="suggestion 5"/>
</rich:comboBox>
</ui:composition>
The same as the sample.
[img]http://2358431370582049506-a-1802744773732722657-s-sites.googlegroups.com/site/jacoblovekelly/MyHome/combobox.JPG?attredirects=0&auth=ANoY7coUKGhRjVMRdCzrElbgOFsZRQMWUpfxmpGcli5Sdpp3VSa8WeSVxWx61o3sMyl4CdhGmIcigCGWsP3uoLMBqH9iCCYSePGSGNoUL-WlDJwBNqlQa_uKmlo1-GF2UE98pgMaaiKNIlcDvrmxnZHi5IAa-6Yp1_XejL1hBlIPX1H_FazuGhF5yhR42Eyd32199R-Ffdw077O10lIVqWuIh0Hq4oEnag%3D%3D[/img] -
2. Re: why there is padding in rich:combobox?
nbelaevski Aug 14, 2009 6:30 AM (in response to kidrock_hj)Hi,
Set proper doctype for this to work. -
3. Re: why there is padding in rich:combobox?
kidrock_hj Aug 16, 2009 10:54 PM (in response to kidrock_hj)I add below line, not working.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Has anyone fixed this ? -
4. Re: why there is padding in rich:combobox?
nbelaevski Aug 17, 2009 4:58 AM (in response to kidrock_hj)Yes, https://jira.jboss.org/jira/browse/RF-7430. Check that doctype is really being rendered - ui:composition can cut it.