[jira] [Resolved] (TOBAGO-1375) Menu disposes when parent of submenu is clicked
[ https://issues.apache.org/jira/browse/TOBAGO-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Udo Schnurpfeil resolved TOBAGO-1375. - Resolution: Fixed Fix Version/s: 2.0.0 2.0.0-beta-1 Menu disposes when parent of submenu is clicked --- Key: TOBAGO-1375 URL: https://issues.apache.org/jira/browse/TOBAGO-1375 Project: MyFaces Tobago Issue Type: Bug Affects Versions: 2.0.0-alpha-3 Reporter: Dennis Kieselhorst Assignee: Udo Schnurpfeil Priority: Minor Fix For: 2.0.0-beta-1, 2.0.0 The menu disposes when a nested menu (not a menuCommand) is clicked. The menu should stay open, this was the behaviour in Tobago V1.0. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Resolved] (TOBAGO-1359) NPE when rendering sheet
[ https://issues.apache.org/jira/browse/TOBAGO-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Udo Schnurpfeil resolved TOBAGO-1359. - Resolution: Fixed NPE when rendering sheet Key: TOBAGO-1359 URL: https://issues.apache.org/jira/browse/TOBAGO-1359 Project: MyFaces Tobago Issue Type: Bug Components: Themes Affects Versions: 2.0.0-alpha-3 Reporter: Dennis Kieselhorst Assignee: Udo Schnurpfeil Fix For: 2.0.0-beta-1 A NPE is thrown when rendering a simple empty sheet: tc:sheet value=#{controller.testItems} var=test tc:column label=#{label.test} tx:selectBooleanCheckbox label=${test.name} value=#{test.selected}/ /tc:column /tc:sheet java.lang.NullPointerException at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.SheetRenderer.renderSheet(SheetRenderer.java:437) at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.SheetRenderer.encodeEnd(SheetRenderer.java:171) at org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper.encodeEnd(AbstractRendererBaseWrapper.java:105) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:665) at javax.faces.component.UIData.encodeEnd(UIData.java:1704) at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:121) at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:97) at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encodeChildren(RenderUtils.java:92) at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildren(GridLayoutRenderer.java:55) at org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper.encodeChildren(AbstractRendererBaseWrapper.java:100) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:634) at org.apache.myfaces.tobago.internal.component.AbstractUIPanel.encodeChildren(AbstractUIPanel.java:50) at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:115) at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:97) at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encodeChildren(RenderUtils.java:92) at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildren(GridLayoutRenderer.java:55) at org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper.encodeChildren(AbstractRendererBaseWrapper.java:100) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:634) at org.apache.myfaces.tobago.internal.component.AbstractUIPanel.encodeChildren(AbstractUIPanel.java:50) at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:115) at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:97) at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encodeChildren(RenderUtils.java:92) at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildren(GridLayoutRenderer.java:55) at org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper.encodeChildren(AbstractRendererBaseWrapper.java:100) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:634) at org.apache.myfaces.tobago.internal.component.AbstractUIPanel.encodeChildren(AbstractUIPanel.java:50) at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:115) at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:97) at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encodeChildren(RenderUtils.java:92) at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildren(GridLayoutRenderer.java:55) at org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper.encodeChildren(AbstractRendererBaseWrapper.java:100) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:634) at org.apache.myfaces.tobago.internal.component.AbstractUIPanel.encodeChildren(AbstractUIPanel.java:50) at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:115) at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:97) at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encodeChildren(RenderUtils.java:92) at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildren(GridLayoutRenderer.java:55) at
[jira] [Created] (TRINIDAD-2460) Provide default values for trinidad-config schema attributes
Jayadev Rajan created TRINIDAD-2460: --- Summary: Provide default values for trinidad-config schema attributes Key: TRINIDAD-2460 URL: https://issues.apache.org/jira/browse/TRINIDAD-2460 Project: MyFaces Trinidad Issue Type: Improvement Components: Documentation Affects Versions: 2.1.0-core Reporter: Jayadev Rajan Priority: Trivial Provide default values wherever possible such that developer tools can make use of this and show the default values to the user. Without that it becomes difficult for the user to understand the default value. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (TRINIDAD-2460) Provide default values for trinidad-config schema attributes
[ https://issues.apache.org/jira/browse/TRINIDAD-2460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayadev Rajan updated TRINIDAD-2460: Status: Patch Available (was: Open) Provide default values for trinidad-config schema attributes Key: TRINIDAD-2460 URL: https://issues.apache.org/jira/browse/TRINIDAD-2460 Project: MyFaces Trinidad Issue Type: Improvement Components: Documentation Affects Versions: 2.1.0-core Reporter: Jayadev Rajan Priority: Trivial Provide default values wherever possible such that developer tools can make use of this and show the default values to the user. Without that it becomes difficult for the user to understand the default value. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (TRINIDAD-2460) Provide default values for trinidad-config schema attributes
[ https://issues.apache.org/jira/browse/TRINIDAD-2460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayadev Rajan updated TRINIDAD-2460: Status: Open (was: Patch Available) Provide default values for trinidad-config schema attributes Key: TRINIDAD-2460 URL: https://issues.apache.org/jira/browse/TRINIDAD-2460 Project: MyFaces Trinidad Issue Type: Improvement Components: Documentation Affects Versions: 2.1.0-core Reporter: Jayadev Rajan Priority: Trivial Provide default values wherever possible such that developer tools can make use of this and show the default values to the user. Without that it becomes difficult for the user to understand the default value. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (TRINIDAD-2460) Provide default values for trinidad-config schema attributes
[ https://issues.apache.org/jira/browse/TRINIDAD-2460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayadev Rajan updated TRINIDAD-2460: Status: Patch Available (was: Open) Provide default values for trinidad-config schema attributes Key: TRINIDAD-2460 URL: https://issues.apache.org/jira/browse/TRINIDAD-2460 Project: MyFaces Trinidad Issue Type: Improvement Components: Documentation Affects Versions: 2.1.0-core Reporter: Jayadev Rajan Priority: Trivial Attachments: jira-2460.patch Provide default values wherever possible such that developer tools can make use of this and show the default values to the user. Without that it becomes difficult for the user to understand the default value. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Reopened] (TOBAGO-1279) Menu: Icons and arrow are miss on items with submenu
[ https://issues.apache.org/jira/browse/TOBAGO-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Udo Schnurpfeil reopened TOBAGO-1279: - Assignee: Udo Schnurpfeil (was: Volker Weber) Reopening, because the Position of the arrow-icon is not correnct in IE and WebKit. Menu: Icons and arrow are miss on items with submenu Key: TOBAGO-1279 URL: https://issues.apache.org/jira/browse/TOBAGO-1279 Project: MyFaces Tobago Issue Type: Bug Reporter: Volker Weber Assignee: Udo Schnurpfeil Fix For: 2.0.0-alpha-1, 2.0.0 Attachments: erm-tbg-1.0-menu.png, erm-tbg-2.0-menu.png, tbg-1.0-menu.png see the attached images for the difference between tobago 1.0 and 2.0 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (TOBAGO-1279) Menu: Icons and arrow are miss on items with submenu
[ https://issues.apache.org/jira/browse/TOBAGO-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13934949#comment-13934949 ] Udo Schnurpfeil commented on TOBAGO-1279: - I've implemented a solution with multiple background images (CSS3). For IE 9, I've included a workaround. So, the both new CSS classes - tobago-menu-subitem-ancor - tobago-menu-subitem-arrow are no longer needed, and they can be removed from custom themes. Menu: Icons and arrow are miss on items with submenu Key: TOBAGO-1279 URL: https://issues.apache.org/jira/browse/TOBAGO-1279 Project: MyFaces Tobago Issue Type: Bug Reporter: Volker Weber Assignee: Udo Schnurpfeil Fix For: 2.0.0-alpha-1, 2.0.0 Attachments: erm-tbg-1.0-menu.png, erm-tbg-2.0-menu.png, tbg-1.0-menu.png see the attached images for the difference between tobago 1.0 and 2.0 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Resolved] (TOBAGO-1279) Menu: Icons and arrow are miss on items with submenu
[ https://issues.apache.org/jira/browse/TOBAGO-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Udo Schnurpfeil resolved TOBAGO-1279. - Resolution: Fixed Fix Version/s: (was: 2.0.0-alpha-1) (was: 2.0.0) 2.0.0-beta-1 Menu: Icons and arrow are miss on items with submenu Key: TOBAGO-1279 URL: https://issues.apache.org/jira/browse/TOBAGO-1279 Project: MyFaces Tobago Issue Type: Bug Reporter: Volker Weber Assignee: Udo Schnurpfeil Fix For: 2.0.0-beta-1 Attachments: erm-tbg-1.0-menu.png, erm-tbg-2.0-menu.png, tbg-1.0-menu.png see the attached images for the difference between tobago 1.0 and 2.0 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (TOBAGO-1377) Build fails on Windows systems
Udo Schnurpfeil created TOBAGO-1377: --- Summary: Build fails on Windows systems Key: TOBAGO-1377 URL: https://issues.apache.org/jira/browse/TOBAGO-1377 Project: MyFaces Tobago Issue Type: Bug Components: Build Reporter: Udo Schnurpfeil Assignee: Udo Schnurpfeil Priority: Minor -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Resolved] (TOBAGO-1377) Build fails on Windows systems
[ https://issues.apache.org/jira/browse/TOBAGO-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Udo Schnurpfeil resolved TOBAGO-1377. - Resolution: Fixed Fix Version/s: 2.0.0-beta-1 Build fails on Windows systems -- Key: TOBAGO-1377 URL: https://issues.apache.org/jira/browse/TOBAGO-1377 Project: MyFaces Tobago Issue Type: Bug Components: Build Reporter: Udo Schnurpfeil Assignee: Udo Schnurpfeil Priority: Minor Fix For: 2.0.0-beta-1 Generated code has wrong encoding - update maven-processor-plugin to 2.2.4 UnitTest in sandbox failing -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (TOBAGO-1376) tobago-theme-plugin puts backslashes in war file if build runs under Windows
[ https://issues.apache.org/jira/browse/TOBAGO-1376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13935467#comment-13935467 ] Udo Schnurpfeil commented on TOBAGO-1376: - I've fixed that. Can you test it in your envirionment, please? tobago-theme-plugin puts backslashes in war file if build runs under Windows Key: TOBAGO-1376 URL: https://issues.apache.org/jira/browse/TOBAGO-1376 Project: MyFaces Tobago Issue Type: Bug Affects Versions: 2.0.0-beta-1 Environment: Windows (build environment), Linux (runtime) Reporter: Georg Pietrek Assignee: Udo Schnurpfeil When building a Tobago theme (using the tobago-theme-plugin) on a Windows machine the file target/classes/META-INF/tobago-resource-index.txt contains file paths with backslashes. This leads to errors when running the application on a Linux machine: 2014-03-12 16:11:41,740 [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG org.apache.myfaces.tobago.internal.context.ResourceManagerImpl adding resourceKey = '/com\abc\foundation\tobago\renderkit\html\abc\standard\image\exclamation.png' 2014-03-12 16:11:41,740 [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO org.apache.myfaces.tobago.internal.context.ResourceLocator Adding properties from: 'com\abc\foundation\tobago\renderkit\html\abc\standard\property\tobago-theme-config.properties' 2014-03-12 16:11:41,744 [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.myfaces.tobago.internal.config.TobagoConfigBuilder Error while deploy process. Tobago can't be initialized! Application will not run! javax.servlet.ServletException: java.lang.NullPointerException Please take a look at the class IndexThemeMojo, this may be the cause of the problem: BufferedWriter bufferedWriter = null; try { final StringWriter stringWriter = new StringWriter(); bufferedWriter = new BufferedWriter(stringWriter); for (final String file : scanner.getIncludedFiles()) { bufferedWriter.append('/'); bufferedWriter.append(file); bufferedWriter.newLine(); } -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (TOBAGO-1374) link attribute contains faces mapping
[ https://issues.apache.org/jira/browse/TOBAGO-1374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13935472#comment-13935472 ] Udo Schnurpfeil commented on TOBAGO-1374: - I think I've fixed that, can you check that, please! link attribute contains faces mapping - Key: TOBAGO-1374 URL: https://issues.apache.org/jira/browse/TOBAGO-1374 Project: MyFaces Tobago Issue Type: Bug Affects Versions: 1.5.12 Reporter: Bernd Bohmann Assignee: Udo Schnurpfeil Link contains the faces mapping. The description says only session id and optional context path. Encode action url is called. I think this is wrong. Link to an arbitrary URL, either an internal link or an external link. internal absolute link Starts with a slash '/' character. The context path will be added. A session id will be added, if needed. external link Contains a colon ':' character. The link will not be modified. internal relative link Any other strings. A session id will be added, if needed. Type: java.lang.String -- This message was sent by Atlassian JIRA (v6.2#6252)