This content has been marked as final.
Show 4 replies
-
1. Re: place multiple components in the same rich:column
koraycetinbas Sep 7, 2009 9:51 AM (in response to k_krish_rao)try using h:panelGroup
-
2. Re: place multiple components in the same rich:column
k_krish_rao Sep 7, 2009 10:28 AM (in response to k_krish_rao)I tried the following, but i still get the inputText and the two comboBox in separate rows
<rich:dataTable value="#{calendarBean.weeklyCalendars}" var="weeklyCalendar" width="100%"> <rich:column> <h:panelGroup> <h:outputText value="#{weeklyCalendar.weekName}"/> <rich:comboBox value="#{weeklyCalendar.startTimeHour}" suggestionValues="#{weeklyCalendar.possibleHours}" enableManualInput="false" immediate="true"> <a4j:support event="onchange" actionListener="#{calendarBean.startHourChanged}" ajaxSingle="true" /> <a4j:support event="onselect" actionListener="#{Debug_WorkflowDebuggerBean.startHourChanged}" ajaxSingle="true" /> </rich:comboBox> <rich:comboBox value="#{weeklyCalendar.startTimeMin}" suggestionValues="#{weeklyCalendar.possibleMins}" enableManualInput="false" immediate="true"> <a4j:support event="onchange" actionListener="#{calendarBean.startMinChanged}" ajaxSingle="true" /> <a4j:support event="onselect" actionListener="#{Debug_WorkflowDebuggerBean.startMinChanged}" ajaxSingle="true" /> </rich:comboBox> </h:panelGroup> </rich:column> <rich:column> <h:panelGroup> <h:inputText disabled="true" value="#{weeklyCalendar.endTime}" size="5"/> <rich:comboBox value="#{weeklyCalendar.endTimeHour}" suggestionValues="#{weeklyCalendar.possibleHours}" enableManualInput="false" immediate="true"> <a4j:support event="onchange" actionListener="#{calendarBean.endHourChanged}" ajaxSingle="true" /> <a4j:support event="onselect" actionListener="#{Debug_WorkflowDebuggerBean.endHourChanged}" ajaxSingle="true" /> </rich:comboBox> <rich:comboBox value="#{weeklyCalendar.endTimeMin}" suggestionValues="#{weeklyCalendar.possibleMins}" enableManualInput="false" immediate="true"> <a4j:support event="onchange" actionListener="#{calendarBean.endMinChanged}" ajaxSingle="true" /> <a4j:support event="onselect" actionListener="#{Debug_WorkflowDebuggerBean.endMinChanged}" ajaxSingle="true" /> </rich:comboBox> <h:panelGroup> </rich:column> <rich:column> <h:selectBooleanCheckbox value="#{weeklyCalendar.weeklyHoliday}"/> <h:outputText value="Weekly Holiday"/> </rich:column> </rich:dataTable>
-
3. Re: place multiple components in the same rich:column
nbelaevski Sep 7, 2009 11:05 AM (in response to k_krish_rao)Hi,
Use h:panelGrid. -
4. Re: place multiple components in the same rich:column
k_krish_rao Sep 15, 2009 1:42 AM (in response to k_krish_rao)Hi,
Thanks a lot for the suggestion
Placed the components within a panelGrid and kit worked