[JBoss JIRA] Created: (RF-3986) oncomplete documentation in richfaces_userguide.pdf wrong
by Michael Heinen (JIRA)
oncomplete documentation in richfaces_userguide.pdf wrong
---------------------------------------------------------
Key: RF-3986
URL: https://jira.jboss.org/jira/browse/RF-3986
Project: RichFaces
Issue Type: Task
Components: doc
Affects Versions: 3.1.5
Reporter: Michael Heinen
I assume there is a bug in the current richfaces-userguide.pdf, section 5.4.5. JavaScript Interactions:
It says:
"oncomplete" attribute allows to invoke the JavaScript code right after the Ajax Response is returned back and the DOM tree of the browser is updated. Richfaces registers the code for further invocation of XMLHTTP request object before an Ajax request is sent. This means the code will not be changed during processing of the request on the server if you use JSF EL value binding. Also, you cannot use "this'" inside the code, because it will not point the component where Ajax request was initiated.
Is this description deprecated or is the implementation in richfaces 3.1.5 wrong?
sample:
actionListener="#{mybean.al}"
oncomplete="#{!empty requestScope['someVar']?'doA();':'doB();'}"
depending on what I do in my actionListener doA or doB is called.
Therefore I think the documentation has to be updated.
--
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, 8 months
[JBoss JIRA] Created: (RF-4215) Wrong binding type for tree listeners
by Nick Belaevski (JIRA)
Wrong binding type for tree listeners
-------------------------------------
Key: RF-4215
URL: https://jira.jboss.org/jira/browse/RF-4215
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Reporter: Nick Belaevski
Assignee: Svetlana mukhina
Ex.: this was added into tree component by doc. team:
<listener>
<name>dropListener</name>
<property existintag="true" exist="true" el="true" elonly="true">
<name>binding</name>
<classname>javax.faces.component.UIComponent</classname>
<description>The attribute takes a value-binding expression for a component property of
a backing bean</description>
</property>
...
binding for listener elements is of type org.richfaces.*Listener, not of UIComponent
--
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, 8 months
[JBoss JIRA] Created: (RF-3600) Input number slider has wrong handle position inside modal panel.
by Sergey Halipov (JIRA)
Input number slider has wrong handle position inside modal panel.
-----------------------------------------------------------------
Key: RF-3600
URL: http://jira.jboss.com/jira/browse/RF-3600
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: IE, FF, Opera
Reporter: Sergey Halipov
Priority: Minor
Attachments: correctPosition.png, wrongPosition.png
<h:form id="form" >
<h:panelGroup id="test" >
<rich:modalPanel id="mp" showWhenRendered="true" width="550">
<rich:inputNumberSlider id="slider"
minValue="0"
maxValue="100"
value="50"
barStyle="width: 500px;" />
<a4j:commandButton id="comm" reRender="test" value="Re-render" />
</rich:modalPanel>
</h:panelGroup>
</h:form>
Small arrow should be places in the center of slider bar for this example. But really it is moved to the first slider position (see pictures for details). Under IE bug is reproducible immediately, under FF and Opera only after ajax re-rendering.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 8 months