adaptives
unread,Feb 24, 2011, 8:11:47 AM2/24/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to visural-wicket
Hi,
I have an existing form, in which I added the RichTextEditor
component. My code is somewhat like this:
Form form = new Form("add_edit_course_section_form") {
// not showing details... an onSubmit handler
}
Label titleLabel = new Label("title_field_label", "Title: ");
TextField titleField = new TextField("title_field", new
PropertyModel(this.courseSection, "title"));
Label descriprionLabel = new Label("description_field_label",
"Description: ");
RichTextEditor descriptionField = new
RichTextEditor("description_field", new Model(""));
// a couple more fields
form.add(titleLabel);
form.add(titleField);
form.add(descriprionLabel);
form.add(add(new RichTextEditorFormBehavior()));
form.add(descriptionField);
form.add(startTimeLabel);
//adding a few more fields
When I navigate the browser to the page which should show the form, it
just sits there waiting for localhost.
I checked that the JQuery script is being added properly.
I set my log4j to output all messages at the DEBUG level, but I do not
see any log message from visural.
Not quite sure what I am missing. Will appreciate any help or
pointers.
Thanks
Parag