Magazine
 
Integrating JSF, Spring and Hibernate

border=”0"
style=”padding-left:10px; paddingtop:
10px; “ styleClass=”top_bg”>
<h:dataTable id=”dt1" border=”0"
cellpadding=”0" cellspacing=”0" var=”ab”>
<h:column>
<f:facet name=”header”>
<h:outputText
value=”RoseIndia” styleClass=”style4"/>
</f:facet>
</h:column>
</h:dataTable>
</h:panelGrid>
<h:panelGrid width=”175px” columns=”3"
border=”0" cellspacing=”0" cellpadding=”0">
<h:outputText value=” “/>
<h:graphicImage id=”gi3"
value=”images/verticle_line.gif”
width=”4" height=”18"></
h:graphicImage>
<h:panelGroup>
<h:dataTable id=”dt2" border=”0"
cellpadding=”0"
cellspacing=”0"
width=”250" var=”gh”>
<h:column>
<f:facet name=”header”>
<h:outputText
value=”User Login” styleClass=”style1"/>
</f:facet>
</h:column>
</h:dataTable>
</h:panelGroup>
<h:graphicImage id=”gi4"
value=”images/horizontal_line.gif”
width=”25" height=”4" ></h:graphicImage>
<h:graphicImage id=”gi8"
value=”images/horizontal_line.gif”
width=”5" height=”4" ></
h:graphicImage>
<h:graphicImage id=”gi6"
value=”images/horizontal_line.gif”
width=”260" height=”4" ></h:graphicImage>
<h:outputText value=” “/>
<h:graphicImage id=”gi7"
value=”images/verticle_line.gif”
width=”5" height=”100%” >
</h:graphicImage>
<h:panelGroup>
<h:form>

 

<h:panelGrid width=”75px” columns=”2"
border=”0">
<f:facet name=”header”>
<h:outputText value=”User Name or
Password is incorrect”
style=”color:red; font-weight: bold;”
rendered=”#{CheckValidUser.exist}”/>
</f:facet>
<h:panelGroup>
<h:outputText value=” “/>
<h:outputText value=”User Name”
styleClass=”style2"/>
</h:panelGroup>
<h:panelGroup>
<h:inputText id=”UserName”
value=”#{CheckValidUser.userName}”
size=”27" required=”true”/>
<f:verbatim><br/></f:verbatim>
<h:message for=”UserName”
styleClass=”errors”/>
</h:panelGroup>
<h:panelGroup>
<h:outputText value=”Password”
styleClass=”style2"/>
</h:panelGroup> <h:panelGroup>
<h:inputSecret id=”Password”
value=”#{CheckValidUser.pwd}”
size=”27" required=”true”/>
<f:verbatim><br/></f:verbatim>
<h:message for=”Password”
styleClass=”errors”/>
</h:panelGroup>
<h:outputText value=” “/>
<h:panelGroup>
<h:commandButton image=”images/
submit_button.gif”
action=”#{CheckValidUser.checkUser}”/>
</h:panelGroup>
</h:panelGrid>
</h:form>
<h:form>
<h:commandLink value=”New User?”
action=”reg” styleClass=”style3"/>
</h:form>
</h:panelGroup>
</h:panelGrid>
</center>
</body>
</html>
</f:view>

 
 
Jan 2008 | Java Jazz Up |60
previous
index
next
 
View All Topics
All Pages of this Issue
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,

30
, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53 , 54, 55, 56, 57,

58
, 59, 60, 61, 62, 63 , 64, 65 , 66 , 67 , 68 , 69 , 70 , 71 , 72 , 73 , 74 , 75 , 76 , 77 , 78 , 79 , 80 , 81 , 82 ,

83, 84 , 85 , 86, 87 , 88, 89 , 90 , 91 , 92 , 93 , 94 , 95 , 96 , 97 , 98 , 99 , 100 , 101 , 102 , 103, 104 , 105 ,

106, 107,

Download PDF