Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2008

Tip: Looking for answers? Try searching our database.

displaying dynamic table using jsp

Thread view: 
ruds - 01 Mar 2008 06:14 GMT
Hi,
I would like to know how can I display dynamic worksheets using jsp.
In other words, I would like to display filters on fields and after
the user selects from drop down menus I want to display the table
beneath it. Similar to excel.
Mark Space - 01 Mar 2008 06:43 GMT
> Hi,
> I would like to know how can I display dynamic worksheets using jsp.
> In other words, I would like to display filters on fields and after
> the user selects from drop down menus I want to display the table
> beneath it. Similar to excel.

http://dojotoolkit.org/demos/email-using-1-0

That's from the dojo tool kit.  Click on the headers for the "email"
they have, the email's will sort on which header you click on.
ruds - 01 Mar 2008 09:28 GMT
> http://dojotoolkit.org/demos/email-using-1-0
>
> That's from the dojo tool kit.  Click on the headers for the "email"
> they have, the email's will sort on which header you click on.

It is'nt downloadable and even does not fit my requirement.
I want to put filters to my fields aligned horizontally and after the
user selects the field then the table should be displayed.
Alex.From.Ohio.Java@gmail.com - 01 Mar 2008 14:22 GMT
> >http://dojotoolkit.org/demos/email-using-1-0
>
[quoted text clipped - 4 lines]
> I want to put filters to my fields aligned horizontally and after the
> user selects the field then the table should be displayed.

The best way is to use JavaScript libraries or AJAX appoach as
mentioned before.
But if you like to do it in JSP then it became regular programming
assignment and it mostly depend of what source of data is. It's
different for Excel or CSV files or JDBC connection or simple flat
file realization. I've done a lot of such things but I don't think
it's a godd idea to post all of them in the this forum.

Alex.
http://www.myjavaserver.com/~alexfromohio/
Lew - 01 Mar 2008 15:18 GMT
ruds wrote:
>> I would like to know how can I display dynamic worksheets using jsp.
>> In other words, I would like to display filters on fields and after
>> the user selects from drop down menus I want to display the table
>> beneath it. Similar to excel.

One excellent way is with Java Server Faces and related libraries such as
Tomahawk.

<http://java.sun.com/javaee/javaserverfaces/>
<http://myfaces.apache.org/>
<http://myfaces.apache.org/tomahawk/index.html>
<http://myfaces.apache.org/tobago/index.html>
<http://tobago.atanion.net/tobago-example-demo/faces/overview/intro.jsp>
The "Sheet Control" link might be something like what you want.

Signature

Lew

Mark Space - 01 Mar 2008 17:21 GMT
>> http://dojotoolkit.org/demos/email-using-1-0
>>
[quoted text clipped - 4 lines]
> I want to put filters to my fields aligned horizontally and after the
> user selects the field then the table should be displayed.

Here's the download link:

http://dojotoolkit.org/downloads

I'm not sure how to sort horizontally (or other filters), but it can't
be much different from the vertical one...


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.