[JBoss JIRA] (RF-11831) Toolbar: col elements should use CSS for width
by Pavol Pitonak (Created) (JIRA)
Toolbar: col elements should use CSS for width
----------------------------------------------
Key: RF-11831
URL: https://issues.jboss.org/browse/RF-11831
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-menu
Affects Versions: 4.1.0.Final
Reporter: Pavol Pitonak
Toolbar generates <col> elements with attribute "width" which should be replaced with CSS. Attribute width is obsolete in HTML5.
{code:xml}
<rich:toolbar height="26" itemSeparator="grid">
<rich:toolbarGroup>
<h:graphicImage value="/images/icons/create_doc.gif" styleClass="pic" alt="create_doc" />
<h:graphicImage value="/images/icons/create_folder.gif" styleClass="pic" alt="create_folder" />
<h:graphicImage value="/images/icons/copy.gif" styleClass="pic" alt="copy" />
</rich:toolbarGroup>
...
{code}
{code:xml}
<table border="0" cellpadding="0" cellspacing="0" class="rf-tb " height="26px" id="j_idt1923" width="100%">
<col width="1px" />
<col width="1px" />
<col width="1px" />
...
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month
[JBoss JIRA] (RF-11830) Toolbar: attribute width is always generated
by Pavol Pitonak (Created) (JIRA)
Toolbar: attribute width is always generated
--------------------------------------------
Key: RF-11830
URL: https://issues.jboss.org/browse/RF-11830
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-menu
Affects Versions: 4.1.0.Final
Reporter: Pavol Pitonak
Toolbar generates width attribute even if width is set in CSS.
{code:xml}
<rich:toolbar id="menuBar" itemSeparator="disc" style="width: 80%;">
<rich:menuItem ... />
<rich:menuItem ... />
</rich:toolbar>
{code}
The code above generates the following markup (width is set twice):
{code:xml}
<table border="0" cellpadding="0" cellspacing="0" class="rf-tb " id="menuForm:menuBar" style="width: 80%;" width="100%">
...
</table>
{code}
Only CSS should be used.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month
[JBoss JIRA] (RF-11813) Drop down menu generates non-valid HTML
by Pavol Pitonak (Created) (JIRA)
Drop down menu generates non-valid HTML
---------------------------------------
Key: RF-11813
URL: https://issues.jboss.org/browse/RF-11813
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-menu
Affects Versions: 4.1.0.CR2
Reporter: Pavol Pitonak
The following code snippet generates non-valid XHTML (it contains a div inside span):
{code:xml}
<rich:menuItem id="chart" action="chart?faces-redirect=true" label="Chart" />
{code}
{code:xml}
<div class="rf-ddm-itm rf-ddm-itm-unsel " id="menuForm:chart">
<span class="rf-ddm-itm-ic ">
<div class="rf-ddm-emptyIcon"></div>
</span>
<span class="rf-ddm-itm-lbl ">Chart</span>
<script type="text/javascript">new RichFaces.ui.MenuItem("menuForm:chart");</script>
</div>
{code}
Menu items with icon are OK.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month
[JBoss JIRA] Created: (RF-7248) a4j creates infinite HashMap.get loop
by Nida Cibulskyte (JIRA)
a4j creates infinite HashMap.get loop
-------------------------------------
Key: RF-7248
URL: https://jira.jboss.org/jira/browse/RF-7248
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Nida Cibulskyte
Concurrent requests on a4j components causes infinite loop. While one request is being proccessed by restoreChildState method, another request is senT for proccessing. It causes the code to get stuck in hashmap.get() as the hashmap is not synchronized and causes infinite loop.
2009 05 25 09:41:43 ERROR demo.NameBean - java.util.HashMap.get(HashMap.java:303)
2009 05 25 09:41:43 ERROR demo.NameBean - org.ajax4jsf.component.UIDataAdaptor.restoreChildState(UIDataAdaptor.java:965)
2009 05 25 09:41:43 ERROR demo.NameBean - org.ajax4jsf.component.UIDataAdaptor.restoreChildState(UIDataAdaptor.java:982)
2009 05 25 09:41:43 ERROR demo.NameBean - org.ajax4jsf.component.UIDataAdaptor.restoreChildState(UIDataAdaptor.java:982)
.......................
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month
[JBoss JIRA] (RF-11807) TabPanel does not accept Comment as XML-child
by Friedhelm Kuehn (Created) (JIRA)
TabPanel does not accept Comment as XML-child
---------------------------------------------
Key: RF-11807
URL: https://issues.jboss.org/browse/RF-11807
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-panels-layout-themes
Affects Versions: 4.1.0.CR2
Environment: Win 7 64 Bit
Reporter: Friedhelm Kuehn
Priority: Minor
Fix For: 4.1.1.Final
Not big problem - just to let you know: TabPanel does not accept XML-Comment as child - I think it should.
Example:
<rich:tabPanel id="Source_TabPanel_South" headerAlignment="left" headerPosition="top" switchType="client"
style="width:100%;height:100%;">
<!-- this does not work !!! -->
<rich:tab id="Source_Console_Tab">
Result: Class-Cast Exception: com.sun.faces.facelets.compiler.UIInstructions cannot be cast to org.richfaces.component.AbstractTab
at org.richfaces.renderkit.html.TabPanelRenderer.doEncodeEnd(TabPanelRenderer.java:257)
Statement there: AbstractTab tab = (AbstractTab) child;
Proposed solution : Check castability to AbstractTab before and f.e. silently ignore others (at least UIInstructions)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months