Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to draw a dynamic controls using Wicket Framework?

 
Edward Durai
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using spring, wicket and hibernate with annotations. i have one doubt, In wicket each page contains
1. .java file
2. .html file (using wicket:id="name mentioned in java")
3. property file
I hope I am correct

I have a one doubt.

I Want to dynamically display the label name and its field(text/combobox/textarea or other)

Example :
I have a xml file like
<DYNAMIC>
<FIELDS LABELNAME="USERNAME" FIELDTYPE="TEXT"/>
<FIELDS LABELNAME="PASSWORD" FIELDTYPE="TEXT"/>
<FIELDS LABELNAME="COUNTRY" FIELDTYPE="COMBO"/>
</DYNAMIC>

I WANT TO DISPLAY DISPLAY LIKE BELOW
Expected result is:

USERNAME TEXTBOX DISPLAY
PASSWORD TEXTBOX DISPLAY
COUNTRY COMBOBOX DISPLAY


Is it possible to create these dynamic controls(label name and fields)
using WICKET?

If it is yes, how to get the dynamic inputs to other java file?

Kindly reply this.

Thanks for replying.


--------------------

Thank You
Edward
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic