[jboss-user] [JBoss Seam] - Re: Seam security example failure.

dajevtic do-not-reply at jboss.com
Fri Oct 20 03:48:49 EDT 2006


Almost forgot the login page :-)


  | 
  | <s:form method="POST" action="j_security_check">
  | 				<h:panelGrid columns="2"
  | 					>
  | 	
  | 					<f:facet name="header">
  | 						<h:panelGroup>
  | 							<h:outputText value="Login" />
  | 						</h:panelGroup>
  | 					</f:facet>
  | 	
  | 					
  | 						<h:outputLabel value="Benutzername:" for="username" />
  | 						<t:inputText forceId="true" id="j_username" />
  | 						
  | 						<h:outputLabel value="Passwort:" for="password" />
  | 						<t:inputSecret forceId="true" id="j_password" />
  | 					
  | 	
  | 					<f:facet name="footer">
  | 						<h:panelGroup>
  | 	
  | 							<h:commandButton type="submit" value="Anmelden" />
  | 	
  | 						</h:panelGroup>
  | 					</f:facet>
  | 	
  | 				</h:panelGrid>
  | 			</s:form>
  | 
  | 

I use my-faces 1.1.5-snapshot but a simple html or jsp login page will do just as well.

P.S. please excuse the System.out.println and german text's in my code: QUICK AND DIRTY allnighter ;-)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979573#3979573

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979573



More information about the jboss-user mailing list