Permalink
Browse files

added some style and hasNext hasPrevoius binding

  • Loading branch information...
krebbl committed May 19, 2012
1 parent b92cf08 commit 929a6cdebb389f0664990a25b671b6bde30ef8fa
Showing with 3 additions and 3 deletions.
  1. +3 −3 public/app/Detail.xml
View
@@ -26,18 +26,18 @@
</div>
<div class="product-types">
- <a onclick="prevPage" class="previous-page" title="previous page"/>
+ <a onclick="prevPage" class="previous-page" title="previous page" visible="{productTypePage.hasPreviousPage()}"/>
<ui:SelectionView items="{productTypePage.list}" tagName="ul" selectedItem="{{selectedProductType}}"
- class="product-type-selector">
+ class="product-type-selector" needsSelection="true">
<js:Template name="item">
<li>
<sprdView:ProductTypeImage productType="{$item}" width="50" height="50" alt="${$item.name}"/>
</li>
</js:Template>
</ui:SelectionView>
- <a onclick="nextPage" class="next-page" title="next page"/>
+ <a onclick="nextPage" class="next-page" title="next page" visible="{productTypePage.hasNextPage()}"/>
</div>
<div class="info">

0 comments on commit 929a6cd

Please sign in to comment.