Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0, EE-2.0.0.GA, 2.0.2
-
Fix Version/s: 2.1-Beta, 3.0, EE-2.0.0.GA_P01
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Any
-
Assignee Priority:P2
Description
Some javascript errors occur when trying to initialize any ACE component in the client, preventing the component to appear on the page. This occurs under certain circumstances. For example, it occurs when trying to dynamically render the component using the 'render' attribute or when using singleSubmit= false, as seen on the test app located at /repo/qa/trunk/Regression-Icefaces2/Sparkle/Nightly/CheckboxBttn. The problem seems to be related to the regular expressions used to dynamically load YUI resources.
Activity
Arturo Zambrano
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | EE-2.0.0.GA_P01 [ 10271 ] | |
Fix Version/s | 2.1 [ 10241 ] | |
Assignee Priority | P2 | |
Assignee | Arturo Zambrano [ artzambrano ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24737 | Wed Jun 01 13:22:43 MDT 2011 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/ace/component/src/org/icefaces/component/logger/LoggerMeta.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24740 | Wed Jun 01 13:33:47 MDT 2011 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/ace/component/src/org/icefaces/component/logger/LoggerMeta.java
|
Arturo Zambrano
made changes -
Summary | ACE checkbox button doesn't initialize in the client under certain circumstances | ACE components don't initialize in the client when Logger is the first ACE component on the page |
Salesforce Case | [] | |
Description | Some javascript errors occur when trying to initialize a checkbox button in the client, preventing the button to appear on the page. This occurs under certain circumstances. For example, it occurs when trying to dynamically render the component using the 'render' attribute or when using singleSubmit= false, as seen on the test app located at /repo/qa/trunk/Regression-Icefaces2/Sparkle/Nightly/CheckboxBttn. The problem seems to be related to the regular expressions used to dynamically load YUI resources. | Some javascript errors occur when trying to initialize any ACE component in the client, preventing the component to appear on the page. This occurs under certain circumstances. For example, it occurs when trying to dynamically render the component using the 'render' attribute or when using singleSubmit= false, as seen on the test app located at /repo/qa/trunk/Regression-Icefaces2/Sparkle/Nightly/CheckboxBttn. The problem seems to be related to the regular expressions used to dynamically load YUI resources. |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #24837 | Wed Jun 15 17:03:58 MDT 2011 | mark.collette | Commit was previously lost due to |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/ace/component/src/org/icefaces/ace/component/logger/LoggerMeta.java
|
Ken Fyten
made changes -
Fix Version/s | 2.1-Beta [ 10291 ] | |
Fix Version/s | 2.1 [ 10241 ] |
Ken Fyten
made changes -
Fix Version/s | 3.0 [ 10241 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
The problem was actually caused by the fact that Logger only declares comined.js as a @ResourceDependency (point: it doesn't declare yui-min.js and loader-min.js as the rest of the ACE components). So, if combined.js is loaded first, our loader code will not find yui-min.js, which is necessary to initialize the YUI loader. This was fixed by simply adding yui-min.js and loader-min.js as @ResourceDependencies to Logger.