Re: [Wicket-user] Resource Lookup

2006-03-02 Thread Jonathan Carlson
I "CVS update"d again and the test didn't fail this time.  Thanks!

- Jon


>>> [EMAIL PROTECTED] 2006-03-02 2:56:46 PM >>>
maven 1 tries to execute an abstract class causing the error. This
behavior is not present in maven 2 (download it! it is much faster
than maven 1). Eclipse also doesn't show this awkward behavior.

You can also download an updated project.xml from sourceforge web cvs,
or

add:


**/Abstract*Test.java


to the unittest section of the project.xml

And maven -Dmaven.test.skip=true jar also works

Martijn


On 3/2/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> I don't have any test failing on me currently.
>
> johan
>
>
>
> On 3/2/06, Jonathan Carlson <[EMAIL PROTECTED] > wrote:
> > Thanks Juergen.  I did a CVS update and ran "maven jar", however
one of
> > the tests failed:
> >
> > [junit] Running
> >
> wicket.markup.html.navigation.paging.AbstractPagingNavigationTest
> > [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed:
0.343
> > sec
> > [junit] [ERROR] TEST
> >
> wicket.markup.html.navigation.paging.AbstractPagingNavigationTest
> > FAILED
> >
> > I forget how to create the jar without running the tests so if
anyone
> > could remind me, I'd appreciate it.
> >
> > Thanks!
> >
> > - Jonathan
> >
> >
> >
> > >>> [EMAIL PROTECTED] 2006-03-02 12:13:44 PM >>>
> > The code always covered this topic but this code underwent some
> > changes in almost all releases. I'm not sure it worked flawless in
all
> > releases. It should in CVS head (and hopefully we have an unit
test
> > for it as well). You would do me a great favour you were to test
it
> > with CVS head.
> >
> > Juergen
> >
> > On 3/2/06, Jonathan Carlson < [EMAIL PROTECTED]> wrote:
> > > Until this week I haven't had any images to lookup in my Wicket
1.1
> > > Panels.  Now that I've added some images, it appears that the
image
> > > resource lookup code is not looking in my superclass package for
> > > images.
> > >
> > > If this really is the case, that is a problem because I have
> > reusable
> > > panels that are abstract and intended to be subclassed (either
> > anonymous
> > > or named subclasses) in other packages to supply the necessary
> > > information.  I want my images to be in the abstract superclass
> > package,
> > > not in the using class package.
> > >
> > > Does this ring any bells for anyone?
> > >
> > > Thanks!
> > >
> > > - Jonathan
> > >
> > > P.S. I tried Wicket 1.1.1 to see if that would fix it but it
didn't.
> > >
> > > P.P.S. Wicket is beautiful!
> > >
> > >
> >
>
__
> > > This email and any files transmitted with it are confidential
and
> > > intended solely for the use of the individual or entity to whom
they
> > > are addressed. If you have received this email in error please
> > notify
> > > the system manager.
> > >
> > > Katun Corporation -- www.katun.com 
> > >
> >
>
_
> > >
> > >
> > > ---
> > > This SF.Net email is sponsored by xPML, a groundbreaking
scripting
> > language
> > > that extends applications into web and mobile media. Attend the
live
> > webcast
> > > and join the prime developer group breaking into this new coding
> > territory!
> > >
> >
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

> >
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net 
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user 
> > >
> >
> >
> > ---
> > This SF.Net email is sponsored by xPML, a groundbreaking scripting
> > language
> > that extends applications into web and mobile media. Attend the
live
> > webcast
> > and join the prime developer group breaking into this new coding
> > territory!
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat164

Re: [Wicket-user] Resource Lookup

2006-03-02 Thread Jonathan Carlson
Thanks Juergen.  I did a CVS update and ran "maven jar", however one of
the tests failed:

[junit] Running
wicket.markup.html.navigation.paging.AbstractPagingNavigationTest
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.343
sec
[junit] [ERROR] TEST
wicket.markup.html.navigation.paging.AbstractPagingNavigationTest
FAILED

I forget how to create the jar without running the tests so if anyone
could remind me, I'd appreciate it.

Thanks!

- Jonathan



>>> [EMAIL PROTECTED] 2006-03-02 12:13:44 PM >>>
The code always covered this topic but this code underwent some
changes in almost all releases. I'm not sure it worked flawless in all
releases. It should in CVS head (and hopefully we have an unit test
for it as well). You would do me a great favour you were to test it
with CVS head.

Juergen

On 3/2/06, Jonathan Carlson <[EMAIL PROTECTED]> wrote:
> Until this week I haven't had any images to lookup in my Wicket 1.1
> Panels.  Now that I've added some images, it appears that the image
> resource lookup code is not looking in my superclass package for
> images.
>
> If this really is the case, that is a problem because I have
reusable
> panels that are abstract and intended to be subclassed (either
anonymous
> or named subclasses) in other packages to supply the necessary
> information.  I want my images to be in the abstract superclass
package,
> not in the using class package.
>
> Does this ring any bells for anyone?
>
> Thanks!
>
> - Jonathan
>
> P.S. I tried Wicket 1.1.1 to see if that would fix it but it didn't.
>
> P.P.S. Wicket is beautiful!
>
>
__
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please
notify
> the system manager.
>
> Katun Corporation -- www.katun.com 
>
_
>
>
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
> that extends applications into web and mobile media. Attend the live
webcast
> and join the prime developer group breaking into this new coding
territory!
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Resource Lookup

2006-03-02 Thread Jonathan Carlson
Until this week I haven't had any images to lookup in my Wicket 1.1
Panels.  Now that I've added some images, it appears that the image
resource lookup code is not looking in my superclass package for
images.

If this really is the case, that is a problem because I have reusable
panels that are abstract and intended to be subclassed (either anonymous
or named subclasses) in other packages to supply the necessary
information.  I want my images to be in the abstract superclass package,
not in the using class package.

Does this ring any bells for anyone?  

Thanks!

- Jonathan

P.S. I tried Wicket 1.1.1 to see if that would fix it but it didn't.

P.P.S. Wicket is beautiful!

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] VOTE

2006-02-17 Thread Jonathan Carlson
#2.  Java 5 still does not run on all hardware that Java 1.4 runs on. 
AIX is one good example.  And are all Java web hosters running Java 5
yet?

- Jonathan



>>> [EMAIL PROTECTED] 2006-02-16 7:33:37 PM >>>
Hi all,

This is a non-binding (the developers ultimately decide) call votes
concerning whether we should fold the upcomming constructor changes
with our move to Java 5 or not. See for a discussion of those changes
other threads, please use this thread for voting only.

1. Give me the constructor change and the Java 5 functionality in one
pass (Wicket 2.0)
2. Do the constructor change in a seperate release (Wicket 1.3) and
put Java 5 in the next (Wicket 2.0)
3. I don't want either one and I want to stay on Wicket 1.2.

This last option has no real effect except that you explicitly say
that you prefer a long lasting support on 1.2 over new features.

Also, take into consideration that the less versions we have to
maintain seperately, the quicker we probably can implement them.

Your votes please?

Btw, it is still our plan to be up-to-date with Wicket In Action.

Eelco


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD
SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Cancel button that doesn't do validation

2006-01-06 Thread Jonathan Carlson
I hope I didn't just miss this in the documentation (or maybe I do :-)

How would I turn off validation for a "Cancel" button on my form?  If
it's already documented, please send me a link.  Thanks!

- Jonathan



__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] replace ognl.

2005-10-27 Thread Jonathan Carlson
> and that is?

 Very similar to what you are proposing:
http://groovy.codehaus.org/Collections 

and 

bean?.property  (allows bean to be null)   
(see http://groovy.codehaus.org/Migration+From+Classic+to+JSR+syntax )

I really appreciate how OGNL is very flexible with allowing me to do
things like concatenate two properties into one without having to write
a new getter.  Having a groovy-based property model would give similar
advantages.  And Groovy allows for compact iterating over collections
like OGNL does (although I haven't had a need for it yet).  If you got
rid of that kind of functionality altogether, I think Wicket would be
poorer for it.

My 2 cents worth,

- Jonathan


>>> [EMAIL PROTECTED] 2005-10-27 1:23:03 PM >>>
and that is?


On 10/27/05, Jonathan Carlson <[EMAIL PROTECTED]> wrote:
>
> I'd prefer if it used a groovy-like syntax (or actual groovy behind
the
> curtain) as much as possible.
>
>
> >>> [EMAIL PROTECTED] 2005-10-27 11:15:05 AM >>>
> The only thing for me to use [] for an index and { } for a map (for
> example)
> would be that this:
>
> mymap.property would mean that you really want to have a getProperty
on
> a
> map
> (same goes for list)
>
> so i will change it to use with [] (without quotes that i find
totally
> not
> needed)
>
> foo.list[0].bar
> foo.map[key].bar
> foo.list.bar (this is a get property of the list)
> foo.map.bar (this is a get property of the map)
>
> But i am affraid that when i do the last thing (it needs to be a
> property of
> map) that wicket fails currently
> so i think i fall back to that that i will also look it up as a key
if
> the
> property is not found.
>
> This will result in more mem en cpu usage.
> (i don't create any garbage currently)
>
> On 10/27/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
> >
> > ognl can do map lookup with just a expression
> > (that was the first thing i had to do because that did go wrong
when
> i
> > started testing it)
> > this was used: Ognl.getValue("string", anHashmap);
> >
> > so the need to do ["sd"] even with " juk why is that needed ...?
> >
> >
> >
> > On 10/27/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > >
> > > I'm not too sure about using dots for index/ map references. It
> > > differs from OGNL:
> > >
>
http://www.ognl.org/2.6.7/Documentation/html/LanguageGuide/indexing.html

>
> > > .
> > > And personally, I think it is usefull to be able to distinct
> single
> > > from indexed properties just by looking at the expression. Is it
> > > /that/ more expensive? I mean, optimizing is good, but we don't
> have
> > > to over-do it.
> > >
> > > Eelco
> > >
> > >
> > > ---
> > > This SF.Net email is sponsored by the JBoss Inc.
> > > Get Certified Today * Register for a JBoss Training Course
> > > Free Certification Exam for All Training Attendees Through End
of
> 2005
> > > Visit http://www.jboss.com/services/certification for more
> information
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net 
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user 
> > >
> >
> >
>
>
__
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please
notify
> the system manager.
>
> Katun Corporation -- www.katun.com <http://www.katun.com>
>
_
>
>
> ---
> This SF.Net email is sponsored by the JBoss Inc.
> Get Certified Today * Register for a JBoss Training Course
> Free Certification Exam for All Training Attendees Through End of
2005
> Visit http://www.jboss.com/services/certification for more
information
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/wicket-user 
>

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] replace ognl.

2005-10-27 Thread Jonathan Carlson
I'd prefer if it used a groovy-like syntax (or actual groovy behind the
curtain) as much as possible.


>>> [EMAIL PROTECTED] 2005-10-27 11:15:05 AM >>>
The only thing for me to use [] for an index and { } for a map (for
example)
would be that this:

mymap.property would mean that you really want to have a getProperty on
a
map
(same goes for list)

so i will change it to use with [] (without quotes that i find totally
not
needed)

foo.list[0].bar
foo.map[key].bar
foo.list.bar (this is a get property of the list)
foo.map.bar (this is a get property of the map)

But i am affraid that when i do the last thing (it needs to be a
property of
map) that wicket fails currently
so i think i fall back to that that i will also look it up as a key if
the
property is not found.

This will result in more mem en cpu usage.
(i don't create any garbage currently)

On 10/27/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
>
> ognl can do map lookup with just a expression
> (that was the first thing i had to do because that did go wrong when
i
> started testing it)
> this was used: Ognl.getValue("string", anHashmap);
>
> so the need to do ["sd"] even with " juk why is that needed ...?
>
>
>
> On 10/27/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> >
> > I'm not too sure about using dots for index/ map references. It
> > differs from OGNL:
> >
http://www.ognl.org/2.6.7/Documentation/html/LanguageGuide/indexing.html

> > .
> > And personally, I think it is usefull to be able to distinct
single
> > from indexed properties just by looking at the expression. Is it
> > /that/ more expensive? I mean, optimizing is good, but we don't
have
> > to over-do it.
> >
> > Eelco
> >
> >
> > ---
> > This SF.Net email is sponsored by the JBoss Inc.
> > Get Certified Today * Register for a JBoss Training Course
> > Free Certification Exam for All Training Attendees Through End of
2005
> > Visit http://www.jboss.com/services/certification for more
information
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net 
> > https://lists.sourceforge.net/lists/listinfo/wicket-user 
> >
>
>

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] hibernate pattern

2005-10-24 Thread Jonathan Carlson
Maybe it could have a "safe navigation" syntax like Groovy has:  
y?.name   (allows y to be null)

- Jonathan

>>> [EMAIL PROTECTED] 2005-10-24 4:24:15 AM >>>
On 10/24/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> There has been some discussion on this on the development list
recently.
> Currently is seems that it is not possible for us to add/change this
> behaviour of OGNL.

Uh, thanks! So I'm not the only one having this problem! :)
I've read the threads on wicket-dev and I think I'll patch OGNL...

--
Davide Savazzi


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] LGPL

2005-09-02 Thread Jonathan Carlson
>From what I understand (I don't know how true it is) Sun's JDK has LGPL
code in it so I don't understand what all the fear is about LGPL, unless
it is an excuse for some manager/DBA to "dis" an
Object-Relational-Mapping tool like Hibernate.   But DatePicker and
Hibernate support is not in the Wicket core, right?  So people don't
have to download it or use it, right?

The problem I see is that the way it is currently, a GPL or LGPL
project could never use Wicket because the Apache 2.0 license is
incompatible.  Fortunately, Apache using an LGPL library is OK, because
the FSF intended the LGPL to work that way.

I'm curious why IBM is so unconcerned about GPL code.  It hasn't
stopped them from getting big into Linux.

Sorry for all the random thoughts.  I guess this discussion wasn't very
focused today.




>>> [EMAIL PROTECTED] 2005-09-02 3:22:56 PM >>>
what does disappear then??
we still have an issue then with incorporating lgpl code because many 
don't like that.

johan


Alexandre Bairos wrote:
> Maybe you could use another license like MIT,BSD,etc. This way this 
> license issues disapear.
>
> My 0.02
>
> On 9/2/05, *Eelco Hillenius* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Jonathan introduced the Apache 2.0 licence from the start of the
> (public) project.
>
> Eelco
>
> On 9/2/05, Jonathan Carlson <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> > Personally, I don't see what the hundreds of words in the
Apache
> 2.0 license buys Wicket.  Maybe someone can explain.


__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Integrating FCKeditor

2005-09-02 Thread Jonathan Carlson
This is exactly why I prefer tools that use the very simple modified BSD, MIT, 
or X11 which is compatible with both Apache and GPL.  I'm a little bit peeved 
at all the snipping going on between Apache and FSF.  

Personally, I don't see what the hundreds of words in the Apache 2.0 license 
buys Wicket.  Maybe someone can explain.

My 2 cents.

- Jonathan

>>> [EMAIL PROTECTED] 2005-09-02 7:32:46 AM >>>
BTW, Rickard's remarks on "changing his license" has been proven to be a 
bunch of bunk. The version of his code included in JBoss is and always will 
be LGPL.

On 9/2/05, Ate Douma <[EMAIL PROTECTED]> wrote:
> 
> Well, I'm not a fan of licensing stuff either and INAL etc.
> But, I think it *is* of utmost importance, especially for framework 
> projects like Wicket.
> 
> I would advise all the team members to read and follow the recent (this 
> week) discussion
> started on the ServerSide about this exact subject:
> http://www.theserverside.com/news/thread.tss?thread_id=36156 
> 
> This thread is already massive and contains besides very interesting and 
> valuable opinions
> also a lot of rubbish as usually.
> As I said, INAL, but the one thing that's very clear to me from that 
> discussion is that
> choosing the appropriate license *and* complying to it is not to be taken 
> lightly and can
> be tricky to say the least.
> Using LGPL licensed code especially is very dangerous in my book, because 
> everyone seems
> to have a different interpretation of it.
> Maybe the LGPL is crystal clear in legal terms in the end, but as long as 
> so many people
> disagree about what it really means, I don't trust it...
> 
> Most notably in the discussion on the ServerSide is the unexpected trick 
> Rickard Öberg is
> now playing on JBoss by declaring all his original work within the JBoss 
> codebase (which is
> a massive amount) to be GPL from now on:
> http://www.theserverside.com/news/thread.tss?thread_id=36156#182919 
> 
> Checkout section 3) of the LGPL for a clarification.
> This might end up as being nonsense and of no consequence, and maybe not.
> I really don't know but I love to find out how this will work out.
> 
> Anyways, for Wicket, I didn't know yet it already depends (and contains) 
> LGPL code.
> Turns out the DatePicker embeds and uses the calendar javascript library 
> from
> http://dynarch.com/mishoo/calendar.epl.
> 
> First of all, as result of that, I think we need to distribute the LGPL 
> license with the
> Wicket extension library as required by section 1) of the license.
> Not complying with that is a violation of the LGPL.
> 
> Furthermore, (and this one is very important to me as Apache committer) 
> this also means usage
> of the Wicket extensions is no longer possible for Apache projects as the 
> ASF doesn't allow any
> LGPL binding. While this is a restriction only from the ASF itself and not 
> purely based on
> the ASL 2.0 license of Wicket (it *is* allowed to bind to LGPL if you 
> want), many companies
> won't allow using the Wicket extensions anymore because they don't trust 
> LGPL either.
> 
> I've worked myself on a commercial project which didn't allow any LGPL 
> based or linked software
> because they didn't trust that license and couldn't be sure about the 
> consequences.
> Reading the discussion on theServerSide again reinforced that I have to 
> agree on that assessment.
> 
> So, I think I need to make my position clear on this matter.
> Binding Wicket extensions to LGPL (as it already does) makes it useless to 
> me and many others.
> And binding Wicket core to LGPL would make the whole framework useless to 
> me and many others.
> 
> I do think it is important to be very careful about all this. Some choices 
> can end up to have
> irreversible consequences and in my view seriously endanger the acceptance 
> of Wicket...
> 
> Eelco Hillenius wrote:
> > Yeah, I don't know. I allways hated the licencing stuff. Wish there
> > were just two licences. However, we allready depend on some LGPL
> > licences and I have seen a lot of other Apache 2 style projects do
> > that too. I can't imagine this becomming an actual problem. But if
> > someone would be so kind to explain the details/ in-outs that would be
> > nice.
> >
> > It would really suck if when you choose for Apache 2, you couldn't use
> > LPGL at all, and if you choose LGPL, you couldn't use Apache 2 at all.
> > I'm pretty sure I speak for 95% percent of the programmers if I say
> > I'm really not that into the details; as a customer I want to know
> > whether I can ship it with commercial projects, and - maybe - whether
> > I can ajust the source and ship it.
> >
> >
> > Eelco
> >
> >
> > On 9/2/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> >
> >>If the license is such a big issue why not just keep this project as 
> contrib
> >>instead of extension, that way the license doesn't really matter.
> >>-Igor
> >>
> >>
> >>
> >>>-Original Message-
> >>>From: [EMAIL PROTECTED] 
> >>>[mailto:[EMAIL PROTECTED] On Beh

Re: [Wicket-user] Hibernate vs Cayenne?

2005-08-26 Thread Jonathan Carlson
Maybe you could start out learning Cayenne by adding a Cayenne
implementation of the wicket-contrib-database stuff.  It's not really
ORM tool agnostic until it has another working implementation, right?  
It shouldn't be too hard, it just takes a little time.

- Jon


>>> [EMAIL PROTECTED] 2005-08-26 8:51:05 AM >>>

Ok, so "I've got your back" then :) I'm reading the user manual
now. 
I'm less concerned about performance (I hear it is equivilent to 
Hibernate anyway) and more concerned about when I run into problems
will 
it be obvious how to solve them and/or will I have somewhere to ask (in

this case their mailing list).

I *do* wish, however, they had an IRC channel as I am not a fan
of 
mailing lists in general (takes too long). Do you happen to know if
they 
have one (official or not)?

Thanks,
Gili

Jonathan Carlson wrote:
> I've been pretty pleased with Cayenne and I'm starting soon on a
Cayenne
> implementation of Jonathan L's wicket-contrib-database stuff.  Also,
the
> RAD components I'm building (and hope to check in within a week or
two)
> are abstracted enough to support different ORM tools  (mainly my
> filtered List component)
> 
> One caveat is that my uses so far haven't forced me to tune the
default
> Cayenne options for speed so I wouldn't be a good resource for that. 
I
> was satisfied with their explanations of prefetching and query
caching,
> etc.  The developers do seem to be very helpful and quick to
respond,
> and the traffic on the mailing list is consistently good.
> 
> It would probably help to have another person on the Cayenne mailing
> list who is enthusiastic about Wicket.  The last time I touted Wicket
on
> the list, they seemed interested, but it became obvious that many of
> them were already committed to Tapestry -- hence the Tapestry example
on
> their site with no Wicket example.  :-(
> 
> - Jonathan Carlson
> 
> 
> 
>>>>[EMAIL PROTECTED] 2005-08-25 11:05:03 PM >>>
> 
> 
>   I am seriously considering dumping Hibernate in favor of
Cayenne
> 
> because the former has a multitude of bugs and usability issues I ran

> into which the authors refuse to acknowledge (don't mention the word

> "bug" on their discussion forum or else they will ban you. No joke!).

> Anyone who honestly thinks their software has no bugs *has* to be 
> delusional in my book.
> 
>   Anyway, I'm wondering whether anyone has tried using Cayenne
> before? I 
> noticed a lot of Wicket users have had experience with Hibernate so I

> figured this was a good place to ask. I read that Cayenne is 
> feature-equivilent to Hibernate but the developers are far more
> friendly 
> and their support base is stronger. With Hibernate whenever I ran
into
> 
> trouble and try asking for help the developers first tell me off,
then
> 
> proceed to tell me to go buy their book. Now, I can hardly fault them

> for their capitalistic ploy, but I have a hard time justifying to
> myself 
> having to pay money to people who badger users asking for help.
> Frankly, 
> I hope they crash and burn for their attitude.
> 
>   So back to the point. Does anyone have any experience with
> Cayenne or 
> maybe Apache OJB? I'm look at 
> http://c2.com/cgi-bin/wiki?ObjectRelationalToolComparison for a 
> comparison but it is rather dry. I'm looking for practical experience

> from real people. Let me know...
> 
> Gili

-- 
http://www.desktopbeautifier.com/ 


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing &
QA
Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


--

Re: [Wicket-user] Hibernate vs Cayenne?

2005-08-26 Thread Jonathan Carlson
Sorry, I haven't heard about a Cayenne IRC channel.  Maybe you could
encourage them to set one up.

Be careful and don't get yourself banned from the Cayenne list, though.
 :-)  We want them to try out Wicket sometime soon, right?

- Jon



>>> [EMAIL PROTECTED] 2005-08-26 8:51:05 AM >>>

Ok, so "I've got your back" then :) I'm reading the user manual
now. 
I'm less concerned about performance (I hear it is equivilent to 
Hibernate anyway) and more concerned about when I run into problems
will 
it be obvious how to solve them and/or will I have somewhere to ask (in

this case their mailing list).

I *do* wish, however, they had an IRC channel as I am not a fan
of 
mailing lists in general (takes too long). Do you happen to know if
they 
have one (official or not)?

Thanks,
Gili

Jonathan Carlson wrote:
> I've been pretty pleased with Cayenne and I'm starting soon on a
Cayenne
> implementation of Jonathan L's wicket-contrib-database stuff.  Also,
the
> RAD components I'm building (and hope to check in within a week or
two)
> are abstracted enough to support different ORM tools  (mainly my
> filtered List component)
> 
> One caveat is that my uses so far haven't forced me to tune the
default
> Cayenne options for speed so I wouldn't be a good resource for that. 
I
> was satisfied with their explanations of prefetching and query
caching,
> etc.  The developers do seem to be very helpful and quick to
respond,
> and the traffic on the mailing list is consistently good.
> 
> It would probably help to have another person on the Cayenne mailing
> list who is enthusiastic about Wicket.  The last time I touted Wicket
on
> the list, they seemed interested, but it became obvious that many of
> them were already committed to Tapestry -- hence the Tapestry example
on
> their site with no Wicket example.  :-(
> 
> - Jonathan Carlson
> 
> 
> 
>>>>[EMAIL PROTECTED] 2005-08-25 11:05:03 PM >>>
> 
> 
>   I am seriously considering dumping Hibernate in favor of
Cayenne
> 
> because the former has a multitude of bugs and usability issues I ran

> into which the authors refuse to acknowledge (don't mention the word

> "bug" on their discussion forum or else they will ban you. No joke!).

> Anyone who honestly thinks their software has no bugs *has* to be 
> delusional in my book.
> 
>   Anyway, I'm wondering whether anyone has tried using Cayenne
> before? I 
> noticed a lot of Wicket users have had experience with Hibernate so I

> figured this was a good place to ask. I read that Cayenne is 
> feature-equivilent to Hibernate but the developers are far more
> friendly 
> and their support base is stronger. With Hibernate whenever I ran
into
> 
> trouble and try asking for help the developers first tell me off,
then
> 
> proceed to tell me to go buy their book. Now, I can hardly fault them

> for their capitalistic ploy, but I have a hard time justifying to
> myself 
> having to pay money to people who badger users asking for help.
> Frankly, 
> I hope they crash and burn for their attitude.
> 
>   So back to the point. Does anyone have any experience with
> Cayenne or 
> maybe Apache OJB? I'm look at 
> http://c2.com/cgi-bin/wiki?ObjectRelationalToolComparison for a 
> comparison but it is rather dry. I'm looking for practical experience

> from real people. Let me know...
> 
> Gili

-- 
http://www.desktopbeautifier.com/ 


__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Re: Hibernate vs Cayenne?

2005-08-26 Thread Jonathan Carlson
I like your name, Anders.  My son's name is Anders Carlson and my wife
was a Peterson.  We had to give our Anders a Scandinavian first name
because we couldn't get pregnant until we visited my relatives in
Sweden.  

Back to my real post:  At work I introduced the Spring DAO framework
(nothing else Spring, though).  It is a huge step up from our previous
attempts at doing our own JDBC layer but it still gives us direct
control over the JDBC and how it maps to objects.  Pride is probably
somewhat similar. 

:-)

Jonathan Carlson


>>> [EMAIL PROTECTED] 2005-08-26 5:03:12 AM >>>

http://pride.sourceforge.net/ 

It's extremely lightweight and scaled down. There's lots of things it 
can't do - or more correctly you have to do it. So far I'm very happy.

/Anders
-- 
http://ojalgo.org/ 

Mathematics, Linear Algebra and Optimisation with Java



__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Hibernate vs Cayenne?

2005-08-26 Thread Jonathan Carlson
I've been pretty pleased with Cayenne and I'm starting soon on a Cayenne
implementation of Jonathan L's wicket-contrib-database stuff.  Also, the
RAD components I'm building (and hope to check in within a week or two)
are abstracted enough to support different ORM tools  (mainly my
filtered List component)

One caveat is that my uses so far haven't forced me to tune the default
Cayenne options for speed so I wouldn't be a good resource for that.  I
was satisfied with their explanations of prefetching and query caching,
etc.  The developers do seem to be very helpful and quick to respond,
and the traffic on the mailing list is consistently good.

It would probably help to have another person on the Cayenne mailing
list who is enthusiastic about Wicket.  The last time I touted Wicket on
the list, they seemed interested, but it became obvious that many of
them were already committed to Tapestry -- hence the Tapestry example on
their site with no Wicket example.  :-(

- Jonathan Carlson


>>> [EMAIL PROTECTED] 2005-08-25 11:05:03 PM >>>

I am seriously considering dumping Hibernate in favor of Cayenne

because the former has a multitude of bugs and usability issues I ran 
into which the authors refuse to acknowledge (don't mention the word 
"bug" on their discussion forum or else they will ban you. No joke!). 
Anyone who honestly thinks their software has no bugs *has* to be 
delusional in my book.

Anyway, I'm wondering whether anyone has tried using Cayenne
before? I 
noticed a lot of Wicket users have had experience with Hibernate so I 
figured this was a good place to ask. I read that Cayenne is 
feature-equivilent to Hibernate but the developers are far more
friendly 
and their support base is stronger. With Hibernate whenever I ran into

trouble and try asking for help the developers first tell me off, then

proceed to tell me to go buy their book. Now, I can hardly fault them 
for their capitalistic ploy, but I have a hard time justifying to
myself 
having to pay money to people who badger users asking for help.
Frankly, 
I hope they crash and burn for their attitude.

So back to the point. Does anyone have any experience with
Cayenne or 
maybe Apache OJB? I'm look at 
http://c2.com/cgi-bin/wiki?ObjectRelationalToolComparison for a 
comparison but it is rather dry. I'm looking for practical experience 
from real people. Let me know...

Gili
-- 
http://www.desktopbeautifier.com/ 


__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] And the winner is... Wicket

2005-08-25 Thread Jonathan Carlson
Assuming no one already mentioned this while I was out on vacation...

http://java.about.com/b/a/194765.htm

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket + eclipse

2005-08-23 Thread Jonathan Carlson
I'm curious.  What does it do? 

>>> [EMAIL PROTECTED] 2005-08-23 3:17:37 PM >>>
Hi,

I just created an experimental Wicket Eclipse plugin. Please check it
out and see if it interests you. Installation instructions and a short
description can be found from:

http://www.laughingpanda.org/mediawiki/index.php/Wicket_Bench 

-- 
Joni Suominen <[EMAIL PROTECTED]>



__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket + eclipse

2005-08-23 Thread Jonathan Carlson
I'm sorry for the stupid question.  Feel free to ignore it.  I'm trying
to monitor the list and do real work at the same time.  (Wicket is my
off-hours passion) 

---
I'm curious.  What does it do? 

>>> [EMAIL PROTECTED] 2005-08-23 3:17:37 PM >>>
Hi,

I just created an experimental Wicket Eclipse plugin. Please check it
out and see if it interests you. Installation instructions and a short
description can be found from:

http://www.laughingpanda.org/mediawiki/index.php/Wicket_Bench 

-- 
Joni Suominen <[EMAIL PROTECTED]>



__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] contrib-database

2005-08-10 Thread Jonathan Carlson
It looks pretty generic and useful.  I'll see if I can make use of it
(and MAYBE write some Cayenne-specific classes, although I'm kind of
getting pulled to Hibernate by the mass of developers behind it).

One comment, the wicket.contrib.database.DatabaseWebRequestCycle which
is in the generic logic package catches HibernateException.  I think
that was intended to be a database-agnostic class, if I'm not mistaken.

- Jon


>>> [EMAIL PROTECTED] 2005-08-10 1:44:19 AM >>>

btw, this code is working great for me, if anyone was wondering what 
happened to contrib-database...  i think with some feedback and usage,

it might be something we could move up in terms of support maybe 
move it into wicket-extensions if people like it as a standard for 
wicket/hibernate integration.  i'm finding it to be especially clean
and 
easy so far...  comments, suggestions, improvements are welcome

jon




---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing &
QA
Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Newsletter August 2005

2005-08-10 Thread Jonathan Carlson
Hi Martijn,  Thanks for the newsletter!  I'm impressed, but I'm also
curious what the framework numbers mean.  Are they downloads, ranking,
what?

My guess is that most people download the extensions and examples too. 
This kind of artificially inflates our download numbers, doesn't it?

- Jonathan


>>> [EMAIL PROTECTED] 2005-08-08 7:03:43 PM >>>
All,

This is a new concept I'm trying. Do you like receiving news this way?

Is the format (PDF) a good one? Do you want to receive this through 
mail, or do you just want an announcement that a new newsletter is 
available for download?

Please give your comments, feedback etc.

With regards,

Martijn Dashorst



__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] web framework inquirer

2005-07-25 Thread Jonathan Carlson
This blogger/guy wants to know which web frameworks people are using.  I
sent him my hearty endorsement of Wicket.  Maybe someone else wants to
as well?

It sounds like he needs some convincing that Struts is "old school". 
:-)

http://java.about.com/b/a/185819.htm 

- Jonathan

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wiki seems to be broken

2005-07-22 Thread Jonathan Carlson

http://wicket.sourceforge.net/wiki 

Fatal error: Call to a member function on a non-object in
/home/groups/w/wi/wicket/htdocs/wiki/includes/ObjectCache.php on line
409

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] "back button" and actions against visible panels

2005-07-21 Thread Jonathan Carlson
Thanks Eelco,

So has anything happened with the proposal to disable actions against
invisible panels?  I think it's a bad idea unless there is a better way
around my issue.

> Does your collegue use client side state management?

Does "client side state management" mean having some kind of id in the
request URL to help the server figure out which instance to send the
request to?  In that case, no, he's not using client side state
management.   But also in that case, if I reuse the same page instance,
"client side state management" doesn't help since the back button can
still make the client view show an old version of the server-side
state.

Ideas?  Best Practice patterns?


>>> [EMAIL PROTECTED] 2005-07-21 11:31:57 AM >>>
Jon Carlson wrote:

>I heard some talk recently of disabling actions against invisible
components.
>
>Consider the case where there is *one* Page instance with multiple
>panels that are made hidden or visible by user interaction.  Would it
>be possible to use the back button to view representations of
>currently hidden panels and do actions on them?  (My time is limited
>so I haven't tested or played with the back button on my components
>much yet)
>  
>

Yep, we could as we roll back the visibility as well for versioned
pages.

>If so, and *assuming* this is an acceptable way to do
>pages/components, I don't think we would want to disable those
actions
>or throw an error.
>
>Is there some documentation somewhere describing how Wicket solves
the
>Back button problem?  My co-worker using JSF has been running into
>lots of back-button problems, which makes me realize that I really
>don't understand how best to use Wicket to avoid some or all of them
>myself.
>  
>

No docs yet, sorry. Maybe one of my collegues would like to do a short

explaination? Gili is the one that came up with the idea btw.

I'd be /very/ interested to learn about which problems JSF has with
back 
button support... Does your collegue use client side state management?

Regards,

Eelco

>Thanks!
>
>  
>



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RAD component integration

2005-07-21 Thread Jonathan Carlson
> I think you should be able to have some control over the "layout" 
> of lists. Like Phil suggests. Do you agree?

I definitely agree.  The components I've built allow you to change the
order and how a property is rendered.

> Would it be possible to extend/modify/replace default edit 
> forms?  A lot of times this is not going to be necessary, 
> but I think you need to have the ability. 

In the stuff I've done I try to keep in mind extendability (and
replacing default components with your own).

> When you clear bookmarks, is that per-class or all objects 
> regardless of class?

I think it should only be for that class.  I envision there being a
different BookmarkList (hypothetical name right now) instance for each
class.



>>> [EMAIL PROTECTED] 2005-07-21 2:48:42 AM >>>
It is really cool stuff you and Phil are discussing! With something
like
this Wicket will definitely be a very productive framework to use.

I think your HTML example is just right. In one of my applications I
have built something similar, only less sophisticated and done the
hard
way :) Having the filtering integrated in the table makes it very
compact, nice.

A couple of questions:
I think you should be able to have some control over the "layout" of
lists. Like Phil suggests. Do you agree?
Also: Would it be possible to extend/modify/replace default edit
forms?
A lot of times this is not going to be necessary, but I think you need
to have the ability. 
When you clear bookmarks, is that per-class or all objects regardless
of
class?

- Jan

> Congrats to Phil on the unveiling of his GridView panel.
> 
> Please look at the attached HTML file.  Are there other/better ways
to
> easily relate persistent objects in HTML?  That is, other than using
> bookmarks?  This is the best/simplest idea that I can think of so
far
> given that HTML doesn't have nice drag-n-drop capability.
> 
> I think "bookmarked" instances are important for our generic RAD
> components to support so we can mix-and-match RAD panels between
> different developers.  RAD edit panels can put bookmarked instances
into
> dropdowns for easily creating relationshipse between objects.
> 
> Thoughts?  Brick bats?  Go for it?
> 
> - Jonathan
> 
> 
> 
>
__
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please
notify
> the system manager.
> 
> Katun Corporation -- www.katun.com 
>
_




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] RAD component integration

2005-07-20 Thread Jonathan Carlson
Congrats to Phil on the unveiling of his GridView panel.

Please look at the attached HTML file.  Are there other/better ways to
easily relate persistent objects in HTML?  That is, other than using
bookmarks?  This is the best/simplest idea that I can think of so far
given that HTML doesn't have nice drag-n-drop capability.

I think "bookmarked" instances are important for our generic RAD
components to support so we can mix-and-match RAD panels between
different developers.  RAD edit panels can put bookmarked instances into
dropdowns for easily creating relationshipse between objects.

Thoughts?  Brick bats?  Go for it?

- Jonathan



__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_Rapid App Development Panels

By Jonathan Carlson (jon_carlson @at@ writeme .dot. com) - July 2005

(Please excuse the ugliness of these mockups. They beg for CSS styling and 
nice icons but beauty is not the goal here.) 

These mockups are intended to demonstrate how listing panels and editing panels 
can (should?) work together using the bookmarking concept.  Also demonstrated is 
the use of dynamic query filtering in the listing panel.  I picked a rather 
complex data model that mostly reflects real life because the components we 
build must be able to handle complex, real life, data models.

I'd like to propose that we create a common Bookmarking API and a common 
QueryFilter API so that it is easy to mix and match components.  I have written 
a successful QueryFilter API that I will refactor to be used with any 
(modern?) Object-Relational tool and submit it for public comment.


Person
 - birthdate (just year OK)
 - deathdate (just year OK)
 - birthLocation (Address)
 - deathLocation (Address)
 - father (null OK, Person)
 - mother (null OK, Person)

Union
 - husband (Person)
 - wife (Person)
 - meetDate (just year OK)
 - marriageDate (null OK, just year OK)
 - divorcedOrSeparatedDate (just year OK)

Address
 - line1 (null OK)
 - line2 (null OK)
 - city (null OK)
 - stateProvince (null OK)
 - postalCode (null OK)
 - countryCode (String)

PersonAddress
 - person (Person)
 - address (Address)
 - beginDate (just year OK)
 - endDate (just year OK)

PersonNote:
 - person  (Person)
 - subject (String)
 - content (String)

UnionNote
 - union   (Union)
 - subject (String)
 - content (String


Person List Page
(The list is currently filtered on names starting with J who were born in the USA)
Page 1 of 1  Clear All Bookmarks

  

   
  AnyChecked
  
  AnyAliveDeceased
  
  AnyUSAAustraliaSweden


   
  BookMarked
  Name
  Status
  BirthDate
  BirthCountry

  
  

  edit delete
  
  Jim Slim
  Deceased
  1905-08-03
  USA


  edit delete
  
  Jill Pill
  Alive
  1941-02-03
  USA

  



Person Edit Page
(The spouse dropdown below includes a list of those individuals who are bookmarked.):

  
Name:

  
  
Birth Date:

  
  
Death Date:

  
  
Spouse:

  Sally O'MalleyMatt SprattSarah MarahJim Slim
   edit

  




 
   
 
 Relationship Tabs: 
 
   
   
 
   


  
			  
			   
			

   
  Birth Location
   | 
  Death Location
   | 
  Marriage(s)
   | 
  Children
   | 
  Notes


  

  
Address:

  
  
City:

  
  
State:

  
  
Country:
USASwedenNetherlands
  

  

			
			  
  

  



[Wicket-user] HTML can't go in the wiki

2005-07-20 Thread Jonathan Carlson
I have written up some rough HTML examples of how I think RAD List and
RAD Edit components could (should?) work together.  The examples are in
HTML and use tags that aren't allowed by the Wiki so I can't put it
there.  Can I put my HTML somewhere else?  It will be linked to by a
page on the Wiki.

- Jonathan

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


RE: [Wicket-user] A crack at RAD.

2005-07-20 Thread Jonathan Carlson
Oops, I should have clarified...  I was referring to the dynamic query
filtering and ordering.  As far as I can tell, that might require the
Query Criteria stuff.

>>> [EMAIL PROTECTED] 2005-07-20 10:58:22 AM >>>
I really don't know Hibernate, (I'm not sure what 2nd level cache is)
but I don't think that this would be possible without using the Query
Criteria.  At least it would be very ugly as I think we'd have to
generate dynamic query strings ourselves.



>>> [EMAIL PROTECTED] 2005-07-20 10:50:38 AM >>>
I might be wrong but I do not think the criteria api support 2nd level
cache
when retrieving multiple objects which is a must for something like
this.

Igor
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Phil Kulak
> Sent: Wednesday, July 20, 2005 8:34 AM
> To: wicket-user@lists.sourceforge.net 
> Subject: Re: [Wicket-user] A crack at RAD.
> 
> XDocs would be cool. I'm pretty bad with Maven though, so 
> yea, someone else would have to do that. Also, we'd need to 
> figure out how to get stuff out of "sandbox" packages. I 
> haven't done it because there's some of Eelco's functionality 
> that I didn't reproduce, but I also couldn't figure out the 
> use cases, so I don't know how important said functionality is.
> 
> I also wouldn't mind saying goodbye to Hibernate2 support. I 
> tried making an IDataSource for Hibernate2, but the API is a 
> lot more limited and it looks like it would be tricky, if not 
> impossible. Also, that way I can focus on an EJB3 IDataSource.
> 
> Jonathan, I think something like your QueryFilter interface 
> could work well. The only thing that seems like it could be 
> tricky with filters is all the string query manipulation we'd 
> have to add for Hibernate. I originally tried using criteria 
> queries to avoid that problem, but then adding an ordering 
> becomes difficult if it uses a join. I think though, that if 
> we add filters, we're going to have to figure out how to use 
> criteria queries, or risk rewriting the whole API with a 
> slightly different syntax.
> 
> On 7/20/05, Jonathan Carlson <[EMAIL PROTECTED]> wrote:
> > I have some dynamic query filtering classes/interfaces that 
> I need to 
> > abstract out to work with either Cayenne or Hibernate.  It would
be

> > cool to add that to Phil's component.
> > 
> > - Jonathan
> > 
> > >>> [EMAIL PROTECTED] 2005-07-20 2:21:11 AM >>>
> > very nice.
> > 
> > just an idea: What you think about a search / filter bar. 
> Input fields 
> > etc. to limit (filter) the result set. A bar above all columns and

> > once you hit return or press a button the filters are applied.
> > 
> > Juergen
> > 
> > On 7/20/05, Phil Kulak <[EMAIL PROTECTED]> wrote:
> > > If anyone would like to read my little writup, possibly 
> try out the 
> > > demo app, and give me feedback, I'd apreciate it. I would 
> have put 
> > > this on the Wiki, but I wanted to include screenshots so 
> that people 
> > > wouldn't have to run the app to see what I was talking about.
This
> > is
> > > in CVS as well, in wicket-contrib-data and then the 
> Hibernate data 
> > > source classes are at wicket-contrib-hibernate-3.0. Thanks!
> > >
> > > http://www.cs.uoregon.edu/~torok/GridPanelDocs/ 
> > >
> > >
> > > ---
> > > SF.Net email is sponsored by: Discover Easy Linux Migration
> > Strategies
> > > from IBM. Find simple to follow Roadmaps, straightforward 
> articles, 
> > > informative Webcasts and more! Get everything you need to 
> get up to 
> > > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick 
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net 
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user 
> > >
> > 
> > 
> > ---
> > SF.Net email is sponsored by: Discover Easy Linux Migration 
> Strategies 
> > from IBM. Find simple to follow Roadmaps, straightforward
articles,

> > informative Webcasts and more! Get everything you need to get up
to

> > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click 
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net 
> > https://lists.source

RE: [Wicket-user] A crack at RAD.

2005-07-20 Thread Jonathan Carlson
I really don't know Hibernate, (I'm not sure what 2nd level cache is)
but I don't think that this would be possible without using the Query
Criteria.  At least it would be very ugly as I think we'd have to
generate dynamic query strings ourselves.



>>> [EMAIL PROTECTED] 2005-07-20 10:50:38 AM >>>
I might be wrong but I do not think the criteria api support 2nd level
cache
when retrieving multiple objects which is a must for something like
this.

Igor
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Phil Kulak
> Sent: Wednesday, July 20, 2005 8:34 AM
> To: wicket-user@lists.sourceforge.net 
> Subject: Re: [Wicket-user] A crack at RAD.
> 
> XDocs would be cool. I'm pretty bad with Maven though, so 
> yea, someone else would have to do that. Also, we'd need to 
> figure out how to get stuff out of "sandbox" packages. I 
> haven't done it because there's some of Eelco's functionality 
> that I didn't reproduce, but I also couldn't figure out the 
> use cases, so I don't know how important said functionality is.
> 
> I also wouldn't mind saying goodbye to Hibernate2 support. I 
> tried making an IDataSource for Hibernate2, but the API is a 
> lot more limited and it looks like it would be tricky, if not 
> impossible. Also, that way I can focus on an EJB3 IDataSource.
> 
> Jonathan, I think something like your QueryFilter interface 
> could work well. The only thing that seems like it could be 
> tricky with filters is all the string query manipulation we'd 
> have to add for Hibernate. I originally tried using criteria 
> queries to avoid that problem, but then adding an ordering 
> becomes difficult if it uses a join. I think though, that if 
> we add filters, we're going to have to figure out how to use 
> criteria queries, or risk rewriting the whole API with a 
> slightly different syntax.
> 
> On 7/20/05, Jonathan Carlson <[EMAIL PROTECTED]> wrote:
> > I have some dynamic query filtering classes/interfaces that 
> I need to 
> > abstract out to work with either Cayenne or Hibernate.  It would be

> > cool to add that to Phil's component.
> > 
> > - Jonathan
> > 
> > >>> [EMAIL PROTECTED] 2005-07-20 2:21:11 AM >>>
> > very nice.
> > 
> > just an idea: What you think about a search / filter bar. 
> Input fields 
> > etc. to limit (filter) the result set. A bar above all columns and

> > once you hit return or press a button the filters are applied.
> > 
> > Juergen
> > 
> > On 7/20/05, Phil Kulak <[EMAIL PROTECTED]> wrote:
> > > If anyone would like to read my little writup, possibly 
> try out the 
> > > demo app, and give me feedback, I'd apreciate it. I would 
> have put 
> > > this on the Wiki, but I wanted to include screenshots so 
> that people 
> > > wouldn't have to run the app to see what I was talking about.
This
> > is
> > > in CVS as well, in wicket-contrib-data and then the 
> Hibernate data 
> > > source classes are at wicket-contrib-hibernate-3.0. Thanks!
> > >
> > > http://www.cs.uoregon.edu/~torok/GridPanelDocs/ 
> > >
> > >
> > > ---
> > > SF.Net email is sponsored by: Discover Easy Linux Migration
> > Strategies
> > > from IBM. Find simple to follow Roadmaps, straightforward 
> articles, 
> > > informative Webcasts and more! Get everything you need to 
> get up to 
> > > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick 
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net 
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user 
> > >
> > 
> > 
> > ---
> > SF.Net email is sponsored by: Discover Easy Linux Migration 
> Strategies 
> > from IBM. Find simple to follow Roadmaps, straightforward articles,

> > informative Webcasts and more! Get everything you need to get up to

> > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click 
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net 
> > https://lists.sourceforge.net/lists/listinfo/wicket-user 
> > 
> > 
>
_

Re: [Wicket-user] A crack at RAD.

2005-07-20 Thread Jonathan Carlson
I have some dynamic query filtering classes/interfaces that I need to
abstract out to work with either Cayenne or Hibernate.  It would be cool
to add that to Phil's component.

- Jonathan

>>> [EMAIL PROTECTED] 2005-07-20 2:21:11 AM >>>
very nice. 

just an idea: What you think about a search / filter bar. Input fields
etc. to limit (filter) the result set. A bar above all columns and
once you hit return or press a button the filters are applied.

Juergen

On 7/20/05, Phil Kulak <[EMAIL PROTECTED]> wrote:
> If anyone would like to read my little writup, possibly try out the
> demo app, and give me feedback, I'd apreciate it. I would have put
> this on the Wiki, but I wanted to include screenshots so that people
> wouldn't have to run the app to see what I was talking about. This
is
> in CVS as well, in wicket-contrib-data and then the Hibernate data
> source classes are at wicket-contrib-hibernate-3.0. Thanks!
> 
> http://www.cs.uoregon.edu/~torok/GridPanelDocs/ 
> 
> 
> ---
> SF.Net email is sponsored by: Discover Easy Linux Migration
Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick 
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/wicket-user 
>


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Little Hint - Standalone Jetty

2005-07-18 Thread Jonathan Carlson
This is very cool.  I wonder if Tomcat can do this too.  

Is Jetty really easier to use than Tomcat?  If so, maybe I'll switch.


>>> [EMAIL PROTECTED] 2005-07-17 5:31:20 AM >>>
This might be useful for other people too. I'm playing with Wicket,  
mostly making little applications to figure out how it all works.  
Like a little blog app, etc.

Personally I find it a pain to create a standard web app for each of  
these experiments, so I'm using the embedded Jetty server.

The Wicket Kickstart project also does this, but I'm taking an even  
more simple approach: instead of having an actual document root and  
web.xml, I simply create the whole server from my main():

(Warning, quick hack code :-)

HttpServer server = new HttpServer();
server.addListener(":8080");
HttpContext context = server.getContext("/");
ServletHandler handler = new ServletHandler();
ServletHolder servletHolder = handler.addServlet("Wicket","/*",  
"wicket.protocol.http.WicketServlet");
servletHolder.setInitParameter("applicationClassName",  
"helloworld.HelloWorldApplication");
context.addHandler(handler);
server.start();

This is enough to bootstrap Wicket. No standard web app structure  
required.

In my IDE (IDEA) I simply have defined two 'Global Libraries'. One  
for Wicket and one for Jetty 4.2. So the only thing actually in my  
projects is the above main(), Wicket Page and Application subclasses  
and static content. The latter in the classpath instead of the  
document root.

Works great.

I'm also trying to find out how I can let dynamically reloading code  
work better. It would be awesome to start Wicket like this and then  
be able to just change code and introduce new pages (and other code)  
without having to restart the servlet engine ever again.

  S.



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Query about Tutorial

2005-07-15 Thread Jonathan Carlson
There is a kickstart application from which you could start your
development process.  Is that your question?  

http://wicket-stuff.sourceforge.net/wicket-kickstart/index.html


>>> [EMAIL PROTECTED] 2005-07-15 8:43:06 AM >>>
Hi,

Well i really impressed with the prompt responses. Thanks for that. Let
me 
tell you more about myself, I am working as a senior software engineer.
One 
of our client wants us to develop a solution using wicket so i have
been 
assigned to evaluate it and then after learning it, i have to train
other 
people.

I was having difficulty in working with wicket, though i have gone
through 
the tutorial and examples but still don't know where to start with.
Being a 
java developer, we r used to java tutorial, which lead you through
stepwise 
and move forward.

What i am looking for is where to start and then what are the
pre-requisits 
to it. What concepts one should have? How one should move along with it
from 
beginner level to professional.

Though i will look in the blogs, but in the mean while if someone will
know 
the best source then please let me know.

thanks in Advance.

Wicket User.

>From: Martijn Dashorst <[EMAIL PROTECTED]>
>Reply-To: wicket-user@lists.sourceforge.net 
>To: wicket-user@lists.sourceforge.net 
>Subject: Re: [Wicket-user] Query about Tutorial
>Date: Fri, 15 Jul 2005 14:32:11 +0200
>
>Sohaib,
>
>What kind of information are you looking for? A complete worked out
guide? 
>I doubt that will be ready any time soon, considering the current rate
of 
>writing done. You might take a look at some of the Wicket blogs for
more 
>information. I know Jesse Sightler and Geertjan Wielenga have a
multiple 
>blog entries for the basics. My blog is also a reasonable place to
start. 
>Google for the blogs. Somewhere in august the presentation I gave at
the 
>JavaOne conference will be available, which would give you some more 
>information regarding Wicket.
>
>Why do you need such a guide? To convince management, are you going to

>train other people, or is it to help yourself?
>
>Currently there is no best way of developing a Wicket application.
That is 
>because Wicket is (fairly) young. There are no patterns yet. If you go
for 
>Wicket development you are basically on the bleeding edge of component

>based web development. We can't guarantee you won't run into problems,
but 
>we can guarantee that we will try to help you in the best way we can.
>
>As for the documentation problem, there are some contacts with a
publishing 
>company for writing a book on Wicket, but those talks are going pretty

>slow. Also when we are agreed on writing the book, it won't be
available 
>for at least half a year after signing the contract. So /if/ a
contract is 
>signed, you may be able to read a wicket book somewhere in Q2 2006.
>
>Martijn
>
>
>sohaib akhtar wrote:
>
>>Hi,
>>
>>Thanks for prompt response. I will be very thankful if you could just
tell 
>>me how long it will take to release the complete guide. As current
guide 
>>don't have updated sections e.g. Session Management etc
>>
>>As in this way i will have the idea about release date of guide(s)
and i 
>>could plan the things accordingly.
>>
>>Thanks in advance.
>>
>>New wicket user
>>
>>>From: Juergen Donnerstag <[EMAIL PROTECTED]>
>>>Reply-To: wicket-user@lists.sourceforge.net 
>>>To: wicket-user@lists.sourceforge.net 
>>>Subject: Re: [Wicket-user] Query about Tutorial
>>>Date: Fri, 15 Jul 2005 12:41:06 +0200
>>>
>>>Unfortunately our docs are not up-to-date, we are working on them,
but
>>>they should be sufficient for a beginner. Please the our homepage
>>>which contains the links to the docs (user guides etc.) and the
wiki.
>>>
>>>Juergen
>>>
>>>On 7/15/05, sohaib akhtar <[EMAIL PROTECTED]> wrote:
>>> > Hi,
>>> >
>>> >  I am a new user of wicket and want to migrate from JSP, Servlet

>>>Platform
>>> > to wicket technology, but i am finding it difficult as there is
no 
>>>road map
>>> > available. Moreover there is no tutorial available which could
guide 
>>>me how
>>> > to proceed from step 1 onwards in wicket.
>>> >
>>> > I have downloaded the wicket and also been able to run its
examples. 
>>>But I
>>> > still couldn't figure out which component to use and in which
>>> > condition/scenario. As there are around three examples of
developing 
>>>SignIn
>>> > page so i am confused which option to go and in which situation.
>>> >
>>> > So is there any guide available which could guide me developing
my
>>> > applications using wicket technology.
>>> >
>>> > Regards,
>>> >
>>> > New wicket user
>>> >
>>> >
>>> >
>>> >
>>> > ---
>>> > SF.Net email is sponsored by: Discover Easy Linux Migration
Strategies
>>> > from IBM. Find simple to follow Roadmaps, straightforward
articles,
>>> > informative Webcasts and more! Get everything you need to get up
to
>>> > speed, fast.
http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click 
>>> > ___
>>> > W

Re: [Wicket-user] Query about Tutorial

2005-07-15 Thread Jonathan Carlson
Actually, the links to the wiki on the Documentation page are still
broken.  I meant to mention this earlier, but they really need to be
fixed.  For example:

http://wicket.sourceforge.net/wiki/doku.php?id=newuserguide

does not work.


>>> [EMAIL PROTECTED] 2005-07-15 5:41:06 AM >>>
Unfortunately our docs are not up-to-date, we are working on them, but
they should be sufficient for a beginner. Please the our homepage
which contains the links to the docs (user guides etc.) and the wiki.

Juergen

On 7/15/05, sohaib akhtar <[EMAIL PROTECTED]> wrote:
> Hi,
> 
>  I am a new user of wicket and want to migrate from JSP, Servlet
Platform
> to wicket technology, but i am finding it difficult as there is no
road map
> available. Moreover there is no tutorial available which could guide
me how
> to proceed from step 1 onwards in wicket.
> 
> I have downloaded the wicket and also been able to run its examples.
But I
> still couldn't figure out which component to use and in which
> condition/scenario. As there are around three examples of developing
SignIn
> page so i am confused which option to go and in which situation.
> 
> So is there any guide available which could guide me developing my
> applications using wicket technology.
> 
> Regards,
> 
> New wicket user
> 
> 
> 
> 
> ---
> SF.Net email is sponsored by: Discover Easy Linux Migration
Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] attention hibernate users

2005-07-14 Thread Jonathan Carlson
Very nice.

Thanks all!

>>> [EMAIL PROTECTED] 2005-07-14 11:54:24 AM >>>
Hibernate has Criteria objects: 
http://www.hibernate.org/hib_docs/reference/en/html/querycriteria.html

and query by example: 
http://www.hibernate.org/hib_docs/reference/en/html/querycriteria.html#querycriteria-examples


Eelco

Jonathan Carlson wrote:

>I am a Cayenne user but I'd like some feedback on Hibernate.
>
>Cayenne has a really nice Java interfact to allow dynamic adding of
>qualifiers (WHERE or AND clauses)  and orderings to a basic cayenne
>SelectQuery.
>
>For example: (Finds all users with address with city of "New York"
born
>after today ;-)
>SelectQuery q = new SelectQuery(User.class);
>q.addQualifier(ExpressionFactory.greaterOrEqualExp("dateOfBirth", new
>Date());
>q.addQualifier(ExpressionFactory.matchExp("address.city", "New
York");
>
>Does Hibernate have anything similar?  I didn't see anything quite
like
>this on a quick perusal of their user manual, but I could easily have
>missed it.  Hibernate's query language seems more query language
>(string) driven.
>
>Thanks!
>
>- Jonathan
>
>
>
>__
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the system manager.
>
>Katun Corporation -- www.katun.com 
>_
>
>
>---
>SF.Net email is sponsored by: Discover Easy Linux Migration
Strategies
>from IBM. Find simple to follow Roadmaps, straightforward articles,
>informative Webcasts and more! Get everything you need to get up to
>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click 
>___
>Wicket-user mailing list
>Wicket-user@lists.sourceforge.net 
>https://lists.sourceforge.net/lists/listinfo/wicket-user 
>  
>



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] attention hibernate users

2005-07-14 Thread Jonathan Carlson
I am a Cayenne user but I'd like some feedback on Hibernate.

Cayenne has a really nice Java interfact to allow dynamic adding of
qualifiers (WHERE or AND clauses)  and orderings to a basic cayenne
SelectQuery.

For example: (Finds all users with address with city of "New York" born
after today ;-)
SelectQuery q = new SelectQuery(User.class);
q.addQualifier(ExpressionFactory.greaterOrEqualExp("dateOfBirth", new
Date());
q.addQualifier(ExpressionFactory.matchExp("address.city", "New York");

Does Hibernate have anything similar?  I didn't see anything quite like
this on a quick perusal of their user manual, but I could easily have
missed it.  Hibernate's query language seems more query language
(string) driven.

Thanks!

- Jonathan



__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] bean panel

2005-07-11 Thread Jonathan Carlson
I think you are right, it does get complex rather quickly.

I've played with having a tab panel for related objects.  Mine sat
right below the edit form.  It worked pretty well.  One-to-many
relationship tabs have a pageable table of related instances. 
One-to-one relationship tabs just have an editable form for the related
object.  It makes for a larger page object, but it feels natural to me
to keep related stuff together on the same page.

One thing that would help is to be able to "bookmark" instances as you
browse them.  These can be candidates for adding to a relationship (like
adding an employee to a manager, etc).  Or just for speedier access to
the instances you use most frequently.

I'm interested in helping out since I need to do this anyways, but I'd
probably push towards a more  full-fledged project.

- Jonathan Carlson


>>> [EMAIL PROTECTED] 2005-07-11 4:45:03 PM >>>
I've been thinking a bit more about the bean panel, and I'm kind of 
stuck. That is, there's too many possibilities!

A simple bean is no problem. I have code in CVS for that now and it 
works (with a special case, FieldPanel, which lets you select a subset

of the properties of the bean). The problem starts when you think about

the more complex properties. E.g. a Person object that has an Address
as 
a property. Usually, you'd want to give the Address its own edit form.

But probably not in the same page as the Person form is (things would 
get messy pretty quickly). So, say you'd want to navigate to address 
edit from person edit. The current implementation I had was just a
bunch 
of fields, no form, which has the advantage that you can decide to nest

it in any form you like. Also it had no buttons (cancel, save), just
the 
fields. Thing is, that we need the form and the buttons if we'd want to

support the object browsing. And if we build that, we are allready 
halfway a Trails application.

So, what do you guys think? What direction should the bean panel 
experiment head? Who is interested in cooperating, and where should we

put it (in wicket-stuff, so that it can be a seperate full-fledged 
project with more people working on it, or in extensions in case we
keep 
it really simple)?

Eelco


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar
happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in
dual
core and dual graphics technology at this free one hour event hosted by
HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] UK bombings

2005-07-07 Thread Jonathan Carlson
My sympathies and support to anyone on this list who is in or from the
U.K.  It has been a dark day.

- Jonathan

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] BeanPanel use

2005-07-05 Thread Jonathan Carlson
For data editing, the BeanPanel would need to accept Jakarta commons
DynaBeans.

Another thing for my already long to-do list. :-)

- Jonathan


>>> [EMAIL PROTECTED] 2005-07-05 2:58:57 PM >>>
Go for it! :)

Eelco

Jonathan Carlson wrote:

>It would be very cool to use Eelco's BeanPanel to dynamically modify
the
>schema of a database, then use it to edit and modify the data in the
>database.  It looks like it could be done rather easily with
>http://db.apache.org/ddlutils   All the cross-database work and SQL
>generating has been done for us.
>
>I think we could skip the XML data definition file and use the
database
>as the main DDL storage.
>
>Here's the data model of the database DDL:
>http://db.apache.org/ddlutils/api-usage.html 
>
>Too cool.
>
>Jonathan C.
>
>P.S. I noticed you added a ChoiceField option editing properties in
the
>BeanFieldPanel.
>
>__
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the system manager.
>
>Katun Corporation -- www.katun.com 
>_
>
>
>---
>SF.Net email is sponsored by: Discover Easy Linux Migration
Strategies
>from IBM. Find simple to follow Roadmaps, straightforward articles,
>informative Webcasts and more! Get everything you need to get up to
>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click 
>___
>Wicket-user mailing list
>Wicket-user@lists.sourceforge.net 
>https://lists.sourceforge.net/lists/listinfo/wicket-user 
>  
>



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] BeanPanel use

2005-07-05 Thread Jonathan Carlson
It would be very cool to use Eelco's BeanPanel to dynamically modify the
schema of a database, then use it to edit and modify the data in the
database.  It looks like it could be done rather easily with
http://db.apache.org/ddlutils   All the cross-database work and SQL
generating has been done for us.

I think we could skip the XML data definition file and use the database
as the main DDL storage.

Here's the data model of the database DDL:
http://db.apache.org/ddlutils/api-usage.html 

Too cool.

Jonathan C.

P.S. I noticed you added a ChoiceField option editing properties in the
BeanFieldPanel.

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Resources (properties files)

2005-07-01 Thread Jonathan Carlson
Thanks, I was kind of hoping to stick with the 1.0.x release for a while, 
unless, of course, Eelco's wizard BeanPanel stuff requires CVS head.



>>> [EMAIL PROTECTED] 2005-07-01 1:14:57 PM >>>
Can we back port this feature into 1.0? I think we have room for a 1.0.1 
somewhere in the near future. I think this could be considered to be a 
bug ;-)

Martijn

Jonathan Carlson wrote:

>Thank you!  I'm sorry I didn't notice it before 1.0 was frozen.
>
>- Jonathan
>
>
>  
>
>>>>[EMAIL PROTECTED] 2005-07-01 3:08:00 AM >>>
>>>>
>>>>
>Yes, it is really cheap. Most of the component hierarchies are very 
>shallow and the code to traverse them is very trivial. I have made the 
>changes to ComponentStringResourceLoader (and the test cases) and these 
>are now in CVS HEAD. Example case:
>
>MyPage extends BasePage
>MyPanel extends BasePanel
>MyPage contains a MyPanel
>MyPanel contains a MyLabel whose text is read from a resource bundle
>
>The search order will now be:
>search MyPage.properties
>search BasePage.properties
>search MyPanel.properties
>search BasePanel.properties
>search  MyLabel.properties
>
>The inheritance of resources by searching BasePage.properties and 
>BasePanel.properties are the new additions.
>
>regards,
>Chris
>
>
>
>Eelco Hillenius wrote:
>
>  
>
>>Is that still cheap enough? If it is, it sounds like a great idea.
>>
>>Eelco
>>
>>Jonathan Locke wrote:
>>
>>
>>
>>>sounds right to me,
>>>
>>>Chris Turner wrote:
>>>
>>>  
>>>
>>>>Oops, I never thought of that when I wrote the resource location 
>>>>code. I'll make the change - shouldn't take me long. The search 
>>>>order will then be:
>>>>
>>>>1) Search properties for current component class
>>>>2) Recursively search properties for each super class of the current 
>>>>component class
>>>>3) Recursively search properties for each parent mark-up container 
>>>>(following stages 1 and 2 for each)
>>>>4) Look in the application properties
>>>>
>>>>regards,
>>>>Chris
>>>>
>>>>
>>>>Jonathan Locke wrote:
>>>>
>>>>
>>>>
>>>>>you are correct.
>>>>>reverse component hierarchy search.
>>>>>no class inheritance search (i was thinking of another project).
>>>>>seems like class inheritance search could occur for each component 
>>>>>searched.
>>>>>but that's not in there now.
>>>>>
>>>>>Juergen Donnerstag wrote:
>>>>>
>>>>>  
>>>>>
>>>>>>up the component hierarchy and then the application, that is true. 
>>>>>>But
>>>>>>up the class hierarchy (super class) as well?
>>>>>>
>>>>>>Juergen
>>>>>>
>>>>>>On 7/1/05, Jonathan Locke <[EMAIL PROTECTED]> wrote:
>>>>>> 
>>>>>>
>>>>>>
>>>>>>
>>>>>>>yes, and then in the application, i think...
>>>>>>>
>>>>>>>Eelco Hillenius wrote:
>>>>>>>
>>>>>>> 
>>>>>>>
>>>>>>>  
>>>>>>>
>>>>>>>>Yes, properties should be searched up higher in the hierarchy as 
>>>>>>>>far
>>>>>>>>as I know.
>>>>>>>>
>>>>>>>>Eelco
>>>>>>>>
>>>>>>>>
>>>>>>>>Jonathan Carlson wrote:
>>>>>>>>
>>>>>>>> 
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>Question: Are properties files inherited like markup files are?
>>>>>>>>>
>>>>>>>>>I have a subclass of a panel that doesn't seem to be able to 
>>>>>>>>>find a
>>>>>>>>>resource in the superclasses properties file.  I'm still using 
>>>>>>>>>some pre
>>>>>>>>>1.0 code, were any bugs fixed in this regard shortly before 1.0?
>>>>>>>>>
>>>>>>>>>Thank

[Wicket-user] models

2005-07-01 Thread Jonathan Carlson
I need to know if I can do something better here.

I have a form panel with a model containing a single Java object.  This
panel has subcomponents, each with a PropertyModel whose nested model is
the same as the main panel.

I'm reusing the panel instance for different bean objects (it's model
has an id property [that can be changed dynamically] that it uses to
find the right bean in the database).

As long as I don't submit the form, the subcomponents pick up the new
model object just fine.  However, once I submit the form the
subcomponents "lock in" on their model objects.  That is, they don't
pick up changes to their nested model object.

How do I tell the subcomponent's models to refresh themselves from
their nested model?

Do I make any sense?

Thanks!

Jonathan

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RAD Edit and List Panels

2005-07-01 Thread Jonathan Carlson
Darn, I always have an "aha" moment right after I hit "send".   I see
your FieldPanel for selecting which attributes to edit.  It looks like
its going in the right direction.  Would it be flexible enough to
support specifying a DropDownChoice for a certain attribute, or the
maximum length of a TextField (for example)?

Maybe it could have DropDownField and TextAreaField subclasses of Field
that allow more customization (like maxLength for text fields, etc).  It
would also be important to be able to specify text validations and
required fields.

Later, Jon


Eelco, 

Your approach to the BeanPanel is pretty similar to mine, but instead
of using BeanInfo objects, I allow the developer to specify the
attributes and give them a little more control over how the HTML looks
(size of the text field, text area, etc).  Will it be possible to
specify attributes that should be populated from a DropDownChoice box or
will the BeanInfo approach make that too difficult?  If it's too
difficult then I should probably stick with my approach, although I'd
rather pool our efforts and help you out.

My gut feel (although I'd be happy if I am wrong) is that the BeanInfo
approach might be good for data administration apps, but not for apps
where you want more control over the look of the editing panel.  Please
do tell me I'm wrong (if I am, that is :-). Using a preconfigured
component is always going to demand some trade-offs in flexibility so
I'm just talking about degrees of flexibility here.

> I tried to stay close  to a javabean-like pattern (xxxEditor naming
schema)

I'm not familiar with the xxxEditor naming schema you talk about.  If
you have a link, I'd appreciate it.

> I also would like to make it less flexible; currently 
> you can feed it pull models, which is not such a good idea with so
much 
> going on.

When you talk about "pull models", are you referring to models that get
data from the database (for example?)

I haven't seen any articles on what the new JavaBean spec is going to
look like.  If you see any, please let me know.

- Jonathan


>>> [EMAIL PROTECTED] 2005-07-01 1:22:01 AM >>>
Yep, though the fieldpanel gives you more control. I tried to stay
close 
to a javabean-like pattern (xxxEditor naming schema), though that has
to 
tighten a bit yet. I also would like to make it less flexible;
currently 
you can feed it pull models, which is not such a good idea with so much

going on.

I hope to be working on that (wizard and beanpanels) withing the next 
two weeks. If you want, we can work on this toghether, and see if we
can 
destil something out we both like.

JavaOne has been great. Met a lot of great people, learned a lot (the 
new JavaBean spec is going to be great!) and both the presentation and

the framework smackdown went very well.

Cheers,

Eelco

Jonathan Carlson wrote:

>Thanks Eelco, I'll check it out.  It looks like it uses reflection
and
>lots of default values to allow editing for every single attribute in
a
>bean.  Is that right?
>
>How's JavaOne?
>
>- Jonathan
>
>  
>
>>>>[EMAIL PROTECTED] 2005-06-30 4:05:54 AM >>>
>>>>
>>>>
>Did you take a look at the code I put in wicket-example's HEAD, the 
>wizard example? There is some bean editing stuff in there that does 
>things on a whole different way than you propose. Maybe it is a good 
>idea to check this out, and see what you do and don't like, and have
a
>
>discussion on that.
>
>Eelco
>
>
>Jonathan Carlson wrote:
>
>  
>
>>I cleaned up some of the code wrapping that made it hard to read. 
>>
>>
>One
>  
>
>>benefit of this approach is that if you are using a modern IDE, it
>>
>>
>will
>  
>
>>tell you which options you can use for each type of form component. 
>>Just start typing set and press Ctrl-space (or whatever)
>>
>>
>>I have started of a couple of RAD (rapid app development) panels
that
>>I'm hoping to commit to wicket-stuff, but I thought I'd check to see
>>
>>
>if
>  
>
>>there was interest in co-developing this (in which case I would try
>>
>>
>to
>  
>
>>commit it sooner than later).  In any case, I thought it would be
>>
>>
>good
>  
>
>>to get feedback on the approach I'm using.
>>
>>My goal is for a Wicket developer to be able to quickly pound out
>>
>>
>bean
>  
>
>>editing and bean listing panels very quickly without having to mess
>>
>>
>with
>  
>
>>HTML (unless they really need to do some custom stuff, in which case
>>
>>
>it
>  

Re: [Wicket-user] RAD Edit and List Panels

2005-07-01 Thread Jonathan Carlson
Eelco, 

Your approach to the BeanPanel is pretty similar to mine, but instead
of using BeanInfo objects, I allow the developer to specify the
attributes and give them a little more control over how the HTML looks
(size of the text field, text area, etc).  Will it be possible to
specify attributes that should be populated from a DropDownChoice box or
will the BeanInfo approach make that too difficult?  If it's too
difficult then I should probably stick with my approach, although I'd
rather pool our efforts and help you out.

My gut feel (although I'd be happy if I am wrong) is that the BeanInfo
approach might be good for data administration apps, but not for apps
where you want more control over the look of the editing panel.  Please
do tell me I'm wrong (if I am, that is :-). Using a preconfigured
component is always going to demand some trade-offs in flexibility so
I'm just talking about degrees of flexibility here.

> I tried to stay close  to a javabean-like pattern (xxxEditor naming
schema)

I'm not familiar with the xxxEditor naming schema you talk about.  If
you have a link, I'd appreciate it.

> I also would like to make it less flexible; currently 
> you can feed it pull models, which is not such a good idea with so
much 
> going on.

When you talk about "pull models", are you referring to models that get
data from the database (for example?)

I haven't seen any articles on what the new JavaBean spec is going to
look like.  If you see any, please let me know.

- Jonathan


>>> [EMAIL PROTECTED] 2005-07-01 1:22:01 AM >>>
Yep, though the fieldpanel gives you more control. I tried to stay
close 
to a javabean-like pattern (xxxEditor naming schema), though that has
to 
tighten a bit yet. I also would like to make it less flexible;
currently 
you can feed it pull models, which is not such a good idea with so much

going on.

I hope to be working on that (wizard and beanpanels) withing the next 
two weeks. If you want, we can work on this toghether, and see if we
can 
destil something out we both like.

JavaOne has been great. Met a lot of great people, learned a lot (the 
new JavaBean spec is going to be great!) and both the presentation and

the framework smackdown went very well.

Cheers,

Eelco

Jonathan Carlson wrote:

>Thanks Eelco, I'll check it out.  It looks like it uses reflection
and
>lots of default values to allow editing for every single attribute in
a
>bean.  Is that right?
>
>How's JavaOne?
>
>- Jonathan
>
>  
>
>>>>[EMAIL PROTECTED] 2005-06-30 4:05:54 AM >>>
>>>>
>>>>
>Did you take a look at the code I put in wicket-example's HEAD, the 
>wizard example? There is some bean editing stuff in there that does 
>things on a whole different way than you propose. Maybe it is a good 
>idea to check this out, and see what you do and don't like, and have
a
>
>discussion on that.
>
>Eelco
>
>
>Jonathan Carlson wrote:
>
>  
>
>>I cleaned up some of the code wrapping that made it hard to read. 
>>
>>
>One
>  
>
>>benefit of this approach is that if you are using a modern IDE, it
>>
>>
>will
>  
>
>>tell you which options you can use for each type of form component. 
>>Just start typing set and press Ctrl-space (or whatever)
>>
>>
>>I have started of a couple of RAD (rapid app development) panels
that
>>I'm hoping to commit to wicket-stuff, but I thought I'd check to see
>>
>>
>if
>  
>
>>there was interest in co-developing this (in which case I would try
>>
>>
>to
>  
>
>>commit it sooner than later).  In any case, I thought it would be
>>
>>
>good
>  
>
>>to get feedback on the approach I'm using.
>>
>>My goal is for a Wicket developer to be able to quickly pound out
>>
>>
>bean
>  
>
>>editing and bean listing panels very quickly without having to mess
>>
>>
>with
>  
>
>>HTML (unless they really need to do some custom stuff, in which case
>>
>>
>it
>  
>
>>should still be possible to use this).
>>
>>To create a bean editing panel, one just needs to subclass my
>>DynEditPanel like the below pseudo-code (my actual, mostly-working
>>example is on a different computer).   Please note that I would much
>>prefer all the setup() method logic to be in the constructor but it
>>doesn't work because a superclass constructor cannot call a method
in
>>
>>
>a
>  
>
>>subclass (maybe someone can help me find a better solution).
>>
>>(All HTML is inherited from DynEditPanel so no HTML

Re: [Wicket-user] Resources (properties files)

2005-07-01 Thread Jonathan Carlson
Thank you!  I'm sorry I didn't notice it before 1.0 was frozen.

- Jonathan


>>> [EMAIL PROTECTED] 2005-07-01 3:08:00 AM >>>
Yes, it is really cheap. Most of the component hierarchies are very 
shallow and the code to traverse them is very trivial. I have made the 
changes to ComponentStringResourceLoader (and the test cases) and these 
are now in CVS HEAD. Example case:

MyPage extends BasePage
MyPanel extends BasePanel
MyPage contains a MyPanel
MyPanel contains a MyLabel whose text is read from a resource bundle

The search order will now be:
search MyPage.properties
search BasePage.properties
search MyPanel.properties
search BasePanel.properties
search  MyLabel.properties

The inheritance of resources by searching BasePage.properties and 
BasePanel.properties are the new additions.

regards,
Chris



Eelco Hillenius wrote:

> Is that still cheap enough? If it is, it sounds like a great idea.
>
> Eelco
>
> Jonathan Locke wrote:
>
>>
>> sounds right to me,
>>
>> Chris Turner wrote:
>>
>>> Oops, I never thought of that when I wrote the resource location 
>>> code. I'll make the change - shouldn't take me long. The search 
>>> order will then be:
>>>
>>> 1) Search properties for current component class
>>> 2) Recursively search properties for each super class of the current 
>>> component class
>>> 3) Recursively search properties for each parent mark-up container 
>>> (following stages 1 and 2 for each)
>>> 4) Look in the application properties
>>>
>>> regards,
>>> Chris
>>>
>>>
>>> Jonathan Locke wrote:
>>>
>>>>
>>>> you are correct.
>>>> reverse component hierarchy search.
>>>> no class inheritance search (i was thinking of another project).
>>>> seems like class inheritance search could occur for each component 
>>>> searched.
>>>> but that's not in there now.
>>>>
>>>> Juergen Donnerstag wrote:
>>>>
>>>>> up the component hierarchy and then the application, that is true. 
>>>>> But
>>>>> up the class hierarchy (super class) as well?
>>>>>
>>>>> Juergen
>>>>>
>>>>> On 7/1/05, Jonathan Locke <[EMAIL PROTECTED]> wrote:
>>>>>  
>>>>>
>>>>>> yes, and then in the application, i think...
>>>>>>
>>>>>> Eelco Hillenius wrote:
>>>>>>
>>>>>>  
>>>>>>
>>>>>>> Yes, properties should be searched up higher in the hierarchy as 
>>>>>>> far
>>>>>>> as I know.
>>>>>>>
>>>>>>> Eelco
>>>>>>>
>>>>>>>
>>>>>>> Jonathan Carlson wrote:
>>>>>>>
>>>>>>>  
>>>>>>>
>>>>>>>> Question: Are properties files inherited like markup files are?
>>>>>>>>
>>>>>>>> I have a subclass of a panel that doesn't seem to be able to 
>>>>>>>> find a
>>>>>>>> resource in the superclasses properties file.  I'm still using 
>>>>>>>> some pre
>>>>>>>> 1.0 code, were any bugs fixed in this regard shortly before 1.0?
>>>>>>>>
>>>>>>>> Thanks in advance!
>>>>>>>>
>>>>>>>> Jonathan
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> __ 
>>>>>>>>
>>>>>>>> This email and any files transmitted with it are confidential and
>>>>>>>> intended solely for the use of the individual or entity to whom 
>>>>>>>> they
>>>>>>>> are addressed. If you have received this email in error please 
>>>>>>>> notify
>>>>>>>> the system manager.
>>>>>>>>
>>>>>>>> Katun Corporation -- www.katun.com 
>>>>>>>> _ 
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ---
>>>>>>>> SF.Net 

Re: [Wicket-user] RAD Edit and List Panels

2005-06-30 Thread Jonathan Carlson
Thanks Eelco, I'll check it out.  It looks like it uses reflection and
lots of default values to allow editing for every single attribute in a
bean.  Is that right?

How's JavaOne?

- Jonathan

>>> [EMAIL PROTECTED] 2005-06-30 4:05:54 AM >>>
Did you take a look at the code I put in wicket-example's HEAD, the 
wizard example? There is some bean editing stuff in there that does 
things on a whole different way than you propose. Maybe it is a good 
idea to check this out, and see what you do and don't like, and have a

discussion on that.

Eelco


Jonathan Carlson wrote:

>I cleaned up some of the code wrapping that made it hard to read. 
One
>benefit of this approach is that if you are using a modern IDE, it
will
>tell you which options you can use for each type of form component. 
>Just start typing set and press Ctrl-space (or whatever)
>
>
>I have started of a couple of RAD (rapid app development) panels that
>I'm hoping to commit to wicket-stuff, but I thought I'd check to see
if
>there was interest in co-developing this (in which case I would try
to
>commit it sooner than later).  In any case, I thought it would be
good
>to get feedback on the approach I'm using.
>
>My goal is for a Wicket developer to be able to quickly pound out
bean
>editing and bean listing panels very quickly without having to mess
with
>HTML (unless they really need to do some custom stuff, in which case
it
>should still be possible to use this).
>
>To create a bean editing panel, one just needs to subclass my
>DynEditPanel like the below pseudo-code (my actual, mostly-working
>example is on a different computer).   Please note that I would much
>prefer all the setup() method logic to be in the constructor but it
>doesn't work because a superclass constructor cannot call a method in
a
>subclass (maybe someone can help me find a better solution).
>
>(All HTML is inherited from DynEditPanel so no HTML coding is
required
>here)
>
>public class EditPanel extend DynEditPanel
>{
>  public EditPanel(String id)
>  {
>super(id);
>  }
> 
>  protected void setup()
>  {
> setModel(new Model(employee));
> addTextField("name")
>   .setTitle("Full Name")
>   .setMaxLength(40)
>   .setSize(20)
>   .setRequired(true);
> addTextField("manager")
>   .setTitle("Boss")
>   .setMaxLength(40)
>   .setSize(20)
>   .setRequired(true);
> addTextArea("notes")
>   .setTitle("Notes")
>   .setColumns(40)
>   .setRows(5)
>   .setReadOnly(true);
> List deptartments = /* find departments here */;
> addDropDown("department", departments)
>   .setTitle("Dept")
>   .setRequired(true);
> addDateField("hireDate")
>   .setFormat("-MM-DD")
>   .setRequired(true);
>  }
>
>  protected void onSubmit()
>  { 
> // do save logic here
>  }
>
>}
>
>
>I don't like this, but the class that constructs this instance has to
>call completeSetup() on the DynEditPanel which calls the setup()
method
>here.  I can discuss why if there is more interest, but I'd love to
>avoid this.   I feel like I'm bumping up against some major
limitations
>of setting up a component in the constructor.  Maybe I need to
>investigate using static methods for constructing instead.
>
>I'm also hoping to modify my existing DynListPanel component to use a
>similar structure, avoiding the need for any HTML by the developer. 
I
>haven't thought this one through very well yet, but that would allow
>things like:
>
>/** Constructor */
>public DynListPanelSubclass()
>{
>   supportDelete(true);  // override onDelete(bean)
>   supportEdit(true);  // override onEdit(bean)
>   setPageSize(10);
>   addLabel("name")
> .setTitle("Full Name")
> .setSortable(true)
> .setFilterable(true);
>   addLabel("department")
> .setTitle("Dept")
> .setFilterChoices(departments)
> .setSortable(true);
>}
>
>Any ideas or suggestions?  If the right balance of flexibility and
>RADness is made, I think these could be very powerful components.
>
>Jonathan
>
>__
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the system manager.
>
>Katun Corporatio

[Wicket-user] Resources (properties files)

2005-06-30 Thread Jonathan Carlson
Question: Are properties files inherited like markup files are?

I have a subclass of a panel that doesn't seem to be able to find a
resource in the superclasses properties file.  I'm still using some pre
1.0 code, were any bugs fixed in this regard shortly before 1.0?

Thanks in advance!

Jonathan



__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] RAD Edit and List Panels

2005-06-29 Thread Jonathan Carlson
I cleaned up some of the code wrapping that made it hard to read.  One
benefit of this approach is that if you are using a modern IDE, it will
tell you which options you can use for each type of form component. 
Just start typing set and press Ctrl-space (or whatever)


I have started of a couple of RAD (rapid app development) panels that
I'm hoping to commit to wicket-stuff, but I thought I'd check to see if
there was interest in co-developing this (in which case I would try to
commit it sooner than later).  In any case, I thought it would be good
to get feedback on the approach I'm using.

My goal is for a Wicket developer to be able to quickly pound out bean
editing and bean listing panels very quickly without having to mess with
HTML (unless they really need to do some custom stuff, in which case it
should still be possible to use this).

To create a bean editing panel, one just needs to subclass my
DynEditPanel like the below pseudo-code (my actual, mostly-working
example is on a different computer).   Please note that I would much
prefer all the setup() method logic to be in the constructor but it
doesn't work because a superclass constructor cannot call a method in a
subclass (maybe someone can help me find a better solution).

(All HTML is inherited from DynEditPanel so no HTML coding is required
here)

public class EditPanel extend DynEditPanel
{
  public EditPanel(String id)
  {
super(id);
  }
 
  protected void setup()
  {
 setModel(new Model(employee));
 addTextField("name")
   .setTitle("Full Name")
   .setMaxLength(40)
   .setSize(20)
   .setRequired(true);
 addTextField("manager")
   .setTitle("Boss")
   .setMaxLength(40)
   .setSize(20)
   .setRequired(true);
 addTextArea("notes")
   .setTitle("Notes")
   .setColumns(40)
   .setRows(5)
   .setReadOnly(true);
 List deptartments = /* find departments here */;
 addDropDown("department", departments)
   .setTitle("Dept")
   .setRequired(true);
 addDateField("hireDate")
   .setFormat("-MM-DD")
   .setRequired(true);
  }

  protected void onSubmit()
  { 
 // do save logic here
  }

}


I don't like this, but the class that constructs this instance has to
call completeSetup() on the DynEditPanel which calls the setup() method
here.  I can discuss why if there is more interest, but I'd love to
avoid this.   I feel like I'm bumping up against some major limitations
of setting up a component in the constructor.  Maybe I need to
investigate using static methods for constructing instead.

I'm also hoping to modify my existing DynListPanel component to use a
similar structure, avoiding the need for any HTML by the developer.  I
haven't thought this one through very well yet, but that would allow
things like:

/** Constructor */
public DynListPanelSubclass()
{
   supportDelete(true);  // override onDelete(bean)
   supportEdit(true);  // override onEdit(bean)
   setPageSize(10);
   addLabel("name")
 .setTitle("Full Name")
 .setSortable(true)
 .setFilterable(true);
   addLabel("department")
 .setTitle("Dept")
 .setFilterChoices(departments)
 .setSortable(true);
}

Any ideas or suggestions?  If the right balance of flexibility and
RADness is made, I think these could be very powerful components.

Jonathan

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] RAD Edit and List Panels

2005-06-29 Thread Jonathan Carlson
I have started of a couple of RAD (rapid app development) panels that
I'm hoping to commit to wicket-stuff, but I thought I'd check to see if
there was interest in co-developing this (in which case I would try to
commit it sooner than later).  In any case, I thought it would be good
to get feedback on the approach I'm using.

My goal is for a Wicket developer to be able to quickly pound out bean
editing and bean listing panels very quickly without having to mess with
HTML (unless they really need to do some custom stuff, in which case it
should still be possible to use this).

To create a bean editing panel, one just needs to subclass my
DynEditPanel like the below pseudo-code (my actual, mostly-working
example is on a different computer).   Please note that I would much
prefer all the setup() method logic to be in the constructor but it
doesn't work because a superclass constructor cannot call a method in a
subclass (maybe someone can help me find a better solution).

(All HTML is inherited from DynEditPanel so no HTML coding is required
here)

public class EditPanel extend DynEditPanel
{
  public EditPanel(String id)
  {
super(id);
  }
 
  protected void setup()
  {
 setModel(new Model(employee));
 addTextField("name").setTitle("Full
Name").setMaxLength(40).setSize(20).setRequired(true);

addTextField("manager").setTitle("Boss").setMaxLength(40).setSize(20).setRequired(true);

addTextArea("notes").setTitle("Notes").setColumns(40).setRows(5).setReadOnly(true);
 List deptartments = /* find departments here */;
 addDropDown("department",
departments).setTitle("Dept").setRequired(true);

addDateField("hireDate").setFormat("-MM-DD").setRequired(true);
  }

  protected void onSubmit()
  { 
 // do save logic here
  }

}


I don't like this, but the class that constructs this instance has to
call completeSetup() on the DynEditPanel which calls the setup() method
here.  I can discuss why if there is more interest, but I'd love to
avoid this.   I feel like I'm bumping up against some major limitations
of setting up a component in the constructor.  Maybe I need to
investigate using static methods for constructing instead.

I'm also hoping to modify my existing DynListPanel component to use a
similar structure, avoiding the need for any HTML by the developer.  I
haven't thought this one through very well yet, but that would allow
things like:

/** Constructor */
public DynListPanelSubclass()
{
   supportDelete(true);  // must override onDelete(bean)
   supportEdit(true);  // must override onEdit(bean)
   setPageSize(10);
   addLabel("name").setTitle("Full
Name").setSortable(true).setFilterable(true);
  
addLabel("department").setTitle("Dept").setFilterChoices(departments).setSortable(true);
}

Any ideas or suggestions?  If the right balance of flexibility and
RADness is made, I think these could be very powerful components.

Jonathan

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] FYI - Wicket article on InfoWorld

2005-06-24 Thread Jonathan Carlson
http://www.infoworld.com/article/05/06/23/HNwicket_1.html

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] question on TheServerSide

2005-06-22 Thread Jonathan Carlson
I'm posting this in case the developers aren't checking
TheServerSide.com article.  Maybe one of you can pop over there and
answer the questions that I can't:
---
I too have a wife and kids and have a life, something that gets in the
way poring over source and mauals to figure out how good a framework is.
I have had "Tapestry In Action" for months but never got past Chapter
1.

So I appreciate your comments; a couple of questions:

a) Menu Tree -- can does the menu tree retain its state ( collapsed
nodes , expanded node ) across requests.

b) Javascripted components : Does this framework make it easy to work
with Javascripted screens e.g RichtTextEditor, DIV elements that can be
moved or hidden , handling mouseover events etc. Or doe it get in the
way ?

c) Memory : how much memory can it consume ?

d) inter-operability with Existing Struts JSPs: Can a wicket
application war also have struts ? E.g. I would like to add more
functionality to an existing (stuts+jsp) application and I would like to
use Wickets . Is this possible ? Can the session state information e,g.
user login information be shared with Struts based components ?

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Semantic Type Conversion

2005-06-20 Thread Jonathan Carlson
Adam, As you suggest, creating a named subclass of Label is probably the
best thing for you if you don't want to keep overriding the
getConverter() method. 

My 2 cents,

Jonathan

>>> [EMAIL PROTECTED] 2005-06-17 7:02:53 PM >>>
Hi All,

I'm trying to Zen the best solution to my problem and I thought I'd
check with the list to see if anyone else has tackled this.

I have two properties in my business object that are stored as
BigDecimals. One represents money and the other a percentage. I have
registered a BigDecimal converter at the application level but these two
pieces of data should really be formatted differently when displayed in,
say, a list.

I've created two IConverters, MoneyToStringConverter and
PercentToStringConverter, and I have attached them to the Label
components as such:

listItem.add(new Label("surcharge", new Model(project.getSurcharge()))
{
  public IConverter getConverter() {
return new MoneyToStringConverter();
  }
});
listItem.add(new Label("surchargePercent", new
Model(project.getSurchargePercent())) {
  public IConverter getConverter() {
return new PercentToStringConverter();
  }
});

And this works. Surcharge is displayed as $50.00 and Surcharge Percent
is displayed as 50.00%. But this seems rather tedious if I have to
attach these to every field that needs conversion for display.

Does anyone have any thoughts on how we could "flag" a field or label
as being a specific semantic type? Should I create a MoneyLabel and a
PercentLabel?

Any ideas would be appreciated!
--
Adam

A language that doesn't affect the way you
think about programming is not worth
knowing.
 -- Alan J. Perlis




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wikipedia

2005-06-17 Thread Jonathan Carlson
I think the maintainers of Wikipedia thought our article sounded a
little too "Go Team"-ish so they added a warning at the top that the
article needs to be revised and may be deleted.

I did a first pass at changing the tone to be more factual and less
rah-rah.  (I also removed the warnings--they can add them back if they
think it still merits it)  Anyone else, please feel free to add to or
subtract from what I started... that's the wiki way.

http://en.wikipedia.org/wiki/Wicket_framework 

Have a great weekend!

- Jonathan


>>> [EMAIL PROTECTED] 2005-06-17 4:49:38 PM >>>
Cool!  I typed in wicket in the search and it only showed me one page
so
I didn't try Wicket_framework.

Not sure why all the ominous messages on the top.



>>> [EMAIL PROTECTED] 2005-06-17 3:57:13 PM >>>
you mean like http://en.wikipedia.org/wiki/Wicket_framework ?

Jonathan Carlson wrote:

>I just noticed that my favorite encyclopedia, Wikipedia has a
refrence
>to Spring_framework.  (http://en.wikipedia.org/wiki/Spring_framework)
>
>I think Wicket should be in there too.  (Anybody can add pages)  Are
>the Wicket developers still working on the big media blitz that I
heard
>was coming at some point?
>
>:-)
>
>Jonathan
>
>__
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the system manager.
>
>Katun Corporation -- www.katun.com 
>_
>
>
>---
>SF.Net email is sponsored by: Discover Easy Linux Migration
Strategies
>from IBM. Find simple to follow Roadmaps, straightforward articles,
>informative Webcasts and more! Get everything you need to get up to
>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click 
>___
>Wicket-user mailing list
>Wicket-user@lists.sourceforge.net 
>https://lists.sourceforge.net/lists/listinfo/wicket-user 
>  
>



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477

Re: [Wicket-user] Wikipedia

2005-06-17 Thread Jonathan Carlson
Cool!  I typed in wicket in the search and it only showed me one page so
I didn't try Wicket_framework.

Not sure why all the ominous messages on the top.



>>> [EMAIL PROTECTED] 2005-06-17 3:57:13 PM >>>
you mean like http://en.wikipedia.org/wiki/Wicket_framework ?

Jonathan Carlson wrote:

>I just noticed that my favorite encyclopedia, Wikipedia has a
refrence
>to Spring_framework.  (http://en.wikipedia.org/wiki/Spring_framework)
>
>I think Wicket should be in there too.  (Anybody can add pages)  Are
>the Wicket developers still working on the big media blitz that I
heard
>was coming at some point?
>
>:-)
>
>Jonathan
>
>__
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the system manager.
>
>Katun Corporation -- www.katun.com 
>_
>
>
>---
>SF.Net email is sponsored by: Discover Easy Linux Migration
Strategies
>from IBM. Find simple to follow Roadmaps, straightforward articles,
>informative Webcasts and more! Get everything you need to get up to
>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click 
>___
>Wicket-user mailing list
>Wicket-user@lists.sourceforge.net 
>https://lists.sourceforge.net/lists/listinfo/wicket-user 
>  
>



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wikipedia

2005-06-17 Thread Jonathan Carlson
I just noticed that my favorite encyclopedia, Wikipedia has a refrence
to Spring_framework.  (http://en.wikipedia.org/wiki/Spring_framework)

I think Wicket should be in there too.  (Anybody can add pages)  Are
the Wicket developers still working on the big media blitz that I heard
was coming at some point?

:-)

Jonathan

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] an idea for JDO integration

2005-06-08 Thread Jonathan Carlson
Geoff, Does JDO work with Groovy objects?  

I was just noticing some talk on the Groovy dev mailing list about
creating a Groovy on Rails.  I haven't played with the Ruby on Rails,
but it sounds something like ZOPE, which I think is cool but a little
impractical with the required O-O db backend.  

OK, I'll let you in on where I'm coming from and what I have long
dreamed about even if it is beyond what you are wanting to do. 

Your idea sounds like it would go a long ways towards being able to
evolve and manage persistent objects from a web browser (possibly using
groovy or some other scripting language), then display and manage those
persistent objects with a set of predefined, yet configurable, web
components (Tables, Forms, etc).  

Everything could be done through a web browser except the development
of the predefined web components which is probably best done in an IDE
anyways.

Even though I'm not a groovy developer, I piped up on that list saying
that I think Wicket would the best framework for reusable web components
scripted by Groovy, rather than try to create some web framework from
scratch.

The only part I haven't been able to figure out yet is how to have all
the power and flexibility of an ORM solution like JDO, Cayenne,
Hibernate, etc without having to have pre-defined, compiled Java Beans.

Given that I have little free time, all I can do is dream right now,
but someday soon someone is going to build something like this.  I think
there are a lot of small companies out there that can't afford custom
web development, but could afford someone with a RAD toolset like this.

Jonathan


>>> [EMAIL PROTECTED] 2005-06-08 10:53:46 AM >>>
Hey,

I was thinking of working on a wicketstuff
JDO-integration project. I have already played with
JDO and wicket, using early alpha versions, and
documented some of it here:

http://c2.com/cgi/wiki?JdoWebApp 

I want to provide an "out-of-the-box" solution for
persisting any of the model objects you are using in
Wicket. With JDO, Hibernate, or anything else, it is
always hard to learn the basic build steps, setting up
the ORM, droping your DB schems, etc.

So what I have in mind is to provide for the automatic
configuration of the database and ORM, to make it
brain-dead easy to use JDO and wicket.

My idea is to bundle an HSQLDB database with your web
application. I have done it in the past, and it kicks
ass. Your database actually goes inside the webapp, in
  a "jdo" folder. The HSQLDB driver allows a relative
file://  uri, so you don't need to start a server or
anything, which means your webapp is genuinely self
contained.

So anyway, what I have in mind is a helper utility
that you use to declare your persistent classes.
Something like
WicketJDOHelper.declarePersistent(User.class). When
you do this, the Object-relational-mapping (ORM) file
will automaticaly be created (if abscent) in the jdo
folder of your webapp. Change tracking will also be
applied. If the User class (for example) has any new
fields since the app was last stated, they will be
added to the ORM. The HSQLDB ".script" (database) file
will also be synchronized with your declared model
objects.

I also have it in mind to provide a web-page for your
jdo-enabled wicket applications that will enable you
to  browse and edit the objects in the database.

Does this sound useful? The idea would be to provide
out-of-the-box persistence that deploys with your web
application and requires zero knowledge of how to
cofigure the database or JDO.

I could also add some features like a special
SaveButton that would automatically save the model
object on the form. I could do the same with an
UpdateButton. In this way, you could really know zero
about JDO. You would just add a SaveButton to your
Form. You can imagine a similar "QueryButton" but that
would require at least some knowledge of JDOQL.

-geoff

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
shotput
a projector? How fast can you ride your desk chair down the office luge
track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the ind

Re: [Wicket-user] an idea for JDO integration

2005-06-08 Thread Jonathan Carlson
Geoff, This sounds really, really cool.  I'm kind of "into" Cayenne, but
having something like this would make me think about switching to JDO. 
I've long wanted to write or have something similar to what you are
proposing.  And I think Wicket really needs something like this to help
it gain mind-share.

Does JDO require real bean objects, or can it work just as well with
generic row objects?  Cayenne allows you to return row objects, but you
lose a lot of the nice features, like auto-loading of relationships. 
The benefit with generic bean objects (like Jakarta's DynaBeans or
similar) is that you could add/remove attributes and relationships via a
web interface.  (I know, I'm a developer and I love Java, but I'd like
it if apps I build can be somewhat maintained and upgraded by a non-Java
developer--like my tech-savvy wife or a client :-)

>  The HSQLDB ".script" (database) file
> will also be synchronized with your declared model
> objects.

Would you do this with SQL ALTER statements so it would work with other
databases as well as HSQLDB? 

Would it also notice SQL database changes and ask you if you want to
update the ORM?  I think the Commons SQL project would allow one to more
easily notice DB changes as well as propagate model changes back into
the db.

I think you are right on track and I'd love to see what you come up
with.  I hope I can help out.

Jonathan





>>> [EMAIL PROTECTED] 2005-06-08 10:53:46 AM >>>
Hey,

I was thinking of working on a wicketstuff
JDO-integration project. I have already played with
JDO and wicket, using early alpha versions, and
documented some of it here:

http://c2.com/cgi/wiki?JdoWebApp 

I want to provide an "out-of-the-box" solution for
persisting any of the model objects you are using in
Wicket. With JDO, Hibernate, or anything else, it is
always hard to learn the basic build steps, setting up
the ORM, droping your DB schems, etc.

So what I have in mind is to provide for the automatic
configuration of the database and ORM, to make it
brain-dead easy to use JDO and wicket.

My idea is to bundle an HSQLDB database with your web
application. I have done it in the past, and it kicks
ass. Your database actually goes inside the webapp, in
  a "jdo" folder. The HSQLDB driver allows a relative
file://  uri, so you don't need to start a server or
anything, which means your webapp is genuinely self
contained.

So anyway, what I have in mind is a helper utility
that you use to declare your persistent classes.
Something like
WicketJDOHelper.declarePersistent(User.class). When
you do this, the Object-relational-mapping (ORM) file
will automaticaly be created (if abscent) in the jdo
folder of your webapp. Change tracking will also be
applied. If the User class (for example) has any new
fields since the app was last stated, they will be
added to the ORM. The HSQLDB ".script" (database) file
will also be synchronized with your declared model
objects.

I also have it in mind to provide a web-page for your
jdo-enabled wicket applications that will enable you
to  browse and edit the objects in the database.

Does this sound useful? The idea would be to provide
out-of-the-box persistence that deploys with your web
application and requires zero knowledge of how to
cofigure the database or JDO.

I could also add some features like a special
SaveButton that would automatically save the model
object on the form. I could do the same with an
UpdateButton. In this way, you could really know zero
about JDO. You would just add a SaveButton to your
Form. You can imagine a similar "QueryButton" but that
would require at least some knowledge of JDOQL.

-geoff

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
shotput
a projector? How fast can you ride your desk chair down the office luge
track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


-

[Wicket-user] Will a panel subclass use superclass HTML?

2005-06-07 Thread Jonathan Carlson
If a panel subclass doesn't have its own HTML, will wicket use the HTML
of the superclass?

I'm hoping it will, but I haven't had the time to try it out myself
yet.

Thanks!

Jonathan

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] user guide link broken

2005-06-07 Thread Jonathan Carlson
FYI - The link to the user guide is broken on this page:

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

It looks like it is just a capitalization issue.


__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Hibernate Paging

2005-06-03 Thread Jonathan Carlson
I don't think the CD app example uses Hibernate to do the paging.  If I
remember right, it reads it all in and does the paging and sorting in
memory but I could have missed something.  

- Jonathan

>>> [EMAIL PROTECTED] 2005-06-03 11:31:04 AM >>>
I look like I've figured it out anyway, but for future reference,
where is the source for that example? I found the running program. Is
the source only in CVS?

On 6/3/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> Phil Kulak wrote:
> 
> >It looks like you guys have that all figured out in the contrib, but
I
> >can't seem to figure out how it's supposed to be used from just the
> >source. Is there an example anywhere I could look at?
> >
> >
> You could take a look at the CD-App example. This one is rather
feature
> complete. It is member of the wicket-stuff project under the
> wicket-contrib-examples.
> 
> Martijn
> 
> 
> ---
> This SF.Net email is sponsored by Yahoo.
> Introducing Yahoo! Search Developer Network - Create apps using
Yahoo!
> Search APIs Find out how you can build Yahoo! directly into your own
> Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user 
>


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Getting started

2005-05-31 Thread Jonathan Carlson
Welcome Patrick, I'm a Wicket hobbyist too, although my day job has me
familiar with Ant and J2EE in general.

If you are familiar with WebObjects, then maybe you are familiar with
Cayenne (http://www.objectstyle.org/cayenne) for object-relational
persistence?   It was inspired by EO, from what I understand.  I've been
pretty pleased with Cayenne and will be committing a CayenneQueryModel
class to wicket-stuff at some point here.

I'd be happy to share any of my Cayenne-enabled components with you
(not much right now, but a table listing component that can be sorted
and filtered). 

- Jonathan Carlson



>>> [EMAIL PROTECTED] 2005-05-30 9:18:28 PM >>>
I just found Wicket today, and would like to get started, but I'm  
stuck already. Hoping someone can help.

If it helps, here's where I'm coming from.
At best, I would be considered a hobbyist when it comes to  
application development, but would very much like to make it a full  
time endeavor. For a while, I played around with WebObjects. I was  
able to get up and running quite successfully in my opinion, but its  
future seemed bleak, or at least unknown, so I gave Tapestry a try.

Tapestry seemed like a good product, but I've found it to be more  
difficult to use than WO. Some time passed, and I just recently  
started giving Tapestry another shot, when I found Wicket. Looks very 

promising, code listed on the website seems to make sense to me, so I 

figure I'd give it a shot.

I've successfully installed the Kick Start. I've also successfully  
deployed the Wicket examples in Tomcat. Everything works.

Here's my problem.

I don't know how to make a project from scratch. I know little (or  
nothing) about Maven, build files, etc. The aforementioned examples,  
as well as the new User Guide which is in development, seem to assume 

that the user knows how to create and organize a project, where to  
copy jars, how to build, etc. All of this is foreign to me. I have  
Eclipse 3 installed, and can create a Java Project, but I don't know  
how to make it a Wicket project.

Is there a step-by-step that would fill in my missing link? Or at the 

very least, could someone point me in the direction of the required  
reading necessary to learn?

I am excited to start, but my occupation consumes most of my time  
right now, so any help would be much appreciated. Once I get past  
this, I'm certain that I can start digging in and make things work.

Thanks much.

patrick


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Securing an entire application

2005-05-27 Thread Jonathan Carlson
Another idea is to use SSL, which (I wasn't aware of this before) allows
the server to authenticate the client using public key cryptography like
RSA and DSS.  That way you also get your data encrypted between the
client and server, as well as client authentication.

Here is page 5 of an article on servlet security with some additional
links:
http://www.informit.com/articles/article.asp?p=24253&seqNum=6

- Jonathan


>>> [EMAIL PROTECTED] 2005-05-26 8:26:18 PM >>>
you should just use servlet filter
this is really not the responsibility of a ui
framework in my opinion

--- Gili <[EMAIL PROTECTED]> wrote:
> 
>   Say I wanted to secure an entire application such
> that none of its 
> pages could be accessed outside a certain IP or user
> authentication, how 
> would I do it? I believe in classic JSP one would
> have to secure each 
> page individually. Is there some way for us to do
> something in 
> Application to have it apply to all pages?
> 
> Thanks,
> Gili
> 
> 
>
---
> This SF.Net email is sponsored by Yahoo.
> Introducing Yahoo! Search Developer Network - Create
> apps using Yahoo!
> Search APIs Find out how you can build Yahoo!
> directly into your own
> Applications - visit
>
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net 
>
https://lists.sourceforge.net/lists/listinfo/wicket-user 
> 



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/ 


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Securing an entire application

2005-05-26 Thread Jonathan Carlson
Why not implement a ServletFilter that maps to everything in your
current web app context?  That would be the most framework neutral and
would not require you to remember to make each page extend BasePage (or
whatever).

http://wiki.java.net/bin/view/Javapedia/ServletFilter 

- Jonathan



>>> [EMAIL PROTECTED] 2005-05-26 3:14:04 PM >>>

Ok, technically-speaking so we are still handling this on a
per-Page 
basis instead of once in the Application. There is nothing preventing 
someone from mistakenly extending WebPage for one of the pages and 
revealing confidential information.

For security reasons, I think we should consider adding 
Application.setRequiredPageType() or something that would enforce type

safety on the framework level and *force* all pages coming off the 
application to extend a given interface/class or it throws an
exception.

Gili

Juergen Donnerstag wrote:
> Instead of using WebPage all your pages should use BasePage instead,
> which is derived from WebPage and which implements checkAccess.
> WebPage => BasePage => myPage
> 
> Juergen
> 
> On 5/26/05, Gili <[EMAIL PROTECTED]> wrote:
> 
>>I am not familiar with the concept of BasePage. Can you
please elaborate?
>>
>>Thanks,
>>Gili
>>
>>Juergen Donnerstag wrote:
>>
>>>I guess Page.checkAccess() implemented in an application specific
>>>BasePage could do the trick.
>>>
>>>Juergen
>>>
>>>On 5/26/05, Gili <[EMAIL PROTECTED]> wrote:
>>>
>>>
   Say I wanted to secure an entire application such that none
of its
pages could be accessed outside a certain IP or user
authentication, how
would I do it? I believe in classic JSP one would have to secure
each
page individually. Is there some way for us to do something in
Application to have it apply to all pages?

Thanks,
Gili


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using
Yahoo!
Search APIs Find out how you can build Yahoo! directly into your
own
Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

>>>
>>>
>>>
>>>---
>>>This SF.Net email is sponsored by Yahoo.
>>>Introducing Yahoo! Search Developer Network - Create apps using
Yahoo!
>>>Search APIs Find out how you can build Yahoo! directly into your
own
>>>Applications - visit
http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005 
>>>___
>>>Wicket-user mailing list
>>>Wicket-user@lists.sourceforge.net 
>>>https://lists.sourceforge.net/lists/listinfo/wicket-user 
>>>
>>
>>
>>---
>>This SF.Net email is sponsored by Yahoo.
>>Introducing Yahoo! Search Developer Network - Create apps using
Yahoo!
>>Search APIs Find out how you can build Yahoo! directly into your own
>>Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 
>>___
>>Wicket-user mailing list
>>Wicket-user@lists.sourceforge.net 
>>https://lists.sourceforge.net/lists/listinfo/wicket-user 
>>
> 
> 
> 
> ---
> This SF.Net email is sponsored by Yahoo.
> Introducing Yahoo! Search Developer Network - Create apps using
Yahoo!
> Search APIs Find out how you can build Yahoo! directly into your own
> Applications - visit
http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005 
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/wicket-user 
> 


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
___

Re: [Wicket-user] Wicket at 99.79% on SF

2005-05-25 Thread Jonathan Carlson
Good point.  The stats can favor big, complex projects where lots of CVS
commits, bug queries on the forums, and bug fixes are necessary.  

When you have a simple, yet powerful framework with a high
power-to-weight ratio (as Jonathan likes to call it) you tend to have
less complex code and fewer bugs which means less "activity" on the
project.

But still, anything above 95% I tend to consider a relatively healthy
project and Wicket is above 99.5% (assuming the stats are correct).

- Jonathan


>>> [EMAIL PROTECTED] 2005-05-25 2:54:51 PM >>>
Jonathan Carlson wrote:

>It appears that the statistics on SourceForge have been fixed. 
Wickets statistics look VERY impressive...
>  
>
I found it pretty amazing that we've accumulated 4000 downloads so far.

We didn't do too much on publicity: no articles, no books, no Tapestry

is evil use Wicket campaign. We did the 4000 downloads by ourselves. 
Half of the downloads come from the last 2 months, so that is also
telling.

I think we owe a lot to Tim Boudreau, who generated a lot of hits at
the 
beginning of april.

>Personally, when evaluating a tool, I tend to put a lot of weight on
>those numbers to determine whether or not a project is thriving or
not.
>  
>
The activity percentage don't do it for me. Almost all projects that
are 
somewhat active are in the 95%+ percentage. That doesn't tell me much.
I 
tend to look at the CVS records: when was the last update for the 
project, how much activity is on the forum and/or mailinglist and 
whether the last release was relatively recent (which reminds me to
work 
on jwebunit sometime soon).

As the statistics are just brought online, I suspect they still have to

fix some bugs, so I wouldn't trust the figures too much...

Martijn



---
SF.Net email is sponsored by: GoToMeeting - the easiest way to
collaborate
online with coworkers and clients while avoiding the high cost of
travel and
communications. There is no equipment to buy and you can meet as often
as
you want. Try it
free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket at 99.79% on SF

2005-05-25 Thread Jonathan Carlson
It appears that the statistics on SourceForge have been fixed.  Wickets
statistics look VERY impressive... 

Personally, when evaluating a tool, I tend to put a lot of weight on
those numbers to determine whether or not a project is thriving or not.

- Jonathan

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] IOnChangeListener

2005-05-25 Thread Jonathan Carlson
Before we do a 1.0 release I want to bring up a little nitpicky naming
issue.

Why does IOnChangeListener define onSelectionChanged() instead of just
plain old onChanged()?

Not only does it seem unnecessarily verbose (especially with methods
like wantOnSelectionChangedNotifications()) but it seems to imply this
is only going to be used for dropdown lists and radio buttons, when it
could just as easily be used for javascript onChange notifications in
TextFields.

Whatever you decide, I will obviously go along with it, but this name
just feels like it adds unnecessary "weight".

My 2 cents,

- Jonathan

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] TextField and TextArea onChange

2005-05-24 Thread Jonathan Carlson
Thanks for the suggestions, Martijn and Eelco.  I'll see what I can come
up with.

- Jonathan


>>> [EMAIL PROTECTED] 2005-05-24 4:57:50 PM >>>
Jonathan Carlson wrote:

>Thanks!  It looks very clean and simple.  
>
>Hmmm, With Firefox the onChange gets triggered if  is pressed
>while the cursor is still inside the text field, even without a
>surrounding form.  
>
>But with Internet Exploder I have to click outside the box to make
the
>onChange get triggered.  It looks like I'll have to put a form around
>the TextForm if I want  to trigger in IE.
>
>... Or I could just say "too bad, IE users", which wouldn't hurt my
>feelings too much.  ;^>I kind of need to move on so I may just do
>that.
>  
>
onKeyPress(), onBlur(), etc. would also help?

Martijn


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] TextField and TextArea onChange

2005-05-24 Thread Jonathan Carlson
Thanks!  It looks very clean and simple.  

Hmmm, With Firefox the onChange gets triggered if  is pressed
while the cursor is still inside the text field, even without a
surrounding form.  

But with Internet Exploder I have to click outside the box to make the
onChange get triggered.  It looks like I'll have to put a form around
the TextForm if I want  to trigger in IE.

... Or I could just say "too bad, IE users", which wouldn't hurt my
feelings too much.  ;^>I kind of need to move on so I may just do
that.

- Jonathan


>>> [EMAIL PROTECTED] 2005-05-24 4:29:51 PM >>>
I created a custom text field that does what you want. It's like AJAX,

but with reloading the whole page ;)

Find it attached. I'll commit it later when the example is better.

Eelco


Eelco Hillenius wrote:

> Sure, why not try to create your own custom TextField that does this?

> Should be fairly straightforward, and a nice thing to learn ;)
>
> I'll try to create one here to serve as an example to be put in the 
> user's guide.
>
> Regards,
>
> Eelco
>
> Jonathan Carlson wrote:
>
>> OK, I'll try to make my case.  I have created a sortable and
filterable
>> "table" panel that is reusable.  Above the column headers can be
put
>> either a drop-down select or a text field to limit the rows that
are
>> displayed. 
>> When a dropdown is changed, the query is re-fetched with the new
>> criteria.  I'd like it to do the same for abitrary text in a text
field.
>> (Cayenne generates a sql LIKE clause in my WHERE clause)
>>
>> There isn't room for a button in there anywhere and I'd prefer to
just
>> filter immediately when they leave the field or press enter (which I
am
>> hoping would trigger the onChange event but I haven't tried it out)
>>
>> Any thoughts?  Can I do it another way?  Maybe just put a form
around
>> the filters components with a hidden submit field (assuming that is
>> possible)? 
>> - Jonathan
>>
>>
>>
>>  
>>
>>>>> [EMAIL PROTECTED] 2005-05-24 1:44:12 PM >>>
>>>>>   
>>>>
>> We haven't found the need to support this yet. Personally I think,
at 
>> least as long as you're not using AJAX, onchange on textfields would
be
>>
>> a bit too much.
>>
>> Otoh, if someone finds the need, it is easy to create such a custom

>> component (maybe that's a nice alternative for the not-so good
example
>>
>> that is currently in the user's manual?). And if many people want
to
>> use it, we could consider supporting this by default.
>>
>> Eelco
>>
>> Jonathan Carlson wrote:
>>
>>  
>>
>>> TextField and TextArea don't appear to support the onChange event
>>>   
>>
>> like
>>  
>>
>>> DropDownChoice does. 
>>> Is it not well supported by browsers, or is it just that no one 
has
>>> needed it yet?  (Or am I mistaken about it not being supported?)
>>>
>>> Thanks,
>>>
>>> - Jonathan
>>>
>>>
__
>>> This email and any files transmitted with it are confidential and
>>> intended solely for the use of the individual or entity to whom
they
>>> are addressed. If you have received this email in error please
notify
>>> the system manager.
>>>
>>> Katun Corporation -- www.katun.com 
>>>
_
>>>
>>>
>>> ---
>>> This SF.Net email is sponsored by Yahoo.
>>> Introducing Yahoo! Search Developer Network - Create apps using
>>>   
>>
>> Yahoo!
>>  
>>
>>> Search APIs Find out how you can build Yahoo! directly into your
own
>>> Applications - visit
>>>   
>>
>> http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005  
>>
>>> ___
>>> Wicket-user mailing list
>>> Wicket-user@lists.sourceforge.net 
>>> https://lists.sourceforge.net/lists/listinfo/wicket-user 
>>>
>>>   
>>
>>
>>
>>
>> ---
>> This SF.Net email is sponsored by Yahoo.
>> Introducing Yahoo! Search Developer Network - Create apps using
Yahoo!
>> Search APIs Find out how you can build Yahoo! directly into your
own
>> Applications - visit
>> http://developer.yah

Re: [Wicket-user] TextField and TextArea onChange

2005-05-24 Thread Jonathan Carlson
OK, I'll try to make my case.  I have created a sortable and filterable
"table" panel that is reusable.  Above the column headers can be put
either a drop-down select or a text field to limit the rows that are
displayed.  

When a dropdown is changed, the query is re-fetched with the new
criteria.  I'd like it to do the same for abitrary text in a text field.
 (Cayenne generates a sql LIKE clause in my WHERE clause)

There isn't room for a button in there anywhere and I'd prefer to just
filter immediately when they leave the field or press enter (which I am
hoping would trigger the onChange event but I haven't tried it out)

Any thoughts?  Can I do it another way?  Maybe just put a form around
the filters components with a hidden submit field (assuming that is
possible)?  

- Jonathan



>>> [EMAIL PROTECTED] 2005-05-24 1:44:12 PM >>>
We haven't found the need to support this yet. Personally I think, at 
least as long as you're not using AJAX, onchange on textfields would be

a bit too much.

Otoh, if someone finds the need, it is easy to create such a custom 
component (maybe that's a nice alternative for the not-so good example

that is currently in the user's manual?). And if many people want to
use 
it, we could consider supporting this by default.

Eelco

Jonathan Carlson wrote:

>TextField and TextArea don't appear to support the onChange event
like
>DropDownChoice does.  
>
>Is it not well supported by browsers, or is it just that no one  has
>needed it yet?  (Or am I mistaken about it not being supported?)
>
>Thanks,
>
>- Jonathan
>
>__
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the system manager.
>
>Katun Corporation -- www.katun.com 
>_
>
>
>---
>This SF.Net email is sponsored by Yahoo.
>Introducing Yahoo! Search Developer Network - Create apps using
Yahoo!
>Search APIs Find out how you can build Yahoo! directly into your own
>Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 
>___
>Wicket-user mailing list
>Wicket-user@lists.sourceforge.net 
>https://lists.sourceforge.net/lists/listinfo/wicket-user 
>  
>



---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] JavaOne

2005-05-24 Thread Jonathan Carlson
> If it helps, we are giving two (2!) presentations on Wicket, so you 
> might actually learn something ;-). Now if /that/ isn't convincing
for 
> your boss, I don't know what will ;-)

Except that I'm using Wicket for my lunch-hour and
after-the-kids-go-to-bed project (a real testament to how easy and
powerful Wicket really is), which also explains why progress is a little
slow for me.  Ill have to sell my boss on the general Java/J2EE benefit
of JavaOne.

:-)



>>> [EMAIL PROTECTED] 2005-05-24 10:36:42 AM >>>
Jonathan Carlson wrote:

>If I am allowed to go to JavaOne this year (never been there before),
>I'd love to meet one or more other Wicketeers for a beer (or coffee).

>It could be a few weeks before I know, though.
>  
>
If it helps, we are giving two (2!) presentations on Wicket, so you 
might actually learn something ;-). Now if /that/ isn't convincing for

your boss, I don't know what will ;-)

I'd love to grab a beer/coffee/latte/etc. So just give the word...
we'll 
be there anyway :-D

Martijn

>- Jonathan
>
>
>  
>
>>>>[EMAIL PROTECTED] 2005-05-23 12:09:13 PM >>>
>>>>
>>>>
>So... anyone reading this list going to JavaOne? Or living in Denver 
>(That's where I'll be the week before JavaOne) or San Fransisco and 
>wanting to meet for a beer or a coffee?
>
>Eelco
>
>
>---
>This SF.Net email is sponsored by Oracle Space Sweepstakes
>Want to be the first software developer in space?
>Enter now for the Oracle Space Sweepstakes!
>http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click 
>___
>Wicket-user mailing list
>Wicket-user@lists.sourceforge.net 
>https://lists.sourceforge.net/lists/listinfo/wicket-user 
>
>__
>This email has been scanned by the MessageLabs Email Security System.
>For more information please visit http://www.messagelabs.com/email 
>__
>
>__
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the system manager.
>
>Katun Corporation -- www.katun.com 
>_
>
>
>---
>This SF.Net email is sponsored by Yahoo.
>Introducing Yahoo! Search Developer Network - Create apps using
Yahoo!
>Search APIs Find out how you can build Yahoo! directly into your own
>Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 
>___
>Wicket-user mailing list
>Wicket-user@lists.sourceforge.net 
>https://lists.sourceforge.net/lists/listinfo/wicket-user 
>  
>



---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] TextField and TextArea

2005-05-24 Thread Jonathan Carlson
TextField and TextArea don't appear to support the onChange event like
DropDownChoice does.  

Is it not well supported by browsers, or is it just that no one  has
needed it yet?  (Or am I mistaken about it not being supported?)

Thanks,

- Jonathan

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] JavaOne

2005-05-24 Thread Jonathan Carlson
If I am allowed to go to JavaOne this year (never been there before),
I'd love to meet one or more other Wicketeers for a beer (or coffee). 
It could be a few weeks before I know, though.

- Jonathan


>>> [EMAIL PROTECTED] 2005-05-23 12:09:13 PM >>>
So... anyone reading this list going to JavaOne? Or living in Denver 
(That's where I'll be the week before JavaOne) or San Fransisco and 
wanting to meet for a beer or a coffee?

Eelco


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 1.0 RC3 is out!

2005-05-23 Thread Jonathan Carlson
Eelco, the user user manual looks great so far and it's really needed. 
I'm a pretty good proof-reader so I'll print it out and give you some
feedback.

I hope this is a fair statement, but I think it is still quite
different from Jonathan's manual, which was kind of like a big cookbook
stepping you through the basic examples.  Granted, that manual left a
lot of questions in my mind which you answer in the new User Manual,
like how the different stock Models work, the request Lifecycle and
such.

Do you think Jonathan's original examples manual still has a niche to
fill, or do you think the new user manual should replace it entirely? 
My impression is that when I wanted to understand the different Link
styles, for example, the old User Manual made it very easy to go find
that out.  The new User Manual doesn't seem to fit that type of newbie
question.

I wonder if another developer could take on the (relatively simple I
hope?) task of updating the API calls in Jonathan's old Examples Manual
so that it can still be useful for the 1.0 release?

I'm sorry to push on this without being able to offer to help much
myself.  :-(

- Jonathan (Carlson)


>>> [EMAIL PROTECTED] 2005-05-23 10:57:33 AM >>>
Hi Jonathan,

I have been working on the new user guide at: 
http://wicket.sourceforge.net/wiki/doku.php?id=newuserguide&DokuWiki=9642a4ac6dc8e7fde461ebb2f488de88.
It is far from done, but I think it makes a decent start.

Besides the fact that I am very bussy with Wicket (finding/ fixing
bugs, 
working on more examples, etc) and other stuff, and thus don't have
much 
free time left for working on the manual, I also don't enjoy working on

it much, and - as English is not my native tongue - I find it quite
hard 
to write good articles.

Anyway, I am trying the best I can, and we are also updating the 
how-to's regularily. But we can use any help for sure!

So, here's my call for help again... is there anyone out there with
good 
writing skills wanting to work on the Wicket user guide?

Eelco


Jonathan Carlson wrote:

>I'm very pleased with the work you guys have been doing.  :-)
>
>Is it really wise, though, to release 1.0 without an updated user
>manual?  I'm mostly beyond the point of needing one now.  But when I
>started out, Jonathan's user manual is what really got me over the
>initial fear of a steep learning curve.  There are too many
frameworks
>out there for me to waste time with one that doesn't give me an easy
>leg-up on the learning curve that I can hold in my hands.
>
>When 1.0 comes out, I think it is very important to capitalize on the
>attention it should garner.  Without a relatively complete and
>professional looking User Manual, any 1.0 momentum could easily be
>squandered. 
>
>Hopefully I'm out of touch with how far-along the user manual really
is
>though.  If not, couldn't someone at least take Jonathan's old User
>Manual and update it to reflect the new API changes before 1.0 goes
out?
> I'd love to volunteer, but I'm struggling for free-time as it is,
given
>that I have 3 young children and a wife.
>
>Jonathan (someone who wants Wicket to "make-it big-time")
>
>
>  
>
>>>>[EMAIL PROTECTED] 2005-05-22 9:14:16 AM >>>
>>>>
>>>>
>May 21, 2005 - 1.0 RC3 is out!
>
>Finally, after a month of some silence, we have produced our last 
>release candidate before we deploy 1.0. If all goes well, you will
see
>
>the final release within a week or two. The bug list now only
contains
>
>an issue relating to clustering. As such we advise you currently to
not
>
>deploy your application on a cluster, until the issues are resolved,
or
>
>to be very thorough in your clustering tests.
>
>In this release you won't see major API changes, however the
internals
>
>have improved significantly. The request cycle has now correct 
>semantics, we have improved the redirect after post pattern, which
now
>
>performs significantly better than before, and allows you to do your 
>request handling and rendering in one pass, and then redirect to the 
>rendered page. CompoundModel support has improved and works with more

>components than before. We added support for redirecting to external 
>url's (e.g. Google) directly by introducing RedirectPage.
>
>For the complete list of fixes, updates and changes please see the 
>release history.
>
>
>---
>This SF.Net email is sponsored by Oracle Space Sweepstakes
>Want to be the first software developer in space?
>Enter now for the Oracle Space Sweepstakes!
>http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click 
>

Re: [Wicket-user] Wicket 1.0 RC3 is out!

2005-05-23 Thread Jonathan Carlson
I'm very pleased with the work you guys have been doing.  :-)

Is it really wise, though, to release 1.0 without an updated user
manual?  I'm mostly beyond the point of needing one now.  But when I
started out, Jonathan's user manual is what really got me over the
initial fear of a steep learning curve.  There are too many frameworks
out there for me to waste time with one that doesn't give me an easy
leg-up on the learning curve that I can hold in my hands.

When 1.0 comes out, I think it is very important to capitalize on the
attention it should garner.  Without a relatively complete and
professional looking User Manual, any 1.0 momentum could easily be
squandered. 

Hopefully I'm out of touch with how far-along the user manual really is
though.  If not, couldn't someone at least take Jonathan's old User
Manual and update it to reflect the new API changes before 1.0 goes out?
 I'd love to volunteer, but I'm struggling for free-time as it is, given
that I have 3 young children and a wife.

Jonathan (someone who wants Wicket to "make-it big-time")


>>> [EMAIL PROTECTED] 2005-05-22 9:14:16 AM >>>
May 21, 2005 - 1.0 RC3 is out!

Finally, after a month of some silence, we have produced our last 
release candidate before we deploy 1.0. If all goes well, you will see

the final release within a week or two. The bug list now only contains

an issue relating to clustering. As such we advise you currently to not

deploy your application on a cluster, until the issues are resolved, or

to be very thorough in your clustering tests.

In this release you won't see major API changes, however the internals

have improved significantly. The request cycle has now correct 
semantics, we have improved the redirect after post pattern, which now

performs significantly better than before, and allows you to do your 
request handling and rendering in one pass, and then redirect to the 
rendered page. CompoundModel support has improved and works with more 
components than before. We added support for redirecting to external 
url's (e.g. Google) directly by introducing RedirectPage.

For the complete list of fixes, updates and changes please see the 
release history.


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] new model CachingHibernateObjectModel

2005-05-18 Thread Jonathan Carlson
Thanks Eelco.  I'm not doing Hibernate, but I noticed that my
CayenneQueryModel (which I will commit to wicket-stuff someday) seems to
be constantly refetching my query.  I'll be curious to see how you do
the caching.


>>> [EMAIL PROTECTED] 2005-05-18 3:45:13 PM >>>
I'm not sure how many of you are using the wicket-stuff projects, but I

just introduced a new hibernate related model: 
CachingHibernateObjectModel. For anyone using HibernateObjectModel: 
consider this model if you have edit pages that work with several 
roundtrips (working on the object) before actually saving changes to
the 
database. I also introduced parameter 'unproxy' in
HibernateObjectModel, 
that unproxies the loaded object. This solved some cglib issues I had 
when using Hibernate 3.0.

Regards,

Eelco


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AbstractChoice

2005-05-18 Thread Jonathan Carlson
Wow, service with a smile.   Thanks!


>>> [EMAIL PROTECTED] 2005-05-18 2:08:49 PM >>>
You want it? You got it!

It's in HEAD, but as it will take a couple of hours for ssh cvs to sync

with pserver cvs, I attached the fixed file.

Eelco


Jonathan Carlson wrote:

>It appears there is no way to set the choices in AbstractChoice
except
>via the constructor.
>
>Can someone add a setChoices() method or let me know if there is a
>workaround?
>
>My problem is that I have a subclass of DropDownChoice that needs to
>add a choice to the list of Choices passed into the constructor,
>however, it doesn't appear that I can do that: super(...) has to be
>called first.
>
>Thanks!
>
>
>
>__
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the system manager.
>
>Katun Corporation -- www.katun.com 
>_
>
>
>---
>This SF.Net email is sponsored by Oracle Space Sweepstakes
>Want to be the first software developer in space?
>Enter now for the Oracle Space Sweepstakes!
>http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click 
>___
>Wicket-user mailing list
>Wicket-user@lists.sourceforge.net 
>https://lists.sourceforge.net/lists/listinfo/wicket-user 
>  
>



__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] AbstractChoice

2005-05-18 Thread Jonathan Carlson
It appears there is no way to set the choices in AbstractChoice except
via the constructor.

Can someone add a setChoices() method or let me know if there is a
workaround?

My problem is that I have a subclass of DropDownChoice that needs to
add a choice to the list of Choices passed into the constructor,
however, it doesn't appear that I can do that: super(...) has to be
called first.

Thanks!



__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] DefaultPageFactory

2005-05-18 Thread Jonathan Carlson
Thanks Juergen,  I think I figured out a better solution.  I'm sorry to
have added "noise" to the list.

- Jonathan


>>> [EMAIL PROTECTED] 2005-05-18 8:49:41 AM >>>
Jonathan,

I'm not sure I understand what you want to do. Usually there is one
IPageFactory per Application and thus it doesn't matter when (at which
time) to create the page. Why do you want to include it into a
Session?

Juergen

On 5/18/05, Jonathan Carlson <[EMAIL PROTECTED]> wrote:
> Could DefaultPageFactory be made Serializable?
> 
> I'm trying to delay page creation, but for me that includes having a
> PageFactory in the Session instead of a Page.
> 
> Am I doing something that probably shouldn't be done?
> 
> Thanks,
> 
> - Jonathan
> 
>
__
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please
notify
> the system manager.
> 
> Katun Corporation -- www.katun.com 
>
_
> 
> ---
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click 
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/wicket-user 
>


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] DefaultPageFactory

2005-05-18 Thread Jonathan Carlson
Could DefaultPageFactory be made Serializable?  

I'm trying to delay page creation, but for me that includes having a
PageFactory in the Session instead of a Page.

Am I doing something that probably shouldn't be done?

Thanks,

- Jonathan

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] onAttach

2005-05-06 Thread Jonathan Carlson
I'm working from CVS HEAD a couple of weeks back.  I am going to upgrade
to CVS HEAD today and I'll get back to you.

Thanks!

Jonathan


>>> [EMAIL PROTECTED] 2005-05-06 10:42:28 AM >>>
Are you working on CVS HEAD? I know Eelco, Johan and I has been busy 
with discussing and changing the request handling and render process. I

don't know whether this is the cause for your question.

Do you reference somewhere in your construction code a getObject() or 
getModelObject() method?

Martijn

Jonathan Carlson wrote:

>I need a quick verification.  
>
>Last night I noticed that onAttach was being called on my model when
my
>page was being created rather than just before my page was rendered. 

>
>Is that the standard behavior, or did I just mess something up?
>
>Thanks,
>
>- Jonathan
>
>__
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the system manager.
>
>Katun Corporation -- www.katun.com 
>_
>
>
>---
>This SF.Net email is sponsored by: NEC IT Guy Games.
>Get your fingers limbered up and give it your best shot. 4 great
events, 4
>opportunities to win big! Highest score wins.NEC IT Guy Games. Play
to
>win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 
>___
>Wicket-user mailing list
>Wicket-user@lists.sourceforge.net 
>https://lists.sourceforge.net/lists/listinfo/wicket-user 
>  
>



---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great
events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] onAttach

2005-05-06 Thread Jonathan Carlson
I need a quick verification.  

Last night I noticed that onAttach was being called on my model when my
page was being created rather than just before my page was rendered.  

Is that the standard behavior, or did I just mess something up?

Thanks,

- Jonathan

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Linux Blackdown JVM problems

2005-05-05 Thread Jonathan Carlson
I'm glad you worked it through.  In the long run, I think you'll be glad
you did.  

I'm using the base Fedora Core 3 with Sun's JDK on my Toshiba laptop (I
have no network connection fast enough to get the latest updates,
though, so hopefully you do).  

Wicket on Tomcat runs fine on it, however I've noticed that the OS
tends to lock up on me rather easily.  I usually just power down and try
starting up the apps in a different order and things seem to work OK.

- Jonathan


>>> [EMAIL PROTECTED] 2005-05-05 1:15:52 PM >>>
I've just spent 2 days trying to get a simple wicket page to work; I 
finally got it going and here's a warning for other folks running Linux

with the Blackdown 1.4.2 j2sdk.  (Specifically I'm running Linux FC3 -

i386.)

Downloaded examples war files ran fine with tomcat, but rc2 example war

built on my machine failed to run. I installed maven and the unit tests

also failed.

To make a long story shorter - initialization would fail at
ApplicationSettings:136
ApplicationSettings:160

I was a heart beat away from following the open source motto, "if the 
examples won't build, the project isn't ready", and switching to 
Tapestry.  As a last gasp I decided to try the Sun j2sdk and the 
problems went away. I'm stunned because the Blackdown j2sdk is usually

better than Sun's. (It's basically the Sun stuff tuned for Linux.)

So - rc1 and rc2 examples and wicket itself fail to build and run 
properly with the Blackdown j2sdk 1.4.2.

- Don

-- 
Don Ledford




---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great
events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] redirects

2005-05-04 Thread Jonathan Carlson
I noticed all the client-side vs. server-side redirect commits that
Johan made.  Thanks.

At some time (sooner is usually better) it would be good to have a wiki
note on the different kinds of redirects and how to use them.  Then that
could be a base for a future User Guide on the topic.

Thanks,

Jonathan

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Modifying tag attributes

2005-05-03 Thread Jonathan Carlson
I hadn't noticed the "new"  AttributeModifier class before, so I added a
little HowTo section to the Wiki OPEN area so new developers are aware
that this exists.  Maybe it could be moved to the main page.

Thanks,

Jonathan

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Blogged! Blogged.

2005-04-29 Thread Jonathan Carlson
Why not put links to the wicket developer blogs onto the Wicket main
page?  I only accidentally found out about Martijn's, Eelco's and your
blog.

Admittedly a nit, but your blog post went into your General category
instead of the Java category so it didn't show up in my RSS browser that
looks just at the Java category.  Nothing personal, but I usually try to
avoid the political stuff some project authors add to their blogs. 
Being a top-notch Java developer doesn't necessarily translate into keen
political insight.

:-)



>>> [EMAIL PROTECTED] 2005-04-29 12:26:53 AM >>>

http://www.jroller.com/page/JonathanLocke 

Martijn Dashorst wrote:

> Geertjan Wielenga wrote:
>
>> http://blogs.sun.com/geertjan 
>
>
> Your blog has been blogged :-)
>
> http://www.jroller.com/page/dashorst 
>
> Martijn
>
>
> ---
> SF.Net email is sponsored by: Tell us your software development
plans!
> Take this survey and enter to win a one-year sub to SourceForge.net
> Plus IDC's 2005 look-ahead and a copy of this survey
> Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix

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


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user

__
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com 
_


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] online cdapp example broken

2005-04-26 Thread Jonathan Carlson
Sorry, it looked like a computer monitor (or something) to me.  :-)   


>>> [EMAIL PROTECTED] 2005-04-26 2:36:08 PM >>>
But it is a trash can. And it's my favorite! What would be a better 
idea, is to have an ok/cancel javascript warning. Had that in mind 
anyway, but now the example is put live, I guess I have to make it a 
priority.

Eelco

Jonathan Carlson wrote:

>Maybe you could change the icon to either a trash can or a red "X".  
>
>I didn't know what it was so I tried clicking it to see what would
>happen.  Had it deleted something, it would have been a surprise,
which
>is usually to be avoided.  :-)
>
>
>  
>
>>>>[EMAIL PROTECTED] 2005-04-26 2:00:52 PM >>>
>>>>
>>>>
>Yeah. Ooops. That's the delete button... thought I fixed that one! 
>Anyway, it's not the only bug... when you add a new item, the list
>isn't 
>refreshed directly.
>
>I'll fix it now. Thanks,
>
>Eelco
>
>Jonathan Carlson wrote:
>
>  
>
>>I just ran across Martijn's blog about the new online cdapp example.

>>
>>
>As
>  
>
>>I played with it I ended up breaking it somehow.  
>>
>>When clicking on the little blue icon over on the right of the
search
>>results, I get a big stack trace.
>>
>>java.lang.IndexOutOfBoundsException: Index: 3, Size: 3
>>   at java.util.ArrayList.RangeCheck(ArrayList.java:547)
>>   at java.util.ArrayList.get(ArrayList.java:322)
>>   at
>>wicket.contrib.data.model.PageableList.get(PageableList.java:132)
>>   at
>>wicket.markup.html.list.ListItemModel.onAttach(ListItemModel.java:70)
>>   at
>>wicket.model.AbstractDetachableModel.attach(AbstractDetachableModel.java:50)
>>   at
>>wicket.markup.html.list.ListItemModel.(ListItemModel.java:53)
>>   at
>>wicket.markup.html.list.ListView.getListItemModel(ListView.java:390)
>>   at wicket.markup.html.list.ListView.newItem(ListView.java:463)
>>   at
>>wicket.markup.html.list.ListView.internalOnBeginRequest(ListView.java:438)
>>   at wicket.Component.internalBeginRequest(Component.java:1369)
>>   at
>>wicket.MarkupContainer.internalBeginRequest(MarkupContainer.java:288)
>>   at
>>wicket.MarkupContainer.internalBeginRequest(MarkupContainer.java:294)
>>   at wicket.Page.request(Page.java:461)
>>   ...
>>
>>Just thought you might like to know.  Maybe you didn't intend anyone
>>
>>
>to
>  
>
>>use it quite yet?
>>
>>
>>**
>>This email and any files transmitted with it are confidential and
>>intended solely for the use of the individual or entity to whom they
>>are addressed. If you have received this email in error please
notify
>>the system manager.
>>
>>www.katun.com 
>>**
>>
>>
>>
>>---
>>SF.Net email is sponsored by: Tell us your software development
>>
>>
>plans!
>  
>
>>Take this survey and enter to win a one-year sub to SourceForge.net
>>Plus IDC's 2005 look-ahead and a copy of this survey
>>Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix

>>
>>
>
>  
>
>>___
>>Wicket-user mailing list
>>Wicket-user@lists.sourceforge.net 
>>https://lists.sourceforge.net/lists/listinfo/wicket-user 
>> 
>>
>>
>>
>
>
>
>---
>SF.Net email is sponsored by: Tell us your software development
plans!
>Take this survey and enter to win a one-year sub to SourceForge.net
>Plus IDC's 2005 look-ahead and a copy of this survey
>Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix

>___
>Wicket-user mailing list
>Wicket-user@lists.sourceforge.net 
>https://lists.sourceforge.net/lists/listinfo/wicket-user 
>
>
>**
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the system manager.
>
>www.katun.com 
>**
>
>
>
>---
>SF.Net email is sponsored by: Tell us your software developm

Re: [Wicket-user] online cdapp example broken

2005-04-26 Thread Jonathan Carlson
Maybe you could change the icon to either a trash can or a red "X".  

I didn't know what it was so I tried clicking it to see what would
happen.  Had it deleted something, it would have been a surprise, which
is usually to be avoided.  :-)


>>> [EMAIL PROTECTED] 2005-04-26 2:00:52 PM >>>
Yeah. Ooops. That's the delete button... thought I fixed that one! 
Anyway, it's not the only bug... when you add a new item, the list
isn't 
refreshed directly.

I'll fix it now. Thanks,

Eelco

Jonathan Carlson wrote:

>I just ran across Martijn's blog about the new online cdapp example. 
As
>I played with it I ended up breaking it somehow.  
>
>When clicking on the little blue icon over on the right of the search
>results, I get a big stack trace.
>
>java.lang.IndexOutOfBoundsException: Index: 3, Size: 3
>at java.util.ArrayList.RangeCheck(ArrayList.java:547)
>at java.util.ArrayList.get(ArrayList.java:322)
>at
>wicket.contrib.data.model.PageableList.get(PageableList.java:132)
>at
>wicket.markup.html.list.ListItemModel.onAttach(ListItemModel.java:70)
>at
>wicket.model.AbstractDetachableModel.attach(AbstractDetachableModel.java:50)
>at
>wicket.markup.html.list.ListItemModel.(ListItemModel.java:53)
>at
>wicket.markup.html.list.ListView.getListItemModel(ListView.java:390)
>at wicket.markup.html.list.ListView.newItem(ListView.java:463)
>at
>wicket.markup.html.list.ListView.internalOnBeginRequest(ListView.java:438)
>at wicket.Component.internalBeginRequest(Component.java:1369)
>at
>wicket.MarkupContainer.internalBeginRequest(MarkupContainer.java:288)
>at
>wicket.MarkupContainer.internalBeginRequest(MarkupContainer.java:294)
>at wicket.Page.request(Page.java:461)
>...
>
>Just thought you might like to know.  Maybe you didn't intend anyone
to
>use it quite yet?
>
>
>**
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the system manager.
>
>www.katun.com 
>**
>
>
>
>---
>SF.Net email is sponsored by: Tell us your software development
plans!
>Take this survey and enter to win a one-year sub to SourceForge.net
>Plus IDC's 2005 look-ahead and a copy of this survey
>Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix

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



---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

www.katun.com
**



---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] online cdapp example broken

2005-04-26 Thread Jonathan Carlson
I just ran across Martijn's blog about the new online cdapp example.  As
I played with it I ended up breaking it somehow.  

When clicking on the little blue icon over on the right of the search
results, I get a big stack trace.

java.lang.IndexOutOfBoundsException: Index: 3, Size: 3
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at
wicket.contrib.data.model.PageableList.get(PageableList.java:132)
at
wicket.markup.html.list.ListItemModel.onAttach(ListItemModel.java:70)
at
wicket.model.AbstractDetachableModel.attach(AbstractDetachableModel.java:50)
at
wicket.markup.html.list.ListItemModel.(ListItemModel.java:53)
at
wicket.markup.html.list.ListView.getListItemModel(ListView.java:390)
at wicket.markup.html.list.ListView.newItem(ListView.java:463)
at
wicket.markup.html.list.ListView.internalOnBeginRequest(ListView.java:438)
at wicket.Component.internalBeginRequest(Component.java:1369)
at
wicket.MarkupContainer.internalBeginRequest(MarkupContainer.java:288)
at
wicket.MarkupContainer.internalBeginRequest(MarkupContainer.java:294)
at wicket.Page.request(Page.java:461)
...

Just thought you might like to know.  Maybe you didn't intend anyone to
use it quite yet?


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

www.katun.com
**



---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] ListView constructors

2005-04-21 Thread Jonathan Carlson
Super.  I can get it from CVS.

(I don't upgrade all the time because CVS isn't working very well on my
laptop.  I'm using Fedora Core 3 and I have found it crashing on me far
too often.  Even CVS won't log me in because it mangles my username for
some odd reason.  How frustrating!  I should update the OS, but I need a
faster internet connection for that.

Sorry for the whining.  :-)

On an up-note, though, I love Wicket.  No whining necessary about
that!



>>> [EMAIL PROTECTED] 2005-04-21 12:45:20 PM >>>
It is already in CVS HEAD! This will become available with RC3 or if
you
are really in need of this functionality, I can build a snapshot for
you...

   
http://sourceforge.net/tracker/index.php?func=detail&aid=1186504&group_id=119783&atid=684975


Martijn

Jonathan Carlson wrote:

>Is there a reason that there is no ListView(String id) constructor?
>
>I have a situation where I want to override initModel() with a
>dynamically generated model.
>
>Just wondering if that was overlooked.
>
>Thanks,
>
>Jonathan
>
>
>**
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the system manager.
>
>www.katun.com 
>**
>
>
>
>---
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real
users.
>Discover which products truly live up to the hype. Start reading now.
>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click 
>___
>Wicket-user mailing list
>Wicket-user@lists.sourceforge.net 
>https://lists.sourceforge.net/lists/listinfo/wicket-user 
>
>  
>



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real
users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

www.katun.com
**



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] ListView constructors

2005-04-21 Thread Jonathan Carlson
Is there a reason that there is no ListView(String id) constructor?

I have a situation where I want to override initModel() with a
dynamically generated model.

Just wondering if that was overlooked.

Thanks,

Jonathan


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

www.katun.com
**



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wiki

2005-04-20 Thread Jonathan Carlson
I'm curious why a Sourceforge e-mail address is required to register on
the wiki.

I have a sourceforge address, but it goes to my home e-mail which I'm
having trouble with right now.

Just curious.

- Jonathan C.


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

www.katun.com
**



---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wizards in wicket.

2005-04-19 Thread Jonathan Carlson
Thanks Martijn, You read my mind.  :-)  

I didn't see a link to it on the main Wiki page.  How are people going
to find it?


>>> [EMAIL PROTECTED] 2005-04-19 2:43:47 AM >>>
I have put this on the wiki 
(http://wicket.sourceforge.net/wiki/doku.php?id=user:building_wizard_functionality),

as this is a recurring question...

Martijn


Eelco Hillenius wrote:

> There are generally two ways of doing this (I think):
> 1. Page oriented. Create a page for each step, and record your status

> by either passing it to the step pages as you construct them.
> 2. Panel oriented, using:
>a. 'replace'. This way you have one panel (e.g. 'mywizPanel'), 
> where your step part of the wizzard is in. On a next step, replace
the 
> current panel with the next one. The advantage of this is that it is

> flexible (doesn't matter how many steps you have, you can allways 
> replace the panel with an arbitrairy other one. You let Wicket handle

> back-button support (Wicket will record undo's using a memento like 
> pattern).
>b. 'set/isVisible'. Here you create all instances of the panels
you 
> need beforehand, and put them all on the page (or wizzard panel), 
> using different names (e.g. 'myWizStep1' and 'myWizStep2'). The trick

> here is the set only the one visible that is currently active (thus 
> all others are not rendered). The advantage of this is that you only

> create the instances once, and that you don't have to record changes

> for backbutton support. However, it consumes more memory upfront, and

> you have to know your panel steps beforehand.
>
> With 2, I would record the wizzard state with the parent (page or 
> another panel).
>
> Another thing that might be a good idea, is to use command patterns 
> for navigation actions. For example, I use this for a project:
>
> public interface INavigationAction
> {
>void navigate(RequestCycle requestCycle);
> }
>
>/** action to navigate back to this page. */
>private final INavigationAction backToThisPageNavigationAction = 
> new INavigationAction()
>{
>public void navigate(RequestCycle requestCycle)
>{
>requestCycle.setResponsePage(VenueListPage.this);
>}
>};
>
> and then have something like:
>
>public VenueDetailsPage(Long venueId, INavigationAction 
> backNavigationAction)
>{
>   ...
>add(new Link("cancelButton")
>{
>public void onClick()
>{
>backNavigationAction.navigate(getRequestCycle());
>}
>});
> 
>
> Anyway, that's just an idea. You might come up with a more elegant 
> pattern, or you might be happy with a tight coupling between the 
> wizzard steps.
>
> Regards,
>
> Eelco
>
>
> Matthew Watson wrote:
>
>> Hi,
>>
>> I need to create a complicated wizard composed of numerous screens
and
>> buttons to navigate arround them.
>>
>> Using wicket whats the best approach to take? I know this is a
fairly
>> general question but I'm not entire sure where to start.
>>
>> Thanks in advance,
>> Matt
>>  
>>
>
>
>
> ---
> This SF.Net email is sponsored by: New Crystal Reports XI.
> Version 11 adds new functionality designed to reduce time involved
in
> creating, integrating, and deploying reporting solutions. Free
runtime 
> info,
> new features, or free trial, at:
http://www.businessobjects.com/devxi/728 
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/wicket-user 




---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime
info,
new features, or free trial, at:
http://www.businessobjects.com/devxi/728 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

www.katun.com
**



---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket

Re: [Wicket-user] 1.0 release idea...

2005-04-18 Thread Jonathan Carlson
I guess Wicket isn't quite so tied to any one version of those
libraries.  And OGNL may add some niceties without their ever changing
the API that Wicket uses.

- Jonathan


>>> [EMAIL PROTECTED] 2005-04-18 11:54:04 AM >>>
That's a smart trick they're doing. I'm not whether it is a good idea 
for Wicket however. I think we're not doing that bad, having just 3 
needed dependencies (ognl, concurrent and commons-logging... can
someone 
confirm we don't need dom4j?). The advantage of not packaging the jars

is that it allows users to choose which actual version of the 
distribution they want to use (e.g. ognl-2.6.5 instead of 2.6.7) and 
that it saves us the task of being up-to-date with the latest versions

of our dependencies.

Thanks for providing the idea, it looks usefull for my paid
projects...

Eelco

Jonathan Carlson wrote:

>I was noticing that Wicket seems to have a lot of dependencies.  I
think
>that is great (because you aren't reinventing the wheel), but it can
>easily cause great frustration if Wicket is used with other
frameworks
>that require a different version of one or more of those
dependencies.
>
>I noticed that Groovy is currently using the below tool (called
JarJar)
>so Groovy can be easily dropped into a project without potential for
>library version collisions.  I haven't used it, but it appears to
>repackage dependent libraries into the main Jar file with different
>package names.  The main code automatically references the new
dependent
>package names.
>
>http://tonicsystems.com/products/jarjar/ 
>
>The benefits I see: 
>  1) Just one Jar for people to drop into their webapp (I'm always
for
>making things feel easier and cleaner for new uers :-)
>  2) No strange issues related to dependency conflicts.  (Another
>ease-of-use/lack-of-frustration feature)
>  3) Fewer posts asking why something doesn't work when it's just a
>library version issue.
>
>My 2 cents :-)
>
>Jonathan
>
>  
>



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real
users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

www.katun.com
**



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] 1.0 release idea...

2005-04-18 Thread Jonathan Carlson
I was noticing that Wicket seems to have a lot of dependencies.  I think
that is great (because you aren't reinventing the wheel), but it can
easily cause great frustration if Wicket is used with other frameworks
that require a different version of one or more of those dependencies.

I noticed that Groovy is currently using the below tool (called JarJar)
so Groovy can be easily dropped into a project without potential for
library version collisions.  I haven't used it, but it appears to
repackage dependent libraries into the main Jar file with different
package names.  The main code automatically references the new dependent
package names.

http://tonicsystems.com/products/jarjar/

The benefits I see: 
  1) Just one Jar for people to drop into their webapp (I'm always for
making things feel easier and cleaner for new uers :-)
  2) No strange issues related to dependency conflicts.  (Another
ease-of-use/lack-of-frustration feature)
  3) Fewer posts asking why something doesn't work when it's just a
library version issue.

My 2 cents :-)

Jonathan




**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

www.katun.com
**



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] cdapp dependencies

2005-04-15 Thread Jonathan Carlson
I'm sorry I didn't wait until I had everything working to send an e-mail
about this.  Here are all the things I added to the cdapp
(wicket-contrib-examples) project.xml file to get it to run:


  commons-logging
  commons-logging
  1.0.4
  
true
  


  log4j
  log4j
  1.2.8
  
true
  


  concurrent
  concurrent
  1.3.3
  
true
  


  dom4j
  dom4j
  1.4
  
true
  


Have a great weekend!

- Jonathan


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

www.katun.com
**



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-contrib-examples is missing commons-logging dependency

2005-04-15 Thread Jonathan Carlson
It seems to be missing the log4j dependency as well.

Thanks!

Jonathan


>>> [EMAIL PROTECTED] 2005-04-15 4:47:32 PM >>>
I think wicket-stuff/wicket-contrib-examples/project.xml needs
commons-logging added to its dependencies.

I know I have CVS access but my employer is blocking all SSH ports
right now  :-( 






**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

www.katun.com 
**



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real
users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket-contrib-examples is missing commons-logging dependency

2005-04-15 Thread Jonathan Carlson
I think wicket-stuff/wicket-contrib-examples/project.xml needs
commons-logging added to its dependencies.

I know I have CVS access but my employer is blocking all SSH ports
right now  :-( 






**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

www.katun.com
**



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket has been blogged

2005-04-14 Thread Jonathan Carlson
This was just posted an hour or so ago.

http://raibledesigns.com/page/rd/20050414#why_wicket_looks_cool


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

www.katun.com
**



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] ChoiceList

2005-04-14 Thread Jonathan Carlson
I like the new Choice refactoring so far.

I think it would be helpful to be able to specify a PropertyModel
expression for the displayValue of each IChoice.  The current
implementation assumes that toString() is good enough, which it isn't
always.

I don't see an obvious way to change that without subclassing
ChoiceList and reimplement the Choice inner class.  That's kind of a lot
of code to replicate, which makes me think maybe there's a refactoring
opportunity here.

Any ideas?  Or should I just stick with my idea of subclassing
ChoiceList and reimplementing Choice?

Thanks,

- Jonathan




**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

www.katun.com
**



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Legos -- lowering the bar

2005-04-13 Thread Jonathan Carlson
Thanks, I hadn't thought of using the Wiki for this.  

Is the cdapp source online as HTML?  If so, I can try to create wiki
links as I run into stuff, but it will be slow in coming and I probably
won't hit all of the items Eelco mentioned.

Jon's latest additions to the wiki were much appreciated.  I had been
thinking there was a need to explain the lifecycle better... and the
model stuff he added was important to me too.

- JC


>>> [EMAIL PROTECTED] 2005-04-13 12:38:05 PM >>>
/You/ could contribute this as well! Use the wiki for this. If you
can't
access the wiki, email me a MD5 hash of your required password, and
the
username you want to use, and I'll add you to the wiki.

As it stands, the wiki could be used more. By contributing your
findings, you help us in several ways:
 - you lighten the burden of our development efforts
 - you make (very explicitly) clear what kind of documentation you
need
 - you help the community by sharing your knowlegde

Your remarks are useful and the lack of good user documentation is
troublesome. We are in the process of writing articles to help solve
this. The main problem here is time and willpower. I'm a developer and
I
like writing Java most. I do see the need of a user manual, and am
willing to go a long way but *procrastinating* just feels sooo gd 
;-)
 
Martijn

Jonathan Carlson wrote:

>In my previous e-mail I mentioned having an index to example cdapp
>source classes for how to do complex things.  I'm sorry if I'm
beating
>on this too hard, but when I think something is probably important I
>tend to beat on it.
>
>I look at Wicket kind of like I look at Lego kits.  
>
>When I was growing up the Lego kits pretty much just came with a few
>basic shapes and a couple of pictures on the box of a house or
>skyscraper.  That was cool, but it was all pretty basic and got
boring
>after a while.
>
>But now the new Lego designer kits come with many more shapes and
sizes
>and, more importantly, a 30-paged book giving step-by-step examples
on
>making complex air-planes, rockets, semi-trailer trucks, etc using
the
>same 150+ pieces in a kit.
>
>Suddenly Legos have become much more fun and interesting.  Taking the
>time to add an instruction booklet brings the full power of Legos and
>the imagination of it's original designers to people (like me :-) who
>don't have a lot of time or imagination to figure out how "standard"
>pieces can fit together in different ways to create unique solutions
to
>complex problems.
>
>Sorry if I'm beating a dead horse.  :-)  I just liked the Lego
analogy
>and had to share it because I think it is relevant.  I don't think
>Wicket needs lots of step-by-step examples yet (although in a book
>someday that would be great) but simple web pointers to possible
>solutions in the example cdapp source code would go a looong way
towards
>the same end, IMHO.
>
>:-)
>
>- Jonathan
>
>
>**
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the system manager.
>
>www.katun.com 
>**
>
>
>
>---
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real
users.
>Discover which products truly live up to the hype. Start reading now.
>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click 
>___
>Wicket-user mailing list
>Wicket-user@lists.sourceforge.net 
>https://lists.sourceforge.net/lists/listinfo/wicket-user 
>
>  
>



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real
users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

www.katun.com
**



---
SF email is sponsored by 

[Wicket-user] Legos -- lowering the bar

2005-04-13 Thread Jonathan Carlson
In my previous e-mail I mentioned having an index to example cdapp
source classes for how to do complex things.  I'm sorry if I'm beating
on this too hard, but when I think something is probably important I
tend to beat on it.

I look at Wicket kind of like I look at Lego kits.  

When I was growing up the Lego kits pretty much just came with a few
basic shapes and a couple of pictures on the box of a house or
skyscraper.  That was cool, but it was all pretty basic and got boring
after a while.

But now the new Lego designer kits come with many more shapes and sizes
and, more importantly, a 30-paged book giving step-by-step examples on
making complex air-planes, rockets, semi-trailer trucks, etc using the
same 150+ pieces in a kit.

Suddenly Legos have become much more fun and interesting.  Taking the
time to add an instruction booklet brings the full power of Legos and
the imagination of it's original designers to people (like me :-) who
don't have a lot of time or imagination to figure out how "standard"
pieces can fit together in different ways to create unique solutions to
complex problems.

Sorry if I'm beating a dead horse.  :-)  I just liked the Lego analogy
and had to share it because I think it is relevant.  I don't think
Wicket needs lots of step-by-step examples yet (although in a book
someday that would be great) but simple web pointers to possible
solutions in the example cdapp source code would go a looong way towards
the same end, IMHO.

:-)

- Jonathan


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

www.katun.com
**



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] where did cdapp go?

2005-04-13 Thread Jonathan Carlson
This might be asking a lot but...

A list like this would be great on the Wicket features page with links
to the cdapp page source that demonstrates each of these things.  For
example, I wasn't aware that Wicket yet supported a pagable list model
that only loads data as needed and it would be very helpful not to have
to get cdapp running in order to find out where that is used or how that
is implemented.

I think having a prominent (easily found) index of where to find
complex examples like this would entice more people to try Wicket on
their own complex needs.

Just thinking of ways to "lower the bar" and entice more people into
jumping into Wicket.

- Jonathan


>>> [EMAIL PROTECTED] 2005-04-13 1:34:01 AM >>>
I saw this question (where did cdapp go) on one of the lists recently.

Cdapp was moved to wicket-stuff (http://wicket-stuff.sourceforge.net/)

as part of the examples subproject. Unfortunately, I haven't had the 
time to make a decent distrubution, so you won't find it in the file 
section. The CVS version works fine however. We (Martijn and I) will
try 
to get a decent build for all of the wicket-stuff projects this
weekend.

I think cdapp is a nice example to look at, as it is much more
elaborate 
than the core examples (except for the display tag example). There's a

bunch of trick's/ patterns in it you might find interesting to take a 
look at:

* persistency using Hibernate
* cooperation between search form, results label and results list
view
* pageable ListView with navigation
* pageable list that only loads what is actually needed while
acting
  as a real list
* custom WebRequestCycle that sets up a Hibernate session for each
  request
* base page that provides the business layer objects (CdDao) so
that
  these objects can be constructed in an IoC like manner (CdDao
  doesn't have to know anything about the wicket/ the world and
has
  its hibernate session provided).
* Links attached to non-anchor () elements
* clickable headers that sort the current results alternately
* navigation from search to details and back again
* reuse of edit page for new and existing persistent objects
* uploading of images
* automated thumbnail creation for display using
ThumbnailImageResource
* sized-to-fit popup that shows actual image and that closes on
click
* display of packaged image (questionmark.gif) when no image is
coupled
* (not really wicket related) automatic database creation using
  Hibernate

Regards,

Eelco


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real
users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

www.katun.com
**



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] where did cdapp go?

2005-04-13 Thread Jonathan Carlson
Thanks Eelco.  This really helps me to know what to look for in the
CDAPP example.

>>> [EMAIL PROTECTED] 2005-04-13 1:34:01 AM >>>
I saw this question (where did cdapp go) on one of the lists recently.

Cdapp was moved to wicket-stuff (http://wicket-stuff.sourceforge.net/)

as part of the examples subproject. Unfortunately, I haven't had the 
time to make a decent distrubution, so you won't find it in the file 
section. The CVS version works fine however. We (Martijn and I) will
try 
to get a decent build for all of the wicket-stuff projects this
weekend.

I think cdapp is a nice example to look at, as it is much more
elaborate 
than the core examples (except for the display tag example). There's a

bunch of trick's/ patterns in it you might find interesting to take a 
look at:

* persistency using Hibernate
* cooperation between search form, results label and results list
view
* pageable ListView with navigation
* pageable list that only loads what is actually needed while
acting
  as a real list
* custom WebRequestCycle that sets up a Hibernate session for each
  request
* base page that provides the business layer objects (CdDao) so
that
  these objects can be constructed in an IoC like manner (CdDao
  doesn't have to know anything about the wicket/ the world and
has
  its hibernate session provided).
* Links attached to non-anchor () elements
* clickable headers that sort the current results alternately
* navigation from search to details and back again
* reuse of edit page for new and existing persistent objects
* uploading of images
* automated thumbnail creation for display using
ThumbnailImageResource
* sized-to-fit popup that shows actual image and that closes on
click
* display of packaged image (questionmark.gif) when no image is
coupled
* (not really wicket related) automatic database creation using
  Hibernate

Regards,

Eelco


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real
users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

www.katun.com
**



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


  1   2   >