All pastes #477450 Raw Edit

KAAPA

public xml v1 · immutable
·published 2007-05-08 17:30 UTC
rendered paste body
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %><%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %><%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%><f:subview id="installationSpotSearch">        <h:panelGroup>        <h:inputText id="installationSpotId" value="#{bean.installationSpotId}" disabled="#{! bean.installationSpotSearchable}"                     valueChangeListener="#{bean.updateInstallationSpot}" onchange="submit();" />                <% /* search */ %>        <h:commandButton action="#{bean.switchInstallationSpotSearch}" value="#{msg.genericOpenSearchForm}"                          rendered="#{ bean.installationSpotSearchable && !bean.installationSpotSearchActive}"                          image="#{msg.APP_PATH}/images/search.png" />                <f:verbatim><br /></f:verbatim>        <h:message for="installationSpotId" styleClass="warn"/>        <h:outputText styleClass="bold" value="#{bean.installationSpotName}"  />                        <% /* InstallationSpot Search */ %>        <h:panelGroup styleClass="center">            <h:inputText id="installationSpotSearchText" value="#{bean.installationSpotSearchText}" rendered="#{ bean.installationSpotSearchActive}" />            <h:commandLink action="#{bean.doInstallationSpotSearch}" rendered="#{ bean.installationSpotSearchActive}" value="#{msg.genericFilter}"/>            <h:message for="installationSpotSearchText" styleClass="warn"/>        </h:panelGroup>                  <h:panelGroup styleClass="centered">                        <t:dataTable                 id="data_installationSpot"                 rows="10"                 var="item" value="#{bean.installationSpotSearchResults}"                 rendered="#{ bean.installationSpotSearchActive && ! empty bean.installationSpotSearchResults}"                 styleClass="centered condensed fullwidth"                renderedIfEmpty="false"            >                                <h:column>                    <h:commandLink action="#{item.selectMe}" value="#{item.code}" />                </h:column>                <h:column>                    <h:commandLink action="#{item.selectMe}" value="#{item.name}" />                </h:column>                            </t:dataTable>                                    <t:dataScroller id="scroll_installationSpot"                            for="data_installationSpot"                            fastStep="10"                            pageCountVar="pageCount"                            pageIndexVar="pageIndex"                            styleClass="centered condensed borderless"                            paginator="true"                            paginatorMaxPages="10"                            paginatorTableClass="paginator"                            paginatorActiveColumnStyle="background-color: #FFE0CB; text-decoration: underline;"                            immediate="true"                            renderFacetsIfSinglePage="true"                            rendered="#{ bean.installationSpotSearchActive && ! empty bean.installationSpotSearchResults}"            >                <f:facet name="first" >                    <t:graphicImage url="/images/arrow-first.gif" border="1" />                </f:facet>                <f:facet name="last">                    <t:graphicImage url="/images/arrow-last.gif" border="1" />                </f:facet>                <f:facet name="previous">                    <t:graphicImage url="/images/arrow-previous.gif" border="1" />                </f:facet>                <f:facet name="next">                    <t:graphicImage url="/images/arrow-next.gif" border="1" />                </f:facet>                <f:facet name="fastforward">                    <t:graphicImage url="/images/arrow-ff.gif" border="1" />                </f:facet>                <f:facet name="fastrewind">                    <t:graphicImage url="/images/arrow-fr.gif" border="1" />                </f:facet>            </t:dataScroller>        </h:panelGroup>                 <%/*  Close search */%>        <h:commandLink value="#{msg.genericClose}" action="#{bean.resetInstallationSpotSearch}" rendered="#{!bean.readOnly && bean.installationSpotSearchable && bean.installationSpotSearchActive}" />                    </h:panelGroup> </f:subview>