[richfaces-issues] [JBoss JIRA] Commented: (RF-3200) listShuttle: boardered columns' headers aren't shown completely.

Mikhail Vitenkov (JIRA) jira-events at lists.jboss.org
Wed Apr 23 13:25:10 EDT 2008


    [ http://jira.jboss.com/jira/browse/RF-3200?page=comments#action_12410318 ] 
            
Mikhail Vitenkov commented on RF-3200:
--------------------------------------

For listShuttle width of columns by default is cut to column's content(in depend on header's content). For dataTable, for example, if header's content is more than column's content - column's width is cut to header's content.

> listShuttle: boardered columns' headers aren't shown completely.
> ----------------------------------------------------------------
>
>                 Key: RF-3200
>                 URL: http://jira.jboss.com/jira/browse/RF-3200
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.5
>         Environment: IE,FF,Safari,Opera
>            Reporter: Mikhail Vitenkov
>         Assigned To: Vladimir Molotkov
>             Fix For: 3.2.1
>
>         Attachments: listShuttleBoarder.png
>
>
> see attached mock up.
> & code:
> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
> <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
> <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
> <f:subview id="listShuttleSubviewID">
> 		<rich:listShuttle id="listShuttleID" var="item" sourceValue="#{listShuttle.sourceValue}" targetValue="#{listShuttle.targetValue}"
> 			bottomControlLabel="#{listShuttle.bottomControlLabel}" copyAllControlLabel="copy-copy"
> 			copyControlLabel="copyControll" downControlLabel="#{listShuttle.downControlLabel}"
> 			fastMoveControlsVisible="#{listShuttle.fastMoveControlsVisible}" converter="listShuttleConverter"
> 			fastOrderControlsVisible="#{listShuttle.fastOrderControlsVisible}" first="#{listShuttle.first}"
> 			moveControlsVisible="#{listShuttle.moveControlsVisible}" orderControlsVisible="#{listShuttle.orderControlsVisible}"
> 			removeAllControlLabel="#{listShuttle.removeAllControlLabel}" removeControlLabel="#{listShuttle.removeControlLabel}"
> 			sourceSelection="#{listShuttle.sourceSelection}" targetSelection="#{listShuttle.targetSelection}" 
> 			showButtonLabels="#{listShuttle.showButtonLabels}" switchByClick="#{listShuttle.switchByClick}"
> 			targetListWidth="#{listShuttle.targetListWidth}" sourceListWidth="#{listShuttle.sourceListWidth}"
> 			listsHeight="#{listShuttle.listsHeight}" sourceCaptionLabel="#{listShuttle.sourceCaptionLabel}" 
> 			targetCaptionLabel="#{listShuttle.targetCaptionLabel}"
> 			topControlLabel="#{listShuttle.topControlLabel}" upControlLabel="#{listShuttle.upControlLabel}">
> 			<h:column>
> 				<f:facet name="header">
> 					<h:outputText value="Number" />
> 				</f:facet>
> 				<h:outputText value="#{item.int0}" />
> 			</h:column>
> 			<h:column>
> 				<f:facet name="header">
> 					<h:outputText value="Input" />
> 				</f:facet>
> 				<h:inputText value="#{item.str0}" />
> 			</h:column>
> 			<h:column>
> 				<f:facet name="header">
> 					<h:outputText value="Button" />
> 				</f:facet>
> 				<h:commandButton onclick="submit();" action="#{listShuttle.cbAction}" value="#{item.str0} submit();"/>
> 			</h:column>
> 			<h:column>
> 				<f:facet name="header">
> 					<h:outputText value="Input" />
> 				</f:facet>
> 				<h:inputText value="#{item.str1}" />
> 			</h:column>
> 			<h:column>
> 				<f:facet name="header">
> 					<h:outputText value="Link" />
> 				</f:facet>
> 				<a4j:commandLink action="#{listShuttle.clAction}" value="#{item.str1} submit()" reRender="listShuttleID"></a4j:commandLink>
> 			</h:column>
> 			<h:column>
> 				<f:facet name="header">
> 					<h:outputText value="select" />
> 				</f:facet>
> 				<h:selectOneMenu value="#{item.str2}">
> 					<f:selectItem itemLabel="select0" itemValue="select0" />
> 					<f:selectItem itemLabel="select1" itemValue="select1" />
> 					<f:selectItem itemLabel="select2" itemValue="select2" />
> 					<f:selectItem itemLabel="select3" itemValue="select3" />
> 					<f:selectItem itemLabel="select4" itemValue="select4" />
> 					<a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
> 				</h:selectOneMenu>
> 			</h:column>
> 			<h:column>
> 				<f:facet name="header">
> 					<h:outputText value="Text" />
> 				</f:facet>
> 				<h:outputText value="#{item.str3}" />
> 			</h:column>
> 			<h:column>
> 				<f:facet name="header">
> 					<h:outputText value="graphicImage" />
> 				</f:facet>
> 				<h:graphicImage value="#{item.str3}" />
> 			</h:column>
> 		</rich:listShuttle>
> </f:subview>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list