No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
i have struts html based checkbox <html:checkbox disabled="true" value="Y" property="active" >Yes</html:checkbox> when i submit the form after checking the checkbox the bean value should get "Y" value. Since the checkbos is disabled the bean value becomes null even after i check the checkbox do any one know a solution for … |
|
I just have to increment values from 0 to 23 using <c:foreach> tag in select box. This is the code snippet <html:select property="schStartTimeHH" styleClass="tableDataTextStyle1"> <c:forEach var="i" begin="0" end="23"> <html:option value ="<c:out value="${i}"/>"><c:out value="${i}"/></html:option> </c:forEach> </html:select> the value of the option tag is hitting an error. Can any one suggest the … |
|
jdbcTemplate.execute("{call TEST_CURSOR.TEST_PROC(?)}", new CallableStatementCallback() { public Object doInCallableStatement(java.sql.CallableStatement cs) throws SQLException, DataAccessException { cs.registerOutParameter(1, OracleTypes.CURSOR);//if the first variable is out parameter //here u have to set the OracleType to the variable which u r setting in the procedure cs.setString(2, "second parameter"); cs.setString(3, "third parameter"); cs.setString(4, "fourth parameter"); cs.execute(); cs.getBoolean(1); //here … |
|
i have a Struts jsp which creates a textbox dynamically using javascript. function addRow_msgField() { var id =0; var table = document.getElementById("msgfield"); var id = table.rows.length-1; var newRow = document.all("msgfield").insertRow(); var oCell = newRow.insertCell(); oCell.innerHTML = "<input type='text' name=alertFieldName"+id+" class='textBoxStyle' size='12' maxlength='50'/>"; oCell.style.verticalAlign = "top"; id++; } My table design … |
|
I wanted to validate some values using Javscript. My senario is like this: i have a variable something like this "$[LANGCOD] $[PHONENO] $[CARDNO] " In the text box i may give like this $[sdfssf] now i sholud check if the text box value sequence is present in the above string. … |
|
i have a requirement of adding rows which consist of textboxes and select box. the values stored should be set in the form. I am using Struts jsp. i tried using indexed properties on forms along with logic iterate tag.... |
|
Hi friends, I am able to create a row dynamically with 3 cells(i.e column). In my 3rd cell i need to add another row. Is it possible to acheive it. I am using Java script for it. This is the table structure: [code=html]<table align="center" id="msgfield" width="100%" cellpadding="1" cellspacing="0" border="1" bordercolorlight="#999999" … |