[JBoss JIRA] Created: (RF-3534) Implement resource checking functions in org.ajax4jsf.tests.AbstractAjax4JsfTestCase
by Nick Belaevski (JIRA)
Implement resource checking functions in org.ajax4jsf.tests.AbstractAjax4JsfTestCase
------------------------------------------------------------------------------------
Key: RF-3534
URL: http://jira.jboss.com/jira/browse/RF-3534
Project: RichFaces
Issue Type: Sub-task
Reporter: Nick Belaevski
1. Function to check script/style resource, returns resource context or throws IOException if error
2. Function to check image resource, returns org.ajax4jsf.resource.image.ImageInfo (invoke check() method before returning it), null if resource check is false or throws IOException if resource isn't available
3. Refactor all unit tests to use that functions
Appendix - sample resource function code:
private void checkResource(String path) throws IOException {
InternetResourceBuilder builder = ResourceBuilderImpl.getInstance();
builder.createResource(null, path);
InternetResource resource = builder.getResource(path);
assertNotNull(resource);
String uri = "http:" + resource.getUri(facesContext, null);
Page page = webClient.getPage(uri);
assertTrue(page.getWebResponse().getStatusCode() == HttpServletResponse.SC_OK);
ImageInfo info = new ImageInfo();
info.setInput(page.getWebResponse().getContentAsStream());
assertTrue(info.check());
}
--
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
17 years, 8 months
[JBoss JIRA] Created: (RF-3503) InplaceSelect: Unnecessary white element is presented after first using InplaceSelect in IE6
by Heorhi Maksimenko (JIRA)
InplaceSelect: Unnecessary white element is presented after first using InplaceSelect in IE6
--------------------------------------------------------------------------------------------
Key: RF-3503
URL: http://jira.jboss.com/jira/browse/RF-3503
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: Widows XP; IE6; JSP (myFaces), Faceletes.
Reporter: Heorhi Maksimenko
Assigned To: Nick Belaevski
<rich:inplaceSelect showControls="true" controlsHorizontalPosition="left" controlsVerticalPosition="top"
id="inplaceSelect" defaultLabel="invisible">
<f:facet name="controls">
<f:verbatim>
<button onclick="$('formID:inplaceSelectSubviewID:inplaceSelect').component.save()"
type="button">Save</button>
<button onclick="$('formID:inplaceSelectSubviewID:inplaceSelect').component.cancel()"
type="button">Cancel</button>
</f:verbatim>
</f:facet>
<f:selectItem itemLabel="visible" itemValue="visible" />
<f:selectItem itemLabel="invisible" itemValue="invisible" />
</rich:inplaceSelect>
1. Load page with component.
2. Click on component.--> list is opened with unnecessary white element under it. See attachment RF 3503 IE6
Expected results:
unnecessary white element shouldn't be presented.
note!!! Reproduced only one time after reload page.
--
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
17 years, 8 months