[Wicket-user] Naviagtion TreeAjax Component

2006-12-26 Thread Korbinian Bachl
Hi,
 
after some busy weeks I finally grabbed some time to continue work on my
wicket project. Im currently in need to have navigation table, tree table
like, component and so i wonderend if anyone knows if there is already a
AjaxFallback version of this available somewhere?
 
(i mean similar to that:
http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=w
icket-1:wicket.examples.ajax.builtin.tree.SimpleTreePage - where a user
klicks, then the node opens, im quite new to this type of navigation and
even after examining the source-code there i didnt understand most of it :(
- any help/ comment would be really appreciated, as i need a tree navigation
structure and would like a ajax one but a fallback for JS out browsers is a
must).
 
Best Regards,
 
Korbinian
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Naviagtion TreeAjax Component

2006-12-26 Thread Igor Vaynberg

table.setLinkType(LinkType.AJAX_FALLBACK)

also why does the word navigation keep popping up in your message, what
does this have to do with navigation?

-igor


On 12/26/06, Korbinian Bachl [EMAIL PROTECTED] wrote:


 Hi,

after some busy weeks I finally grabbed some time to continue work on my
wicket project. Im currently in need to have navigation table, tree table
like, component and so i wonderend if anyone knows if there is already a
AjaxFallback version of this available somewhere?

(i mean similar to that:
http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=wicket-1:wicket.examples.ajax.builtin.tree.SimpleTreePage
 -
where a user klicks, then the node opens, im quite new to this type of
navigation and even after examining the source-code there i didnt understand
most of it :( - any help/ comment would be really appreciated, as i need a
tree navigation structure and would like a ajax one but a fallback for JS
out browsers is a must).

Best Regards,

Korbinian

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] A proposal about IPagingLabelProvider.

2006-12-26 Thread Igor Vaynberg

mind making a jira issue so we can keep this change in history?

-igor


On 12/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


While i use the interface  of IPagingLabelProvider to define a paging
label.
I was customed to write a anonymous class.
But i got a exception for Serializable.
Then i know this class must implements java.io.Serializable.

I hope the interface of I PagingLabelProvider can extends
java.io.Serializable..
It will help a lot ,especially for anonymous class.

__
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Naviagtion TreeAjax Component

2006-12-26 Thread Korbinian Bachl
 also why does the word navigation keep popping up in your message, what
does this have to do with navigation?

well, its because i need it for this purpose, but youre right - as the
baseproblem has nothing to do with navigation...
 
but to come back, to my problem: if i understand you, you suggest a
TreeTable component, or what else should i use? and does this work with
BookmarkablePageLink also? (im quite new to this if ajax comes into it - i
know we have a AjaxFallback, but its not a bookmarkable, isnt it?)
 
Thank you for Help,
 
Merry Christmas,
 
Korbinian
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Dienstag, 26. Dezember 2006 18:23
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Naviagtion TreeAjax Component


table.setLinkType(LinkType.AJAX_FALLBACK)

also why does the word navigation keep popping up in your message, what
does this have to do with navigation?

-igor



On 12/26/06, Korbinian Bachl [EMAIL PROTECTED] wrote: 

Hi,
 
after some busy weeks I finally grabbed some time to continue work on my
wicket project. Im currently in need to have navigation table, tree table
like, component and so i wonderend if anyone knows if there is already a
AjaxFallback version of this available somewhere?
 
(i mean similar to that:
http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=w
icket-1:wicket.examples.ajax.builtin.tree.SimpleTreePage - where a user
klicks, then the node opens, im quite new to this type of navigation and
even after examining the source-code there i didnt understand most of it :(
- any help/ comment would be really appreciated, as i need a tree navigation
structure and would like a ajax one but a fallback for JS out browsers is a
must).
 
Best Regards,
 
Korbinian

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
https://lists.sourceforge.net/lists/listinfo/wicket-user 





-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Naviagtion TreeAjax Component

2006-12-26 Thread Igor Vaynberg

well you didnt say you wanted a bookmarkable link, just an ajax fallback. no
ajax fallback links are not bookmarkable, just like most links in wicket are
not.

if you want to make it bookmarkable you will have to roll your own, probably
by overriding DefaultAbstractTree.newLink()

using bookmarkable links for this is crazy, remember that bookmarkable links
the treetable generates also have to encapsulate state of any other
component on the page.

-igor


On 12/26/06, Korbinian Bachl [EMAIL PROTECTED] wrote:


  also why does the word navigation keep popping up in your message,
what does this have to do with navigation?
well, its because i need it for this purpose, but youre right - as the
baseproblem has nothing to do with navigation...

but to come back, to my problem: if i understand you, you suggest a
TreeTable component, or what else should i use? and does this work with
BookmarkablePageLink also? (im quite new to this if ajax comes into it - i
know we have a AjaxFallback, but its not a bookmarkable, isnt it?)

Thank you for Help,

Merry Christmas,

Korbinian


 --
*Von:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *Im Auftrag von *Igor Vaynberg
*Gesendet:* Dienstag, 26. Dezember 2006 18:23
*An:* wicket-user@lists.sourceforge.net
*Betreff:* Re: [Wicket-user] Naviagtion TreeAjax Component

table.setLinkType(LinkType.AJAX_FALLBACK)

also why does the word navigation keep popping up in your message, what
does this have to do with navigation?

-igor


On 12/26/06, Korbinian Bachl [EMAIL PROTECTED] wrote:

  Hi,

 after some busy weeks I finally grabbed some time to continue work on my
 wicket project. Im currently in need to have navigation table, tree table
 like, component and so i wonderend if anyone knows if there is already a
 AjaxFallback version of this available somewhere?

 (i mean similar to that:
 
http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=wicket-1:wicket.examples.ajax.builtin.tree.SimpleTreePage
 -
 where a user klicks, then the node opens, im quite new to this type of
 navigation and even after examining the source-code there i didnt understand
 most of it :( - any help/ comment would be really appreciated, as i need a
 tree navigation structure and would like a ajax one but a fallback for JS
 out browsers is a must).

 Best Regards,

 Korbinian


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash

 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Naviagtion TreeAjax Component

2006-12-26 Thread Korbinian Bachl
using bookmarkable links for this is crazy, remember that bookmarkable
links the treetable generates also have to encapsulate state of any other
component on the page.
 
i know :( - but the thing is, that the fronted of it has to be bookmarkable
at least in the catalog-part... at least i dont have too much stateful
components on that part, so its not that hard 
 
regards
 
Korbinian
 
PS: has Matejs wicket 2.0 hybrid-link proposal already put into 2.0 ? - i
mean i like the idea where at least the static part of the URL gives a part
bookmarkin-capability (e.g: you can bookmark category foo in a shop but not
the ordering by the birthdate of author)
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Dienstag, 26. Dezember 2006 19:41
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Naviagtion TreeAjax Component


well you didnt say you wanted a bookmarkable link, just an ajax fallback. no
ajax fallback links are not bookmarkable, just like most links in wicket are
not.

if you want to make it bookmarkable you will have to roll your own, probably
by overriding DefaultAbstractTree.newLink()

using bookmarkable links for this is crazy, remember that bookmarkable links
the treetable generates also have to encapsulate state of any other
component on the page.

-igor



On 12/26/06, Korbinian Bachl [EMAIL PROTECTED] wrote: 


 also why does the word navigation keep popping up in your message, what
does this have to do with navigation?

well, its because i need it for this purpose, but youre right - as the
baseproblem has nothing to do with navigation...
 
but to come back, to my problem: if i understand you, you suggest a
TreeTable component, or what else should i use? and does this work with
BookmarkablePageLink also? (im quite new to this if ajax comes into it - i
know we have a AjaxFallback, but its not a bookmarkable, isnt it?)
 
Thank you for Help,
 
Merry Christmas,
 
Korbinian
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Dienstag, 26. Dezember 2006 18:23
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Naviagtion TreeAjax Component



table.setLinkType(LinkType.AJAX_FALLBACK)

also why does the word navigation keep popping up in your message, what
does this have to do with navigation?

-igor



On 12/26/06, Korbinian Bachl [EMAIL PROTECTED] wrote: 

Hi,
 
after some busy weeks I finally grabbed some time to continue work on my
wicket project. Im currently in need to have navigation table, tree table
like, component and so i wonderend if anyone knows if there is already a
AjaxFallback version of this available somewhere?
 
(i mean similar to that:
http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=w
icket-1:wicket.examples.ajax.builtin.tree.SimpleTreePage - where a user
klicks, then the node opens, im quite new to this type of navigation and
even after examining the source-code there i didnt understand most of it :(
- any help/ comment would be really appreciated, as i need a tree navigation
structure and would like a ajax one but a fallback for JS out browsers is a
must).
 
Best Regards,
 
Korbinian

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
https://lists.sourceforge.net/lists/listinfo/wicket-user 






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
https://lists.sourceforge.net/lists/listinfo/wicket-user 





-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net

[Wicket-user] Interface: IFormComponent?

2006-12-26 Thread Jonathan Sharp

It would be really nice to have an interface for FormComponents that would
allow us to develop compound inputs (which would still operate on a single
value). Any thoughts on this?

For now I've created a wrapper object that proxies calls between
FormComponent and MyFormComponent objects.

-js
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Interface: IFormComponent?

2006-12-26 Thread Igor Vaynberg

this has been discussed to death many times already :)

basically the consensus is, as i see it, is that it is silly to extract an
IFormComponent until we have an IComponent, otherwise you end up with a
crappy interface like IPageable. in wicket 3.0 we plan on refactoring the
core to be based on interfaces, so this will have to wait until then i
guess.

-igor


On 12/26/06, Jonathan Sharp [EMAIL PROTECTED] wrote:


It would be really nice to have an interface for FormComponents that would
allow us to develop compound inputs (which would still operate on a single
value). Any thoughts on this?

For now I've created a wrapper object that proxies calls between
FormComponent and MyFormComponent objects.

-js

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Interface: IFormComponent?

2006-12-26 Thread Jonathan Sharp

Ooops...sorry I didn't search the archives first. Sounds good to me.

Cheers,
-js


On 12/26/06, Igor Vaynberg [EMAIL PROTECTED] wrote:


this has been discussed to death many times already :)

basically the consensus is, as i see it, is that it is silly to extract an
IFormComponent until we have an IComponent, otherwise you end up with a
crappy interface like IPageable. in wicket 3.0 we plan on refactoring the
core to be based on interfaces, so this will have to wait until then i
guess.

-igor


On 12/26/06, Jonathan Sharp [EMAIL PROTECTED] wrote:

 It would be really nice to have an interface for FormComponents that
 would allow us to develop compound inputs (which would still operate on a
 single value). Any thoughts on this?

 For now I've created a wrapper object that proxies calls between
 FormComponent and MyFormComponent objects.

 -js


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash

 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Unexpected RuntimeException

2006-12-26 Thread August Detlefsen
Latest version downloaded from the site: wicket-1.2.3.jar



Juergen Donnerstag wrote:
 I don't think it is the jar alone, I'm using jar as well and I don't
 get the exception. But I think you asked the right question: What is
 causing the xmlReader object to be null? Obviously iit happens while
 closeing the parser, which means that it started parsing (with a
 none-null parser object) and than ...

 Which version of Wicket are you using?

 Juergen


 On 12/23/06, August Detlefsen [EMAIL PROTECTED] wrote:

  I figured out how to setup logging it was easy. I was trying to load 
 the
 markup HTML from a jar file:

  12-22 12:18:32 [DEBUG] [UrlResourceStream] - cannot convert url:
 jar:file:/export/webapps/mycompany.com/web/ROOT/WEB-INF/lib/com.mycompany.newscomments.jar!/com/mycompany/newscomments/CommentHomePage.html
  

 to file (URI is not hierarchical), falling back to the inputstream for
 polling
  12-22 12:18:32 [DEBUG] [MarkupCache] - Loading markup from
 jar:file:/export/webapps/mycompany.com/web/ROOT/WEB-INF/lib/com.mycompany.newscomments.jar!/com/mycompany/newscomments/CommentHomePage.html
  

  12-22 12:18:33 [ERROR] [RequestCycle] -
  java.lang.NullPointerException
  at
 wicket.markup.parser.XmlPullParser.parse(XmlPullParser.java:390)
  at
 wicket.markup.MarkupParser.readAndParse(MarkupParser.java:196)
  at
 wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:279)
  at
 wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(MarkupCache.java:354) 

  at
 wicket.markup.MarkupCache.getMarkup(MarkupCache.java:198)
  at
 wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:106)
  at
 wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:827) 

  at
 wicket.markup.html.WebPage.commonInit(WebPage.java:235)
  at wicket.markup.html.WebPage.init(WebPage.java:120)
  at
 com.mycompany.newscomments.CommentHomePage.init(CommentHomePage.java:27) 

  ...

  Once I moved the markup file out of the jar and into 
 WEB-INF/classes, the
 problem went away. Is there any way to keep them in the jar file without
 getting this error?

  -August




  Johan Compagner wrote:

 can you check for us why that is null in your case?
 All those exceptions are logged just make sure you have the right
 logging.properties

 johan



 On 12/22/06, August Detlefsen [EMAIL PROTECTED] wrote:
  I am getting a NullPointerException when I try to visit the home 
 page of
  my web application. Root cause:
 
  java.lang.NullPointerException
  at
 wicket.markup.parser.XmlPullParser.parse(XmlPullParser.java:390)
  at
 wicket.markup.MarkupParser.readAndParse(MarkupParser.java:196)
  at wicket.markup.MarkupCache.loadMarkup
 (MarkupCache.java:279)
  at
 
 wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(MarkupCache.java:354) 

  at
 wicket.markup.MarkupCache.getMarkup(MarkupCache.java:198)
  at wicket.markup.MarkupCache.getMarkupStream(
 MarkupCache.java:106)
  at
 
 wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:827) 

  at
 wicket.markup.html.WebPage.commonInit(WebPage.java:235)
  at wicket.markup.html.WebPage.init(WebPage.java :120)
  at
 
 com.mycompany.newscomments.CommentHomePage.init(CommentHomePage.java:27) 

  ...
 
  I traced it back to the parse method in XmlPullParser, specifically
  where the xmlReader is closed in the finally block:
 
  finally
 {
 resource.close();
 this.xmlReader.close();
 }
 
  I think this exception can be avoided by changing:
 
 this.xmlReader.close ();
 
  to:
 
 if (this.xmlReader != null) this.xmlReader.close();
 
  However, what is causing the xmlReader object to be null?
 
  Is there a way to redirect these errors to a log file instead of
  displaying them on screen?
 
  Thanks,
  August
 
 
 
 - 

  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to 
 share
 your
  opinions on IT  business topics through brief surveys - and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV 

  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


  --
 August Detlefsen
 CEO/Web Application Architect
 CodeMagi, Inc.
 510-368-4489 tel
 510-336-9434 fax
 http://www.codemagi.com

 - 

 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to 
 share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV 


 ___
 Wicket-user mailing list
 

[Wicket-user] The component(s) below failed to render

2006-12-26 Thread August Detlefsen
WicketMessage: The component(s) below failed to render. A common problem 
is that you have added a component in code but forgot to reference it in 
the markup (thus the component will never be rendered).

Is there any way to have wicket simply ignore missing components in the 
markup? For example, if not every page will include every element.

Thanks,
August

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] The component(s) below failed to render

2006-12-26 Thread Igor Vaynberg

in myapplication.init() { getdebugsettings().setcomponentusecheck(false); }

but you really shouldnt do that, there should be no reason something is in
java but not in markup. there are plenty of ways to handle these cases such
as component visibility/panels/fragments/etc

-igor


On 12/26/06, August Detlefsen [EMAIL PROTECTED] wrote:


WicketMessage: The component(s) below failed to render. A common problem
is that you have added a component in code but forgot to reference it in
the markup (thus the component will never be rendered).

Is there any way to have wicket simply ignore missing components in the
markup? For example, if not every page will include every element.

Thanks,
August

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] The component(s) below failed to render

2006-12-26 Thread August Detlefsen
In my case I have an article that can have zero or more comments 
attached to it. I've been getting this error in the case where an 
article has no comments. What is the best practice for handling this?


-August



Igor Vaynberg wrote:
in myapplication.init() { 
getdebugsettings().setcomponentusecheck(false); }


but you really shouldnt do that, there should be no reason something 
is in java but not in markup. there are plenty of ways to handle these 
cases such as component visibility/panels/fragments/etc


-igor


On 12/26/06, *August Detlefsen* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


WicketMessage: The component(s) below failed to render. A common
problem
is that you have added a component in code but forgot to reference
it in
the markup (thus the component will never be rendered).

Is there any way to have wicket simply ignore missing components
in the
markup? For example, if not every page will include every element.

Thanks,
August

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
mailto:Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




--
August Detlefsen
CEO/Web Application Architect
CodeMagi, Inc. 
510-368-4489 tel

510-336-9434 fax
http://www.codemagi.com

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Unit test fail probably cause by authenication

2006-12-26 Thread Carfield Yim
Anyone have any idea?

On 12/22/06, Carfield Yim [EMAIL PROTECTED] wrote:
 The unit test is just create a WebPage and assert it, stacktrace as
 below and look like the authenication will forward to Logon page if it
 is not authenication . However, in the session I have set it always
 return true if it is unit test. Anybody have any idea?

 junit.framework.ComparisonFailure: null expected:[Mai]n but was:[Logo]n
at junit.framework.Assert.assertEquals(Assert.java:81)
at junit.framework.Assert.assertEquals(Assert.java:87)
at 
 wicket.util.tester.WicketTester.assertRenderedPage(WicketTester.java:760)
at com.genuco.web.pages.order.MainTest.testMain(MainTest.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
 org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
at 
 org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
at 
 org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
at 
 org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
at 
 org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
at 
 org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:71)
at 
 org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
at 
 org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
at 
 org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
at 
 org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
at 
 org.junit.internal.runners.CompositeRunner.run(CompositeRunner.java:29)
at 
 org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
at 
 org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
at 
 org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
at 
 org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
at 
 org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at 
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Unit test fail probably cause by authenication

2006-12-26 Thread Igor Vaynberg

well looks like you are expecting main page but getting a login? so your
auth strategy is redirecting, thus the test fails

-igor


On 12/26/06, Carfield Yim [EMAIL PROTECTED] wrote:


Anyone have any idea?

On 12/22/06, Carfield Yim [EMAIL PROTECTED] wrote:
 The unit test is just create a WebPage and assert it, stacktrace as
 below and look like the authenication will forward to Logon page if it
 is not authenication . However, in the session I have set it always
 return true if it is unit test. Anybody have any idea?

 junit.framework.ComparisonFailure: null expected:[Mai]n but
was:[Logo]n
at junit.framework.Assert.assertEquals(Assert.java:81)
at junit.framework.Assert.assertEquals(Assert.java:87)
at wicket.util.tester.WicketTester.assertRenderedPage(
WicketTester.java:760)
at com.genuco.web.pages.order.MainTest.testMain(MainTest.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.junit.internal.runners.TestMethodRunner.executeMethodBody(
TestMethodRunner.java:99)
at org.junit.internal.runners.TestMethodRunner.runUnprotected(
TestMethodRunner.java:81)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(
BeforeAndAfterRunner.java:34)
at org.junit.internal.runners.TestMethodRunner.runMethod(
TestMethodRunner.java:75)
at org.junit.internal.runners.TestMethodRunner.run(
TestMethodRunner.java:45)
at
org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(
TestClassMethodsRunner.java:71)
at org.junit.internal.runners.TestClassMethodsRunner.run(
TestClassMethodsRunner.java:35)
at org.junit.internal.runners.TestClassRunner$1.runUnprotected(
TestClassRunner.java:42)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(
BeforeAndAfterRunner.java:34)
at org.junit.internal.runners.TestClassRunner.run(
TestClassRunner.java:52)
at org.junit.internal.runners.CompositeRunner.run(
CompositeRunner.java:29)
at org.junit.internal.runners.TestClassRunner$1.runUnprotected(
TestClassRunner.java:42)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(
BeforeAndAfterRunner.java:34)
at org.junit.internal.runners.TestClassRunner.run(
TestClassRunner.java:52)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run
(JUnit4TestReference.java:38)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Logging issue at tomcat

2006-12-26 Thread Carfield Yim
I already have

wicket.util.resource= Info
wicket.util.thread.Task = Info

But I still getting a lot of log message related at tomcat stdout.log.
For jetty and resin it will not do that . Anybody know how to make
tomcat don't log those information?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Unit test fail probably cause by authenication

2006-12-26 Thread Carfield Yim
On 12/27/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 well looks like you are expecting main page but getting a login? so your
 auth strategy is redirecting, thus the test fails

But for the unit test session, I already did below:

public static class Tester extends WicketTester {
@Override
protected ISessionFactory getSessionFactory() {
return new ISessionFactory() {
public Session newSession() {
com.genuco.util.component.Session session = new
com.component.Session(Tester.this);
session.setAuthenticated(true);
return session;
}
};
}
}

So the auth should be bypassed, do you have any idea that why I still
getting this error?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Unit test fail probably cause by authenication

2006-12-26 Thread Igor Vaynberg

set a breakpoint in your auth strategy and see what it is doing, sounds like
a bug in there

-igor


On 12/26/06, Carfield Yim [EMAIL PROTECTED] wrote:


On 12/27/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 well looks like you are expecting main page but getting a login? so your
 auth strategy is redirecting, thus the test fails

But for the unit test session, I already did below:

public static class Tester extends WicketTester {
@Override
protected ISessionFactory getSessionFactory() {
return new ISessionFactory() {
public Session newSession() {
com.genuco.util.component.Session session = new
com.component.Session(Tester.this);
session.setAuthenticated(true);
return session;
}
};
}
}

So the auth should be bypassed, do you have any idea that why I still
getting this error?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] 设备维修管理(AD)

2006-12-26 Thread gz_training

工;厂;设;备;维;修;管;理  

主;办;单;位:广州麦康企业管理顾问有限公司  

培;训;日;期:2007-1-12至2007-1-13 

培;训;地;点:广州 

会;务;费;用:RMB2200元/人 

参;加;对;象:企业设备维修管理等相关人员…… 

详。细。信。息:

  培,训,目,的: 

追求及时化生产的今天,向生产设备提出零事故、零非计划停机时间、零速度损失、零废品的要求。除了推行和贯彻全员生产维护(TPM)的思想外,

“工厂设备维修”也日渐成为一种管理的技术而非操作技能 

   对于一个优秀的设备维修工程师或主管,无疑,这将是一个全面和彻底的维修管理的训练课。在二天的时间,讲师将以近三十年的实际工作经验向您

提供完整的现代工厂设备维修管理的解决方案。 
 
  
适合人员: 设备维修工程师或主管.. 
 
  
  课-程-提-纲:
 
第一天 
目标 讲师的作法 受训人的作法 
9:00-10:30 * 维修的变革历史
* 当今维修的新概念
* 设备磨损原理及OEE
* 维修的目标(三个零的概念)
* TPM介绍  * 做OEE习题
* 介绍本单位的设备及管理情况
* 提问  
10:30-10:45  课间休息  
10:45-12:00 * TPM的启动
* 维修作为项目来进行管理
* TPM启动 组织 完成
* 故障模态分析(FMECA)
* 设备关键性评估方法(PIEU) * 做TPM习题
* 展开TPM讨论
* 介绍本单位是否执行了TPM 
12:00-13:30 午餐休息  
13:30-15:00 * 抢修的控制
* 反故障措施
* 故障原因分析法
a) 鱼刺图
b) KT法
c) RE法
* 总结三种方法  * 介绍本单位的枪修情况
* 区别受训前和受训后对抢修的理解 
15:00-15:15 课间休息 
15:15-17:00 * 预防性维修的实施及其流程图
a) 定期预防性维修
b) 条件式预防性维修
* 设备的技术跟踪
* 设备的可靠性概念
* 设备的不可靠性概念 * 理解二种预防性维修
* 掌握数学原理来测量和记录故障
* 掌握二卡一表的维修管理工具
* 提问 
17:00 结束 
第二天 
9:00-10:30 * 故障直方图
* 平均值、方差和Erland系数的三者关系。
* 维修资料和档案的管理 * 正确理解故障频率的数学原理及函数关系
* 正确理解资料和档案的严格区别
* 理解和掌握计划(TQC)、调度、实施(监控)的方法和工具  
10:30-10:45 课间休息 
10:45-12:00 * 维修的效率
a) 计划
b) 调度
c) 实施
* 维修准备方法和步骤
* 维修工程的优先级别 * 理解PERT
* 做更换缆绳案例
* 讨论、提问 
12:00-13:30 午餐休息 
13:30-15:00 * 大型维修的工期控制(PERT)
* PERT法的应用
a) 顺序表
b) 路径网络图
c) 甘特图
* 案例示范:更换缆绳 * 介绍本单位合同外委情况及管理模式
* 介绍本单位对承包商的评估、考核系统
* 提问 
15:00-15:15 课间休息 
15:15-17:00 * 设备的经济跟踪
* LCC的成本意义
* LCC的成本及在维修中的使用
* 做案例习题(分组) * 正确理解LCC涵义
* 分组代表(2个)到白板处做案例
* 全体讨论 
17:00 个别提问,结束  
 
 
  知=名=专=业=导=师:刘先生 

个人简历
 国内项目管理管理专家。 芬兰赫尔新基大学商学院硕士,曾担任副总经理/阿巴克空压机有限公司 、 匹克电子(上海)有限公司副总经理和企顾司企业管理顾问

(上海)有限公司兼职讲师。 刘先生擅长于在教会学员如何正确使用管理工具的同时,注重传授给学员如何创建一种全新理念的管理平台,使其能够在这个平台上自

由发挥和创新。

 邀请刘先生授课的企业众多,他们来自:BASF染料、普莱克斯气体、梅兰日兰电器有限公司、西门子开关 、天津汉高洗洁剂、江南造船厂、西门子通讯、上海、

GE 医疗机械(中国)公司、菲利浦电子、伊莱克斯(长沙)公司、卡特比勒起重机、上海万科地产、广达电脑、上海贝尔阿尔卡特、许继电器(国内上市公司)、上

海电气集团公司、上海国药集团、3M (中国)上海通用照明、德尔福汽车电气(白城)、英国BP石油 、上汽MBA研修班、大庆油田 (中,英文)、广州舒适刀片、复

星实业有限公司、爱默生电气(中国)有限公司、广东北电通讯(英文授课)、松下万宝(广州)有限公司、上海柴油机股份有限公司、通用医疗机械(北京)有限公

司、北京百奥药业、广州白云化工、德尔福汽车电气(广州)、艾力(广州)包装系统有限公司、大众汽车变速器(上海)有限公司、飞利浦照明电子(上海)有限公

司、上海汽车工业销售总公司、爱默生过程处理(中国)有限公司、上海氯碱股份有限公司、广东丽珠医药集团有限公司、湖北移动通信公司、招商银行(上海)、广东

美的日用电器 ……。

授课风格在教会学员如何正确使用管理工具的同时,注重传授给学员如何创建一种全新理念的管理平台,使其能够在这个平台上自由发挥和创新。 
 
  
培*训*费*用:人民币2200元(二天,含培训教材、培训费和午餐) 
 
如*需*报*名*请*至*电*索*要*报*名*表

咨*询*电*话:020 - 83614379 传*真020 - 83613713

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Naviagtion TreeAjax Component

2006-12-26 Thread Matej Knopp
Korbinian Bachl wrote:
using bookmarkable links for this is crazy, remember that bookmarkable 
 links the treetable generates also have to encapsulate state of any 
 other component on the page.
  
 i know :( - but the thing is, that the fronted of it has to be 
 bookmarkable at least in the catalog-part... at least i dont have too 
 much stateful components on that part, so its not that hard
  
 regards
  
 Korbinian
  
 PS: has Matejs wicket 2.0 hybrid-link proposal already put into 2.0 ? - 
 i mean i like the idea where at least the static part of the URL gives a 
 part bookmarkin-capability (e.g: you can bookmark category foo in a shop 
 but not the ordering by the birthdate of author)
  
 
Not yet, lack of time.

-Matej

-- 

 get professional wicket training and consultation
 http://www.wicket-support.com


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user