Author: ilya_shaikovsky
Date: 2008-05-20 09:49:53 -0400 (Tue, 20 May 2008)
New Revision: 8656
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/externalMultipleSorting.xhtml
trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml
Log:
button disabled on sorting demo if not nessesarry
sourceview: bg color changed
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/externalMultipleSorting.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/externalMultipleSorting.xhtml 2008-05-20
13:26:27 UTC (rev 8655)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/externalMultipleSorting.xhtml 2008-05-20
13:49:53 UTC (rev 8656)
@@ -123,7 +123,7 @@
</h:panelGrid>
<a4j:commandButton value="Sort Table"
action="#{sortingBean.sortTable}" reRender="table"
- disabled="#{sortingBean.firstSortOption.direction=='UNSORTED'}"
/>
+ disabled="#{sortingBean.firstSortOption.direction=='UNSORTED' ||
sortingBean.firstSortOption.item == 0}" />
</rich:panel>
</h:form>
</h:panelGrid>
Modified: trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml 2008-05-20
13:26:27 UTC (rev 8655)
+++
trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml 2008-05-20
13:49:53 UTC (rev 8656)
@@ -21,7 +21,7 @@
}
.viewsourcebody {
- padding-right: 0px; padding-left: 0px; padding-bottom: 0px; padding-top: 0px
+ padding-right: 0px; padding-left: 0px; padding-bottom: 0px; padding-top: 0px;
background-color:#{a4jSkin.generalBackgroundColor}
}
.viewsourceheader {
Show replies by date