[JBoss JIRA] (RF-12977) a4j:queue breaks tabPanel
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-12977?page=com.atlassian.jira.plugin.s... ]
Juraj Húska commented on RF-12977:
----------------------------------
Do know if it helps, but here is the comparison of *partial-response* for a working {{r:collapsiblePanel}} and not working one.
{code:xml}
<!--NOT WORKING-->
<?xml version="1.0" encoding="UTF-8"?>
<partial-response>
<changes>
<update id="tform:j_idt10"><![CDATA[<div id="tform:j_idt10" class="rf-cp rf-tgp"><input id="tform:j_idt10-value" name="tform:j_idt10-value" type="hidden" value="false" /><div id="tform:j_idt10:header" class="rf-cp-hdr rf-cp-hdr-colps"><table class="rf-cp-gr"><tbody><tr><td class="rf-cp-ico"><div class="rf-cp-ico-colps rf-ico-chevron-up-hdr"></div><div class="rf-cp-ico-exp rf-ico-chevron-down-hdr"></div></td><td class="rf-cp-lbl"><div class="rf-cp-lbl-exp">JSF 2 and RichFaces 4</div><div class="rf-cp-lbl-colps">JSF 2 and RichFaces 4</div></td></tr></tbody></table></div><div id="tform:j_idt10:content" style="display:none" ></div><div id="tform:j_idt10:empty" class="rf-cp-empty" style="display:block"></div></div>]]></update>
<update id="javax.faces.ViewState"><![CDATA[4531748867361119240:3728238579879955425]]></update>
<extension id="org.richfaces.extension">
<complete>new RichFaces.ui.CollapsiblePanel("tform:j_idt10",{"switchMode":"ajax","ajax":{"incId":"1"} ,"activeItem":"false"} );RichFaces.component('tform:j_idt10').onCompleteHandler('false');;RichFaces.javascriptServiceComplete();;</complete>
<render>tform:j_idt10@activeItem</render>
</extension>
</changes>
</partial-response>
{code}
{code:xml}
<!--WORKING PARTIAL RESPONSE-->
<?xml version="1.0" encoding="UTF-8"?>
<partial-response>
<changes>
<update id="tform:j_idt9"><div id="tform:j_idt9" class="rf-cp rf-tgp"><input id="tform:j_idt9-value" name="tform:j_idt9-value" type="hidden" value="true" /><div id="tform:j_idt9:header" class="rf-cp-hdr rf-cp-hdr-exp"><table class="rf-cp-gr"><tbody><tr><td class="rf-cp-ico"><div class="rf-cp-ico-colps rf-ico-chevron-up-hdr"></div><div class="rf-cp-ico-exp rf-ico-chevron-down-hdr"></div></td><td class="rf-cp-lbl"><div class="rf-cp-lbl-exp">JSF 2 and RichFaces 4</div><div class="rf-cp-lbl-colps">JSF 2 and RichFaces 4</div></td></tr></tbody></table></div><div id="tform:j_idt9:content" class="rf-cp-b" style="display:block"><![CDATA[
<p>bar</p></div><div id="tform:j_idt9:empty" style="display:none" ></div></div>]]></update>
<update id="javax.faces.ViewState"><![CDATA[-7211397265450158879:-9082643170929635724]]></update>
<extension id="org.richfaces.extension">
<complete>new RichFaces.ui.CollapsiblePanel("tform:j_idt9",{"switchMode":"ajax","ajax":{"incId":"1"} ,"activeItem":"true"} );RichFaces.component('tform:j_idt9').onCompleteHandler('true');;RichFaces.javascriptServiceComplete();;</complete>
<render>tform:j_idt9@activeItem</render>
</extension>
</changes>
</partial-response>
{code}
Significant differences:
* not working example contains more content not intended for parser - {{![CDATA[}}
* not working example has {{"activeItem":"false"}}
* not working example has {{.onCompleteHandler('false')}}
Not sure whether something is relevant to this issue.
> a4j:queue breaks tabPanel
> -------------------------
>
> Key: RF-12977
> URL: https://issues.jboss.org/browse/RF-12977
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.2, 5.0.0.Alpha2
> Environment: This happens in RF 4.3.2.CR1, but I can't select such version in JIRA.
> Reporter: Bernard Labno
> Priority: Critical
> Fix For: 5-Tracking
>
>
> There is clearly a bug in tabPanel.js
> {code}
> execAjax : function (oldPanel, newPanel) {
> var options = $.extend({}, newPanel.getTogglePanel().options["ajax"], {});
> this.__setActiveItem(newPanel);
> rf.ajax(newPanel.id, null, options);
> if (oldPanel) { // HERE IS THE BUG
> this.__setActiveItem(oldPanel);
> }
> return false;
> },
> {code}
> If the tab panel works in ajax mode and we attach a4j:queue with requestDelay="1000" then rf.ajax... will just add request to queue, but meanwhile the active item will be changed to old value.
--
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
11 years, 4 months
[JBoss JIRA] (RF-12977) a4j:queue breaks tabPanel
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-12977?page=com.atlassian.jira.plugin.s... ]
Juraj Húska commented on RF-12977:
----------------------------------
I have reproduced the issue on [this|https://github.com/jhuska/richfaces-sanbox/tree/community233141] small project.
I can reproduce it on other switchable components as well ({{r:accordion}}, {{r:collapsiblePanel}}). The issue is occurring when using {{r:queue}} with global scope or without {{name}} attribute.
Steps to reproduce:
# Clone the project from https://github.com/jhuska/richfaces-sanbox/tree/community233141
# Build it and deploy it on JBoss AS 7.1.1.Final
# Load e.g. http://localhost:8080/richfaces-sanbox/indexGlobalQueueCollapsiblePanel.jsf or http://localhost:8080/richfaces-sanbox/indexGlobalQueueAccordion.jsf or http://localhost:8080/richfaces-sanbox/indexGlobalQueueTabPanel.jsf to see the those components can not be switched.
> a4j:queue breaks tabPanel
> -------------------------
>
> Key: RF-12977
> URL: https://issues.jboss.org/browse/RF-12977
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.2, 5.0.0.Alpha2
> Environment: This happens in RF 4.3.2.CR1, but I can't select such version in JIRA.
> Reporter: Bernard Labno
> Priority: Critical
> Fix For: 5-Tracking
>
>
> There is clearly a bug in tabPanel.js
> {code}
> execAjax : function (oldPanel, newPanel) {
> var options = $.extend({}, newPanel.getTogglePanel().options["ajax"], {});
> this.__setActiveItem(newPanel);
> rf.ajax(newPanel.id, null, options);
> if (oldPanel) { // HERE IS THE BUG
> this.__setActiveItem(oldPanel);
> }
> return false;
> },
> {code}
> If the tab panel works in ajax mode and we attach a4j:queue with requestDelay="1000" then rf.ajax... will just add request to queue, but meanwhile the active item will be changed to old value.
--
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
11 years, 4 months
[JBoss JIRA] (RF-12977) a4j:queue breaks tabPanel
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-12977?page=com.atlassian.jira.plugin.s... ]
Juraj Húska updated RF-12977:
-----------------------------
Affects Version/s: 5.0.0.Alpha2
> a4j:queue breaks tabPanel
> -------------------------
>
> Key: RF-12977
> URL: https://issues.jboss.org/browse/RF-12977
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.2, 5.0.0.Alpha2
> Environment: This happens in RF 4.3.2.CR1, but I can't select such version in JIRA.
> Reporter: Bernard Labno
> Priority: Critical
> Fix For: 5-Tracking
>
>
> There is clearly a bug in tabPanel.js
> {code}
> execAjax : function (oldPanel, newPanel) {
> var options = $.extend({}, newPanel.getTogglePanel().options["ajax"], {});
> this.__setActiveItem(newPanel);
> rf.ajax(newPanel.id, null, options);
> if (oldPanel) { // HERE IS THE BUG
> this.__setActiveItem(oldPanel);
> }
> return false;
> },
> {code}
> If the tab panel works in ajax mode and we attach a4j:queue with requestDelay="1000" then rf.ajax... will just add request to queue, but meanwhile the active item will be changed to old value.
--
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
11 years, 4 months
[JBoss JIRA] (RF-12977) a4j:queue breaks tabPanel
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-12977?page=com.atlassian.jira.plugin.s... ]
Juraj Húska updated RF-12977:
-----------------------------
Forum Reference: https://community.jboss.org/thread/233141
> a4j:queue breaks tabPanel
> -------------------------
>
> Key: RF-12977
> URL: https://issues.jboss.org/browse/RF-12977
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.2, 5.0.0.Alpha2
> Environment: This happens in RF 4.3.2.CR1, but I can't select such version in JIRA.
> Reporter: Bernard Labno
> Priority: Critical
> Fix For: 5-Tracking
>
>
> There is clearly a bug in tabPanel.js
> {code}
> execAjax : function (oldPanel, newPanel) {
> var options = $.extend({}, newPanel.getTogglePanel().options["ajax"], {});
> this.__setActiveItem(newPanel);
> rf.ajax(newPanel.id, null, options);
> if (oldPanel) { // HERE IS THE BUG
> this.__setActiveItem(oldPanel);
> }
> return false;
> },
> {code}
> If the tab panel works in ajax mode and we attach a4j:queue with requestDelay="1000" then rf.ajax... will just add request to queue, but meanwhile the active item will be changed to old value.
--
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
11 years, 4 months
[JBoss JIRA] (RF-13234) Internet Explorer 8 dialogwindow not opening
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13234?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13234:
-------------------------------
Fix Version/s: 3.Future
> Internet Explorer 8 dialogwindow not opening
> --------------------------------------------
>
> Key: RF-13234
> URL: https://issues.jboss.org/browse/RF-13234
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: component
> Affects Versions: 3.3.3.Final
> Reporter: Prasanna Subramanian
> Fix For: 3.Future
>
>
> Hi,
> I am using rich:fileupload in my web application....we using only internet explorer 8
> My browser alone not open the dialog window.....to select the files ,but other computer with same browser(IE8) is opening....to select the files.
> Let me know, any options i need to change in Internet explorer 8 for rich:fileupload component to open the file browser.......
--
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
11 years, 4 months
[JBoss JIRA] (RF-13224) RF 4.5 build fails to render optimized resources
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13224?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-13224:
------------------------------------
I vote for 3: RF5 core, RF5 UI and RF4.5 UI packages
Keeping UI and Core separate will help in use cases where pages don'y use any UI tags.
> RF 4.5 build fails to render optimized resources
> ------------------------------------------------
>
> Key: RF-13224
> URL: https://issues.jboss.org/browse/RF-13224
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: resource handling
> Affects Versions: 4.5.0.Alpha1
> Reporter: Lukáš Fryč
> Assignee: Michal Petrov
> Fix For: 4.5.0.Alpha1
>
>
> I believe it's caused by:
> https://github.com/richfaces/richfaces/commit/46b03d226ae420bcbc8abd7f79e...
> {code}
> [INFO] --- richfaces-resource-optimizer-maven-plugin:5.0.0.Alpha1:process (static-resources) @ richfaces-components-rich ---
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
> [ERROR] Exception rendering resorce org.richfaces:iteration/dataGrid/datagrid.ecss using skin blueSky: Method not found: SkinImpl: {warningBackgroundColor=#FFE6E6, headerWeightFont=bold, tableBorderColor=#C0C0C0, controlTextColor=#000000, headerTextColor=#000000, generalTextColor=#000000, selectControlColor=#E79A00, headerGradientColor=#F2F7FF, tableSubfooterBackgroundColor=#f1f1f1, trimColor=#D6E6FB, shadowOpacity=1, tipBorderColor=#E5973E , calendarCurrentBackgroundColor=#FF7800, subBorderColor=#ffffff, editorBackgroundColor=#F1F1F1, generalLinkColor=#0078D0, gradientType=plain, tabSizeFont=11px, calendarHolidaysTextColor=#FF7800, buttonSizeFont=11px, headerBackgroundColor=#BED6F8, hoverLinkColor=#0090FF, tabFamilyFont=Arial, Verdana, sans-serif, calendarSpecBackgroundColor=#E4F5E2, calendarHolidaysBackgroundColor=#FFEBDA, editorMainTextColor=#0B356C, tabDisabledTextColor=#8DB7F3, tableBorderWidth=1px, buttonFamilyFont=Arial, Verdana, sans-serif, generalFamilyFont=Arial, Verdana, sans-serif , tableBackgroundColor=#FFFFFF, calendarWeekBackgroundColor=#F5F5F5, tipBackgroundColor=#FAE6B0 , editorMainBackgroundColor=#D6E6FB, tableSubHeaderBackgroundColor=#ECF4FE, tableHeaderTextColor=#0B356C, calendarCurrentTextColor=#FFEBDA, editBackgroundColor=#FEFFDA, shadowBackgroundColor=#000000, headerFamilyFont=Arial, Verdana, sans-serif, tableFooterBackgroundColor=#cccccc, additionalBackgroundColor=#ECF4FE, panelBorderColor=#BED6F8, visitedLinkColor=#0090FF, controlBackgroundColor=#ffffff, inputNumberSliderBarHandlerBackgroundColor=#0078D0, errorColor=#FF0000, calendarSpecTextColor=#000000, tabBackgroundColor=#C6DEFF, tableHeaderBackgroundColor=#D6E6FB, generalBackgroundColor=#FFFFFF, generalSizeFont=11px, warningColor=#FF4719, headerSizeFont=11px}.imageUrl(java.lang.String)
> javax.el.MethodNotFoundException: Method not found: SkinImpl: {warningBackgroundColor=#FFE6E6, headerWeightFont=bold, tableBorderColor=#C0C0C0, controlTextColor=#000000, headerTextColor=#000000, generalTextColor=#000000, selectControlColor=#E79A00, headerGradientColor=#F2F7FF, tableSubfooterBackgroundColor=#f1f1f1, trimColor=#D6E6FB, shadowOpacity=1, tipBorderColor=#E5973E , calendarCurrentBackgroundColor=#FF7800, subBorderColor=#ffffff, editorBackgroundColor=#F1F1F1, generalLinkColor=#0078D0, gradientType=plain, tabSizeFont=11px, calendarHolidaysTextColor=#FF7800, buttonSizeFont=11px, headerBackgroundColor=#BED6F8, hoverLinkColor=#0090FF, tabFamilyFont=Arial, Verdana, sans-serif, calendarSpecBackgroundColor=#E4F5E2, calendarHolidaysBackgroundColor=#FFEBDA, editorMainTextColor=#0B356C, tabDisabledTextColor=#8DB7F3, tableBorderWidth=1px, buttonFamilyFont=Arial, Verdana, sans-serif, generalFamilyFont=Arial, Verdana, sans-serif , tableBackgroundColor=#FFFFFF, calendarWeekBackgroundColor=#F5F5F5, tipBackgroundColor=#FAE6B0 , editorMainBackgroundColor=#D6E6FB, tableSubHeaderBackgroundColor=#ECF4FE, tableHeaderTextColor=#0B356C, calendarCurrentTextColor=#FFEBDA, editBackgroundColor=#FEFFDA, shadowBackgroundColor=#000000, headerFamilyFont=Arial, Verdana, sans-serif, tableFooterBackgroundColor=#cccccc, additionalBackgroundColor=#ECF4FE, panelBorderColor=#BED6F8, visitedLinkColor=#0090FF, controlBackgroundColor=#ffffff, inputNumberSliderBarHandlerBackgroundColor=#0078D0, errorColor=#FF0000, calendarSpecTextColor=#000000, tabBackgroundColor=#C6DEFF, tableHeaderBackgroundColor=#D6E6FB, generalBackgroundColor=#FFFFFF, generalSizeFont=11px, warningColor=#FF4719, headerSizeFont=11px}.imageUrl(java.lang.String)
> at org.jboss.el.util.ReflectionUtil.findMethod(ReflectionUtil.java:221)
> at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:279)
> at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)
> at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
> at org.jboss.el.parser.AstDeferredExpression.getValue(AstDeferredExpression.java:26)
> at org.jboss.el.parser.AstCompositeExpression.getValue(AstCompositeExpression.java:31)
> at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
> at org.richfaces.resource.optimizer.faces.ApplicationImpl.evaluateExpressionGet(ApplicationImpl.java:485)
> at org.richfaces.resource.CSSVisitorImpl.visitStyleDeclaration(CSSVisitorImpl.java:212)
> at org.richfaces.resource.AbstractCSSVisitor.visitStyleRule(AbstractCSSVisitor.java:98)
> at org.richfaces.resource.AbstractCSSVisitor.visitRule(AbstractCSSVisitor.java:61)
> at org.richfaces.resource.AbstractCSSVisitor.visitStyleSheet(AbstractCSSVisitor.java:48)
> at org.richfaces.resource.CompiledCSSResource.getInputStream(CompiledCSSResource.java:122)
> at org.richfaces.resource.optimizer.resource.handler.impl.DynamicResourceWrapper.getInputStream(DynamicResourceWrapper.java:56)
> at org.richfaces.resource.optimizer.resource.writer.impl.ResourceWriterImpl$ResourceInputStreamSupplier.getInput(ResourceWriterImpl.java:70)
> at org.richfaces.resource.optimizer.resource.writer.impl.ResourceWriterImpl$ResourceInputStreamSupplier.getInput(ResourceWriterImpl.java:60)
> at org.richfaces.resource.optimizer.resource.writer.impl.ThroughputResourceProcessor.process(ThroughputResourceProcessor.java:53)
> at org.richfaces.resource.optimizer.resource.writer.impl.ResourceWriterImpl.writeResource(ResourceWriterImpl.java:127)
> at org.richfaces.resource.optimizer.task.ResourceTaskFactoryImpl$ResourcesRendererCallable.renderResource(ResourceTaskFactoryImpl.java:96)
> at org.richfaces.resource.optimizer.task.ResourceTaskFactoryImpl$ResourcesRendererCallable.call(ResourceTaskFactoryImpl.java:160)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:722)
> [ERROR] Exception rendering resorce org.richfaces:iteration/dataGrid/datagrid.ecss using skin classic: Method not found: SkinImpl: {warningBackgroundColor=#FFE6E6, headerWeightFont=bold, tableBorderColor=#C0C0C0, controlTextColor=#000000, headerTextColor=#FFFFFF, generalTextColor=#000000, selectControlColor=#E79A00, headerGradientColor=#93C4E5, tableSubfooterBackgroundColor=#f1f1f1, trimColor=#C6D6EA, shadowOpacity=1, tipBorderColor=#E5973E , calendarCurrentBackgroundColor=#FF7800, subBorderColor=#ffffff, editorBackgroundColor=#F1F1F1, generalLinkColor=#0078D0, gradientType=plain, tabSizeFont=11px, calendarHolidaysTextColor=#FF7800, buttonSizeFont=11px, headerBackgroundColor=#4A75B5, hoverLinkColor=#0090FF, tabFamilyFont=Arial, Verdana, sans-serif, calendarSpecBackgroundColor=#E4F5E2, calendarHolidaysBackgroundColor=#FFEBDA, editorMainTextColor=#FFFFFF, tabDisabledTextColor=#6A92CF, tableBorderWidth=1px, buttonFamilyFont=Arial, Verdana, sans-serif, generalFamilyFont=Arial, Verdana, sans-serif , tableBackgroundColor=#FFFFFF, calendarWeekBackgroundColor=#F5F5F5, tipBackgroundColor=#FAE6B0 , editorMainBackgroundColor=#7596C6, tableSubHeaderBackgroundColor=#93C4E5, tableHeaderTextColor=#FFFFFF, calendarCurrentTextColor=#FFEBDA, editBackgroundColor=#FEFFDA, shadowBackgroundColor=#000000, headerFamilyFont=Arial, Verdana, sans-serif, tableFooterBackgroundColor=#cccccc, additionalBackgroundColor=#EAF0F8, panelBorderColor=#C0C0C0, visitedLinkColor=#0090FF, controlBackgroundColor=#ffffff, inputNumberSliderBarHandlerBackgroundColor=#0078D0, errorColor=#FF0000, calendarSpecTextColor=#000000, tabBackgroundColor=#9FBDEB, tableHeaderBackgroundColor=#4A75B5, generalBackgroundColor=#F3F2F2, generalSizeFont=11px, warningColor=#FF4719, headerSizeFont=11px}.imageUrl(java.lang.String)
> javax.el.MethodNotFoundException: Method not found: SkinImpl: {warningBackgroundColor=#FFE6E6, headerWeightFont=bold, tableBorderColor=#C0C0C0, controlTextColor=#000000, headerTextColor=#FFFFFF, generalTextColor=#000000, selectControlColor=#E79A00, headerGradientColor=#93C4E5, tableSubfooterBackgroundColor=#f1f1f1, trimColor=#C6D6EA, shadowOpacity=1, tipBorderColor=#E5973E , calendarCurrentBackgroundColor=#FF7800, subBorderColor=#ffffff, editorBackgroundColor=#F1F1F1, generalLinkColor=#0078D0, gradientType=plain, tabSizeFont=11px, calendarHolidaysTextColor=#FF7800, buttonSizeFont=11px, headerBackgroundColor=#4A75B5, hoverLinkColor=#0090FF, tabFamilyFont=Arial, Verdana, sans-serif, calendarSpecBackgroundColor=#E4F5E2, calendarHolidaysBackgroundColor=#FFEBDA, editorMainTextColor=#FFFFFF, tabDisabledTextColor=#6A92CF, tableBorderWidth=1px, buttonFamilyFont=Arial, Verdana, sans-serif, generalFamilyFont=Arial, Verdana, sans-serif , tableBackgroundColor=#FFFFFF, calendarWeekBackgroundColor=#F5F5F5, tipBackgroundColor=#FAE6B0 , editorMainBackgroundColor=#7596C6, tableSubHeaderBackgroundColor=#93C4E5, tableHeaderTextColor=#FFFFFF, calendarCurrentTextColor=#FFEBDA, editBackgroundColor=#FEFFDA, shadowBackgroundColor=#000000, headerFamilyFont=Arial, Verdana, sans-serif, tableFooterBackgroundColor=#cccccc, additionalBackgroundColor=#EAF0F8, panelBorderColor=#C0C0C0, visitedLinkColor=#0090FF, controlBackgroundColor=#ffffff, inputNumberSliderBarHandlerBackgroundColor=#0078D0, errorColor=#FF0000, calendarSpecTextColor=#000000, tabBackgroundColor=#9FBDEB, tableHeaderBackgroundColor=#4A75B5, generalBackgroundColor=#F3F2F2, generalSizeFont=11px, warningColor=#FF4719, headerSizeFont=11px}.imageUrl(java.lang.String)
> at org.jboss.el.util.ReflectionUtil.findMethod(ReflectionUtil.java:221)
> at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:279)
> at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)
> at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
> at org.jboss.el.parser.AstDeferredExpression.getValue(AstDeferredExpression.java:26)
> at org.jboss.el.parser.AstCompositeExpression.getValue(AstCompositeExpression.java:31)
> at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
> at org.richfaces.resource.optimizer.faces.ApplicationImpl.evaluateExpressionGet(ApplicationImpl.java:485)
> at org.richfaces.resource.CSSVisitorImpl.visitStyleDeclaration(CSSVisitorImpl.java:212)
> at org.richfaces.resource.AbstractCSSVisitor.visitStyleRule(AbstractCSSVisitor.java:98)
> at org.richfaces.resource.AbstractCSSVisitor.visitRule(AbstractCSSVisitor.java:61)
> at org.richfaces.resource.AbstractCSSVisitor.visitStyleSheet(AbstractCSSVisitor.java:48)
> at org.richfaces.resource.CompiledCSSResource.getInputStream(CompiledCSSResource.java:122)
> at org.richfaces.resource.optimizer.resource.handler.impl.DynamicResourceWrapper.getInputStream(DynamicResourceWrapper.java:56)
> at org.richfaces.resource.optimizer.resource.writer.impl.ResourceWriterImpl$ResourceInputStreamSupplier.getInput(ResourceWriterImpl.java:70)
> at org.richfaces.resource.optimizer.resource.writer.impl.ResourceWriterImpl$ResourceInputStreamSupplier.getInput(ResourceWriterImpl.java:60)
> at org.richfaces.resource.optimizer.resource.writer.impl.ThroughputResourceProcessor.process(ThroughputResourceProcessor.java:53)
> at org.richfaces.resource.optimizer.resource.writer.impl.ResourceWriterImpl.writeResource(ResourceWriterImpl.java:127)
> at org.richfaces.resource.optimizer.task.ResourceTaskFactoryImpl$ResourcesRendererCallable.renderResource(ResourceTaskFactoryImpl.java:96)
> at org.richfaces.resource.optimizer.task.ResourceTaskFactoryImpl$ResourcesRendererCallable.call(ResourceTaskFactoryImpl.java:160)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:722)
> {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
11 years, 4 months
[JBoss JIRA] (RF-13235) Tree - Row key conversion fails (UITree should not have generated @rowKeyConverter, since it is fully implemented in AbstractTree)
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13235?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13235:
-------------------------------
Description:
The row key generation for Tree stopped to work:
*got:* <div id="j_idt106:tree:org.richfaces.model.SequenceRowKey[0, 0, 0]:j_idt111" class="rf-tr-nd rf-tr-nd-lf">
*expected:* <div id="j_idt106:tree:0.0.0:j_idt111" class="rf-tr-nd rf-tr-nd-lf">
----
The cause was that rowKeyConverter resolves to null, so plain toString on rowKey is used.
I was wondering why rowKeyConverter isn't resolved for Tree in Showcase - the problem is that CDK generates this attribute and thus its implementation in AbstractTree (which is the correct way of rowKeyResolution) isn't used at all.
I'm pretty sure this is caused by refactoring from tree-model-props.xml to use Java interfaces TreeProps and TreeCommonProps:
https://github.com/richfaces/richfaces/commit/62ab0fe3f00b44a166b522ecb71...
However it's not clear why the rowKeyConverter wasn't generated in RF 4.3 when it wasn't marked as generate=false:
https://github.com/richfaces4/components/blob/master/iteration/ui/src/mai...
Note that in RF 5 it is generated because UIAdaptor has @Attribute which defaults to generate=true:
https://github.com/richfaces/richfaces/blob/master/framework/src/main/jav...
Workaround is marking rowKeyConverter as generate=false in AbstracTree (or maybe RowKeyConverter), but we should rather investigate why this issue happens.
----
This issue has bigger potential since during refactoring of properties, [~bleathem] could work with the same assumption as I did ^.
was:
The row key generation for Tree stopped to work:
*got:* <div id="j_idt106:tree:org.richfaces.model.SequenceRowKey[0, 0, 0]:j_idt111" class="rf-tr-nd rf-tr-nd-lf">
*expected:* <div id="j_idt106:tree:0.0.0:j_idt111" class="rf-tr-nd rf-tr-nd-lf">
----
The cause was that rowKeyConverter resolves to null, so plain toString on rowKey is used.
I was wondering why rowKeyConverter isn't resolved for Tree in Showcase - the problem is that CDK generates this attribute and thus its implementation in AbstractTree (which is the correct way of rowKeyResolution) isn't used at all.
I'm pretty sure this is caused by refactoring from tree-model-props.xml to use Java interfaces TreeProps and TreeCommonProps:
https://github.com/richfaces/richfaces/commit/62ab0fe3f00b44a166b522ecb71...
However it's not clear why the rowKeyConverter wasn't generated in RF 4.3 when it wasn't marked as generate=false:
https://github.com/richfaces4/components/blob/master/iteration/ui/src/mai...
Note that in RF 5 it is generated because UIAdaptor has @Attribute which defaults to generate=false:
https://github.com/richfaces/richfaces/blob/master/framework/src/main/jav...
Workaround is marking rowKeyConverter as generate=false in AbstracTree (or maybe RowKeyConverter), but we should rather investigate why this issue happens.
----
This issue has bigger potential since during refactoring of properties, [~bleathem] could work with the same assumption as I did ^.
> Tree - Row key conversion fails (UITree should not have generated @rowKeyConverter, since it is fully implemented in AbstractTree)
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-13235
> URL: https://issues.jboss.org/browse/RF-13235
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tree
> Affects Versions: 5.0.0.Alpha2
> Reporter: Lukáš Fryč
> Priority: Critical
> Fix For: 5.0.0.Alpha2
>
>
> The row key generation for Tree stopped to work:
> *got:* <div id="j_idt106:tree:org.richfaces.model.SequenceRowKey[0, 0, 0]:j_idt111" class="rf-tr-nd rf-tr-nd-lf">
> *expected:* <div id="j_idt106:tree:0.0.0:j_idt111" class="rf-tr-nd rf-tr-nd-lf">
> ----
> The cause was that rowKeyConverter resolves to null, so plain toString on rowKey is used.
> I was wondering why rowKeyConverter isn't resolved for Tree in Showcase - the problem is that CDK generates this attribute and thus its implementation in AbstractTree (which is the correct way of rowKeyResolution) isn't used at all.
> I'm pretty sure this is caused by refactoring from tree-model-props.xml to use Java interfaces TreeProps and TreeCommonProps:
> https://github.com/richfaces/richfaces/commit/62ab0fe3f00b44a166b522ecb71...
> However it's not clear why the rowKeyConverter wasn't generated in RF 4.3 when it wasn't marked as generate=false:
> https://github.com/richfaces4/components/blob/master/iteration/ui/src/mai...
> Note that in RF 5 it is generated because UIAdaptor has @Attribute which defaults to generate=true:
> https://github.com/richfaces/richfaces/blob/master/framework/src/main/jav...
> Workaround is marking rowKeyConverter as generate=false in AbstracTree (or maybe RowKeyConverter), but we should rather investigate why this issue happens.
> ----
> This issue has bigger potential since during refactoring of properties, [~bleathem] could work with the same assumption as I did ^.
--
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
11 years, 4 months
[JBoss JIRA] (RF-13200) Tree: Uncaught TypeError: Object #<Object> has no method '$'
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13200?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč resolved RF-13200.
-----------------------------
Resolution: Done
> Tree: Uncaught TypeError: Object #<Object> has no method '$'
> ------------------------------------------------------------
>
> Key: RF-13200
> URL: https://issues.jboss.org/browse/RF-13200
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tree
> Affects Versions: 5.0.0.Alpha2
> Environment: RichFaces 5.0.0-SNAPSHOT
> Metamer 5.0.0-SNAPSHOT
> JBoss Application Server: Weld Integration 7.2.1.Final-redhat-10
> JBoss AS 7.2.1.Final-redhat-10
> Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
> Chrome 29.0.1547.65 @ Linux x86_64
> Reporter: Pavol Pitonak
> Assignee: Lukáš Fryč
> Priority: Blocker
> Fix For: 5.0.0.Alpha2
>
> Original Estimate: 30 minutes
> Remaining Estimate: 30 minutes
>
> # deploy Metamer and open http://127.0.0.1:8080/metamer/faces/components/richTree/treeAdaptors.xhtm...
> # open node R-1
> # open node R-1.1
> # click on node R-1.1-M-V-1
> expected result:
> * node should be selected
> actual:
> * exception in browser console: Uncaught TypeError: Object #<Object> has no method '$'
> reason:
> * response to Ajax request contains this code
> {code}
> RichFaces.$("form:richTree").__updateSelectionFromInput();
> {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
11 years, 4 months