JBoss Rich Faces SVN: r11000 - in trunk/test-applications/seleniumTest/richfaces/src: test/java/org/richfaces/testng and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2008-11-03 06:52:49 -0500 (Mon, 03 Nov 2008)
New Revision: 11000
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/resources/org/ajax4jsf/message/resources_en_US.properties
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java
Log:
RF-4720
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/resources/org/ajax4jsf/message/resources_en_US.properties
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/resources/org/ajax4jsf/message/resources_en_US.properties 2008-11-02 19:21:38 UTC (rev 10999)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/resources/org/ajax4jsf/message/resources_en_US.properties 2008-11-03 11:52:49 UTC (rev 11000)
@@ -1,2 +1,3 @@
test=It is sample message from resourceBundle
-error=Error was occured.
\ No newline at end of file
+error=Error was occured.
+RICH_LIST_SHUTTLE_COPY_ALL_LABEL=Copy All Items
\ No newline at end of file
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java 2008-11-02 19:21:38 UTC (rev 10999)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java 2008-11-03 11:52:49 UTC (rev 11000)
@@ -118,6 +118,15 @@
}
/**
+ * check internationalization
+ */
+ @Test
+ public void testInternationalization(Template template) {
+ init(template);
+ Assert.assertEquals(selenium.getText(copyAllId), "Copy All Items");
+ }
+
+ /**
* validator defined by component attribute and nested tags work
*/
@Test
@@ -392,7 +401,7 @@
@Test
public void testShowButtonsLabel(Template template) {
init(template);
- Assert.assertEquals(getTextById(copyAllId), "Copy all", "The text on the button must be visible.");
+ Assert.assertEquals(getTextById(copyAllId), "Copy All Items", "The text on the button must be visible.");
Assert.assertEquals(getTextById(copyId), "Copy", "The text on the button must be visible.");
Assert.assertEquals(getTextById(removeId), "Remove", "The text on the button must be visible.");
Assert.assertEquals(getTextById(removeAllId), "Remove All", "The text on the button must be visible.");
16 years, 1 month
JBoss Rich Faces SVN: r10999 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/examples.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-11-02 14:21:38 -0500 (Sun, 02 Nov 2008)
New Revision: 10999
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/examples/fileUpload.xhtml
Log:
Invalid reRender attribute removed
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/examples/fileUpload.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/examples/fileUpload.xhtml 2008-11-01 09:13:40 UTC (rev 10998)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/examples/fileUpload.xhtml 2008-11-02 19:21:38 UTC (rev 10999)
@@ -20,7 +20,7 @@
<h:panelGrid columns="2" columnClasses="top,top">
<rich:fileUpload fileUploadListener="#{fileUploadBean.listener}"
maxFilesQuantity="#{fileUploadBean.uploadsAvailable}"
- reRender="table" id="upload"
+ id="upload"
immediateUpload="#{fileUploadBean.autoUpload}"
acceptedTypes="jpg, gif, png, bmp" allowFlash="#{fileUploadBean.useFlash}">
<a4j:support event="onuploadcomplete" reRender="info" />
16 years, 1 month
JBoss Rich Faces SVN: r10998 - in trunk/sandbox/samples/editor-sample/src/main: resources and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: alevkovsky
Date: 2008-11-01 05:13:40 -0400 (Sat, 01 Nov 2008)
New Revision: 10998
Added:
trunk/sandbox/samples/editor-sample/src/main/resources/
trunk/sandbox/samples/editor-sample/src/main/resources/editorParameters.properties
Modified:
trunk/sandbox/samples/editor-sample/src/main/webapp/pages/editor.jsp
Log:
Add editor configuration parameters to samples
Added: trunk/sandbox/samples/editor-sample/src/main/resources/editorParameters.properties
===================================================================
--- trunk/sandbox/samples/editor-sample/src/main/resources/editorParameters.properties (rev 0)
+++ trunk/sandbox/samples/editor-sample/src/main/resources/editorParameters.properties 2008-11-01 09:13:40 UTC (rev 10998)
@@ -0,0 +1,8 @@
+theme_advanced_buttons1="save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect"
+theme_advanced_buttons2="cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor"
+theme_advanced_buttons3="tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen"
+theme_advanced_buttons4="insertlayer,moveforward,movebackward,absolute,|,styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak"
+theme_advanced_toolbar_location="top"
+theme_advanced_toolbar_align="left"
+theme_advanced_statusbar_location="bottom"
+theme_advanced_resizing=true
\ No newline at end of file
Property changes on: trunk/sandbox/samples/editor-sample/src/main/resources/editorParameters.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Modified: trunk/sandbox/samples/editor-sample/src/main/webapp/pages/editor.jsp
===================================================================
--- trunk/sandbox/samples/editor-sample/src/main/webapp/pages/editor.jsp 2008-11-01 09:13:35 UTC (rev 10997)
+++ trunk/sandbox/samples/editor-sample/src/main/webapp/pages/editor.jsp 2008-11-01 09:13:40 UTC (rev 10998)
@@ -5,6 +5,12 @@
<html>
<head>
<title></title>
+ <style>
+ .myStyle{
+ border:1px solid;
+
+ }
+ </style>
</head>
<body>
<f:view >
@@ -12,11 +18,15 @@
<ed:editor id="editorId"
value="#{editorBean.value}"
- width="300"
- height="175"
+ width="600"
+ height="400"
rendered="#{editorBean.rendered}"
binding="#{editorBean.editor}"
- theme="advanced" />
+ theme="advanced"
+ language="ru"
+ plugins="safari,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template"
+ configuration="editorParameters"
+ />
<h:outputText value="Editor value: #{editorBean.value}" />
<br/>
16 years, 1 month
JBoss Rich Faces SVN: r10997 - in trunk/sandbox/samples/editorSeam-sample/src/main: webapp/pages and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: alevkovsky
Date: 2008-11-01 05:13:35 -0400 (Sat, 01 Nov 2008)
New Revision: 10997
Added:
trunk/sandbox/samples/editorSeam-sample/src/main/resources/editorParameters.properties
Modified:
trunk/sandbox/samples/editorSeam-sample/src/main/webapp/pages/editor.jsp
Log:
Add editor configuration parameters to samples
Added: trunk/sandbox/samples/editorSeam-sample/src/main/resources/editorParameters.properties
===================================================================
--- trunk/sandbox/samples/editorSeam-sample/src/main/resources/editorParameters.properties (rev 0)
+++ trunk/sandbox/samples/editorSeam-sample/src/main/resources/editorParameters.properties 2008-11-01 09:13:35 UTC (rev 10997)
@@ -0,0 +1,8 @@
+theme_advanced_buttons1="save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect"
+theme_advanced_buttons2="cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor"
+theme_advanced_buttons3="tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen"
+theme_advanced_buttons4="insertlayer,moveforward,movebackward,absolute,|,styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak"
+theme_advanced_toolbar_location="top"
+theme_advanced_toolbar_align="left"
+theme_advanced_statusbar_location="bottom"
+theme_advanced_resizing=true
\ No newline at end of file
Property changes on: trunk/sandbox/samples/editorSeam-sample/src/main/resources/editorParameters.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Modified: trunk/sandbox/samples/editorSeam-sample/src/main/webapp/pages/editor.jsp
===================================================================
--- trunk/sandbox/samples/editorSeam-sample/src/main/webapp/pages/editor.jsp 2008-11-01 01:04:30 UTC (rev 10996)
+++ trunk/sandbox/samples/editorSeam-sample/src/main/webapp/pages/editor.jsp 2008-11-01 09:13:35 UTC (rev 10997)
@@ -17,7 +17,11 @@
rendered="#{editorBean.rendered}"
binding="#{editorBean.editor}"
theme="advanced"
- useSeamText="true"/>
+ useSeamText="true"
+ language="ru"
+ plugins="safari,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template"
+ configuration="editorParameters"
+ />
<h:outputText value="Editor value: #{editorBean.value}" />
<br/>
16 years, 1 month
JBoss Rich Faces SVN: r10996 - trunk/cdk/generator/src/main/java/org/ajax4jsf/templatecompiler/el.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-10-31 21:04:30 -0400 (Fri, 31 Oct 2008)
New Revision: 10996
Modified:
trunk/cdk/generator/src/main/java/org/ajax4jsf/templatecompiler/el/ELCompiler.java
Log:
Added "utils" prefix for CDK functions
Modified: trunk/cdk/generator/src/main/java/org/ajax4jsf/templatecompiler/el/ELCompiler.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/templatecompiler/el/ELCompiler.java 2008-10-31 18:28:55 UTC (rev 10995)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/templatecompiler/el/ELCompiler.java 2008-11-01 01:04:30 UTC (rev 10996)
@@ -508,7 +508,15 @@
log.debug("Processing function : " + node.getLocalName());
log.debug("Processing function : " + node.getOutputName());
- if (node.getPrefix().equals("this")) {
+ String prefix = node.getPrefix();
+ boolean isThis = prefix.equals("this");
+ boolean isUtils = prefix.equals("utils");
+
+ if (isThis || isUtils) {
+ if (isUtils) {
+ sb.append("getUtils().");
+ }
+
sb.append(node.getLocalName());
sb.append("(");
int numChildren = node.jjtGetNumChildren();
16 years, 1 month