JBoss Rich Faces SVN: r15205 - in branches/examples-data/photoapp/images: user_for_add and 20 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2009-08-18 11:41:03 -0400 (Tue, 18 Aug 2009)
New Revision: 15205
Added:
branches/examples-data/photoapp/images/user_for_add/
branches/examples-data/photoapp/images/user_for_add/100/
branches/examples-data/photoapp/images/user_for_add/100/100/
branches/examples-data/photoapp/images/user_for_add/100/100/117215467_5cccef9aaa_b.jpg
branches/examples-data/photoapp/images/user_for_add/100/100/117215467_5cccef9aaa_b_medium.jpg
branches/examples-data/photoapp/images/user_for_add/100/100/117215467_5cccef9aaa_b_small120.jpg
branches/examples-data/photoapp/images/user_for_add/100/100/117215467_5cccef9aaa_b_small160.jpg
branches/examples-data/photoapp/images/user_for_add/100/100/117215467_5cccef9aaa_b_small200.jpg
branches/examples-data/photoapp/images/user_for_add/100/100/117215467_5cccef9aaa_b_small80.jpg
branches/examples-data/photoapp/images/user_for_add/100/100/205579493_baf0f850d1_o.jpg
branches/examples-data/photoapp/images/user_for_add/100/100/205579493_baf0f850d1_o_medium.jpg
branches/examples-data/photoapp/images/user_for_add/100/100/205579493_baf0f850d1_o_small120.jpg
branches/examples-data/photoapp/images/user_for_add/100/100/205579493_baf0f850d1_o_small160.jpg
branches/examples-data/photoapp/images/user_for_add/100/100/205579493_baf0f850d1_o_small200.jpg
branches/examples-data/photoapp/images/user_for_add/100/100/205579493_baf0f850d1_o_small80.jpg
branches/examples-data/photoapp/images/user_for_add/100/101/
branches/examples-data/photoapp/images/user_for_add/100/101/117215467_5cccef9aaa_b.jpg
branches/examples-data/photoapp/images/user_for_add/100/101/117215467_5cccef9aaa_b_medium.jpg
branches/examples-data/photoapp/images/user_for_add/100/101/117215467_5cccef9aaa_b_small120.jpg
branches/examples-data/photoapp/images/user_for_add/100/101/117215467_5cccef9aaa_b_small160.jpg
branches/examples-data/photoapp/images/user_for_add/100/101/117215467_5cccef9aaa_b_small200.jpg
branches/examples-data/photoapp/images/user_for_add/100/101/117215467_5cccef9aaa_b_small80.jpg
branches/examples-data/photoapp/images/user_for_add/100/101/205579493_baf0f850d1_o.jpg
branches/examples-data/photoapp/images/user_for_add/100/101/205579493_baf0f850d1_o_medium.jpg
branches/examples-data/photoapp/images/user_for_add/100/101/205579493_baf0f850d1_o_small120.jpg
branches/examples-data/photoapp/images/user_for_add/100/101/205579493_baf0f850d1_o_small160.jpg
branches/examples-data/photoapp/images/user_for_add/100/101/205579493_baf0f850d1_o_small200.jpg
branches/examples-data/photoapp/images/user_for_add/100/101/205579493_baf0f850d1_o_small80.jpg
branches/examples-data/photoapp/images/user_for_add/101/
branches/examples-data/photoapp/images/user_for_add/101/102/
branches/examples-data/photoapp/images/user_for_add/101/102/117215467_5cccef9aaa_b.jpg
branches/examples-data/photoapp/images/user_for_add/101/102/117215467_5cccef9aaa_b_medium.jpg
branches/examples-data/photoapp/images/user_for_add/101/102/117215467_5cccef9aaa_b_small120.jpg
branches/examples-data/photoapp/images/user_for_add/101/102/117215467_5cccef9aaa_b_small160.jpg
branches/examples-data/photoapp/images/user_for_add/101/102/117215467_5cccef9aaa_b_small200.jpg
branches/examples-data/photoapp/images/user_for_add/101/102/117215467_5cccef9aaa_b_small80.jpg
branches/examples-data/photoapp/images/user_for_add/101/102/205579493_baf0f850d1_o.jpg
branches/examples-data/photoapp/images/user_for_add/101/102/205579493_baf0f850d1_o_medium.jpg
branches/examples-data/photoapp/images/user_for_add/101/102/205579493_baf0f850d1_o_small120.jpg
branches/examples-data/photoapp/images/user_for_add/101/102/205579493_baf0f850d1_o_small160.jpg
branches/examples-data/photoapp/images/user_for_add/101/102/205579493_baf0f850d1_o_small200.jpg
branches/examples-data/photoapp/images/user_for_add/101/102/205579493_baf0f850d1_o_small80.jpg
branches/examples-data/photoapp/images/user_for_add/101/103/
branches/examples-data/photoapp/images/user_for_add/101/103/117215467_5cccef9aaa_b.jpg
branches/examples-data/photoapp/images/user_for_add/101/103/117215467_5cccef9aaa_b_medium.jpg
branches/examples-data/photoapp/images/user_for_add/101/103/117215467_5cccef9aaa_b_small120.jpg
branches/examples-data/photoapp/images/user_for_add/101/103/117215467_5cccef9aaa_b_small160.jpg
branches/examples-data/photoapp/images/user_for_add/101/103/117215467_5cccef9aaa_b_small200.jpg
branches/examples-data/photoapp/images/user_for_add/101/103/117215467_5cccef9aaa_b_small80.jpg
branches/examples-data/photoapp/images/user_for_add/101/103/205579493_baf0f850d1_o.jpg
branches/examples-data/photoapp/images/user_for_add/101/103/205579493_baf0f850d1_o_medium.jpg
branches/examples-data/photoapp/images/user_for_add/101/103/205579493_baf0f850d1_o_small120.jpg
branches/examples-data/photoapp/images/user_for_add/101/103/205579493_baf0f850d1_o_small160.jpg
branches/examples-data/photoapp/images/user_for_add/101/103/205579493_baf0f850d1_o_small200.jpg
branches/examples-data/photoapp/images/user_for_add/101/103/205579493_baf0f850d1_o_small80.jpg
branches/examples-data/photoapp/images/user_for_del/
branches/examples-data/photoapp/images/user_for_del/110/
branches/examples-data/photoapp/images/user_for_del/110/110/
branches/examples-data/photoapp/images/user_for_del/110/110/117215467_5cccef9aaa_b.jpg
branches/examples-data/photoapp/images/user_for_del/110/110/117215467_5cccef9aaa_b_medium.jpg
branches/examples-data/photoapp/images/user_for_del/110/110/117215467_5cccef9aaa_b_small120.jpg
branches/examples-data/photoapp/images/user_for_del/110/110/117215467_5cccef9aaa_b_small160.jpg
branches/examples-data/photoapp/images/user_for_del/110/110/117215467_5cccef9aaa_b_small200.jpg
branches/examples-data/photoapp/images/user_for_del/110/110/117215467_5cccef9aaa_b_small80.jpg
branches/examples-data/photoapp/images/user_for_del/110/110/205579493_baf0f850d1_o.jpg
branches/examples-data/photoapp/images/user_for_del/110/110/205579493_baf0f850d1_o_medium.jpg
branches/examples-data/photoapp/images/user_for_del/110/110/205579493_baf0f850d1_o_small120.jpg
branches/examples-data/photoapp/images/user_for_del/110/110/205579493_baf0f850d1_o_small160.jpg
branches/examples-data/photoapp/images/user_for_del/110/110/205579493_baf0f850d1_o_small200.jpg
branches/examples-data/photoapp/images/user_for_del/110/110/205579493_baf0f850d1_o_small80.jpg
branches/examples-data/photoapp/images/user_for_del/110/111/
branches/examples-data/photoapp/images/user_for_del/110/111/117215467_5cccef9aaa_b.jpg
branches/examples-data/photoapp/images/user_for_del/110/111/117215467_5cccef9aaa_b_medium.jpg
branches/examples-data/photoapp/images/user_for_del/110/111/117215467_5cccef9aaa_b_small120.jpg
branches/examples-data/photoapp/images/user_for_del/110/111/117215467_5cccef9aaa_b_small160.jpg
branches/examples-data/photoapp/images/user_for_del/110/111/117215467_5cccef9aaa_b_small200.jpg
branches/examples-data/photoapp/images/user_for_del/110/111/117215467_5cccef9aaa_b_small80.jpg
branches/examples-data/photoapp/images/user_for_del/110/111/205579493_baf0f850d1_o.jpg
branches/examples-data/photoapp/images/user_for_del/110/111/205579493_baf0f850d1_o_medium.jpg
branches/examples-data/photoapp/images/user_for_del/110/111/205579493_baf0f850d1_o_small120.jpg
branches/examples-data/photoapp/images/user_for_del/110/111/205579493_baf0f850d1_o_small160.jpg
branches/examples-data/photoapp/images/user_for_del/110/111/205579493_baf0f850d1_o_small200.jpg
branches/examples-data/photoapp/images/user_for_del/110/111/205579493_baf0f850d1_o_small80.jpg
branches/examples-data/photoapp/images/user_for_del/111/
branches/examples-data/photoapp/images/user_for_del/111/112/
branches/examples-data/photoapp/images/user_for_del/111/112/117215467_5cccef9aaa_b.jpg
branches/examples-data/photoapp/images/user_for_del/111/112/117215467_5cccef9aaa_b_medium.jpg
branches/examples-data/photoapp/images/user_for_del/111/112/117215467_5cccef9aaa_b_small120.jpg
branches/examples-data/photoapp/images/user_for_del/111/112/117215467_5cccef9aaa_b_small160.jpg
branches/examples-data/photoapp/images/user_for_del/111/112/117215467_5cccef9aaa_b_small200.jpg
branches/examples-data/photoapp/images/user_for_del/111/112/117215467_5cccef9aaa_b_small80.jpg
branches/examples-data/photoapp/images/user_for_del/111/112/205579493_baf0f850d1_o.jpg
branches/examples-data/photoapp/images/user_for_del/111/112/205579493_baf0f850d1_o_medium.jpg
branches/examples-data/photoapp/images/user_for_del/111/112/205579493_baf0f850d1_o_small120.jpg
branches/examples-data/photoapp/images/user_for_del/111/112/205579493_baf0f850d1_o_small160.jpg
branches/examples-data/photoapp/images/user_for_del/111/112/205579493_baf0f850d1_o_small200.jpg
branches/examples-data/photoapp/images/user_for_del/111/112/205579493_baf0f850d1_o_small80.jpg
branches/examples-data/photoapp/images/user_for_del/111/113/
branches/examples-data/photoapp/images/user_for_del/111/113/117215467_5cccef9aaa_b.jpg
branches/examples-data/photoapp/images/user_for_del/111/113/117215467_5cccef9aaa_b_medium.jpg
branches/examples-data/photoapp/images/user_for_del/111/113/117215467_5cccef9aaa_b_small120.jpg
branches/examples-data/photoapp/images/user_for_del/111/113/117215467_5cccef9aaa_b_small160.jpg
branches/examples-data/photoapp/images/user_for_del/111/113/117215467_5cccef9aaa_b_small200.jpg
branches/examples-data/photoapp/images/user_for_del/111/113/117215467_5cccef9aaa_b_small80.jpg
branches/examples-data/photoapp/images/user_for_del/111/113/205579493_baf0f850d1_o.jpg
branches/examples-data/photoapp/images/user_for_del/111/113/205579493_baf0f850d1_o_medium.jpg
branches/examples-data/photoapp/images/user_for_del/111/113/205579493_baf0f850d1_o_small120.jpg
branches/examples-data/photoapp/images/user_for_del/111/113/205579493_baf0f850d1_o_small160.jpg
branches/examples-data/photoapp/images/user_for_del/111/113/205579493_baf0f850d1_o_small200.jpg
branches/examples-data/photoapp/images/user_for_del/111/113/205579493_baf0f850d1_o_small80.jpg
branches/examples-data/photoapp/images/user_for_dnd/
branches/examples-data/photoapp/images/user_for_dnd/120/
branches/examples-data/photoapp/images/user_for_dnd/120/120/
branches/examples-data/photoapp/images/user_for_dnd/120/120/117215467_5cccef9aaa_b.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/120/117215467_5cccef9aaa_b_medium.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/120/117215467_5cccef9aaa_b_small120.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/120/117215467_5cccef9aaa_b_small160.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/120/117215467_5cccef9aaa_b_small200.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/120/117215467_5cccef9aaa_b_small80.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/120/205579493_baf0f850d1_o.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/120/205579493_baf0f850d1_o_medium.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/120/205579493_baf0f850d1_o_small120.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/120/205579493_baf0f850d1_o_small160.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/120/205579493_baf0f850d1_o_small200.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/120/205579493_baf0f850d1_o_small80.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/121/
branches/examples-data/photoapp/images/user_for_dnd/120/121/117215467_5cccef9aaa_b.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/121/117215467_5cccef9aaa_b_medium.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/121/117215467_5cccef9aaa_b_small120.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/121/117215467_5cccef9aaa_b_small160.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/121/117215467_5cccef9aaa_b_small200.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/121/117215467_5cccef9aaa_b_small80.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/121/205579493_baf0f850d1_o.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/121/205579493_baf0f850d1_o_medium.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/121/205579493_baf0f850d1_o_small120.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/121/205579493_baf0f850d1_o_small160.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/121/205579493_baf0f850d1_o_small200.jpg
branches/examples-data/photoapp/images/user_for_dnd/120/121/205579493_baf0f850d1_o_small80.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/
branches/examples-data/photoapp/images/user_for_dnd/121/122/
branches/examples-data/photoapp/images/user_for_dnd/121/122/117215467_5cccef9aaa_b.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/122/117215467_5cccef9aaa_b_medium.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/122/117215467_5cccef9aaa_b_small120.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/122/117215467_5cccef9aaa_b_small160.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/122/117215467_5cccef9aaa_b_small200.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/122/117215467_5cccef9aaa_b_small80.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/122/205579493_baf0f850d1_o.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/122/205579493_baf0f850d1_o_medium.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/122/205579493_baf0f850d1_o_small120.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/122/205579493_baf0f850d1_o_small160.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/122/205579493_baf0f850d1_o_small200.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/122/205579493_baf0f850d1_o_small80.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/123/
branches/examples-data/photoapp/images/user_for_dnd/121/123/117215467_5cccef9aaa_b.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/123/117215467_5cccef9aaa_b_medium.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/123/117215467_5cccef9aaa_b_small120.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/123/117215467_5cccef9aaa_b_small160.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/123/117215467_5cccef9aaa_b_small200.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/123/117215467_5cccef9aaa_b_small80.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/123/205579493_baf0f850d1_o.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/123/205579493_baf0f850d1_o_medium.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/123/205579493_baf0f850d1_o_small120.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/123/205579493_baf0f850d1_o_small160.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/123/205579493_baf0f850d1_o_small200.jpg
branches/examples-data/photoapp/images/user_for_dnd/121/123/205579493_baf0f850d1_o_small80.jpg
Log:
Fix broken photoalbum tests
https://jira.jboss.org/jira/browse/RFPL-49
Added: branches/examples-data/photoapp/images/user_for_add/100/100/117215467_5cccef9aaa_b.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/100/117215467_5cccef9aaa_b.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/100/117215467_5cccef9aaa_b_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/100/117215467_5cccef9aaa_b_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/100/117215467_5cccef9aaa_b_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/100/117215467_5cccef9aaa_b_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/100/117215467_5cccef9aaa_b_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/100/117215467_5cccef9aaa_b_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/100/117215467_5cccef9aaa_b_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/100/117215467_5cccef9aaa_b_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/100/117215467_5cccef9aaa_b_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/100/117215467_5cccef9aaa_b_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/100/205579493_baf0f850d1_o.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/100/205579493_baf0f850d1_o.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/100/205579493_baf0f850d1_o_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/100/205579493_baf0f850d1_o_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/100/205579493_baf0f850d1_o_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/100/205579493_baf0f850d1_o_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/100/205579493_baf0f850d1_o_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/100/205579493_baf0f850d1_o_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/100/205579493_baf0f850d1_o_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/100/205579493_baf0f850d1_o_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/100/205579493_baf0f850d1_o_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/100/205579493_baf0f850d1_o_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/101/117215467_5cccef9aaa_b.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/101/117215467_5cccef9aaa_b.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/101/117215467_5cccef9aaa_b_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/101/117215467_5cccef9aaa_b_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/101/117215467_5cccef9aaa_b_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/101/117215467_5cccef9aaa_b_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/101/117215467_5cccef9aaa_b_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/101/117215467_5cccef9aaa_b_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/101/117215467_5cccef9aaa_b_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/101/117215467_5cccef9aaa_b_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/101/117215467_5cccef9aaa_b_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/101/117215467_5cccef9aaa_b_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/101/205579493_baf0f850d1_o.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/101/205579493_baf0f850d1_o.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/101/205579493_baf0f850d1_o_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/101/205579493_baf0f850d1_o_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/101/205579493_baf0f850d1_o_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/101/205579493_baf0f850d1_o_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/101/205579493_baf0f850d1_o_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/101/205579493_baf0f850d1_o_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/101/205579493_baf0f850d1_o_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/101/205579493_baf0f850d1_o_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/100/101/205579493_baf0f850d1_o_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/100/101/205579493_baf0f850d1_o_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/102/117215467_5cccef9aaa_b.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/102/117215467_5cccef9aaa_b.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/102/117215467_5cccef9aaa_b_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/102/117215467_5cccef9aaa_b_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/102/117215467_5cccef9aaa_b_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/102/117215467_5cccef9aaa_b_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/102/117215467_5cccef9aaa_b_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/102/117215467_5cccef9aaa_b_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/102/117215467_5cccef9aaa_b_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/102/117215467_5cccef9aaa_b_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/102/117215467_5cccef9aaa_b_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/102/117215467_5cccef9aaa_b_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/102/205579493_baf0f850d1_o.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/102/205579493_baf0f850d1_o.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/102/205579493_baf0f850d1_o_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/102/205579493_baf0f850d1_o_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/102/205579493_baf0f850d1_o_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/102/205579493_baf0f850d1_o_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/102/205579493_baf0f850d1_o_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/102/205579493_baf0f850d1_o_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/102/205579493_baf0f850d1_o_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/102/205579493_baf0f850d1_o_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/102/205579493_baf0f850d1_o_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/102/205579493_baf0f850d1_o_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/103/117215467_5cccef9aaa_b.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/103/117215467_5cccef9aaa_b.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/103/117215467_5cccef9aaa_b_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/103/117215467_5cccef9aaa_b_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/103/117215467_5cccef9aaa_b_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/103/117215467_5cccef9aaa_b_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/103/117215467_5cccef9aaa_b_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/103/117215467_5cccef9aaa_b_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/103/117215467_5cccef9aaa_b_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/103/117215467_5cccef9aaa_b_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/103/117215467_5cccef9aaa_b_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/103/117215467_5cccef9aaa_b_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/103/205579493_baf0f850d1_o.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/103/205579493_baf0f850d1_o.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/103/205579493_baf0f850d1_o_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/103/205579493_baf0f850d1_o_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/103/205579493_baf0f850d1_o_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/103/205579493_baf0f850d1_o_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/103/205579493_baf0f850d1_o_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/103/205579493_baf0f850d1_o_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/103/205579493_baf0f850d1_o_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/103/205579493_baf0f850d1_o_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_add/101/103/205579493_baf0f850d1_o_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_add/101/103/205579493_baf0f850d1_o_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/110/117215467_5cccef9aaa_b.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/110/117215467_5cccef9aaa_b.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/110/117215467_5cccef9aaa_b_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/110/117215467_5cccef9aaa_b_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/110/117215467_5cccef9aaa_b_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/110/117215467_5cccef9aaa_b_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/110/117215467_5cccef9aaa_b_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/110/117215467_5cccef9aaa_b_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/110/117215467_5cccef9aaa_b_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/110/117215467_5cccef9aaa_b_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/110/117215467_5cccef9aaa_b_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/110/117215467_5cccef9aaa_b_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/110/205579493_baf0f850d1_o.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/110/205579493_baf0f850d1_o.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/110/205579493_baf0f850d1_o_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/110/205579493_baf0f850d1_o_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/110/205579493_baf0f850d1_o_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/110/205579493_baf0f850d1_o_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/110/205579493_baf0f850d1_o_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/110/205579493_baf0f850d1_o_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/110/205579493_baf0f850d1_o_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/110/205579493_baf0f850d1_o_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/110/205579493_baf0f850d1_o_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/110/205579493_baf0f850d1_o_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/111/117215467_5cccef9aaa_b.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/111/117215467_5cccef9aaa_b.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/111/117215467_5cccef9aaa_b_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/111/117215467_5cccef9aaa_b_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/111/117215467_5cccef9aaa_b_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/111/117215467_5cccef9aaa_b_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/111/117215467_5cccef9aaa_b_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/111/117215467_5cccef9aaa_b_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/111/117215467_5cccef9aaa_b_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/111/117215467_5cccef9aaa_b_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/111/117215467_5cccef9aaa_b_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/111/117215467_5cccef9aaa_b_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/111/205579493_baf0f850d1_o.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/111/205579493_baf0f850d1_o.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/111/205579493_baf0f850d1_o_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/111/205579493_baf0f850d1_o_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/111/205579493_baf0f850d1_o_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/111/205579493_baf0f850d1_o_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/111/205579493_baf0f850d1_o_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/111/205579493_baf0f850d1_o_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/111/205579493_baf0f850d1_o_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/111/205579493_baf0f850d1_o_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/110/111/205579493_baf0f850d1_o_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/110/111/205579493_baf0f850d1_o_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/112/117215467_5cccef9aaa_b.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/112/117215467_5cccef9aaa_b.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/112/117215467_5cccef9aaa_b_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/112/117215467_5cccef9aaa_b_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/112/117215467_5cccef9aaa_b_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/112/117215467_5cccef9aaa_b_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/112/117215467_5cccef9aaa_b_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/112/117215467_5cccef9aaa_b_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/112/117215467_5cccef9aaa_b_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/112/117215467_5cccef9aaa_b_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/112/117215467_5cccef9aaa_b_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/112/117215467_5cccef9aaa_b_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/112/205579493_baf0f850d1_o.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/112/205579493_baf0f850d1_o.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/112/205579493_baf0f850d1_o_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/112/205579493_baf0f850d1_o_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/112/205579493_baf0f850d1_o_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/112/205579493_baf0f850d1_o_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/112/205579493_baf0f850d1_o_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/112/205579493_baf0f850d1_o_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/112/205579493_baf0f850d1_o_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/112/205579493_baf0f850d1_o_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/112/205579493_baf0f850d1_o_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/112/205579493_baf0f850d1_o_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/113/117215467_5cccef9aaa_b.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/113/117215467_5cccef9aaa_b.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/113/117215467_5cccef9aaa_b_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/113/117215467_5cccef9aaa_b_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/113/117215467_5cccef9aaa_b_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/113/117215467_5cccef9aaa_b_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/113/117215467_5cccef9aaa_b_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/113/117215467_5cccef9aaa_b_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/113/117215467_5cccef9aaa_b_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/113/117215467_5cccef9aaa_b_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/113/117215467_5cccef9aaa_b_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/113/117215467_5cccef9aaa_b_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/113/205579493_baf0f850d1_o.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/113/205579493_baf0f850d1_o.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/113/205579493_baf0f850d1_o_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/113/205579493_baf0f850d1_o_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/113/205579493_baf0f850d1_o_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/113/205579493_baf0f850d1_o_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/113/205579493_baf0f850d1_o_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/113/205579493_baf0f850d1_o_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/113/205579493_baf0f850d1_o_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/113/205579493_baf0f850d1_o_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_del/111/113/205579493_baf0f850d1_o_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_del/111/113/205579493_baf0f850d1_o_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/120/117215467_5cccef9aaa_b.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/120/117215467_5cccef9aaa_b.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/120/117215467_5cccef9aaa_b_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/120/117215467_5cccef9aaa_b_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/120/117215467_5cccef9aaa_b_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/120/117215467_5cccef9aaa_b_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/120/117215467_5cccef9aaa_b_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/120/117215467_5cccef9aaa_b_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/120/117215467_5cccef9aaa_b_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/120/117215467_5cccef9aaa_b_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/120/117215467_5cccef9aaa_b_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/120/117215467_5cccef9aaa_b_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/120/205579493_baf0f850d1_o.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/120/205579493_baf0f850d1_o.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/120/205579493_baf0f850d1_o_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/120/205579493_baf0f850d1_o_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/120/205579493_baf0f850d1_o_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/120/205579493_baf0f850d1_o_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/120/205579493_baf0f850d1_o_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/120/205579493_baf0f850d1_o_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/120/205579493_baf0f850d1_o_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/120/205579493_baf0f850d1_o_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/120/205579493_baf0f850d1_o_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/120/205579493_baf0f850d1_o_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/121/117215467_5cccef9aaa_b.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/121/117215467_5cccef9aaa_b.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/121/117215467_5cccef9aaa_b_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/121/117215467_5cccef9aaa_b_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/121/117215467_5cccef9aaa_b_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/121/117215467_5cccef9aaa_b_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/121/117215467_5cccef9aaa_b_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/121/117215467_5cccef9aaa_b_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/121/117215467_5cccef9aaa_b_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/121/117215467_5cccef9aaa_b_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/121/117215467_5cccef9aaa_b_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/121/117215467_5cccef9aaa_b_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/121/205579493_baf0f850d1_o.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/121/205579493_baf0f850d1_o.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/121/205579493_baf0f850d1_o_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/121/205579493_baf0f850d1_o_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/121/205579493_baf0f850d1_o_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/121/205579493_baf0f850d1_o_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/121/205579493_baf0f850d1_o_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/121/205579493_baf0f850d1_o_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/121/205579493_baf0f850d1_o_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/121/205579493_baf0f850d1_o_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/120/121/205579493_baf0f850d1_o_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/120/121/205579493_baf0f850d1_o_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/122/117215467_5cccef9aaa_b.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/122/117215467_5cccef9aaa_b.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/122/117215467_5cccef9aaa_b_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/122/117215467_5cccef9aaa_b_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/122/117215467_5cccef9aaa_b_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/122/117215467_5cccef9aaa_b_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/122/117215467_5cccef9aaa_b_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/122/117215467_5cccef9aaa_b_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/122/117215467_5cccef9aaa_b_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/122/117215467_5cccef9aaa_b_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/122/117215467_5cccef9aaa_b_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/122/117215467_5cccef9aaa_b_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/122/205579493_baf0f850d1_o.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/122/205579493_baf0f850d1_o.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/122/205579493_baf0f850d1_o_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/122/205579493_baf0f850d1_o_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/122/205579493_baf0f850d1_o_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/122/205579493_baf0f850d1_o_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/122/205579493_baf0f850d1_o_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/122/205579493_baf0f850d1_o_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/122/205579493_baf0f850d1_o_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/122/205579493_baf0f850d1_o_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/122/205579493_baf0f850d1_o_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/122/205579493_baf0f850d1_o_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/123/117215467_5cccef9aaa_b.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/123/117215467_5cccef9aaa_b.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/123/117215467_5cccef9aaa_b_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/123/117215467_5cccef9aaa_b_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/123/117215467_5cccef9aaa_b_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/123/117215467_5cccef9aaa_b_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/123/117215467_5cccef9aaa_b_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/123/117215467_5cccef9aaa_b_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/123/117215467_5cccef9aaa_b_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/123/117215467_5cccef9aaa_b_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/123/117215467_5cccef9aaa_b_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/123/117215467_5cccef9aaa_b_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/123/205579493_baf0f850d1_o.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/123/205579493_baf0f850d1_o.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/123/205579493_baf0f850d1_o_medium.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/123/205579493_baf0f850d1_o_medium.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/123/205579493_baf0f850d1_o_small120.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/123/205579493_baf0f850d1_o_small120.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/123/205579493_baf0f850d1_o_small160.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/123/205579493_baf0f850d1_o_small160.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/123/205579493_baf0f850d1_o_small200.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/123/205579493_baf0f850d1_o_small200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/examples-data/photoapp/images/user_for_dnd/121/123/205579493_baf0f850d1_o_small80.jpg
===================================================================
(Binary files differ)
Property changes on: branches/examples-data/photoapp/images/user_for_dnd/121/123/205579493_baf0f850d1_o_small80.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
15 years, 4 months
JBoss Rich Faces SVN: r15204 - in root/examples/trunk/components/core-demo/src/main: java/org/ajax4jsf and 7 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2009-08-18 11:30:03 -0400 (Tue, 18 Aug 2009)
New Revision: 15204
Added:
root/examples/trunk/components/core-demo/src/main/java/org/ajax4jsf/
root/examples/trunk/components/core-demo/src/main/java/org/ajax4jsf/component/
root/examples/trunk/components/core-demo/src/main/java/org/ajax4jsf/component/behavior/
root/examples/trunk/components/core-demo/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java
root/examples/trunk/components/core-demo/src/main/java/org/ajax4jsf/renderkit/
root/examples/trunk/components/core-demo/src/main/java/org/ajax4jsf/renderkit/AjaxBeahaviorRenderer.java
root/examples/trunk/components/core-demo/src/main/java/org/ajax4jsf/tag/
root/examples/trunk/components/core-demo/src/main/java/org/ajax4jsf/tag/AjaxHandler.java
root/examples/trunk/components/core-demo/src/main/webapp/WEB-INF/ajax-taglib.xml
root/examples/trunk/components/core-demo/src/main/webapp/pages/
root/examples/trunk/components/core-demo/src/main/webapp/pages/support.xhtml
Modified:
root/examples/trunk/components/core-demo/src/main/webapp/WEB-INF/web.xml
Log:
a4j:support behavior basic functionality
Added: root/examples/trunk/components/core-demo/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java
===================================================================
--- root/examples/trunk/components/core-demo/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java (rev 0)
+++ root/examples/trunk/components/core-demo/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java 2009-08-18 15:30:03 UTC (rev 15204)
@@ -0,0 +1,92 @@
+package org.ajax4jsf.component.behavior;
+
+import java.util.HashMap;
+
+import javax.el.ValueExpression;
+import javax.faces.component.behavior.FacesBehavior;
+import javax.faces.context.FacesContext;
+
+/**
+ * @author Anton Belevich
+ *
+ */
+@FacesBehavior(value="org.ajax4jsf.behavior.Ajax")
+public class AjaxBehavior extends javax.faces.component.behavior.AjaxBehavior {
+
+ public static final String BEHAVIOR_ID = "org.ajax4jsf.behavior.Ajax";
+
+ public static final String EVENT = "event";
+
+ private String event;
+
+ public String getEvent() {
+ if (this.event != null) {
+ return this.event;
+ }
+
+ ValueExpression expression = getValueExpression("event");
+
+ if (expression != null) {
+ FacesContext ctx = FacesContext.getCurrentInstance();
+ return (String)expression.getValue(ctx.getELContext());
+ }
+
+ return null;
+ }
+
+ public void setEvent(String event) {
+ this.event = event;
+ clearInitialState();
+ }
+
+ @Override
+ public Object saveState(FacesContext context) {
+
+ Object[] values;
+ Object superState = super.saveState(context);
+
+ if (initialStateMarked()) {
+ if (superState == null) {
+ values = null;
+ } else {
+ values = new Object[] { superState };
+ }
+ } else {
+ values = new Object[2];
+ values[0] = superState;
+ values[1] = this.event;
+ }
+ return values;
+ }
+
+ @Override
+ public void restoreState(FacesContext context, Object state) {
+
+ if (state != null) {
+
+ Object[] values = (Object[]) state;
+ super.restoreState(context, values[0]);
+
+ if (values.length != 1) {
+ this.event = (String)values[1];
+ clearInitialState();
+ }
+ }
+ }
+
+
+
+ public void setValueExpression(String name, ValueExpression binding) {
+ if(EVENT.equals(name) && binding.isLiteralText()) {
+ this.event = (String)binding.getValue(FacesContext.getCurrentInstance().getELContext());
+ clearInitialState();
+ } else {
+ super.setValueExpression(name, binding);
+ }
+ }
+
+ @Override
+ public String getRendererType() {
+ return BEHAVIOR_ID;
+ }
+}
Added: root/examples/trunk/components/core-demo/src/main/java/org/ajax4jsf/renderkit/AjaxBeahaviorRenderer.java
===================================================================
--- root/examples/trunk/components/core-demo/src/main/java/org/ajax4jsf/renderkit/AjaxBeahaviorRenderer.java (rev 0)
+++ root/examples/trunk/components/core-demo/src/main/java/org/ajax4jsf/renderkit/AjaxBeahaviorRenderer.java 2009-08-18 15:30:03 UTC (rev 15204)
@@ -0,0 +1,69 @@
+package org.ajax4jsf.renderkit;
+
+import java.util.Map;
+
+import javax.faces.application.ResourceDependencies;
+import javax.faces.application.ResourceDependency;
+import javax.faces.component.UIComponent;
+import javax.faces.component.behavior.ClientBehavior;
+import javax.faces.component.behavior.ClientBehaviorContext;
+import javax.faces.component.behavior.ClientBehaviorHolder;
+import javax.faces.context.FacesContext;
+import javax.faces.render.ClientBehaviorRenderer;
+import javax.faces.render.FacesBehaviorRenderer;
+import javax.faces.render.RenderKitFactory;
+
+import org.ajax4jsf.component.behavior.AjaxBehavior;
+import org.ajax4jsf.javascript.JSFunction;
+import org.richfaces.context.PartialViewContextImpl;
+
+/**
+ * @author Anton Belevich
+ *
+ */
+@FacesBehaviorRenderer(rendererType="org.ajax4jsf.behavior.Ajax",renderKitId=RenderKitFactory.HTML_BASIC_RENDER_KIT)
+@ResourceDependencies({
+ @ResourceDependency(name="jquery.js", target="head"),
+ @ResourceDependency(name="richfaces.js", target="head")
+})
+public class AjaxBeahaviorRenderer extends ClientBehaviorRenderer {
+ @Override
+ public void decode(FacesContext context, UIComponent component, ClientBehavior behavior) {
+ System.out.println("AjaxBeahaviorRenderer.decode()");
+ }
+
+ @Override
+ public String getScript(ClientBehaviorContext behaviorContext, ClientBehavior behavior) {
+ String script = null;
+ if(behavior instanceof AjaxBehavior) {
+ script = buildAjaxCommand(behaviorContext, (AjaxBehavior)behavior);
+ }
+ return script;
+ }
+
+ public String buildAjaxCommand(ClientBehaviorContext behaviorContext, AjaxBehavior behavior) {
+ UIComponent parent = behaviorContext.getComponent();
+ FacesContext context = behaviorContext.getFacesContext();
+
+ JSFunction ajaxFunction = AjaxRendererUtils.buildAjaxFunction(parent, context, "RichFaces.ajax");
+
+ Map<String, Object> options = buildOptions(context, behavior, parent);
+ ajaxFunction.addParameter(options);
+
+ return ajaxFunction.toString();
+ }
+
+ public Map<String, Object> buildOptions(FacesContext context, AjaxBehavior behavior, UIComponent parent) {
+ Map<String,Object> options = AjaxRendererUtils.buildEventOptions(context, parent);
+ String event = behavior.getEvent();
+ if(event == null) {
+ ClientBehaviorHolder bHolder = (ClientBehaviorHolder)parent;
+ event = bHolder.getDefaultEventName();
+ //TODO: if default event name == null (log or throw exception ???)
+ }
+ options.put(PartialViewContextImpl.BEHAVIOR_EVENT_PARAMETER, event);
+ options.put("execute", behavior.getExecute());
+ options.put("render", behavior.getExecute());
+ return options;
+ }
+}
Added: root/examples/trunk/components/core-demo/src/main/java/org/ajax4jsf/tag/AjaxHandler.java
===================================================================
--- root/examples/trunk/components/core-demo/src/main/java/org/ajax4jsf/tag/AjaxHandler.java (rev 0)
+++ root/examples/trunk/components/core-demo/src/main/java/org/ajax4jsf/tag/AjaxHandler.java 2009-08-18 15:30:03 UTC (rev 15204)
@@ -0,0 +1,120 @@
+package org.ajax4jsf.tag;
+
+import java.io.IOException;
+import java.util.Collection;
+
+import javax.faces.application.Application;
+import javax.faces.component.UIComponent;
+import javax.faces.component.behavior.ClientBehaviorHolder;
+import javax.faces.context.FacesContext;
+import javax.faces.view.BehaviorHolderAttachedObjectHandler;
+import javax.faces.view.facelets.BehaviorConfig;
+import javax.faces.view.facelets.CompositeFaceletHandler;
+import javax.faces.view.facelets.FaceletContext;
+import javax.faces.view.facelets.TagAttribute;
+import javax.faces.view.facelets.TagException;
+import javax.faces.view.facelets.TagHandler;
+
+import org.ajax4jsf.component.behavior.AjaxBehavior;
+
+/**
+ * @author Anton Belevich
+ *
+ */
+
+public class AjaxHandler extends TagHandler implements BehaviorHolderAttachedObjectHandler {
+
+ private final TagAttribute event;
+ private final TagAttribute execute;
+ private final TagAttribute render;
+ private final TagAttribute onevent;
+ private final TagAttribute onerror;
+ private final TagAttribute disabled;
+ private final TagAttribute immediate;
+ private final TagAttribute listener;
+
+ public AjaxHandler(BehaviorConfig config) {
+ super(config);
+ this.event = this.getAttribute("event");
+ this.execute = this.getAttribute("execute");
+ this.render = this.getAttribute("render");
+ this.onevent = this.getAttribute("onevent");
+ this.onerror = this.getAttribute("onerror");
+ this.disabled = this.getAttribute("disabled");
+ this.immediate = this.getAttribute("immediate");
+ this.listener = this.getAttribute("listener");
+ }
+
+ public void apply(FaceletContext context, UIComponent parent) throws IOException {
+ String eventName = getEventName();
+ if(!isWrapping()) {
+ applyAttachedObject(context, parent, eventName);
+ } else {
+ this.nextHandler.apply(context, parent);
+ }
+ }
+
+ public void applyAttachedObject(FaceletContext context, UIComponent parent, String eventName) {
+ ClientBehaviorHolder bHolder = (ClientBehaviorHolder) parent;
+ if (null == eventName) {
+ eventName = bHolder.getDefaultEventName();
+ if (null == eventName) {
+ throw new TagException(this.tag, "Event attribute could not be determined: " + eventName);
+ }
+ } else {
+ Collection<String> eventNames = bHolder.getEventNames();
+ if (!eventNames.contains(eventName)) {
+ throw new TagException(this.tag, eventName + "event is not supported for the " + parent.getClass().getSimpleName());
+ }
+ }
+ AjaxBehavior ajaxBehavior = createBehavior(context, parent, eventName);
+ bHolder.addClientBehavior(eventName, ajaxBehavior);
+ }
+
+
+ public AjaxBehavior createBehavior(FaceletContext context, UIComponent parent, String eventName) {
+ Application application = context.getFacesContext().getApplication();
+ AjaxBehavior ajaxBehavior = (AjaxBehavior)application.createBehavior(AjaxBehavior.BEHAVIOR_ID);
+
+ setBehaviorAttribute(context, ajaxBehavior, this.event, String.class);
+ setBehaviorAttribute(context, ajaxBehavior, this.onevent, String.class);
+ setBehaviorAttribute(context, ajaxBehavior, this.onerror, String.class);
+ setBehaviorAttribute(context, ajaxBehavior, this.disabled, Boolean.class);
+ setBehaviorAttribute(context, ajaxBehavior, this.immediate, Boolean.class);
+ setBehaviorAttribute(context, ajaxBehavior, this.execute, Object.class);
+ setBehaviorAttribute(context, ajaxBehavior, this.render, Object.class);
+
+ if (null != listener) {
+// behavior.addAjaxBehaviorListener(new AjaxBehaviorListenerImpl(
+// this.listener.getMethodExpression(ctx, Object.class, new Class[] { AjaxBehaviorEvent.class }),
+// this.listener.getMethodExpression(ctx, Object.class, new Class[] { })));
+ }
+
+ return ajaxBehavior;
+ }
+
+ public void applyAttachedObject(FacesContext context, UIComponent parent) {
+ FaceletContext ctx = (FaceletContext) context.getAttributes().get(FaceletContext.FACELET_CONTEXT_KEY);
+ applyAttachedObject(ctx, parent, getEventName());
+ }
+
+ private void setBehaviorAttribute(FaceletContext ctx, AjaxBehavior behavior, TagAttribute attr, Class<?> type) {
+ if (attr != null) {
+ behavior.setValueExpression(attr.getLocalName(),
+ attr.getValueExpression(ctx, type));
+ }
+ }
+
+ public String getEventName() {
+ return (this.event != null) ? this.event.getValue() : null;
+ }
+
+ public String getFor() {
+ return null;
+ }
+
+ private boolean isWrapping() {
+ return ((this.nextHandler instanceof TagHandler) || (this.nextHandler instanceof CompositeFaceletHandler));
+ }
+
+}
Added: root/examples/trunk/components/core-demo/src/main/webapp/WEB-INF/ajax-taglib.xml
===================================================================
--- root/examples/trunk/components/core-demo/src/main/webapp/WEB-INF/ajax-taglib.xml (rev 0)
+++ root/examples/trunk/components/core-demo/src/main/webapp/WEB-INF/ajax-taglib.xml 2009-08-18 15:30:03 UTC (rev 15204)
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<facelet-taglib xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facelettaglibrary_2_0.xsd"
+ version="2.0">
+ <namespace>http://richfaces.org/a4j/behavior</namespace>
+ <tag>
+ <tag-name>ajax</tag-name>
+ <behavior>
+ <behavior-id>org.ajax4jsf.behavior.Ajax</behavior-id>
+ <handler-class>org.ajax4jsf.tag.AjaxHandler</handler-class>
+ </behavior>
+ </tag>
+</facelet-taglib>
Modified: root/examples/trunk/components/core-demo/src/main/webapp/WEB-INF/web.xml
===================================================================
--- root/examples/trunk/components/core-demo/src/main/webapp/WEB-INF/web.xml 2009-08-18 14:04:15 UTC (rev 15203)
+++ root/examples/trunk/components/core-demo/src/main/webapp/WEB-INF/web.xml 2009-08-18 15:30:03 UTC (rev 15204)
@@ -19,6 +19,11 @@
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Development</param-value>
</context-param>
+
+ <context-param>
+ <param-name>javax.faces.FACELETS_LIBRARIES</param-name>
+ <param-value>/WEB-INF/ajax-taglib.xml</param-value>
+ </context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
Added: root/examples/trunk/components/core-demo/src/main/webapp/pages/support.xhtml
===================================================================
--- root/examples/trunk/components/core-demo/src/main/webapp/pages/support.xhtml (rev 0)
+++ root/examples/trunk/components/core-demo/src/main/webapp/pages/support.xhtml 2009-08-18 15:30:03 UTC (rev 15204)
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:a="http://richfaces.org/a4j/behavior">
+ <h:head>
+ Richfaces Ajax Sample
+ </h:head>
+ <h:body>
+ <h:form>
+ <h:panelGrid columns="2">
+ <h:inputText value="#{sampleBean.firstText}">
+ <f:ajax event="keyup" render="firstOut"/>
+ </h:inputText>
+ <h:outputText id="firstOut" value="#{sampleBean.firstText}" />
+
+ <h:inputText value="#{sampleBean.secondText}">
+ <f:ajax event="keyup" render="secondOut"/>
+ </h:inputText>
+ <h:outputText id="secondOut" value="#{sampleBean.secondText}" />
+ </h:panelGrid>
+
+ <h:panelGrid columns="2">
+ <h:inputText value="#{sampleBean.thirdText}">
+ <a:ajax/>
+ </h:inputText>
+ <h:outputText id="thirdOut" value="#{sampleBean.thirdText}" />
+
+ <h:inputText value="#{sampleBean.fourthText}" >
+ <a:ajax event="keyup" execute="fourthOut" render="fourthOut"/>
+ </h:inputText>
+ <h:outputText id="fourthOut" value="#{sampleBean.fourthText}" />
+ </h:panelGrid>
+
+ </h:form>
+ </h:body>
+</html>
\ No newline at end of file
15 years, 4 months
JBoss Rich Faces SVN: r15203 - root.
by richfaces-svn-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2009-08-18 10:04:15 -0400 (Tue, 18 Aug 2009)
New Revision: 15203
Modified:
root/pom.xml
Log:
Minor update for name, and missing modules
Modified: root/pom.xml
===================================================================
--- root/pom.xml 2009-08-18 13:55:15 UTC (rev 15202)
+++ root/pom.xml 2009-08-18 14:04:15 UTC (rev 15203)
@@ -9,13 +9,16 @@
<artifactId>root</artifactId>
<version>1.0</version>
<packaging>pom</packaging>
- <name>All modules aggregator</name>
+ <name>richfaces all module aggregator</name>
<modules>
<module>framework/${framework.svn.dir}</module>
- <!--<module>cdk/${cdk.svn.dir}</module>-->
+ <module>cdk/${cdk.svn.dir}</module>
<module>ui/${ui.svn.dir}</module>
+ <!--<module>ui-sandbox/${ui-sandbox.svn.dir}</module>-->
<module>examples/${examples.svn.dir}</module>
+ <!--<module>examples-sandbox/${examples-sandbox.svn.dir}</module>-->
+ <!--<module>doc/${doc.svn.dir}</module>-->
</modules>
<profiles>
@@ -28,7 +31,10 @@
<framework.svn.dir>trunk</framework.svn.dir>
<cdk.svn.dir>trunk</cdk.svn.dir>
<ui.svn.dir>trunk</ui.svn.dir>
+ <ui-sandbox.svn.dir>trunk</ui-sandbox.svn.dir>
<examples.svn.dir>trunk</examples.svn.dir>
+ <examples-sandbox.svn.dir>trunk</examples-sandbox.svn.dir>
+ <doc.svn.dir>trunk</doc.svn.dir>
</properties>
</profile>
<profile>
15 years, 4 months
JBoss Rich Faces SVN: r15202 - in tags/3.3.2.CR1/ui/simpleTogglePanel/src/main: resources/org/richfaces/renderkit/html/scripts and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2009-08-18 09:55:15 -0400 (Tue, 18 Aug 2009)
New Revision: 15202
Modified:
tags/3.3.2.CR1/ui/simpleTogglePanel/src/main/java/org/richfaces/renderkit/html/SimpleTogglePanelRenderer.java
tags/3.3.2.CR1/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/simpleTogglePanel.js
Log:
RF-7704
Modified: tags/3.3.2.CR1/ui/simpleTogglePanel/src/main/java/org/richfaces/renderkit/html/SimpleTogglePanelRenderer.java
===================================================================
--- tags/3.3.2.CR1/ui/simpleTogglePanel/src/main/java/org/richfaces/renderkit/html/SimpleTogglePanelRenderer.java 2009-08-18 13:52:45 UTC (rev 15201)
+++ tags/3.3.2.CR1/ui/simpleTogglePanel/src/main/java/org/richfaces/renderkit/html/SimpleTogglePanelRenderer.java 2009-08-18 13:55:15 UTC (rev 15202)
@@ -39,6 +39,7 @@
import org.ajax4jsf.renderkit.AjaxRendererUtils;
import org.ajax4jsf.renderkit.RendererUtils;
import org.richfaces.component.UISimpleTogglePanel;
+import org.richfaces.component.util.HtmlUtil;
import org.richfaces.event.SimpleToggleEvent;
import org.richfaces.event.SimpleTogglePanelSwitchEvent;
@@ -182,8 +183,8 @@
public void encodeChildren(FacesContext context, UIComponent component) throws IOException {
UISimpleTogglePanel comp = (UISimpleTogglePanel) component;
- if (!(((comp.getSwitchType() == null) || (comp.getSwitchType().equals(UISimpleTogglePanel.CLIENT_SWITCH_TYPE) != true)) && (!comp.isOpened())))
- {
+ String switchType = comp.getSwitchType();
+ if (UISimpleTogglePanel.CLIENT_SWITCH_TYPE.equals(switchType) || comp.isOpened()) {
super.encodeChildren(context, component);
}
}
@@ -199,8 +200,9 @@
String width = convertToString(component.getAttributes().get("width"));
if (!isEmpty(width)) {
width = "width: " + convertToString(width);
- style = width + (isEmpty(style) ? ";" : "; " + style + ";");
}
+
+ style = HtmlUtil.concatStyles(style, width);
if (!isEmpty(style)) {
getUtils().writeAttribute(writer, "style", style);
}
@@ -230,17 +232,17 @@
getUtils().writeAttribute(writer, "class", "rich-stglpanel-body " + convertToString(component.getAttributes().get("bodyClass")) );
getUtils().writeAttribute(writer, "id", convertToString(clientId) + "_body" );
- String display = convertToString(component.getAttributes().get("display"));
- if (!isEmpty(display)) {
- display = "display: " + convertToString(display) + "; ";
+ String display = "";
+ if (!component.isOpened()) {
+ display = "display: none";
}
String height = convertToString(component.getAttributes().get("height"));
if (!isEmpty(height)) {
- height = "height: " + convertToString(component.getAttributes().get("height")) + ";";
+ height = "height: " + height;
}
- String style = display + height;
+ String style = HtmlUtil.concatStyles(display, height);
if (!isEmpty(style)) {
getUtils().writeAttribute(writer, "style", style);
}
Modified: tags/3.3.2.CR1/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/simpleTogglePanel.js
===================================================================
--- tags/3.3.2.CR1/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/simpleTogglePanel.js 2009-08-18 13:52:45 UTC (rev 15201)
+++ tags/3.3.2.CR1/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/simpleTogglePanel.js 2009-08-18 13:55:15 UTC (rev 15202)
@@ -88,7 +88,6 @@
{
result = eventFunction.call(element, eventObj);
}
- catch (e) { LOG.warn("Exception: "+e.Message + "\n[on"+eventName + "]"); }
}
@@ -142,9 +141,13 @@
var thePanel = this.panels.get(panelId);
if (thePanel.status == "true") {
- return thePanel.invokeEvent("collapse",event,"true",element);
+ var res = thePanel.invokeEvent("collapse",event,"true",element);
+ Element.hide(panelId+"_body");
+ return res
} else {
- return thePanel.invokeEvent("expand",event,"false",element);
+ var res = thePanel.invokeEvent("expand",event,"false",element);
+ Element.show(panelId+"_body");
+ return res
}
}
15 years, 4 months
JBoss Rich Faces SVN: r15201 - branches/community/3.3.X/docs/userguide/en/src/main/docbook/modules.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-08-18 09:52:45 -0400 (Tue, 18 Aug 2009)
New Revision: 15201
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
Log:
https://jira.jboss.org/jira/browse/RF-7716 - creating an empty section for now;
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2009-08-18 13:51:52 UTC (rev 15200)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2009-08-18 13:52:45 UTC (rev 15201)
@@ -3637,6 +3637,10 @@
</section>
</section>
</section>
+ <section id="customstyles">
+ <title>Definition of Custom Style Classes</title>
+ <para></para>
+ </section>
<section id="statemanagerapi">
<title>State Manager API</title>
<para> JSF has an advanced navigation mechanism that allows you to define navigation from
15 years, 4 months
JBoss Rich Faces SVN: r15200 - root/framework/trunk/impl/src/main/java/org/richfaces/context.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-08-18 09:51:52 -0400 (Tue, 18 Aug 2009)
New Revision: 15200
Modified:
root/framework/trunk/impl/src/main/java/org/richfaces/context/PartialViewContextImpl.java
Log:
Behaviors support added to PartialViewContextImpl
Modified: root/framework/trunk/impl/src/main/java/org/richfaces/context/PartialViewContextImpl.java
===================================================================
--- root/framework/trunk/impl/src/main/java/org/richfaces/context/PartialViewContextImpl.java 2009-08-18 13:13:17 UTC (rev 15199)
+++ root/framework/trunk/impl/src/main/java/org/richfaces/context/PartialViewContextImpl.java 2009-08-18 13:51:52 UTC (rev 15200)
@@ -26,9 +26,12 @@
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.List;
-import java.util.Set;
+import java.util.Map;
import javax.faces.component.UIComponent;
+import javax.faces.component.behavior.AjaxBehavior;
+import javax.faces.component.behavior.ClientBehavior;
+import javax.faces.component.behavior.ClientBehaviorHolder;
import javax.faces.component.visit.VisitCallback;
import javax.faces.component.visit.VisitContext;
import javax.faces.component.visit.VisitHint;
@@ -48,7 +51,9 @@
*/
public class PartialViewContextImpl extends PartialViewContextWrapper {
- private final PartialViewContext wrappedContext;
+ public static final String BEHAVIOR_EVENT_PARAMETER = "javax.faces.behavior.event";
+
+ private final PartialViewContext wrappedContext;
private final String activatorId;
@@ -56,6 +61,8 @@
private boolean executeAll = true;
+ private String behaviorEvent = null;
+
public PartialViewContextImpl(PartialViewContext wrappedContext, String activatorId) {
super();
@@ -75,9 +82,9 @@
);
}
- private static class ComponentCallback implements VisitCallback {
+ private abstract static class ComponentCallback implements VisitCallback {
- private final String attributeName;
+ private final String behaviorEvent;
private boolean handleAll;
@@ -85,10 +92,10 @@
private Collection<String> componentIds = new LinkedHashSet<String>();
- public ComponentCallback(String attributeName, boolean handleNone,
+ public ComponentCallback(String behaviorEvent, boolean handleNone,
boolean handleAll) {
super();
- this.attributeName = attributeName;
+ this.behaviorEvent = behaviorEvent;
this.handleNone = handleNone;
this.handleAll = handleAll;
}
@@ -96,10 +103,55 @@
protected void addDefaultComponents(Collection<String> ids) {
}
+
+ private AjaxBehavior findBehavior(UIComponent target) {
+ AjaxBehavior result = null;
+ if (behaviorEvent != null) {
+ if (target instanceof ClientBehaviorHolder) {
+ ClientBehaviorHolder behaviorHolder = (ClientBehaviorHolder) target;
+ List<ClientBehavior> behaviors = behaviorHolder.getClientBehaviors().get(behaviorEvent);
+ if (behaviors != null) {
+ for (ClientBehavior behavior : behaviors) {
+ if (behavior instanceof AjaxBehavior) {
+ AjaxBehavior ajaxBehavior = (AjaxBehavior) behavior;
+ if (!ajaxBehavior.isDisabled()) {
+ result = (AjaxBehavior) behavior;
+ break;
+ }
+ }
+ }
+ }
+ }
+ }
+
+ if (result == null) {
+ //TODO: log
+ }
+
+ return result;
+ }
+ protected Object getAttributeObject(UIComponent target) {
+ Object result = null;
+ if (behaviorEvent != null) {
+ AjaxBehavior ajaxBehavior = findBehavior(target);
+ if (ajaxBehavior != null) {
+ result = getBehaviorAttributeValue(ajaxBehavior);
+ }
+ } else {
+ result = getAttributeValue(target);
+ }
+
+ return result;
+ }
+
+ protected abstract Object getBehaviorAttributeValue(AjaxBehavior behavior);
+
+ protected abstract Object getAttributeValue(UIComponent component);
+
public VisitResult visit(VisitContext context, UIComponent target) {
- Object attributeValue = target.getAttributes().get(attributeName);
- Set<String> attributeIds = AjaxRendererUtils.asSet(attributeValue);
+ Object attributeObject = getAttributeObject(target);
+ Collection<String> attributeIds = AjaxRendererUtils.asSet(attributeObject);
if (attributeIds != null && !attributeIds.isEmpty()) {
if (attributeIds.contains(AjaxRendererUtils.ALL)) {
if (!AjaxRendererUtils.ALL_SET.equals(attributeIds)) {
@@ -144,8 +196,8 @@
private static class ExecuteComponentCallback extends ComponentCallback {
- public ExecuteComponentCallback() {
- super("execute", false, true);
+ public ExecuteComponentCallback(String behaviorEvent) {
+ super(behaviorEvent, false, true);
}
@Override
@@ -154,12 +206,21 @@
ids.add(AjaxRendererUtils.THIS);
}
+ @Override
+ public Object getAttributeValue(UIComponent component) {
+ return component.getAttributes().get("execute");
+ }
+
+ @Override
+ protected Object getBehaviorAttributeValue(AjaxBehavior behavior) {
+ return behavior.getExecute();
+ }
}
private static class RenderComponentCallback extends ComponentCallback {
- public RenderComponentCallback() {
- super("render", false, false);
+ public RenderComponentCallback(String behaviorEvent) {
+ super(behaviorEvent, false, false);
}
private boolean limitToList = false;
@@ -175,6 +236,16 @@
return visitResult;
}
+
+ @Override
+ public Object getAttributeValue(UIComponent component) {
+ return component.getAttributes().get("render");
+ }
+
+ @Override
+ protected Object getBehaviorAttributeValue(AjaxBehavior behavior) {
+ return behavior.getRender();
+ }
}
//TODO: data table support
@@ -189,13 +260,20 @@
return ids;
}
+ private void decodeBehaviorEvent(FacesContext context) {
+ Map<String, String> requestParameterMap = context.getExternalContext().getRequestParameterMap();
+ this.behaviorEvent = requestParameterMap.get(BEHAVIOR_EVENT_PARAMETER);
+ }
+
private void processExecute(PartialViewContext partialViewContext) {
if (!hasProcessedExecute) {
hasProcessedExecute = true;
FacesContext facesContext = FacesContext.getCurrentInstance();
+
+ decodeBehaviorEvent(facesContext);
- ExecuteComponentCallback executeCallback = new ExecuteComponentCallback();
+ ExecuteComponentCallback executeCallback = new ExecuteComponentCallback(behaviorEvent);
boolean visitResult = facesContext.getViewRoot().visitTree(
createVisitContext(facesContext),
@@ -222,7 +300,7 @@
FacesContext facesContext = FacesContext.getCurrentInstance();
if (!partialViewContext.isRenderAll()) {
- RenderComponentCallback renderCallback = new RenderComponentCallback();
+ RenderComponentCallback renderCallback = new RenderComponentCallback(behaviorEvent);
boolean visitResult = facesContext.getViewRoot().visitTree(
createVisitContext(facesContext),
renderCallback);
15 years, 4 months
JBoss Rich Faces SVN: r15199 - in root/framework/trunk/impl/src/test: java/org/richfaces/javascript and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2009-08-18 09:13:17 -0400 (Tue, 18 Aug 2009)
New Revision: 15199
Added:
root/framework/trunk/impl/src/test/java/org/richfaces/javascript/
root/framework/trunk/impl/src/test/java/org/richfaces/javascript/QUnitTest.java
Modified:
root/framework/trunk/impl/src/test/resources/javascript/4_0_0.html
Log:
RFPL-59
Added: root/framework/trunk/impl/src/test/java/org/richfaces/javascript/QUnitTest.java
===================================================================
--- root/framework/trunk/impl/src/test/java/org/richfaces/javascript/QUnitTest.java (rev 0)
+++ root/framework/trunk/impl/src/test/java/org/richfaces/javascript/QUnitTest.java 2009-08-18 13:13:17 UTC (rev 15199)
@@ -0,0 +1,107 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.javascript;
+
+import static org.junit.Assert.fail;
+
+import java.net.URL;
+import java.util.Iterator;
+
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+
+import com.gargoylesoftware.htmlunit.AlertHandler;
+import com.gargoylesoftware.htmlunit.Page;
+import com.gargoylesoftware.htmlunit.WebClient;
+import com.gargoylesoftware.htmlunit.html.HtmlElement;
+import com.gargoylesoftware.htmlunit.html.HtmlListItem;
+import com.gargoylesoftware.htmlunit.html.HtmlPage;
+
+/**
+ *
+ * @version $Revision$
+ * @author Konstantin Mishin
+ */
+public class QUnitTest {
+
+ private WebClient webClient_;
+
+ @Before
+ public void setUp() {
+ webClient_ = new WebClient();
+ webClient_.setAlertHandler(new AlertHandler() {
+ public void handleAlert(Page page, String message) {
+ System.out.println(" .handleAlert() " + message);
+ }
+ });
+ }
+
+ @After
+ public void tearDown() {
+ webClient_.closeAllWindows();
+ webClient_ = null;
+ }
+
+ protected void runTest(URL url) throws Exception {
+ HtmlPage page = loadPage(url);
+ HtmlElement doc = page.getDocumentElement();
+ HtmlElement tests = (HtmlElement) doc.getElementById("tests");
+ Iterator<HtmlElement> iter = tests.getChildElements().iterator();
+ if (!iter.hasNext()) {
+ fail("No result found");
+ }
+ StringBuilder sb = new StringBuilder();
+ int i = 1;
+ while (iter.hasNext()) {
+ final HtmlListItem testNode = (HtmlListItem) iter.next();
+ if (testNode.getAttribute("class").contains("fail")) {
+ sb.append(i).append(". ").append(testNode.<HtmlElement>getFirstByXPath("./strong").getFirstChild().getTextContent()).append("\n");
+ int j = 1;
+ for(HtmlElement li : testNode.<HtmlElement>getFirstByXPath("./ol").getChildElements()) {
+ if (li.getAttribute("class").contains("fail")) {
+ sb.append(" ").append(j).append(". ").append(li.getTextContent()).append("\n");
+ }
+ j++;
+ }
+ }
+ i++;
+ }
+ if(sb.length() > 0) {
+ fail("Failures:\n" + sb + "User Agent: " + doc.getElementById("userAgent").getTextContent());
+ }
+ }
+
+ protected HtmlPage loadPage(URL url) throws Exception {
+ HtmlPage page = webClient_.getPage(url);
+ webClient_.waitForBackgroundJavaScriptStartingBefore(4 * 60 * 1000);
+ return page;
+ }
+
+ /**
+ * @throws Exception if an error occurs
+ */
+ @Test
+ public void test() throws Exception {
+ runTest(getClass().getClassLoader().getResource("javascript/4_0_0.html"));
+ }
+}
Modified: root/framework/trunk/impl/src/test/resources/javascript/4_0_0.html
===================================================================
--- root/framework/trunk/impl/src/test/resources/javascript/4_0_0.html 2009-08-18 12:27:36 UTC (rev 15198)
+++ root/framework/trunk/impl/src/test/resources/javascript/4_0_0.html 2009-08-18 13:13:17 UTC (rev 15199)
@@ -11,7 +11,7 @@
<script type="text/javascript">
var jsf = {};
jQuery(document).ready(function(){
- test("RichFaces.submitForm", function() {
+ test("RichFaces.submitForm test", function() {
expect(7);
var submitTarget = "target";
var submitParameters = {
@@ -32,14 +32,25 @@
form.trigger = trigger;
ok(!form.attr("target"));
ok(!jQuery("input", form).size());
- return false;
});
test("RichFaces.log test", function() {
- ok(false, "Not yet implemented");
- // RichFaces.console.error("some error");
- // equals(RichFaces.getValue(["prop1", "prop2"], base), "value2");
- // equals(RichFaces.getValue(["prop3", "prop2"], base), undefined);
+ expect(8);
+ var log = jQuery("#richfaces\\.log");
+ equals(log.size(), 0);
+ RichFaces.log.error("some error");
+ RichFaces.log.info("some info");
+ log = jQuery("#richfaces\\.log");
+ equals(log.find("div").size(), 2);
+ equals(log.find("div:contains('some error')").size(), 1);
+ equals(log.find("div:contains('some info')").size(), 1);
+ RichFaces.log.setLevel("error");
+ equals(log.find("div").size(), 0);
+ RichFaces.log.error("some error");
+ RichFaces.log.info("some info");
+ equals(log.find("div").size(), 1);
+ equals(log.find("div:contains('some error')").size(), 1);
+ equals(log.find("div:contains('some info')").size(), 0);
});
test("RichFaces.getValue test", function() {
@@ -119,7 +130,7 @@
request : function(source, event, options) {
equals(source, ajaxSource);
equals(event, ajaxEvent);
- equals(options, ajaxOptions);
+ same(options, ajaxOptions);
}
}
RichFaces.ajax(ajaxSource, ajaxEvent, ajaxOptions);
15 years, 4 months
JBoss Rich Faces SVN: r15198 - in root/ui/trunk: components/core/src/main/java/org/richfaces/renderkit/html and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-08-18 08:27:36 -0400 (Tue, 18 Aug 2009)
New Revision: 15198
Removed:
root/ui/trunk/components/core/src/main/java/org/richfaces/renderkit/html/AjaxFunctionRenderer1.java
Modified:
root/ui/trunk/pom.xml
Log:
Big A1 components check-in
Deleted: root/ui/trunk/components/core/src/main/java/org/richfaces/renderkit/html/AjaxFunctionRenderer1.java
===================================================================
--- root/ui/trunk/components/core/src/main/java/org/richfaces/renderkit/html/AjaxFunctionRenderer1.java 2009-08-18 12:26:30 UTC (rev 15197)
+++ root/ui/trunk/components/core/src/main/java/org/richfaces/renderkit/html/AjaxFunctionRenderer1.java 2009-08-18 12:27:36 UTC (rev 15198)
@@ -1,53 +0,0 @@
-/**
- * License Agreement.
- *
- * Rich Faces - Natural Ajax for Java Server Faces (JSF)
- *
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-package org.richfaces.renderkit.html;
-
-import java.io.IOException;
-
-import javax.faces.component.UIComponent;
-import javax.faces.context.FacesContext;
-import javax.faces.context.ResponseWriter;
-
-import org.ajax4jsf.renderkit.RendererUtils.HTML;
-import org.richfaces.component.UIAjaxFunction;
-import org.richfaces.renderkit.AjaxFunctionRendererBase;
-
-/**
- * @author Nick Belaevski
- *
- */
-public class AjaxFunctionRenderer1 extends AjaxFunctionRendererBase {
-
- /* (non-Javadoc)
- * @see org.ajax4jsf.renderkit.RendererBase#encodeEnd(javax.faces.context.FacesContext, javax.faces.component.UIComponent)
- */
- @Override
- public void encodeEnd(FacesContext context, UIComponent component)
- throws IOException {
- super.encodeEnd(context, component);
- ResponseWriter writer = context.getResponseWriter();
- writer.startElement(HTML.SCRIPT_ELEM, component);
- writer.writeAttribute(HTML.id_ATTRIBUTE, component.getClientId(context), "id");
- writer.writeText(getFunction(context, (UIAjaxFunction) component), null);
- writer.endElement(HTML.SCRIPT_ELEM);
- }
-}
Modified: root/ui/trunk/pom.xml
===================================================================
--- root/ui/trunk/pom.xml 2009-08-18 12:26:30 UTC (rev 15197)
+++ root/ui/trunk/pom.xml 2009-08-18 12:27:36 UTC (rev 15198)
@@ -23,12 +23,12 @@
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
<executions>
- <!--execution>
+ <execution>
<phase>generate-sources</phase>
<goals>
- <goal>generate</goal>
+ <goal>compile-templates</goal>
</goals>
- </execution-->
+ </execution>
<!--execution>
<id>generate-test-sources</id>
<phase>generate-test-sources</phase>
15 years, 4 months
JBoss Rich Faces SVN: r15197 - root/cdk/trunk/plugins/maven-cdk-plugin/src/main/java/org/richfaces/builder/mojo.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-08-18 08:26:30 -0400 (Tue, 18 Aug 2009)
New Revision: 15197
Added:
root/cdk/trunk/plugins/maven-cdk-plugin/src/main/java/org/richfaces/builder/mojo/CompileTemplatesMojo.java
Removed:
root/cdk/trunk/plugins/maven-cdk-plugin/src/main/java/org/richfaces/builder/mojo/BuildLibraryMojo.java
Modified:
root/cdk/trunk/plugins/maven-cdk-plugin/src/main/java/org/richfaces/builder/mojo/AbstractCDKMojo.java
Log:
CDK: renamed "build" task into "compile-templates"
Modified: root/cdk/trunk/plugins/maven-cdk-plugin/src/main/java/org/richfaces/builder/mojo/AbstractCDKMojo.java
===================================================================
--- root/cdk/trunk/plugins/maven-cdk-plugin/src/main/java/org/richfaces/builder/mojo/AbstractCDKMojo.java 2009-08-18 11:22:48 UTC (rev 15196)
+++ root/cdk/trunk/plugins/maven-cdk-plugin/src/main/java/org/richfaces/builder/mojo/AbstractCDKMojo.java 2009-08-18 12:26:30 UTC (rev 15197)
@@ -361,22 +361,22 @@
}
protected String[] doScan(String[] includes, String[] excludes, File rootFolder)
- throws MojoExecutionException {
- try {
- DirectoryScanner directoryScanner = new DirectoryScanner();
- directoryScanner.setFollowSymlinks(true);
- directoryScanner.setBasedir(rootFolder);
- directoryScanner.setExcludes(excludes);
- directoryScanner.setIncludes(includes);
- directoryScanner.addDefaultExcludes();
-
- directoryScanner.scan();
-
- return directoryScanner.getIncludedFiles();
- } catch (IllegalStateException e) {
- throw new MojoExecutionException(
- "Error scanning source root: \'" + rootFolder + "\'", e );
- }
- }
+ throws MojoExecutionException {
+ try {
+ DirectoryScanner directoryScanner = new DirectoryScanner();
+ directoryScanner.setFollowSymlinks(true);
+ directoryScanner.setBasedir(rootFolder);
+ directoryScanner.setExcludes(excludes);
+ directoryScanner.setIncludes(includes);
+ directoryScanner.addDefaultExcludes();
+ directoryScanner.scan();
+
+ return directoryScanner.getIncludedFiles();
+ } catch (IllegalStateException e) {
+ throw new MojoExecutionException(
+ "Error scanning source root: \'" + rootFolder + "\'", e );
+ }
+ }
+
}
Deleted: root/cdk/trunk/plugins/maven-cdk-plugin/src/main/java/org/richfaces/builder/mojo/BuildLibraryMojo.java
===================================================================
--- root/cdk/trunk/plugins/maven-cdk-plugin/src/main/java/org/richfaces/builder/mojo/BuildLibraryMojo.java 2009-08-18 11:22:48 UTC (rev 15196)
+++ root/cdk/trunk/plugins/maven-cdk-plugin/src/main/java/org/richfaces/builder/mojo/BuildLibraryMojo.java 2009-08-18 12:26:30 UTC (rev 15197)
@@ -1,129 +0,0 @@
-/**
- * License Agreement.
- *
- * Rich Faces - Natural Ajax for Java Server Faces (JSF)
- *
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-package org.richfaces.builder.mojo;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.PrintWriter;
-import java.util.HashSet;
-import java.util.Set;
-
-import org.apache.maven.plugin.MojoExecutionException;
-import org.apache.maven.plugin.MojoFailureException;
-import org.richfaces.builder.model.JavaClass;
-import org.richfaces.builder.render.JavaClassRenderer;
-import org.richfaces.builder.templates.TemplateReader;
-
-/**
- * @author Nick Belaevski
- * @goal build
- */
-public class BuildLibraryMojo extends AbstractCDKMojo {
-
- /**
- * templatesDirectory
- * @parameter expression="${basedir}/src/main/templates"
- */
- private File templatesDirectory;
-
- /**
- * sourceFileIncludes
- * @parameter
- */
- private String[] templateFileIncludes = {"**/*.template.xml"};
-
- /**
- * sourceFileExcludes
- * @parameter
- */
- private String[] templatesFileExcludes = null;
-
- /**
- * @param templatesDirectory the templatesDirectory to set
- */
- public void setTemplatesDirectory(File templatesDirectory) {
- this.templatesDirectory = templatesDirectory;
- }
-
- /**
- * @param templateFileIncludes the templateFileIncludes to set
- */
- public void setTemplateFileIncludes(String[] templateFileIncludes) {
- this.templateFileIncludes = templateFileIncludes;
- }
-
- /**
- * @param templatesFileExcludes the templatesFileExcludes to set
- */
- public void setTemplatesFileExcludes(String[] templatesFileExcludes) {
- this.templatesFileExcludes = templatesFileExcludes;
- }
-
- private Iterable<File> findTemplateFiles() throws MojoExecutionException {
- Set<File> sourceFiles = new HashSet<File>();
- if (templatesDirectory.exists() && templatesDirectory.isDirectory()) {
- for (String fileName : doScan(templateFileIncludes, templatesFileExcludes, templatesDirectory)) {
- sourceFiles.add(new File(templatesDirectory, fileName));
- }
- }
-
- return sourceFiles;
- }
-
- protected void compileTemplates() throws MojoExecutionException, MojoFailureException {
- try {
- Iterable<File> templates = findTemplateFiles();
- for (File file : templates) {
- JavaClass javaClass = TemplateReader.parse(new FileInputStream(file));
-
- String fullName = javaClass.getFullName();
-
- File outFile = new File(outputJavaDirectory,
- fullName.replace('.', '/') + ".java");
-
- if (outFile.exists()) {
- outFile.delete();
- }
-
- outFile.getParentFile().mkdirs();
-
- new JavaClassRenderer().render(javaClass, new PrintWriter(outFile));
- }
- } catch (Exception e) {
- throw new MojoExecutionException(e.getMessage(), e);
- }
- }
-
- @Override
- public void execute() throws MojoExecutionException, MojoFailureException {
- outputJavaDirectory.mkdirs();
- outputResourcesDirectory.mkdirs();
- outputTestsDirectory.mkdirs();
-
- project.addCompileSourceRoot(outputJavaDirectory.getAbsolutePath());
- project.addCompileSourceRoot(outputResourcesDirectory.getAbsolutePath());
- project.addTestCompileSourceRoot(outputTestsDirectory.getAbsolutePath());
-
- compileTemplates();
- }
-
-}
Copied: root/cdk/trunk/plugins/maven-cdk-plugin/src/main/java/org/richfaces/builder/mojo/CompileTemplatesMojo.java (from rev 15190, root/cdk/trunk/plugins/maven-cdk-plugin/src/main/java/org/richfaces/builder/mojo/BuildLibraryMojo.java)
===================================================================
--- root/cdk/trunk/plugins/maven-cdk-plugin/src/main/java/org/richfaces/builder/mojo/CompileTemplatesMojo.java (rev 0)
+++ root/cdk/trunk/plugins/maven-cdk-plugin/src/main/java/org/richfaces/builder/mojo/CompileTemplatesMojo.java 2009-08-18 12:26:30 UTC (rev 15197)
@@ -0,0 +1,129 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.builder.mojo;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.PrintWriter;
+import java.util.HashSet;
+import java.util.Set;
+
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugin.MojoFailureException;
+import org.richfaces.builder.model.JavaClass;
+import org.richfaces.builder.render.JavaClassRenderer;
+import org.richfaces.builder.templates.TemplateReader;
+
+/**
+ * @author Nick Belaevski
+ * @goal compile-templates
+ */
+public class CompileTemplatesMojo extends AbstractCDKMojo {
+
+ /**
+ * templatesDirectory
+ * @parameter expression="${basedir}/src/main/templates"
+ */
+ private File templatesDirectory;
+
+ /**
+ * sourceFileIncludes
+ * @parameter
+ */
+ private String[] templateFileIncludes = {"**/*.template.xml"};
+
+ /**
+ * sourceFileExcludes
+ * @parameter
+ */
+ private String[] templatesFileExcludes = null;
+
+ /**
+ * @param templatesDirectory the templatesDirectory to set
+ */
+ public void setTemplatesDirectory(File templatesDirectory) {
+ this.templatesDirectory = templatesDirectory;
+ }
+
+ /**
+ * @param templateFileIncludes the templateFileIncludes to set
+ */
+ public void setTemplateFileIncludes(String[] templateFileIncludes) {
+ this.templateFileIncludes = templateFileIncludes;
+ }
+
+ /**
+ * @param templatesFileExcludes the templatesFileExcludes to set
+ */
+ public void setTemplatesFileExcludes(String[] templatesFileExcludes) {
+ this.templatesFileExcludes = templatesFileExcludes;
+ }
+
+ private Iterable<File> findTemplateFiles() throws MojoExecutionException {
+ Set<File> sourceFiles = new HashSet<File>();
+ if (templatesDirectory.exists() && templatesDirectory.isDirectory()) {
+ for (String fileName : doScan(templateFileIncludes, templatesFileExcludes, templatesDirectory)) {
+ sourceFiles.add(new File(templatesDirectory, fileName));
+ }
+ }
+
+ return sourceFiles;
+ }
+
+ protected void compileTemplates() throws MojoExecutionException, MojoFailureException {
+ try {
+ Iterable<File> templates = findTemplateFiles();
+ for (File file : templates) {
+ JavaClass javaClass = TemplateReader.parse(new FileInputStream(file));
+
+ String fullName = javaClass.getFullName();
+
+ File outFile = new File(outputJavaDirectory,
+ fullName.replace('.', '/') + ".java");
+
+ if (outFile.exists()) {
+ outFile.delete();
+ }
+
+ outFile.getParentFile().mkdirs();
+
+ new JavaClassRenderer().render(javaClass, new PrintWriter(outFile));
+ }
+ } catch (Exception e) {
+ throw new MojoExecutionException(e.getMessage(), e);
+ }
+ }
+
+ @Override
+ public void execute() throws MojoExecutionException, MojoFailureException {
+ outputJavaDirectory.mkdirs();
+ outputResourcesDirectory.mkdirs();
+ outputTestsDirectory.mkdirs();
+
+ project.addCompileSourceRoot(outputJavaDirectory.getAbsolutePath());
+ project.addCompileSourceRoot(outputResourcesDirectory.getAbsolutePath());
+ project.addTestCompileSourceRoot(outputTestsDirectory.getAbsolutePath());
+
+ compileTemplates();
+ }
+
+}
15 years, 4 months
JBoss Rich Faces SVN: r15196 - tags/3.3.2.CR1/framework/impl/src/main/java/org/richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2009-08-18 07:22:48 -0400 (Tue, 18 Aug 2009)
New Revision: 15196
Modified:
tags/3.3.2.CR1/framework/impl/src/main/java/org/richfaces/VersionBean.java
Log:
change SVN revision and date
Modified: tags/3.3.2.CR1/framework/impl/src/main/java/org/richfaces/VersionBean.java
===================================================================
--- tags/3.3.2.CR1/framework/impl/src/main/java/org/richfaces/VersionBean.java 2009-08-18 11:02:59 UTC (rev 15195)
+++ tags/3.3.2.CR1/framework/impl/src/main/java/org/richfaces/VersionBean.java 2009-08-18 11:22:48 UTC (rev 15196)
@@ -38,7 +38,7 @@
* Revision version, must be auto modified by CVS
*/
- public static final String REVISION = "2.CR1" ;
+ public static final String REVISION = "2.CR1";
public static final String SCM_REVISION = " SVN $Revision$ $Date:) $";//$Revision$ $Date$";
public static final Version _version = new Version();
15 years, 4 months