[JBoss JIRA] (RF-13274) Use QSTools:archetypeSync to keep the kitchensink archetype synchronized with the kithensink-rf quickstart
by Rafael Benevides (JIRA)
[ https://issues.jboss.org/browse/RF-13274?page=com.atlassian.jira.plugin.s... ]
Rafael Benevides commented on RF-13274:
---------------------------------------
This rootPackage config is used to determine what's the considered root package on the quickstart the is used to be synch. To be more clear. That's used to determine what will be transformed in ${package} expression inside the source files :)
> Use QSTools:archetypeSync to keep the kitchensink archetype synchronized with the kithensink-rf quickstart
> -----------------------------------------------------------------------------------------------------------
>
> Key: RF-13274
> URL: https://issues.jboss.org/browse/RF-13274
> Project: RichFaces
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Reporter: Brian Leathem
> Fix For: 4.3.5
>
> Original Estimate: 1 hour, 30 minutes
> Remaining Estimate: 1 hour, 30 minutes
>
> As per [~rafabene]'s description in IRC:
> {quote}
> use QSTools:archetypeSync to keep your Archetype Synchornized with the kithensink-rf Quickstart as we did for our Archetypes
> look at an example here: https://github.com/jboss-developer/jboss-eap-archetypes/blob/master/jboss...
> you tell where the quickstart is projectGitRepo projectPath
> tell what's your branch or commit or tag
> them what's your rootPackage
> you can configure expression that will be replaced by $\{artifactId} with archetypeExpressionReplaceValues
> so every fix that you make on Quickstarts will be available on your next Archetype build
> call me if you have any issues with QSTools:archetypeSync
> {quote}
--
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 commented on RF-13468:
------------------------------------
Fixed. I was under the impression I have JDK 6 installed but it turns out the recent versions of Fedora consider it obsolete and don't let you install it through the usual means.
> 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 Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13468?page=com.atlassian.jira.plugin.s... ]
Michal Petrov resolved RF-13468.
--------------------------------
Resolution: Done
> 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-13208) Push: error "not well-formed" appears in browser console in Firefox
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13208?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-13208:
---------------------------------
Since the response headers don't specify any particular type, we should be okay with transporting basically anything,
but it seems that Firefox expects XML (that's probably because the response is padded with HTML comments (<!-- ... -->) by Atmosphere.
I'm okay with expanding {{"<message>"}} format to e.g {{"<update>message</update>"}}.
> Push: error "not well-formed" appears in browser console in Firefox
> -------------------------------------------------------------------
>
> Key: RF-13208
> URL: https://issues.jboss.org/browse/RF-13208
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core
> Affects Versions: 4.3.4
> Environment: RichFaces 4.3.4.Final
> Metamer 4.3.4.20130919-Final
> Mojarra 2.1.19
> EAP 6.1.1
> OpenJDK Runtime Environment 1.7.0_40-mockbuild_2013_09_19_20_10-b00 @ Linux
> Firefox 24.0 @ Linux x86_64
> Reporter: Pavol Pitonak
> Assignee: Lukáš Fryč
> Fix For: 4.3.5, 5.0.0.Alpha3
>
> Attachments: firefox_console.png
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> # deploy Metamer and open http://127.0.0.1:8080/metamer/faces/components/a4jPush/twoPush.xhtml
> # open browser console
> # click "Push 2!" button
> result:
> * browser console contains "not well-formed" JavaScript error (see screenshot)
> * when you click on the error, you can see something like this:
> {quote}
> <"topic":"jmsSampleAddress2","data":"day: 23, month: 9, time: 11:01:12.829","number":0>
> {quote}
> * component seems to work fine despite this error
> * I couldn't see this error in Chrome 29
--
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-13305) Autocomplete: i must press button twice for popup window
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13305?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč resolved RF-13305.
-----------------------------
Assignee: alexey plotnikov (was: Lukáš Fryč)
Resolution: Done
> Autocomplete: i must press button twice for popup window
> --------------------------------------------------------
>
> Key: RF-13305
> URL: https://issues.jboss.org/browse/RF-13305
> 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: 1 hour
> Remaining Estimate: 1 hour
>
> All described here https://community.jboss.org/thread/233971
> I try repeat:
> 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 problem:
> if autocomplete.providerName not null and not empty(in rich:autocomplete) and user clicks on cancel button(img/cancel.png), then after that, if user clicks on show button(/img/arrow.png) popup not showing, user must clicks twice on this button.
> *This problem shows if i use showButton from rich:autocomplete instead my show button.*
> I think i found a solution of this problem:
> Autocomplete.js has this code:
> {code}
> var onChangeValue = function (event, value, callback) {
> selectItem.call(this, event);
>
> // value is undefined if called from AutocompleteBase onChange
> var subValue = (typeof value == "undefined") ? this.__getSubValue() : value;
> var oldValue = this.value;
> this.value = subValue;
>
> if ((this.options.isCachedAjax || !this.options.ajaxMode) &&
> this.cache && this.cache.isCached(subValue)) {
> ...
> } else {
> if (event.keyCode == rf.KEYS.RETURN || event.type == "click") {
> this.__setInputValue(subValue);
> }
> if (subValue.length >= this.options.minChars) {
> if ((this.options.ajaxMode || this.options.lazyClientMode) && oldValue != subValue) {
> callAjax.call(this, event, callback);
> }
> } else {
> if (this.options.ajaxMode) {
> clearItems.call(this);
> this.__hide(event);
> }
> }
> }
> };
> {code}
> for show popup this must be true:
> {code}
> oldValue != subValue
> {code}
> but in this part of code
> oldValue is ''(empty string) and subValue is ''(empty string),
> so this condition
> {code}
> oldValue != subValue
> {code}
> return false!
>
> i replace this code by this:
> {code}
> var onChangeValue = function (event, value, callback) {
> selectItem.call(this, event);
>
> // value is undefined if called from AutocompleteBase onChange
> var subValue = (typeof value == "undefined") ? this.__getSubValue() : value;
> var oldValue = this.value;
> this.value = subValue;
>
> if ((this.options.isCachedAjax || !this.options.ajaxMode) &&
> this.cache && this.cache.isCached(subValue)) {
> ...
> } else {
> if (event.keyCode == rf.KEYS.RETURN || event.type == "click") {
> this.__setInputValue(subValue);
> }
> if (subValue.length >= this.options.minChars) {
> if ((this.options.ajaxMode || this.options.lazyClientMode) && (oldValue != subValue || (oldValue === '' && subValue === ''))) {
> callAjax.call(this, event, callback);
> }
> } else {
> if (this.options.ajaxMode) {
> clearItems.call(this);
> this.__hide(event);
> }
> }
> }
>
> };
> {code}
> so, than oldValue='' and subValue=='' callAjax.call will be called and popup will be showing.
--
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-13305) Autocomplete: i must press button twice for popup window
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13305?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-13305:
---------------------------------
[~alixey], I have adopted your fix and commited that to master:
https://github.com/richfaces4/components/commit/b3e6d833e55317f973855dbe0...
> Autocomplete: i must press button twice for popup window
> --------------------------------------------------------
>
> Key: RF-13305
> URL: https://issues.jboss.org/browse/RF-13305
> 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: 1 hour
> Remaining Estimate: 1 hour
>
> All described here https://community.jboss.org/thread/233971
> I try repeat:
> 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 problem:
> if autocomplete.providerName not null and not empty(in rich:autocomplete) and user clicks on cancel button(img/cancel.png), then after that, if user clicks on show button(/img/arrow.png) popup not showing, user must clicks twice on this button.
> *This problem shows if i use showButton from rich:autocomplete instead my show button.*
> I think i found a solution of this problem:
> Autocomplete.js has this code:
> {code}
> var onChangeValue = function (event, value, callback) {
> selectItem.call(this, event);
>
> // value is undefined if called from AutocompleteBase onChange
> var subValue = (typeof value == "undefined") ? this.__getSubValue() : value;
> var oldValue = this.value;
> this.value = subValue;
>
> if ((this.options.isCachedAjax || !this.options.ajaxMode) &&
> this.cache && this.cache.isCached(subValue)) {
> ...
> } else {
> if (event.keyCode == rf.KEYS.RETURN || event.type == "click") {
> this.__setInputValue(subValue);
> }
> if (subValue.length >= this.options.minChars) {
> if ((this.options.ajaxMode || this.options.lazyClientMode) && oldValue != subValue) {
> callAjax.call(this, event, callback);
> }
> } else {
> if (this.options.ajaxMode) {
> clearItems.call(this);
> this.__hide(event);
> }
> }
> }
> };
> {code}
> for show popup this must be true:
> {code}
> oldValue != subValue
> {code}
> but in this part of code
> oldValue is ''(empty string) and subValue is ''(empty string),
> so this condition
> {code}
> oldValue != subValue
> {code}
> return false!
>
> i replace this code by this:
> {code}
> var onChangeValue = function (event, value, callback) {
> selectItem.call(this, event);
>
> // value is undefined if called from AutocompleteBase onChange
> var subValue = (typeof value == "undefined") ? this.__getSubValue() : value;
> var oldValue = this.value;
> this.value = subValue;
>
> if ((this.options.isCachedAjax || !this.options.ajaxMode) &&
> this.cache && this.cache.isCached(subValue)) {
> ...
> } else {
> if (event.keyCode == rf.KEYS.RETURN || event.type == "click") {
> this.__setInputValue(subValue);
> }
> if (subValue.length >= this.options.minChars) {
> if ((this.options.ajaxMode || this.options.lazyClientMode) && (oldValue != subValue || (oldValue === '' && subValue === ''))) {
> callAjax.call(this, event, callback);
> }
> } else {
> if (this.options.ajaxMode) {
> clearItems.call(this);
> this.__hide(event);
> }
> }
> }
>
> };
> {code}
> so, than oldValue='' and subValue=='' callAjax.call will be called and popup will be showing.
--
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-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č closed RF-13287.
---------------------------
> 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-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č resolved RF-13287.
-----------------------------
Resolution: Done
> 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, 5.0.0.Alpha2, 4.5.0.Alpha1
>
>
> 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-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č reopened RF-13287:
-----------------------------
> 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
>
>
> 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