OK, it seems that image paths are filtered with correct path, and thus leaves
my javascript reference as is, since I add it myself. Is there somehow I can
find out what path is correct, since I am adding javascript reference in my
java code???
SteamR wrote:
>
> I found out that it was a js sourcefile reference which were added in code
> (in a onRendered method), that when app was mounted, caused the lookups to
> be sent to the page instead... So that seems that relative paths are nogos
> when mounted???
>
> But strange is that images seems to work ok, they also use relative
> path...
>
>
> SteamR wrote:
>>
>> I have now searched the html files, and can't find any empty src
>> attributes. And it only happens when I add the
>>
>> mount("/pwa", PackageName.forClass(CategoryPage.class));
>>
>> in my WebApplication class' init method.
>>
>> (I also have relocated the html files to the "src/main/webapp" folder, if
>> that has something to do with it.)
>>
>> Well, I will try to strip down the code, to bare minimum and maybe post
>> the full code here thereafter.
>>
>>
>>
>>
>>
>> SteamR wrote:
>>>
>>> Hi, I hope someone could help me with this...
>>>
>>> I have 5 pages which are pretty standalone but stateful, and they have
>>> nothing to do with each other.
>>>
>>> Now I thought of having bookmarks for each of these pages, and added a
>>> mount point to /pwa.
>>>
>>> Now the problems started; my page's constructor was invoked three times
>>> before actual output occured (it has an empty constructor), and a form
>>> object loses its transient fields during a request-response cycle.
>>>
>>> The transient field getting lost, is something I can fix, but invoking
>>> the constructor three times and why wicket does so, is very strange...?
>>>
>>> Anyone know any answer to this...
>>>
>>> Btw, I am running wicket 1.3.1
>>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Mount-causes-strange-effects-on-my-web-application-tp16395309p16467343.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]