JBoss Rich Faces SVN: r8010 - branches/3.1.x/test-applications/jsp/src/main/java/modalPanel.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-04-21 10:20:10 -0400 (Mon, 21 Apr 2008)
New Revision: 8010
Modified:
branches/3.1.x/test-applications/jsp/src/main/java/modalPanel/ModalPanel.java
Log:
binding
Modified: branches/3.1.x/test-applications/jsp/src/main/java/modalPanel/ModalPanel.java
===================================================================
--- branches/3.1.x/test-applications/jsp/src/main/java/modalPanel/ModalPanel.java 2008-04-21 14:12:51 UTC (rev 8009)
+++ branches/3.1.x/test-applications/jsp/src/main/java/modalPanel/ModalPanel.java 2008-04-21 14:20:10 UTC (rev 8010)
@@ -1,5 +1,10 @@
package modalPanel;
+import org.richfaces.component.html.HtmlModalPanel;
+import javax.faces.context.FacesContext;
+import javax.faces.event.ActionEvent;
+//import javax.faces.event.ValueChangeEvent;
+
public class ModalPanel {
private boolean autosized;
@@ -9,6 +14,7 @@
private boolean rendered;
private String shadowDepth;
private String shadowOpacity;
+ private String bindLabel;
private boolean showWhenRendered;
private int zindex;
private int minHeight;
@@ -19,6 +25,7 @@
private boolean resizeable;
private String inputTextTest;
private String selectOneListboxTest;
+ private HtmlModalPanel myModalPanel = null;
public String getInputTextTest() {
@@ -55,6 +62,8 @@
this.shadowOpacity = "3";
this.zindex = 3;
this.showWhenRendered = false;
+ this.bindLabel = "not ready";
+
}
public int getHeight() {
@@ -222,4 +231,26 @@
public void setZindex(int zindex) {
this.zindex = zindex;
}
+
+ public String getBindLabel() {
+ return bindLabel;
+ }
+
+ public void setBindLabel(String bindLabel) {
+ this.bindLabel = bindLabel;
+ }
+
+ public HtmlModalPanel getMyModalPanel() {
+ return myModalPanel;
+ }
+
+ public void setMyModalPanel(HtmlModalPanel myModalPanel) {
+ this.myModalPanel = myModalPanel;
+ }
+
+ public void checkBinding(ActionEvent actionEvent){
+ FacesContext context = FacesContext.getCurrentInstance();
+ bindLabel = myModalPanel.getClientId(context).toString();
+ System.out.println("sssssssssssssssssssssssssssssssssssssssssssssssss " + myModalPanel.getClientId(context));
+ }
}
16 years, 8 months
JBoss Rich Faces SVN: r8009 - trunk/test-applications/facelets/src/main/java/combobox.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-21 10:12:51 -0400 (Mon, 21 Apr 2008)
New Revision: 8009
Modified:
trunk/test-applications/facelets/src/main/java/combobox/Combobox.java
Log:
Add test for Alt
Modified: trunk/test-applications/facelets/src/main/java/combobox/Combobox.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/combobox/Combobox.java 2008-04-21 14:12:37 UTC (rev 8008)
+++ trunk/test-applications/facelets/src/main/java/combobox/Combobox.java 2008-04-21 14:12:51 UTC (rev 8009)
@@ -42,7 +42,16 @@
private HtmlComboBox myComboBox = null;
private String bindLabel;
private String align;
+ private String alt;
+ public String getAlt() {
+ return alt;
+ }
+
+ public void setAlt(String alt) {
+ this.alt = alt;
+ }
+
public String getAlign() {
return align;
}
@@ -76,6 +85,7 @@
this.selectItem = new ArrayList<SelectItem>();
this.bindLabel = "Click Binding";
this.align = "left";
+ this.alt = "default alt";
Random r = new Random();
for(int i = 0; i < 10; i++){
suggestionValues.add("suggestionValues " + r.nextInt(10) + " N=" + i);
16 years, 8 months
JBoss Rich Faces SVN: r8008 - trunk/test-applications/jsp/src/main/java/combobox.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-21 10:12:37 -0400 (Mon, 21 Apr 2008)
New Revision: 8008
Modified:
trunk/test-applications/jsp/src/main/java/combobox/Combobox.java
Log:
Add test for Alt
Modified: trunk/test-applications/jsp/src/main/java/combobox/Combobox.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/combobox/Combobox.java 2008-04-21 14:12:19 UTC (rev 8007)
+++ trunk/test-applications/jsp/src/main/java/combobox/Combobox.java 2008-04-21 14:12:37 UTC (rev 8008)
@@ -38,6 +38,7 @@
private HtmlComboBox myComboBox = null;
private String bindLabel;
private String align;
+ private String alt;
public Combobox() {
@@ -65,6 +66,7 @@
this.selectItem = new ArrayList<SelectItem>();
this.bindLabel = "Click Binding";
this.align = "left";
+ this.alt = "default alt";
Random r = new Random();
for(int i = 0; i < 10; i++){
suggestionValues.add("suggestionValues " + r.nextInt(10) + " N=" + i);
@@ -280,4 +282,12 @@
public void setAlign(String align) {
this.align = align;
}
+
+ public String getAlt() {
+ return alt;
+ }
+
+ public void setAlt(String alt) {
+ this.alt = alt;
+ }
}
16 years, 8 months
JBoss Rich Faces SVN: r8007 - trunk/test-applications/facelets/src/main/webapp/Combobox.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-21 10:12:19 -0400 (Mon, 21 Apr 2008)
New Revision: 8007
Modified:
trunk/test-applications/facelets/src/main/webapp/Combobox/ComboboxProperty.xhtml
Log:
Add test to Alt
Modified: trunk/test-applications/facelets/src/main/webapp/Combobox/ComboboxProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Combobox/ComboboxProperty.xhtml 2008-04-21 14:12:06 UTC (rev 8006)
+++ trunk/test-applications/facelets/src/main/webapp/Combobox/ComboboxProperty.xhtml 2008-04-21 14:12:19 UTC (rev 8007)
@@ -64,6 +64,9 @@
<h:outputText value="align"></h:outputText>
<h:inputText value="#{combobox.align}" onchange="submit();"></h:inputText>
+
+ <h:outputText value="alt"></h:outputText>
+ <h:inputText value="#{combobox.alt}" onchange="submit();"></h:inputText>
</h:panelGrid>
</f:subview>
\ No newline at end of file
16 years, 8 months
JBoss Rich Faces SVN: r8006 - trunk/test-applications/jsp/src/main/webapp/Combobox.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-21 10:12:06 -0400 (Mon, 21 Apr 2008)
New Revision: 8006
Modified:
trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp
Log:
Add test to Alt
Modified: trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp 2008-04-21 14:11:53 UTC (rev 8005)
+++ trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp 2008-04-21 14:12:06 UTC (rev 8006)
@@ -61,6 +61,8 @@
<h:outputText value="align"></h:outputText>
<h:inputText value="#{combobox.align}" onchange="submit();"></h:inputText>
-
+
+ <h:outputText value="alt"></h:outputText>
+ <h:inputText value="#{combobox.alt}" onchange="submit();"></h:inputText>
</h:panelGrid>
</f:subview>
\ No newline at end of file
16 years, 8 months
JBoss Rich Faces SVN: r8005 - trunk/test-applications/facelets/src/main/webapp/Combobox.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-21 10:11:53 -0400 (Mon, 21 Apr 2008)
New Revision: 8005
Modified:
trunk/test-applications/facelets/src/main/webapp/Combobox/Combobox.xhtml
Log:
Add test to Alt
Modified: trunk/test-applications/facelets/src/main/webapp/Combobox/Combobox.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Combobox/Combobox.xhtml 2008-04-21 14:11:40 UTC (rev 8004)
+++ trunk/test-applications/facelets/src/main/webapp/Combobox/Combobox.xhtml 2008-04-21 14:11:53 UTC (rev 8005)
@@ -13,7 +13,8 @@
onkeyup="#{event.onkeyup}" onlistcall="#{event.onlistcall}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}"
onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselect="#{event.onselect}"
binding="#{combobox.myComboBox}"
- align="#{combobox.align}">
+ align="#{combobox.align}"
+ alt="#{combobox.alt}">
<f:selectItem itemValue="selectItem 1"/>
<f:selectItem itemValue="selectItem 2"/>
<f:selectItem itemValue="selectItem 3"/>
16 years, 8 months
JBoss Rich Faces SVN: r8004 - trunk/test-applications/jsp/src/main/webapp/Combobox.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-21 10:11:40 -0400 (Mon, 21 Apr 2008)
New Revision: 8004
Modified:
trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp
Log:
Add test to Alt
Modified: trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp 2008-04-21 14:05:19 UTC (rev 8003)
+++ trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp 2008-04-21 14:11:40 UTC (rev 8004)
@@ -18,7 +18,8 @@
onkeyup="#{event.onkeyup}" onlistcall="#{event.onlistcall}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}"
onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselect="#{event.onselect}"
binding="#{combobox.myComboBox}"
- align="#{combobox.align}">
+ align="#{combobox.align}"
+ alt="#{combobox.alt}">
<f:selectItem itemValue="selectItem 1"/>
<f:selectItem itemValue="selectItem 2"/>
<f:selectItem itemValue="selectItem 3"/>
16 years, 8 months
JBoss Rich Faces SVN: r8003 - trunk/docs/migrationguide/en/src/main/resources/css.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-04-21 10:05:19 -0400 (Mon, 21 Apr 2008)
New Revision: 8003
Modified:
trunk/docs/migrationguide/en/src/main/resources/css/html.css
Log:
http://jira.jboss.com/jira/browse/RF-3048 - unnecessary selector code was removed
Modified: trunk/docs/migrationguide/en/src/main/resources/css/html.css
===================================================================
--- trunk/docs/migrationguide/en/src/main/resources/css/html.css 2008-04-21 14:04:30 UTC (rev 8002)
+++ trunk/docs/migrationguide/en/src/main/resources/css/html.css 2008-04-21 14:05:19 UTC (rev 8003)
@@ -406,9 +406,4 @@
}
.css_string {
color:#336699;
-}
-code{
-color:#000000;
-font-size:12px;
-font-family:courier;
}
\ No newline at end of file
16 years, 8 months
JBoss Rich Faces SVN: r8002 - in trunk/docs/migrationguide/en/src/main/docbook: included and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-04-21 10:04:30 -0400 (Mon, 21 Apr 2008)
New Revision: 8002
Added:
trunk/docs/migrationguide/en/src/main/docbook/included/actionparam.xml
Modified:
trunk/docs/migrationguide/en/src/main/docbook/included/ajaxSingleFacets.xml
trunk/docs/migrationguide/en/src/main/docbook/included/binding.xml
trunk/docs/migrationguide/en/src/main/docbook/included/fileUploadListener.xml
trunk/docs/migrationguide/en/src/main/docbook/master.xml
Log:
http://jira.jboss.com/jira/browse/RF-3048 - new issue was added. tag <code> was changed to <property>
Added: trunk/docs/migrationguide/en/src/main/docbook/included/actionparam.xml
===================================================================
--- trunk/docs/migrationguide/en/src/main/docbook/included/actionparam.xml (rev 0)
+++ trunk/docs/migrationguide/en/src/main/docbook/included/actionparam.xml 2008-04-21 14:04:30 UTC (rev 8002)
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="actionparam" role="NotInToc">
+ <?dbhtml filename="actionparam.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>a4j:actionparam</keyword>
+ <keyword>actionListener</keyword>
+ <keyword>JSP</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title>Action listeners calling problem with <a4j:actionparam> on JSP page</title>
+ <section>
+ <title>Description</title>
+ <para>
+ As it has been mentioned above we've migrated to <property>JSF 1.2</property> standard in <property>RichFaces 3.2.0</property>.
+ The order of calling action listeners has been changed in <property>JSF 1.2</property>: first the own components listener is called then the other ones.
+ </para>
+ <para>
+ This is why the <emphasis role="bold"><property><a4j:actionparamr></property></emphasis> components setter is called after
+ <emphasis><property>"actionListener"</property></emphasis> of the component itself.
+ In the following example <property>#{bean.action}</property> is called before <property>#{bean.value}</property>:
+ </para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<a4:support actionListener="#{bean.action}" event="onclick">
+ <a4j:actionparam assignTo="#{bean.value}" value="John"/>
+</a4j:support>
+...]]></programlisting>
+ <para>
+ This issue is reproduced for JSP pages only.
+ </para>
+ </section>
+ <section>
+ <title>Links</title>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/RF-3110">Jira</ulink>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </section>
+ <section>
+ <title>How to reproduce</title>
+ <programlisting role="XML"><![CDATA[...
+<f:view>
+ <h:form>
+ <h:panelGrid width="120" border="5">
+ <a4j:support event="onclick" reRender="rep" actionListener="#{actionPlanBean.actionListener}">
+ <a4j:actionparam name="username" value="John" assignTo="#{actionPlanBean.name}" />
+ </a4j:support>
+ <h:outputLabel value="Panel 1 - John"/>
+ </h:panelGrid>
+ <rich:panel>
+ <h:outputText id="rep" value="I say: #{actionPlanBean.helloLabel}"/>
+ </rich:panel>
+ </h:form>
+</f:view>
+...]]></programlisting>
+ </section>
+ <section>
+ <title>Causes</title>
+ <para>
+ Please, see <ulink url="http://jira.jboss.com/jira/browse/RF-3080">Jira</ulink>.
+ </para>
+ </section>
+
+ <section>
+ <title>Workarounds</title>
+ <para>
+ The decision is to use <emphasis role="bold"><property><a4j:actionParam></property></emphasis> before:
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<f:actionListener binding="#{skin.binding}"/>
+...]]></programlisting>
+
+ </section>
+</section>
\ No newline at end of file
Modified: trunk/docs/migrationguide/en/src/main/docbook/included/ajaxSingleFacets.xml
===================================================================
--- trunk/docs/migrationguide/en/src/main/docbook/included/ajaxSingleFacets.xml 2008-04-21 14:02:31 UTC (rev 8001)
+++ trunk/docs/migrationguide/en/src/main/docbook/included/ajaxSingleFacets.xml 2008-04-21 14:04:30 UTC (rev 8002)
@@ -46,7 +46,7 @@
<section>
<title>Causes</title>
<para>
- The ajaxSingle/region requires <code>invokeOnComponent()</code> to work properly. For more details, please,
+ The ajaxSingle/region requires <property>invokeOnComponent()</property> to work properly. For more details, please,
see <ulink url="https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=718">JavaServer Faces issues reporting</ulink> page.
</para>
</section>
Modified: trunk/docs/migrationguide/en/src/main/docbook/included/binding.xml
===================================================================
--- trunk/docs/migrationguide/en/src/main/docbook/included/binding.xml 2008-04-21 14:02:31 UTC (rev 8001)
+++ trunk/docs/migrationguide/en/src/main/docbook/included/binding.xml 2008-04-21 14:04:30 UTC (rev 8002)
@@ -40,7 +40,7 @@
<section>
<title>Causes</title>
<para>
- There was <code><classname>java.lang.String</classname></code> instead of <code><classname>javax.faces.component.UIComponent</classname></code> in configuration files.
+ There was <property><classname>java.lang.String</classname></property> instead of <property><classname>javax.faces.component.UIComponent</classname></property> in configuration files.
</para>
</section>
Modified: trunk/docs/migrationguide/en/src/main/docbook/included/fileUploadListener.xml
===================================================================
--- trunk/docs/migrationguide/en/src/main/docbook/included/fileUploadListener.xml 2008-04-21 14:02:31 UTC (rev 8001)
+++ trunk/docs/migrationguide/en/src/main/docbook/included/fileUploadListener.xml 2008-04-21 14:04:30 UTC (rev 8002)
@@ -39,7 +39,7 @@
<section>
<title>Causes</title>
<para>
- In case <property>MyFaces</property> <code>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</code> parameter is set to "true".
+ In case <property>MyFaces</property> <property>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</property> parameter is set to "true".
This parameter checks if the extensions-filter has been properly configured.
</para>
<para>
Modified: trunk/docs/migrationguide/en/src/main/docbook/master.xml
===================================================================
--- trunk/docs/migrationguide/en/src/main/docbook/master.xml 2008-04-21 14:02:31 UTC (rev 8001)
+++ trunk/docs/migrationguide/en/src/main/docbook/master.xml 2008-04-21 14:04:30 UTC (rev 8002)
@@ -15,6 +15,7 @@
<!ENTITY datascrollerPaired SYSTEM "included/datascrollerPaired.xml">
<!ENTITY datascrollerFor SYSTEM "included/datascrollerFor.xml">
<!ENTITY ajaxSingleFacets SYSTEM "included/ajaxSingleFacets.xml">
+ <!ENTITY actionparam SYSTEM "included/actionparam.xml">
<!ENTITY fileUploadListener SYSTEM "included/fileUploadListener.xml">
<!ENTITY myfaces SYSTEM "included/myfaces.xml">
@@ -46,9 +47,10 @@
<title>The RichFaces Migration Issues</title>
<para>
- This chapter includes only the issue with migration from previous versions to 3.2.0.
- Issues with new components and other problems are not included.
- The <ulink url="http://jira.jboss.com/jira/browse/RF">Jira</ulink> contains everything.
+ This chapter includes only those issues that concern migration from the previous versions to 3.2.0.
+ Issues, related to the new components and other problems are not covered here.
+ However, <ulink url="http://jira.jboss.com/jira/browse/RF">Jira</ulink> contains all issues
+ and if you can not find your case there, please, feel free to report it.
</para>
<section id="MostImportant">
<?dbhtml filename="MostImportant.html"?>
@@ -58,8 +60,13 @@
<keyword>issues</keyword>
</keywordset>
</sectioninfo>
- <title>Most important</title>
-
+ <title>Most important issues</title>
+ <para>
+ Migrating to <property>RichFaces 3.2.0</property> you can encounter
+ with malfunction of the components caused by a number of reasons.
+ However, most of the problems can be positively solved.
+ This section covers the most significant issues you can potentially encounter, providing way to handle the cases.
+ </para>
&i18n;
&menuJSF;
&binding;
@@ -82,6 +89,7 @@
&datascrollerPaired;
&datascrollerFor;
&ajaxSingleFacets;
+ &actionparam;
</section>
<section id="ThirdPartyFrameworks">
16 years, 8 months
JBoss Rich Faces SVN: r8001 - trunk/test-applications/facelets/src/main/java/combobox.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-21 10:02:31 -0400 (Mon, 21 Apr 2008)
New Revision: 8001
Modified:
trunk/test-applications/facelets/src/main/java/combobox/Combobox.java
Log:
Add test for align
Modified: trunk/test-applications/facelets/src/main/java/combobox/Combobox.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/combobox/Combobox.java 2008-04-21 14:02:12 UTC (rev 8000)
+++ trunk/test-applications/facelets/src/main/java/combobox/Combobox.java 2008-04-21 14:02:31 UTC (rev 8001)
@@ -41,7 +41,16 @@
public ArrayList<SelectItem> selectItem;
private HtmlComboBox myComboBox = null;
private String bindLabel;
+ private String align;
+ public String getAlign() {
+ return align;
+ }
+
+ public void setAlign(String align) {
+ this.align = align;
+ }
+
public Combobox() {
this.disabled = false;
this.defaultLabel = "defaultLabel";
@@ -66,6 +75,7 @@
this.suggestionValues = new ArrayList<String>();
this.selectItem = new ArrayList<SelectItem>();
this.bindLabel = "Click Binding";
+ this.align = "left";
Random r = new Random();
for(int i = 0; i < 10; i++){
suggestionValues.add("suggestionValues " + r.nextInt(10) + " N=" + i);
16 years, 8 months