>All Tutorials 
Ajax and .NET Ajax and .NET RSS XML
Ajax and ColdFusion Ajax and ColdFusion RSS XML
Ajax and Java Ajax and Java RSS XML
Ajax and PHP Ajax and PHP RSS XML
Ajax and SOA Ajax and SOA RSS XML
Ajax Goodies Ajax Goodies RSS XML
Ajax Tool Ajax Tool RSS XML
Facebook MockAjax Facebook MockAjax RSS XML
Google Web Toolkit Google Web Toolkit RSS XML
JavaScript Framework JavaScript Framework RSS XML
Ruby on Rails Ruby on Rails RSS XML
Technique Introduction Technique Introduction RSS XML
Without XMLHttpRequest Without XMLHttpRequest RSS XML
Yahoo! UI Yahoo! UI RSS XML

Reusable Ajax GUI Widgets for the Java Developers - code gui outprintln component class div dhtml create

 
Registered tutorials: 501
Registered Users: 24390



Rating: 4.28 out of 47 votes cast


  
Category: Ajax and Java

Tags Map

agiletemplate ajax api application applications based blue border box browser build call cgm child class classes click code component components create created cross dd developer developers dhtml div dynamically entire evalel expandmenu false find framework free function generate google great gui height hierarchical hierarchy html idexpandunqidchild idexpandunqidimg img implement import initialize input int java javascript lines menu method mi mimessageslength nameimex note object objects online outprintln page pair parent perfect pioneer present print prints public replace requesting return reusable script scrollerheight scrollerjump scrollerwidth section set simple site size srctridowngif string styledisplay styleposition subcomponent subcomponents suggest support system table tdivstylepixeltop tdtd tdtrtable text tlayertop type unqid url var web whichelstyledisplay whichimsrc widget widgets widtha write

Keyword Cloud Navigation Map

Reusable Ajax GUI Widgets for the Java Developers

Digg this   Post to del.icio.us

Abstract: The example shows how Ajax GUI widgets can be created and incorporated in JSP code

If you feel DHTML is too complicated to build online applications. You may be right. I felt the same way in 1999-2000. Web developers usually create the DHTML components and I felt that they don’t understand the needs of enterprise application developers, who were predominantly Java/C# programmers. Besides why should only web (e.g. DHTML/JavaScript) developers have all the fun with Ajax/Web 2.0 hype?

If I need to create a hierarchical menu, why should I write 1000 lines of DHTML code, which I didn’t know? Why can't I use a pre-built reusable GUI class (as we can do in Java/Swing) to input a string for each ‘cell’ (or menu item) of the hierarchical menu and let the Class do the writing? In 1999, I set out to solve the problem for Java developers. Only a Java developer best knows other Java developers' needs.

I had got hold of source code for a free DHTML component (Thanks to all of those, who donated great free DHTML components). I had written a Java Class that takes a String for each cell. The Java class prints the entire Component code, as it is, except replaces the contents of each cell, with the respective input string. After fixing few minor bugs and trivial modifications, Voila! I had a "data driven" reusable GUI Widget. Still I didn’t know how to write DHTML code, but I created a GUI Widget that can do the writing for me.

Read Full Tutorial...



Reviews:

Rate and Review This Site

2006-12-05 04:22:19
Excellent GUI Components! Also great GUI Class example: http://www.cbsdf.com/Newbies/Flight-main.htm
http://www.cbsdf.com/misc_docs/online-apps-rock.htm
http://www.cbsdf.com/technologies/software-irony.htm






Statistic Information About this Resource:


Total Hits: 5496
Unique Hits: 4520


  Daily Weekly Monthly
  Unique Total Unique Total Unique Total
Average 3.8 4.5 27.3 34.3 138.2 173.5
Current 7 7 18 21 111 134
Previous 2 2 31 38 166 213
Jul 22 6 6 33 43 0 0
Jul 21 3 6 36 43 125 145
Jul 20 1 1 29 38 279 360
Jul 19 3 3 0 0 167 211
Jul 18 0 0 38 47 0 0
Jul 17 6 6 43 51 138 175
Jul 16 8 11 45 62 259 328
Jul 15 2 3 0 0 137 169
Highest 39 47 140 160 480 569


Script Execution Time: 1.56035 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2