[JBoss JIRA] Created: (RF-5459) rich:datascroller Doesnt work correctly in a portlet because of prototype.js conflict
by Muhammad Yahia (JIRA)
rich:datascroller Doesnt work correctly in a portlet because of prototype.js conflict
-------------------------------------------------------------------------------------
Key: RF-5459
URL: https://jira.jboss.org/jira/browse/RF-5459
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2, 3.3.0
Environment: JBoss Portal 2.7.0
Reporter: Muhammad Yahia
When Using rich:datascroller inside a portlet in JBoss Portal 2.7.0 and Portlet bridge 1.0.0.B4 or 1.0.0.B5, the scroller doesnt work correctly when the LoadStrategy for scripts is NONE, because this prevents prototype 1.6.x from being loaded and the portal loads an old version (1.5.0). NONE strategy is recommended by the portlet bridge to prevent multiple loading of js per portlet (and actually some components, like TabPanel, require NONE if multiple tabpanel portlets are on the page). I am not sure if this is an RF or portal bug, but from a user point of view, if the bridge is used the way described in the documentation, the datascroller will simply not work. For me I simply replaced the portal prototype.js manually.Tested on both 3.2.2.SR1 and 3.3.0.BETA5 .
--
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
14 years
[JBoss JIRA] Created: (RF-5593) Suggestion Box doesn't hide when pressing TAB
by Urszula Jessen (JIRA)
Suggestion Box doesn't hide when pressing TAB
---------------------------------------------
Key: RF-5593
URL: https://jira.jboss.org/jira/browse/RF-5593
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: WinXP, Eclipse Europa, tested on ff 2.x and IE7
Reporter: Urszula Jessen
The error occurs when pressing TAB in the moment when the suggestion box is being drawn with the matching suggestions to the input. (the TAB should be pressed
exactly in the moment when suggestion box begins to be drawn).
The first suggestion is selected, the focus is set to the input field but the suggestion box doesn't hide.
Testing the bug on Richfaces live Demo Site (Open Source RichFaces JSF Components) the error occures in a bit different way than in my developement.
In my Application, the first Suggestion is filled in input field but still remains available in the suggestion box (but nothing happens when trying to select with mouse). In LiveDemo the Entry is selected and the suggestion box remains empty.
--
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
14 years
[JBoss JIRA] Created: (RF-5177) fileUpload: validator attribute doesn't work.
by Mikhail Vitenkov (JIRA)
fileUpload: validator attribute doesn't work.
---------------------------------------------
Key: RF-5177
URL: https://jira.jboss.org/jira/browse/RF-5177
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE6, IE7, FF 3.1.3, Safari 3.1, Opera 9.62(3.3.0.BETA1)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
#1. Create class that implements Validator class.
#2. Override validate method, like this:
public void validate(FacesContext context, UIComponent component,
Object value) throws ValidatorException {
File f = (File)value;
if(f.getName().toString().contains("emo")){
throw new ValidatorException(new FacesMessage("Test validator: no 'emo' should present in file name!"));
}
}
#3. Pass method from previous step to "validator" component's attribute: validator="#{fileUpload.validate}".
#4. Navigate to page.
#5. Add & upload any file with 'emo' substring.
Actual behavior:
validate method wasn't called.
--
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
14 years