Dear all, i have 2 questions: 1)I want to separate "Enter your Name" in <td> and textFiled in other <td> when i do that these 2 td arent appear in the same vertical alignment. the first one in top and other in bottom i dont know why that happened??? im forced to do like this: <s:textfield label="Enter your Name" value="" required="true" name="userBean.userName"></s:textfield>
but this option doesnt allow me to give label style sheet and the text field has another style sheet. 2)i build a cascade style sheet but i think it still not taken please if any body give me tutorial or link for tutorial how to use custom cascade style sheet for using it to Struts2 please
This is not work: <s:text name="text1" value="Enter your name" cssStyle="labelStyle"></s:text>
because <s:text> tag doesnt take value or cssStyle : exception javax.servlet.ServletException: org.apache.jasper.JasperException: /login.jsp(44,0) PWC6131: Attribute value invalid for tag text according to TLD it just tame:id and name so still we have problrm!
please help me sir
ex :<s:textfield name="first name" label="First Name" /> in this example how can i separate textfield and label .please send a one sample example . i am the stating stage of this program