Rajesh murthy

Greenhorn
+ Follow
since Sep 30, 2008
Merit badge: grant badges
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rajesh murthy

I am facing problem while implementing html:multibox issues in display tag.
I have implemented pagination and sorting.The page size set is 5.The problem here is, say fo ex.. I have selected 3 records and going to next 5 records.Second page I am selecting say 2 records and going back to previous page.That time the check box selections are disappeared.Does anybody help to fix this issue.
14 years ago
I am facing problem while implementing html:multibox issues in display tag.
I have implemented pagination and sorting.The page size set is 5.The problem here is, say fo ex.. I have selected 3 records and going to next 5 records.Second page I am selecting say 2 records and going back to previous page.That time the check box selections are disappeared.Does anybody help to fix this issue.
14 years ago
function hideText(value){
if(value =='GROSS'){
document.getElementById('GrossRatetxt').value = '';
document.getElementById('GrossRatetxt').disabled = false;
document.getElementById('grossDiv').style.visibility = 'visible';
document.getElementById('netDiv').style.visibility = 'hidden';
}
else if(value =='NET'){
document.getElementById('NetRatetxt').value = '';
document.getElementById('NetRatetxt').disabled = false;
document.getElementById('grossDiv').style.visibility = 'hidden';
document.getElementById('netDiv').style.visibility = 'visible';
}
}


div id="grossDiv" align="justify"

html:text property="grossRate"
styleClass="InputTxt10black" size="30" maxlength="10"
styleId="GrossRatetxt"
/html:text /span
/div

html:radio property="grossNetInd" value="GROSS"

styleId="Gross"
html:radio
14 years ago
I am facing issues in hide and visibility of text box in jsp. whenever I am selecting a radio button I need to hide one textbox.It's working fine.the problem here is ,after hiding the space occupied by the text box is not removing,does any body know how to do it.Please help me,it's very urgent.
14 years ago
does anybody having text box inside display table.if so please post how to capture the values entered in text box.
14 years ago
Please check the below code <display:table
name="${detailsForm.unConfAcctList}" cellspacing="1"
class="displaytag" pagesize="5" sort="list"
requestURI="/fwdSpinoff.do"
defaultorder="descending" id="unConfAcct" excludedParams="*">

<display:setProperty name="css.tr.even" value="TDBGlightgray" />
<display:setProperty name="css.tr.odd" value="TDBGgray" />
<td width="3%"><display:column title="Select"
class="TxtVer10black" headerClass="TH.width40">

<html:multibox title="Select safekeeping account"
property="unconfCheckBox" styleId="chkBox">
<bean:write name="unConfAcct_rowNum" />
</html:multibox>

</display:column></td>

<td width="3%"><display:column property="acctNum"
title="Safekeeping A/C" sortable="true"
sortName="safekeepingAcctNum" class="TxtVer10black"
headerClass="TH.width40" /></td>

<td width="3%"><display:column
property="availableShareBal" title="Available Balance"
sortable="true" sortName="availableShareBal"
class="TxtVer10black" headerClass="TH.width40" /></td>

<td width="3%"><display:column title="New Asset Shares" scope="session"
sortable="true" sortName="newShareQuantity"
class="TxtVer10black" headerClass="TH.width40">

<ca:text property="newShareQuantity"
value="" styleId="${unConfAcct_rowNum}"
size="40"
onchange="javascript:getValue(${unConfAcct_rowNum},'unconfCheckBox')"/>


</display:column></td>

<td width="3%"><display:column title="Cash" scope="session"
sortable="true" sortName="cash" class="TxtVer10black"
headerClass="TH.width40">

<ca:text property="cash" value="${unConfAcct.drCr}" styleId="cashvalue${unConfAcct_rowNum}"
size="40"
onchange="javascript:getCash(${unConfAcct_rowNum},'unconfCheckBox')" />
</display:column></td>

<td width="3%"><display:column property="reconcileStatus"
title="Reconciliation Status" sortable="true"
sortName="reconcileStatus" class="TxtVer10black"
headerClass="TH.width40" /></td>

<td width="3%"><display:column property="status"
title="Status" sortable="true" sortName="caStatus"
class="TxtVer10black" headerClass="TH.width40" /></td>
</display:table>
14 years ago
Hi All

I am facing some issues while implementing display table pagination and sorting.I have aroung 7 columns in display table out of which 2 columns are editable(User can enter through text box).Display table page size is 5.The problem here is, after enetering some values in text box and clicking next ,it will display next 5 records.While I am clicking previous, the values which I have entered for the first 5 records doesn't exist(means blank text box).Any help is appreciated.
14 years ago
Hi

I have a requirment in Struts display tag. I have to use display table to render a list in a jsp page.The lisy may contains more than 10 records. I have to include textbox inside display column. I want to use html:multibox to select a particular row. At the time of submitting the page,I need to capture textbox values for the selected row(at any point in time only one can select). How can I achive this functionality.Can any one help with some sample code.
14 years ago