Hello,

I just upgraded to 1.3.2 from 1.3.1.

Also, i don't know if it makes a difference, spring from 2.0.6 to 2.5.2.

Now, when i try to display a modal window just like I used to, it fails.

All the code I modified is for the constructor of the authwebsess which got
depricated
    public TheWorldWebSession(final AuthenticatedWebApplication application,
Request request) {
*        super(request); //instead of super(application, request)*
        InjectorHolder.getInjector().inject(this); //don't get spring by
default in sessions...
    }

These are some strange warnings I get (didn't get them before) :

WARN  - AbstractTextComponent      - Couldn't resolve model type of
Model:classname=[org.apache.wicket.model.PropertyModel]:nestedModel=[]:expression=[owner]
for [MarkupContainer [Component id = owner, page =
com.smd.mymedia.MyMediaMainPage, path = 1:mymediaPanel:searchForm:
owner.MyMediaPanel$MyMediaPanelSearchForm$1, isVisible = true, isVersioned =
false]], please set the type yourself.
WARN  - AbstractTextComponent      - Couldn't resolve model type of
Model:classname=[org.apache.wicket.model.PropertyModel]:nestedModel=[]:expression=[name]
for [MarkupContainer [Component id = name, page =
com.smd.mymedia.MyMediaMainPage, path = 1:mymediaPanel:searchForm:
name.MyMediaPanel$MyMediaPanelSearchForm$2, isVisible = true, isVersioned =
false]], please set the type yourself.
(etc)

This is what I get in the ajax window :


*INFO: *focus set on addnew115
*INFO: *
*INFO: *
Initiating Ajax GET request on
../?wicket:interface=:1:mymediaPanel:addnew1::IBehaviorListener:0:1&random=
0.5540758623808608
*INFO: *Invoking pre-call handler(s)...
*INFO: *Received ajax response (5403 characters)
*INFO: *
<?xml version="1.0
" encoding="UTF-8"?><ajax-response><header-contribution
encoding="wicket1" ><![CDATA[<head xmlns:wicket="
http://wicket.apache.org";>
*INFO: *Response parsed. Now invoking steps...
*INFO: *
*INFO: *Initiating Ajax GET request on
http://localhost:9080/theworld/javascript/modal.js
*INFO: *Invoking pre-call handler(s)...
*ERROR: *Received Ajax response with code: 404
*INFO: *Invoking post-call handler(s)...
*INFO: *Invoking failure handler(s)...
*INFO: *focus removed from addnew115

Reply via email to