Re: [Wicket-user] Design questions: Use of controllers and wicket models

2007-03-13 Thread David Leangen

:-)

 if you disable a formcomponent then neither a set or get will be
 called
 

Yes. But it's not disabled, and get is being called. Just not set.

I must be doing something wrong or missing something in the impl here...
but I don't see what it is. :-(


Cheers,
Dave





 Sorry for pulling you guys back to my mail issue. ;-) 
 
 Since setObject() is not being called, I don't see how to
 apply my
 complex model to its children. I thought I could pull this off
 with
 setModel()... but it just ain't being called.
 
 
 Ok, let's stick with the person object. The person has
 attributes, and 
 one of these attributes may itself have attributes.
 
 For example:
 
   Person:
 isSingle?
 
 if( isSingle )
 
   [ ] does dishes?
   [ ] makes bed?
 
 else 
 
   [ ] has kids?
   [ ] walks dog?
 
 Whatever.
 
 Point is, if the isSingle attribute is true, I want to
 enable certain
 checkboxes and bind those values DIRECTLY to the model. Same
 goes if 
 isSingle is false.
 
 Right now, I collect a boolean for each value and set them
 back
 manually into my model, which seems really messy.
 
 Same thing for enabling/disabling my checkboxes above: I do
 that 
 manually depending on the current value in the model.
 
 
 What I'd really like to do is somehow bind all those controls
 directly
 to my model so I'm not duplicating parts of the model for each
 control. 
 
 
 Any hints that would enlighten me on how to do this?
 
 
 Thanks so much!!
 
 
 
 On Mon, 2007-03-12 at 22:58 -0700, Eelco Hillenius wrote:
  Maybe it is good to gather a couple of use cases and pros
 and cons and 
  start a separate thread?
 
  Eelco
 
  On 3/12/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
   ah, but if you modify a collection that is a model object
 are you infact 
   changing the object? you are not changing the reference
 itself but you are
   doing something that has sideffects.
  
   eg lets say you have a dropdown choice, but what you want
 is a collection of 
   ids not the objects. the easiest way is to have a model in
 between that
   translates a collection of objects to ids and back again.
 but how to do that
   if setobject() is never called?
  
   -igor
  
  
  
   On 3/12/07, Eelco Hillenius [EMAIL PROTECTED]
 wrote:
   
If you are not changing the object that is the subject
 of the model, I 
see no reason why setObject should be called.
   
Eelco
   
On 3/12/07, Igor Vaynberg [EMAIL PROTECTED] 
 wrote:
 actually we are inconsistent in some places and i have
 been trying to
   fix
 it. what we mostly do is whenever we work with a
 collection we clear it 
   and
 repopulate it. but we never call setobject() on the
 model which imho is
 wrong. sometimes i have a model in between that
 depends on setobject()
 called whenever a property is updated because it does
 some translation 
   and
 its a lot easier to proxy a model then it is to proxy
 a collection. just
   my
 2c.

 -igor
 


 On 3/12/07, Eelco Hillenius
 [EMAIL PROTECTED] wrote:
 
 now all you have to do is 

 LoadableDetachableModel person=new
 LoadalbeDetachableModel(id);
 new CheckBox(this, cb, new
 PersonCheckBoxModel(person)); 

 and everything magically works, hope it gives
 you some ideas.
  
   Yes, it does indeed give me many ideas. Right now,
 I'm trying to 
   figure
   out the implementation details.
  
   While stepping through the code, I noticed that
 the setObject()
   method 
   of my IModel never gets called.
  
   When is this _supposed_ to be set, and why would
 it not be called in
   my
   case? 
 
  There's not always a need for setObject to be
 called. I haven't read
  the 

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 Rüdiger Schulz
Hello,

the Filter is not in Wicket 1.2.x, only 1.3 and 2.0.

ZedroS Schwart schrieb:
 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
 
 


-
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] AJAX completely broken in current wicket 2.0 trunk?

2007-03-13 Thread Stefan Lindner
I built wicket 2.0 from current trunk and my application that worked well with 
last week#s wicket trunk no lnger works at all. No AJAX functionality at all. 
AjaxSelfUpdatingTimerBehavior, AjaxFormComponentUpdatingBehavior no longer 
work. The AJAX debug window shows no activity at all. Any general change in 
AJAX-behavior that I have to adopt?
 
Stefan Lindner
 
-
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 for Bog Projects

2007-03-13 Thread Gwyn Evans
The problem is that without some idea of the context, 'big' doesn't
mean anything - Are we talking about something like Amazon, Google,
MSN or Yahoo, for instance?  I doubt Wicket would be a good match for
that sort of big, but for lesser values of big, then it's probably
as suitable as any other Java web app framework.

/Gwyn

On 13/03/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
 huh ?!


 On 3/13/07, Michael Day [EMAIL PROTECTED] wrote:
  No, only extra small, small, medium, and medium-to-big projects.  Big
  projects will be supported in wicket 3.0.
 
  On Mar 13, 2007, at 12:51 AM, Sazib wrote:
 
   Hi everybody,
   I just want to know, is wicket suitable for a big project?
  
   Thanks
   ---
   Sazib
  
  
 --
   ---
   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




-- 
Download Wicket 1.2.5 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


Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in2.0

2007-03-13 Thread Robert .

Considering that the hierarchy is specified in the template, isn't there
some way to use this to construct the hierarchy automatically?

Robert
-
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] IMPORTANT: your opinion on the constructor change in2.0

2007-03-13 Thread Martijn Dashorst
No that is not possible.

Consider:

span wicket:id=foospan wicket:id=bar/span/span
span wicket:id=barspan wicket:id=bar/span/span

add(new WebMarkupContainer(foo).add(new Label(bar, bar)));
add(new WebMarkupContainer(bar).add(new Label(bar, bar)));

How could Wicket automatically know where to add the nested bar? Is it
a child of foo or of bar? or isn't it a child?

Martijn

On 3/13/07, Robert . [EMAIL PROTECTED] wrote:
 Considering that the hierarchy is specified in the template, isn't there
 some way to use this to construct the hierarchy automatically?

 Robert


 -
 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


Re: [Wicket-user] Joost uses Wicket

2007-03-13 Thread Xavier Hanin

On 3/12/07, Brian Topping [EMAIL PROTECTED] wrote:


Here I thought they were cool, then they use Ant?!?



Yes, with Ivy. Maybe not cool, but works very well :-)

- Xavier

: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


[Wicket-user] Build failure

2007-03-13 Thread John Patterson
Hi,

I get this error message when trying to build wicket:

ERROR] BUILD FAILURE
[INFO]  

[INFO] Compilation failure

error: error reading /Users/john/.m2/repository/org/apache/wicket/ 
wicket/1.3.0-incubating-SNAPSHOT/wicket-1.3.0-incubating- 
SNAPSHOT.jar; invalid header field


I am using Maven 2.0.3.  Any ideas?

Thanks,

John

-
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] Build failure

2007-03-13 Thread Martijn Dashorst
Probably you have remove the jars from your local repository and build again.

Martijn

On 3/13/07, John Patterson [EMAIL PROTECTED] wrote:
 Hi,

 I get this error message when trying to build wicket:

 ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure

 error: error reading /Users/john/.m2/repository/org/apache/wicket/
 wicket/1.3.0-incubating-SNAPSHOT/wicket-1.3.0-incubating-
 SNAPSHOT.jar; invalid header field


 I am using Maven 2.0.3.  Any ideas?

 Thanks,

 John

 -
 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


Re: [Wicket-user] Build failure

2007-03-13 Thread Frank Bille

I get the same error and have tried to remove local jar files. I'll look
into it tonight (can't get workspace setup using new al structure)

Frank

P.s. Ubuntu linux


On 3/13/07, Martijn Dashorst [EMAIL PROTECTED] wrote:


Probably you have remove the jars from your local repository and build
again.

Martijn

On 3/13/07, John Patterson [EMAIL PROTECTED] wrote:
 Hi,

 I get this error message when trying to build wicket:

 ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure

 error: error reading /Users/john/.m2/repository/org/apache/wicket/
 wicket/1.3.0-incubating-SNAPSHOT/wicket-1.3.0-incubating-
 SNAPSHOT.jar; invalid header field


 I am using Maven 2.0.3.  Any ideas?

 Thanks,

 John


-
 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] Build failure

2007-03-13 Thread John Patterson
I removed all wicket jars from my maven repo and also from the target  
folders of the source folders.  The file wicket-1.3.0-incubating- 
SNAPSHOT.jar was recreated but a similar error was shown:

Loading source file /Users/John/Development/wicket-1.x/jdk-1.4/wicket- 
extensions/src/main/java/wicket/extensions/wizard/WizardModel.java...
Loading source file /Users/John/Development/wicket-1.x/jdk-1.4/wicket- 
extensions/src/main/java/wicket/extensions/wizard/WizardStep.java...
1 error
[INFO]  

[ERROR] BUILD ERROR
[INFO]  

[INFO] An error has occurred in JavaDocs report generation.

Embedded error: Exit code: 1 - error: error reading /Users/John/ 
Development/wicket-1.x/jdk-1.4/wicket/target/wicket-1.3.0-incubating- 
SNAPSHOT.jar; invalid header field





On 13 Mar 2007, at 12:02, Martijn Dashorst wrote:

 Probably you have remove the jars from your local repository and  
 build again.

 Martijn

 On 3/13/07, John Patterson [EMAIL PROTECTED] wrote:
 Hi,

 I get this error message when trying to build wicket:

 ERROR] BUILD FAILURE
 [INFO]
 - 
 ---
 [INFO] Compilation failure

 error: error reading /Users/john/.m2/repository/org/apache/wicket/
 wicket/1.3.0-incubating-SNAPSHOT/wicket-1.3.0-incubating-
 SNAPSHOT.jar; invalid header field


 I am using Maven 2.0.3.  Any ideas?

 Thanks,

 John

 - 
 
 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


[Wicket-user] config file on classpath

2007-03-13 Thread Udora

Hi all,

I have the following spring configuration in my web.xml:

context-param
   param-namecontextConfigLocation/param-name
   param-valueclasspath*:applicationContext-service.xml/param-value
/context-param

The applicationContext-service.xml references a hibernate-cfg.xml file.
However on container startup I get the error:

Invocation of init method failed; nested exception is
java.io.FileNotFoundException: ServletContext resource [/hibernate.cfg.xml]
cannot be resolved to URL because it does not exist

The hibernate.cfg.xml exists in the same location as
applicationContext-service.xml on the classpath.

Thanks in advance
--
Wicket is Wicked
-
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] config file on classpath

2007-03-13 Thread Udora

Ok, again I solved my own problem.
I inserted a classpath:hibernate-cfg.xml and it now works in the
applicationContext.xml file.

Regards



On 3/13/07, Udora [EMAIL PROTECTED] wrote:


Hi all,

I have the following spring configuration in my web.xml:

context-param
param-namecontextConfigLocation/param-name
param-valueclasspath*:applicationContext-service.xml/param-value
 /context-param

The applicationContext-service.xml references a hibernate-cfg.xml file.
However on container startup I get the error:

Invocation of init method failed; nested exception is
java.io.FileNotFoundException: ServletContext resource
[/hibernate.cfg.xml] cannot be resolved to URL because it does not exist

The hibernate.cfg.xml exists in the same location as
applicationContext-service.xml on the classpath.

Thanks in advance
--
Wicket is Wicked





--
Wicket is Wicked
-
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] When you have tabs and forms, is it ok to have the tabs all inside one form,

2007-03-13 Thread Al Maw
Thomas R. Corbin wrote:
 or do you need to have each tab have it's own form?
 
 And if each tab has it's own form, does the user need to save their data 
 before switching tabs?
 
 Would the submit button be on each form, on each tab, or outside the tabs 
 entirely?

You can do this however you want.

If you want a single form, I'd put the submit button outside the tabs to 
make it more obvious that you can skip between them before hitting 
submit. You'd then need to modify your tabs so that the link to each tab 
is a SubmitLinks, with setDefaultFormProcessing(false) to avoid 
validating the entire form as you click between the links.

Alternatively, you can just put a form on each tab and have a submit 
button inside each form. The tabs/forms will be independent of each 
other in this case (although I guess you could link them together like a 
wizard if you wanted to, the point is that each tab has a form and an 
onSubmit method and is effectively standalone).

This is more a question about UI design than anything else - Wicket 
doesn't force you to do things like this in any particular way. Is it 
obvious to your users how a multi-tabbed form works? People aren't used 
to that kind of way of doing things.

If your form is too big to fit on a single screen, you might like to 
consider other ways of doing things. If you're creating stuff, having a 
wizard is probably better. If you're editing an existing entity, putting 
the save buttons inside the tabs is almost certainly more intuitive. You 
could also investigate something like Mootool's accordion 
(http://docs.mootools.net/files/Plugins/Accordion-js.html).


Al

-
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] Build failure

2007-03-13 Thread John Patterson
On 13 Mar 2007, at 12:31, Frank Bille wrote:

 I get the same error and have tried to remove local jar files. I'll  
 look into it tonight (can't get workspace setup using new al  
 structure)


Great, cheers.  Until then I have checked out the last revision  
before the restructuring.

-
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] Build failure

2007-03-13 Thread Martijn Dashorst
I just did a clean checkout of our 1.x branch, removed my local
repository, and it 'just worked'.

I do use maven 2.0.5, perhaps that is the deciding factor?

Martijn

On 3/13/07, John Patterson [EMAIL PROTECTED] wrote:
 On 13 Mar 2007, at 12:31, Frank Bille wrote:

  I get the same error and have tried to remove local jar files. I'll
  look into it tonight (can't get workspace setup using new al
  structure)
 

 Great, cheers.  Until then I have checked out the last revision
 before the restructuring.

 -
 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


[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


Re: [Wicket-user] Build failure

2007-03-13 Thread Frank Bille

2.0.5, you say... hmm, I'll try later

Frank


On 3/13/07, Martijn Dashorst [EMAIL PROTECTED] wrote:


I just did a clean checkout of our 1.x branch, removed my local
repository, and it 'just worked'.

I do use maven 2.0.5, perhaps that is the deciding factor?

Martijn

On 3/13/07, John Patterson [EMAIL PROTECTED] wrote:
 On 13 Mar 2007, at 12:31, Frank Bille wrote:

  I get the same error and have tried to remove local jar files. I'll
  look into it tonight (can't get workspace setup using new al
  structure)
 

 Great, cheers.  Until then I have checked out the last revision
 before the restructuring.


-
 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] Build failure

2007-03-13 Thread John Patterson
Strange, I just deleted the entire .m2/repository/org/apache/wicket/  
directory and checked out a fresh copy of http://svn.apache.org/repos/ 
asf/incubator/wicket/branches/wicket-1.x into a new directory,  
updated mvn to 2.0.5 (using darwin ports) and ran:

mvn -Dmaven.test.skip=true  install

But got the exact same error as before:

Loading source file /Users/John/Development/wicket/current/wicket-1.x/ 
jdk-1.4/wicket-extensions/src/main/java/wicket/extensions/wizard/ 
WizardModel.java...
Loading source file /Users/John/Development/wicket/current/wicket-1.x/ 
jdk-1.4/wicket-extensions/src/main/java/wicket/extensions/wizard/ 
WizardStep.java...
1 error
[INFO]  

[ERROR] BUILD ERROR
[INFO]  

[INFO] An error has occurred in JavaDocs report generation.

Embedded error: Exit code: 1 - error: error reading /Users/John/ 
Development/wicket/current/wicket-1.x/jdk-1.4/wicket/target/ 
wicket-1.3.0-incubating-SNAPSHOT.jar; invalid header field

could it be a different javadoc binary that causes the different  
behaviour?

My Mac OS X java version is reported as:

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)

On 13 Mar 2007, at 14:40, Martijn Dashorst wrote:

 I just did a clean checkout of our 1.x branch, removed my local
 repository, and it 'just worked'.

 I do use maven 2.0.5, perhaps that is the deciding factor?

 Martijn

 On 3/13/07, John Patterson [EMAIL PROTECTED] wrote:
 On 13 Mar 2007, at 12:31, Frank Bille wrote:

 I get the same error and have tried to remove local jar files. I'll
 look into it tonight (can't get workspace setup using new al
 structure)


 Great, cheers.  Until then I have checked out the last revision
 before the restructuring.

 - 
 
 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] onFailure AjaxCallDecorators and modal windows

2007-03-13 Thread Apaar Trivedi
Does no one have an answer to this question?

 

 

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Apaar
Trivedi
Sent: Monday, March 12, 2007 4:50 PM
To: wicket-user@lists.sourceforge.net
Subject: [Wicket-user] onFailure AjaxCallDecorators and modal windows

 

Hey guys,

 

I am trying to automatically close a modal window if an exception occurs
within its ajax requests or submits.

 

For example, if I press a button in a modal, and that ajax request
causes an exception, I'd like to close the modal before allowing wicket
to handle the runtime exception.  To achieve this I have tried to use a
onFailure post processing call decorator, but an exception does not seem
to trigger this event.

 

What triggers an 'onFailure' and causes the decorated script to run?

 

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


Re: [Wicket-user] Wicket for Bog Projects

2007-03-13 Thread Eelco Hillenius
Also: when I think about 'big' projects, I think about projects that
run for long time, have complex requirements and have a medium to
large sized team working collaborating on it. For such projects Wicket
is an excellent match due to reusability, separation of concerns, etc.

Eelco

On 3/13/07, Gwyn Evans [EMAIL PROTECTED] wrote:
 The problem is that without some idea of the context, 'big' doesn't
 mean anything - Are we talking about something like Amazon, Google,
 MSN or Yahoo, for instance?  I doubt Wicket would be a good match for
 that sort of big, but for lesser values of big, then it's probably
 as suitable as any other Java web app framework.

 /Gwyn

 On 13/03/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
  huh ?!
 
 
  On 3/13/07, Michael Day [EMAIL PROTECTED] wrote:
   No, only extra small, small, medium, and medium-to-big projects.  Big
   projects will be supported in wicket 3.0.
  
   On Mar 13, 2007, at 12:51 AM, Sazib wrote:
  
Hi everybody,
I just want to know, is wicket suitable for a big project?
   
Thanks
---
Sazib
   
   
  --
---
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
 
 


 --
 Download Wicket 1.2.5 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] Reverting the constructor change of 2.0

2007-03-13 Thread Eelco Hillenius
Can I have the opinions of all committers please? Johan is on a skiing
trip but opts for c).

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


Re: [Wicket-user] Reverting the constructor change of 2.0

2007-03-13 Thread Philip A. Chapman
I'm not a committer, but I opt for c.

On Tue, 2007-03-13 at 09:38 -0700, Eelco Hillenius wrote:

 Can I have the opinions of all committers please? Johan is on a skiing
 trip but opts for c).
 
 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
 

-- 
Philip A. Chapman

Desktop and Web Application Development:
Java, .NET, PostgreSQL, MySQL, MSSQL
Linux, Windows 2000, Windows XP


signature.asc
Description: This is a digitally signed message part
-
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] Reverting the constructor change of 2.0

2007-03-13 Thread Igor Vaynberg

i would opt for (b) but seems im in a minority :)

-igor


On 3/13/07, Eelco Hillenius [EMAIL PROTECTED] wrote:


Can I have the opinions of all committers please? Johan is on a skiing
trip but opts for c).

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


Re: [Wicket-user] Reverting the constructor change of 2.0

2007-03-13 Thread Matej Knopp
I go with crowd, C.

On 3/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 i would opt for (b) but seems im in a minority :)

 -igor



 On 3/13/07, Eelco Hillenius [EMAIL PROTECTED]  wrote:
  Can I have the opinions of all committers please? Johan is on a skiing
  trip but opts for c).
 
  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] AJAX completely broken in current wicket 2.0 trunk?

2007-03-13 Thread Eelco Hillenius
I just checked out the core 2.0 projects and they work fine for me.
Also, as there haven't been any changes for 2.0 the last few weeks, I
can't imagine out broke out of the blue.

Could you check your installation Stefan?

Eelco


On 3/13/07, Stefan Lindner [EMAIL PROTECTED] wrote:



 I built wicket 2.0 from current trunk and my application that worked well
 with last week#s wicket trunk no lnger works at all. No AJAX functionality
 at all. AjaxSelfUpdatingTimerBehavior,
 AjaxFormComponentUpdatingBehavior no longer work. The AJAX
 debug window shows no activity at all. Any general change in AJAX-behavior
 that I have to adopt?

 Stefan Lindner

 -
 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] When you have tabs and forms, is it ok to have the tabs all inside one form,

2007-03-13 Thread Thomas R. Corbin
On Monday, 12 March 2007 04:37 pm, Jean-Baptiste Quenot escreveu:
 * Thomas R. Corbin:
  or do you need to have each tab have it's own form?
 
  And if each  tab has it's own  form, does the user  need to save
  their data before switching tabs?
 
  Would the submit button be on each form, on each tab, or outside
  the tabs entirely?

 If all the  tab's contents are generated in the  page, you can put
 the form around all the tabs,  so that each tab can contribute its
 respective  input fields.   Otherwise,  if tab  contents are  only
 rendered after  an Ajax  callback, you'd be  safer putting  a form
 inside every tab.

How do you get all the tabs generated in one page?

The problem I'm having is that only the current tab's stuff is there, 
so I'm 
not sure how to do all the validation.

I guess I would need a form validator that validates all the fields of 
the 
object that the form allows the user to edit.

I have required fields on several different tabs, but if the elements 
of 
another tab are not visible, I'm not sure how to validate against that.

Thanks!


 That depends on your code actually.

-
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] When you have tabs and forms, is it ok to have the tabs all inside one form,

2007-03-13 Thread Igor Vaynberg

if elements are not visible they are not validated

so what you have to do is not allow the user to switch between tabs unless
everything on that tab has validated. you can do this by overriding the
linkfactory on the tabbed panel, using a submitlink, and only calling
setactivetab on the panel if everything has passed validation

if that is unacceptable - you want the user to roam freely from tab to tab:

a better option for these situations imho is to not to use a serverside
tabpanel, but a clientside one. that way your entire form is written out and
the submit button submits the entire thing. a js lib like this makes it
trivial: http://www.stilbuero.de/jquery/tabs/

-igor


On 3/13/07, Thomas R. Corbin [EMAIL PROTECTED] wrote:


On Monday, 12 March 2007 04:37 pm, Jean-Baptiste Quenot escreveu:
 * Thomas R. Corbin:
  or do you need to have each tab have it's own form?
 
  And if each  tab has it's own  form, does the user  need to save
  their data before switching tabs?
 
  Would the submit button be on each form, on each tab, or outside
  the tabs entirely?

 If all the  tab's contents are generated in the  page, you can put
 the form around all the tabs,  so that each tab can contribute its
 respective  input fields.   Otherwise,  if tab  contents are  only
 rendered after  an Ajax  callback, you'd be  safer putting  a form
 inside every tab.

How do you get all the tabs generated in one page?

The problem I'm having is that only the current tab's stuff is
there, so I'm
not sure how to do all the validation.

I guess I would need a form validator that validates all the
fields of the
object that the form allows the user to edit.

I have required fields on several different tabs, but if the
elements of
another tab are not visible, I'm not sure how to validate against that.

Thanks!


 That depends on your code actually.

-
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] Reverting the constructor change of 2.0

2007-03-13 Thread Al Maw
Eelco Hillenius wrote:
 Can I have the opinions of all committers please? Johan is on a skiing
 trip but opts for c).

I don't want to do any of A, B or C.

What I /really/ think we should try to achieve:

1. Have long-term JDK 1.4 and JDK 1.5 branches that are easy to
sync/backport from. These would therefore ideally have, in order of
importance:
 - The same constructor/add logic.
 - The same kind of models.
 - The same package namespace.

2. Avoid pushing out a 1.3 beta that's very different from the RC and
final releases.

Provided we do both of those, I don't really care how we get there. 
Looking at your options, option C breaks that second point pretty badly.

I still think we should push out 1.3 as-is, do a quick 1.4 with the new 
models and a package rename from wicket to org.apache.wicket, and create 
a 1.5 branch as soon as we have a beta/RC of 1.4.

Everyone else seems to think that this is a terrible idea, likely to 
drag on for ages and confuse the users. Given that is therefore a 
non-flier, I think we should:
  * Push the model change in right now.
  * Let it settle for a week or two to catch the worst bugs.
(If we need a 1.3 alpha-incubator-moderation or whatever to get
Apache approval, I'm all for that in the meantime.)
  * Get a 1.3 beta out the door to our users before the end of the month.

I also think that if we're going to be stuck maintaining 1.3 as the JDK 
1.4 branch for a long time (which looks likely), we should change the 
package namespace to org.apache.wicket for 1.3 right now, as it'll make 
life easier.

I guess there's nothing wrong with having a minor release version (like 
1.3.2 or something) be the first Apache approved non-incubator release.

Hopefully if we push the model change into 1.3, no one will want 
anything else to go in there and we can finally kick it out the door.

Al

-
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] When you have tabs and forms, is it ok to have the tabs all inside one form,

2007-03-13 Thread Thomas R. Corbin
On Tuesday, 13 March 2007 07:54 am, Al Maw escreveu:
 Thomas R. Corbin wrote:
  or do you need to have each tab have it's own form?
 
  And if each tab has it's own form, does the user need to save their data
  before switching tabs?
 
  Would the submit button be on each form, on each tab, or outside the tabs
  entirely?

 You can do this however you want.

 If you want a single form, I'd put the submit button outside the tabs to
 make it more obvious that you can skip between them before hitting
 submit. You'd then need to modify your tabs so that the link to each tab
 is a SubmitLinks, with setDefaultFormProcessing(false) to avoid
 validating the entire form as you click between the links.

 Alternatively, you can just put a form on each tab and have a submit
 button inside each form. The tabs/forms will be independent of each
 other in this case (although I guess you could link them together like a
 wizard if you wanted to, the point is that each tab has a form and an
 onSubmit method and is effectively standalone).

 This is more a question about UI design than anything else - Wicket
 doesn't force you to do things like this in any particular way. Is it
 obvious to your users how a multi-tabbed form works? People aren't used
 to that kind of way of doing things.

 If your form is too big to fit on a single screen, you might like to
 consider other ways of doing things. If you're creating stuff, having a
 wizard is probably better. If you're editing an existing entity, putting
 the save buttons inside the tabs is almost certainly more intuitive. You
 could also investigate something like Mootool's accordion
 (http://docs.mootools.net/files/Plugins/Accordion-js.html).


 Al

Thanks so much for your advice.   I'll be looking into it now.

-
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 for Bog Projects

2007-03-13 Thread Upayavira
But, what if 'big' means Ebay, yahoo, etc?

If they came to you saying they wanted to build major public facing 
portions of their site in Wicket, would you warn them away?

Upayavira

Eelco Hillenius wrote:
 Also: when I think about 'big' projects, I think about projects that
 run for long time, have complex requirements and have a medium to
 large sized team working collaborating on it. For such projects Wicket
 is an excellent match due to reusability, separation of concerns, etc.
 
 Eelco
 
 On 3/13/07, Gwyn Evans [EMAIL PROTECTED] wrote:
 The problem is that without some idea of the context, 'big' doesn't
 mean anything - Are we talking about something like Amazon, Google,
 MSN or Yahoo, for instance?  I doubt Wicket would be a good match for
 that sort of big, but for lesser values of big, then it's probably
 as suitable as any other Java web app framework.

 /Gwyn

 On 13/03/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
 huh ?!


 On 3/13/07, Michael Day [EMAIL PROTECTED] wrote:
 No, only extra small, small, medium, and medium-to-big projects.  Big
 projects will be supported in wicket 3.0.

 On Mar 13, 2007, at 12:51 AM, Sazib wrote:

 Hi everybody,
 I just want to know, is wicket suitable for a big project?

 Thanks
 ---
 Sazib


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



 --
 Download Wicket 1.2.5 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
 


-
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 for Bog Projects

2007-03-13 Thread Eelco Hillenius
I wouldn't, but sites on that scale would require you to do some
serious planning for scalability - whatever the technology you use.
There are many ways to scale up and out, but Wicket's reliance on
server side memory limits the options somewhat. There are stateless
pages, forms and links nowadays for Wicket, so you can strike that
worry if you are willing to live with a more restricted programming
model. But even stateful apps can be tweaked in many ways.

Eelco


On 3/13/07, Upayavira [EMAIL PROTECTED] wrote:
 But, what if 'big' means Ebay, yahoo, etc?

 If they came to you saying they wanted to build major public facing
 portions of their site in Wicket, would you warn them away?

 Upayavira

 Eelco Hillenius wrote:
  Also: when I think about 'big' projects, I think about projects that
  run for long time, have complex requirements and have a medium to
  large sized team working collaborating on it. For such projects Wicket
  is an excellent match due to reusability, separation of concerns, etc.
 
  Eelco
 
  On 3/13/07, Gwyn Evans [EMAIL PROTECTED] wrote:
  The problem is that without some idea of the context, 'big' doesn't
  mean anything - Are we talking about something like Amazon, Google,
  MSN or Yahoo, for instance?  I doubt Wicket would be a good match for
  that sort of big, but for lesser values of big, then it's probably
  as suitable as any other Java web app framework.
 
  /Gwyn
 
  On 13/03/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
  huh ?!
 
 
  On 3/13/07, Michael Day [EMAIL PROTECTED] wrote:
  No, only extra small, small, medium, and medium-to-big projects.  Big
  projects will be supported in wicket 3.0.
 
  On Mar 13, 2007, at 12:51 AM, Sazib wrote:
 
  Hi everybody,
  I just want to know, is wicket suitable for a big project?
 
  Thanks
  ---
  Sazib
 
 
  --
  ---
  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
 
 
 
  --
  Download Wicket 1.2.5 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
 


 -
 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
 

Re: [Wicket-user] Wicket for Bog Projects

2007-03-13 Thread Eelco Hillenius
I wouldn't == no I would not warn them away. :)

On 3/13/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 I wouldn't, but sites on that scale would require you to do some
 serious planning for scalability - whatever the technology you use.
 There are many ways to scale up and out, but Wicket's reliance on
 server side memory limits the options somewhat. There are stateless
 pages, forms and links nowadays for Wicket, so you can strike that
 worry if you are willing to live with a more restricted programming
 model. But even stateful apps can be tweaked in many ways.

 Eelco


 On 3/13/07, Upayavira [EMAIL PROTECTED] wrote:
  But, what if 'big' means Ebay, yahoo, etc?
 
  If they came to you saying they wanted to build major public facing
  portions of their site in Wicket, would you warn them away?
 
  Upayavira
 
  Eelco Hillenius wrote:
   Also: when I think about 'big' projects, I think about projects that
   run for long time, have complex requirements and have a medium to
   large sized team working collaborating on it. For such projects Wicket
   is an excellent match due to reusability, separation of concerns, etc.
  
   Eelco
  
   On 3/13/07, Gwyn Evans [EMAIL PROTECTED] wrote:
   The problem is that without some idea of the context, 'big' doesn't
   mean anything - Are we talking about something like Amazon, Google,
   MSN or Yahoo, for instance?  I doubt Wicket would be a good match for
   that sort of big, but for lesser values of big, then it's probably
   as suitable as any other Java web app framework.
  
   /Gwyn
  
   On 13/03/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
   huh ?!
  
  
   On 3/13/07, Michael Day [EMAIL PROTECTED] wrote:
   No, only extra small, small, medium, and medium-to-big projects.  Big
   projects will be supported in wicket 3.0.
  
   On Mar 13, 2007, at 12:51 AM, Sazib wrote:
  
   Hi everybody,
   I just want to know, is wicket suitable for a big project?
  
   Thanks
   ---
   Sazib
  
  
   --
   ---
   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
  
  
  
   --
   Download Wicket 1.2.5 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
  
 
 
  -
  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 

Re: [Wicket-user] When you have tabs and forms, is it ok to have the tabs all inside one form,

2007-03-13 Thread Jean-Baptiste Quenot
* Igor Vaynberg:

 a better  option for these  situations imho is  to not to  use a
 serverside  tabpanel,  but  a  clientside  one.  that  way  your
 entire  form  is  written  out and  the  submit  button  submits
 the  entire  thing.  a  js  lib  like  this  makes  it  trivial:
 http://www.stilbuero.de/jquery/tabs/

We have DojoTabContainer in Wicket Contrib Dojo that is
client-side only.

See an example at
http://www.demay-fr.net:8080/Wicket-start/app?wicket:bookmarkablePage=:wicket.contrib.dojo.examples.TabContainerSample
-- 
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-
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] Apache Con Amsterdam: wicket presence

2007-03-13 Thread Martijn Dashorst
Who is going to attend Apache Con in Amsterdam? We are planning to
host an evening session, but we would like to know how many would be
interested/attend.

You can see the schedule here:
http://wiki.apache.org/apachecon/BirdsOfaFeatherEu07

Other presentations featuring Wicket:
 - A tutorial on Wicket provided by Matej Knopp on tuesday
 - Matt Raible presents a framework comparison on friday.

More information on ApacheCon Amsterdam can be found here: http://apachecon.com

Martijn

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


Re: [Wicket-user] Apache Con Amsterdam: wicket presence

2007-03-13 Thread Eelco Hillenius
I'll be there!

Also, even if you are not going to Apache Con but happen to be near
Amsterdam in that week, let us know so maybe we can do some informal
hookup in a cafe or something.

Maybe we could start a WIKI page about it?

Eelco


On 3/13/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
 Who is going to attend Apache Con in Amsterdam? We are planning to
 host an evening session, but we would like to know how many would be
 interested/attend.

 You can see the schedule here:
 http://wiki.apache.org/apachecon/BirdsOfaFeatherEu07

 Other presentations featuring Wicket:
  - A tutorial on Wicket provided by Matej Knopp on tuesday
  - Matt Raible presents a framework comparison on friday.

 More information on ApacheCon Amsterdam can be found here: 
 http://apachecon.com

 Martijn

 --
 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 for Bog Projects

2007-03-13 Thread Jonathan Locke


Warn them away?  No.  I think it really comes down to doing a realistic
scaling test to estimate hardware resource usage and then using that to
estimate fixed and variable costs over the life of the project.  Wicket has
costs, but I think people tend to underestimate the cost of creating and
maintaining software.  

I'd say to Ebay, Yahoo, etc: I think Wicket may be a great match for you,
but you're about to spend millions on your project.  Don't expect pat
answers to an incredibly complex question from a mailing list.  Do the test
right (will definitely take some time and money to do that, but not months
or millions) and figure out the math.  If you've done a decent simulation,
you should know what ballpark you're in.  I think you should do this sort of
test with any web framework if you're Ebay or Yahoo.

   Jon


Upayavira-2 wrote:
 
 But, what if 'big' means Ebay, yahoo, etc?
 
 If they came to you saying they wanted to build major public facing 
 portions of their site in Wicket, would you warn them away?
 
 Upayavira
 
 Eelco Hillenius wrote:
 Also: when I think about 'big' projects, I think about projects that
 run for long time, have complex requirements and have a medium to
 large sized team working collaborating on it. For such projects Wicket
 is an excellent match due to reusability, separation of concerns, etc.
 
 Eelco
 
 On 3/13/07, Gwyn Evans [EMAIL PROTECTED] wrote:
 The problem is that without some idea of the context, 'big' doesn't
 mean anything - Are we talking about something like Amazon, Google,
 MSN or Yahoo, for instance?  I doubt Wicket would be a good match for
 that sort of big, but for lesser values of big, then it's probably
 as suitable as any other Java web app framework.

 /Gwyn

 On 13/03/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote:
 huh ?!


 On 3/13/07, Michael Day [EMAIL PROTECTED] wrote:
 No, only extra small, small, medium, and medium-to-big projects.  Big
 projects will be supported in wicket 3.0.

 On Mar 13, 2007, at 12:51 AM, Sazib wrote:

 Hi everybody,
 I just want to know, is wicket suitable for a big project?

 Thanks
 ---
 Sazib


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



 --
 Download Wicket 1.2.5 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
 
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 

Re: [Wicket-user] Build failure

2007-03-13 Thread Frank Bille

I have upgraded to 2.0.5 and also updated to latest svn version of 1.3, and
I now get a different error:

http://www.nabble.com/Al%27s-repository-restructure-tf3386729.html#a9469179

Frank


On 3/13/07, John Patterson [EMAIL PROTECTED] wrote:


Strange, I just deleted the entire .m2/repository/org/apache/wicket/
directory and checked out a fresh copy of http://svn.apache.org/repos/
asf/incubator/wicket/branches/wicket-1.x into a new directory,
updated mvn to 2.0.5 (using darwin ports) and ran:

mvn -Dmaven.test.skip=true  install

But got the exact same error as before:

Loading source file /Users/John/Development/wicket/current/wicket-1.x/
jdk-1.4/wicket-extensions/src/main/java/wicket/extensions/wizard/
WizardModel.java...
Loading source file /Users/John/Development/wicket/current/wicket-1.x/
jdk-1.4/wicket-extensions/src/main/java/wicket/extensions/wizard/
WizardStep.java...
1 error
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] An error has occurred in JavaDocs report generation.

Embedded error: Exit code: 1 - error: error reading /Users/John/
Development/wicket/current/wicket-1.x/jdk-1.4/wicket/target/
wicket-1.3.0-incubating-SNAPSHOT.jar; invalid header field

could it be a different javadoc binary that causes the different
behaviour?

My Mac OS X java version is reported as:

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)

On 13 Mar 2007, at 14:40, Martijn Dashorst wrote:

 I just did a clean checkout of our 1.x branch, removed my local
 repository, and it 'just worked'.

 I do use maven 2.0.5, perhaps that is the deciding factor?

 Martijn

 On 3/13/07, John Patterson [EMAIL PROTECTED] wrote:
 On 13 Mar 2007, at 12:31, Frank Bille wrote:

 I get the same error and have tried to remove local jar files. I'll
 look into it tonight (can't get workspace setup using new al
 structure)


 Great, cheers.  Until then I have checked out the last revision
 before the restructuring.

 -
 
 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

-
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] Setting up directories to make CSS available

2007-03-13 Thread Chris Colman
I'm using wicket and trying to work out how to set up my directories so
that while editing HTML markups my HTML editor has access to the same
CSS files that will be used as run time.

The HTML markups are in my project/src/com/sas/ui/wicket directory with
my wicket component classes but being in the src directory these files
are kind of in a different realm to the normal HTML resources of the web
app.

Any ideas on how to set up directories so that I can use the CSS in both
my HTML editor and at run time?

-
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