"wicket-contribute-dojo no longer work. ...."
wicket contrib dojo 0.31 does not work with wicket HEAD. However, you
could check out contrib-dojo from CVS and this should work with wicket
head.
The only error should be in a class named FeedContainer.java, which is
an expirimental Ajax RSS class of little importance. We will release a
new version of contrib-dojo soon, which will work with wicket 1.2.
Marco
Oh my god..... Latest HEAD breaks so many codes !
and wicket-contribute-dojo no longer work ....
After doing hard refactoring and removing some stuff, I finally get my
codes work.
And yes, InternalErrorPage's problem is fixed.
But I found another critical bug -- all of non-ASCII charactors on
page becomes ???
Strangely, there is no such error for bookmarkable-page. It seems that
somewhere
does wrong encoding internally.
note: My page's content type is UTF-8, and non-ASCII charactors are
Chinese.
On 1/8/06, *Juergen Donnerstag* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Would you please try it with the latest CVS HEAD. This is an area (url
strategy) where we made quite some changes.Thanks
Juergen
On 1/8/06, Ingram Chen <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
> Hi all,
>
> I try a simple Page that always produces Exception:
>
> public class TestError extends WebPage {
> public TestError() {
> throw new NullPointerException();
> }
> }
>
> Then I add a link to TestError:
>
> public class FooPage extends MyBaseWebPage {
> public FooPage() {
> add(new PageLink("testpage", TestError.class ));
> }
> }
>
> Ideally, click link "testpage" should redirect to
InternalErrorPage, But I
> only got a HTTP Status 500.
> Wicket responses that it can't do redirect because it already
redirected,
> and :
>
> wicket.WicketRuntimeException: Already redirecting to
> '/myContext/myApp?path=9&bid=23453204'. Cannot redirect
> more than once
> at
> wicket.protocol.http.BufferedWebResponse.redirect
(BufferedWebResponse.java:88)
> at
>
wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:192)
> at wicket.request.target.PageRequestTarget.respond
> (PageRequestTarget.java :64)
> ....
>
> If I change to BookmarkablePageLink:
>
> add(new BookmarkablePageLink("testpage",
> TestError.class));
>
> then InternalErrorPage rendered correctly.
>
> Do I miss something ?
>
> Thanks in advance.
>
> Note: my version of Wicket is CVS HEAD in mid December, not
latest HEAD.
>
> --
> Ingram Chen
> Java [EMAIL PROTECTED]
> Institue of BioMedical Sciences Academia Sinica Taiwan
> blog: http://www.javaworld.com.tw/roller/page/ingramchen
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through
log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD
SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
<http://ads.osdn.com/?ad_idv37&alloc_id%16865&opclick>
_______________________________________________
Wicket-user mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/wicket-user
--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user