You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2008/02/17 05:05:25 UTC
svn commit: r628416 [1/4] - in
/myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo: ./ src/ src/conf/
src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/
src/main/java/org/apache/myfaces/
src/main/java/org/apache/myfaces/trinidaddem...
Author: lu4242
Date: Sat Feb 16 20:05:03 2008
New Revision: 628416
URL: http://svn.apache.org/viewvc?rev=628416&view=rev
Log:
create trinidad sandbox and add trs:tableFormLayout component
Added:
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/pom.xml (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/conf/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/conf/logging.properties (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/conf/trinidad-email-demo.properties.sample
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/ComponentEditorHandler.java (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/webapp/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/webapp/RedirectFilter.java (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/webapp/SourceCodeServlet.java (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/resources/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/resources/META-INF/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/resources/META-INF/LICENSE
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/resources/META-INF/NOTICE
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/META-INF/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/META-INF/MANIFEST.MF
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/WEB-INF/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/WEB-INF/faces-config.xml (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/componentDemos.jspx
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/components/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/components/editor.jspf
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/components/tableFormLayout.jspx
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/home.jsp (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/index.jsp (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/index.jspx
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/CustomStyles.css (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/beach.css (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/Thumbs.db (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/btnBottom-bg.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/btnDisabledBottom-bg.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/btnDisabledEnd.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/btnDisabledStart.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/btnDisabledTop-bg.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/btnEnd.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/btnStart.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/btnTop-bg.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/checkdc.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/checkdn.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/checkrc.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/checkrn.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/document.png (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/errorl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/infol.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/jdev.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/menuBar-bg.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/menuTabsEnabledBackground.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/menuTabsSelectedBackground.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/otn_logo_small.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/searchPanelGroup-bg.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/tabbeach-bot-deselected.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/tabbeach-bot-end-selected.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/tabbeach-bot-mid-selected.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/tabbeach-bot-start-selected.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/tabbeach-end-deselected.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/tabbeach-end-join-deselected-to-deselected.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/tabbeach-end-join-selected-to-deselected.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/tabbeach-end-selected.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/tabbeach-mid-deselected.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/tabbeach-mid-selected.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/tabbeach-start-deselected.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/tabbeach-start-join-deselected-to-deselected.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/tabbeach-start-join-selected-to-deselected.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/tabbeach-start-join-selected.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/tabbeach-start-selected.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/warnl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/yellow-folder-closed.png (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/beach/images/yellow-folder-open.png (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/Thumbs.db (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/btnbb.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/btndbb.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/btnde.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/btnds.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/btndtb.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/btne.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/btns.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/btntb.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/checkdc.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/checkdn.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/checkrc.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/checkrn.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/dateButtonPurple.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/dateButtonPurpleRTL.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/errorl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/infol.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/menuTabsEnabledBackground.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/menuTabsEnabledBackgroundGrdt.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/menuTabsEnabledEnd.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/menuTabsEnabledJoin.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/menuTabsEnabledSelectedJoin.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/menuTabsEnabledStart.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/menuTabsSelectedBackground.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/menuTabsSelectedEnabledJoin.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/menuTabsSelectedEnd.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/menuTabsSelectedStart.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/next.png (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/nextDisabled.png (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/panelBoxEnd.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/panelBoxStart.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/prev.png (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/prevDisabled.png (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/shuttleOrderBottom.png (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/shuttleOrderDown.png (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/shuttleOrderTop.png (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/shuttleOrderUp.png (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/images/warnl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/purpleBigFontSkin.css (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/purple/purpleSkin.css (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/Thumbs.db (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/asort.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/bltdscn.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/bltdscs.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/cccdts.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/ccclts.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/cccmts.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/ccctts.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/cfso.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/cseparator.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/cseparator4x.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/csnb.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/csnbld.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/csnbr.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/ctruj.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/ctrumore.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/dp.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/dprtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/dsort.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/err.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/errorl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/focus.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/hgrid_crumbs.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/hsd.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/hsu.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/info.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/lovi.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/lovirtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd0.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd10.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd100.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd10rtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd15.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd15rtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd20.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd20rtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd25.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd25rtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd30.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd30rtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd35.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd35rtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd40.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd40rtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd45.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd45rtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd5.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd50.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd50rtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd55.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd55rtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd5rtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd60.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd60rtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd65.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd65rtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd70.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd70rtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd75.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd75rtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd80.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd80rtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd85.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd85rtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd90.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd90rtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd95.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsInd95rtl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/pgsIndAnm.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/smv.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/smvall.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/srb.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/srd.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/srmv.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/srmvall.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/srt.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/sru.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/t.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/tfold.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/tip.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/tline.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/tminusa.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/tnavn.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/tnavnd.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/tnavp.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/tnavpd.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/tplusa.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/trUnVisStop.png (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/trVisStop.png (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/trVisStopA.png (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/trprev.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/trsubl.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/trsubr.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/trvj.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/trvmore.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/images/warn.gif (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/suede/suede.css (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/tableFormLayout.css (with props)
myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/skins/testTableFormLayout.css (with props)
Added: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/pom.xml?rev=628416&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/pom.xml (added)
+++ myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/pom.xml Sat Feb 16 20:05:03 2008
@@ -0,0 +1,240 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+ <parent>
+ <groupId>org.apache.myfaces.trinidad</groupId>
+ <artifactId>trinidad-sandbox</artifactId>
+ <version>1.0.7-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <name>Apache MyFaces Trinidad Sandbox Demo</name>
+ <description>Apache MyFaces Trinidad Sandbox Demo</description>
+
+ <artifactId>sandbox-demo</artifactId>
+ <packaging>war</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.myfaces.trinidadbuild</groupId>
+ <artifactId>maven-jdev-plugin</artifactId>
+ <version>1.2.3</version>
+ <configuration>
+ <libraries>
+ <library>JSP Runtime</library>
+ </libraries>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>trinidad-api</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>trinidad-impl</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>sandbox-api</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>sandbox-impl</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+
+
+
+ <dependency>
+ <groupId>javax.mail</groupId>
+ <artifactId>mail</artifactId>
+ <version>1.4</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.activation</groupId>
+ <artifactId>activation</artifactId>
+ <version>1.1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>jstl</groupId>
+ <artifactId>jstl</artifactId>
+ <version>1.1.2</version>
+ </dependency>
+
+<!-- Dependencies pulled in via myfaces/ri pom
+ <dependency>
+ <groupId>commons-beanutils</groupId>
+ <artifactId>commons-beanutils</artifactId>
+ <version>1.6</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-digester</groupId>
+ <artifactId>commons-digester</artifactId>
+ <version>1.5</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.0.4</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ <version>2.1</version>
+ <scope>runtime</scope>
+ </dependency>
+-->
+
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ </dependency>
+
+ <!-- For SourceCodeServlet -->
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.1</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+
+ <profiles>
+ <profile>
+ <id>jettyConfig</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>maven-jetty-plugin</artifactId>
+ <version>6.1.2rc0</version>
+ <configuration>
+ <scanIntervalSeconds>10</scanIntervalSeconds>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <!-- By default the war examples use myfaces! :) -->
+ <profile>
+ <id>myfaces</id>
+ <activation>
+ <property>
+ <name>!jsf</name>
+ </property>
+ </activation>
+ <dependencies>
+
+ <dependency>
+ <groupId>org.apache.myfaces.core</groupId>
+ <artifactId>myfaces-api</artifactId>
+ <scope>compile</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.myfaces.core</groupId>
+ <artifactId>myfaces-impl</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+
+ <!-- To use the examples using the Sun's JSF Reference Implementation: -Djsf=ri -->
+ <profile>
+ <id>jsfri</id>
+ <activation>
+ <property>
+ <name>jsf</name>
+ <value>ri</value>
+ </property>
+ </activation>
+ <dependencies>
+
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ <version>1.1_02</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-impl</artifactId>
+ <version>1.1_02</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>jstl</groupId>
+ <artifactId>jstl</artifactId>
+ <version>1.1.0</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-digester</groupId>
+ <artifactId>commons-digester</artifactId>
+ <version>1.5</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ </dependencies>
+
+ <repositories>
+ <repository>
+ <id>java.net</id>
+ <name>java.net Maven 1 Repository</name>
+ <url>https://maven-repository.dev.java.net/nonav/repository</url>
+ <layout>legacy</layout>
+ </repository>
+ </repositories>
+
+ <properties>
+ <jsf_implementation>JSF-RI</jsf_implementation>
+ </properties>
+ </profile>
+ </profiles>
+
+</project>
Propchange: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/pom.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/conf/logging.properties
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/conf/logging.properties?rev=628416&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/conf/logging.properties (added)
+++ myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/conf/logging.properties Sat Feb 16 20:05:03 2008
@@ -0,0 +1,34 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+handlers = java.util.logging.ConsoleHandler
+
+# Set the default logging level for the root logger
+.level = ALL
+
+# Set the default logging level for new ConsoleHandler instances
+java.util.logging.ConsoleHandler.level = INFO
+
+# Set the default logging level for new FileHandler instances
+#java.util.logging.FileHandler.level = ALL
+
+# Set the default formatter for new ConsoleHandler instances
+java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
+
+# Set the default logging level for the logger named com.mycompany
+oracle.level = ALL
Propchange: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/conf/logging.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/conf/logging.properties
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/conf/trinidad-email-demo.properties.sample
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/conf/trinidad-email-demo.properties.sample?rev=628416&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/conf/trinidad-email-demo.properties.sample (added)
+++ myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/conf/trinidad-email-demo.properties.sample Sat Feb 16 20:05:03 2008
@@ -0,0 +1,4 @@
+username=adam.winer
+domain=oracle.com
+server=rgmamerimap.oraclecorp.com
+smtpserver=rgmamersmtp.oraclecorp.com
Added: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/ComponentEditorHandler.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/ComponentEditorHandler.java?rev=628416&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/ComponentEditorHandler.java (added)
+++ myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/ComponentEditorHandler.java Sat Feb 16 20:05:03 2008
@@ -0,0 +1,325 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo;
+
+import java.beans.BeanInfo;
+import java.beans.Introspector;
+import java.beans.PropertyDescriptor;
+
+import java.lang.reflect.Method;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.Date;
+import java.util.List;
+
+import javax.faces.component.UIComponent;
+
+public class ComponentEditorHandler
+{
+ public String update()
+ {
+ List<PropertyOfComponent> list = _list;
+ if (list != null)
+ {
+ for(PropertyOfComponent prop : list)
+ {
+ prop.flushToComponent();
+ }
+ }
+
+ return null;
+ }
+
+ public void setComponent(UIComponent component)
+ {
+ _editedComponent = component;
+ }
+
+ public UIComponent getComponent()
+ {
+ return _editedComponent;
+ }
+
+ public boolean isJavascriptShown()
+ {
+ return _javascriptShown;
+ }
+
+ public void setJavascriptShown(boolean javascriptShown)
+ {
+ _javascriptShown = javascriptShown;
+ }
+
+ public List<PropertyOfComponent> getAttributes()
+ {
+ if (_list != null)
+ return _list;
+
+ UIComponent comp = getComponent();
+ if (comp == null)
+ return null;
+
+ List<PropertyOfComponent> list = new ArrayList<PropertyOfComponent>();
+ try
+ {
+ BeanInfo beanInfo = Introspector.getBeanInfo(comp.getClass());
+ PropertyDescriptor[] descriptors = beanInfo.getPropertyDescriptors();
+ for (int i = 0; i < descriptors.length; i++)
+ {
+ PropertyDescriptor descriptor = descriptors[i];
+ // "Write-only" properties - no go
+ if (descriptor.getReadMethod() == null)
+ continue;
+
+ PropertyOfComponent poc = null;
+
+ boolean readOnly = descriptor.getWriteMethod() == null;
+ if (readOnly)
+ continue;
+
+ // For now, skip any attributes with ValueBindings
+ String name = descriptor.getName();
+ if (comp.getValueBinding(name) != null)
+ continue;
+
+
+ Class<?> type = descriptor.getPropertyType();
+ if ((type == String.class) ||
+ (type == Object.class))
+ {
+ if (!isJavascriptShown() &&
+ name.startsWith("on"))
+ continue;
+
+ poc = new StringProperty(comp, descriptor);
+ }
+ else if ((type == Integer.class) ||
+ (type == Integer.TYPE))
+ {
+ poc = new IntegerProperty(comp, descriptor);
+ }
+ else if ((type == Boolean.class) ||
+ (type == Boolean.TYPE))
+ {
+ poc = new BooleanProperty(comp, descriptor);
+ }
+ else if (type == Date.class)
+ {
+ poc = new DateProperty(comp, descriptor);
+ }
+
+ if (poc != null)
+ list.add(poc);
+ }
+
+ // Sort the list by property name
+ Collections.sort(list);
+
+ _list = list;
+
+ return list;
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+
+ return null;
+ }
+
+ static public class PropertyOfComponent implements Comparable<PropertyOfComponent>
+ {
+ public PropertyOfComponent(UIComponent component,
+ PropertyDescriptor descriptor)
+ {
+ _component = component;
+ _descriptor = descriptor;
+ }
+
+ // Sort by the name of the property
+ public int compareTo(PropertyOfComponent poc)
+ {
+ return getName().compareTo(poc.getName());
+ }
+
+ public String getName()
+ {
+ return _descriptor.getName();
+ }
+
+ public String getType()
+ {
+ return null;
+ }
+
+ @SuppressWarnings("unchecked")
+ public void flushToComponent()
+ {
+ if (_valueSet)
+ _component.getAttributes().put(getName(), _value);
+ }
+
+ protected Object getBeanProperty()
+ {
+ Method method = _descriptor.getReadMethod();
+ try
+ {
+ return method.invoke(_component, (Object[])null);
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+
+ return getProperty();
+ }
+
+
+ protected Object getProperty()
+ {
+ return _component.getAttributes().get(getName());
+ }
+
+ protected void setProperty(Object value)
+ {
+ if ("".equals(value))
+ value = null;
+
+ _valueSet = true;
+ _value = value;
+ }
+
+ private boolean _valueSet = false;
+ private Object _value = null;
+ private final PropertyDescriptor _descriptor;
+ private final UIComponent _component;
+ }
+
+ static public class IntegerProperty extends PropertyOfComponent
+ {
+ public IntegerProperty(UIComponent component, PropertyDescriptor descriptor)
+ {
+ super(component, descriptor);
+ }
+
+ public Integer getValue()
+ {
+ Object property = getProperty();
+ if (property instanceof String)
+ return Integer.parseInt((String)property);
+ return (Integer) property;
+ }
+
+ public void setValue(Integer i)
+ {
+ setProperty(i);
+ }
+
+ @Override
+ public String getType()
+ {
+ return "integer";
+ }
+ }
+
+
+ static public class DateProperty extends PropertyOfComponent
+ {
+ public DateProperty(UIComponent component, PropertyDescriptor descriptor)
+ {
+ super(component, descriptor);
+ }
+
+ public Date getValue()
+ {
+ return (Date) getProperty();
+ }
+
+ public void setValue(Date i)
+ {
+ setProperty(i);
+ }
+
+ @Override
+ public String getType()
+ {
+ return "date";
+ }
+ }
+
+
+ static public class StringProperty extends PropertyOfComponent
+ {
+ public StringProperty(UIComponent component, PropertyDescriptor descriptor)
+ {
+ super(component, descriptor);
+ }
+
+ public String getValue()
+ {
+ Object o = getProperty();
+ if (o == null)
+ return null;
+ return o.toString();
+ }
+
+ public void setValue(String s)
+ {
+ setProperty(s);
+ }
+
+ @Override
+ public String getType()
+ {
+ return "string";
+ }
+ }
+
+
+
+ static public class BooleanProperty extends PropertyOfComponent
+ {
+ public BooleanProperty(UIComponent component, PropertyDescriptor descriptor)
+ {
+ super(component, descriptor);
+ }
+
+ public Boolean getValue()
+ {
+ return (Boolean) getBeanProperty();
+ }
+
+ public void setValue(Boolean b)
+ {
+ setProperty(b);
+ }
+
+ @Override
+ public String getType()
+ {
+ return "boolean";
+ }
+ }
+
+
+ private UIComponent _editedComponent;
+ private boolean _javascriptShown = true;
+ private List<PropertyOfComponent> _list;
+}
Propchange: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/ComponentEditorHandler.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/ComponentEditorHandler.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/webapp/RedirectFilter.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/webapp/RedirectFilter.java?rev=628416&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/webapp/RedirectFilter.java (added)
+++ myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/webapp/RedirectFilter.java Sat Feb 16 20:05:03 2008
@@ -0,0 +1,101 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.webapp;
+
+import java.io.IOException;
+
+import javax.servlet.Filter;
+import javax.servlet.FilterChain;
+import javax.servlet.FilterConfig;
+import javax.servlet.ServletException;
+import javax.servlet.ServletRequest;
+import javax.servlet.ServletResponse;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * Servlet filter that ensures the FacesServlet is called before rendering
+ * the page. Most useful for getting JSP Faces pages to work correctly.
+ * <p>
+ * @version $Name: $ ($Revision$) $Date$
+ */
+public class RedirectFilter implements Filter
+{
+ public static final String URL_PATTERN_PARAM = "faces-servlet-url-pattern";
+ public static final String DEFAULT_URL_PATTERN = "/faces/*";
+
+ public void init(
+ FilterConfig filterConfig) throws ServletException
+ {
+ String pattern = filterConfig.getInitParameter(URL_PATTERN_PARAM);
+
+ if (pattern == null)
+ pattern = DEFAULT_URL_PATTERN;
+
+ int offset = pattern.indexOf('*');
+ if (offset > 1 && pattern.charAt(offset - 1) == '/')
+ offset--;
+
+ _servletPath = pattern.substring(0, offset);
+ }
+
+ public void destroy()
+ {
+ // Technically, we should dump _servletPath. However,
+ // OC4J is calling destroy(), then not calling init() before
+ // using the Filter again! So ignore destroy().
+ // _servletPath = null;
+ }
+
+ public void doFilter(
+ ServletRequest request,
+ ServletResponse response,
+ FilterChain chain) throws IOException, ServletException
+ {
+ if (request instanceof HttpServletRequest)
+ {
+ HttpServletRequest httpRequest = (HttpServletRequest) request;
+ String servletPath = httpRequest.getServletPath();
+ if (!servletPath.startsWith(_servletPath))
+ {
+ servletPath = _servletPath + servletPath;
+ String pathInfo = httpRequest.getPathInfo();
+ String queryString = httpRequest.getQueryString();
+ // Use a client-side redirect
+ String url =
+ (httpRequest.getContextPath() +
+ servletPath +
+ (pathInfo == null ? "": pathInfo) +
+ (queryString == null ? "": queryString));
+
+ // Use a client-side redirect so that filters will run
+ ((HttpServletResponse) response).sendRedirect(url);
+ /*
+ request.getRequestDispatcher(servletPath).
+ forward(request, response);
+ */
+ return;
+ }
+ }
+
+ chain.doFilter(request, response);
+ }
+
+ private String _servletPath;
+}
Propchange: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/webapp/RedirectFilter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/webapp/RedirectFilter.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/webapp/SourceCodeServlet.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/webapp/SourceCodeServlet.java?rev=628416&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/webapp/SourceCodeServlet.java (added)
+++ myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/webapp/SourceCodeServlet.java Sat Feb 16 20:05:03 2008
@@ -0,0 +1,73 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo.webapp;
+
+import java.io.BufferedInputStream;
+import java.io.FileInputStream;
+import java.io.IOException;
+import java.io.InputStream;
+
+import javax.servlet.ServletException;
+import javax.servlet.ServletOutputStream;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.apache.commons.lang.StringUtils;
+
+public class SourceCodeServlet extends HttpServlet
+{
+ @Override
+ public void doGet(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException
+ {
+ String webPage = req.getServletPath();
+
+ // remove the '*.source' suffix that maps to this servlet
+ int source = webPage.indexOf(".source");
+ webPage = webPage.substring(0, source);
+
+ //remove "/faces" mapping
+ webPage = StringUtils.remove(webPage, "/faces");
+
+ // get the actual file location of the requested resource
+ String realPath = getServletConfig().getServletContext().getRealPath(webPage);
+
+ // output an HTML page
+ res.setContentType("text/plain");
+
+ // print some html
+ ServletOutputStream out = res.getOutputStream();
+
+ // print the file
+ InputStream in = null;
+ try
+ {
+ in = new BufferedInputStream(new FileInputStream(realPath));
+ int ch;
+ while ((ch = in.read()) !=-1)
+ {
+ out.print((char)ch);
+ }
+ }
+ finally {
+ if (in != null) in.close(); // very important
+ }
+}
+
+}
\ No newline at end of file
Propchange: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/webapp/SourceCodeServlet.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/java/org/apache/myfaces/trinidaddemo/webapp/SourceCodeServlet.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/resources/META-INF/LICENSE
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/resources/META-INF/LICENSE?rev=628416&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/resources/META-INF/LICENSE (added)
+++ myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/resources/META-INF/LICENSE Sat Feb 16 20:05:03 2008
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
Added: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/resources/META-INF/NOTICE
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/resources/META-INF/NOTICE?rev=628416&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/resources/META-INF/NOTICE (added)
+++ myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/resources/META-INF/NOTICE Sat Feb 16 20:05:03 2008
@@ -0,0 +1,16 @@
+=========================================================================
+== NOTICE file corresponding to section 4(d) of the Apache License, ==
+== Version 2.0, in this case for the Apache MyFaces Trinidad ==
+=========================================================================
+
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
+
+Portions of this software were originally based on the following:
+
+ - software copyright (c) 2000-2006, Oracle Corp, <http://www.oracle.com/>.
+and are licensed to the Apache Software Foundation under the
+"Software Grant and Corporate Contribution License Agreement"
+
+See the LICENSE.txt file for information on all licenses
+associated with this software.
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/META-INF/MANIFEST.MF?rev=628416&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/META-INF/MANIFEST.MF (added)
+++ myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/META-INF/MANIFEST.MF Sat Feb 16 20:05:03 2008
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/WEB-INF/faces-config.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/WEB-INF/faces-config.xml?rev=628416&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/WEB-INF/faces-config.xml (added)
+++ myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/WEB-INF/faces-config.xml Sat Feb 16 20:05:03 2008
@@ -0,0 +1,96 @@
+<?xml version="1.0"?>
+<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<faces-config>
+ <!-- Global preferences object that proxies to others -->
+ <managed-bean>
+ <managed-bean-name>editor</managed-bean-name>
+ <managed-bean-class>org.apache.myfaces.trinidaddemo.ComponentEditorHandler</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>javascriptShown</property-name>
+ <value>false</value>
+ </managed-property>
+ </managed-bean>
+
+ <!-- Global navigation rules -->
+ <navigation-rule>
+ <!-- Top level navigation -->
+ <navigation-case>
+ <from-outcome>home</from-outcome>
+ <to-view-id>/index.jspx</to-view-id>
+ <redirect/>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>guide</from-outcome>
+ <to-view-id>/componentDemos.jspx</to-view-id>
+ <redirect/>
+ </navigation-case>
+ <!-- Nav to Component Demos -->
+ <navigation-case>
+ <from-outcome>guide.tableFormLayout</from-outcome>
+ <to-view-id>/components/tableFormLayout.jspx</to-view-id>
+ <redirect/>
+ </navigation-case>
+ </navigation-rule>
+ <!-- Navigation rules for all cases -->
+
+ <application>
+ <!-- Use the Trinidad RenderKit -->
+ <default-render-kit-id>org.apache.myfaces.trinidadinternal.sandbox.core</default-render-kit-id>
+ <!-- DEFAULT/SUPPORTED LOCALE/S FOR THE DEMO -->
+ <locale-config>
+ <default-locale>en</default-locale>
+ <supported-locale>ar</supported-locale>
+ <supported-locale>ca</supported-locale>
+ <supported-locale>cs</supported-locale>
+ <supported-locale>da</supported-locale>
+ <supported-locale>de</supported-locale>
+ <supported-locale>el</supported-locale>
+ <supported-locale>es</supported-locale>
+ <supported-locale>es_ES</supported-locale>
+ <supported-locale>fi</supported-locale>
+ <supported-locale>fr</supported-locale>
+ <supported-locale>fr_CA</supported-locale>
+ <supported-locale>hr</supported-locale>
+ <supported-locale>hu</supported-locale>
+ <supported-locale>is</supported-locale>
+ <supported-locale>it</supported-locale>
+ <supported-locale>iw</supported-locale>
+ <supported-locale>ja</supported-locale>
+ <supported-locale>ko</supported-locale>
+ <supported-locale>nl</supported-locale>
+ <supported-locale>no</supported-locale>
+ <supported-locale>pl</supported-locale>
+ <supported-locale>pt</supported-locale>
+ <supported-locale>pt_BR</supported-locale>
+ <supported-locale>ro</supported-locale>
+ <supported-locale>ru</supported-locale>
+ <supported-locale>sk</supported-locale>
+ <supported-locale>sv</supported-locale>
+ <supported-locale>th</supported-locale>
+ <supported-locale>tr</supported-locale>
+ <supported-locale>zh_CN</supported-locale>
+ <supported-locale>zh_TW</supported-locale>
+ </locale-config>
+ </application>
+</faces-config>
Propchange: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/WEB-INF/faces-config.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/componentDemos.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/componentDemos.jspx?rev=628416&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/componentDemos.jspx (added)
+++ myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/componentDemos.jspx Sat Feb 16 20:05:03 2008
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Component Demos">
+ <tr:form>
+ <tr:panelPage>
+ <f:facet name="navigationGlobal">
+ <tr:navigationPane hint="buttons">
+ <tr:commandNavigationItem text="Return to Index"
+ immediate="true"
+ action="home"/>
+ </tr:navigationPane>
+ </f:facet>
+
+ <tr:panelHeader text="Sandbox Component Demos">
+ <tr:panelGroupLayout layout="vertical">
+ <tr:commandLink text="tableFormLayout" action="guide.tableFormLayout"/>
+ </tr:panelGroupLayout>
+ </tr:panelHeader>
+ </tr:panelPage>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/components/editor.jspf
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/components/editor.jspf?rev=628416&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/components/editor.jspf (added)
+++ myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/components/editor.jspf Sat Feb 16 20:05:03 2008
@@ -0,0 +1,52 @@
+ <tr:table var="row" rows="100" value="#{editor.attributes}"
+ summary="Attributes">
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Name"/>
+ </f:facet>
+ <tr:outputText value="#{row.name}"/>
+ </tr:column>
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Value"/>
+ </f:facet>
+ <tr:inputText immediate="true"
+ readOnly="#{row.name == 'value' ||
+ row.name == 'var' ||
+ row.name == 'currencyKey' ||
+ row.name == 'currencyString' ||
+ row.name == 'rowKey' ||
+ row.name == 'id' ||
+ row.name == 'rendererType' ||
+ row.name == 'submittedValue'}"
+ rendered="#{row.type == 'string'}"
+ value="#{row.value}"
+ shortDesc="Type to change '#{row.name}'"/>
+ <tr:inputText immediate="true"
+ readOnly="#{row.name == 'rowIndex'}"
+ rendered="#{row.type == 'integer'}"
+ value="#{row.value}"
+ shortDesc="Type to change '#{row.name}'">
+ <f:converter converterId="javax.faces.Integer"/>
+ </tr:inputText>
+ <tr:inputText immediate="true"
+ rendered="#{row.type == 'date'}"
+ value="#{row.value}"
+ shortDesc="Type to change '#{row.name}'">
+ <f:facet name="help">
+ <tr:outputText value="Sample format: 2004-07-15"/>
+ </f:facet>
+ <f:convertDateTime pattern="yyyy-MM-dd"/>
+ </tr:inputText>
+ <tr:selectBooleanCheckbox rendered="#{row.type == 'boolean'}"
+ readOnly="#{row.name == 'localValueSet' ||
+ row.name == 'valid' ||
+ row.name == 'transient'}"
+ immediate="true" value="#{row.value}"
+ shortDesc="Click to change '#{row.name}'"/>
+ </tr:column>
+ <f:facet name="footer">
+ <tr:commandButton text="Update"
+ action="#{editor.update}"/>
+ </f:facet>
+ </tr:table>
Added: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/components/tableFormLayout.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/components/tableFormLayout.jspx?rev=628416&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/components/tableFormLayout.jspx (added)
+++ myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/components/tableFormLayout.jspx Sat Feb 16 20:05:03 2008
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad"
+ xmlns:trs="http://myfaces.apache.org/trinidad/sandbox"
+ version="1.2">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="PanelFormLayout Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Sandbox Component Guide"
+ action="guide"/>
+ <tr:outputText
+ value="This is a test case for the sandbox core tableFormLayout component."/>
+
+ <trs:tableFormLayout width="100" columns="1*;2*;1*;2*" vspace="5" percentWidth="true">
+ <tr:outputText value="Layout Example: Personal Information" >
+ <f:attribute name="spanX" value="4" />
+ </tr:outputText>
+
+ <tr:selectOneChoice label="Salutation">
+ <f:selectItem itemLabel="1 Option" itemValue="1" />
+ <f:selectItem itemLabel="2 Option" itemValue="2"/>
+ </tr:selectOneChoice>
+
+ <tr:outputText>
+ <f:attribute name="spanX" value="2" />
+ </tr:outputText>
+
+ <tr:inputText label="First Name" />
+ <tr:inputText label="Last Name" />
+
+ <tr:inputText label="c/o" >
+ <f:attribute name="spanXItem" value="3" />
+ </tr:inputText>
+
+
+ <tr:inputText label="Street" />
+ <tr:inputText label="No" />
+ <tr:inputText label="ZIP" />
+ <tr:inputText label="City" />
+ <tr:inputText label="Note" rows="4" >
+ <f:attribute name="spanXItem" value="3" />
+ </tr:inputText>
+ </trs:tableFormLayout>
+
+ <trs:tableFormLayout width="1000" columns="1*;2*;1*;2*" hspace="5" vspace="5">
+ <tr:outputText value="Layout Example: Personal Information" >
+ <f:attribute name="spanX" value="4" />
+ </tr:outputText>
+
+ <tr:selectOneChoice label="Salutation">
+ <f:selectItem itemLabel="1 Option" itemValue="1" />
+ <f:selectItem itemLabel="2 Option" itemValue="2"/>
+ </tr:selectOneChoice>
+
+ <tr:outputText>
+ <f:attribute name="spanX" value="2" />
+ </tr:outputText>
+
+ <tr:inputText label="First Name" />
+ <tr:inputText label="Last Name" />
+
+ <tr:inputText label="c/o" >
+ <f:attribute name="spanXItem" value="3" />
+ </tr:inputText>
+
+
+ <tr:inputText label="Street" />
+ <tr:inputText label="No" />
+ <tr:inputText label="ZIP" />
+ <tr:inputText label="City" />
+ <tr:inputText label="Note" rows="4" >
+ <f:attribute name="spanXItem" value="3" />
+ </tr:inputText>
+ </trs:tableFormLayout>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/home.jsp
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/home.jsp?rev=628416&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/home.jsp (added)
+++ myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/home.jsp Sat Feb 16 20:05:03 2008
@@ -0,0 +1,51 @@
+<%@ page session="false" contentType="text/html;charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+
+<html>
+
+<head>
+ <title>TableFormLayout Component for Trinidad</title>
+</head>
+
+<body>
+
+<f:view>
+ <h:form>
+
+ <h:panelGrid>
+
+ <h:outputText value="TableFormLayout Component for Trinidad" />
+ <h:panelGrid style="padding-left:25px">
+ <h:outputLink value="faces/example0.jspx">
+ <f:verbatim>panelFormLayout - example 0 - form without tableFormLayout</f:verbatim>
+ </h:outputLink>
+ <h:outputLink value="faces/example1.jspx">
+ <f:verbatim>tableFormLayout - example 1 - common form fixed width</f:verbatim>
+ </h:outputLink>
+ <h:outputLink value="faces/example11.jspx">
+ <f:verbatim>tableFormLayout - example 1.1 - common form fixed width absolute columns</f:verbatim>
+ </h:outputLink>
+
+ <h:outputLink value="faces/example12.jspx">
+ <f:verbatim>tableFormLayout - example 1.2 - common form relative width</f:verbatim>
+ </h:outputLink>
+
+ <h:outputLink value="faces/example2.jspx">
+ <f:verbatim>tableFormLayout - example 2</f:verbatim>
+ </h:outputLink>
+ <h:outputLink value="faces/example3.jspx">
+ <f:verbatim>tableFormLayout - example 3</f:verbatim>
+ </h:outputLink>
+ <h:outputLink value="faces/example4.jspx">
+ <f:verbatim>tableFormLayout - example 4</f:verbatim>
+ </h:outputLink>
+
+ </h:panelGrid>
+
+ </h:panelGrid>
+
+ </h:form>
+</f:view>
+</body>
+</html>
Propchange: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/home.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/home.jsp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/index.jsp
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/index.jsp?rev=628416&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/index.jsp (added)
+++ myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/index.jsp Sat Feb 16 20:05:03 2008
@@ -0,0 +1 @@
+<jsp:forward page="faces/home.jsp"/>
\ No newline at end of file
Propchange: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/trunk/trinidad-sandbox/sandbox-demo/src/main/webapp/index.jsp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL