Page with the RichTextEditor component waits indefinitely for the server

23 views
Skip to first unread message

adaptives

unread,
Feb 24, 2011, 8:11:47 AM2/24/11
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

Richard Nichols

unread,
Feb 24, 2011, 2:59:01 PM2/24/11
to visural...@googlegroups.com
Hi Parag,

This was a bug in the 0.6.5 release.

It has been fixed in the latest trunk and will be in the upcoming 0.6.6 bugfix release.


Either download the trunk version of the source and compile or I can email you a build.

cheers,
Richard.

Parag Shah

unread,
Feb 24, 2011, 10:57:01 PM2/24/11
to visural...@googlegroups.com
Hi Richard,

I got trunk and verified that it has the change you have linked to below (r255). I build the jars and used visural-common-and-wicket-0.6.6.jar

However, the problem has not gone away. 

I also realized that I get this problem with the DateChooser component as well.

TextField courseStartDateField = new TextField("course_start_date_field", new PropertyModel(this, "startDate"));
courseStartDateField.add(add(new DateInputBehavior().setDateFormat(DateInputFormat.YYYY_MM_DD)));

-- 
Thanks & Regards
Parag Shah
http://www.diycomputerscience.com

Richard Nichols

unread,
Feb 25, 2011, 3:55:38 PM2/25/11
to visural...@googlegroups.com
Which version of wicket are you using? Earlier versions of the 1.4 release have some internal bugs that require a workaround.


Parag Shah

unread,
Feb 26, 2011, 12:14:25 PM2/26/11
to visural...@googlegroups.com, Richard Nichols
I am using Wicket version 1.4.15


-- 
Thanks & Regards
Parag Shah
http://www.diycomputerscience.com
Reply all
Reply to author
Forward
0 new messages