ravindar dayachand

Greenhorn
+ Follow
since May 08, 2009
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 ravindar dayachand

Hi Author,

Does this book include some real time example on how these patterns are implemented.

Like books mainly include example for a single patterns and explanations, does it include a application where few of these patterns are included specifiying why we implemented that pattern over the other.
Use

<html:javascript formName="your form name"/> before the beginning of your table tag

<s:form action="manage" namespace="/audiocontent" method="POST" theme="simple">
<html:javascript formName="your form name"/>
<table>
11 years ago
I think this is a validation on the client side.For this to work you need to declare the tag <html:javascript> in your jsp page

For serverside validation we have to define the validate method in my form class.

Please try this, it may work
11 years ago
Hash code makes your retrieval faster, that is the reason for which we use hashcode.

When there are multiple object in a bucket they are compared based on the equals method and the corresponding value is returned and remember each key will have only one value associated.
hi i have a request with action mapping
and in the action i have a execute method which says
But i am getting a error Cannot find bean LeadForm in any scope i have even declared LeadForm details in struts config. could you please help me is it not possible for multple form to be declared in Same Action. Here my actionmapping has customerform but i want to use LeadForm also is it not possible?
Please advice
11 years ago
Thanks for the reply

But how could i demark in the below case

1 case :I want to update a account my query is succesfully executed and commited, while returning the successful message DB is disconnected

2 case :i update a account and i recieve a succesful message and then i run the commit statement but while returning the sucessfull comitted status the DB is disconnected.

How will i demark in these cases.

And regarding exception, what if the exception is throw after commit how would i know whether it is committed or rollback how to handle this scenario.I cannot think it as a rollback as the exception may be thrown after a succesful commit and before we recieve the status.
How to maintain the JDBC call from java end

I make DB update query. Based on the return value it is confirmed whether the DB is updated or not.
Now i have a scenario where i make a update query and before the value is returned the db is physically disconnected how is this tracked, i mean i have updated the db and i dont have a return value on my db is updated or not how to handle such scenario.

Please help me with this question
Hi,

I am using jsp page to display search results, but here i have a mechanism of parent and child check box but whenever i use the onclick mechanism to deactivate the child checkbox , space is insert between table head and table body , if the search result is more the larger is the space.
I am using nested:checkbox
If i try to check and uncheck checkbox it works without inserting space but only for check box activation and deactivation it insert space.
we use div and we dont use frames. and application is build on struts
Please help i tried all possible way i know

Thanks a lot in advance
13 years ago
Hi,

I have a mechanism of master checkbox and it sub checkbox in a table structure , if i click on mastercheck box its respective subcheck should be acitvated i am able to achieve this, but the table structure moves down. The only change i have done is the java script for the enabling the sub checkbox, but the table is moving down could you please help me with this?
What the possible things i should check to correct this?
13 years ago
Hi,

Thanks david,

I used java scripts but i am not able to name checkbox properly ,like when i click a particular manager the respective employee's checkbox under him is not activated i am not able to name these check box unique how to achieve this, i tried using index but it takes tthe final index value
13 years ago

ravindar dayachand wrote:Hi,
I have a issue with nested checkbox

This is the first checkbox in the row based on the selection of this check box i need another set of check box to be activated in the same row but in different column
Like employee if Manager a check box should be present and last columm a list of employee under him should have checkbox in deactivated state but when i click the checkbox in first column(for a particular manager) the respective employee under hime should be activated, i am not able to achieve this please help me with this
I am using struts-nested.tld taglib

13 years ago
Hi,
I have a issue with nested checkbox

This is the first checkbox in the row based on the selection of this check box i need another set of check box to be activated in the same row but in different column
Like employee if Manager a check box should be present and last columm a list of employee under him should have checkbox in deactivated state but when i click the checkbox in first column(for a particular manager) the respective employee under hime should be activated, i am not able to achieve this please help me with this
I am using struts-nested.tld taglib

[code]
<tr>
<nested:equal property="checkBox1" value="X" >
<td align=center><nested:checkbox property="isSelected"</td>
</nested:equal>
<nested:notEqual property="checkBox1" value="X" >
<td align=center> </td>
</nested:notEqual>

<td>

<table width="100%" class="text" align="center" cellpadding="0" cellspacing="0" border="1">

<nested:iterate property="EmployeesList">


<td>

<input id="test" name="test" type="checkbox">

</td>

<td>



<nested:write property="completeempDetails"/>

<nested:hidden property="completeempDetails"/>
<nested:hidden property="city"/>

</td>
</tr>
</nested:iterate>

</table>
</td>
[code]
13 years ago
IT IS IN Struts-Nested.tld taglib
13 years ago
Hi,
I have a issue with nested checkbox

This is the first checkbox in the row based on the selection of this check box i need another set of check box to be activated in the same row but in different column
Like employee if Manager a check box should be present and last columm a list of employee under him should have checkbox in deactivated state but when i click the checkbox in first column(for a particular manager) the respective employee under hime should be activated, i am not able to achieve this please help me with this
<tr>
<nested:equal property="checkBox1" value="X" >
<td align=center><nested:checkbox property="isSelected"</td>
</nested:equal>
<nested:notEqual property="checkBox1" value="X" >
<td align=center> </td>
</nested:notEqual>

<td>

<table width="100%" class="text" align="center" cellpadding="0" cellspacing="0" border="1">

<nested:iterate property="EmployeesList">


<td>

<input id="test" name="test" type="checkbox">

</td>

<td>



 <nested:write property="completeempDetails"/>

<nested:hidden property="completeempDetails"/>
<nested:hidden property="city"/>

</td>
</tr>
</nested:iterate>

</table>
</td>

13 years ago