Re: [Wicket-user] ERROR - Internal error cloning object

2007-07-30 Thread Martijn Dashorst
Switch the second level page cache off to use the httpsession store,
like it was in 1.2. The second level page cache requires the objects
attached to your components to be serializable as it tries to store
the pages to disk using serialization.

The old pagemap store didn't require serializable, but does use more
server memore (though you can configure it yourself)

Martijn

On 7/30/07, Dipu Seminlal [EMAIL PROTECTED] wrote:
 Hi Igor/Eelco and Others,

 Sorry i am reposting this, can any one please tell me how to get around this
 issue.

 I am seeing loads of Internal error cloning object error in the log files.
 I am running on DEPLOYMENT mode and also  i have set
 get().getDebugSettings()
 .setSerializeSessionAttributes(false);
 ( which is not really required when i am on Deployment mode ) in the
 application class.

 I have an Iframe on different site pointing to my application like this
 iframe id=framename name=framename marginwidth=0 marginheight=0
 hspace=0 vspace=0 target=_top
 src=
 http://sagittarius:8080/fab1gui/search?wicket:bookmarkablePage=:com.xmltravel.fab1.wicket.flights.HorizontalSearchNavPage;
 allowtransparency=true frameborder=0 height=210 scrolling=no
 width=540/iframe

 I tried to simulate this situation and noticed that when i do a submit on
 the Iframe for the first time this error is thrown.

 How can i get around this issue.

 My client has configured a spider to do searches on the live site and i am
 seeing loads and loads of Internal error cloning object exception.
 And worst of all today there was an out of memory error, i am wondering if
 the repeated occurrence of cloning excpetion has got anything to
 do with the out of memory error.

 Regards
 Dipu


 2007-07-30 12:25:45:437 ERROR wicket.markup.html.WebPage
 [http-8080-Processor25] - Page [Page class =
 com.xmltravel.fab1.wicket.flights.FlightSearchResultPage , id = 1] couldn't
 be cloned to move to another pagemap
 wicket.WicketRuntimeException: Internal error cloning object
 at wicket.util.lang.Objects.cloneObject(Objects.java:466)
 at wicket.markup.html.WebPage.onNewBrowserWindow (WebPage.java:344)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(
 NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke (
 DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at wicket.RequestListenerInterface.invoke(RequestListenerInterface.java
 :187)
 at
 wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(
 ListenerInterfaceRequestTarget.java:74)
 at wicket.request.compound.DefaultEventProcessorStrategy.processEvents(
 DefaultEventProcessorStrategy.java:65)
 at
 wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(
 AbstractCompoundRequestCycleProcessor.java:57)
 at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:896)
 at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:929)
 at wicket.RequestCycle.step (RequestCycle.java:1010)
 at wicket.RequestCycle.steps(RequestCycle.java:1084)
 at wicket.RequestCycle.request(RequestCycle.java:454)
 at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:219)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
 ApplicationFilterChain.java :252)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(
 ApplicationFilterChain.java:173)
 at org.apache.catalina.core.StandardWrapperValve.invoke(
 StandardWrapperValve.java:213)
 at org.apache.catalina.core.StandardContextValve.invoke (
 StandardContextValve.java:178)
 at org.apache.catalina.core.StandardHostValve.invoke(
 StandardHostValve.java:126)
 at org.apache.catalina.valves.ErrorReportValve.invoke(
 ErrorReportValve.java:105)
 at org.apache.catalina.core.StandardEngineValve.invoke (
 StandardEngineValve.java:107)
 at org.apache.catalina.connector.CoyoteAdapter.service(
 CoyoteAdapter.java:148)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
 :869)
 at
 org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
 Http11BaseProtocol.java:664)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
 PoolTcpEndpoint.java:527)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
 LeaderFollowerWorkerThread.java :80)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
 ThreadPool.java:684)
 at java.lang.Thread.run(Thread.java:595)
 Caused by: java.io.NotSerializableException:
 org.apache.catalina.core.ApplicationContextFacade
 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
 at 

[Wicket-user] Wicket SVN has moved!

2007-07-27 Thread Martijn Dashorst
Wicket's subversion repository has been moved to reflect our status as
a top level project within the Apache Software Foundation.

In order to keep your sources, you should do a switch of your local copy:

For non-committers:
svn switch --relocate http://svn.apache.org/repos/asf/wicket/trunk

For committers:
svn switch --relocate https://svn.apache.org/repos/asf/wicket/trunk

This will update your local copy to point to the new location.

I know this has been a bit inconvenient, with the moving of the lists
and now subversion, but that is a small price we gladly pay to become
part of Apache.

PS. Did I already mention that if you are reading this on the
[EMAIL PROTECTED] list, you are looking at the wrong list?
Subscribe now (now... now n o w...) to our new and improved (less
spam!!!) support list: send a message to [EMAIL PROTECTED] to
get your subscription!

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] - Wicket 1.3 release date?

2007-07-26 Thread Martijn Dashorst
We are already a month overdue, and the number of open bugs haven't
been going down lately, despite some serious effort put in by several
committers.

I hate to say it, but I currently can't make any guarantees.

As for the beta's: we have a beta 3 planned, but it still has 27
issues open. Not all critical, but they do need fixing sometime.

You can monitor the progress here: http://issues.apache.org/jira/browse/WICKET

Martijn

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket in Action now available through Manning Early Access Program

2007-07-26 Thread Martijn Dashorst
Eelco and I are really happy to announce the availability of our first
two chapters of our forthcoming book Wicket in Action.

Chapter 1 is a FREE(!) download for users that subscribe to our new
Apache Wicket user list. First send a message to
[EMAIL PROTECTED] and then proceed to download chapter
1 here:

http://manning.com/dashorst

The book is available through the Manning Early Access Program (MEAP),
which means that you can buy the book right now, and get access to new
chapters as soon as Eelco and I have finished them. When the book is
finished you will receive the full blown marked up e-version, or if
you prefer (and at some extra cost) in a dead tree format.

Chapters 1 and 3 are already available, with chapters 2 and 4
following shortly (within one or two weeks). The other chapters will
be available a bit later, as they still need to be converted from the
Wicket 2.0 constructor change back to Wicket 1.3 (yes we suffer too
from our mistakes!)

Wicket in Action is an authoritative, comprehensive guide for Java
developers building Wicket-based web applications. This book starts
with an introduction to Wicket's structure and components, and moves
quickly into examples of Wicket at work. Written by two of the
project's earliest and most authoritative experts, this book shows you
both the how-to and the why of Wicket. As you move through the
book, you'll learn to use and customize Wicket components, how to
interact with other technologies like Spring and Hibernate, and how to
build rich, Ajax-driven features into your applications.

Here is the full list of chapters for Wicket in Action:

 1 What is Wicket? (MEAP, FREE)
 2 The architecture of Wicket
 3 Setting up a Wicket project (MEAP)
 4 Building a cheesy Wicket application
 5 Understanding models
 6 Using basic components
 7 Using forms for data entry
 8 Composing your pages
 9 Creating custom components
10 Creating rich components
11 Authorization and authentication
12 Working with resources
13 Localization and internationalization
14 Database driven applications
15 Putting your Wicket application in production
16 Component index

We hope you will enjoy this book!

Eelco Hillenius
Martijn Dashorst

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket User at sourceforge is moving!

2007-07-26 Thread Martijn Dashorst
You may already have heard this, but we want to get the message out
loud and clear:

the sourceforge.net mailinglists for users are closing down. If you
want to continue to read, write and respond to user questions
concerning Wicket, you have to subscribe to the new Apache Wicket user
list.

Subscribe now: send a message to [EMAIL PROTECTED]

This list will self destruct in 10 minutes.

- the Wicket team

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] The future of wicket-user@lists.sourceforge.net

2007-07-26 Thread Martijn Dashorst
Is already taken care of (see development list).

Martijn

On 7/26/07, Federico Fanton [EMAIL PROTECTED] wrote:
 On Wed, 25 Jul 2007 21:05:04 +0200
 Martijn Dashorst [EMAIL PROTECTED] wrote:

  With great pleasure I can announce that we have finally established
  one of the last hurdles in our migration to Apache: we have our own
  user list at the Apache Wicket project.

 I'm sorry, what about gmane.org subscription for the new list? Do you mind if 
 I send the submission form?


 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 IMPORTANT NOTICE:

 This mailing list is shutting down. Please subscribe to the Apache Wicket 
 user list. Send a message to: users-subscribe at wicket.apache.org and 
 follow the instructions.
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket exceptions?

2007-07-25 Thread Martijn Dashorst
This is not a Wicket exception: you have made a programming error.

Look at 
com.enterra.vrm.qst.ui.page.reports.validatexl.AppletBasePanel$6.populateItem(AppletBasePanel.java:603)

i.e. line 603 in your AppletBasePanel.java file.

There is the NPE.

Martijn

On 7/25/07, Durai007 [EMAIL PROTECTED] wrote:

 Hi,

 I am not able to identify this exception, What situation this exception
 occurs. Please tell me your suggestions.

 Thanks

 java.lang.NullPointerException
  at
 com.enterra.vrm.qst.ui.page.reports.validatexl.AppletBasePanel$6.populateItem(AppletBasePanel.java:603)
  at wicket.markup.html.list.Loop.internalOnAttach(Loop.java:129)
  at wicket.Component.internalAttach(Component.java:2560)
  at wicket.MarkupContainer.internalAttach(MarkupContainer.java:341)
  at wicket.MarkupContainer.internalAttach(MarkupContainer.java:354)
  at wicket.MarkupContainer.internalAttach(MarkupContainer.java:354)
 --
 View this message in context: 
 http://www.nabble.com/Wicket-exceptions--tf4141828.html#a11781459
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] The future of wicket-user@lists.sourceforge.net

2007-07-25 Thread Martijn Dashorst
All,

With great pleasure I can announce that we have finally established
one of the last hurdles in our migration to Apache: we have our own
user list at the Apache Wicket project.

This means that in the couple of weeks we will shut down this list and
migrate all activity over to our Apache home.

The good:
 - stable mail delivery: the sf.net lists have had their problems in the past
   with delays
 - better anti-spam measures: the sf.net lists receive quite a lot of spam,
   the apache lists are better guarded
 - everything under one roof: now that we are officially an Apache project,
   it is a good thing to have everything hosted by the same party

The bad:
 - everybody (all 670 of you) needs to subscribe to the users list at
   wicket.apache.org. There are legal problems with transfering all
   email addresses across organizations.

The ugly:
 - during the transition we will have discussions on both fora. We will try to
   minimize this by moderating the sourceforge list, but we have limited time.

Please join the Apache Wicket community by subscribing to the Apache
Wicket user list. Send a message to:

users-subscribe at wicket.apache.org

and follow the instructions.

The Wicket team hopes to see you all at our new place!

Martijn Dashorst

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Page encoding

2007-07-23 Thread Martijn Dashorst
http://cwiki.apache.org/WICKET/how-to-change-the-character-encoding.html

On 7/23/07, wheleph [EMAIL PROTECTED] wrote:

 Hello everyone!

 My page markups contain cyrillic strings and the files are  encoded in
 cp1251. If the server's locale is set to Russian everything works fine. But
 if it's set to English (US) I get Âõîä instead of Вход.

 I examined character codes and figured out that the problem is that the
 markups are read as ISO-8859-1 but not cp1251. How can I override such
 behavior and point the exact markup encoding explicitly?
 --
 View this message in context: 
 http://www.nabble.com/Page-encoding-tf4128102.html#a11739389
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] execute long running ajax task after page is loaded

2007-07-21 Thread Martijn Dashorst
Create a processing thread, and dispatch it. Have the thread update
some progress object that you can get access to, and query that
progress with a label (or something more fancy like a progress bar).

Something like:

Link() {
onclick() { create thread, start it }
}

add(new Label(progress, new Model() { getObject() { ... get thread,
return progress }));
label.add(new AjaxSelfUpdatingBehavior(Duration.ONE_SECOND));

Note that you don't want to serialize the thread itself, or the
progress object. You'll have to dynamically retrieve it
(de/serialization will detach the objects).

Martijn

On 7/20/07, jonaqua [EMAIL PROTECTED] wrote:

 The wicket ajax link examples are great.  The functionality I need is very
 similar to the third link example here:

 http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.LinksPage

 ( ajax link with a busy indicator. the server will deliberately pause for
 five seconds)

 The only difference between my code and that example is that I substituted
 my actual long running task for the example's Thread.sleep(5000).

 Everything is working great but I have two questions:

 1) I don't really want it to be a link.  I really just want my long running
 task to be executed after the page is loaded and I want it to update some
 label when it finishes.  Any hints on how I can do this?

 2) Right now my long running task is executed in the link's
 onClick(AjaxRequestTarget target) method just like the example.  Should this
 be executed on a separate thread?

 Thank you


 --
 View this message in context: 
 http://www.nabble.com/execute-long-running-ajax-task-after-page-is-loaded-tf4118823.html#a11713572
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PasswordTextField encryption

2007-07-19 Thread Martijn Dashorst
It is configurable: don't use PasswordTextField but TextField instead.

The reason behind PTF's encryption is that we want to provide a secure
solution out-of-the-box. You can circumvent it, but then *you* need to
open up Pandorra's box, not us. Same with escaping markup while
outputting model values: the default is safe.

Martijn

On 7/19/07, David Rosenstrauch [EMAIL PROTECTED] wrote:
 Just wondering:  anyone know what's the reason behind 1) making
 PasswordTextField's automatically encrypting their contents by default,
 and 2) making this not configurable?

 I lost several hours debugging tonight till I finally pinpointed this as
 the cause of my bug.

 TIA,

 DR

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PasswordTextField encryption

2007-07-19 Thread Martijn Dashorst
On 7/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 Didnt it have to do with persistency of fields via cookies as well?

Yeah, didn't think of that too. Anything stored on the client is a
risk, so having the default to be secure is a real safeguard.

Martijn

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] .properties encoding

2007-07-19 Thread Martijn Dashorst
I vaguely remember something about xml properties files that do handle
other encodings. Didn't we implement that? Or was it just one of those
things to do in the next version?

Martijn

On 7/19/07, Matej Knopp [EMAIL PROTECTED] wrote:
 You can't. Java property files are always encoded in ISO-8859-1. In
 order to use other characters you need to escape them properly. There
 is an encoder/decoder for it and/or eclipse plugin.

 -Matej

 On 7/19/07, wheleph [EMAIL PROTECTED] wrote:
 
  Hi everyone!
 
  I've got the following problem.
 
  My component needs to display a cyrillic string. I put it in corresponding
  .propreties with encoding cp1251.
 
  But it's read like
  Íåïðàâèëüíûé ëîãèí/ïàðîëü
  instead of
  Неправильный логин/пароль
 
  The problem is that the file is read like iso-8859-1. How can I set the
  desired encoding?
 
  Any ideas?
  --
  View this message in context: 
  http://www.nabble.com/.properties-encoding-tf4110226.html#a11687794
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] setVesible for the component after onEvent

2007-07-19 Thread Martijn Dashorst
No, because we have discussed the naming already quite a bit and the
api is already widely used (not only in apps, but also in libraries).

Martijn

On 7/19/07, Timo Rantalaiho [EMAIL PROTECTED] wrote:
 On Mon, 16 Jul 2007, Igor Vaynberg wrote:
  try calling setoutputmarkupplaceholdertag(true) on all components you are
  planning to call setvisible(false) when you create them

 By the way, would it be a good idea to rename that method to
 something more descriptive such as enableAjaxUpdates()? I
 think that it anyway also has the side effect of calling
 setOutputMarkupId(true).

 - Timo

 --
 Timo Rantalaiho
 Reaktor Innovations OyURL: http://www.ri.fi/ 

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PasswordTextField encryption

2007-07-19 Thread Martijn Dashorst
On 7/19/07, David Rosenstrauch [EMAIL PROTECTED] wrote:
 Martijn Dashorst wrote:
  It is configurable: don't use PasswordTextField but TextField instead.
 No.  If you try to use a TextField, then wicket will insist that you
 convert your HTML to use input type=text/ instead of input
 type=password/ - and thus lose the masked password entry capabilities
 (i.e., echoing * characters).

In 1.3-beta2 the type is not specified: so you can use any type of
field. IIUC (I don't have the code open) you can override the
getType() method of the textfield, and return null.

Martijn

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PasswordTextField encryption

2007-07-19 Thread Martijn Dashorst
PasswordTextField {
protected String getInputType()
{
return password;
}
}

TextField {
/**
 * Subclass should override this method if this textfields mappes on
a different
 * input type as text. Like PasswordField or HiddenField.
 *
 * @return The input type of this textfield, default is 'text'
 */
protected String getInputType()
{
return null;
}
}

On 7/19/07, David Rosenstrauch [EMAIL PROTECTED] wrote:
 Martijn Dashorst wrote:
  On 7/19/07, David Rosenstrauch [EMAIL PROTECTED] wrote:
  Martijn Dashorst wrote:
  It is configurable: don't use PasswordTextField but TextField instead.
  No.  If you try to use a TextField, then wicket will insist that you
  convert your HTML to use input type=text/ instead of input
  type=password/ - and thus lose the masked password entry capabilities
  (i.e., echoing * characters).
 
  In 1.3-beta2 the type is not specified: so you can use any type of
  field.


 ?  I am using 1.3-beta2.


  IIUC (I don't have the code open) you can override the
  getType() method of the textfield, and return null.
 
  Martijn
 

 Hmmm ... I don't think I totally understand what you're suggesting here:

 new RequiredTextField() {
 public Class getType() {
 return what?!?!?;
 }
 }

 And now that I check, that's not even allowed.  getType() is final in
 FormComponent.

 DR

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PasswordTextField encryption

2007-07-19 Thread Martijn Dashorst
Ok, my bad: you need to provide your own type...

So create a MyRequiredPasswordTextField, and override the
getInputType() and have it return password

Martijn

On 7/19/07, David Rosenstrauch [EMAIL PROTECTED] wrote:
 Martijn Dashorst wrote:
  PasswordTextField {
protected String getInputType()
{
return password;
}
  }
 
  TextField {
/**
 * Subclass should override this method if this textfields mappes on
  a different
 * input type as text. Like PasswordField or HiddenField.
 *
 * @return The input type of this textfield, default is 'text'
 */
protected String getInputType()
{
return null;
}
  }

 Maybe so, but this is what I get when I use a RequiredTextField coupled
 to an input type=password/:

 org.apache.wicket.markup.MarkupException: Component password must be
 applied to a tag with 'type' attribute matching 'text', not 'password'
 [markup = file:/usr/local/.pr/jb/test_classes/unit/PasswordPage.html
 html
 headtitlePassword required test page/title/head
 body
 span wicket:id=errors/
 form wicket:id=form
 input type=password wicket:id=password/
 !--input type=text wicket:id=password/--
 /form
 /body
 /html
 , index = 11, current = 'input type=password wicket:id=password/'
 (line 6, column 1)]

 ...

 You can grab the code from
 https://issues.apache.org/jira/browse/WICKET-768 if you want to try this
 yourself.

 DR

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Setting up project - images and stylesheets

2007-07-18 Thread Martijn Dashorst
I wonder what happened to the wicket:preview tag...

Another option is to use:

html
head
wicket:remove
link src=../../../../../src/main/webapp/style.css /
/wicket:remove
/head
body
etc.

But basically I've become quite proficient in reading HTML and classes
so I don't need the preview of the stylesheets anymore (it is not like
netbeans preview renders the same as, IE6 or IE5.5, which are browsers
from the 9th level of hell).

The best process I've come up with is:
 - make preview/dummy mockup of your site
 - ensure it is all CSS enabled, making development a blast
 - copy dummy site to your packages
 - split pages into panels, apply markup inheritance
 - move stuff around to fit a nice package model
 - sprinkle wicket:id's in each page/component
 - run the application in the debugger, dev mode and fill in the behavior.

Stylesheet and general javascript go into the context root. If
something special needs to be developed (geeky JS or such), I usually
do a spike/prototype and then incorporate back into the app.

Martijn

On 7/17/07, jonaqua [EMAIL PROTECTED] wrote:

 I'm just getting started with Wicket.

 I'm not sure how I should best link to stylesheets and images in my NetBeans
 project.

 For example, if I have the following code in my MyPage.html page:

 lt;img src=images/logo.pnggt;

 ...and I run the application, the image will reference web/images/logo.png.
 However, if I just quickly view that HTML file, it will reference
 src/java/package/images/logo.png and the image link will be broken.

 Is there a good way to set up the project besides keeping duplicate images
 and stylesheets both in the source code dir and the web dir?

 I realize if I move the HTML files to the web directory the problem will be
 solved but I'm trying to stick with the Wicket way of doing things for now
 (.HTML right next to .java in the source)

 Thanks
 --
 View this message in context: 
 http://www.nabble.com/Setting-up-project---images-and-stylesheets-tf4094209.html#a11641865
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Submit method problem

2007-07-16 Thread Martijn Dashorst
It is not a general problem, at least to my knowledge.

Can you state which version of Wicket you are using? And could you
show the different action url's generated on both platforms? Is
websphere behind a proxy?

must... need... more... information... :)

Martijn

On 7/16/07, Goran Novak [EMAIL PROTECTED] wrote:

 Hi,

 I have an unusual problem. I have a WebPage wich has a form in it. onSubmit
 method has some code that executes when submit button is pushed. Everithing
 works fine when I deploy application to Tomcat 5.5. But when I deploy the
 same code to WebSphere 5 app. server, whem submit button is pushed
 application doesn't execute onSubmit method but constructor of the WebPage
 again, and the WebPage simply refreshes.

 Has samebody had similar problem, and how did you solve it?
 --
 View this message in context: 
 http://www.nabble.com/Submit-method-problem-tf4085136.html#a11611000
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] WicketTester does not clean up resources very well

2007-07-16 Thread Martijn Dashorst
I thought that not all resources were cleaned up so that test cases
can query the response and other things. The responsibility is on the
tester to initiate a new fresh RequestCycle iiuc.

That said, it may be that we don't provide enough hooks to perform the clean up.

Martijn

On 7/15/07, Maurice Marrink [EMAIL PROTECTED] wrote:
 I just noticed that running the following minimal junittest fails.
 WicketTester mock=new WicketTester();
 mock.setupRequestAndResponse();
 mock.processRequestCycle();
 mock.destroy();
 assertNull(Session.get()); //actually should throw
 IllegalStateException but 

 I would expect the threadlocal Session to be gone after the request
 had been processed but it is even available after the application has
 been destroyed.
 Or am i missing something?

 Maurice

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to apply sth. like setStripWicketTags() to a single component ?

2007-07-15 Thread Martijn Dashorst
On 7/14/07, rc.china [EMAIL PROTECTED] wrote:
 One of my componets is based on ListView and when it renders, the html page
 contains too many wicket:panel /wicket:panel s,  and I want to remove
 them to reduce the size of html page.

But why not strip all of them?

Martijn

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 1.3.0-beta2 OutOfMemoryError

2007-07-13 Thread Martijn Dashorst
On 7/13/07, severian [EMAIL PROTECTED] wrote:
 I was scared you were gonna say that :-)

Not very hard to do if you use YourKit (I also hear great stories
about another profiler made by SAP

 At the risk of being annoying - can you point me in the right direction?

YourKit is what we use and is probably the best available, however I
haven't tried SAP.

Martijn

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] JPA Annotation Validation

2007-07-12 Thread Martijn Dashorst
According to the source code it supports the hibernate validators.
What you put in, it validates.

http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicketstuff-hibernate-behavior/src/main/java/org/wicketstuff/hibernate/validator/HibernateFormComponentValidator.java

Haven't tried it, but don't have an immediate need to do so either.
Why not just try it, if it does it, great, if not, then perhaps add it
and contribute back?

Martijn


On 7/12/07, Craig Lenzen [EMAIL PROTECTED] wrote:

 Fair enough Ryan, but one question for you.

 Does this only work with the @Length and @NotNull annotations or does it
 also work with the attributes of the @Column annotation (nullable and
 length)?

 Thanks
 Craig


 Ryan Sonnek-2 wrote:
 
  I may be biased, but i'm using these annotations on a production/live site
  and they've made my life easier.  no more hibernate exceptions bubbling up
  to the screen because a field was left blank.
 
  On 7/11/07, Craig Lenzen [EMAIL PROTECTED] wrote:
 
 
  Has anyone made heavy use of this project yet?  Any issues or concerns?
 
  -Craig
 
 
  igor.vaynberg wrote:
  
  
  http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicketstuff-hibernate-behavior/
  
   -igor
  
  
   On 7/11/07, Craig Lenzen [EMAIL PROTECTED] wrote:
  
  
   Unless I was dreaming this the other night I swear someone announced
  that
   they created a wicket stuff project that added form validation based
  on
   JPA
   annotations of a domain model?  Was I dreaming, if not I can't seem to
   find
   the project in wicket stuff.
  
   Thanks
   Craig
   --
   View this message in context:
  
  http://www.nabble.com/JPA-Annotation-Validation-tf4064781.html#a11549413
   Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
  
  -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
  -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
  --
  View this message in context:
  http://www.nabble.com/JPA-Annotation-Validation-tf4064781.html#a11550269
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 --
 View this message in context: 
 http://www.nabble.com/JPA-Annotation-Validation-tf4064781.html#a11552674
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

Re: [Wicket-user] Page getting redirected when accessing from mail reply

2007-07-11 Thread Martijn Dashorst
On 7/11/07, David Leangen [EMAIL PROTECTED] wrote:

 Excellent! Thank you, this did indeed solve the problem and seems like a
 reasonable temporary workaround.

 I really must try to fix my setup so I can step through the wicket code
 during debugging... :-(

mvn eclipse:eclipse -DdownloadSources=true

or

mvn idea:idea -DdownloadSources=true

And start your application in the debugger.

:-)

Martijn

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Are Wicket HTML Pages OO?

2007-07-11 Thread Martijn Dashorst
On 7/11/07, Ali Sakebi [EMAIL PROTECTED] wrote:
 Thanks for all responses and sorry if my question was irrelevant or wrong.

Not wrong nor irrelevant, but we do get a lot of questions that are
easily answered by searching the mailinglists, or just clicking on our
site.

There is a lot of bad things to say about our documentation, but it is
available. Google, nabble are indispensable tools.

Typically I encourage anyone reading this list to read 'How To Ask
Questions The Smart Way' [1] which is a great read to get the best out
of any (open source) mailinglist.

Martijn

[1] http://www.catb.org/~esr/faqs/smart-questions.html
-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Using a component more than once on a wicket page

2007-07-11 Thread Martijn Dashorst
On 7/11/07, Chris Colman [EMAIL PROTECTED] wrote:
 Does this mean that I can't use the same component value more than once
 within a single page/component?

Yes, or you need to resort to RepeatingView, ListView and its descendants.

 Is there a way to turn off reporting of this as an error? Is it really
 an error to bind to a component more than once in a markup unit?

Yes it is an error to bind a component *instance* more than once.

Martijn

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Optional bindings controlled by the markup

2007-07-10 Thread Martijn Dashorst
Not with Wicket directly. You could take a look at the WIcket Velocity
sub project (also found at Apache Wicket) where you have more
flexibility regarding markup scripting.

Martijn

On 7/10/07, Chris Colman [EMAIL PROTECTED] wrote:
 I can understand that an error needs to be raised when some markup
 attempts to bind to a component who's wicket id can't be found in the
 wicket page class or component class - that make sense but what about
 the other way around...

 What if I wanted to provide a component class with a whole range of
 data: eg., name, description, image, etc., but I wanted the writer of
 the markup to pick and choose what he/she wants displayed even though
 their markup all links to a single wicket component class.

 For example: Markup author A wants to display name and description but
 no image. Markup author B wants to display a name and an image but no
 description.

 I know I can control visibility of items at the Java side but what if I
 wanted this control at the markup side? Could wicket be configured so it
 just ignored 'extra' fields that the Java classes provided but were not
 used by the markup instead of throwing an exception?

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Are Wicket HTML Pages OO?

2007-07-10 Thread Martijn Dashorst
Clicking on the examples of Wicket quickly uncovers: Markup Inheritance [1].

Martijn

[1] http://incubator.apache.org/wicket/examplemarkupinheritance.html

On 7/11/07, Ali Sakebi [EMAIL PROTECTED] wrote:
 Hi

 I have heard a lot about but new to Wicket.

 My question is not about objects living inside server and user session
 objects but about *how pages are composed*: Are Wicket HTML Pages OO?

 For example a site with a layout that all other pages should *extend*.

 I'm currently using Jamon as Web/Templating engine, because of it's OO
 nature of document generating and I would like to know whether they
 are available in Wicket?

 You can find more about OO document generating here:
 http://www.jamon.org/tutorial/TutorialPath.html

 Regards,
 Ali

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Detaching your spring dao's business objects from webpage

2007-07-09 Thread Martijn Dashorst
It works and I don't see any inherent dangers, but is there any reason
why you can't use the @SpringBean annotation, which makes the spring
reference a proxy rather than a transient field? It is quite easy to
forget to add 'transient' to the field :)

Martijn

On 7/9/07, Tom Desmet [EMAIL PROTECTED] wrote:

 Hi all,

 I have a question on using wicket with the spring injector.
 I would like to create extra-lightweight webpages, and this means that
 I don't want to serialize all page dependencies (dao's and business objects
 that are member variables of the pages).

 I want all dao's and business objects to be injected when they are required
 on the page.
 So the injector supplies all necessary objects to the page on page
 construction. All dao's and business objects are transient, so that they are
 not serialized when a page gets stored in the pagemap.

 When a webpage gets deserialized by using the browsers back button, these
 transient
 fields are (evidently) null. So I would like to re-attach all the
 requirements that the page needs.

 I found out that this can be achieved by invoking the injector in the
 onAttach method of the webpage.

 InjectorHolder.getInjector().inject(this);

 Is this a good practice, or are there objections on doing this?
 Any help of all you guys is very much appreciated! Thanks in advance for any
 replies.




 --
 View this message in context: 
 http://www.nabble.com/Detaching-your-spring-dao%27s---business-objects-from-webpage-tf4048133.html#a11498533
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Detaching your spring dao's business objects from webpage

2007-07-09 Thread Martijn Dashorst
On 7/9/07, Tom Desmet [EMAIL PROTECTED] wrote:
 I used the @SpringBean annotation in combination with the transient keyword.
 I thought that all @SpringBean marked objects would get serialized when the
 field was not made transient.

The @SpringBean will replace the service with a proxy that knows how
to discover the services at deserialization time. The memory footprint
should be minimal, though there is some additional memory consumed.

http://cwiki.apache.org/WICKET/spring.html

Gives more insight into why this is a good thing (tm).

 So this is not the case? What will be serialized when the serialization
 routine tries to serialized the private members marked with @SpringBean? How
 will these objects be reinitialized after a page got deserialized?

The proxy does the lookup when necessary.

Martijn

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] NumberValidator allowing null fields ?

2007-07-08 Thread Martijn Dashorst
On 7/8/07, Thies Edeling [EMAIL PROTECTED] wrote:
  Why does setType set the required flag for primitives?

How can a primitive type ever be null? If you want to allow null
values, then the type needs to be Double, Float, Integer, Long, ...

If null is allowed, and an empty value was accepted, Wicket would have
a hard time processing that value and committing it to the model.

Martijn

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] access to private fields

2007-07-07 Thread Martijn Dashorst
On 7/7/07, Kent Tong [EMAIL PROTECTED] wrote:
 If we accept that 1) is a good reason for allowing private field access,
 then according to the same reasoning, we should always make our fields
 public and thus eliminate the need for getters and setters. As we are
 not going that, so I believe 1) is not a sufficient reason.

I think this is a strawman argument. You make a mosquito an elephant
in one step.
Monkeys like bananas, I like bananas, therefore I am a monkey.

Like it or not, propertymodels already break encapsulation, the law of
demeter and refactoring without having to resort to private accessors.
So if you go all OO, these things should never be used, especially
since there is a perfect OO alternative:

There is nobody preventing you to stop using PropertyModel and
implementing Model.getObject and Model.setObject yourself, providing
refactor safe, accessor only ways to bind your model to your
components. It is just a lot of work. Hell, you could even install a
security manager that prohibits PropertyModel completely.

If you don't like to do that (given the code explosion I can imagine
it), there is a second best alternative: name your fields different
from the bean accessors. Nobody is preventing you to do that either.

According to the best of my knowledge this was implemented because of
speed. Instead of having to search through methods hooking into the
fields saves quite some time.

Martijn

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Strange content serialized

2007-07-05 Thread Martijn Dashorst
If you run in DEVELOPMENT mode, we try to give you meaningful messages
when you fail to put a component definition in your html file. This is
done by creating a stack trace at the moment of component creation and
addition. This gives you line precise error messages in this case:

java:

public MyPage() {
add(new Label(foo, Hello, World));
}

html:

html
bodyspanFoo/span/body
/html

(note the missing wicket:id in the html file)

You can turn this off by selecting either: DEPLOYMENT mode in your
web.xml, or by disabling the component use check in your
application#init() method (default on for DEVELOPMENT and default off
for DEPLOYMENT)

Martijn

On 7/5/07, dx74a19 [EMAIL PROTECTED] wrote:

 Hi, I have a question about session files. (second level cache store)
 I was courious, why some of theese file are so big (100k +) so I opened one.
 I saw full of partial stack traces - like this:

 The ajaxsubmitbutton with id 'updateButton' that failed to render was added
  at
 com.panteon.wicket.markup.html.data.CRUDForm$Toolbar.init(CRUDForm.java:290)
  at
 com.panteon.wicket.markup.html.data.CRUDForm.newToolbarPanel(CRUDForm.java:25)
  at
 com.panteon.wicket.markup.html.data.DataForm.init(DataForm.java:23)
  at
 com.panteon.wicket.markup.html.data.RecordForm.init(RecordForm.java:17)
  at
 com.panteon.wicket.markup.html.data.CRUDForm.init(CRUDForm.java:10)
  at
 com.panteon.wicket.markup.html.data.CRUDForm.init(CRUDForm.java:17)
  at com.panteon.em1.panel.client.ClientForm.init(ClientForm.java:10)
  at
 com.panteon.em1.panel.client.ClientDetail.init(ClientDetail.java:15)


 All the files are full of this, hundreds of kb, probably for every component
 on my pages. It says: failed to render. (???)
 Yet, the application works perfectly fine, the console is quiet, the logs
 are ok... Why / What is this?

 Thx

 --
 View this message in context: 
 http://www.nabble.com/Strange-content-serialized-tf4028146.html#a11442083
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Copenhagen Wicket Users Group - interested?

2007-07-03 Thread Martijn Dashorst
I wonder how much spam this will attract :)

Martijn


-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket mailing list rules with regards to jobs

2007-07-03 Thread Martijn Dashorst
On 7/3/07, Matej Knopp [EMAIL PROTECTED] wrote:
 Hi Matt, as far as I know there are no strict rules.

 Basically, if the position involves Wicket, nobody objects against such posts.

Specifically targets Wicket developers to be more exact. No general
catch all 'Wicket, Tapestry, JSF, Struts, WebWork, Stripes' job ads
please.

Martijn


-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] modal window image resources

2007-07-02 Thread Martijn Dashorst
Use the search!

http://www.nabble.com/forum/Search.jtp?query=how+to+customize+modalwindow+images+csslocal=yforum=13974

Martijn

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Apache Wicket 1.3.0-beta2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] [ann] Apache Wicket 1.3.0-beta2 has been released

2007-06-30 Thread Martijn Dashorst
This is the second beta for Apache Wicket we have prepared for your
pleasure. It also marks the first release since we have been graduated to a
top level project of the Apache Software Foundation.

In this announcement:
- Apache Wicket
- This release
- Migrating from 1.2
- Downloading the release
- Validating the release
- Reporting bugs

Eager people click here to download the distribution, others can read further:

http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

We thank you for your patience and support. Next stop: 1.3 final!

The Wicket Team

-= Apache Wicket =-

Apache Wicket is a component oriented Java web application framework currently
undergoing incubation at the Apache Software foundation. With proper
mark-up/logic separation, a POJO data model, and a refreshing lack of XML,
Apache Wicket makes developing web-apps simple and enjoyable again. Swap the
boilerplate, complex debugging and brittle code for powerful, reusable
components written with plain Java and HTML.

We are still in the process of migrating our infrastructure to reflect our top
level status, so for now the Apache Wicket website is still found at the
incubator:

http://incubator.apache.org/wicket

-= This release =-

This release is the second in a series of beta releases until we feel
confident to finalize Wicket 1.3. This is called a beta because we don't have
fixed all bugs, and probably haven't found them all either (can you ever be
sure?). However, we are confident that most major API changes are in and
therefore want to give you access to a more stable platform than depending on
trunk.

The most notable change (apart from then numerous bug fixes) is the new Guice
integration: Wicket now ships with integration for Google's Guice. To make
that happen, some shared functionality has been extracted from Wicket Spring
and put into a new module: Wicket IoC.

- Migrating from 1.2 -

If you are coming from Wicket 1.2, you really want to read our migration
guide, found on the wiki:

http://cwiki.apache.org/WICKET/migrate-13.html

- Downloading the release -

You can download the release from the official Apache mirror system, and you
can find it through the following link:

http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/

For the Maven and Ivy fans out there: update your pom's to the following, and
everything will be downloaded automatically:

dependency
groupIdorg.apache.wicket/groupId
artifactIdwicket/artifactId
version1.3.0-beta2/version
/dependency

Substitute the artifact ID with the projects of your liking to get the other
projects.

Please note that we don't prescribe a Logging implementation for
SLF4J. You need to specify yourself which one you prefer. Read more
about SLF4J here: http://slf4j.org

- Validating the release -

The release has been signed by Martijn Dashorst, your release manager
for today. The public key can be found in the KEYS file in the
download area. Download the KEYS file only from the Apache website.

http://www.apache.org/dist/wicket/1.3.0-beta2/KEYS

Instructions on how to validate the release can be found here:

http://www.apache.org/dev/release-signing.html#check-integrity

- Reporting bugs -

In case you do encounter a bug, we would appreciate a report in our JIRA:

http://issues.apache.org/jira/browse/WICKET

-= The distribution =-

In the distribution you will find a README and a RELEASENOTES. The README
contains instructions on how to build from source yourself, the RELEASENOTES
contains a list of all things that have been fixed, added and/or removed since
the first beta release.


Release Notes - Wicket - Version 1.3.0-beta2

** Bug
* [WICKET-4] - Page.onBeginRequest() [and consequently .onAttach()]
not called when form on page is submitted.
* [WICKET-40] - Parameters of nice URL's pages with 'sensitive' characters
* [WICKET-65] - Handle String array in PageParameters
* [WICKET-139] - DefaultTreeState allowSelectMultiple == false not
evaluated when selecting node already selected
* [WICKET-175] - Page.onDetach is called by each ComponentResourceRequestTarget
* [WICKET-254] - Allow to set field values before submitting a form
with Ajax in WicketTester
* [WICKET-293] - PackageRequestTargetUrlCodingStrategy should
interrupts the cycle and sends a 404 when a page/class cannot be
found.
* [WICKET-319] - No java source code in examples
* [WICKET-323] - AjaxEditableLabel on setModel does not update the
labels model only the editors
* [WICKET-341] - [Patch] AjaxServerAndClientTimeFilter either throws
an exception or displays a wrong text
* [WICKET-370] - wicket.jmx.Application.getHomePageClass() returns
Application's class name
* [WICKET-373] - Some components miss localization (NavigatorLabel, Palette)
* [WICKET-377] - Editing an AjaxEditableLabel, going to a new page,
clicking the back button and editing the label again makes the page
expire.
* [WICKET-405] - StatelessForm and setRedirect(true) in the onSubmit method
* [WICKET-409

Re: [Wicket-user] pagemap locking

2007-06-29 Thread Martijn Dashorst
We could try retrotranslator to see what kind of code is emitted?

Martijn

On 6/29/07, Johan Compagner [EMAIL PROTECTED] wrote:
 Yeah i think that code i also did see, this should go into the next version
 yes.
 But i dont see how we can do that easy for java 4

 johan


 On 6/28/07, Jonathan Locke [EMAIL PROTECTED] wrote:
 
 
  yeah, i just figured that out.  i'll just patch our wicket for now.  but
 we
  should add this for wicket 1.4 (in a nicer way than this (generic utility
  method), of course):
 
  final
 StringBuilder builder = new StringBuilder();
 
 StackTraceElement[]
 elements = t.getStackTrace();
  for (int
 i = 0; i  elements.length; i++) {
 
 builder.append(elements[i]);
  }
  throw new
 WicketRuntimeException(After  + timeout +  the Pagemap 
 
 +
 pageMapName +  is still locked by:  + t
 
 +
 , giving up trying to get the page for path:  + path + \nStack
  Trace:  + builder.toString());
 
 
 
  Eelco Hillenius wrote:
  
   makes sense all right.  is there any way we could print out a stack
 trace
   of
   the thread that's holding the monitor we're trying to grab?  maybe via
   JMX?
   this would be extremely useful when this exception is thrown!
  
   We've had a thread about that, and the conclusion was that this is
   possible (I believe Johan built it) but only with Java 5.
  
   Eelco
  
  
 -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
  --
  View this message in context:
 http://www.nabble.com/pagemap-locking-tf3996742.html#a11351736
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Paging data without using DataProvider.size() ?

2007-06-29 Thread Martijn Dashorst
The most interesting questions is of course: what database? Perhaps
someone here knows how to get the count(*) faster? you might want to
do a select count(primary_key) instead of *.

As an answer to your question: you could use Integer.MAX_VALUE.

Martijn

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RefreshingView and Link.setAutoEnable

2007-06-29 Thread Martijn Dashorst
How would the Link know to which page it is linking? You need to provide

protected boolean linksTo(final Page page)

See the code for Link#isEnabled():

/**
 * @see wicket.Component#isEnabled()
 */
public boolean isEnabled()
{
// If we're auto-enabling
if (getAutoEnable())
{
// the link is enabled if this link doesn't link to the 
current page
return !linksTo(getPage());
}
return super.isEnabled();
}

Martijn

On 6/29/07, Vadim Tesis [EMAIL PROTECTED] wrote:
 all,

 i'm trying to create a list of links using Refreshing view in wicket 1.3.
 for some reason if i call Link.setAutoEnable(true) it doesn't really work,
 the link is enabled all the time.  however if i override Link.isEnabled()
 method it works, the link becomes disabled on the page it points to.
 there're 3 classes: BasePage, and HomePage, SignInPage which extend
 BasePage.  i'm creating RefreshingView in the BasePage.
 the code is below.  am i doing something wrong?

 Thanks,
 Vadim

 HTML:
 ul 
 li wicket:id=refreshingView
   a href=# wicket:id=item[Item Here]/a
 /li
 /ul

 Java:
 public class BasePage
 {
 Form form = new ...;
 final ListIModel items = new ArrayListIModel();
 items.add(new AbstractReadOnlyModel()
{
  private static final long serialVersionUID = 1L;
 @Override
  public Object getObject()
 {
 return (new Link(item)
 {
 //@Override
 //public boolean isEnabled() { return (getPage().getClass() !=
 HomePage.class); }
   @Override
   public void onClick() { setResponsePage(HomePage.class); }
 // });
 }.setAutoEnable(true));
 }
   });
 items.add(new AbstractReadOnlyModel()
 {
 private static final long serialVersionUID = 1L;
 @Override
 public Object getObject()
 {
   return (new Link(item)
 {
 //  @Override
 //  public boolean isEnabled() { return (getPage().getClass() !=
 SignInPage.class); }
 @Override
 public void onClick()
 { setResponsePage(SignInPage.class); }
 //  });
 }.setAutoEnable(true));
 }
 });

 form.add(new RefreshingView(refreshingView)
 {
 @Override
 protected Iterator getItemModels() { return items.iterator(); }
 @Override
 protected void populateItem(Item item_)
 {
AbstractLink al = (AbstractLink) item_.getModelObject();
if (item_.getIndex() == 0)
  item_.add(new AttributeAppender(class, true, new
 Model(firstelement), ));
item_.add(al);
 }
 });

 add(form);
 }

 _
 Don't miss your chance to WIN $10,000 and other great prizes from Microsoft
 Office Live http://clk.atdmt.com/MRT/go/aub0540003042mrt/direct/01/



 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RefreshingView and Link.setAutoEnable

2007-06-29 Thread Martijn Dashorst
On 6/29/07, Vadim Tesis [EMAIL PROTECTED] wrote:
 i see.  i guess i assumed that the Link knows about the page it's linking
 from setResponsePage() in onClick().

Heh, you have too much awe for Wicket: that would require either
running the onClick upfront (the isenabled check also determines how
the link is rendered!), which can have a lot of consequences, or
analyzing the bytecode (which may have some security issues), and try
to come up with something magical.

 so, in this use case is there any difference whether to override linksTo()
 or isEnabled()?  i think overriding isEnabled() is more generic, if latter
 i'll need to add more logic to disable the link this will be the place to do
 it.  anything else?

This is a correct analysis of the situation.

Martijn

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] replaceWith() not working

2007-06-29 Thread Martijn Dashorst
Try a reuse items strategy to see if that works?

Martijn

On 6/29/07, Evan Chooly [EMAIL PROTECTED] wrote:
 A thought occurred to me.  I'm doing this panel replacement inside a
 DataTable.  So when the DT rerenders could it be overwriting the change I
 just made?  Because this panel replacement wouldn't really change the state
 of the DT so when it rerenders itself it would render it's entire tree as it
 iterates across all the rows and overwrite what I just changed.  That sounds
 like the probably culprit.  Thoughts?


 On 6/29/07, Evan Chooly  [EMAIL PROTECTED] wrote:
  It is not.  I'm not entirely sure what's broken here.  I'm assuming that
 tests exist in wicket for this and that it works there so the problem has
 *got* to be on my end.  I'm just not seeing it.  I'll turn logging back on
 and dig through each line.  There's just so much info there...  sigh/
 
 
 
  On 6/29/07, Johan Compagner  [EMAIL PROTECTED] wrote:
   it is not by accident an ajax request right?
  
  
  
   On 6/28/07, Evan Chooly  [EMAIL PROTECTED] wrote:
   
On 6/28/07, Eelco Hillenius  [EMAIL PROTECTED] wrote:
   
  public void onClick() {
  DeleteLink.this.replaceWith(new
  ConfirmDeletePanel(DeleteLink.this.getId(), really delete?) {
  @Override
  protected void onCancel() {
  replaceWith(DeleteLink.this);
  }
 
  @Override
  protected void onConfirm() {
  Filter filter =
  (Filter)getParent().getParent().getModelObject();
  service.delete(filter);
  replaceWith(DeleteLink.this);
  }
  });
  }

 Code looks fine to me. And I'm using replaceWith quite a bit and it
 works fine. Can you try to set a break point in onClick, see if it
 arrives there and step into the replace code?
   
   
The onClick() is definitely getting called (I set breakpoints this
 morning...) but the panel just isn't getting replaced.  Now, is there any
 problem with replacing a link (in this case) with a panel?  There's no
 impedence mismatch between the a and the span that would normally get
 used?
   
   
   
 -
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
  
  
  
 -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Panel doesn't use changed model

2007-06-28 Thread Martijn Dashorst
It seems that the error is in the Panel. Can you post that code too?

Martijn

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Panel doesn't use changed model

2007-06-28 Thread Martijn Dashorst
On 6/28/07, Pieter Cogghe [EMAIL PROTECTED] wrote:
 public class SectionPanel extends Panel {
 public SectionPanel(String id, IModel model) throws ApplicationException
 {
 super(id,model);
 //title
 this.title = new Label(title, new PropertyModel(model.getObject
 (this), some.property));


Here is your problem: new PropertyModel(model.getObject(this), foo);

you bind the PropertyModel on construction time to the model object.
When you change the Model of the panel, the PropertyModel is not
notified of this change.

You can do this:

new PropertyModel(model, foo)

instead.

Martijn

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Panel doesn't use changed model

2007-06-28 Thread Martijn Dashorst
On 6/28/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
 new PropertyModel(model, foo)

erhm...

not quite there yet... You should also notify the property model in
the setModel of your panel.

In this case you have a push type of model binding. It usually is a
better model to adopt a pull type model.

for instance, replace PropertyModel with:

new Model() {
public Object getObject(Component c) {
return ((FooObject)MyPanel.this.getModelObject()).getMyProperty();
}
}

This will always update, and is refactor safe.

Martijn


-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Panel doesn't use changed model

2007-06-28 Thread Martijn Dashorst
The problem lies in the references. In your first version, you kept a
direct reference to the model object passed in at construction time.
At that moment, the property model keeps a reference to that object.

When you changed the Model of the panel, the property model was not
notified: there is no way for the property model to know the model has
changed: it kept a private reference to that object. So when you
called setModel() on your panel, you should have 'rebound' the label
with a new propertymodel pointing to the new object of the new model.

In my first reply, I gave the property model a reference to the panel
model instead, so that the model is nested. This allows the panel
model to receive a new object, and have that reflect in the property
model too: it will use the panel model to lookup the model object. But
in your case, you explicitly replace the model of the panel, not the
model object. So that is again a new reference, and the propertymodel
has no notion of that reference. Basically it is the same scenario as
the first one.

The final one does the look up explicitly: the getObject() method asks
the panel for the model, so any change in references is taken care of.

I hope this is a bit more clear... talking about models and objects
and nesting them makes my head hurt so I can understand that it may be
hard to grasp.

If you want a better understanding, try to draw a picture with
references and objects and see how they interact.

Martijn

On 6/28/07, Pieter Cogghe [EMAIL PROTECTED] wrote:
 Thanks, that works. I really didn't know what I did wrong, nut I understand
 the reasoning behind it.

 2007/6/28, Martijn Dashorst [EMAIL PROTECTED] :
 
  On 6/28/07, Martijn Dashorst  [EMAIL PROTECTED] wrote:
   new PropertyModel(model, foo)
 
  erhm...
 
  not quite there yet... You should also notify the property model in
  the setModel of your panel.
 
  In this case you have a push type of model binding. It usually is a
  better model to adopt a pull type model.
 
  for instance, replace PropertyModel with:
 
  new Model() {
  public Object getObject(Component c) {
  return
 ((FooObject)MyPanel.this.getModelObject()).getMyProperty();
  }
  }
 
  This will always update, and is refactor safe.
 
  Martijn
 
 
  --
  Wicket joins the Apache Software Foundation as Apache Wicket
  Join the wicket community at irc.freenode.net: ##wicket
  Wicket 1.2.6 contains a very important fix. Download Wicket now!
  http://wicketframework.org
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 



 --
 Pieter Cogghe
 Ganzendries 186
 9000 Gent
 0487 10 14 21
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] pagemap locking

2007-06-28 Thread Martijn Dashorst
Yep, long running request blocks incoming request.

Martijn

On 6/28/07, Jonathan Locke [EMAIL PROTECTED] wrote:


 getting this exception.  seems like a request thread might be hanging with
 the page map locked?  anyone have any ideas?  thanks!

 [11:19:44] ERROR - RequestCycle   - After 1 minute the Pagemap
 null is still locked by: Thread[ajp-8009-1,5,main], giving up trying to get
 the page for path: 2:form:tagEditorPanel:addTagForm:newTagField
 org.apache.wicket.WicketRuntimeException: After 1 minute the Pagemap null is
 still locked by: Thread[ajp-8009-1,5,main], giving up trying to get the page
 for path: 2:form:tagEditorPanel:addTagForm:newTagField
 at org.apache.wicket.Session.getPage(Session.java:714)
 at
 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:427)
 at
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:139)
 at org.apache.wicket.RequestCycle.step(RequestCycle.java:1090)
 at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1176)
 at org.apache.wicket.RequestCycle.request(RequestCycle.java:499)
 at
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:257)
 at
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:127)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 at
 org.apache.catalina.cluster.tcp.ReplicationValve.invoke(ReplicationValve.java:346)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 at
 org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:425)
 at
 org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:452)
 at
 org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
 at java.lang.Thread.run(Thread.java:619)


 --
 View this message in context: 
 http://www.nabble.com/pagemap-locking-tf3996742.html#a11350774
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Classcastexception and getSession

2007-06-28 Thread Martijn Dashorst
Heh... nice discovered one!

This one goes into the books of nasty things not to do.

Martijn

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Markup of type 'html' for component

2007-06-27 Thread Martijn Dashorst
On 6/27/07, Watter [EMAIL PROTECTED] wrote:
 which seems to talks about the same issue. I apologize for the duplicate.

In the future, please provide at least the Wicket version you are
working with, and any changes you made to the defaults (directories
where html files are stored, etc)

Martijn


-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 1.3 roadmap

2007-06-27 Thread Martijn Dashorst
Working on the release beta 2 as we speak.

Martijn


On 6/27/07, ZedroS [EMAIL PROTECTED] wrote:

 Hi all

 Is it possible to have some update on this topic ? Especially the release
 date which should be imminent :)

 Thanks in advance
 ZedroS
 --
 View this message in context: 
 http://www.nabble.com/Wicket-1.3-roadmap-tf3620901.html#a11332321
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Odd Refresh Page Behavior

2007-06-27 Thread Martijn Dashorst
On 6/27/07, mchack [EMAIL PROTECTED] wrote:
 Forgot to mention I am using Version 1.3.

How recent? Are you working of off head? or an older snapshot? or even beta1?

Martijn

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] newbie-Question

2007-06-26 Thread Martijn Dashorst
Don't use page link!

Use PageLink only if you actually know what you are doing.

In this case: you should use the normal Link and set the responsepage
in the onclick.

Page1 {
... counter ...

add(new Link(page2) { onclick() { setResponsePage(new
Page2(Page1.this)); });
...
}


Page2 {
private Page returnToPage;
public Page2(Page returnTo) {
this.returnToPage = returnTo;

add(new Link(page1) { onclick() { setResponsePage(returnToPage); }});
}
}

Don't do the following, I repeat: the following is REALLY BAD:

add(new PageLink(page1, new Page1()));
add(new PageLink(page2, new Page2()));
add(new PageLink(page3, new Page3()));

Don't do that! It will exhaust your memory (you create pages upfront,
even when they never will be used). Remember what the 'new' keyword
does?

Martijn


On 6/26/07, Maurice Marrink [EMAIL PROTECTED] wrote:
 Sure :)

 In page 1 you do add(new PageLink(start, Foo.class));
 because you are using the class reference to your 2nd page here wicket
 always creates a new instance, the same happens with the pagelink on
 page2 where you go back to page 1.

 The trick is to tell wicket to use an existing page.
 so on page 1 we could do this
 add(new PageLink(start, new IPageLink()
 {
  public Page getPage()
 {
  //now we can decide which instance / constructor we use
  //in this case a new page is fine
  return new Foo(HelloWorld.this);
 }
 public Class getPageIdentity()
 {
  return Foo.class;
 }
 }));

 Because we now pass the first page to the 2nd page we need to alter
 the constructor of the 2nd page

  public Foo(Page returnPage) {
add(new Label(message, Foo page));
 //this basically wraps your page in an IPageLink like we did manually on page 
 1
Link pl = new PageLink(return, returnPage);
pl.add(new AttributeAppender(class, new Model(return),  
 ));
add(pl);
}

 And thats all there is to it.
 And i did not even have to use a regular link like i though we would
 have to in my previous response :)

 Maurice

 On 6/26/07, Leucht, Axel [EMAIL PROTECTED] wrote:
  Thx for the quick answer, but being a newbie can I ask you to elaborate it 
  a little bit more?
 
  Regards
 
  /Axel
 
 
  -Ursprüngliche Nachricht-
  Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Auftrag
  von Maurice
  Marrink
  Gesendet: Dienstag, 26. Juni 2007 11:07
  An: wicket-user@lists.sourceforge.net
  Betreff: Re: [Wicket-user] newbie-Question
  
  
  You need to pass a reference for page 1 to page 2 and then instead of
  using a pagelink on page2 to return to page1 use a regular link which
  sets the responsepage to the instance of page 1 you passed to page 2.
  
  Maurice
  
  On 6/26/07, Leucht, Axel [EMAIL PROTECTED] wrote:
   Sorry if this is a dumb question and has been answered
  hundred times but I couldn't find any answer to the following
  question.
  
   I do have two HTML pages. Page one contains a link which
  displays the number on clicks the user executed. The second
  link jumps to page 2. Page 2 just displays a link to go back
  to page 1.
  
   Assume that user clicks 5 times on the ClickCounter link in
  page 1 and hence the link displays as 'This link is clicked 5
  times'. When the user the switches to page 2 and immediately
  goes back to page 1 the counter is reset to 0 and rendered as
  'This link is clicked 0 times'.
  
   What am I doing wrong here? I assumed that clicking on the
  return-button on page 2 goes back to the original session
  in page 1 ?!
  
   Here is my Java classes:
   -- page 1 ---
   public class HelloWorld extends WebPage implements Serializable {
   public HelloWorld() {
   add(new Label(message, Foo World!));
   add(new PageLink(start, Foo.class));
   final ClickCount count1 = new ClickCount();
   Link link1 = new Link(link1) {
   public void onClick() {
   count1.clicks++;
   }
   };
   link1.add(new Label(label1, new Model() {
   public java.lang.Object
  getObject(Component component) {
   return
  Integer.toString(count1.clicks);
   }
   }));
   add(link1);
   }
  
   class ClickCount implements Serializable {
   private int clicks = 0;
   }
   }
   --- page 2 ---
   public class Foo extends WebPage {
   public Foo() {
   add(new Label(message, Foo page));
   Link pl = new PageLink(return, HelloWorld.class);
   pl.add(new AttributeAppender(class, new
  Model(return),  ));
   add(pl);
   }
   }
   /Axel
  
  
  --
  ---
   This SF.net email is sponsored by DB2 

Re: [Wicket-user] Wicket 1.2.4 - Cross session concurrency issues

2007-06-26 Thread Martijn Dashorst
On 6/26/07, Seldon, Richard [EMAIL PROTECTED] wrote:
 Martijn - Thanks for your helpful email. The links to the issues list did
 the trick regarding issues tracking.

No problem, just trying to help out.

 Server that would permit usage of Java 1.5. Depending upon IBM and its plans
 for  future releases, and buy in from our Company to adopt the future
 releases and undertake such a migration - we must accept that we are
 working with Java version 1.4. Personally, i wish we were in a position to
 use 1.5 :(

Any ideas then when that is slated to happen? The IBM move I mean? I
sure hope it is not 2 years ahead! Probably Wicket moving to 1.5 is
not your problem then, but more a stagnant product line of IBM.

You are aware that JDK 6 has a supposed increase in performance
out-of-the-box of about 30%?

 Would the patch ( revision 529917 that specifically addresses the critical
 bug in 1.2.4) suffice? Or are there other fixes included with 1.2.6 that
 relate to a security implication fix? As above, a change of Wicket release
 to our code base this close to go-live would rather be avoided if possible.

I think that that patch is sufficient to fix the particular security
related bug.

 Are you saying that 1.3 supports Java 1.4 for all dot releases therein.

Yes, for the projects residing in the JDK-1.4 subdirectory. We will
not move projects based on jdk 1.4 to jdk 1.5 in Wicket 1.3

 As of Wicket 1.4 there will be a dependency upon 1.5. Again, just looking for
 explicit response on this.

Yes, but we may call that one 2.0.

 Commercially, we are an example where usage of
 1.5 just is not viable. I believe the decision to go with 1.5 will currently
 preclude a significant proportion of third party service vendors.

I think the market is migrating to JDK 1.5, or has largely migrated to
it already. However, Wicket 1.3 is good enough to be around until the
migration has completed.

 Specifically, for stake holders currently investing in Wicket as a viable
 web framework on large scale development projects where Java 1.4 is the
 officially supported version what is the position? You imply that such stake
 holders can be assured that defects raised in 1.3 will be addressed in 1.3.

I can't give assurance: the Wicket project is based on individuals. I
can tell a story that would make things less threatening: our
community is diverse (scattered across continents, making the bus
factor less). There are several core people on the Brittish island, so
you may be able to contract them more easily, or even coerce into
providing support by supplying ample amounts of beer. And you can join
the community.

If you want you can strive to join the Wicket core: write
documentation, create unit tests, fix issues, provide patches. We will
notice that and eventually (possibly sooner than later) grant commit
karma. Apache is a meritocracy: earn merit and get privileges. This
way is open to anyone! You will become part of the community, so you
will need to abide by its rules.

 Does Apache provide such assurance? We understand that this assurance would
 not necessarily include enhancements but only bug fixes.

Apache does not provide assurance for fixing bugs. If you want
assurance, then you'll either need to fix it yourself, or hire some
third party to do so.

Instead, Apache provides assurance of a healthy community. A healthy
community typically assures that bugs are fixed :). Fixing bugs can
only happen when relevant bug reports are submitted, and they will be
fixed even more quickly when a reproducable testcase is provided. The
best way to get something fixed is by providing a patch.

Most of the core conttributors have projects running on Wicket 1.3.
Some of them will move onward with newer Wicket versions, others will
keep running on 1.3. Fixing bugs in 1.3 will be a priority, but we of
course expect that the number of bugs for 1.3 will become less and
less, just as happened with 1.2 and 1.1 before that.

When 1.3 is the mainstream release, support for 1.2 will be limited to
critical bugs only, and probably 1.2.7 will be the last release for
that branch, unless something critical pops up.

Support for any particular version is based on the interest of the
community. If someone has an interest in providing it (because he
wants to be nice, or has his own project running it, or because it
helps the framework, or the community) then the release will be
supported.

One of the greatest examples of a community effort is Maven 1: the
core team moved on to build maven 2, which is a complete rewrite.
Several people wanted to keep supporting maven 1, and just released
Maven 1.1. It took them long enough, but they got there. The same
thing can happen with the JDK 1.4 version of Wicket. If enough people
have an interest in providing new functionality for the project, then
it can keep growing. Or else you can take a look at the retroweaver
project to see how that helps in adopting JDK 1.5 code for your Java
1.4 based project.

Martijn

-- 

Re: [Wicket-user] javascript error 'too much recursion 'ifcalendar.js is included more than once

2007-06-26 Thread Martijn Dashorst
What are you talking about? 1.2.6 is binary compatible with 1.2.2, or
at least that should be the case. If it is not, then that is a bug.

Martijn

On 6/26/07, Nili Adoram [EMAIL PROTECTED] wrote:
 even upgrade to 1.2.6  is involved with lots of adoptions.
 the question is whether it will solve this issue.

 Timo Rantalaiho wrote:
  On Tue, 26 Jun 2007, Nili Adoram wrote:
 
  I am afraid I cannot upgrade at the moment since we don't have the time
  for massive API changes of 1.3.
 
 
  1.2.2 is really ancient, you should use 1.2.6.
 
  - Timo
 
 

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Helloworld using Tomcat

2007-06-26 Thread Martijn Dashorst
The example states:

In all the Wicket examples, you have to put all files in the same
package directory. This means putting the markup files and the java
files next to one another.

Watch this video to see what we mean:

http://wicketframework.org/wicket-quickstart/demos/EclipseDemo.html

Martijn

On 6/26/07, tnjtn1 [EMAIL PROTECTED] wrote:

 HI,

 I am newer to wicket. just i am trying to use HelloWorld program following
 this below url with Tomcat5.0 server.

 http://wicket.sourceforge.net/ExampleHelloWorld.html

 1) I have place java file under  src folder.
 2) I have placed HelloWorld.html file under webContent folder.

 when i run the Helloworld.html file, it display only  --  Message goes
 here . But it won't display the content of label component..

 where i took mistake..?

 Thanks  Regards,
 kumar
 --
 View this message in context: 
 http://www.nabble.com/Wicket-Helloworld-using-Tomcat-tf3982219.html#a11305084
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] javascript error 'too much recursion 'ifcalendar.js is included more than once

2007-06-26 Thread Martijn Dashorst
I remember many quarrels about maintaining binary compatibility... Are
you saying those were for nothing?

/me crawls back in cave

Martijn

On 6/27/07, Matej Knopp [EMAIL PROTECTED] wrote:
 I believe even i 1.2.6 isn't binary compatible (there might be some
 very small minor changes that slipped in by accident), it's still
 should be almost drop-in replacement, and the upgrade should be rather
 painless.

 Wicket 1.2.2 is from august 2006, that's almost a year ago.

 -Matej


-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 1.2.4 - Cross session concurrency issues

2007-06-25 Thread Martijn Dashorst
On 6/25/07, Seldon, Richard [EMAIL PROTECTED] wrote:
 Really keen to know best place to get a list of outstanding defects between
 releases wicket 1.2.4 and 1.2.6  is located? Are there release notes / URL
 links etc with this info easily available? Apache issues list starts with
 version 1.2.7 but this is no good in our case.

Click on the 'Releases' tab and you can see *all* releases. Then you
have release notes for 1.2.5 and 1.2.6:

* 
http://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310561styleName=Htmlversion=12312236

* 
http://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310561styleName=Htmlversion=12312305


 Our concurrency problem can be reproduced without load testing s/w and
 (after exhaustively going through all our static code usages and other
 possible areas of contention) likely explanation now sits with the version
 of Wicket we're using. The Wicket website does include a section about a
 critical bug in 1.2.4. In our case, if this is the problem, then it has
 proven to be a show-stopper.

Not knowing the details of your concurrency problem, I would urge
anyone to upgrade to 1.2.6, because of the security implications of
said bug.

Now that you have it reproducable, could you provide a
quickstart/other test so we can fix it? And before that, use 1.2.6 to
see if that fixes your problem?

 We are hoping to go live with our production release of SOA app in next few
 days and have concluded we may need to either go with 1.2.6  (if the
 migration is proven to fix our defects in test environments) or apply a
 patch to 1.2.4 that covers just whats needed from 1.2.6 to fix the
 cross-session issues.

What is preventing you to upgrade to 1.2.6?

 One other point I'd really like to hear discussion about:- we're using
 WID version 2.0.1.2 which provides support for Java 1.4. At present, this
 limits us up to Wicket 1.3 - will there be ongoing maintenance support for
 users unable to migrate further due to limitations in the current app server
 versions of Java support available?

JDK 1.5 is already 2 years available. We have held off developing 1.5
features for long enough IMO.

That said, we will support Wicket 1.3 for bug fixes, and possibly some
features will be backported (portlet support may be one such feature),
but that is based on available interest, and the impact of said
feature on 1.3. Usually we shy away from API breaks, providing a
binary compatible release on maintenance branches. And yes
*eventually* we will stop support for 1.2 and 1.3 as technology
progresses: this is a volunteer project and we only have limited time
and resources.

If you are anxious with respect to support for older versions, you
might want to consider paid support. Wicket Support
(http://wicket-support.com) will be happy to give you options.

 As developers, we're definitely pro-Wicket but getting nervous regarding
 this project's usage of Wicket and outstanding defects. Especially with
 migration route options outlined above.

I really don't understand what you are saying here.

Martijn

-- 
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] [Wicket-User] Spring+Hibernate questions

2007-06-24 Thread Martijn Dashorst
And if you have about 100 DAO's, then your application class will get bloated.

Martijn
-- 
BREAKING NEWS: Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How can we change a component dynamically in Wicket ?

2007-06-21 Thread Martijn Dashorst
On 6/21/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 if you dont want to see the div and using wicket 1.3 you can use
 wicket:container instead of div, eg, wicket:container
 wicket:id=placeholder/wicket:container

Or setRenderBodyOnly(true);

Martijn

-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RadioGroup and AjaxFormComponentUpdatingBehavior

2007-06-21 Thread Martijn Dashorst
That is some serious archive browsing at work! :)

The issues on sf.net have been closed for the public, because we
couldn't make them read only (when we moved to Apache).

I am afraid it got lost in the transfer to apache.

Martijn

On 6/20/07, JulianS [EMAIL PROTECTED] wrote:

 Martijn,

 Was this ever fixed for 1.2.x? The link below gives the error Only Group
 Members Can View Private ArtifactTypes.

 Thanks,
 Julian

 Martijn Dashorst wrote:
 
  I already created a bug report:
  http://sourceforge.net/tracker/index.php?func=detailaid=1501513group_id=119783atid=684975
 
  It will probably be fixed for 1.2.1, or else in a later release,
  depending on the pressure for 1.2.1
 
  Martijn
 

 --
 View this message in context: 
 http://www.nabble.com/RadioGroup-and-AjaxFormComponentUpdatingBehavior-tf1789105.html#a11217673
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
BREAKING NEWS: Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket -compenent

2007-06-21 Thread Martijn Dashorst
Buy Pro Wicket please, read the wiki, and most importantly read
http://www.catb.org/~esr/faqs/smart-questions.html

As for the catalogue, how difficult is it to click on the link with
the name components on our website?

http://wicketstuff.org/wicket13/compref/


Martijn

On 6/21/07, tnjtn1 [EMAIL PROTECTED] wrote:

 I meant  (http://wicket.sourceforge.net/wicket-quickstart/eclipse.html]). In
 this url they mentioned about label component  discussed in wicket
 framework. So I asked How many components available in wicket..? Give the
 syntax of each component. or give some url related to that wicket.

 Thanks  Regards,
 kumar



 Eelco Hillenius wrote:
 
  give the syntax of wicket component .
  Regards,
 
  Could you please be a tiny little bit more specific please? :)
 
  Eelco
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 --
 View this message in context: 
 http://www.nabble.com/wicket--compenent-tf3956739.html#a11229534
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
BREAKING NEWS: Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] About multiple wicket:extend in markup inheritance

2007-06-21 Thread Martijn Dashorst
On 6/21/07, ccc rrr [EMAIL PROTECTED] wrote:
 If not , what we can do to achieve the purpose ?

Search the archives:
http://www.nabble.com/forum/Search.jtp?query=wicket+childlocal=yforum=13974daterange=0startdate=enddate=

Martijn


-- 
BREAKING NEWS: Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Real World Performance!

2007-06-21 Thread Martijn Dashorst
On 6/22/07, Ballist1c [EMAIL PROTECTED] wrote:
 cool your jets mate... your never going to get rid of stupidity...

lol :)

Martijn

-- 
BREAKING NEWS: Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Textfield inside RadioChoice

2007-06-20 Thread Martijn Dashorst
I just looked up the spec, and the span tag is really allowed to
contain other elements, specifically formcontrols:

http://www.w3.org/TR/html401/sgml/dtd.html#inline

The span definition is a couple of lines below the provided anchor.

Martijn

On 6/20/07, Timo Rantalaiho [EMAIL PROTECTED] wrote:
 On Tue, 19 Jun 2007, Saad, Salma wrote:
  So it looks like I cannot have a textfield inside of a span.

 I think that in HTML, span isn't supposed to contain any
 tags.

 - Timo

 --
 Timo Rantalaiho
 Reaktor Innovations OyURL: http://www.ri.fi/ 

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Portlet Support? Examples and Documentation?

2007-06-20 Thread Martijn Dashorst
http://www.nabble.com/forum/Search.jtp?forum=13974local=yquery=portlet+support

On 6/20/07, manuel barzi [EMAIL PROTECTED] wrote:
 Dear Sirs,

 When we started using Wicket in our project one of the major
 motivation was its support for Portlet implementation.

 This week, we have migrated our wicket-implemented WebApp to
 PortletApp, asuring there are no compilations errors, and everything
 seems to go right.

 Now we need to pack it in a portlet-war and deploy it in Liferay
 Portal. The matter is now, at Wicket's Site, we cannot find the
 wicket-portlet-examples, neither Wicket Portlet Documentation. It's
 like if portlets have suddenly disappeared from Wicket's!

 What happened with Wicket Portlet Support?

 Please, dont mention it is not supported anymore... that would be a
 disaster for us... ;)

 Thank you.

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Portlet Support? Examples and Documentation?

2007-06-20 Thread Martijn Dashorst
On 6/20/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 As you're on Wicket 1.2.6, use the portlet support that comes with
 that.
+1

 For 1.3 and onwards, you should be able to run any Wicket
 applications/ pages just as a portlets without further fuzzing around.
 At least, that's what Ate has been promoting.

In fact, that specific support is only available in an experimental
branch. Will be merged back into core after 1.3 final has been
released.

Martijn

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket MADE the grade

2007-06-20 Thread Martijn Dashorst
Congratulations!

And beta 2 is coming possibly next weekend. Otherwise, just use
the snapshots.

Martijn

On 6/20/07, Francisco Diaz Trepat - gmail
[EMAIL PROTECTED] wrote:
 Hi guys, from a discarded framework to the choice in hand. Wicket was chosen
 by my company to start a migration project of its products.

 Is there a way to get latest 1.3 beta2 with java 1.5?

 to get started... ;-)

 Thanks to ALL of you for all your help.


 ELCO... THE BOOK MAN. COME ON!!!

 jejejeje

 Well great news for me because wicket kicks ass!!!

 f(t)
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] [announce] Apache Wicket

2007-06-20 Thread Martijn Dashorst
We have Graduation! Apache Wicket is established as a top level
project within the Apache Software Foundation.

From Greg Stein:

 Original Message 
Subject: Apache Board Meeting, June 20, 2007 (new officers!)
Date: Wed, 20 Jun 2007 12:45:06 -0700
From: Greg Stein
Reply-To: members@
To: members@

Hi all,

Today, the newly-elected Board met for the first time. After we got
done with our regular series of project reviews and other reports, we
elected a new slate of executive officers. I'm happy to present that
list:

 Jim Jagielski, Chairman
 Justin Erenkrantz, President
 J Aaron Farr, Treasurer
 Sam Ruby, Exec VP and Secretary

Welcome guys to your new offices!

We also established new three projects:

* Apache Quetzalcoatl: this springs mod_python and related bits out of
the HTTPD project into its own TLP. Gregory Trubetskoy is its Chair.

* Apache Wicket: this is a light webapp framework for Java, graduating
from the Incubator into its own TLP. Martijn Dashorst is the new
Chair.

* Apache Commons: this is the venerable Apache Jakarta Commons, now
spun out into its own TLP, with Torsten Curdt as its Chair.

Finally, we swapped a couple PMC Chairs:

* Will Glass-Hussin replaces Henning Schmiedehausen as the Velocity 
Chair
* David Sean Taylor replaces Santiago Gala as the Portals Chair

That's it for this month. Please feel free to forward this to any
public/private forum as you see fit. If you have any questions, then
please don't hesitate to ask myself or any other Director or officer.

Cheers,
-g

We would like to congratulate all Wicket community members with this
remarkable feat, we couldn't have done this without you!

Furthermore, I like to thank the Board of the Apache Software
Foundation for the trust they invested in us. We will not disappoint!

We would like to thank Wicket's mentors:

* Alex Karasulu (whose birthday coincidentally is today… what a better
gift could you receive). Thanks for bringing us on board, and a Happy
Birthday!!!

* Upayavira, who made the transition even run smoother than thought
possible. Thanks for guiding us and I hope you'll stay for a long time
with our project!

* Bertrand Delacretaz, thank you for your help, votes and advise. We
will miss your involvement, but will certainly see you in the future!

* Sylvain Wallez, also big thanks for helping and guiding us. I hope
Wicket is still working within Joost

Finally, congratulations to the new officers, PMC Chairs and the other
two new projects: Apache Quetzalcoatl and Apache Commons! Welcome to
the club!

!!! Champagne !!!

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] noob question about wicket

2007-06-18 Thread Martijn Dashorst
If you look at the settings for the eclipse project in our parent
pom.xml you will see a setting that is responsible for downloading the
sources:

plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-eclipse-plugin/artifactId
version2.3/version
configuration
downloadSourcestrue/downloadSources
/configuration
/plugin

Martijn

On 6/18/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 Just tested it and found an entry on their mailing list. In maven 2,
 at least the current version mvn eclipse:eclipse tries to download
 sources and javadocs automatically.

 Eelco


 On 6/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
  I'm guessing it includes the source jars if they are in your local
  repository, but doesn't download them unless you provide the extra
  argument. Anyway, to be sure, you can provide the argument.
 
  Eelco
 
  On 6/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
   On 6/14/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
no, you probably edited your mvn launch script and added it there?
  
   Haha, that would be funny. No, of course I didn't.
  
   Eelco
  
 

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] No parent in Panel ?

2007-06-17 Thread Martijn Dashorst
If you look closely (or using a debugger) you can see that when you do:

page.add(new MyPanel(...));

First the constructor is called, and only then the add method. At
construction time the parent is not known yet. The example can be
rewritten to make this more clear like:

Panel p = new MyPanel(...);
page.add(p);

Martijn

On 6/17/07, Thies Edeling [EMAIL PROTECTED] wrote:
 I've got a panel extending the Panel class. When I add that panel to a
 Page, getPage can't seem to the find the parent and throws me a
 java.lang.IllegalStateException: No Page found for component
 [MarkupContainer [Component id = projectOverviewPanel, page = No Page,
 path = projectOverviewPanel.ProjectOverviewPanel]]

 I was assuming the Page was automatically set when the panel was added
 or am I mistaken ?

 gr,
 Thies


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] London Wicket Users Group, July 3rd - interested?

2007-06-15 Thread Martijn Dashorst
I am interested, but geographically challenged. However, there are
some online tools available to help us plan these events:

 - http://www.meetup.com

I'm eyeing google calendar, but that is not well suited for a group
calendar that is geographically all over the world.

 - 
http://www.google.com/calendar/feeds/kps9lev85benpg7ppaafpje5d8%40group.calendar.google.com/public/basic

Martijn

On 6/15/07, Al Maw [EMAIL PROTECTED] wrote:

 Hello everyone,

 As Wicket grows in popularity, we bump into increasing numbers of UK
 users. We think there are enough of you out there to set up a
 London-based users group, so this e-mail is to gauge interest in that.

 We're proposing an initial meet on Tuesday 3rd July in a reasonably
 central location. Although I'm sure there will be plenty of room for
 having a pint and a chat, we'd also like to bring some real value to
 people, so are proposing to kick off with a couple of short talks.

 There will probably be an introductory talk and a more advanced one.
 Topics are yet to be decided - please tell us if you have any ideas on
 what you'd like covering, or if would like to contribute a short talk,
 presentation, demo or whatever else.

 For example, we could cover:

 Beginner - Aimed at new users; basic Models and validation.
 Some sprinklings of AJAX.

 Advanced - Implementing custom form validators, invoking them using
 AJAX, using CSS component highlighting for errors, making
 it all automatic for a given Form.

 If any of that sounds like your kind of thing, please tell us!

 If enough people are interested to make this a goer, we'll organise a
 venue and sign-up list some time next week. Just hit reply and post a
 yes please or similar on this thread.


 Best regards,

 Al

 --
 Alastair Maw
 Wicket-biased blog at http://herebebeasties.com

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicketstuff confluence and jira

2007-06-15 Thread Martijn Dashorst
I have also updated the wiki page with an explanation how to add your
page to the mix:

http://wicketstuff.org/confluence/display/STUFFWIKI/Wiki

Martijn


On 6/15/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
 The page is generated automatically. All you have to do is label your
 page as 'component':

 Martijn

 On 6/15/07, Martin Funk [EMAIL PROTECTED] wrote:
  Any Administrator of wicketstuff confluence and jira around?
 
  How do I create a link to
  http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap2
  on
  http://wicketstuff.org/confluence/display/STUFFWIKI/Wiki
 
  Also I haven't seen a form for creating a Wicket Contrib GMap2 project on
  http://wicketstuff.org/jira/secure/Dashboard.jspa
 
  Is that on purpose, or am I just blind?
 
  Martin
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 --
 Join the wicket community at irc.freenode.net: ##wicket
 Wicket 1.2.6 contains a very important fix. Download Wicket now!
 http://wicketframework.org



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicketstuff confluence and jira

2007-06-15 Thread Martijn Dashorst
The page is generated automatically. All you have to do is label your
page as 'component':

Martijn

On 6/15/07, Martin Funk [EMAIL PROTECTED] wrote:
 Any Administrator of wicketstuff confluence and jira around?

 How do I create a link to
 http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap2
 on
 http://wicketstuff.org/confluence/display/STUFFWIKI/Wiki

 Also I haven't seen a form for creating a Wicket Contrib GMap2 project on
 http://wicketstuff.org/jira/secure/Dashboard.jspa

 Is that on purpose, or am I just blind?

 Martin

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicketstuff confluence and jira

2007-06-15 Thread Martijn Dashorst
On 6/15/07, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
 ive added the label component to this page:
 http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket+GMap+Contribution

 but it does not show up on the wiki page list.. what am I doing wrong?

Nothing, probably some update/refresh problem... Perhaps Al knows more
about this?

Martijn

-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] label - default model when given model is emty

2007-06-14 Thread Martijn Dashorst
Make it a proper class:

public class LabelWithDefaultText extends Label {
private String defaultText;

public LabelWithDefaultText(String id, IModel model, String defaultText 
) {
super(id, model);
this.defaultText = defaultText;
}
   @Override
   protected void onComponentTagBody(MarkupStream markupStream,
ComponentTag openTag) {
   String model = (String) getModelObject();
   replaceComponentTagBody(markupStream, openTag, model == null ?
defaultText : model);
   }
 });
}

Or make a model wrapper

On 6/14/07, Pieter Cogghe [EMAIL PROTECTED] wrote:
 Hi,

 I'v got this in a list:

 add(new Label(name))

 sometimes there's no name defined, then I want to set a default text,
 I'd do it like this:

 add(new Label(name).setDefaultModel(new Model(No name defined)));

 Now I have it like this:

 item.add(new Label(name, new PropertyModel(item.getModel(),name)){
   @Override
   protected void onComponentTagBody(MarkupStream markupStream,
 ComponentTag openTag) {
 String model = (String) getModelObject();
   if (model == null){
 replaceComponentTagBody(markupStream, openTag, no language 
 selected);
   } else {
 super.onComponentTagBody(markupStream, openTag)
   }
 }
 });

 This is really verbose. Anybody knows a better way?

 thanks a lot,

 Pieter



 --
 Pieter Cogghe
 Ganzendries 186
 9000 Gent
 0487 10 14 21

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] label - default model when given model is emty

2007-06-14 Thread Martijn Dashorst
I wouldn't do that... If you change the property that should be shown
when not null, it will  not be reflected here, as you have lost the
connection between the label and the original model.

Martijn

On 6/14/07, Pieter Cogghe [EMAIL PROTECTED] wrote:
 Hi,

 thanks for the help, I stripped it down to this:
 (seems to work fine)

 public class LabelWithDefaultModel extends Label {

 public LabelWithDefaultModel(String id, IModel model, IModel 
 defaultModel) {
 super(id, model);
 if (this.getModelObject() == null){
 this.setModel(defaultModel);
 }
 }

 }

 2007/6/14, Martijn Dashorst [EMAIL PROTECTED]:
  Make it a proper class:
 
  public class LabelWithDefaultText extends Label {
  private String defaultText;
 
  public LabelWithDefaultText(String id, IModel model, String 
  defaultText ) {
  super(id, model);
  this.defaultText = defaultText;
  }
 @Override
 protected void onComponentTagBody(MarkupStream markupStream,
  ComponentTag openTag) {
 String model = (String) getModelObject();
 replaceComponentTagBody(markupStream, openTag, model == null ?
  defaultText : model);
 }
   });
  }
 
  Or make a model wrapper
 
  On 6/14/07, Pieter Cogghe [EMAIL PROTECTED] wrote:
   Hi,
  
   I'v got this in a list:
  
   add(new Label(name))
  
   sometimes there's no name defined, then I want to set a default text,
   I'd do it like this:
  
   add(new Label(name).setDefaultModel(new Model(No name defined)));
  
   Now I have it like this:
  
   item.add(new Label(name, new PropertyModel(item.getModel(),name)){
 @Override
 protected void onComponentTagBody(MarkupStream markupStream,
   ComponentTag openTag) {
   String model = (String) getModelObject();
 if (model == null){
   replaceComponentTagBody(markupStream, openTag, no language 
   selected);
 } else {
   super.onComponentTagBody(markupStream, openTag)
 }
   }
   });
  
   This is really verbose. Anybody knows a better way?
  
   thanks a lot,
  
   Pieter
  
  
  
   --
   Pieter Cogghe
   Ganzendries 186
   9000 Gent
   0487 10 14 21
  
   -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
  --
  Join the wicket community at irc.freenode.net: ##wicket
  Wicket 1.2.6 contains a very important fix. Download Wicket now!
  http://wicketframework.org
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 --
 Pieter Cogghe
 Ganzendries 186
 9000 Gent
 0487 10 14 21

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Adding text to labels prior to rendering

2007-06-14 Thread Martijn Dashorst
Don't put a space between the closing tag and the % sign:

span wicket:id=foo[1231312]/span%

Notice the lack of space. Another option is to use a nbsp; if you
want whitespace.

Martijn

On 6/15/07, Ballist1c [EMAIL PROTECTED] wrote:

 Hey guys,

 I am in a situation where I have created labels with data extracted from my
 components automatically , but I want to format it before I throw it out to
 the display.

 The context is that I am retrieving a number, which I want to be displayed
 as a percentage and I would like the % symbol attached to the label is
 this possible?

 ratingValue = new Label (ratingValue);

 some sorta code

 add(ratingValue);

 Ive had trouble adding it at the HTML level, it just doesnt want to go on
 the same line which is annoying.

 Thanks guys

 --
 View this message in context: 
 http://www.nabble.com/Adding-text-to-labels-prior-to-rendering-tf3925770.html#a11133195
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] javascript internal scrollbar ?

2007-06-13 Thread Martijn Dashorst
On 6/13/07, verbal evasion [EMAIL PROTECTED] wrote:
 i noticed there were a bunch of ajax classes in wicket that generates
 javascript for you. very cool. is there a wicket extension or something that
 will allow me to create an internal scrollbar from java, without having to
 handwrite javascript in the html file?

I don't know what an internal scrollbar is, and that would strike me
as the answer to your question: I doubt it is available as a wicket
component/behavior.

It is not that hard to create your own component/behavior to do this.
Look at dhtmlgoodies.com for your javascript and hook it up to your
specific wishes. If you want to see some examples, take a look at
wicketstuff-minis:

http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-minis

Martijn

-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wiki reference page on custom converter is outdated

2007-06-10 Thread Martijn Dashorst
Thanks

Martijn

On 6/11/07, oliver.henlich [EMAIL PROTECTED] wrote:

 Just updated the wiki for 1.3 converters anyway
 http://cwiki.apache.org/confluence/display/WICKET/Using+custom+converters


 --
 View this message in context: 
 http://www.nabble.com/Wiki-reference-page-on-custom-converter-is-outdated-tf3841417.html#a11052824
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] page map size

2007-06-08 Thread Martijn Dashorst
Depends on your page, number of components, deployment mode, wicket
version, how you bind the models to your components.

Do you use the second level cache for storing your pages for back
button support?

Martijn

On 6/8/07, Scott Swank [EMAIL PROTECTED] wrote:
 Are these typical sizes for page maps?

 wicket:/app:p:null:267,668 bytes
 wicket:/app:p:null:155,861 bytes
 wicket:/app:p:null:052,817 bytes

 --
 Scott Swank
 reformed mathematician

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket did not make the grade.

2007-06-07 Thread Martijn Dashorst
On 6/7/07, Upayavira [EMAIL PROTECTED] wrote:
 I've often heard it said that us human beings are strange - we often
 prefer the familiar to the pleasant.

And it is confirmed in this article [1]:

Explaining Cognitive Lock-In: The Role of Skill-Based Habits of Use in
Consumer Choice

KYLE B. MURRAY
GERALD HÄUBL

We introduce and test a theory of how the choices consumers make are
influenced by skill-based habits of use—goal-activated automated
behaviors that develop through the repeated consumption or use of a
particular product. Such habits can explain how consumers become
locked in to an incumbent product. The proposed theory characterizes
how the amount of experience with the incumbent product, the
occurrence of usage errors while learning to use that product, and the
goal that is activated at the time a choice is made interrelate to
influence consumer preference. The results of three experiments
support the theory's predictions.


[1] 
http://www.journals.uchicago.edu/JCR/journal/issues/v34n1/340108/brief/340108.abstract.html?erFrom=5590199003513691096Guest
-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Form redirect issue

2007-06-07 Thread Martijn Dashorst
On 6/7/07, hillj2 [EMAIL PROTECTED] wrote:
 Well after playing around with setContextPath() a bit, we've decided to try
 and get 1.3 working.  It would be nice if it had an official release, but
 for now we only have one form done in wicket, so that shouldn't be too much
 of a problem.  By the time we have more wicket pages a stable 1.3 release
 will probably be available.

With a bit of luck we'll start work on a new beta release, or rc1 this
week/weekend. Keep track of the development list
([EMAIL PROTECTED]) to see how it progresses.

Martijn

-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] how can i tell components to refresh model objects...

2007-06-05 Thread Martijn Dashorst
Are there any validation errors?

Martijn

On 6/5/07, Harald Gruber [EMAIL PROTECTED] wrote:

 hi,

 i traced a bit by adding

 protected void onComponentTag(final ComponentTag tag) {
 System.out.println(ADRESSPANEL  + getModel());

 this.visitChildren(new IVisitor() {

 public Object component(Component component) {
 System.out.println(ADRESSPANEL  + component 
 +  -  + component.getModel() +  -  + component.getModelObject());
 if (component instanceof TextField)
 System.out.println(Value=  + 
 ((TextField) component).getValue());
 return null;
 }

 });

 super.onComponentTag(tag);
 }

 to addresspanel.

 component.getModelObject() hast the right values which are expected while 
 getValue() delivers old values.

 any ideas?


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Getting a mount path for a component?

2007-06-05 Thread Martijn Dashorst
http://wicket.sourceforge.net/apidocs/wicket/Component.html#urlFor(java.lang.Class,%20wicket.PageParameters)

?

Martijn

On 6/5/07, cram [EMAIL PROTECTED] wrote:

 I've got a mounted component (Page) that I'd like to get the path for.

 Ie, my class ErrorPage is mounted at /error

 forUrl(new ErrorPage()) , etc does not return /error

 Is there a way to do this?

 Thanks!

 --
 View this message in context: 
 http://www.nabble.com/Getting-a-mount-path-for-a-component--tf3873584.html#a10975461
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] extension.Palette class

2007-06-04 Thread Martijn Dashorst
Just did that with FF 2.0.0.4 / OS X, and I don't see the XX appear.
Do you have some firefox extension installed?

Martijn

On 6/1/07, Ken Leung [EMAIL PROTECTED] wrote:
 No, other controls work ok.  Actually what I have found is that firefox does
 this, IE7 doesnt.

 I am using firfox 2.0.0.4.  Try this if you have time.

 1. use firefox, goto http://wicket.sourceforge.net/
 2. click on Examples on the left
 3. click on Live action (Examples in live action)
 4. click on first item compref
 5. goto bottom and click
 wicket.extensions.markup.html.palette.Palette
 6. wait for the page to finish, then simply move your cursor  click in the
 empty Selected area, a XX will appear inside the box


 Strange...





 On 6/1/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]
 wrote:
  sound very wrong. Are you getting this displayed in the listboxes?
 
  Ken Leung wrote:
   Does anyone know why there is a XX displayed initially in the
   selected or available pane if that pane happens to contain an
   empty list.  The XX will disappear once
   you start to add/remove selections
  
   You can see this if you just run the example...
  
   Anyone knows how to get rid of it ?
  
   thx
  
  
 
  
  
 -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
  
 
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to Enable debug messages for wicket.util.resource

2007-06-01 Thread Martijn Dashorst
Answers:
* No
* just don't use wicket:extend in the subclass markup
* add wicket.util.resource and the desired logging level in the log4j
configuration of jboss (read jboss documentation and log4j
documentation). Note that if you are using 1.3, the package name has
been altered to org.apache.wicket.util.resource

Martijn

On 6/1/07, Stefan Lindner [EMAIL PROTECTED] wrote:
 I have a Page class that extends an abstrct class. Do I need a markup
 for the abstract class too? And if so: ho can I manage to override the
 markup of the abstract class by the markup of the page class?
 And: How can I Enable debug messages for wicket.util.resource in
 Jboss?

 Stefan Lindner

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] extension.Palette class

2007-06-01 Thread Martijn Dashorst
I don't see it here:

http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.compref.PalettePage

How do you populate your lists?

Martijn

On 6/1/07, Ken Leung [EMAIL PROTECTED] wrote:
 Does anyone know why there is a XX displayed initially in the selected
 or available pane if that pane happens to contain an empty list.  The XX
 will disappear once
 you start to add/remove selections

 You can see this if you just run the example...

 Anyone knows how to get rid of it ?

 thx

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Using Loop with ajax?

2007-05-31 Thread Martijn Dashorst
http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html

Same applies for Loop

On 5/31/07, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
 forgot to mention that its wicket 1.2.6..

 Nino Saturnino Martinez Vazquez Wael wrote:
  I doesnt seem that loop works with ajax? I've created a quickstart
  project that displays this. Should I use a listview instead?
 
  heres the quickstart(http://localhost:8080/quickstart/app):
  http://www.badongo.com/file/3249801
 
  regards Nino
 
  Nino Saturnino Martinez Vazquez Wael wrote:
 
  Hi
 
  Im having some trouble with loop and ajax. Now when the page initially
  are created the loop are empty, this makes the loop not render.
 
  When I get the ajax request I try to add the loop with addcomponent,
  however this tells me this:
  Component with id [[gmap_gmapContainer_gmarkersLoop]] a was not found 
  while trying to perform markup update. Make sure you called 
  component.setOutputMarkupId(true) on the component whose markup you are 
  trying to update.
 
 
  However I have set .setOutputMarkupId(true) so Im not understanding the
  message?
 
  What am I doing wrong?
 
  regards Nino
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Dynamic number of columns in TreeTable

2007-05-31 Thread Martijn Dashorst
It is discussed in this thread on @dev. [1]

You could join and ask for the change... It is not too big a change,
but Igor mentioned some problems.

Martijn

[1] 
http://www.nabble.com/-proposal--Make-columns-of-repeaters-List%3CIColumn%3E-instead-of-IColumn---tf3785568.html#a10705320

On 5/31/07, Mats Norén [EMAIL PROTECTED] wrote:
 Hi,
 Would it be possible to let the TreeTable take a model of columns
 instead of a fixed array?
 So that it would be possible to dynamically alter the number of
 columns based on a model?

 My usecase is a timeplanning tree with activities as rows and time as columns.
 Looking at the code it seems that the tree is initialized with at
 fixed number of columns?

 /Mats

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PasswordTextField reset bug

2007-05-29 Thread Martijn Dashorst

It was already reported so you don't have to do that again. Thanks for
the suggestion!

https://issues.apache.org/jira/browse/WICKET-447

Martijn

On 5/29/07, Ingram Chen [EMAIL PROTECTED] wrote:

All,

   In wicket 1.2.6, I try to do
passwordTextField.setResetPassword(false).
But I found that password field always got reset if model object is blank.
It seems that password field never use preserved rawInput to render:

protected final void onComponentTag(final ComponentTag tag)
{
super.onComponentTag(tag);
tag.put(value, getResetPassword() ?  :
getModelObjectAsString());
 }

I think that more accurate implementation should be:

if(getResetPassword()) {
   tag.put(value, );
}

I will file a bug report if confirmed. thanks in advance.

 --
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Reusable ListToList component

2007-05-29 Thread Martijn Dashorst
See the Palette
(http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.compref.PalettePage)

Martijn

On 5/29/07, Alex Bosy [EMAIL PROTECTED] wrote:
 Hi All,

 I am wondering if there is something like a ListToList component already
 available in some Wicket-related project (e.g. Wicket Extensions or
 Wicket Contrib)? A component that contains 2 lists and allows to move
 items from one list to the other.

 Thanks in advance!

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Acegi ?

2007-05-29 Thread Martijn Dashorst
On 5/29/07, Maurice Marrink [EMAIL PROTECTED] wrote:
 Swarm only requires the following jars besides wicket: Wasp,
 commons-logging and Log4j.

You did notice that Wicket now uses slf4j instead of clogging?

Martijn

-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Martijn Dashorst
On 5/29/07, Jan Kriesten [EMAIL PROTECTED] wrote:
 what i was thinking about was - instead of using acegi as a filter and use it 
 on
 urls - integrate it in the wicket-app and act on top of the components. this
 sounds like the wasp/swarm-concepts, only that acegi is the base.

 what i really dislike about acegi is the spring/xml-stuff. but that's another
 story... ;-)

If you take the spring/xml and the URL based authorization out of
Acegi, what is left?

Not a stab at Acegi, just asking.

Martijn

-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] integrating wicket and cocoon

2007-05-28 Thread Martijn Dashorst
Fortunately, there are a couple of cocoon members hiding here
(Sylvain, Jean-Baptiste, Upayavira) so there is a faint possibility
that this can be addressed.

In the mean time, I think you could override getLocale in your custom
session, at least that was possible.

Martijn

On 5/28/07, Erik van Oosten [EMAIL PROTECTED] wrote:

 Hi Luca,

 Wicket uses the locale for finding resources (including the templates). You
 could do without but I am afraid it goes too far to let Wicket do something
 about Cocoon's incomplete HttpServletRequest implementation.

 So these are the options I see:
 1. Make Cocoon behave itself by submitting a patch that will implement
 HttpServletRequest#getLocale properly.
 2. Wrap Cocoon's request with something of your own which returns a proper
 Locale.

 Since I do not know Cocoon, I can not help you with finding out you how to
 do this.

 Regards,
 Erik.


 Luca Marrocco wrote:
 
  the first two line is quite interesting:
  java.lang.UnsupportedOperationException
at
  org.apache.cocoon.servletservice.util.BlockCallHttpServletRequest.getLocale(BlockCallHttpServletRequest.java:160)
at
  wicket.protocol.http.servlet.ServletWebRequest.getLocale(ServletWebRequest.java:91)
 
  my question in wicket side of problem is. It is necessary getLocale?
  Can i inibite this call in wicket configuration?
 
  Luca
 

 --
 Erik van Oosten
 http://2007.rubyenrails.nl/
 http://day-to-day-stuff.blogspot.com/
 --
 View this message in context: 
 http://www.nabble.com/integrating-wicket-and-cocoon-tf3824772.html#a10834370
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Best way to create large groups of similar tags

2007-05-28 Thread Martijn Dashorst
How do you determine if a feature is available or not? How do you know
which feature you are currently processing? Are the features coming
from a database/cms backend?

If so, then why isn't the description available? Is that something you
plan on adding in the future?

Why does the page need to be wicketified? Is it dynamic? Can't you use
CSS instead?

The menu can still be a Wicket component, but the table of features
seems a bit odd to use Wicket components just for the images. A nested
repeater or listview seems better suited, or else just make it an
include editable by your marketing department.

Martijn

On 5/28/07, Thomas Singer [EMAIL PROTECTED] wrote:
 Well, I guess I could use a Fragment (if it would work inside a Border)
 inside a RepeatingView, but then I would need to have all feature texts in
 the Java code, which is not nice but would work.

 Tom


 Herman Bovens wrote:
  Hm, can't you iterate over your collection of features and add the
  corresponding component in each iteration?  Something like that?
 
 
  Thomas Singer-3 wrote:
  Thanks, Alexey and Kent, for your feed-back. Unfortunately, I still have
  do
  add a lot of components to the Page instance, for each line one.
 
  Tom
 
 
  Kent Tong wrote:
  Put that code into a panel, eg, FeatureAvailability.html:
 
  wicket:panel
  td align=center
  lt;img wicket:id=img src=/graphics/feature-present.gif
  border=0
  alt=+ width=9 height=9gt;
  /td
  /wicket:panel
 
  FeatureAvailability.java:
 
  public class FeatureAvailability extends Panel {
  public FeatureAvailability(String id, IModel model) {
  super(id, model);
  boolean isPresent = ((Boolean) 
  getModelObject()).booleanValue();
  WebMarkupContainer img = new WebMarkupContainer(img);
  img.add(new SimpleAttributeModifier(src,
  String.format(/graphics/feature-%s.gif,
  new Object[] {
  isPresent ? present : absent })));
  img.add(new SimpleAttributeModifier(alt,
  isPresent ? + : -));
  add(img);
  }
  }
 

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Request attributes

2007-05-28 Thread Martijn Dashorst
If you can use PageParameters it would be neat (provide your Page's
constructor with it). Otherwise, you'll have to use Eelco's method and
query the request attributes.

Martijn

On 5/28/07, Matthieu Casanova [EMAIL PROTECTED] wrote:
 Hi, no, I'm not integrating with another technology. My problem is that for
 each request, I get some informations from a server, and I need those
 informations in several components to build my page. Those informations
 cannot be stored in session because they change at every request, and it is
 possible to have several requests from the same user at the same time.

 Matthieu

 2007/5/28, Eelco Hillenius [EMAIL PROTECTED]:
  What you do should work, or you could just get the request object from
  the Wicket request and cast it down to HttpServletRequest.
 
  Why do you need to set request attributes? Are you integrating with
  another technology, like JSPs?
 
  Eelco
 
 
  On 5/28/07, Matthieu Casanova [EMAIL PROTECTED] wrote:
   Hi, I need some request attributes in my page. Those attributes aren't
 for
   session but only for the current request.
   To do that I made my own WebRequest that extends ServletWebRequest and
   changed the
   protected WebRequest newWebRequest(HttpServletRequest
   servletRequest)
  
   of my application to use my request.
   But I'm not sure it is the good way to do that.
   Is there something better to have attributes with request scope in
 wicket ?
   thanks
  
   Matthieu
  
  
 -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Bookmarkable pages and transparent login

2007-05-28 Thread Martijn Dashorst
The typical Wicket Way (tm) of doing this is using the
RestartResponseAtInterceptPageException [1]

The wicket-auth-roles project and the new wicket-security projects
hosted at WicketStuff  also use it to guard authorized pages.

Using a framework as Acegi limits you to URL based
authorization/authentication. The component nature of Wicket allows
even finer grained access to data at the component level.

A typical way for applications to secure pages is to create a secure
and a non-secure hierarchy. The non-secure pages are viewable publicly
(for instance your login page) and the privacy/protected pages will
inherit from the secure base page. In its constructor you check if the
user credentials are set on the session, if not, throw
RestartResponseAtInterceptPageException and be done with it :)

Martijn

[1] 
http://wicket.sourceforge.net/apidocs/wicket/RestartResponseAtInterceptPageException.html

On 5/28/07, Luca Marrocco [EMAIL PROTECTED] wrote:
 I'm not sure that exist a better way to do anything in software but a
 better way for specific problem and people. For me, in a spring wicket
 web application, the better way to implement trasparent login aka
 autentication and autorization concern is using acegi framework. Luca

 2007/5/28, Thomas Singer [EMAIL PROTECTED]:
  What's the best way for a transparent login?
 
  Example: When the user opens a mounted page and he is not logged in, a login
  page will be shown and after a successful login redirected to the originally
  requested page.
 
  Tom
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Creating link with a label

2007-05-25 Thread Martijn Dashorst
There are several reasons:

* That would make the link too limited. It is a WebMarkupContainer,
meaning you can put an image, label, panel, table, div, fragment,
border, etc inside the link.

* The previewability would suffer and it add too much magic: what
would you do with text already inside the link? setLabel() would
override the contents, but if I have a href=#
wicket:id=fooFoo/a and in Java new Link(foo).setLabel(bar).
Now if my designer comes along and changes the text inside the a
href.
* Or other components? What would happen if you setLabel when there is
a component inside the link?
* It adds another way of working with components. This is how we want
to grow the api: providing 2 different ways of doing the same
thing.

And btw, most examples directly put a Label into the link, not panels:
the span is there for the Label.

a href=# wicket:id=personlinkspan wicket:id=name/span/a

add(new Link(personlink) { ...}.add(new Label(name));

It is easy to add what you want yourself in a custom component
(provided you use Wicket 1.3), override oncomponenttagbody:

public abstract class LabelLink extends Link {
private IModel labelModel;

public LabelLink(String id, IModel linkModel, IModel labelModel) {
super(id, linkModel);
this.labelModel = labelModel;
}
protected void onComponentTagBody(MarkupStream markupStream,
ComponentTag openTag)
{
replaceComponentTagBody(markupStream, openTag,
labelModel.getObject().toString());
}
}

On 5/25/07, Ravindra Wankar [EMAIL PROTECTED] wrote:

 In a table of contacts I want to make the Name a hyperlink to the page
 that displays details of that contact. So I created a link and wanted to
 set the label of the link to the name of the contact. I could not find a
 suitable method on the Link classes. All examples I saw create a panel
 inside the link tag and then set a label inside the panel. Why is it not
 possible to call setLabel() directly on a link or is there a way I'm not
 aware of?

 Thanks
 Ravi.

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Creating link with a label

2007-05-25 Thread Martijn Dashorst
Look at the list of problems I have with a solution like this. I don't
want this in core, or extensions. At best in wicketstuff-minis

I'd prefer having an example on the site showing this as how to build
custom components yourself, instead of adding it to core.

Instead of giving someone a fish, teach them how to fish.

Martijn

On 5/25/07, Johan Compagner [EMAIL PROTECTED] wrote:

 
  public abstract class LabelLink extends Link {
  private IModel labelModel;
 
  public LabelLink(String id, IModel linkModel, IModel labelModel) {
  super(id, linkModel);
  this.labelModel = labelModel;
  }
  protected void onComponentTagBody(MarkupStream markupStream,
  ComponentTag openTag)
  {
  replaceComponentTagBody(markupStream,
 openTag,
  labelModel.getObject().toString());
  }
  }


 maybe we should add this to our classes (core or extentions)
 so that we don't get this same question over and over again..

 johan



 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Component for opening/closing an arbitrary div layer in Wicket.

2007-05-24 Thread Martijn Dashorst
Did you look at the phonebook example (found in the wicketstuff repository)?

It shows how to build a (simple) phone book web application using
wicket, spring and (hibernate|ibatis|shades)

It is basically a petstore, but a bit simpler

Martijn

On 5/24/07, Ravindra Wankar [EMAIL PROTECTED] wrote:

  Craig,

  It's been just over 2 weeks since I've started looking at Wicket. In the
 past I've had to abandon evaluation of JSF and Struts 2 due to lack of time.
 I was spending a lot of time writing code to decide if they were the right
 choice. I could not find applications written from where you could learn
 best practices. There are mostly individual examples for data validation,
 Ajax, tree table and other such commonly needed components which is good but
 insufficient. All new frameworks provide all these features so that is no
 longer the distinguishing factor.

  In commercial ventures such as mine, I'm expected to demonstrate that any
 new technology...

  1. Will reduce our overheads by providing many out-of-box features that
 we've had to develop and maintain. Basically I should spend 90% of my time
 on the core application features and only 10% on enhancing the framework
 because of special requirements within my application.

  2. Developers for which can be either be hired or trained easily and most
 importantly can be *average*. This means having lot of documentation and not
 having to go through source code to understand how things work.

  3. Is stable (production quality) and its future is bright.

  So far Wicket looks promising. But it is too early. A PetStore/PetClinic
 app would have been useful (I am not aware if one exists).

  - Ravi


  craigdd wrote:
  Ravi,

 I'd be interested in hearing your out come of your evaluation. I'm in a
 similar boat where my company is looking to move to a new UI framework,
 their first choice or course is JSF and I'm pushing hard to go the wicket
 route instead. If I can show them a website like yours and say that it was
 fairly easy to develop using wicket and you don't need to learn a whole new
 markup language, ie tablibs, then that just might be the nail in the coffin
 I need.

 Thanks
 Craig


 RW wrote:








 It is currently written using a combination of Struts1, WebMacro
 (templating engine like Velocity), Torque etc. Due to the lack of user
 interface components in these tools we had to develop a lot of that
 ourselves. We are evaluating if we can do away with our code with
 Wicket or if Wicket can at least assist in simplifying our efforts.
 Besides, how easy and how long will it take to move to Wicket. As our
 efforts are commercial, we will be heavily penalized for making the
 wrong choice.

 - Ravi.

 craigdd wrote:

  Hey Ravi, just out of curiosity, is the application you provided a link
 for
 written in wicket?

 -Craig


 RW wrote:









 Go to...
 http://www.celoxis.com/psa/user.do?bxn=umyhomeamp;amp;p_auth_authenticate=trueamp;amp;p_auth_login=markamp;amp;p_auth_password=celoxis1

 On this page click the Pick Columns link in the top right corner of
 the My Projects table.

 Thanks
 Ravi


 Igor Vaynberg wrote:
 got a screenshot? dont really understand what you are
 describing. maybe something like our palette component in extensions?

 -igor


  On 5/21/07, Ravindra Wankar
  amp;lt; [EMAIL PROTECTED] amp;gt;
 wrote:

 In order to allow users to pick columns they wish to see in a table, we

 open/close a div layer that has 2 selectors to move columns to/from
 Available to Selected and a submit/cancel button. We also position
 this div layer close to the Pick Columns link.


 Is there a component in Wicket I can use to create a similar effect?
 I've seen the ModalDialog but I'd like a slight variation because the
 placement of this div layer needs to be controlled + the main window

 need not be greyed out when showing the layer.

 Thanks
 Ravi.

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take

 control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list

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






 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/


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







 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version 

  1   2   3   4   5   6   7   8   9   10   >