[JBoss JIRA] Created: (RF-9816) Ability to execute javascript from a managed bean
by Adrian Mitev (JIRA)
Ability to execute javascript from a managed bean
-------------------------------------------------
Key: RF-9816
URL: https://jira.jboss.org/browse/RF-9816
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Adrian Mitev
Hi all! I saw that in many forums as a question. There should be a way to add a javascript to the response to be evaluated after the page is loaded. Something like:
{code}
XXX.executeJavascript("<script code here>");
{code}
This should be possible for ajax requests as well as for normal requests.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months
[JBoss JIRA] Created: (RF-8271) org.richfaces.model.selection.Selection interface has no JavaDoc / API doc, and it is not very user-friendly
by Ian Springer (JIRA)
org.richfaces.model.selection.Selection interface has no JavaDoc / API doc, and it is not very user-friendly
------------------------------------------------------------------------------------------------------------
Key: RF-8271
URL: https://jira.jboss.org/jira/browse/RF-8271
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tables
Affects Versions: 3.3.2.SR1
Reporter: Ian Springer
This interface is used by rich:extendedDataTable's selection attribute, and possibly by some of the other dataTable components. It currently has no JavaDoc whatsoever, which is especially bad because it is not intuitive what some of the methods return:
1) public Iterator<Object> getKeys()
Does this return just the keys of the selected items, or does it return the keys for all items on the current page (the presence of the isSelected() method seems to suggest the latter)? Why provide just the keys of the selected items, rather than the entire Objects? 90% of the time, the GUI developer's going to want to get at the Objects themselves to do some sort of CRUD on them. Why not save them the trouble of having to map the key to the actual Object, when RF can do it for them?
2) public int size()
Does this return just the number of selected items, or does it return the size of the current page (the presence of the isSelected() method seems to suggest the latter)?
3) public boolean isSelected(Object rowKey)
What's the idea behind this method - to also provide easy access to what rows are *not* selected? If so, wouldn't an easier to use API be:
List getSelectedRows()
List getUnselectedRows()
--
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
15 years, 2 months
[JBoss JIRA] Created: (RF-9739) rich:tooltip - when moving out to the right, tooltip will not hide
by Lukas Fryc (JIRA)
rich:tooltip - when moving out to the right, tooltip will not hide
------------------------------------------------------------------
Key: RF-9739
URL: https://jira.jboss.org/browse/RF-9739
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.0.0.Milestone4
Environment: RichFaces 4.0.0.20101107-M4 r.19981
Metamer 4.0.0.20101107-M4 r.19986
Mojarra 2.0.2-FCS
Apache Tomcat 6.0.29
OpenJDK Runtime Environment 1.6.0_18-b18 @ Linux
Chrome 7.0.517.44 @ Win32, Firefox 3.6.12 @ Linux
Reporter: Lukas Fryc
You let tooltip to appear and then move out to the left side, the tooltip will hide after leaving the target component area.
But when moving out to the right side, the tooltip is following mouse - will disappear after moving left.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months
[JBoss JIRA] Created: (RF-9641) rich:tooltip - @target is taking clientId, but component.id is expected
by Lukas Fryc (JIRA)
rich:tooltip - @target is taking clientId, but component.id is expected
-----------------------------------------------------------------------
Key: RF-9641
URL: https://jira.jboss.org/browse/RF-9641
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.0.0.Milestone3
Environment: RichFaces 4.0.0-SNAPSHOT r.19919
Metamer 4.0.0-SNAPSHOT r.unknown
Mojarra 2.0.2-FCS
Apache Tomcat 6.0.29
OpenJDK Runtime Environment 1.6.0_18-b18 @ Linux
Chrome 7.0.517.41 / Firefox 3.6.12 @ Linux x86_64
Reporter: Lukas Fryc
Currently, tooltip is using clientId for attaching to target component, but in past, the @for target contained component.id.
The doc isn't clear in this case: http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_toolTi...
The sample doesn't clarify the difference in usage with regular HTML tags and JSF components.
<div id="regular-div" class="sample-panel">Div with clientId="regular-div"</div>
<a4j:outputPanel styleClass="sample-panel" id="jsf-div" layout="block">
Div with id="jsf-div", clientId="#{rich:clientId('jsf-div')}"
</a4j:outputPanel>
<rich:panel id="panel" style="width: 200px">
Panel's content 3 (id="panel", clientId="#{rich:clientId('panel')}")
<rich:tooltip id="tooltip" target="#{richTooltipBean.attributes['target'].value}">
Tooltip content
</rich:tooltip>
</rich:panel>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months