Hi,

 

I am wondering in the Validation example quiz-ajax.jsp (which is in the
struts 2.0's tutorial showcase
http://www.planetstruts.org/struts2-showcase/showcase.action), is there
a way to arrange the table into two columns. That means to make field
"name" and "age" on the same row.

 

Here is the snippet from quiz-ajax.jsp

<%@ taglib prefix="s" uri="/struts-tags" %>

 

<!-- START SNIPPET: ajaxValidation -->

 

<html>

<head>

    <title>Validation - Basic</title>

    <s:head theme="ajax"/>

</head>

 

<body>

 

<s:form method="post" validate="true" theme="ajax">

    <s:textfield label="Name" name="name"/>

    <s:textfield label="Age" name="age"/>

    <s:textfield label="Favorite color" name="answer"/>

    <s:submit/>

</s:form>

 

</body>

</html>

 

<!-- END SNIPPET: ajaxValidation -->

 

Any help is appreciated.

Thanks,

Mei 

Reply via email to