DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Java (http://www.daniweb.com/forums/forum9.html)
-   -   grid in jsp (http://www.daniweb.com/forums/thread64958.html)

amaravanich Dec 15th, 2006 5:31 am
grid in jsp
 
Hi,
How can i pass an array from jsp to javascript function.i have to design a grid in jsp.For that i'm using javascript functions.
http://www.code-magazine.com/article...0303111&page=3 this is the link where i got the script.here i have to pass an array of values to display in that grid.can any one pls help me in this regard.
thank u inadvance.

jwenting Dec 15th, 2006 2:51 pm
Re: grid in jsp
 
You can't, not directly.
What you can do is generate a piece of Javascript as part of the JSP rendering that the Javascript can use.
Something like
x[1] = '<c:out value="${blub}"/>';
x[2] = '<c:out value="${blah}"/>';

kaleeswaranm Dec 29th, 2007 8:02 am
Grid For JSP
 
HI!
i am also trying to use Grid.But i don't have a source for Grid.i am doing project in java struts.so i need to display the value inside the Gird.so give me a source if you have any option....
thank you,
kaleeswaran

Acidburn Dec 29th, 2007 11:35 am
Re: grid in jsp
 
kaleeswaranm please read the rules.. We don't do other people's homework!!

ukbasak Nov 16th, 2008 9:39 am
Re: Grid For JSP
 
kaleeswaranm, Must read the rule first. only the similar help that can be provide. No home work.

I think AcidBurn told you this.

peter_budo Nov 16th, 2008 10:39 am
Re: grid in jsp
 
@ukbasak - you just made my day, barking on thread that is one year old and forgotten

stultuske Nov 17th, 2008 4:39 am
Re: grid in jsp
 
Quote:

Originally Posted by peter_budo (Post 737189)
@ukbasak - you just made my day, barking on thread that is one year old and forgotten

especially since he's just pointing out what the last post said.


All times are GMT -4. The time now is 7:08 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC