[Wicket-user] Map items design issue

2007-07-28 Thread ZedroS Schwart
Hi all

Thanks to Wicket, I've been successfully building a map where I can
show items on it and move them through ajax.

However, I've the following issue : I store an item location twice.
One time in the ArrayList of ArrayList containing my cells, and the
other time in each item.

Indeed, I need both to be able to draw the map and to be able to know
where a precise item is without having to browse the whole ArrayList
of ArrayList.

As such, I encounter somes issue when updating the location of an
item, having to change it twice properly and at the time dealing with
multi users view of it.

Is there a common pattern to avoid such issue ? Would you have any suggestion ?

Thanks in advance
ZedroS

-
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 in Action now available through Manning Early Access Program

2007-07-28 Thread ZedroS Schwart
Hi !

This is a very good news !

I hope we'll the rest of the book soon.

Courage ;)

ZedroS

On 7/26/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
 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


-
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] New tutorial for Wicket 1.3 release : could you please check it ?

2007-07-14 Thread ZedroS Schwart
Hi

Thanks Scott for the remark. I've already changed the span and typo,
and I'll as well change the components' names. :)

Jean Baptiste, your contribution is more than welcome ! However, I'm
using developpez.com tool for article, so I don't have all the html
freedom. Please express what annoys you and I'll try to fix it. For
example, I've used the tool list in the part II-B. QuickStart content.
Does it please you more ?

Regarding Romain Guy article, yep, I've seen it, but I thought a more
up to date article would be welcome. BTW, if you think any wicket
point would deserve an article, just let me know.

Thanks again
ZedroS


On 7/14/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
 Nice work Joseph, however it  could be improved by using unordered
 lists + list items, paragraphs, etc.  The layout looks a bit weird
 to me.  Is it possible to contribute to this presentation?

 About  the French  version, have  you seen  an [1]introduction  by
 Romain Guy?  Anyway another introduction  to Wicket in French will
 be interesting, I'll be happy to review it.

 Keep up the good work,
 --
  Jean-Baptiste Quenot
 aka  John Banana   Qwerty
 http://caraldi.com/jbq/

 [1] http://gfx.developpez.com/tutoriel/java/web/wicket/

 -
 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-user] New tutorial for Wicket 1.3 release : could you please check it ?

2007-07-13 Thread ZedroS Schwart
Hi

I've been written this little tutorial :
http://zedros.developpez.com/tutoriels/java/wicket/

If I don't say too much stupidity, I plan to translate it to french
and then publish it on Wicket 1.3 release (having updated the links to
the various resources).

I would much appreciate a quick feedback on it. I may have done some
newbie errors, so don't hesitate to tell me !

Thanks in advance
Joseph

-
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] Classloader for selectively reload web tier

2007-07-13 Thread ZedroS Schwart
Thanks for the tip Matej !

Joseph

-
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] Trying to retrieve the absolute URL

2007-06-29 Thread ZedroS Schwart
Hi

I had already asked a similar question months ago. As I remember it,
the possibility to get the absolute URL had been left over since it
could be misleading depending of the actual deployement.

As such, you have to save it somewhere in your app and call it when needed.

But it's just some memories...

Cheers
ZedroS

On 6/29/07, David Leangen [EMAIL PROTECTED] wrote:

 Hello!

 I'm wondering if something has changed in 1.2.6 and the API docs are out
 of date, or if I just misunderstood the API docs...

 I am trying to get the URL of the request (the complete URL in the form
 http://my.company.com/blah/hello?a=bc=d).

 This is how:

 WebRequest request = getWebRequestCycle().getWebRequest();
 String baseUrl = request.getURL();


 The API docs say:

 getURL
 public abstract java.lang.String getURL()
 Retrieves the absolute URL of this request for local use.

 Returns:
 The absolute request URL for local use



 However, I am getting something that looks like

 /hello///?wicket:interface=2:form.requestPassword::IFormSubmitListener

 I don't mind anything after the ?, but I do need the _absolute_ URL,
 meaning everything in the form I wrote above.

 Did I misunderstand the API docs?


 Thanks!
 Dave




 -
 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


Re: [Wicket-user] File too long under Vista when extraction Wicket 1.3

2007-06-27 Thread ZedroS Schwart
Hi all

Thanks for your advice !

So finally, using 7 Zip, it has worked out really well. It was both
quick and working ! :)

(to finish the side note : I already tried to boot on my ubuntu cd,
but the wifi didn't work, even if the card was detected, it wouldn't
let me configure my WPA network because the card doesn't support it.
So it's no so straightforward.)

Cheers
ZedroS

On 6/24/07, Gabor Szokoli [EMAIL PROTECTED] wrote:
 On 6/24/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
  I'm planning to install ubuntu as well, but on a RAID + Wifi pc it's
  not that easy.

 (sidenote: Wifi should not be a problem with Ubuntu. The install CD is
 a live CD as well, so you can verify device support without side
 effects)

  For I'm trying to do, it's really simple : I've downloaded
  apache-wicket-1.3.0-incubating-beta1.zip and I just would like to
  unzip it.

 There has been mention of alternative unzip utilities in the thread
 already, let me just draw your attention to another bag of tricks:
 cygwin.
 The command line unzip utility is likely to at least give you a more
 specific error message.


 Gabor Szokoli

 -
 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-user] File too long under Vista when extraction Wicket 1.3

2007-06-24 Thread ZedroS Schwart
Hi all

I'm using my brand new vista pc to extract Wicket and I've 8 files too
long to be extracted, like for example
AdminAnnotationsBookmarkablePage.

I'm trying to extract them under d:\wicket, so the root path isn't
that big. Do you have any clue on what to do ?

thanks in advance
Joseph/ZedroS

-
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] File too long under Vista when extraction Wicket 1.3

2007-06-24 Thread ZedroS Schwart
I'm planning to install ubuntu as well, but on a RAID + Wifi pc it's
not that easy.

For I'm trying to do, it's really simple : I've downloaded
apache-wicket-1.3.0-incubating-beta1.zip and I just would like to
unzip it.

And then, after a long while but that's the Vista way isnit, I'm told
that 8 files' names are too long to be extracted.

When looking at one the files, AdminAnnotationsBookmarkablePage for
example, it appears that this file is really deep in the repository
architecture and, most probably, ends up behind a too long path name
for Vista.

I agree it's vista fault somewhere, but hey, more and more people are
coming into it (or should at least) and it's quite a pain some
wicket's files names are too long no ?

Cheers,
ZedroS

On 6/24/07, C. Bergström [EMAIL PROTECTED] wrote:
 ZedroS Schwart wrote:
  Hi all
 
  I'm using my brand new vista pc to extract Wicket and I've 8 files too
  long to be extracted, like for example
  AdminAnnotationsBookmarkablePage.
 
  I'm trying to extract them under d:\wicket, so the root path isn't
  that big. Do you have any clue on what to do ?
 Sure.. may not be the answer you want to hear though ;)

 sarcasm action=try-another-os
 http://www.ubuntu.com/
 http://www.freebsd.org/
 http://www.opensolaris.org/os/
 /sarcams

 In truth I don't know and more likely it's a problem with Vista..  NTFS
 which to the best of my knowledge is what Vista's default fs is supports
 greater than 8.3 naming.. d:\ wouldn't happen to be like fat-8 or
 something like that would it?  Beyond this you can try explaining in
 more detail what you're doing and maybe someone else can offer assistance.

 ./C

 -
 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


Re: [Wicket-user] Updating items of a Set...

2007-04-26 Thread ZedroS Schwart
Hi Eelco

Thanks for the help.

I've a question however : currently, I put an object containing the
Set as a final attribute of my Panel class, in order to be able to
increase/decrease its values depending of the action in the AjaxLink
onClick.

However, having read about memory/session size, I wonder whether there
is a better way to do so. Indeed, I fear this Set will stay in Session
forever, which isn't needed nor wished.

BTW, the Set in questionning isn't coming from the database, but will
later be saved into it.

What would you advice ?

Thanks in advance
Joseph, aka ZedroS

-
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.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-26 Thread ZedroS Schwart
Hi Erik

The translation is there :
http://zedros.developpez.com/articles/java/wicket/ajax/

The article will be checked by fellow members of developpez.com and
then announce on the news of this website. I'll then add it to the
wicket. In between, every comment is welcome ;) (or afterwards lol)

Best regards,
Joseph

-
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.6 has been released

2007-04-24 Thread ZedroS Schwart
I'm now using Wicket 1.3 but, still, thanks for this release,
especially this part :
this interim release is provided outside of the ASF, solely as a service to
existing Wicket users to resolve existing bugs in the Wicket product. 

It really shows how great a team you're !

Keep up the good work !

Joseph, aka ZedroS

-
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] stateless and/ or bookmarkable pages in Wicket 1.3

2007-04-24 Thread ZedroS Schwart
Thanks for your answers.

I've read that one can override the method getStatelessHint() as following :
protected boolean getStatelessHint()
{
return true;
}
to have a stateless form/component.

However, in the SignInForm provided in the example, it's explicitly written:
public final class SignInForm extends Form
{
protected boolean getStatelessHint()
{
return false;
}

How comes? This form has two textfields and the remember me option.
Is this remember me option blocking the stateless aspect of the
form?

Thanks in advance
ZedroS

-
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] Updating items of a Set...

2007-04-24 Thread ZedroS Schwart
Hi all

As I'm new to wicket, I often wonder (especially when I encounter
hurdles ;)) if the approach I take is the good one. So, if you don't
mind, I will quickly introduce what I try to do, then present the
solution I've retained up to now and, finally, the current hurdle ;).
Feel free to comment on any of these points!

So, the need is basically to browse a set to be able to
increase/decrease the value of each element. So, for each element, it
should look like this:
ElementName
ElementValue  + -

+ and – are links that the user can click on.

Then I would like a submit button under this to be able to submit the
whole stuff. As I'm Ajax curious, I would like the action on the + or
– to be done through Ajax.

Currently, I'm using a RefreshingView with, for each element of the
Set, some Labels (elementName, elementValue) and an action panel with
two AjaxLink, one for plus and one for minus.

Up to now, I manage to retrieve on which AjaxLink the user has
clicked, but I don't manage to refresh the RefreshingView afterwards.
I've two issues : how to tell the View to refresh and how to deal with
the model, since I want to update it but not to save it to the
database…NB : I give to the Panel containing the RefreshingView the
model object containing the set.

Do you have any comment/question/clue ?

Thanks in advance
Joseph, aka ZedroS

-
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] Escaping of HTML by wicket:message - can this be disabled?

2007-04-23 Thread ZedroS Schwart
I'm using the 1.3.0 (after asking the mailing list and updating the wiki !).

I'll give the 1.3.0 jar another try tonight to see if the behavior persists.

Cheers
ZedroS (aka Joseph)

On 4/20/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 are you sure you are using 1.3.0-incubating and not the 1.3-incubating?

 -igor



 On 4/20/07, ZedroS Schwart  [EMAIL PROTECTED] wrote:
 
  Hi
 
  I finally found how to solve this issue : the wicket jar from
 
 http://wicketstuff.org/maven/repository/org/apache/wicket/
 seems to be
  broken.
 
  Indeed, when I download the source jar, unzip it and add it to my
  project (with a few extra jar and minus the wicket one, as well as a
  source path) it works properly.
 
  Then, if I remove the source from wicket and put back the wicket
  jar... it doesn't anymore !
 
  So, as far as I can tell, my issue really comes from the wicket jar
  (latest snapshot).
 
  Whatever, this part now works properly, and I'm a happy man once again ;)
 
  Thanks for your help all of you :)
 
  ZedroS
 
 
 -
  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-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-23 Thread ZedroS Schwart
Hi all

I've recently encountered and understood more and more ajax
limitations and here is one I'm still wondering about : should
form.setVisible(false) be possible in an AjaxSubmitButton's onSubmit
even ? For sure, this form is the one the ajaxSubmitButton is linked
to.

Thanks in advance
ZedroS

-
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.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-23 Thread ZedroS Schwart
Hi Jim

What do you mean by replace the forms parent ?

I'm a newbe, this may explain that ;)

Thanks again
ZedroS
On 4/23/07, James McLaughlin [EMAIL PROTECTED] wrote:
 Sure, just replace the forms parent in onSubmit.

 best,
 jim


 On 4/23/07, ZedroS Schwart [EMAIL PROTECTED]  wrote:
 
  Hi all
 
  I've recently encountered and understood more and more ajax
  limitations and here is one I'm still wondering about : should
  form.setVisible(false) be possible in an AjaxSubmitButton's onSubmit
  even ? For sure, this form is the one the ajaxSubmitButton is linked
  to.
 
  Thanks in advance
  ZedroS
 
 
 -
  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


Re: [Wicket-user] how to download wicket cd app example

2007-04-23 Thread ZedroS Schwart
Regarding Wicket 1.3, as said there
http://cwiki.apache.org/WICKET/migrate-13.html, you can find all the
download there :
http://wicketstuff.org/maven/repository/org/apache/wicket/

For you cd app, I don't know what it is so...

cheers
ZedroS

On 4/23/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
 How good is your google foo?

 http://www.google.com/search?client=safarirls=enq=wicket+phonebookie=UTF-8oe=UTF-8

 First link gives you your answer

 Martijn

 On 4/23/07, Abdurrahman Sahin [EMAIL PROTECTED] wrote:
  hi;
  this is my 2nd post.
  i'm new to this community.
  I tried to download wicket cd app, but not found any url for download so 
  far.
  is there any source code of this application?.
 
  best regards.
 
  -
  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
 


 --
 Learn Wicket at ApacheCon Europe: http://apachecon.com
 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


-
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.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-23 Thread ZedroS Schwart
Thanks a lot for your answer.

In fact, I was confused because the form onSubmit was called but the
setVisible(false) in it wasn't rendered.

I've just added target.addComponent(form) on my ajax submit button and
it now works properly. I didn't know this target.AddComponent was
first of all meaning to redraw it !

Thanks a lot !
ZedroS

On 4/23/07, James McLaughlin [EMAIL PROTECTED] wrote:
 For example, if the form lives inside, then in onSubmit do
 target.addComponent(panel) . This way the panel's markup gets replaced in
 the browser and since isVisible is false for the form, the forms markup
 simply won't be there. I guess the problem you are having now is that you
 are adding the form in onSubmit, but since you are setting isVisible to
 false, nothing gets rendered, no markup gets sent to browser, and the form
 markup that's there doesn't get replaced (erased). But maybe I haven't
 understood your problem fully. I hope this helps.


 best,
 jim

 On 4/23/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
  Hi Jim
 
  What do you mean by replace the forms parent ?
 
  I'm a newbe, this may explain that ;)
 
  Thanks again
  ZedroS
  On 4/23/07, James McLaughlin  [EMAIL PROTECTED] wrote:
   Sure, just replace the forms parent in onSubmit.
  
   best,
   jim
  
  
   On 4/23/07, ZedroS Schwart  [EMAIL PROTECTED]  wrote:
   
Hi all
   
I've recently encountered and understood more and more ajax
limitations and here is one I'm still wondering about : should
form.setVisible(false) be possible in an AjaxSubmitButton's onSubmit
even ? For sure, this form is the one the ajaxSubmitButton is linked
to.
   
Thanks in advance
ZedroS
   
   
  
 -
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
 


 -
 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


Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-23 Thread ZedroS Schwart
It's a very instructive post.

Do you mind if I translate it to french and then publish it on this
website : http://www.developpez.com/ ? For sure I would put a link to
your blog ! :)

ZedroS

-
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.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-23 Thread ZedroS Schwart
Thanks a lot.

It'll be done in the coming days :)

Cheers,
ZedroS

On 4/23/07, Erik van Oosten [EMAIL PROTECTED] wrote:
 Of course, please go ahead!

 When you're done, please add the French link to
 http://cwiki.apache.org/WICKET/articles-about-wicket.html.

  Erik.

 ZedroS Schwart wrote:
  It's a very instructive post.
 
  Do you mind if I translate it to french and then publish it on this
  website : http://www.developpez.com/ ? For sure I would put a link to
  your blog ! :)
 
  ZedroS
 
 

 --
 Erik van Oosten
 http://day-to-day-stuff.blogspot.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


Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-04-20 Thread ZedroS Schwart
Hi

I finally found how to solve this issue : the wicket jar from
http://wicketstuff.org/maven/repository/org/apache/wicket/ seems to be
broken.

Indeed, when I download the source jar, unzip it and add it to my
project (with a few extra jar and minus the wicket one, as well as a
source path) it works properly.

Then, if I remove the source from wicket and put back the wicket
jar... it doesn't anymore !

So, as far as I can tell, my issue really comes from the wicket jar
(latest snapshot).

Whatever, this part now works properly, and I'm a happy man once again ;)

Thanks for your help all of you :)

ZedroS

-
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] stateless and/ or bookmarkable pages in Wicket 1.3

2007-04-20 Thread ZedroS Schwart
Hi all

I would like to fork the discussion Issue with redirection to intro
page after logout to discuss stateless and/ or bookmarkable pages in
Wicket 1.3.

Indeed,  Eelco said :
Off topic, I think it's good practice to make your login page a
stateless page (using a stateless form), so that users can have that
page in front of them for hours and then sign in without even being
bothered with a session expiry exception. In fact, it's probably good
practice to have the whole part of the site where you don't require
users to log in implemented as stateless and/ or bookmarkable pages.
My 2c.

However, the wiki (there
http://cwiki.apache.org/WICKET/stateless-pages.html#Statelesspages-Statelesspagesin2.0%2528andbackportedto1.3%2529
) says few and I would like to implement such pages so... I've some
questions ! As usual, I will update the wiki afterwards so it should
not be lost.

In the source, I've seen that stateless pages are mainly pages where
the developer has to ovverride getStatelessHint as following :
protected boolean getStatelessHint()
{
return true;
}

However, I've the following questions :
- how can I check my page is stateless ? Is calling getStatelessHint()
at the end of my page constructor enough ?
- do I just have to override the getStatelessHint for components
nested into others one ? For example, I would like to make my
LoginPage stateless. I'm using the SignInPanel from the examples, and
I've override the panel and form but the getStatelessHint()  of the
page still says false, so... Furthermore, on the page submit,
nothing happens anymore (the validation of the data isn't done as well
as the onSubmit). What did I miss ?

Regarding Bookmarkable page, I've the following situation : my Login
page has a public constructor with no argument. As such, it should be
a Bookmarkable page (if I've understood properly the concept there :
http://cwiki.apache.org/WICKET/bookmarkable-pages-and-links.html ).
However, when, on logout, I invalidate the session and sent back the
user to the login page, the first login attempt gives back a page
expired error... What should I do ?

Thanks in advance

Best regards
ZedroS

-
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] mount page url

2007-04-19 Thread ZedroS Schwart
Thanks for the info :)

On 4/14/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 this is how mounted page parameters are put onto the url :)

 /param1/value1/param2/value2

 also see
 IndexedParamUrlCodingStrategy

 that does

 /value1/value2

 and QueryStringUrlCodingStrategy

 that does...you guessed it...
 ?param1=valueparam2=value2

 you can roll your own, see how the above two are implemented

 -igor



 On 4/13/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
 
  BTW, is there a way to do some URL rewriting in Wicket ? For example
  passing the parameters in the URL with / between them ? Or change the
  way the pages names are made (for example to have ../myPageClass.html
  instead of the current ../myPageClass ?
 
  Thanks in advance
  ZedroS
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys-and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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



-
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] AbstractAjaxTimerBehavior on a page not possible ?

2007-04-19 Thread ZedroS Schwart
Thanks for the answer. :)

On 4/17/07, John Krasnay [EMAIL PROTECTED] wrote:
 I see. In that case, you could just render the following script along
 with your Registration Successful panel:

 script type=text/javascript
 window.setTimeout('window.location=/welcome', 5000);
 /script

 jk

 On Tue, Apr 17, 2007 at 02:50:33PM +0200, ZedroS Schwart wrote:
  As it's on the page where the registration form is presented, I would
  have to update the page with this meta after successful submit, is
  that correct ? If so, is it possible to update the meta through ajax ?
 
  Thanks again
  ZedroS
 
  On 4/17/07, John Krasnay [EMAIL PROTECTED] wrote:
   How about doing this the old-fashioned way?
  
   meta http-equiv=refresh content=5;url=/welcome
  
   jk
  
  
   On Tue, Apr 17, 2007 at 02:16:57PM +0200, ZedroS Schwart wrote:
First of all, thanks for your answer.
   
Regarding this form, in fact it's the registration one. On successful
form filling (having check that the login is unique), I would like a
feedback message to be rendered saying Registration succesfull,
you'll be redirected to the login page in a few seconds.
   
Technically speaking, it means that, when the submit is ok, I want to
hide the form and add an ajax timer to redirect the page after a short
while.
   
I hide the form and add the timer in the onSubmit of my form.
   
Cheers,
ZedroS
On 4/17/07, Johan Compagner [EMAIL PROTECTED] wrote:
 What should that submit do?

 Set the form to none visible and then also add an timer that 
 redirects after
 5 seconds?
 Why not directly redirect? Do you want to show a none visible form 
 for 5
 seconds and then move on?

 But do you add the parent of the form to the to render components? So 
 that
 the parent of the form
 is now rerendered without the form?

 johan



 On 4/17/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
 
  I'm not really familiar wih junit but I'm willing to do the test.
 
  I just would like to be sure the perimeter I'm considering is valid 
  in
 Wicket.
 
  In fact, I'm using an AjaxForm, meaning I got the submit through 
  an
  AjaxSubmitButton.
 
  Then, on the onSubmit of the form, I try to do
  - form.setVisible(false);
  -  add(new
 AbstractAjaxTimerBehavior(Duration.seconds(5)) {
  protected void
 onTimer(AjaxRequestTarget target) {
 
 setRedirect(true);
 
 setResponsePage(WelcomePage.class);
  }
  });
 
  Should it be at least possible ?
 
  If so, I'll do the junit test.
 
  Cheers,
  ZedroS
 
  On 4/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
   If you please could prepare a reproducable junit test for it and 
   add
   it to JIRA, we can fix it and keep it fixed.
  
   Eelco
  
  
   On 4/12/07, ZedroS [EMAIL PROTECTED] wrote:
   
Hi
   
I'm now on 1.3 and I've tried to use setVisible inside a form 
onSubmit
 and
it doesn't work...
   
I've tried many syntaxes, like :
@Override
public void onSubmit() {
this.setVisible(false);
setVisible(false);
}
   
I even made the form as an attribut of the page class, using 
then :
@Override
public void onSubmit() {
form.setVisible(false);
}
   
but it doesn't work.
   
I've as well noticed that my AjaxIndicator doesn't work 
anymore...
   
Do you have a clue what's going on ?
   
BR
ZedroS
   
ZedroS wrote:

 Hi

 Thanks for your answer.

 That's what I had done but I wondered whether there would be a
 better way.

 1.3 looks even further interesting I see ;)

 Cheers
 ZedroS

 On 4/4/07, Johan Compagner [EMAIL PROTECTED] wrote:
 in 1.2 you need to work around it by having a component.

 in 1.3 this is fixed and it will work on a page.

 johan


 On 4/4/07, ZedroS Schwart  [EMAIL PROTECTED] wrote:
 
  I use wicket 1.2.5...
 
  How shall I do ?
 
  Thanks in advance
  ZedroS
 
 

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

 http://www.techsay.com

Re: [Wicket-user] Issue with redirection to intro page after logout

2007-04-19 Thread ZedroS Schwart
Hi

I've just checked : in fact it's a relative url in the html page but,
when looking at the link with Firefox, the link is shown as the
absolute one. So you were right.

I update the wiki with the info :)

++
ZedroS

On 4/18/07, Johan Compagner [EMAIL PROTECTED] wrote:
 What do you mean with a full link? including host and port? this is not the
 case.

 bookmarkable page links also generate ../.. so there is not a big difference
 there
 just look at :
 http://wicketstuff.org/wicket13/niceurl/the/homepage/path

 the ../ doesn't also matter to much because this url just works fine:


 http://wicketstuff.org/wicket13/niceurl/the/homepage/../../a/nice/path/to/the/first/page

 its only a bit funny..


 johan


 On 4/17/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
  Good to know that !
 
  But isn't it surprising that a BookmarkablePageLink, when rendered in
  the html page, is a full link and not a relative one ?
 
  Furthermore, the relative link is given this way : ../URL. Is it
  possible to have it without the .. ? Otherwise, as I see it for now,
  I'll have to split the stuff or substring the path to get the full
  url...
 
  BTW, when having your answer, I'll update the wiki there :
 
 http://cwiki.apache.org/WICKET/getting-a-url-for-display.html
 
  If never you feel like doing it yourself, it would be a pleasure to read
 you !
 
  Best regards
  ZedroS
 
  On 4/17/07, Johan Compagner [EMAIL PROTECTED] wrote:
   No that is not possible in wicket. We don;'t generate full paths.
   You have to do that yourself, wicket can't do that because we can be
 behind
   proxies
   or being virtual hosted.
  
   So you must configure somewhere what your hostname:port:/contextpath is
   and prepend that.
  
  
   johan
  
  
  
   On 4/17/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
   
Hi all
   
I've been struggling for a few hours to do a redirection after a
 logout.
   
I've looked at many places, including this one :
   
  
 http://www.nabble.com/how-to-display-login-page-after-logout--tf2135329.html#a5892867
   
However, nothing works.
   
Indeed, my line urlFor(IntroPage.class, null).toString() ; returns
../public/IntroPage and not the full path
 http://localhost:8080/test/app/public/IntroPage;.
   
I didn't find a way to grab the full path, but clearly I'm missing
something. Could you please show me what.
   
Thanks in advance
ZedroS
   
   
  
 -
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
 


 -
 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


Re: [Wicket-user] Issue with redirection to intro page after logout

2007-04-19 Thread ZedroS Schwart
Hi Johan

I still don't manage to do redirection from my code.

I've even tried to do some redirection to other website or the base
URL of my app without success.

The code I use is the following :
package purgat.web.pages.user;

import org.apache.wicket.PageParameters;
import org.apache.wicket.ajax.AbstractAjaxTimerBehavior;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.markup.html.link.BookmarkablePageLink;
import org.apache.wicket.markup.html.pages.RedirectPage;
import org.apache.wicket.util.time.Duration;

import purgat.web.PurgatSession;
import purgat.web.SecuredBasePage;
import purgat.web.pages.base.IntroPage;

public class LogoutPage extends SecuredBasePage {
public LogoutPage() {
super();
// Setting of the session's user to null to indicate the user 
isn't log
// in anymore
((PurgatSession) getSession()).setUser(null);
BookmarkablePageLink manualLink = new 
BookmarkablePageLink(linkTest,
IntroPage.class);
add(manualLink);

add(new AbstractAjaxTimerBehavior(Duration.seconds(5)) {
protected void onTimer(AjaxRequestTarget target) {
setRedirect(true);

// setResponsePage(new 
RedirectPage(http://www.google.com;));
getResponse().redirect(http://www.google.com;);
}
});
}
}

Instead of http://www.google.com I tried with the base URL of my app.
I'm using wicket 1.3 latest snapshot.

What's wrong with my code ??

Thanks in advance
ZedroS

-
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 performance

2007-04-19 Thread ZedroS Schwart
Hi Alexey

I can attest that the mailing list is very supportive, so don't
conclude too fast ;)

Regarding your quest for information, I suggest you to browse/search
the mailing archive, which can be found there:
http://www.nabble.com/Wicket---User-f13976.html

From my experience it's very useful !

Cheers,
ZedroS

On 4/19/07, Alexey Maksimov [EMAIL PROTECTED] wrote:
 On Wed, 18 Apr 2007 09:48:18 -0700
 Igor Vaynberg [EMAIL PROTECTED] wrote:

  i thought you were making fun of us, and i quote  Maybe I missed
  option like 'wicket-speed = 2x'? ;-) 
 I just meant option like development/deployment or maybe option for
 experimental speedup or something like that.

 Ok, folks. I APOLOGIZE for that.

  have you tried searching this list/wiki for scalability
  performance concurrent sessions before posting your message?

 I tried to search wiki (http://cwiki.apache.org/WICKET) for
 'wicket performance' and 'wicket scalablity' to almost no results.
 The most hopeful link was 'newuserguide' but section about scalability
 is empty there.

  these topics have been discussed to no end and i am tired of
  regurgitating the same answers over and over and over and over again
  for newbies who do not bother to give us the courtesy of spending 15
  minutes and doing research.

 If it's indeed frequently asked question,
 then why not put a common answer to the FAQ page?

 I hope my apology will close that matter.
 Best regards,
 Alexey.

 -
 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


Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-04-19 Thread ZedroS Schwart
I agree but when I try not to escape it I don't manage...

For memory, the code is the following :
public class LabelIssueDemoPage extends BasePage {
   public LabelIssueDemoPage(){
   super();
   FeedbackPanel feedback = new FeedbackPanel(feedback);
   feedback.setOutputMarkupId(true);
   feedback.setEscapeModelStrings(false);
   add(feedback);
   info( getLocalizer().getString(message.test2, this,
   Testing... br / done !));
   }
}

wicket:extend
   wicket:message key=message.test1You've been
disconnected./wicket:message
   div wicket:id=feedback Feedback messages will be here /div
   table
   tr
   tdLine 5/td
   /tr
   /table
/wicket:extend

Best regards
ZedroS

On 4/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 wicket:message messages come from property files, you control completely.

 messages in feedbackpanel can include user-entered text, so it is the safest
 to escape by default.

 -igor



  On 4/19/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
 
  Hi igor
 
  I've advanced on this issue. I'm putting my message to be escaped in a
  feedbackpanel, which apparently escapes html by default.
 
  When searching for a solution, I found this :
 
 http://www.nabble.com/-Wicket-user--how-to-unescape-markup-of-the-feedbackpanel%27s-model-tf3198807.html#a8881144
 
  However, when trying to use feedback.setEscapeModelStrings(false);
  it's still doesn't work. Does I do something wrong ?
 
  My full code is (wicket 1.3 latest snapshot) :
  public class LabelIssueDemoPage extends BasePage {
  public LabelIssueDemoPage(){
  super();
  FeedbackPanel feedback = new FeedbackPanel(feedback);
  feedback.setOutputMarkupId(true);
  feedback.setEscapeModelStrings(false);
  add(feedback);
  info( getLocalizer().getString(message.test2, this,
  Testing... br / done !));
  }
  }
 
  wicket:extend
  wicket:message key=message.test1You've been
 disconnected./wicket:message
  div wicket:id=feedback Feedback messages will be here /div
  table
  tr
  tdLine 5/td
  /tr
  /table
  /wicket:extend
 
  BTW, I'm quite surprised that the current default behavior for
  wicket:message is to render html properly and not for messages
  inside a panel.
 
  Thanks in advance
  ZedroS
 
 
 -
  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


Re: [Wicket-user] Issue with redirection to intro page after logout

2007-04-19 Thread ZedroS Schwart
Thanks Alastair for your answer. I didn't know this head stuff, it's
quite impressive :)

However, I was willing to provide a message, so finally I ended using
Eelco solution, since with it I could easily provide some page
parameter for the message.

BTW, Eelco, since Wicket 1.3 it's possible to use an ajax timer
directly on a page like I did. This part of the stuff was indeed
working, as indicated some time ago by igor.

A last question : what does precisely the session.invalidate stuff ?
Indeed, in my application, when checking if the user is logged in, I
just check whether an user is in the current session. As such, to
unlog my user, I just need to do something like
session.setUser(null). So I wonder what does precisely the invalidate
(and as such whether I really need to do it or not). I checked on the
API already and there is just :Invalidates this session.

Thanks in advance
ZedroS

On 4/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 On 4/19/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
  Hi Johan
 
  I still don't manage to do redirection from my code.
 
  I've even tried to do some redirection to other website or the base
  URL of my app without success.
 
  The code I use is the following :
  package purgat.web.pages.user;
 
  import org.apache.wicket.PageParameters;
  import org.apache.wicket.ajax.AbstractAjaxTimerBehavior;
  import org.apache.wicket.ajax.AjaxRequestTarget;
  import org.apache.wicket.markup.html.link.BookmarkablePageLink;
  import org.apache.wicket.markup.html.pages.RedirectPage;
  import org.apache.wicket.util.time.Duration;
 
  import purgat.web.PurgatSession;
  import purgat.web.SecuredBasePage;
  import purgat.web.pages.base.IntroPage;
 
  public class LogoutPage extends SecuredBasePage {
  public LogoutPage() {
  super();
  // Setting of the session's user to null to indicate the 
  user isn't log
  // in anymore
  ((PurgatSession) getSession()).setUser(null);
  BookmarkablePageLink manualLink = new 
  BookmarkablePageLink(linkTest,
  IntroPage.class);
  add(manualLink);
 
  add(new AbstractAjaxTimerBehavior(Duration.seconds(5)) {
  protected void onTimer(AjaxRequestTarget target) {
  setRedirect(true);
 
  // setResponsePage(new 
  RedirectPage(http://www.google.com;));
  
  getResponse().redirect(http://www.google.com;);
  }
  });
  }
  }
 
  Instead of http://www.google.com I tried with the base URL of my app.
  I'm using wicket 1.3 latest snapshot.
 
  What's wrong with my code ??

 You can't use an ajax timer directly on page I think. There's a thread
 about it this week.

 This is the logout page we're using for the project I'm working on:

 public class LogOutPage extends WebPage {

 public LogOutPage() {

 setResponsePage(LoginPage.class);
 ((WebSession) getSession()).invalidate();
 }
 }

 setResponsePage could be anything you want, like a redirect page, or
 you could call RequestCycle.get().setRequestTarget() with e.g. an
 instance of RedirectRequestTarget.

 Not sure how well this works in 1.2 though.

 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


-
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] AbstractAjaxTimerBehavior on a page not possible ?

2007-04-17 Thread ZedroS Schwart
I'm not really familiar wih junit but I'm willing to do the test.

I just would like to be sure the perimeter I'm considering is valid in Wicket.

In fact, I'm using an AjaxForm, meaning I got the submit through an
AjaxSubmitButton.

Then, on the onSubmit of the form, I try to do
- form.setVisible(false);
-  add(new AbstractAjaxTimerBehavior(Duration.seconds(5)) {
protected void onTimer(AjaxRequestTarget 
target) {
setRedirect(true);
setResponsePage(WelcomePage.class);
}
});

Should it be at least possible ?

If so, I'll do the junit test.

Cheers,
ZedroS

On 4/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 If you please could prepare a reproducable junit test for it and add
 it to JIRA, we can fix it and keep it fixed.

 Eelco


 On 4/12/07, ZedroS [EMAIL PROTECTED] wrote:
 
  Hi
 
  I'm now on 1.3 and I've tried to use setVisible inside a form onSubmit and
  it doesn't work...
 
  I've tried many syntaxes, like :
  @Override
  public void onSubmit() {
  this.setVisible(false);
  setVisible(false);
  }
 
  I even made the form as an attribut of the page class, using then :
  @Override
  public void onSubmit() {
  form.setVisible(false);
  }
 
  but it doesn't work.
 
  I've as well noticed that my AjaxIndicator doesn't work anymore...
 
  Do you have a clue what's going on ?
 
  BR
  ZedroS
 
  ZedroS wrote:
  
   Hi
  
   Thanks for your answer.
  
   That's what I had done but I wondered whether there would be a better way.
  
   1.3 looks even further interesting I see ;)
  
   Cheers
   ZedroS
  
   On 4/4/07, Johan Compagner [EMAIL PROTECTED] wrote:
   in 1.2 you need to work around it by having a component.
  
   in 1.3 this is fixed and it will work on a page.
  
   johan
  
  
   On 4/4/07, ZedroS Schwart  [EMAIL PROTECTED] wrote:
   
I use wicket 1.2.5...
   
How shall I do ?
   
Thanks in advance
ZedroS
   
   
   -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net 's Techsay panel and you'll get the chance to
   share
   your
opinions on IT  business topics through brief surveys-and earn cash
   
   http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
   -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share
   your
   opinions on IT  business topics through brief surveys-and earn cash
   http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
   -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share
   your
   opinions on IT  business topics through brief surveys-and earn cash
   http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
  --
  View this message in context: 
  http://www.nabble.com/AbstractAjaxTimerBehavior-on-a-page-not-possible---tf3524910.html#a9958833
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share your
  opinions on IT  business topics through brief surveys-and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

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

Re: [Wicket-user] Issue with redirection to intro page after logout

2007-04-17 Thread ZedroS Schwart
Good to know that !

But isn't it surprising that a BookmarkablePageLink, when rendered in
the html page, is a full link and not a relative one ?

Furthermore, the relative link is given this way : ../URL. Is it
possible to have it without the .. ? Otherwise, as I see it for now,
I'll have to split the stuff or substring the path to get the full
url...

BTW, when having your answer, I'll update the wiki there :
http://cwiki.apache.org/WICKET/getting-a-url-for-display.html

If never you feel like doing it yourself, it would be a pleasure to read you !

Best regards
ZedroS

On 4/17/07, Johan Compagner [EMAIL PROTECTED] wrote:
 No that is not possible in wicket. We don;'t generate full paths.
 You have to do that yourself, wicket can't do that because we can be behind
 proxies
 or being virtual hosted.

 So you must configure somewhere what your hostname:port:/contextpath is
 and prepend that.


 johan



 On 4/17/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
 
  Hi all
 
  I've been struggling for a few hours to do a redirection after a logout.
 
  I've looked at many places, including this one :
 
 http://www.nabble.com/how-to-display-login-page-after-logout--tf2135329.html#a5892867
 
  However, nothing works.
 
  Indeed, my line urlFor(IntroPage.class, null).toString() ; returns
  ../public/IntroPage and not the full path
   http://localhost:8080/test/app/public/IntroPage;.
 
  I didn't find a way to grab the full path, but clearly I'm missing
  something. Could you please show me what.
 
  Thanks in advance
  ZedroS
 
 
 -
  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


Re: [Wicket-user] AbstractAjaxTimerBehavior on a page not possible ?

2007-04-17 Thread ZedroS Schwart
First of all, thanks for your answer.

Regarding this form, in fact it's the registration one. On successful
form filling (having check that the login is unique), I would like a
feedback message to be rendered saying Registration succesfull,
you'll be redirected to the login page in a few seconds.

Technically speaking, it means that, when the submit is ok, I want to
hide the form and add an ajax timer to redirect the page after a short
while.

I hide the form and add the timer in the onSubmit of my form.

Cheers,
ZedroS
On 4/17/07, Johan Compagner [EMAIL PROTECTED] wrote:
 What should that submit do?

 Set the form to none visible and then also add an timer that redirects after
 5 seconds?
 Why not directly redirect? Do you want to show a none visible form for 5
 seconds and then move on?

 But do you add the parent of the form to the to render components? So that
 the parent of the form
 is now rerendered without the form?

 johan



 On 4/17/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
 
  I'm not really familiar wih junit but I'm willing to do the test.
 
  I just would like to be sure the perimeter I'm considering is valid in
 Wicket.
 
  In fact, I'm using an AjaxForm, meaning I got the submit through an
  AjaxSubmitButton.
 
  Then, on the onSubmit of the form, I try to do
  - form.setVisible(false);
  -  add(new
 AbstractAjaxTimerBehavior(Duration.seconds(5)) {
  protected void
 onTimer(AjaxRequestTarget target) {
 
 setRedirect(true);
 
 setResponsePage(WelcomePage.class);
  }
  });
 
  Should it be at least possible ?
 
  If so, I'll do the junit test.
 
  Cheers,
  ZedroS
 
  On 4/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
   If you please could prepare a reproducable junit test for it and add
   it to JIRA, we can fix it and keep it fixed.
  
   Eelco
  
  
   On 4/12/07, ZedroS [EMAIL PROTECTED] wrote:
   
Hi
   
I'm now on 1.3 and I've tried to use setVisible inside a form onSubmit
 and
it doesn't work...
   
I've tried many syntaxes, like :
@Override
public void onSubmit() {
this.setVisible(false);
setVisible(false);
}
   
I even made the form as an attribut of the page class, using then :
@Override
public void onSubmit() {
form.setVisible(false);
}
   
but it doesn't work.
   
I've as well noticed that my AjaxIndicator doesn't work anymore...
   
Do you have a clue what's going on ?
   
BR
ZedroS
   
ZedroS wrote:

 Hi

 Thanks for your answer.

 That's what I had done but I wondered whether there would be a
 better way.

 1.3 looks even further interesting I see ;)

 Cheers
 ZedroS

 On 4/4/07, Johan Compagner [EMAIL PROTECTED] wrote:
 in 1.2 you need to work around it by having a component.

 in 1.3 this is fixed and it will work on a page.

 johan


 On 4/4/07, ZedroS Schwart  [EMAIL PROTECTED] wrote:
 
  I use wicket 1.2.5...
 
  How shall I do ?
 
  Thanks in advance
  ZedroS
 
 

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

 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
 
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 



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

 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net

 https://lists.sourceforge.net/lists/listinfo/wicket-user




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

 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net

 https://lists.sourceforge.net/lists/listinfo/wicket-user


   
--
View this message in context:
 http://www.nabble.com

Re: [Wicket-user] AbstractAjaxTimerBehavior on a page not possible ?

2007-04-17 Thread ZedroS Schwart
As it's on the page where the registration form is presented, I would
have to update the page with this meta after successful submit, is
that correct ? If so, is it possible to update the meta through ajax ?

Thanks again
ZedroS

On 4/17/07, John Krasnay [EMAIL PROTECTED] wrote:
 How about doing this the old-fashioned way?

 meta http-equiv=refresh content=5;url=/welcome

 jk


 On Tue, Apr 17, 2007 at 02:16:57PM +0200, ZedroS Schwart wrote:
  First of all, thanks for your answer.
 
  Regarding this form, in fact it's the registration one. On successful
  form filling (having check that the login is unique), I would like a
  feedback message to be rendered saying Registration succesfull,
  you'll be redirected to the login page in a few seconds.
 
  Technically speaking, it means that, when the submit is ok, I want to
  hide the form and add an ajax timer to redirect the page after a short
  while.
 
  I hide the form and add the timer in the onSubmit of my form.
 
  Cheers,
  ZedroS
  On 4/17/07, Johan Compagner [EMAIL PROTECTED] wrote:
   What should that submit do?
  
   Set the form to none visible and then also add an timer that redirects 
   after
   5 seconds?
   Why not directly redirect? Do you want to show a none visible form for 5
   seconds and then move on?
  
   But do you add the parent of the form to the to render components? So that
   the parent of the form
   is now rerendered without the form?
  
   johan
  
  
  
   On 4/17/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
   
I'm not really familiar wih junit but I'm willing to do the test.
   
I just would like to be sure the perimeter I'm considering is valid in
   Wicket.
   
In fact, I'm using an AjaxForm, meaning I got the submit through an
AjaxSubmitButton.
   
Then, on the onSubmit of the form, I try to do
- form.setVisible(false);
-  add(new
   AbstractAjaxTimerBehavior(Duration.seconds(5)) {
protected void
   onTimer(AjaxRequestTarget target) {
   
   setRedirect(true);
   
   setResponsePage(WelcomePage.class);
}
});
   
Should it be at least possible ?
   
If so, I'll do the junit test.
   
Cheers,
ZedroS
   
On 4/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 If you please could prepare a reproducable junit test for it and add
 it to JIRA, we can fix it and keep it fixed.

 Eelco


 On 4/12/07, ZedroS [EMAIL PROTECTED] wrote:
 
  Hi
 
  I'm now on 1.3 and I've tried to use setVisible inside a form 
  onSubmit
   and
  it doesn't work...
 
  I've tried many syntaxes, like :
  @Override
  public void onSubmit() {
  this.setVisible(false);
  setVisible(false);
  }
 
  I even made the form as an attribut of the page class, using then :
  @Override
  public void onSubmit() {
  form.setVisible(false);
  }
 
  but it doesn't work.
 
  I've as well noticed that my AjaxIndicator doesn't work anymore...
 
  Do you have a clue what's going on ?
 
  BR
  ZedroS
 
  ZedroS wrote:
  
   Hi
  
   Thanks for your answer.
  
   That's what I had done but I wondered whether there would be a
   better way.
  
   1.3 looks even further interesting I see ;)
  
   Cheers
   ZedroS
  
   On 4/4/07, Johan Compagner [EMAIL PROTECTED] wrote:
   in 1.2 you need to work around it by having a component.
  
   in 1.3 this is fixed and it will work on a page.
  
   johan
  
  
   On 4/4/07, ZedroS Schwart  [EMAIL PROTECTED] wrote:
   
I use wicket 1.2.5...
   
How shall I do ?
   
Thanks in advance
ZedroS
   
   
  
   -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net 's Techsay panel and you'll get the chance
   to
   share
   your
opinions on IT  business topics through brief surveys-and earn
   cash
   
  
   http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
   https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
  
   -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to
   share
   your
   opinions on IT  business topics through brief surveys-and earn
   cash
  
   http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list

[Wicket-user] Issue with redirection to intro page after logout

2007-04-16 Thread ZedroS Schwart
Hi all

I've been struggling for a few hours to do a redirection after a logout.

I've looked at many places, including this one :
http://www.nabble.com/how-to-display-login-page-after-logout--tf2135329.html#a5892867

However, nothing works.

Indeed, my line urlFor(IntroPage.class, null).toString() ; returns
../public/IntroPage and not the full path
http://localhost:8080/test/app/public/IntroPage;.

I didn't find a way to grab the full path, but clearly I'm missing
something. Could you please show me what.

Thanks in advance
ZedroS

-
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 ready for development?

2007-04-13 Thread ZedroS Schwart
Thanks again.

I update the wiki with it :)

++
ZedroS

On 4/12/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
  However, I've one more question. What are the differences in
  http://wicketstuff.org/maven/repository/org/apache/wicket/wicket/ between :
1.3-incubating-SNAPSHOT/
  and
  1.3.0-incubating-SNAPSHOT/

 1.3 is a left-over from previous development. 1.3.0 is what we use
 now, with 1.3.1, 1.3.n in mind :)

 Eelco

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


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


Re: [Wicket-user] crtypted url cannot work for current 2.0 snap shot.

2007-04-13 Thread ZedroS Schwart
Hi

AFAIK, 2.0 has been let down in favor of 1.3.0, so it's not a big
surprise things are broken in it, at least I think so.

BR,
ZedroS

On 4/13/07, tooy li(Gmail) [EMAIL PROTECTED] wrote:
 and the customed error page also cannot work well. when i open a modal window 
 by ajax link, it will generate some error. I has complained it for a long 
 time, but nobody care it. :( . 2.0 is really dead now.

 at 
 wicket.protocol.http.request.CryptedUrlWebRequestCodingStrategy$DecodedUrlRequest.getParameter(CryptedUrlWebRequestCodingStrategy.java:458)
  at 
 wicket.protocol.http.request.AbstractWebRequestCodingStrategy.decode(AbstractWebRequestCodingStrategy.java:102)
  at 
 wicket.protocol.http.request.CryptedUrlWebRequestCodingStrategy.decode(CryptedUrlWebRequestCodingStrategy.java:107)

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


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


[Wicket-user] Wicket 1.2.5 and/or 1.3 on WOJ (World of Java) ?

2007-04-13 Thread ZedroS Schwart
Hi all

I've recently discovered World of Java
(http://www.worldofjava.org/language.do?locale=en)

It's an engine allowing to view the javadoc and the source for many
open source projects. This engine is packaged in some plugins for
Eclipse, Netbeans and IntelliJ.

It really rocks, since you're sure to get the javadoc/source for so
many projects, I find it really helpful.

Do you know it ? BTW, the licence is free for OSS projects or personal use.

Currently, regarding Wicket, only some versions 1.2.3 (and under) are
available. I think 1.2.5 could be as well on it (I don't know why it
isn't), and I even dare to think at 1.3, but :
- I don't know if 1.3 is ready enough for it
- 1.3 has to be included under Apache and not wicket

What do you say of it ?

BR,
ZedroS

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


Re: [Wicket-user] 2 issues with RefreshingView : ERROR - RequestCycle - Index: 0 and submit button present too many times

2007-04-12 Thread ZedroS Schwart
I've done so, with screenshots as well. It's the issue WICKET-461.

ZedroS

On 4/12/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 Alternatively, you can open up an issue in JIRA and attach it there.

 Eelco

 On 4/11/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
  Hi again
 
 
  I've done a demo application for the issue (bug ?). I've spotted its
  appear when I add my template page (otherwise it's working).
 
  The demo app does 5Mo, so it won't go through the mailing list. So I
  send it directly to you Igor, I hope you won't mind.
 
  If anyone else would like it, just let me know.
 
  ZedroS
 
 
  On 4/11/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
   Hi Igor
  
   I've played with it again regarding the multiple ajax submit buttons
   and I've noticed the following behavior :
   - this issue is only happening on Firefox (more precisely :
   Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3)
   Gecko/20070309 Firefox/2.0.0.3). On Internet Explorer 6 SP2 it's
   working fine.
   - this issue only appears when I add the panel to my form. I've
   emptied my panel and it's still the same issue.
  
   BTW, I'm working on Wicket 1.3.
  
   If needed, I wouldn't mind sending my code to let you play with it.
   I've started to do a issue demo app but it takes time.
  
   ZedroS
   On 4/10/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
not really, its a complex hierarchy and if i was going to debug it i 
would
have to recreate it myself.
   
-igor
   
   
On 4/10/07, ZedroS Schwart  [EMAIL PROTECTED] wrote:

 I agree that the current modelisation is quite complex. Quickly, it's
 the following : my page has a form, let's call it form Form1. This
 form in fact inherits an Ajax form. This Ajax form add the Ajax
 submit button, an AjaxIndicator image and define the feedbackpanel.

 In Form1, I add two textfields with theirs borders and then a panel.
 This panel, called Panel1, contains a form and, added to this form,
 the RefreshingView. On the RefreshingView populateItem(...) I add two
 Labels and then the ActionPanel containing my 2 links.

 BTW, when the page renders for the first time, the row containing my
 ajax submit button is black. That's really weird since nowhere I've
 asked for it to be black... The added ajax submit buttons are added on
 a line above, one next to the other(s).

 Does it help you ?

 I'm going to dig deeper to see if I can do a quickstart for you to
 reproduce it (or to narrow my issue my removing non necessary stuff).

 Thanks again igor

 ZedroS


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

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/wicket-user

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

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


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

Re: [Wicket-user] 2 issues with RefreshingView : ERROR - RequestCycle - Index: 0 and submit button present too many times

2007-04-11 Thread ZedroS Schwart
Hi Igor

I've played with it again regarding the multiple ajax submit buttons
and I've noticed the following behavior :
- this issue is only happening on Firefox (more precisely :
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3)
Gecko/20070309 Firefox/2.0.0.3). On Internet Explorer 6 SP2 it's
working fine.
- this issue only appears when I add the panel to my form. I've
emptied my panel and it's still the same issue.

BTW, I'm working on Wicket 1.3.

If needed, I wouldn't mind sending my code to let you play with it.
I've started to do a issue demo app but it takes time.

ZedroS
On 4/10/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 not really, its a complex hierarchy and if i was going to debug it i would
 have to recreate it myself.

 -igor


 On 4/10/07, ZedroS Schwart  [EMAIL PROTECTED] wrote:
 
  I agree that the current modelisation is quite complex. Quickly, it's
  the following : my page has a form, let's call it form Form1. This
  form in fact inherits an Ajax form. This Ajax form add the Ajax
  submit button, an AjaxIndicator image and define the feedbackpanel.
 
  In Form1, I add two textfields with theirs borders and then a panel.
  This panel, called Panel1, contains a form and, added to this form,
  the RefreshingView. On the RefreshingView populateItem(...) I add two
  Labels and then the ActionPanel containing my 2 links.
 
  BTW, when the page renders for the first time, the row containing my
  ajax submit button is black. That's really weird since nowhere I've
  asked for it to be black... The added ajax submit buttons are added on
  a line above, one next to the other(s).
 
  Does it help you ?
 
  I'm going to dig deeper to see if I can do a quickstart for you to
  reproduce it (or to narrow my issue my removing non necessary stuff).
 
  Thanks again igor
 
  ZedroS
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys-and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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



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


Re: [Wicket-user] 2 issues with RefreshingView : ERROR - RequestCycle - Index: 0 and submit button present too many times

2007-04-11 Thread ZedroS Schwart
Hi again


I've done a demo application for the issue (bug ?). I've spotted its
appear when I add my template page (otherwise it's working).

The demo app does 5Mo, so it won't go through the mailing list. So I
send it directly to you Igor, I hope you won't mind.

If anyone else would like it, just let me know.

ZedroS


On 4/11/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
 Hi Igor

 I've played with it again regarding the multiple ajax submit buttons
 and I've noticed the following behavior :
 - this issue is only happening on Firefox (more precisely :
 Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3)
 Gecko/20070309 Firefox/2.0.0.3). On Internet Explorer 6 SP2 it's
 working fine.
 - this issue only appears when I add the panel to my form. I've
 emptied my panel and it's still the same issue.

 BTW, I'm working on Wicket 1.3.

 If needed, I wouldn't mind sending my code to let you play with it.
 I've started to do a issue demo app but it takes time.

 ZedroS
 On 4/10/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
  not really, its a complex hierarchy and if i was going to debug it i would
  have to recreate it myself.
 
  -igor
 
 
  On 4/10/07, ZedroS Schwart  [EMAIL PROTECTED] wrote:
  
   I agree that the current modelisation is quite complex. Quickly, it's
   the following : my page has a form, let's call it form Form1. This
   form in fact inherits an Ajax form. This Ajax form add the Ajax
   submit button, an AjaxIndicator image and define the feedbackpanel.
  
   In Form1, I add two textfields with theirs borders and then a panel.
   This panel, called Panel1, contains a form and, added to this form,
   the RefreshingView. On the RefreshingView populateItem(...) I add two
   Labels and then the ActionPanel containing my 2 links.
  
   BTW, when the page renders for the first time, the row containing my
   ajax submit button is black. That's really weird since nowhere I've
   asked for it to be black... The added ajax submit buttons are added on
   a line above, one next to the other(s).
  
   Does it help you ?
  
   I'm going to dig deeper to see if I can do a quickstart for you to
   reproduce it (or to narrow my issue my removing non necessary stuff).
  
   Thanks again igor
  
   ZedroS
  
  
  -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share
  your
   opinions on IT  business topics through brief surveys-and earn cash
  
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share your
  opinions on IT  business topics through brief surveys-and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


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


[Wicket-user] 2 issues with RefreshingView : ERROR - RequestCycle - Index: 0 and submit button present too many times

2007-04-10 Thread ZedroS Schwart
Hi

I'm currently working on a RefreshingView and I got the 2 followings issues :
- I've added an ActionPanel like the one in the Wicket Example and
when onClick is fired I got the following error :
ERROR - RequestCycle   - Index: 0
java.lang.IndexOutOfBoundsException: Index: 0
at java.util.Collections$EmptyList.get(Collections.java:2970)
at 
wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:88)
at 
wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:89)
at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:962)
at wicket.RequestCycle.step(RequestCycle.java:1035)
at wicket.RequestCycle.steps(RequestCycle.java:1114)
at wicket.RequestCycle.request(RequestCycle.java:474)
at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:248)
at wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:122)
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.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:619)
The ActionPanel is define as following :
private class ActionPanel extends Panel {
public ActionPanel(String id, IModel model) {
super(id, model);
add(new AjaxLink(+) {
@Override
public void onClick(AjaxRequestTarget arg0) {
System.out.println(increment);
}
});
}
}

- the other issue is, I think, easier, but I didn't find how to solve
it. In fact, my panel containing the RefreshingView is itself in a
form. When the form is submitted and something put on the feedback
panel, then the submit button is rendered twice... The button is in
fact shown as many times as the form has been submitted. How can I
stop that ?

I'm using wicket 1.3. Regarding the code, I don't know which part of
it would most help you, so I put a few samples but feel free to ask
more.

Thanks in advance
ZedroS

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


Re: [Wicket-user] 2 issues with RefreshingView : ERROR - RequestCycle - Index: 0 and submit button present too many times

2007-04-10 Thread ZedroS Schwart
Hi igor

Thanks a lot, it did solve my first issue.

Regarding the other one, the one about the submit button being shown
as many times as it has been clicked, what could I do for it ?

FYI, this button is added in a global form containing as well the
RefreshingView (which itself has its own form, even if I wonder now if
it's relevant).

Thanks in advance
ZedroS
On 4/10/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 try an id that is an alpha string rather then +

 -igor



 On 4/10/07, ZedroS Schwart [EMAIL PROTECTED]  wrote:
 
  Hi
 
  I'm currently working on a RefreshingView and I got the 2 followings
 issues :
  - I've added an ActionPanel like the one in the Wicket Example and
  when onClick is fired I got the following error :
  ERROR - RequestCycle   - Index: 0
  java.lang.IndexOutOfBoundsException: Index: 0
  at
 java.util.Collections$EmptyList.get(Collections.java:2970)
  at
 wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:88)
  at
 wicket.request.AbstractRequestCycleProcessor.processEvents
 (AbstractRequestCycleProcessor.java:89)
  at
 wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:962)
  at wicket.RequestCycle.step(RequestCycle.java:1035)
  at wicket.RequestCycle.steps (RequestCycle.java:1114)
  at wicket.RequestCycle.request(RequestCycle.java:474)
  at
 wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:248)
  at wicket.protocol.http.WicketFilter.doFilter
 (WicketFilter.java:122)
  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.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:619)
  The ActionPanel is define as following :
  private class ActionPanel extends Panel {
  public ActionPanel(String id, IModel model) {
  super(id, model);
  add(new AjaxLink(+) {
  @Override
  public void
 onClick(AjaxRequestTarget arg0) {
 
 System.out.println(increment);
  }
  });
  }
  }
 
  - the other issue is, I think, easier, but I didn't find how to solve
  it. In fact, my panel containing the RefreshingView is itself in a
  form. When the form is submitted and something put on the feedback
  panel, then the submit button is rendered twice... The button is in
  fact shown as many times as the form has been submitted. How can I
  stop that ?
 
  I'm using wicket 1.3. Regarding the code, I don't know which part of
  it would most help you, so I put a few samples but feel free to ask
  more.
 
  Thanks in advance
  ZedroS
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys-and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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

Re: [Wicket-user] 2 issues with RefreshingView : ERROR - RequestCycle - Index: 0 and submit button present too many times

2007-04-10 Thread ZedroS Schwart
I agree that the current modelisation is quite complex. Quickly, it's
the following : my page has a form, let's call it form Form1. This
form in fact inherits an Ajax form. This Ajax form add the Ajax
submit button, an AjaxIndicator image and define the feedbackpanel.

In Form1, I add two textfields with theirs borders and then a panel.
This panel, called Panel1, contains a form and, added to this form,
the RefreshingView. On the RefreshingView populateItem(...) I add two
Labels and then the ActionPanel containing my 2 links.

BTW, when the page renders for the first time, the row containing my
ajax submit button is black. That's really weird since nowhere I've
asked for it to be black... The added ajax submit buttons are added on
a line above, one next to the other(s).

Does it help you ?

I'm going to dig deeper to see if I can do a quickstart for you to
reproduce it (or to narrow my issue my removing non necessary stuff).

Thanks again igor

ZedroS

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


Re: [Wicket-user] AjaxFormSubmitBehavior : which event to use ?

2007-04-05 Thread ZedroS Schwart
Hi

Just for records, I found my issue : I was adding mu behavior of the
form itself. I now add it to the ajax button and it rocks !

Thanks again Wicket team :)

ZedroS

On 4/2/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
 Hi

 Just to add a new point : in fact each time the user click on the form
 the ajax call is made, even if the feedback panel isn't updated...
 Weird for a AjaxFormSubmitIndicator no ? How can I avoid such a
 behavior ?

 Thanks in advance
 ZedroS

 On 4/1/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
  Hi
 
  I'm using an AjaxFormSubmitBehavior  to render a little indicator on
  the ongoing Ajax request.
 
  I've done it this way :
  class AjaxFormSubmitIndicator extends 
  AjaxFormSubmitBehavior
  implements IAjaxIndicatorAware {
 
  public AjaxFormSubmitIndicator() {
  super(UserInscriptionForm.this, 
  onclick);
  }
 
  public String getAjaxIndicatorMarkupId() {
  return imgContainer.getMarkupId();
  }
 
  @Override
  protected void onSubmit(AjaxRequestTarget 
  target) {
  target.addComponent(imgContainer);
  }
  }
 
  However, I've the image shown each time the user click somewhere on
  the form. It's really brief, for sure, but still it's kind of
  misleading/annoying.
 
  Moreover, I'm using a AjaxSubmitButton to submit this form. Can
  something be done to show the image indicator from it ?
 
  thanks in advance
  ZedroS
 


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


Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-04-05 Thread ZedroS Schwart
Hum, I'm quite surprised since I've inserted some html (mainly br /)
code in my properties files and it weren't rendered properly... I just
had some br / appearing in my page (using wicket 1.2.5).

What do I do wrong ?

Thanks in advance
ZedroS



On 4/5/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 it is deactivated by default


 On 4/5/07, ZedroS [EMAIL PROTECTED] wrote:
 
  Hi
 
  Regarind the html escaping in message tag, can we now desactivate it ? If
  so, could you tell me how please ?
 
  Thanks in advance
  ZedroS
 
 
  igor.vaynberg wrote:
  
   done in branches-1.x and trunk
  
   -igor
  
  
   On 1/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
  
   Ok, I guess just not escaping would be fine is most if not all cases.
  
   Eelco
  
   On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
i dont know if we need yet another setting/attribute
   
lets go the simple route and have them always not escaped first, then
   if
someone wants it thats fine. do we need to have a vote on this?
   
-1 on a setting for sure, if i design a component to work in one
   setting
   and
you drop it into a project that uses another it will break. so an
   attribute
maybe - upon a request. setting def not.
   
as far as wicket:message property - yes those should always be
 escaped
   -
there is no reason to embed markup in an attribute afaict
   
-igor
   
   
   
On 1/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 Yeah. It would probably be a better default. It would be best if
 you
 could at least override this default with an attribute on the
 wicket:message tag, and maybe as a global setting as well. What
 about
 wicket:message attributes though (actually, I didn't know they were
 working yet): those should probably always be escaped?

 Eelco


 On 1/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
  i guess maybe we should allow markup in wicket:message since it
   comes
from
  .property files so no security threat.
 
  what do others think?
 
 
  -igor
 
 
  On 1/19/07, Peter Thomas [EMAIL PROTECTED]  wrote:
   Yes, that would be great and I'll watch out for when it is
   released !
  
   I am also wondering if this can be globally set (maybe slight
  performance improvement?) but you will be the best judge for
 that.
  
  
   Thanks,
  
   Peter.
  
  
   On 1/19/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
if you want to upgrade to 1.x (1.3) i can try adding a switch
   to
  wicket:message to disable escaping
   
   
-igor
   
   
   
On 1/19/07, Peter Thomas  [EMAIL PROTECTED] wrote:
 I am using 1.2.4

 Not sure if it matters but I'm using a Spring MessageSource
   so
   I
have
  my own implementation of IStringResourceLoader set up in the
   Application
  through
 getResourceSettings().addStringResourceLoader

 Thanks,

 Peter.



 On 1/19/07, Igor Vaynberg  [EMAIL PROTECTED] 
 wrote:
  what version of wicket are you using?
 
  -igor
 
 
 
 
  On 1/19/07, Peter Thomas  [EMAIL PROTECTED] wrote:
  
   Hi,
  
   I'm migrating a JSP app which already has i18n to
 wicket
   and
  re-using an existing resource bundle.  There are a few cases
 where
   HTML
has
  been embedded in the string resource - e.g:
  
   my.key=Hello br/World!
  
   But now when using wicket:message key=my.key /
 wicket
appears
  to be html escaping the value of the localized string retrieved -
   so
   in
this
  case I see the br/ rendered on screen where I expected a line
   break.
  
   Is there any way to suppress this or there is no option
   but to
  clean up the bundles?
  
   Thanks,
  
   Peter.
  
  
 
   
  
 -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the
   chance
to
  share your
   opinions on IT  business topics through brief surveys
 -
   and
earn
  cash
  
 
   
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  
  
___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
 
 
 
 
   
  
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join 

Re: [Wicket-user] Framework Evaluation

2007-04-05 Thread ZedroS Schwart
Hi

I was myself looking for a web framework and I've looked at both
Tapestry and Wicket, so I'll quickly give my feeling :
- Tapestry development team switch from major version to major version
without providing a clear migration path for the user. As such, on
Tapestry forums, you got questions of old Tapestry 3, then of
current Tap 4 and even some on Tap 5, each version being quite
different. That was a major hurdle for me, because I want my web
framework to last more than the time of a version and to have a clear
migration path.
- In tapestry, components inheritance isn't possible. In wicket, it's
just awesome, especially considering an enterprise developed website.
Indeed, you define basePage, baseForm and so on, so the basic
developer is guided and helped a lot. For example, I use an
ajaxBasedForm for my forms, and thus the ajax stuff is written only
once and I don't have to deal with it anymore, even if all my forms
are ajax enabled. Great isn't it ? On an enterprise, I really see the
benefits : the normal forms' developers will just have to deal with
the forms' elements, and not with the form validation and submitting
logic.
- last but not least, the developers behind Wicket are just really
user friendly. They listen to developers inputs as well as respond
really fast and efficiently to questions. It's just amazing.

For GWT, I can't tell. I mainly skipped it because it was way too much
full ajax and, at the time, not free (quite annoying at the time for
the unfixed bugs).

Best regards
ZedroS

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


[Wicket-user] AbstractAjaxTimerBehavior on a page not possible ?

2007-04-04 Thread ZedroS Schwart
Hi all

I've the following code :
public class LogoutPage extends SecuredBasePage {
public LogoutPage() {
((Session) getSession()).setUser(null);

add(new AbstractAjaxTimerBehavior(Duration.seconds(5)) {
protected void onTimer(AjaxRequestTarget target) {
setResponsePage(IntroPage.class);
}
});
}
}

However the onTimer is never called...

Am I forced to add the behavior to a component even if I don't need
any component ?

Thanks in advance
ZedroS

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


Re: [Wicket-user] Template page, menu and confirmations pages

2007-04-04 Thread ZedroS Schwart
Thanks Igor

I've succesfully implemented the repeater.

However, regarding the confirmation dialog, your hint has lead me to
use the form.setVisible(false) and then the info(...) to display my
confirmation message.

Regarding your solution of a panel, however, could you please just
provide a bit more details ? In fact I wonder if I understood it well,
did you mean :
on successful submit :
set the form invisible
set the panel visible

Is that correct ?

Thanks in advance
ZedroS
On 4/3/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 On 4/3/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
  How can I show this page without breaking the menu (with the right
  entry being unable) ?

 make confirmation dialog be a panel rather then a page. so just replace a
 part of the page that has your form with the confirmation panel.

  On another hand, how can I define different sets of links in the
  template page depending on the user profile ? In fact I need a
  dynamic links list to be shown but I don't know how to do so.

 there are two ways to do it
 1) add all possible links and toggle their visibility
 2) add only the relevant links into a repeater such as RepeatingView or a
 ListView

 -igor


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


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



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


Re: [Wicket-user] AbstractAjaxTimerBehavior on a page not possible ?

2007-04-04 Thread ZedroS Schwart
I use wicket 1.2.5...

How shall I do ?

Thanks in advance
ZedroS

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


[Wicket-user] Template page, menu and confirmations pages

2007-04-03 Thread ZedroS Schwart
Hi

I've a template for my pages around a boxborder for the content and a
list for the links to the pages.

All the links are set using BookmarkablePageLink in an html list with
setAutoEnable(true) so I don't have to mess around with them.

However, I'm not stuck with the following use case : having to render
a confirmation page on a submit.

How can I show this page without breaking the menu (with the right
entry being unable) ?



On another hand, how can I define different sets of links in the
template page depending on the user profile ? In fact I need a
dynamic links list to be shown but I don't know how to do so.

Thanks in advance
ZedroS

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


Re: [Wicket-user] AjaxFormSubmitBehavior : which event to use ?

2007-04-02 Thread ZedroS Schwart
Hi

Just to add a new point : in fact each time the user click on the form
the ajax call is made, even if the feedback panel isn't updated...
Weird for a AjaxFormSubmitIndicator no ? How can I avoid such a
behavior ?

Thanks in advance
ZedroS

On 4/1/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
 Hi

 I'm using an AjaxFormSubmitBehavior  to render a little indicator on
 the ongoing Ajax request.

 I've done it this way :
 class AjaxFormSubmitIndicator extends 
 AjaxFormSubmitBehavior
 implements IAjaxIndicatorAware {

 public AjaxFormSubmitIndicator() {
 super(UserInscriptionForm.this, 
 onclick);
 }

 public String getAjaxIndicatorMarkupId() {
 return imgContainer.getMarkupId();
 }

 @Override
 protected void onSubmit(AjaxRequestTarget 
 target) {
 target.addComponent(imgContainer);
 }
 }

 However, I've the image shown each time the user click somewhere on
 the form. It's really brief, for sure, but still it's kind of
 misleading/annoying.

 Moreover, I'm using a AjaxSubmitButton to submit this form. Can
 something be done to show the image indicator from it ?

 thanks in advance
 ZedroS


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


Re: [Wicket-user] Joost uses Wicket

2007-04-02 Thread ZedroS Schwart
 I'll be  checking in  an URIRequestTargetUrlCodingStrategy  in the
 next  days that  basically takes  the remaining  URL fragment  and
 gives  it  to  the  user  as getURI().   To  follow  your  advice,
 I  will  also  add an  example  of  how  to  combine this  with  a
 ResourceStreamRequestTarget, good idea.

Great, thanks !

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


[Wicket-user] AjaxFormSubmitBehavior : which event to use ?

2007-04-01 Thread ZedroS Schwart
Hi

I'm using an AjaxFormSubmitBehavior  to render a little indicator on
the ongoing Ajax request.

I've done it this way :
class AjaxFormSubmitIndicator extends 
AjaxFormSubmitBehavior
implements IAjaxIndicatorAware {

public AjaxFormSubmitIndicator() {
super(UserInscriptionForm.this, 
onclick);
}

public String getAjaxIndicatorMarkupId() {
return imgContainer.getMarkupId();
}

@Override
protected void onSubmit(AjaxRequestTarget 
target) {
target.addComponent(imgContainer);
}
}

However, I've the image shown each time the user click somewhere on
the form. It's really brief, for sure, but still it's kind of
misleading/annoying.

Moreover, I'm using a AjaxSubmitButton to submit this form. Can
something be done to show the image indicator from it ?

thanks in advance
ZedroS

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


Re: [Wicket-user] AjaxSubmitButton and FormComponentFeedbackBorder

2007-03-30 Thread ZedroS Schwart
Thanks Igor.

That's what I was doing but I didn't manage to grab my feedback borders.

It's now done like this :
target.addComponent(formComponent.getParent());

Cheers
ZedroS
On 3/28/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 use a visitor to visit all form component feedback borders and add them to
 the target.

 -igor



 On 3/28/07, ZedroS Schwart  [EMAIL PROTECTED] wrote:
 
  Quick update :
  I've found some help here :
 
 http://www.nabble.com/FeedbackPanel%2C-Form%2C-which-component-is-caousing-feedback--tf2427268.html#a6767963
  but I'm still looking for how to tell the FormComponentFeedbackBorder
  to render itself..
 
  ++
  ZedroS, digging in !
 
 
  On 3/28/07, ZedroS Schwart  [EMAIL PROTECTED] wrote:
   Hi
  
   I'm playing with Ajax and Wicket, which is quite fun, but I've an
   issue with AjaxSubmitButton and FormComponentFeedbackBorder.
  
   I guess I should use target.addComponent(Component) ; to declare in my
   AjaxSubmitButton that I want the feedback border to be updated.
  
   However, I'm using a CommonForm which is inherited in my page, to add
   some specific elements.
  
   Thus, if I put my AjaxSubmitButton in my page, I don't have any
   reference to the feedbackborder. If I put my AjaxSubmitButton in the
   inherited form itself, then I've to give a reference to my
   feedbackpanel (passing it to the form and then the AjaxSubmitButton )
   and one reference for each feedbackborder (passing each to the
   AjaxSubmitButton).
  
   This end up being quite verbose and annoying, so I wonder whether
   there is a better, like calling directly my form onSubmit and let it
   deal directly with the feedbackborder...
  
   I hope I'm clear enough for you to help me, if not just let me know.
  
   Thanks in advance
   ZedroS
  
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys-and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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



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


[Wicket-user] AjaxSubmitButton and FormComponentFeedbackBorder

2007-03-28 Thread ZedroS Schwart
Hi

I'm playing with Ajax and Wicket, which is quite fun, but I've an
issue with AjaxSubmitButton and FormComponentFeedbackBorder.

I guess I should use target.addComponent(Component) ; to declare in my
AjaxSubmitButton that I want the feedback border to be updated.

However, I'm using a CommonForm which is inherited in my page, to add
some specific elements.

Thus, if I put my AjaxSubmitButton in my page, I don't have any
reference to the feedbackborder. If I put my AjaxSubmitButton in the
inherited form itself, then I've to give a reference to my
feedbackpanel (passing it to the form and then the AjaxSubmitButton )
and one reference for each feedbackborder (passing each to the
AjaxSubmitButton).

This end up being quite verbose and annoying, so I wonder whether
there is a better, like calling directly my form onSubmit and let it
deal directly with the feedbackborder...

I hope I'm clear enough for you to help me, if not just let me know.

Thanks in advance
ZedroS

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


Re: [Wicket-user] AjaxSubmitButton and FormComponentFeedbackBorder

2007-03-28 Thread ZedroS Schwart
Quick update :
I've found some help here :
http://www.nabble.com/FeedbackPanel%2C-Form%2C-which-component-is-caousing-feedback--tf2427268.html#a6767963
but I'm still looking for how to tell the FormComponentFeedbackBorder
to render itself..

++
ZedroS, digging in !


On 3/28/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
 Hi

 I'm playing with Ajax and Wicket, which is quite fun, but I've an
 issue with AjaxSubmitButton and FormComponentFeedbackBorder.

 I guess I should use target.addComponent(Component) ; to declare in my
 AjaxSubmitButton that I want the feedback border to be updated.

 However, I'm using a CommonForm which is inherited in my page, to add
 some specific elements.

 Thus, if I put my AjaxSubmitButton in my page, I don't have any
 reference to the feedbackborder. If I put my AjaxSubmitButton in the
 inherited form itself, then I've to give a reference to my
 feedbackpanel (passing it to the form and then the AjaxSubmitButton )
 and one reference for each feedbackborder (passing each to the
 AjaxSubmitButton).

 This end up being quite verbose and annoying, so I wonder whether
 there is a better, like calling directly my form onSubmit and let it
 deal directly with the feedbackborder...

 I hope I'm clear enough for you to help me, if not just let me know.

 Thanks in advance
 ZedroS


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


Re: [Wicket-user] Hibernate/Spring and Wicket architecture request for validation (was Wicket's questions)

2007-03-25 Thread ZedroS Schwart
Thanks again. :)

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


Re: [Wicket-user] Hibernate/Spring and Wicket architecture request for validation (was Wicket's questions)

2007-03-24 Thread ZedroS Schwart
Just a side question : when using a CompoundPropertyModel, is there a
way to dispose it later on the process or is it done automatically ?

For example, I use a Value Object (VO) to edit my user profile
(because there are some extra data to consider). Is this VO deleted
when the page onSubmit processing is done ?

In fact I've understood it's not deleted, but I'm kind of surprised
there is no way apart from the detachable model to deal with this kind
of issue.

Thanks in advance
ZedroS

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


Re: [Wicket-user] Wicket's questions

2007-03-21 Thread ZedroS Schwart
I did remove the warning and it's fine, thanks a lot :)

ZedroS
On 3/21/07, Johan Compagner [EMAIL PROTECTED] wrote:
 they always just map if its updated yes nothing more.
 But this is not the problem of the original question, because he still will
 see this warning in his code
 For this you need to disable the warning in the eclipse compiler.

 johan




 On 3/15/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
  I think some containers complain in certain cases if you don't have
  them. Johan, what was the problem with not having those UIDs again?
 
  Eelco
 
   Serial version UID exists to prevent problems deserializing persistent
   serialized data, and since serialization is not being used for long-term
   persistent storage in Wicket (unless you have some unusual project
 going,
   sessions should not be persistent across class changes), I cannot see
   a need to generate serialversionuids for Wicket components.  I
 personally
   just supress the warning.
  
  
   ZedroS Schwart wrote:
   
* serialVersionUID and anonymous inner classes
   
Quite often in my code, I've got some warning due to non define
serialVersionUID.
   
I usually tell Eclipse to generate them for me.
   
However, for the anonymous inner classes, which are quite commun, I'm
not sure it's ok. Is it ?
   
Furthermore, I'm wondering which risk I would take by using the
@SuppressWarnings(serial) annotation. Do you have a clue ?
   
  
   --
   View this message in context:
 http://www.nabble.com/Wicket%27s-questions-tf3396173.html#a9484189
   Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
  
 -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
   opinions on IT  business topics through brief surveys-and earn cash
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys-and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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



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


Re: [Wicket-user] Hibernate/Spring and Wicket architecture request for validation (was Wicket's questions)

2007-03-20 Thread ZedroS Schwart
Thanks again for all these answers.

I just don't get right the last one :
 They are also good for when you work with value objects ('thin'
 representations of the your domain objects).

Could you be more explicit please ?

Thanks again
ZedroS

On 3/17/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 They are also good for when you work with value objects ('thin'
 representations of the your domain objects).

 Eelco

 On 3/17/07, Erik van Oosten [EMAIL PROTECTED] wrote:
  Still, if you know what you are doing non-detachable models may be
  appropriate. For example, I have used them for some slow-to-get database
  query results. But I also wrote my own custom cached page invalidator to
  make sure these results do not stay around for too long.
 
  Regards,
  Erik.
 
  Jonathan Locke wrote:
   Non-detachable models probably are not the best way to work
   with a database.  And since they can't be detached, your whole
   model stays in the session the whole time, while the detachable
   ones shrink to a few bytes (object header + id + transient slot)
   when they are detached by Wicket after each request.
  
  
 
  --
  Erik van Oosten
  http://day-to-day-stuff.blogspot.com/
 
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share your
  opinions on IT  business topics through brief surveys-and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

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


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


Re: [Wicket-user] Hibernate/Spring and Wicket architecture request for validation (was Wicket's questions)

2007-03-20 Thread ZedroS Schwart
That's was a really instructive post, thanks Eelco.

In fact I'm actually struggling with this kind of issue. I've model
objects and then on my presentation layer the data are quite often a
bit different, and thus I wonder which way is the best.

Igor had spoken about form beans, but then I've to map them
somewhere with my actual domain objects, which can be quite annoying.
Merge and VO object may be a good way to avoid some part of this pain.

However, you said you weren't a fan of this pattern, could you please
explain which approach you use ? I would really like it because I find
it really important for ease of development and maintainability.  And
up to now I've found a way which fully pleases me.

Thanks in advance
ZedroS

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


Re: [Wicket-user] Joost uses Wicket

2007-03-17 Thread ZedroS Schwart
Regarding static content, is it such a big issue to have some wicket
html pages with empty classes behind ?

Thanks in advance
ZedroS

On 3/15/07, Ryan [EMAIL PROTECTED] wrote:
 It is definitely possible. First make sure you are running 1.2.5 or
 better (this will fix a bug where posts did not have a '/' after the
 context name if you choose to deploy the application with a non root
 context). Map your servlet to '/*' ... Next, deploy. =)

 The only other issue to worry about is how to serve static content. My
 preference is to frontend tomcat or jetty with apache and have apache
 serve anything located at /images or /css etc. This means in wicket if
 I want to create an image tag that refers to a static image I create a
 url that references /images/filename.jpg. When deploying with apache
 this will be served by apache and when running without apache I deploy
 a static web application to the /images context. This has proven to
 work very well for the last few projects I have worked on.

 Ryan

 On 3/12/07, cowwoc [EMAIL PROTECTED] wrote:
 
  My point is that you can't do that with Wicket, unless you know
  something I don't...?
 
  Gili
 
  Ryan wrote:
   In any public application I deploy I remove the servlet context path
   (wicket or no wicket).
  
   Ryan
  
   On 3/12/07, cowwoc [EMAIL PROTECTED] wrote:
   If they use Wicket why doesn't it show at all on their website at
   joost.com? I am expecting to at least see some evidence of a servlet
   context path...
  
   Gili
  
   Brian Topping wrote:
   Here I thought they were cool, then they use Ant?!?
  
   :b
  
   On Mar 12, 2007, at 8:45 AM, mraible wrote:
  
   Thought y'all might be interested:
  
   http://opensource.joost.com/
  
   Joost is a new company started by the founders of Skype:
  
   http://en.wikipedia.org/wiki/Joost
  
   Matt
   --
   View this message in context: http://www.nabble.com/Joost-uses-
   Wicket-tf3390296.html#a9437082
   Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
   --
   ---
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to
   share your
   opinions on IT  business topics through brief surveys-and earn cash
   http://www.techsay.com/default.php?
   page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
   -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share 
   your
   opinions on IT  business topics through brief surveys-and earn cash
   http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
   -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share 
   your
   opinions on IT  business topics through brief surveys-and earn cash
   http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
  
   -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share 
   your
   opinions on IT  business topics through brief surveys-and earn cash
   http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share your
  opinions on IT  business topics through brief surveys-and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 

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

Re: [Wicket-user] Hibernate/Spring and Wicket architecture request for validation (was Wicket's questions)

2007-03-17 Thread ZedroS Schwart
Thanks Jonathan for the tip.

I've now read on the wiki about it and this detachable compound
property model seems the best way to do (or even the Detachable
BoundCompoundPropertyModel !) .

I've just a question (a newbe one as usual lol) : how does wicket work
with non detachable models ? They're kept during the whole user
session even if they're updated every time there is a new access to
the page to whom they're linked ?

Thanks again
ZedroiS


On 3/17/07, Jonathan Locke [EMAIL PROTECTED] wrote:


 you don't have to choose.  you can wrap a compoundpropertymodel around a
 detachablemodel and get both access convenience and detachability.  wicket
 models are much more flexible and powerful than most people realize at
 first.


 ZedroS Schwart wrote:
 
  Thanks for your comment Igor, I really appreciate.
 
  Just some questions : do you use CompoundPropertyModel or the detachable
  one ?
 
  For the form beans, the user profile page I'm working on really proves
  you right. I was willing at first to avoid yet another bean but in
  fact it seems indeed to be the easiest way.
 
  For the optimistic locking, I've read
  http://www.hibernate.org/hib_docs/reference/en/html/transactions.html#transactions-optimistic
  Is it what you had in mind ?
 
  Thanks again
 
  ZedroS
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
  your
  opinions on IT  business topics through brief surveys-and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 --
 View this message in context: 
 http://www.nabble.com/Re%3A-Hibernate-Spring-and-Wicket-architecture-%22request-for-validation%22-%28was-Wicket%27s-questions%29-tf3405475.html#a9526281
 Sent from the Wicket - User mailing list archive at Nabble.com.


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


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


Re: [Wicket-user] Hibernate/Spring and Wicket architecture request for validation (was Wicket's questions)

2007-03-15 Thread ZedroS Schwart
Thanks for your comment Igor, I really appreciate.

Just some questions : do you use CompoundPropertyModel or the detachable one ?

For the form beans, the user profile page I'm working on really proves
you right. I was willing at first to avoid yet another bean but in
fact it seems indeed to be the easiest way.

For the optimistic locking, I've read
http://www.hibernate.org/hib_docs/reference/en/html/transactions.html#transactions-optimistic
Is it what you had in mind ?

Thanks again

ZedroS

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


Re: [Wicket-user] Hibernate/Spring and Wicket architecture request for validation (was Wicket's questions)

2007-03-14 Thread ZedroS Schwart
Hi all

Among the questions I had, one of the core questions is the following
one : is the architecture I plan to use appropriate ? Just to give a
bit of insight, I'm new to Hibernate/Spring and Wicket (ouch !). lol
But I'm really motivated :) I would like to be sure I don't do huge
mistake in my architecture... since I'm not an expert it could be the
case :(

I took it mainly from a Spring book (not an english one though). For
Wicket I user Pro Wicket.

So, my architecture is the following :
For each domains of my application, I've a manager, like the
UserManager. The managers contain the access to the DAO Interfaces
(which are properly injected by Spring) and render  pure Pojo Model
for my databased data (like an User object for the user info).

Behind all t his stuff, the transaction manager is
org.springframework.orm.hibernate3.HibernateTransactionManager and the
sessionFactory is
org.springframework.orm.hibernate3.LocalSessionFactoryBean.


Using injection, I've put an instance of my userManager in my BasePage.

From it, where needed, I access the user info. For example, on login,
I call it to retrieve an user and put in my session.

For my pages, I use CompoundPropertyModel with the Pojo retrieve from
my managers (which are injected on demand excepted for the usermanager
which is always available as told before).

When I have to change an object on the OnSubmit, I use the update
methods from my managers. What I fear here is to update some data
which have already been updated in between.

Overall, I'm wondering whether my implentation is good enough and
how to avoid data collision.

What do you think of it ?

Thanks in advance
ZedroS

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


Re: [Wicket-user] Joost uses Wicket

2007-03-13 Thread ZedroS Schwart
Hi all

On 3/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 it is ok to do that (use /* mapping) if you use WicketFilter instead of
 WicketServlet

I'm sorry but I didn't a WicketFilter class in the API nor in the
wicket examples. And the web.xml file from wicket examples seems
rather normal to me :$

Could you please be more precise for a Wicket beginner ?

Thanks in advance

ZedroS

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


Re: [Wicket-user] Joost uses Wicket

2007-03-13 Thread ZedroS Schwart
Danke schön Rüdiger !

I understand better now.

Have a good day
++
ZedroS

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


[Wicket-user] Wicket's questions

2007-03-13 Thread ZedroS Schwart
Hi

* serialVersionUID and anonymous inner classes

Quite often in my code, I've got some warning due to non define
serialVersionUID.

I usually tell Eclipse to generate them for me.

However, for the anonymous inner classes, which are quite commun, I'm
not sure it's ok. Is it ?

Furthermore, I'm wondering which risk I would take by using the
@SuppressWarnings(serial) annotation. Do you have a clue ?

* Best practices for working with Hibernate and Spring, especialy
regarding DAO handling and session ?

What I'm afraid of is putting a Pojo on a CRUD like page and that
between this time and the following submit the Pojo is changed
somewhere else. I could have some mismatch and I don't really know how
to handle it in Wicket. Do I have to store the object on the page and
then check on submit that it hasn't changed ?

* On my common layout, I would like to hide or show some links
depending on the user type. Do I have to do a custom component panel
with a Link inside which can be set up and then call it as many times
as required ?

* Still on my common layout, I would like to show some links to
plain old html pages (POHP?) and have a functionnaly similar to
.setAutoEnable(true). What's the best way to do so ?

I hope you don't mind these questions and... thanks in advance !
++
ZedroS

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


[Wicket-user] Wicket mailing lists no more archived ?

2007-03-12 Thread ZedroS Schwart
Hi all

I was willing to do a search in the user mailing list archive, as I
used to do in the past.

I went from Wicket home page to mailing lists and then to Archive
on SourceForge. However, arriving on SourceForge I got an error.

Digging deeper, I finally found there
(http://sourceforge.net/mail/?group_id=119783) :
wicket-user (not yet archived)
Approximate subscriber count: 570
(go to Subscribe/Unsubscribe/Preferences)
  list for the users of Wicket

Is it normal ?

Thanks in advance
ZedroS

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


[Wicket-user] Best way to deal with non model data

2007-03-12 Thread ZedroS Schwart
Hi

In my register page, I have a PasswordTextField for the confirmation password.

For sure, this field isn't stored in my model, and thus I've a
mismatch between it and my model object.

For sure, I could inherit my User object and then add this
confirmPassword field in it and then, onSubmit, create a brand new
User and then save it. However, this method implies quite a large
amount of work and so I'm wondering whether there is a better way to
deal with such issue.

What would you suggest ?

Thanks in advance
ZedroS

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


Re: [Wicket-user] Wicket mailing lists no more archived ?

2007-03-12 Thread ZedroS Schwart
Should I open a JIRA issue to have the archive links in the wicket
home page updated ?

++
ZedroS

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


Re: [Wicket-user] Best way to deal with non model data

2007-03-12 Thread ZedroS Schwart
Yes, looking at what Rüdiger told I've found this way of doing as well
and was going for it :)

Thanks a lot
++
ZedroS

On 3/12/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
 You could try this:

 pw1 = new PasswordTextField(password, new PropertyModel(user, password));
 pw2 = new PasswordTextField(confirm, new Model());
 form.add(pw1);
 form.add(pw2);
 form.add(new EqualPasswordInputValidator(pw1, pw2));

 Martijn

 On 3/12/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
  Hi
 
  In my register page, I have a PasswordTextField for the confirmation 
  password.
 
  For sure, this field isn't stored in my model, and thus I've a
  mismatch between it and my model object.
 
  For sure, I could inherit my User object and then add this
  confirmPassword field in it and then, onSubmit, create a brand new
  User and then save it. However, this method implies quite a large
  amount of work and so I'm wondering whether there is a better way to
  deal with such issue.
 
  What would you suggest ?
 
  Thanks in advance
  ZedroS
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share your
  opinions on IT  business topics through brief surveys-and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 --
 Learn Wicket at ApacheCon Europe: http://apachecon.com
 Join the wicket community at irc.freenode.net: ##wicket
 Wicket 1.2.5 will keep your server alive. Download Wicket now!
 http://wicketframework.org

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


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


Re: [Wicket-user] Wicket mailing lists no more archived ?

2007-03-12 Thread ZedroS Schwart
Having played with the nabble search engine I can already tell that it
rocks ! :)

And the new Wicket website is really nice ! :)

When will it be the official new wicket website ?

Cheers,
ZedroS

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


Re: [Wicket-user] Wicket mailing lists no more archived ?

2007-03-12 Thread ZedroS Schwart
Thanks a lot for all this information.

I'm looking forward of Wicket as a top level Apache project. It'll
give the framework attention it deserves (IMHO).

Keep on the good job !

++
ZedroS

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


Re: [Wicket-user] What's the best way of doing menus in Wicket?

2007-03-11 Thread ZedroS Schwart
Would it be possible to have such a menu directly among wicket's components ?

It would be great !

ZedroS

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


Re: [Wicket-user] Spring design in Wicket

2007-03-09 Thread ZedroS Schwart
Hi Roland and Erik

Thanks for your replies, notably the best practices provided.

Regarding the way to design, I would sum your answers as following :
- one can follow a Domain Driven Design, with a manager per kind of object.
- In the Spring ApplicationContext file, I should only define
implementations and in my Java code I should only use interfaces.

Is that correct ?

I will have a look at Wicket Pastebin source code to see how they did,
but I don't know what design they followed and if it's well
implemented. Can you give me an idea about it ?

For the time, I guess I'll avoid spring javaconfig, I tend to progress
quite slowly so... lol

BTW, could you advice me some goods books on the topic ? I'm reading a
french book on it, but it doesn't detail the design aspects of it...

Thanks in advance

ZedroS

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


Re: [Wicket-user] Spring design in Wicket

2007-03-09 Thread ZedroS Schwart
Thanks a lot. I definitely have to learn more of it :)

ZedroS

On 3/9/07, Erik van Oosten [EMAIL PROTECTED] wrote:
 Hi,

 ZedroS Schwart wrote:
  - one can follow a Domain Driven Design, with a manager per kind of 
  object.
 
 That is a major simplification, but yes, that is true.

  - In the Spring ApplicationContext file, I should only define
  implementations and in my Java code I should only use interfaces.
 
  Is that correct ?
 
 Yes.

  BTW, could you advice me some goods books on the topic ? I'm reading a
  french book on it, but it doesn't detail the design aspects of it...
 
 I gave you one already, but I think a book in Spring would be more
 helpful (for example 'Spring in Action', or 'Pro Spring').

 Regards,
 Erik.

 --
 Erik van Oosten
 http://www.day-to-day-stuff.blogspot.com/


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


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


[Wicket-user] Spring design in Wicket

2007-03-08 Thread ZedroS Schwart
Hi all

As said earlier, I'm beginning with Spring and I find it a bit hard to
know how to design my application with it.

Let me give an example : in order for the end user to register, I've a
registration form. Up to now, I've a registrationBean which isn't
managed by Spring. On the form submit, I do a Spring bean and save it
as needed.

Is it the best way to proceed ? Or all objects used should be managed
by Spring excepted for my pages, session and forms ?

BTW, do you have a reference source dealing with Spring design in
general ? I fear XML hell and I've seen so many different designs that
I'm looking for the good way. For example, I'm hesitating between :
- implementing somes Managers for each kind of objects
- setting both the interfaces and the implementations in the
ApplicationContext file
- setting only the implementations in the ApplicationContext file and
using only interfaces in my code
-...

My goals are to be able to unit test my work as well as avoid xml hell
and the like...

Thanks in advance
ZedroS

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


[Wicket-user] Issue when trying to specify Spring dependency through annotations

2007-03-07 Thread ZedroS Schwart
Hi all

I've a goal, a simple one I think : using Spring through annotations
in my wicket application.

To do so, I tried with both the wiki and the book Pro Wicket. Each
time I end up with the same error : java.lang.NoClassDefFoundError:
net/sf/cglib/proxy/Callback.

Do you have any clue ?

BTW, I've a side question : Pro Wicket tells to extend
AnnotSpringWebApplication to be able to use the annotations. The wiki
just tells to add this line in the init() :
addComponentInstantiationListener(new SpringComponentInjector(this));

Which way is the best ? I guess the second one, since the class
AnnotSpringWebApplication is deprecated, but I'm wondering...

Thanks again in advance
ZedroS

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


Re: [Wicket-user] Issue when trying to specify Spring dependency through annotations

2007-03-07 Thread ZedroS Schwart
Thanks for your reply.

However, I don't understand how come this issue with the cglib jar,
which I don't even have in my classpath...

In case it could help, here is the complete stack trace :
java.lang.NoClassDefFoundError: net/sf/cglib/proxy/Callback

wicket.spring.injection.annot.AnnotProxyFieldValueFactory.getFieldValue(AnnotProxyFieldValueFactory.java:100)
wicket.injection.Injector.inject(Injector.java:110)

wicket.injection.ConfigurableInjector.inject(ConfigurableInjector.java:24)

wicket.injection.ComponentInjector.onInstantiation(ComponentInjector.java:54)

wicket.Application.notifyComponentInstantiationListeners(Application.java:823)
wicket.Component.init(Component.java:574)
wicket.MarkupContainer.init(MarkupContainer.java:115)
wicket.Page.init(Page.java:193)
wicket.markup.html.WebPage.init(WebPage.java:119)
org.zedros.commun.BasePage.init(BasePage.java:12)
org.zedros.forms.LoginPage.init(LoginPage.java:36)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
Source)
java.lang.reflect.Constructor.newInstance(Unknown Source)
java.lang.Class.newInstance0(Unknown Source)
java.lang.Class.newInstance(Unknown Source)
wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58)

wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:267)

wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:286)

wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:205)

wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:65)

wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:57)
wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:896)
wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:929)
wicket.RequestCycle.step(RequestCycle.java:1010)
wicket.RequestCycle.steps(RequestCycle.java:1084)
wicket.RequestCycle.request(RequestCycle.java:454)
wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:219)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Do you have any idea ?

Thanks again
ZedroS

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


Re: [Wicket-user] Issue when trying to specify Spring dependency through annotations

2007-03-07 Thread ZedroS Schwart
I just found it in between :$

Stupid me ! lol

I don't use maven for the time, one framework at a time is quite
enough for me currently ! lol

Thanks again

ZedroS

On 3/7/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 ah well, thats the problem. cglib is a requirement of wicket-spring. it is
 in the pom.xml

 -igor


 On 3/7/07, ZedroS Schwart  [EMAIL PROTECTED] wrote:
 
  Thanks for your reply.
 
  However, I don't understand how come this issue with the cglib jar,
  which I don't even have in my classpath...
 
  In case it could help, here is the complete stack trace :
  java.lang.NoClassDefFoundError: net/sf/cglib/proxy/Callback
 
 wicket.spring.injection.annot.AnnotProxyFieldValueFactory.getFieldValue
 (AnnotProxyFieldValueFactory.java:100)
 
 wicket.injection.Injector.inject(Injector.java:110)
 
 wicket.injection.ConfigurableInjector.inject(ConfigurableInjector.java:24)
 
 wicket.injection.ComponentInjector.onInstantiation
 (ComponentInjector.java:54)
 
 wicket.Application.notifyComponentInstantiationListeners(Application.java:823)
  wicket.Component.init(Component.java:574)
  wicket.MarkupContainer.init( MarkupContainer.java:115)
  wicket.Page.init(Page.java:193)
  wicket.markup.html.WebPage.init(WebPage.java:119)
  org.zedros.commun.BasePage.init(BasePage.java:12)
   org.zedros.forms.LoginPage.init(LoginPage.java:36)
 
 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
 Source)
 
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
 Source)
  java.lang.reflect.Constructor.newInstance(Unknown
 Source)
  java.lang.Class.newInstance0(Unknown Source)
  java.lang.Class.newInstance (Unknown Source)
 
 wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58)
 
 wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:267)
 
 wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:286)
 
 wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java
 :205)
 
 wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:65)
 
 wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java
 :57)
 
 wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:896)
 
 wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:929)
  wicket.RequestCycle.step(RequestCycle.java:1010)
  wicket.RequestCycle.steps(RequestCycle.java:1084)
  wicket.RequestCycle.request(RequestCycle.java:454)
 
 wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:219)
  javax.servlet.http.HttpServlet.service
 (HttpServlet.java:689)
 
 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 
  Do you have any idea ?
 
  Thanks again
  ZedroS
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys-and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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



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


Re: [Wicket-user] How to download Wicket Javadoc ?

2007-02-04 Thread ZedroS Schwart
You're right, thanks a lot :)

ZedroS

On 2/4/07, Matthew Kwong [EMAIL PROTECTED] wrote:

 If it is 1.2.4, the apidoc is in wicket-1.2.4.zip\docs\apidocs folder.

 Matthew Kwong


 ZedroS Schwart wrote:
 
  Hi all
 
  Where could I download the Wicket Javadoc ?
 
  Thanks in advance
  ZedroS
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
  easier.
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  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-user--How-to-download-Wicket-Javadoc---tf3167834.html#a8788429
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] How to download Wicket Javadoc ?

2007-02-03 Thread ZedroS Schwart
Hi all

Where could I download the Wicket Javadoc ?

Thanks in advance
ZedroS

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] From quickstart to a tomcat app...

2007-01-21 Thread ZedroS Schwart
Hi all

I'm currently using the quickstart application to do some dev on
wicket. However, I would like now to use my app on tomcat (5.5.20 in
my case).

I've looked for some documentation on what to do/what to remove for
such a move but I didn't manage to find some.

Could you please provide me some input on it ? Afterwards I think I'll
do a page on it in the wicki.

Cheers,
ZedroS

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


Re: [Wicket-user] Any more wicket articles?

2007-01-21 Thread ZedroS Schwart
A french article about Wicket, written by Romain Guy (if you do some
swing stuff, you should know him ;)) :

http://gfx.developpez.com/tutoriel/java/web/wicket/

On 1/11/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 http://www.oreillynet.com/onjava/blog/2007/01/wicket_another_java_web_framew.html




  On 1/9/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
   Hello,
  
   I just updated the wiki page
  
 http://cwiki.apache.org/confluence/display/WICKET/Articles+about+Wicket
   but there must surely be more articles on Wicket out there?!
 
  There should be a couple more, maybe we need to do a bit more googling. :)
 
  But... let this be a call to all readers to write some more articles!
 
  Eelco
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys - and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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

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




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


Re: [Wicket-user] From quickstart to a tomcat app...

2007-01-21 Thread ZedroS Schwart
Thanks for your answer.

I'm already using the sysdeo plugin, however my Wicket application
doesn't work with it and tomcat. The webapp folder has really few
stuff into it. In fact the whole application is built differently from
what I know of tomcat applications.

Thanks for the tips on ant war, it may give me the key to understand
how to do this.

Cheers
ZedroS

On 1/21/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
 For development, use eclipse webtools, or the tomcat sysdeo plugin.
 Both have documentation available to help you further.

 Since I don't use either I can't help you with that. I'm more a jetty
 user (using the jetty launcher).

 If you want to deploy to a (remote) tomcat server:
 ant war
 or
 mvn package

 should give you a war file which you can deploy in tomcat.

 Martijn

 On 1/21/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
  Hi all
 
  I'm currently using the quickstart application to do some dev on
  wicket. However, I would like now to use my app on tomcat (5.5.20 in
  my case).
 
  I've looked for some documentation on what to do/what to remove for
  such a move but I didn't manage to find some.
 
  Could you please provide me some input on it ? Afterwards I think I'll
  do a page on it in the wicki.
 
  Cheers,
  ZedroS
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share your
  opinions on IT  business topics through brief surveys - and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 --
 Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket
 Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
 http://wicketframework.org

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


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


Re: [Wicket-user] Any more wicket articles?

2007-01-21 Thread ZedroS Schwart
I could do so if really needed. However it's based on wicket 1.1-beta2
and I don't know whether it has changed much since... Can someone
answer ?

So, if it hasn't change too much, I will ask Romain for the
authorisation of such a translation.

Cheers
ZedroS
On 1/21/07, Zhang Hailong [EMAIL PROTECTED] wrote:
 Is there anybody can translate
 this(http://gfx.developpez.com/tutoriel/java/web/wicket/)
 to  English?
 Thanks.

 Hailong


  On 1/21/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
  A french article about Wicket, written by Romain Guy (if you do some
  swing stuff, you should know him ;)) :
 
  http://gfx.developpez.com/tutoriel/java/web/wicket/
 
  On 1/11/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
  
 http://www.oreillynet.com/onjava/blog/2007/01/wicket_another_java_web_framew.html
  
  
  
  
On 1/9/07, Eelco Hillenius [EMAIL PROTECTED]  wrote:
 Hello,

 I just updated the wiki page

  
 http://cwiki.apache.org/confluence/display/WICKET/Articles+about+Wicket
 but there must surely be more articles on Wicket out there?!
   
There should be a couple more, maybe we need to do a bit more
 googling. :)
   
But... let this be a call to all readers to write some more articles!
   
Eelco
   
   
  
 -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
 share
   your
opinions on IT  business topics through brief surveys - and earn cash
   
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
  
 -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
   opinions on IT  business topics through brief surveys - and earn cash
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys - and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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

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




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


Re: [Wicket-user] How to run wicket-quickstart?

2007-01-21 Thread ZedroS Schwart
Since I used the quickstart I've a new button in my Eclipse Java
perspective called Jetty Laucnher Actions.

However, when I click on it nothing happens. Is there something to be done ?

Thanks in advance
ZedroS

On 1/21/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 there is a class called Start that comes with quickstart, just launch that
 class as a java app and it will startup jetty, etc

 -igor



 On 1/20/07, Zhang Hailong [EMAIL PROTECTED] wrote:
 
  Hi all,
 
  I'm new to Wicket. I have downloaded wicket-quickstart-1.2.4. I tried to
 follow the Quickstart Guide (
 http://wicketframework.org/wicket-quickstart/eclipse.html
 ), but it's seems that the content of my package is different from the
 guide.
  So, how to use the Quickstart?
 
  Thanks in advance.
 
 
  Regareds,
  Hailong Zhang
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys - and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 


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

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




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


Re: [Wicket-user] How to run wicket-quickstart?

2007-01-21 Thread ZedroS Schwart
Hi Zhang

I did as you told. I even went further by removing the following library :
portlet-api-1.0.Jar
org.mortbay.jetty-4.2.24.jar
jasper-compiler-4.1.30.jar
jasper-runtime-4.1.30.jar

I'm quite surprised of the presence of this portlet api jar... Does
someone know why it's present ?

I did remove as well the package wicket.quickstart where the
Start.java class was located. It isn't required anymore :)

BTW, I'm using the sysdeo plugin and apparently everything is running fine now.

FYI, the Quickstart project is a basic wicket app from which any one
can build one, something like an empty skeleton.

Finally, do you think a wiki page could be usefull on this topic ? If
yes I'll do it.

Cheers,
 ZedroS
On 1/21/07, Zhang Hailong [EMAIL PROTECTED] wrote:
 I use Tomcat 5.5.12 and Eclipse3.2.1(with WTP). After some configuration, I
 imported wicket-examples as an Eclipse project and it works.
 Here are the steps to setup:
 1. Create a empty Dynamic Web Project
 2. import  wicket-examples-1.2.4\src\main\java into src
 of the prject
 3. import wicket-examples-1.2.4\src\webapp into
 WebContent of the project
 4. import wicket-examples-1.2.4\lib into WebContent/WEB-INF/lib
 There may be some errors of the html files, just ignore them.(I think this
 is a bug of WTP)
 Then, Run As - Run on Server

 Could someone tell me what wicket-examples-1.2.4\src\site  is used for?

 //I think wicket-examples is more useful for starters like me. I don't
 understand Quickstart. What is it //used for?

 Hailong


 On 1/21/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
 
  Since I used the quickstart I've a new button in my Eclipse Java
  perspective called Jetty Laucnher Actions.
 
  However, when I click on it nothing happens. Is there something to be done
 ?
 
  Thanks in advance
  ZedroS
 
  On 1/21/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
   there is a class called Start that comes with quickstart, just launch
 that
   class as a java app and it will startup jetty, etc
  
   -igor
  
  
  
   On 1/20/07, Zhang Hailong [EMAIL PROTECTED] wrote:
   
Hi all,
   
I'm new to Wicket. I have downloaded wicket-quickstart-1.2.4. I tried
 to
   follow the Quickstart Guide (
  
 http://wicketframework.org/wicket-quickstart/eclipse.html
   ), but it's seems that the content of my package is different from the
   guide.
So, how to use the Quickstart?
   
Thanks in advance.
   
   
Regareds,
Hailong Zhang
   
   
  
 -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
 share
   your
opinions on IT  business topics through brief surveys - and earn cash
   
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
   
  
  
  
 -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
   opinions on IT  business topics through brief surveys - and earn cash
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys - and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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

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




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

Re: [Wicket-user] How to do a table with cell specific background image and image ?

2007-01-19 Thread ZedroS Schwart
Hi Igor

It's now working fine, that's great ! And thanks for the wiki link,
it's most instructing.

Cheers
ZedroS

On 1/17/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 On 1/17/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
  Thanks again Igor !
 
  You're most helpful.
 
  However, as a newbe I am, I still don't get it to work (but I try
  before posting again, I promise!).
 
  In fact, the issue now is with the path associated with my images.
 
  Indeed, for the cell image, I used :
  Image test = new Image(image1, new Model(test.png));
  then, currently, I do a item.add(test);
 
  However, in my WebMarkupContainer, when I do tag.put (background,
  test2.png); } it gives in the html : td background=test2.png
  even if this image is in fact in my package next to the html page.

 image does some stuff behind scenes to build the url for you, you can do the
 same

 String test2pngurl=RequestCycle.get().urlFor(new
 ResourceReference(pageclass, test2.png))

 should get you url to test2.png in the same package as page class

  At the end of the day, I've found that my image from new
  Image(image1, new Model(test.png)); is written as test_en.png in
  the html file. But I don't need to localise it neither, so I wonder
  what is the best way...

 image is one of those bastardized classes that tries to do too much... i
 wouldnt mind if we split it into a bunch of subclasses

 for now just do the same thing as bove - use resourcereference instead of
 the string
 new Image(foo, new ResourceReference(pageclass, test.png));

  A last question :
  I don't use a DataView but a RepeatingView. In the end, if it works
  properly, I would like to have some ajax behavior linked to the
  images' hover (to render some information on the image displayed on
  the right corner of the page). Is a DataView better suited for such an
  use? I don't know exactly, yet, when to use XXView or XXData... I read
  the Javadoc but I wasn't enlightened.

 there is a page on the wiki that details the hierarchy and usecases for the
 repeaters [1]


 [1]
 http://cwiki.apache.org/confluence/display/WICKET/Tables+and+Grids

 -igor



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


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

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




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


Re: [Wicket-user] How to do a table with cell specific background image and image ?

2007-01-17 Thread ZedroS Schwart
Thanks again Igor !

You're most helpful.

However, as a newbe I am, I still don't get it to work (but I try
before posting again, I promise!).

In fact, the issue now is with the path associated with my images.

Indeed, for the cell image, I used :
Image test = new Image(image1, new Model(test.png));
then, currently, I do a item.add(test);

However, in my WebMarkupContainer, when I do tag.put(background,
test2.png); } it gives in the html : td background=test2.png
even if this image is in fact in my package next to the html page.

At the end of the day, I've found that my image from new
Image(image1, new Model(test.png)); is written as test_en.png in
the html file. But I don't need to localise it neither, so I wonder
what is the best way...

A last question :
I don't use a DataView but a RepeatingView. In the end, if it works
properly, I would like to have some ajax behavior linked to the
images' hover (to render some information on the image displayed on
the right corner of the page). Is a DataView better suited for such an
use? I don't know exactly, yet, when to use XXView or XXData... I read
the Javadoc but I wasn't enlightened.

Thanks in advance again !
ZedroS

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


Re: [Wicket-user] ApacheCon Europe 2007

2007-01-17 Thread ZedroS Schwart
Hi

For the ones not lucky enough to be able to attend this apachecon, I
think you would be excellent to have the slides of the demo or even
some webcasts.

BTW, I really appreciate Martijn suggestions of content, especially this part :
 - what were the top 3 problems you had
  - what were the top 3 benefits you received
It's most interesting and important for people outside of the wicket area. :)

Cheers,
 ZedroS

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


Re: [Wicket-user] How to do a table with cell specific background image and image ?

2007-01-16 Thread ZedroS Schwart
Hi igor

Thanks again, but I tried it but to no success.

In fact, my issue is that I currently have something like :
tr wicket:id=repeating
tdimg wicket:id = image1 //td
tdimg wicket:id = image2 //td
tdimg wicket:id = image3 //td
/tr

However, I would like to do something like this at rendering time:
tr
td BACKGROUND=backgroundA1.pngimageA1.png/td
td BACKGROUND=backgroundA2.pngimageA2.png/td
td BACKGROUND=backgroundA3.pngimageA3.png/td
/tr
tr
td BACKGROUND=backgroundB1.pngimageB1.png/td
td BACKGROUND=backgroundB2.pngimageB2.png/td
td BACKGROUND=backgroundB3.pngimageB3.png/td
/tr   

But I don't manage to define the td background tag...

Do you have any clue ?

Thank again in advance
ZedroS

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


Re: [Wicket-user] How to do a table with cell specific background image and image ?

2007-01-15 Thread ZedroS Schwart
Hi igor

Thanks a lot for your answer.

Being a newbe and digging into the RepeatingPage example, I managed to
define an image per cell.

However, I didn't manage to set up the attribute background of the
td/td around my image...

I tried various things like, among others :
- to put some wicket id into the td but to no success
- to use getParent()
- to use a repeater for the td itself

Do you have any clue ?

Thanks in advance
ZedroS
On 1/14/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 take a look at repeater examples in wicket-examples

 -igor



 On 1/13/07, ZedroS Schwart [EMAIL PROTECTED]  wrote:
 
  Hi all
 
  I'm new to wicket and I'm looking for creating a table where each cell
  would have a specific background image and, as a content, a specific
  image with a link upon it.
 
  What's the best way to do it in Wicket ? I've started looking at
  SimpleViewList but I'm not so sure it's the right thing to do !
 
  Thanks in advance
  ZedroS
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys - and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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

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




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


Re: [Wicket-user] error deleting cookie when callingdeletWicketCookie

2007-01-15 Thread ZedroS Schwart
I don't get it : isn't 1.2.4 the current up to date release version of Wicket ?

On 1/15/07, Nino Wael [EMAIL PROTECTED] wrote:




 Ok, seems that we got more than enough good reasons to upgrade….



 Thanks for the info..



 Regards Nino



  


 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Igor Vaynberg
  Sent: 12. januar 2007 17:02
  To: wicket-user@lists.sourceforge.net
  Subject: Re: [Wicket-user] error deleting cookie when
 callingdeletWicketCookie




 in 1.2 it was used through, just upgrade to 1.2.4

  -igor




 On 1/12/07, Johan Compagner [EMAIL PROTECTED]  wrote:

 thats really old...
  those cookies are not used anymore thats now done based on the window name.

  johan





 On 1/12/07, Nino Wael  [EMAIL PROTECTED] wrote:





 This is running wicket 1.2 btw, I'll try to remember version numbers in the
 original mails from now on.



 Regards Nino

  


 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Nino Wael
  Sent: 12. januar 2007 13:50
  To: wicket-user@lists.sourceforge.net
  Subject: [Wicket-user] error deleting cookie when calling deletWicketCookie





 Hi I

 Get an error when the page are calling this line, on my html :



 body
 onunload=deleteWicketCookie('pm-null/jobindsatsViewerComponentServlet');





 I think I know why it's failing, it's because the browser does not allow
 cookie and therefore the cookie cant be deleted.. What can I do about it?
 Except getting the user to accept cookies?





 Regards Nino


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

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





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

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




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

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




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


[Wicket-user] How to do a table with cell specific background image and image ?

2007-01-14 Thread ZedroS Schwart
Hi all

I'm new to wicket and I'm looking for creating a table where each cell
would have a specific background image and, as a content, a specific
image with a link upon it.

What's the best way to do it in Wicket ? I've started looking at
SimpleViewList but I'm not so sure it's the right thing to do !

Thanks in advance
ZedroS

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


Re: [Wicket-user] has anyone got a book on wicket?

2007-01-13 Thread ZedroS Schwart
Just some side questions :
- is the book compatible with wicket 1.2.4 ?
- are the erratas included in the ebook ?
- will Wicket 2.0 require a lot of changes ?

Thanks in advance
ZedroS

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


Re: [Wicket-user] 100, 000th download at januari 1st, 2007, 1:00pm UTC

2007-01-02 Thread ZedroS Schwart
Just my 2 cents : when can we expect Wicket 2.0 and the book to be released ?

^^

Thanks in advance !
ZedroS

On 1/2/07, Jonathan Locke [EMAIL PROTECTED] wrote:


 We also recently passed 2.5M web pages served.  The trend of interest in
 Wicket looks very promising.  I think we may see another uptick in use this
 year as 2.0 comes out, the book is released and people finally start
 realizing that, yes, you can build big, fast, scalable apps in Wicket with
 less effort.

 http://sourceforge.net/project/stats/detail.php?group_id=119783ugn=wicketmode=alltimetype=prweb


 Martijn Dashorst wrote:
 
  We barely missed it in 2006, but we have reached the 100,000th
  download of a Wicket package from the SourceForge.net servers (this
  does not include downloads done through maven).
 
  I was waiting to do the 100,000th download myself, but someone else took
  it :-)
 
  Statistics:
 
  yeardownloads
  2004   536
  2005   24,167
  2006   75,254
 
  31-12-2006, 11:59pm (UTC): 99,957
 
  Based on my information, the 100,000th download happened around 1:00pm
  UTC on Januari 1st 2007.
 
  Thanks for your support and a happy new year to all!
 
   - the Wicket team
 
  --
  Vote for Wicket at the
  http://www.thebeststuffintheworld.com/vote_for/wicket
  Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
  http://wicketframework.org
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
  your
  opinions on IT  business topics through brief surveys - and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 --
 View this message in context: 
 http://www.nabble.com/100%2C000th-download-at-januari-1st%2C-2007%2C-1%3A00pm-UTC-tf2904782.html#a8126395
 Sent from the Wicket - User mailing list archive at Nabble.com.


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


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


[Wicket-user] Possibility of creating a dynamic picture through Wicket ?

2007-01-01 Thread ZedroS Schwart
Hi all

I'm looking forward creating a quite complex picture with different
layouts and possibly some kind of auto update. At the end, it should
look like a picture with part of it covered with shadow.

I'm wondering whether Wicket ability to paint directly picture would
be of any help is this case or not. Do you have a clue ? What else
would you suggest ?

Thanks in advance
ZedroS

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


  1   2   >