[JBoss JIRA] Created: (RF-6006) Optimization over image spacer.gif
by Tomas Cerny (JIRA)
Optimization over image spacer.gif
-----------------------------------
Key: RF-6006
URL: https://jira.jboss.org/jira/browse/RF-6006
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.3.0
Reporter: Tomas Cerny
I have noticed that wherever you create a space you use:
<td>
<img height="1" style="border: 0pt none ; width: 0px;" src="/a4j/g/3_3_0.GAimages/spacer.gif" alt=""/>
</td>
or something similar.
Isn't this too expensive? I have this on 60 places on may page.
First optimization:
<img class="space" src="/a4j/g/3_3_0.GAimages/spacer.gif" />
Second optimization
<span class="space"> </span>
I will refer you at a book about CSS from Eric Meyer on CSS, where he recommends not to use images for layout.
Just this how this will decrease size of a page and also speeds page load in browser.
--
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, 10 months
[JBoss JIRA] Created: (RF-6015) toolBar: input field incorrectly represents symbols
by Inna Shchibrya (JIRA)
toolBar: input field incorrectly represents symbols
---------------------------------------------------
Key: RF-6015
URL: https://jira.jboss.org/jira/browse/RF-6015
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: FF-3.0
Tomcat 6.0
sun RI 1.2.10
jsp
Reporter: Inna Shchibrya
Assignee: Nick Belaevski
Attachments: ToolBar_input.png
For example:
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<f:loadBundle var="Message" basename="demo.Messages" />
<html>
<head>
<title>Hello!</title>
<style>
.barsearch {
height:14px;
width:100px;
}
.barsearchbutton {
border-width:1px;
}
</style>
</head>
<body>
<f:view>
<h3><h:outputText value="#{Message.hello_message}" />,
<h:outputText value="#{user.name}" />!</h3>
<br/>
<rich:toolBar height="34" itemSeparator="line">
<rich:toolBarGroup>
<h:graphicImage id="edit" value="/images/edit.gif" />
<h:outputLabel value="Edit" for="edit" />
</rich:toolBarGroup>
<rich:toolBarGroup>
<h:graphicImage id="find" value="/images/find1.gif" />
<h:outputLabel value="Find" for="find" />
</rich:toolBarGroup>
<rich:toolBarGroup>
<h:graphicImage id="filter" value="/images/filter1.gif" />
<h:outputLabel value="Filter" for="filter" />
</rich:toolBarGroup>
<rich:toolBarGroup location="right">
<h:inputText styleClass="barsearch" />
<h:commandButton styleClass="barsearchbutton" onclick="return false;" value="Search" />
</rich:toolBarGroup>
</rich:toolBar>
</f:view>
</body>
</html>
Enter any symbols in the input field. --> Symbols aren't represented completely.
Expected result: Symbols should be represented completely in the input field.
--
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, 10 months