-
1. How align the commandLink into rich:column
spiritfox26 Jan 25, 2011 7:43 AM (in response to anicapil)Try <rich:column width="165" style="text-align: right;">
Regards
-
2. How align the commandLink into rich:column
ilya40umov Jan 25, 2011 9:06 AM (in response to spiritfox26)I guess you should also try float:right. Read more here:
-
3. How align the commandLink into rich:column
anicapil Jan 25, 2011 9:57 AM (in response to anicapil)I have Label and commandLink in same column. I want this part
<h:outputLabel value="#{messages.header_number_of_approved}"/>
to be in the Leftside of the column...and this part
a4j:commandLink id="unlock_approved" value="#{messages.label_unlock_approved_production}"
action="#{adminStartManager.unlockProductionForApprovedCountry(index)}"
onclick="if (!confirm('Do you really want to unlock this country?')) return false;"
reRender="productionsTable, countriesDataTable"
disabled="#{adminStartManager.doneCountriesListLength eq 0}">
</a4j:commandLink>
in the right side of the same column?
:-/
-
4. How align the commandLink into rich:column
ilya40umov Jan 25, 2011 10:24 AM (in response to anicapil)I'm not sure that it works but try float:left for h:outputLabel and float:right for a4j:commandLink
-
5. How align the commandLink into rich:column
ilya40umov Jan 25, 2011 10:29 AM (in response to ilya40umov) -
6. How align the commandLink into rich:column
anicapil Jan 25, 2011 10:37 AM (in response to anicapil)Thanks a lot.
This works...http://stackoverflow.com/questions/2089820/right-align-and-left-align-text-in-same-html-table-cell
style="float: right; text-align: right; width: 50%;"
style="float: left; text-align: left; width: 50%;"
:-)