[JBoss JIRA] (RF-13287) rich:extendedDataTable column resizing with ajax loading not working properly
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13287?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-13287:
----------------------------
Fix Version/s: 5.0.0.Alpha2
4.5.0.Alpha1
> rich:extendedDataTable column resizing with ajax loading not working properly
> -----------------------------------------------------------------------------
>
> Key: RF-13287
> URL: https://issues.jboss.org/browse/RF-13287
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.3.4
> Environment: Glassfish 3.1.2.2, Mojarra 2.1.26, IE10, IE8, Chrome 30,
> Reporter: Andreas G
> Assignee: Michal Petrov
> Labels: testcase_provided
> Fix For: 4.3.5, 4.5.0.Alpha1, 5.0.0.Alpha2
>
>
> In a rich:extendedDataTable with ajax loading turned on: When you resize a column and scroll down (load data), the size of the columns reset to their original value. Only the header keeps its size. The header and the data are not matching anymore.
> Reproducible in the 4.3.4 showcase!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 11 months
[JBoss JIRA] (RF-13292) Autocomplete: up and down arrow keys not working in Opera
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13292?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč resolved RF-13292.
-----------------------------
Assignee: Michal Petrov (was: Lukáš Fryč)
Resolution: Done
This fix is already part of {{master}} (4.3.x).
Great job, [~michpetrov].
> Autocomplete: up and down arrow keys not working in Opera
> ---------------------------------------------------------
>
> Key: RF-13292
> URL: https://issues.jboss.org/browse/RF-13292
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.4, 5.0.0.Alpha2
> Reporter: alexey plotnikov
> Assignee: Michal Petrov
> Fix For: 4.3.5
>
> Original Estimate: 30 minutes
> Remaining Estimate: 30 minutes
>
> Hello, i use Richfaces 4.3.4.Final. Up and down arrow keys not working(ignoring) for Autocomplete component in Opera.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 11 months
[JBoss JIRA] (RF-13306) Autocomplete: initialize value from DOM (was: ignored API call .setValue(''))
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13306?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-13306:
----------------------------
Assignee: alexey plotnikov (was: Lukáš Fryč)
> Autocomplete: initialize value from DOM (was: ignored API call .setValue(''))
> -----------------------------------------------------------------------------
>
> Key: RF-13306
> URL: https://issues.jboss.org/browse/RF-13306
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.4
> Reporter: alexey plotnikov
> Assignee: alexey plotnikov
> Fix For: 4.3.5
>
> Original Estimate: 30 minutes
> Remaining Estimate: 30 minutes
>
> All described here https://community.jboss.org/thread/233973
> I have this autocomplete component:
> {code}
> <table>
> <tr>
> <td>
> <rich:autocomplete mode="ajax" autocompleteMethod="#{autocomplete.autocompleteProviders}"
> minChars="0" var="s" fetchValue="#{s.realName}" id="provider-suggestion"
> autofill="false"
> onselectitem="autocompleteChangeProvider(event.target)" style="display: inline;"
> layout="table" value="#{autocomplete.providerName}" >
> <a4j:queue requestDelay="500" ignoreDupResponses="true" />
> <h:column>
> <h:outputText style="display:none;" value="#{s.id}"/>
> <h:outputText style="display:none;" value="#{s.realName}"/>
> </h:column>
> <h:column>
> <h:outputText value="#{s.name}" escape="false"/>
> </h:column>
> </rich:autocomplete>
> </td>
> <td>
> <h:graphicImage value="/img/arrow.png" onclick="#{rich:component('provider-suggestion')}.setValue('');#{rich:component('provider-suggestion')}.showPopup();stopEvent(event);"
> alt=""/>
> <h:graphicImage value="/img/cancel.png"
> onclick="#{rich:component('provider-suggestion')}.hidePopup();#{rich:component('provider-suggestion')}.setValue('');autocompleteChangeProvider(null);"
> alt="#{messages['pages.clear']}" title="#{messages['pages.clear']}"/>
> <h:inputHidden id="filter-provider-id" value="#{autocomplete.providerId}"/>
> </td>
> </tr>
> </table>
> {code}
> as you can see, i don't use showButton="true", because i need another functionality, i need erase input text before show popup window.
> I use JavaScript function "autocompleteChangeProvider" for extract selected id.
> I use separate button(/img/cancel.png) for erase input text, as you can see this function just use Richfaces API.
>
> And a problem:
> if autocomplete.providerName not null and not empty(in rich:autocomplete) and user clicks on show button(/img/arrow.png) than input text not erasing, but i called #{rich:component('provider-suggestion')}.setValue('') !!!
>
> I think i found a solution
> AutocompleteBase.js has this code:
> {code}
> rf.ui.AutocompleteBase = function(componentId, selectId, fieldId, options) {
> // call constructor of parent class
> $super.constructor.call(this, componentId);
> this.selectId = selectId;
> this.fieldId = fieldId;
> this.options = $.extend({}, defaultOptions, options);
> this.namespace = this.namespace || "." + rf.Event.createNamespace(this.name, this.selectId);
> this.currentValue = "";
> this.tempValue = this.getValue();
> this.isChanged = this.tempValue.length != 0;
> bindEventHandlers.call(this);
> };
> {code}
> as you can see this.currentValue = "" so JS thinks that this.currentValue="" so currentValue equal new value("" - empty string), so nothing happens.
> i replace this code by this:
> {code}
> rf.ui.AutocompleteBase = function(componentId, selectId, fieldId, options) {
> // call constructor of parent class
> $super.constructor.call(this, componentId);
> this.selectId = selectId;
> this.fieldId = fieldId;
> this.options = $.extend({}, defaultOptions, options);
> this.namespace = this.namespace || "." + rf.Event.createNamespace(this.name, this.selectId);
> this.currentValue = $(rf.getDomElement(fieldId)).val();
> this.tempValue = this.getValue();
> this.isChanged = this.tempValue.length != 0;
> bindEventHandlers.call(this);
> };
> {code}
> and it works!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 11 months
[JBoss JIRA] (RF-13468) Photoalbum build fails with JDK 6
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13468?page=com.atlassian.jira.plugin.s... ]
Michal Petrov reassigned RF-13468:
----------------------------------
Assignee: Michal Petrov
> Photoalbum build fails with JDK 6
> ---------------------------------
>
> Key: RF-13468
> URL: https://issues.jboss.org/browse/RF-13468
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: examples
> Reporter: Brian Leathem
> Assignee: Michal Petrov
> Labels: photoalbum
> Fix For: 4.3.5
>
>
> Builidng the photoalbum with JDK 6 fails with the error:
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project richfaces-photoalbum: Compilation failure: Compilation failure:
> [ERROR] /home/bleathem/workspace/richfaces/richfaces4/dev-examples/photoalbum/src/main/java/org/richfaces/photoalbum/util/FileHandler.java:[30,20] package java.nio.file does not exist
> [ERROR] Cannot find annotation method 'value()' in type 'org.richfaces.cdk.annotations.EventName'
> [ERROR] /home/bleathem/workspace/richfaces/richfaces4/dev-examples/photoalbum/src/main/java/org/richfaces/photoalbum/util/FileHandler.java:[78,29] cannot find symbol
> [ERROR] symbol : method toPath()
> [ERROR] location: class java.io.File
> [ERROR] /home/bleathem/workspace/richfaces/richfaces4/dev-examples/photoalbum/src/main/java/org/richfaces/photoalbum/util/FileHandler.java:[78,12] cannot find symbol
> [ERROR] symbol : variable Files
> [ERROR] location: class org.richfaces.photoalbum.util.FileHandler
> [ERROR] -> [Help 1]
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 11 months
[JBoss JIRA] (RF-13468) Photoalbum build fails with JDK 6
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13468?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13468:
-------------------------------
Issue Type: Bug (was: Feature Request)
> Photoalbum build fails with JDK 6
> ---------------------------------
>
> Key: RF-13468
> URL: https://issues.jboss.org/browse/RF-13468
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: examples
> Reporter: Brian Leathem
> Labels: photoalbum
> Fix For: 4.3.5
>
>
> Builidng the photoalbum with JDK 6 fails with the error:
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project richfaces-photoalbum: Compilation failure: Compilation failure:
> [ERROR] /home/bleathem/workspace/richfaces/richfaces4/dev-examples/photoalbum/src/main/java/org/richfaces/photoalbum/util/FileHandler.java:[30,20] package java.nio.file does not exist
> [ERROR] Cannot find annotation method 'value()' in type 'org.richfaces.cdk.annotations.EventName'
> [ERROR] /home/bleathem/workspace/richfaces/richfaces4/dev-examples/photoalbum/src/main/java/org/richfaces/photoalbum/util/FileHandler.java:[78,29] cannot find symbol
> [ERROR] symbol : method toPath()
> [ERROR] location: class java.io.File
> [ERROR] /home/bleathem/workspace/richfaces/richfaces4/dev-examples/photoalbum/src/main/java/org/richfaces/photoalbum/util/FileHandler.java:[78,12] cannot find symbol
> [ERROR] symbol : variable Files
> [ERROR] location: class org.richfaces.photoalbum.util.FileHandler
> [ERROR] -> [Help 1]
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 11 months
[JBoss JIRA] (RF-13468) Photoalbum build fails with JDK 6
by Brian Leathem (JIRA)
Brian Leathem created RF-13468:
----------------------------------
Summary: Photoalbum build fails with JDK 6
Key: RF-13468
URL: https://issues.jboss.org/browse/RF-13468
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: examples
Reporter: Brian Leathem
Fix For: 4.3.5
Builidng the photoalbum with JDK 6 fails with the error:
{code}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project richfaces-photoalbum: Compilation failure: Compilation failure:
[ERROR] /home/bleathem/workspace/richfaces/richfaces4/dev-examples/photoalbum/src/main/java/org/richfaces/photoalbum/util/FileHandler.java:[30,20] package java.nio.file does not exist
[ERROR] Cannot find annotation method 'value()' in type 'org.richfaces.cdk.annotations.EventName'
[ERROR] /home/bleathem/workspace/richfaces/richfaces4/dev-examples/photoalbum/src/main/java/org/richfaces/photoalbum/util/FileHandler.java:[78,29] cannot find symbol
[ERROR] symbol : method toPath()
[ERROR] location: class java.io.File
[ERROR] /home/bleathem/workspace/richfaces/richfaces4/dev-examples/photoalbum/src/main/java/org/richfaces/photoalbum/util/FileHandler.java:[78,12] cannot find symbol
[ERROR] symbol : variable Files
[ERROR] location: class org.richfaces.photoalbum.util.FileHandler
[ERROR] -> [Help 1]
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 11 months