Re: AjaxPagingNavigator give out strange error

2010-10-13 Thread btbluesky

The problem is I was using Eclipse's maven plug (m2eclipse?!) to manage the
POM (I think it comes with WTP already). Its got the nice GUI, with the
checkbox options of "include javadocs" and "include Sources". I didn't add
it manually in the POM.

Well, very good to know that it doesn't work properly. Maybe I should submit
something in Eclipse bugtrack.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxPagingNavigator-give-out-strange-error-tp2327360p2993927.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AjaxPagingNavigator give out strange error

2010-10-12 Thread btbluesky

I finally found out what exactly the problem is.
I used the quickstart to generate a new project from scratch.
In my maven, I have wicket javadoc to be dependency. whenever that
dependency is there. All the ajax calls failed in both jetty and tomcat (I
setup both servers to test them), and spurring out bunch of javadoc html
failed code.

The second I take that dependency out of my eclipse WTP project, redeploy,
it's perfectly fine.

Is it just me, what am I doing wrong. Again the only thing I used is, enable
"maven manage" in eclipse, and then add the javadoc in the dependency.


org.apache.wicket
wicket
${wicket.version}
javadoc



The error:


Unexpected RuntimeException

WicketMessage: Tag '' (line 103, column 1) has a mismatched close tag at
'' (line 104, column 1)
[markup =
jar:file:/D:/mavenRepo/org/apache/wicket/wicket/1.4.12/wicket-1.4.12-javadoc.jar!/org/apache/wicket/ajax/markup/html/navigation/paging/AjaxPagingNavigator.html
http://www.w3.org/TR/html4/loose.dtd";>


Markup

The problem is in
"jar:file:/D:/mavenRepo/org/apache/wicket/wicket/1.4.12/wicket-1.4.12-javadoc.jar!/org/apache/wicket/ajax/markup/html/navigation/paging/AjaxPagingNavigator.html":
 

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxPagingNavigator-give-out-strange-error-tp2327360p2992535.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



AjaxPagingNavigator give out strange error

2010-08-16 Thread btbluesky

I tried to use AjaxPagingNavigator in a simple page in Eclipse Helio with WTP
(configured tomcat6). When debug, it just gives out a raw API page of
ExceptionErrorPage  with mismatched close tag error that reference the API
page. 

Couple of other pages in the same app are working fine.

I then tried to just copy pasted the original Wicket Example PageablesPage
into my WebApplication, same thing. I commented out the AjaxPagingNavigator 
object, everything works fine.

I step through the entire page, all components on PageablesPage are fine.
The first Exception thrown is at Component class render :

[code]
org.apache.wicket.markup.MarkupException: Tag '' (line 103, column 1)
has a mismatched close tag at '' (line 104, column 1)
[markup =
jar:file:/H:/DOCUMENTS/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/hfweb/WEB-INF/lib/wicket-1.4.10-javadoc.jar!/org/apache/wicket/ajax/markup/html/navigation/paging/AjaxPagingNavigator.ht

[/code]

Which is already referring to the AjaxPagingNavigator API page (I have the
wicket Javadoc package from Maven in the env.)

I cannot even see the error even when I'm stepping through the whole thing
line by line. The only error comes out is from API page markup error when
its trying to render.

Would really appreciate it if anyone can help.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxPagingNavigator-give-out-strange-error-tp2327360p2327360.html
Sent from the Wicket - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org