-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FACES-1988 Develop alloy:progressBar component
- Loading branch information
1 parent
c841154
commit a0b2cb2
Showing
11 changed files
with
70 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...se/showcase-webapp/src/main/webapp/component/alloy/progressbar/vertical/progressBar.xhtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:alloy="http://liferay.com/faces/alloy" | ||
xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:showcase="http://xmlns.jcp.org/jsf/composite/showcase" | ||
xmlns:ui="http://xmlns.jcp.org/jsf/facelets" template="/templates/component-2col.xhtml"> | ||
|
||
<ui:define name="col1"> | ||
<alloy:form> | ||
<showcase:example> | ||
<alloy:progressBar id="progressBar" clientKey="progressBar" height="200" label="{0}%" | ||
layout="pageDirection" pollingDelay="1000" width="50" value="#{progressBarBacking.progress}"> | ||
<f:ajax listener="#{progressBarBacking.incrementProgress}" /> | ||
</alloy:progressBar> | ||
<alloy:button value="#{i18n['start-progress']}" | ||
onclick="Liferay.component('progressBar').startPolling(); return false;" /> | ||
<alloy:button value="#{i18n['stop-progress']}" | ||
onclick="Liferay.component('progressBar').stopPolling(); return false;" /> | ||
<alloy:commandButton actionListener="#{progressBarBacking.resetProgress}" | ||
onclick="Liferay.component('progressBar').stopPolling();" | ||
value="#{i18n['reset-progress']}"> | ||
<f:ajax render="progressBar" /> | ||
</alloy:commandButton> | ||
</showcase:example> | ||
</alloy:form> | ||
</ui:define> | ||
|
||
</ui:composition> |