Jahnavi Kondapaneni

Ranch Hand
+ Follow
since Jan 25, 2008
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 Jahnavi Kondapaneni

What is the effective way to perform filtering in flex advanced data grid
7 years ago
Hi all,

I would like to know how to map the VO objects received as response in Flex in a flex advanced datagrid.



Regards,
Jahnavi.K
7 years ago
hi,

I would like to know an efficient way to remove duplicates from an Array or an ArrayCollection especially when am working with ArrayCollections having huge amounts of data.Using a filter function will be a performance issue I am looking for a solution other than using a FilterFunction.


Thanks,
Jahnavi
7 years ago
Oh thanks! Eric....I will change The function name.
hi,

Here is the code snippet.


I am calling this javascript code from Flex using the below code
Hi all,

I have written a simple javascript function to open a new window by using the method window.open() method.
When i run the application in Tnternet explorer I get an error "Stack Overflow at line:0" constantly.
Can anybody explain me why we get this error and a solution for this.
I even tried by turning off the "Disable script Debugging" in internent options.
But still there is no change.

Thanks in advance

Regards,
Janu
Hi friends,

I am working on a scenario where i am disaplying a button as a part of an <Iframe> on click of the button I need to performa function.
Is it possible to add a event handler on click of the button in Javascript all though its part of an Iframe.
If yes can you please suggest an example or a link which could help me out with this scenario.

Thanks in advance

Regards,
Janu
Hi all,

Getting straight to the point.....
I have a table displaying data in which the lasi colum data has a link like "Add".
On click of this link a "pop-up" window is displayed which has the drp-down box and a "Add" button.
After selecting the drop-down value and hitting the "Add" button the pop-up closes and a new row is added in the table displaying the drop-down selected value.
Now the problem is i dono how to retrieve that drop-down list value and display it in the newly added row.
Hope I made the problem clear.
Thanks in advance.

Regards
Janu

Hi all,

I would like to know how to load a new page on click of a button.


Regards
Janu
Swastik,

Thank you.
Your code is working....
But I want to know what is the use of <fmt> tag .
10 years ago
JSP
Hi all,

Can anybody help me out in displaying an inline error message in a JSP instead of using displaying alerts using Javascript.
Thanks in advance


Regards
Janu
10 years ago
JSP
Since I want to populate the drop down list box.
The response will be in form of an array.
How do I handle the response which is of the form Array
Hi all,

I am having a dropdown list box which displays the different states like "Andhra Pradesh","Karnataka"...etc.
On selection of one of the states I need to populate another drop-down box with the list of cities that come under that state.
Now I know that I can call a function onchange and create xmlHttp object and send the request along with the parameters.
Like <select name="state" onchange="validate()">
My question is how do I display another dropdown box with the values of cities in it once the state is selected.
Hope I made my question clear....
Hi Sagar,

Its finally working.
I have kept the JS code the same.
I have made change in the servlet.
if(uname.length()!=0)
{
System.out.println(uname.length());
System.out.println("Into uname!=null");
msg = "Welcome..."+uname;
}
else
{
System.out.println("Into else");
msg = "Please enter username";
}
Instead of checking if(uname!=null) I have replaced it by if(uname.length()!=0).
Hi Sagar,

I am sending you the code.
I have made the changes as told by you.
Still I get the same message "Please enter the username" in all cases.


function ajaxFunction()
{
var params = "username="+document.myForm.username.value;
alert("username:"+params);
xmlHttp.open("POST","AjaxServlet",true);
//xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
//xmlHttp.setRequestHeader("Content-length", params.length);
//xmlHttp.setRequestHeader("Connection", "close");
xmlHttp.send(params);
xmlHttp.onreadystatechange = functionGreet();

}

function functionGreet()
{
alert("Into greet function");
if(xmlHttp.readyState == 4)
{

alert("Into ready state");

if(xmlHttp.status == 200)
{
//alert("xmlHttp.responseText");
document.getElementById("greetingMessage").innerHTML = xmlHttp.responseText;
}
}
}