[JBoss JIRA] (RF-13323) FileUploadEvent listener reset the list value with Viewscope
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RF-13323?page=com.atlassian.jira.plugin.s... ]
Jiří Štefek updated RF-13323:
-----------------------------
Attachment: RF-13323-2.zip
> FileUploadEvent listener reset the list value with Viewscope
> ------------------------------------------------------------
>
> Key: RF-13323
> URL: https://issues.jboss.org/browse/RF-13323
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.4
> Environment: Jboss 7.1
> Richfaces 4.3.4
> JSF 2.1.9
>
> Reporter: Mohammad Weshah
> Assignee: Jiří Štefek
> Labels: rich:fileUpload
> Attachments: RF-13323-2.zip, RF-13323-SessionScoped.png, RF-13323-ViewScoped.png, RF-13323.zip, TestRichFacesWebProject.rar, TestRichFacesWebProject.war
>
>
> Hello All,
> i make an example of upload file from richfaces showcase it is working successfully , but i notice if i changed the backing bean to viewscope the files list inside the FileUploadEvent listener will be rest every time that i upload new file , the code as follow :
>
> {code}
> protected List<UploadedImage> files = new ArrayList<UploadedImage>();
>
> public void FileUploadlistener(FileUploadEvent event) throws Exception {
> UploadedFile item = event.getUploadedFile();
> UploadedImage file = new UploadedImage();
> file.setLength(item.getData().length);
> file.setName(item.getName());
> file.setData(item.getData());
>
> files.add(file);
> }
> {code}
>
> but when i changed the scope to session the files still contain the old files, is it mandatory to the backing be session or there is something wrong ?
>
> Regards
> Wish79
--
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
12 years, 4 months
[JBoss JIRA] (RF-13348) pickList - columnClass attribute behaves differently than in RF4
by Juraj Húska (JIRA)
Juraj Húska created RF-13348:
--------------------------------
Summary: pickList - columnClass attribute behaves differently than in RF4
Key: RF-13348
URL: https://issues.jboss.org/browse/RF-13348
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-selects
Affects Versions: 5.0.0.Alpha2
Reporter: Juraj Húska
{{collumnClass}} attribute of {{r:pickList}} behaves in this way in *RF5*:
Suppose a {{pickList}}, which items consist from _three_ columns.
* if you set {{collumnClass}} to: {{foo bar}}, then first column has class {{foo}}, the second one {{bar}}
* if you set it to {{foo, bar}}, then the first column has class {{foo,bar}} - expected
In *RF4*, it was different though:
* it worked as {{collumnClass}} for {{dataTable}}. Literally as it is described in VDL doc:
bq. Assigns one or more space-separated CSS class names to the columns of the table. If the CSS class names are comma-separated, each class will be assigned to a particular column in the order they follow in the attribute. If you have less class names than columns, the class will be applied to every n-fold column where n is the order in which the class is listed in the attribute. If there are more class names than columns, the overflow ones are ignored.
The way how it worked in RF4 seems more reasonable for me. What is your opinion on this ?
--
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
12 years, 4 months
[JBoss JIRA] (RF-13290) Push framework tests fail after upgrade to 1.0.17 (probably Warp issue)
by Pavol Pitonak (JIRA)
[ https://issues.jboss.org/browse/RF-13290?page=com.atlassian.jira.plugin.s... ]
Pavol Pitonak commented on RF-13290:
------------------------------------
No, we didn't run them for Alpha1 release but we plan to do it for all following releases.
> Push framework tests fail after upgrade to 1.0.17 (probably Warp issue)
> -----------------------------------------------------------------------
>
> Key: RF-13290
> URL: https://issues.jboss.org/browse/RF-13290
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-push/poll, tests - functional
> Affects Versions: 5.0.0.Alpha2
> Reporter: Lukáš Fryč
>
> The push is correctly using 'long-polling' technique,
> the request is sent, but the response is never sent back,
> that's why I believe the Warp server-side handling fails.
> ----
> Note that I have tried to upgrade to 1.0.18 and it didn't help.
> ----
> I'm marking those tests as {{Failing}}.
--
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
12 years, 4 months
[JBoss JIRA] (RF-13347) pickList: switchByDblClick does not work
by Juraj Húska (JIRA)
Juraj Húska created RF-13347:
--------------------------------
Summary: pickList: switchByDblClick does not work
Key: RF-13347
URL: https://issues.jboss.org/browse/RF-13347
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-selects
Affects Versions: 5.0.0.Alpha2
Reporter: Juraj Húska
Setting of {{pickList}} attribute {{switchByDblClick}} to {{true}} does not work.
Note that {{switchByClick}} works as expected.
It seems that attribute is set in render template. I can not found any mention in pick list bridge if that can be the case ? (there is no mention of {{switchByClick}} neither 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
12 years, 4 months
[JBoss JIRA] (RF-13287) rich:extendedDataTable column resizing with ajax loading not working properly
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13287?page=com.atlassian.jira.plugin.s... ]
Michal Petrov resolved RF-13287.
--------------------------------
Fix Version/s: 4.3.5
(was: 5-Tracking)
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
>
>
> 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
12 years, 4 months
[JBoss JIRA] (RF-13323) FileUploadEvent listener reset the list value with Viewscope
by Mohammad Weshah (JIRA)
[ https://issues.jboss.org/browse/RF-13323?page=com.atlassian.jira.plugin.s... ]
Mohammad Weshah commented on RF-13323:
--------------------------------------
I attached the sources but without the jar file, please check.
Note: Appserver Jboss 7.1
Thanks
Wish79
> FileUploadEvent listener reset the list value with Viewscope
> ------------------------------------------------------------
>
> Key: RF-13323
> URL: https://issues.jboss.org/browse/RF-13323
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.4
> Environment: Jboss 7.1
> Richfaces 4.3.4
> JSF 2.1.9
>
> Reporter: Mohammad Weshah
> Assignee: Jiří Štefek
> Labels: rich:fileUpload
> Attachments: RF-13323-SessionScoped.png, RF-13323-ViewScoped.png, RF-13323.zip, TestRichFacesWebProject.rar, TestRichFacesWebProject.war
>
>
> Hello All,
> i make an example of upload file from richfaces showcase it is working successfully , but i notice if i changed the backing bean to viewscope the files list inside the FileUploadEvent listener will be rest every time that i upload new file , the code as follow :
>
> {code}
> protected List<UploadedImage> files = new ArrayList<UploadedImage>();
>
> public void FileUploadlistener(FileUploadEvent event) throws Exception {
> UploadedFile item = event.getUploadedFile();
> UploadedImage file = new UploadedImage();
> file.setLength(item.getData().length);
> file.setName(item.getName());
> file.setData(item.getData());
>
> files.add(file);
> }
> {code}
>
> but when i changed the scope to session the files still contain the old files, is it mandatory to the backing be session or there is something wrong ?
>
> Regards
> Wish79
--
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
12 years, 4 months