[JBoss JIRA] Commented: (RF-573) Prevent suggestionbox from performing too much Ajax requests via "cache" of a previous requested suggestion list
by Denis Petrunin (JIRA)
[ https://jira.jboss.org/jira/browse/RF-573?page=com.atlassian.jira.plugin.... ]
Denis Petrunin commented on RF-573:
-----------------------------------
I'd like to note that caching should be smart. I usually limit the number of suggestions on server side by 50 records, so not all items beginning with "h" are returning on the first ajax request. So the second ajax request should be performed when user types "hi" if the first request returns exactly 50 records. If the first request returns less than 50 records, then filtering can be performed on client side without additional ajax request.
> Prevent suggestionbox from performing too much Ajax requests via "cache" of a previous requested suggestion list
> ----------------------------------------------------------------------------------------------------------------
>
> Key: RF-573
> URL: https://jira.jboss.org/jira/browse/RF-573
> Project: RichFaces
> Issue Type: Feature Request
> Affects Versions: 3.0.1
> Reporter: Brian Preuß
> Assignee: Nick Belaevski
> Fix For: Future
>
>
> It would be very useful to prevent the suggestionbox from performing too many Ajax requests to the server via some sort of cache mechanism, which uses the already requested suggestion list.
> An example:
> 1. type a "h"
> 2. suggestionbox performs Ajax request
> 3. server responds with a list of 20 entries beginning with "h"
> 4. type an "i", so that the input box has the value "hi"
> 5. instead of performing another Ajax request query the already existing list of 20 entries beginning with "h"
> 6. suggestionbox displays all entries beginning with "hi" from the existing list in the DOM tree
> 7. and so on
> This would save a lot of bandwidth and server resources by using the resources of the client browser.
> Certainly there should be a switch to turn on and off this cache feature. Maybe there are some other options that can be added for this kind of functionality.
> Cool feature, ain't it? :D
--
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, 9 months
[JBoss JIRA] Created: (RF-7126) realworld/images: "Use this image as a current album cover" check-box doesn't work
by Inna Shchibrya (JIRA)
realworld/images: "Use this image as a current album cover" check-box doesn't work
----------------------------------------------------------------------------------
Key: RF-7126
URL: https://jira.jboss.org/jira/browse/RF-7126
Project: RichFaces
Issue Type: Bug
Components: examples
Affects Versions: 3.3.1
Environment: All browsers
Reporter: Inna Shchibrya
Assignee: Andrey Markhel
Priority: Minor
1. Login to the application.
2. Open any image from your album.
3. Click on Edit image button.
4. Select "Use this image as a current album cover" check-box and click Save button.
5. Click on the shelf which contains this image. --> The image isn't an album cover.
5. Click on Edit image button again. --> "Use this image as a current album cover" check-box is selected.
Expected result: "Use this image as a current album cover" check-box should work.
--
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, 9 months
[JBoss JIRA] Created: (RF-7120) Can only expand the first node in the tree when using server side toggeling, Can't expand when using client side or ajax toggeling
by Tom Serru (JIRA)
Can only expand the first node in the tree when using server side toggeling, Can't expand when using client side or ajax toggeling
----------------------------------------------------------------------------------------------------------------------------------
Key: RF-7120
URL: https://jira.jboss.org/jira/browse/RF-7120
Project: RichFaces
Issue Type: Bug
Components: component-tree
Affects Versions: 3.3.0
Environment: JBoss 4.2.3.GA
JSF 1.2_07 & JSF 1.2_12
Facelets
FF & IE 7
Reporter: Tom Serru
When using the tree component in server side toggeling, only the first node of each branch can be expanded.
When using the tree component in client side and ajax toggeling, no nodes can be expanded.
If the page is loaded i get following error in firebug:
parseJSON
? in framework.pack.js@6457(Document , "link")framework.pack.js (regel 6458)
? in framework.pack.js(a)6462()framework.pack.js (regel 6462)
[Break on this error] try{E=B.selectNodes('.//*[local-name()="'+A+'"]')
When clicking i get following error in firebug:
Tree.Item.findComponent(A) is undefined
fireExpansionEvent()(a#oneaTestForm:j_id1:Node__0_:1::j_id2:handle index.faces#)ui.pack.js (regel 346)
onclick(click clientX=17, clientY=35)
This is my jsf code:
<rich:tree value="#{Test.tree}" var="node">
<rich:treeNode>
<h:outputText value="#{node}" />
</rich:treeNode>
</rich:tree>
--
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, 9 months