[Wicket-user] ballet

2006-11-03 Thread Jasper Merritt





NET as the reporting development tool. NET Web Sample Applications
package. To resolve it, ensure that all fonts the report uses are
installed on the computer that the application is deployed to. If you
are using the Crystal Reports Designer, use the Standard Report Wizard
to create the report.
NET and Crystal Reports for Visual Studio .
Find out how to use Crystal's report formatting options, so that when
exporting from Crystal Reports . NET is how to automatically print a
Crystal Report.
This article outlines troubleshooting techniques for database logon
problems.
When the application runs a report that uses a large dataset, the
following error message appears: "A processing limit was reached. NET as
the reporting development tool.
NET and Crystal Reports for Visual Studio . Read this knowledge base
article to learn how to resolve it.
NET web application uses Crystal Reports for Visual Studio . NET web
application uses Crystal Reports for Visual Studio .
After completing these steps, you will be able to successfully export a
Crystal Report from your .
NET application showcasing Crystal Enterprise, Business Views and
Crystal Reports for . End-users and developers alike can get value from
this tool.
NET, create the report as a Blank Report. To resolve this issue, upgrade
the deployment package with the latest Merge Modules for Crystal Reports
for .
You can enable the ActiveX Print option using one of the two methods
explained in this article.
If you are using the integrated Crystal Reports Designer in Visual
Studio . NET and Crystal Reports for Visual Studio . Both merge modules
and interactive install packages are discussed.
Read this knowledge base article to learn how to resolve it.
NET using the Report Application Server .



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


[Wicket-user] bug in WicketTester?

2006-11-03 Thread Dmitry Kandalov

I put BookmarkablePageLink on WebPage like this:
firstPage.add( new BookmarkablePageLink( "link", SecondPage.class, new
PageParameters( "id=1" ) ) );

and then I test it using WicketTester:
wicketTester.startPage( FirstPage.class );
wicketTester.clickLink( "link" );

The problem is that wicketTester doesn't pass PageParameters to SecondPage
(because parameters aren't passed to MockHttpServletRequest).

ps I use wicket 1.2.3.
-- 
View this message in context: 
http://www.nabble.com/bug-in-WicketTester--tf2572822.html#a7172181
Sent from the Wicket - User mailing list archive at Nabble.com.


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


[Wicket-user] are unicode resource bundles supported?

2006-11-03 Thread Dmitry Kandalov

I found wicket-Feature Requests-1494546 at 
http://www.nabble.com/--wicket-Feature-Requests-1494546---unicode-resource-bundles-tf1677225.html#a4547980
but there is no answer whether this feature is implemented or not
(specifically in 1.2.3).
-- 
View this message in context: 
http://www.nabble.com/are-unicode-resource-bundles-supported--tf2572775.html#a7172088
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: [Wicket-user] Wicket performance in high availability applications?

2006-11-03 Thread Igor Vaynberg
the entire component hierarchy is stored in sessionit goes something like thisyou create a page and all its components, that page is stored in sessionwhen you click a link on that page wicket pulls out the appropriate page from the session , finds the appropriate link component, and invokes the listener onclick() on it. if your onclick doesnt call setresponsepage the same page renders again and the entire process repeats.
components have request lifecycle listenerssee Component.onAttach() onDetach() onBeginRender() onEndRender()maybe someone with omnigraffle can make a pretty chart.-igor
On 11/3/06, Carfield Yim <[EMAIL PROTECTED]> wrote:
Actually may be using the term life cycle is not really accurate, thething I interested to know is like how many component is cached, whatis the level of caching? Say I have a component used in differencepage, are thoses component render difference times or it render once
then put to the cache and later page refer to the cache and get thatcomponets.And is there something like init-execution-destroy processing for allcomponent? Look like all component do every setup in the constructor,
just wonder if there is any destroy process of individual comonent orit just rely on GC.On 11/3/06, Johan Compagner <[EMAIL PROTECTED]> wrote:> why would that be help full in performance?
>> What you should know when the session is created and when pages are created> and what does happen to that after that.>> johan>>> On 11/3/06, Carfield Yim <
[EMAIL PROTECTED]> wrote:> > I personally think this is nice to show the life-cycle from the> > container start to generate a page at some where in wiki. Sound like> > this is a complex process that many user of wicket like to learn more
> > and understand more about the performance impact to their application?> >> > On 11/3/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > > > I have a few questions:> > > >> > > > 1) Does anyone know of Wicket being used on a high traffic website?> > >> > > I know of people building them, but the ones I know are not yet in
> > > full production. But maybe someone else on this list knows.> > >> > > > 2) What are some of the challenges related to scaling a Wicket> > > > application (beyond the general servlet recommendations of being
> > > > stateless as long as possible, keeping the state small to facilitate> > > > clustering, etc)?> > >> > > The only tradeoff of Wicket is that Wicket is heavy on memory. While
> > > that is not a big problem per se, it is something to keep in the back> > > of your mind, and one of the first things you would optimize when the> > > time comes to tweak your application. In general, try to use
> > > detachable models when you create database driven apps, tweak the> > > number of history items kept, etc. Oh, and don't forget to set wicket> > > to deployment:> > >
> > > > > >   configuration> > >   deployment> > > 
> > >> > > in web.xml. That'll have quite a big impact on the throughput.> > >> > > One thing to be careful of is Wicket with (public facing) sites with a> > > load that is hard to predict. If you have very large peaks you
> > > probably want to keep your session time out low, and investigate> > > stateless pages (and forms and links etc), which are most mature in> > > Wicket 2.0 (though there is limiited support in 
1.2).> > >> > >> > > > 3) Tapestry uses page and component pooling to help achieve higher> > > > throughput...> > >> > > Yeah, and whether that is a good thing is highly debatable. If you
> > > read up on optimizing Java code, object pooling is usually on top of> > > the list of things you *should not* do, as it is likely the> > > synchronization you need will the bottleneck and hotspot is very good
> > > in managing short lived objects.> > >> > > We have tested Tapestry vs Wicket performance a bit over a year ago,> > > to look for spots we might optimize, and our results were that Wicket
> > > had a higher throughput even without optimization.> > >> > > > It doesn't appear like Wicket can employ such a> > > > technique due to the framework allowing direct page and component
> > > > instantiation. Are pages and components so light weight pooling them> > > > is not worth the disadvantages of not being able to pass parameters> > > > via constructor or is this a known trade off?
> > >> > > Wicket's unmanaged model encompasses much more than just passing in> > > parameters in the constructor. It means you decide on any form of> > > construction you like, it means you can program 'just java' as you
> > > would do in other tiers of your application, and you can construct all> > > the aggregations you want. Furthermore, like I said above, pooling is> > > not even an advantage.
> > >> > > > Thanks for any information you can provide! I will be sure to post the> > > > results of my investigation on this list in a week or two.> > > >> > > > Ryan
> > >> > > Sure. Maybe you want to share the exact tests you're doing too?> > >> > > Eelco> > >> > >

Re: [Wicket-user] Wicket performance in high availability applications?

2006-11-03 Thread Carfield Yim
Actually may be using the term life cycle is not really accurate, the
thing I interested to know is like how many component is cached, what
is the level of caching? Say I have a component used in difference
page, are thoses component render difference times or it render once
then put to the cache and later page refer to the cache and get that
componets.

And is there something like init-execution-destroy processing for all
component? Look like all component do every setup in the constructor,
just wonder if there is any destroy process of individual comonent or
it just rely on GC.


On 11/3/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> why would that be help full in performance?
>
> What you should know when the session is created and when pages are created
> and what does happen to that after that.
>
> johan
>
>
> On 11/3/06, Carfield Yim <[EMAIL PROTECTED]> wrote:
> > I personally think this is nice to show the life-cycle from the
> > container start to generate a page at some where in wiki. Sound like
> > this is a complex process that many user of wicket like to learn more
> > and understand more about the performance impact to their application?
> >
> > On 11/3/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > > > I have a few questions:
> > > >
> > > > 1) Does anyone know of Wicket being used on a high traffic website?
> > >
> > > I know of people building them, but the ones I know are not yet in
> > > full production. But maybe someone else on this list knows.
> > >
> > > > 2) What are some of the challenges related to scaling a Wicket
> > > > application (beyond the general servlet recommendations of being
> > > > stateless as long as possible, keeping the state small to facilitate
> > > > clustering, etc)?
> > >
> > > The only tradeoff of Wicket is that Wicket is heavy on memory. While
> > > that is not a big problem per se, it is something to keep in the back
> > > of your mind, and one of the first things you would optimize when the
> > > time comes to tweak your application. In general, try to use
> > > detachable models when you create database driven apps, tweak the
> > > number of history items kept, etc. Oh, and don't forget to set wicket
> > > to deployment:
> > >
> > > 
> > >   configuration
> > >   deployment
> > > 
> > >
> > > in web.xml. That'll have quite a big impact on the throughput.
> > >
> > > One thing to be careful of is Wicket with (public facing) sites with a
> > > load that is hard to predict. If you have very large peaks you
> > > probably want to keep your session time out low, and investigate
> > > stateless pages (and forms and links etc), which are most mature in
> > > Wicket 2.0 (though there is limiited support in 1.2).
> > >
> > >
> > > > 3) Tapestry uses page and component pooling to help achieve higher
> > > > throughput...
> > >
> > > Yeah, and whether that is a good thing is highly debatable. If you
> > > read up on optimizing Java code, object pooling is usually on top of
> > > the list of things you *should not* do, as it is likely the
> > > synchronization you need will the bottleneck and hotspot is very good
> > > in managing short lived objects.
> > >
> > > We have tested Tapestry vs Wicket performance a bit over a year ago,
> > > to look for spots we might optimize, and our results were that Wicket
> > > had a higher throughput even without optimization.
> > >
> > > > It doesn't appear like Wicket can employ such a
> > > > technique due to the framework allowing direct page and component
> > > > instantiation. Are pages and components so light weight pooling them
> > > > is not worth the disadvantages of not being able to pass parameters
> > > > via constructor or is this a known trade off?
> > >
> > > Wicket's unmanaged model encompasses much more than just passing in
> > > parameters in the constructor. It means you decide on any form of
> > > construction you like, it means you can program 'just java' as you
> > > would do in other tiers of your application, and you can construct all
> > > the aggregations you want. Furthermore, like I said above, pooling is
> > > not even an advantage.
> > >
> > > > Thanks for any information you can provide! I will be sure to post the
> > > > results of my investigation on this list in a week or two.
> > > >
> > > > Ryan
> > >
> > > Sure. Maybe you want to share the exact tests you're doing too?
> > >
> > > Eelco
> > >
> > >
> -
> > > Using Tomcat but need to do more? Need to support web services,
> security?
> > > Get stuff done quickly with pre-integrated technology to make your job
> easier
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> > >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >
> https://lists.sourceforge.net

Re: [Wicket-user] Wicket Hosting?

2006-11-03 Thread Nick Heudecker
I've been happy with eApps.com.On 11/3/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
There is no specific requirement which Wicket imposes on the provider.Use any provider you like. wicket-library is hosted at Kattare, which
works well. No real problems so far.JuergenOn 11/3/06, Jonathan Sharp <[EMAIL PROTECTED]> wrote:> What wicket friendly hosting providers would people recommend?
>> -js>> -> Using Tomcat but need to do more? Need to support web services, security?> Get stuff done quickly with pre-integrated technology to make your job
> easier> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> ___> Wicket-user mailing list> Wicket-user@lists.sourceforge.net> 
https://lists.sourceforge.net/lists/listinfo/wicket-user>>>-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] [Fwd: Emory Utilities]

2006-11-03 Thread Eelco Hillenius
On 11/3/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> shouldnt this be fixed on the container level, we get our classloader from
> the container no?
>
> -igor

Sure, if that is easier/ better. So far we haven't fixed it, so if
including an extra class and using that works that would be an easy
'fix'. Though I'm not to bothered by this issue in the first place, as
it is not a problem when Wicket is set in deployment mode.

Eelco

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


Re: [Wicket-user] [Fwd: Emory Utilities]

2006-11-03 Thread Igor Vaynberg
shouldnt this be fixed on the container level, we get our classloader from the container no?-igorOn 11/3/06, Eelco Hillenius <
[EMAIL PROTECTED]> wrote:A yeah. For some reason I missed that. Duh.
If one of our mentors is reading with us, could you confirm thatincluding the classes we are interested in wouldn't be a problem?Other devs, what do you think of this?EelcoOn 11/3/06, Marc-Andre Houle <
[EMAIL PROTECTED]> wrote:> I don't know lot about licence, but it seem's it can be used as you want :>> Licence link found on this page :> 
http://dcl.mathcs.emory.edu/util/index.php> Link to the licence :> http://creativecommons.org/licenses/publicdomain>>>
> On 11/3/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:> > It looks nice, but I can't find what licence they use, and I> > wouldn't want to have an extra dependency for Wicket (so it would only
> > be ok if we would include the class in our project). Furthermore, the> > JAR reloading problem only exists when in development mode. When you> > turn on deployment mode - which everyone *should* do anyway for
> > production systems - the JAR reloading problem goes away.> >> > Eelco> >> >> > On 11/3/06, cowwoc <[EMAIL PROTECTED]
 > wrote:> > >> > > Cross-post from the JINI mailing list that might be of some> interest to> > > the wicket development team. Can't you use this to fix the JAR reloading
> > > problem you discussed earlier?> > >> > > Gili> > >> > >  Original Message > > > Seems like some of these classes (especially the URIClassLoader that
> > > fixes some URLCLassLoader issues wrt reloading of classes) may be of> > > use in the community. Anybody have any experience or thoughts about> > > these utilities?> > >
> > > http://dcl.mathcs.emory.edu/util/features.php> > >> > > Dennis> > >> > >> > >
> > >> -> > > Using Tomcat but need to do more? Need to support web services,> security?> > > Get stuff done quickly with pre-integrated technology to make your job
> easier> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache> Geronimo> > >> 
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > >> > > ___> > > Wicket-user mailing list> > > 
Wicket-user@lists.sourceforge.net> > >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >> > >> > >> > >> >> >> -> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job> easier> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> >> 
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > ___> > Wicket-user mailing list> > 
Wicket-user@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/wicket-user>  -
> Using Tomcat but need to do more? Need to support web services, security?> Get stuff done quickly with pre-integrated technology to make your job> easier> Download IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> ___> Wicket-user mailing list> Wicket-user@lists.sourceforge.net> 
https://lists.sourceforge.net/lists/listinfo/wicket-user>>>-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Hosting?

2006-11-03 Thread Juergen Donnerstag
There is no specific requirement which Wicket imposes on the provider.
Use any provider you like. wicket-library is hosted at Kattare, which
works well. No real problems so far.

Juergen

On 11/3/06, Jonathan Sharp <[EMAIL PROTECTED]> wrote:
> What wicket friendly hosting providers would people recommend?
>
> -js
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

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


[Wicket-user] Wicket Hosting?

2006-11-03 Thread Jonathan Sharp
What wicket friendly hosting providers would people recommend?-js
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] [Fwd: Emory Utilities]

2006-11-03 Thread Eelco Hillenius
A yeah. For some reason I missed that. Duh.

If one of our mentors is reading with us, could you confirm that
including the classes we are interested in wouldn't be a problem?
Other devs, what do you think of this?

Eelco


On 11/3/06, Marc-Andre Houle <[EMAIL PROTECTED]> wrote:
> I don't know lot about licence, but it seem's it can be used as you want :
>
> Licence link found on this page :
> http://dcl.mathcs.emory.edu/util/index.php
> Link to the licence :
> http://creativecommons.org/licenses/publicdomain
>
>
>
> On 11/3/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:
> > It looks nice, but I can't find what licence they use, and I
> > wouldn't want to have an extra dependency for Wicket (so it would only
> > be ok if we would include the class in our project). Furthermore, the
> > JAR reloading problem only exists when in development mode. When you
> > turn on deployment mode - which everyone *should* do anyway for
> > production systems - the JAR reloading problem goes away.
> >
> > Eelco
> >
> >
> > On 11/3/06, cowwoc <[EMAIL PROTECTED] > wrote:
> > >
> > > Cross-post from the JINI mailing list that might be of some
> interest to
> > > the wicket development team. Can't you use this to fix the JAR reloading
> > > problem you discussed earlier?
> > >
> > > Gili
> > >
> > >  Original Message 
> > > Seems like some of these classes (especially the URIClassLoader that
> > > fixes some URLCLassLoader issues wrt reloading of classes) may be of
> > > use in the community. Anybody have any experience or thoughts about
> > > these utilities?
> > >
> > > http://dcl.mathcs.emory.edu/util/features.php
> > >
> > > Dennis
> > >
> > >
> > >
> > >
> -
> > > Using Tomcat but need to do more? Need to support web services,
> security?
> > > Get stuff done quickly with pre-integrated technology to make your job
> easier
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> > >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > >
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> > >
> > >
> >
> >
> -
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job
> easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

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


Re: [Wicket-user] A wicket book in chinese is available free

2006-11-03 Thread Eelco Hillenius

Very cool! 
http://chillenious.wordpress.com/2006/11/03/chinese-wicket-book-available-now/

Thanks,

Eelco


On 11/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


I Just finished a book about wicket.
But it's a pity that it is written in chinese.
Maybe most of the users in the mail list can't read.
But i still hope it can help the wicket users in china.

You can read this book on the following url.

http://gocom.primeton.com/
The pdf version is also available.
__
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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



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


Re: [Wicket-user] [Fwd: Emory Utilities]

2006-11-03 Thread Marc-Andre Houle
I don't know lot about licence, but it seem's it can be used as you want : Licence link found on this page : http://dcl.mathcs.emory.edu/util/index.phpLink to the licence : 
http://creativecommons.org/licenses/publicdomainOn 11/3/06, Eelco Hillenius <
[EMAIL PROTECTED]> wrote:It looks nice, but I can't find what licence they use, and I
wouldn't want to have an extra dependency for Wicket (so it would onlybe ok if we would include the class in our project). Furthermore, theJAR reloading problem only exists when in development mode. When you
turn on deployment mode - which everyone *should* do anyway forproduction systems - the JAR reloading problem goes away.EelcoOn 11/3/06, cowwoc <[EMAIL PROTECTED]
> wrote:>> Cross-post from the JINI mailing list that might be of some interest to> the wicket development team. Can't you use this to fix the JAR reloading> problem you discussed earlier?
>> Gili>>  Original Message > Seems like some of these classes (especially the URIClassLoader that> fixes some URLCLassLoader issues wrt reloading of classes) may be of
> use in the community. Anybody have any experience or thoughts about> these utilities?>> http://dcl.mathcs.emory.edu/util/features.php
>> Dennis -> Using Tomcat but need to do more? Need to support web services, security?> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> ___> Wicket-user mailing list> Wicket-user@lists.sourceforge.net> 
https://lists.sourceforge.net/lists/listinfo/wicket-user-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Global, Thread specific Property

2006-11-03 Thread Eelco Hillenius
Override wicket.protocol.http.WebApplication#getDefaultRequestCycleFactory()

Eelco


On 11/3/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> Hi Eelco,
>
> this might work! But how can i provide a custom request cycle? I found no
> info so far, and wiki also tells nothing.
>
> Best Regards,
>
> Korbinian
>
> > -Ursprüngliche Nachricht-
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Im Auftrag
> > von Eelco Hillenius
> > Gesendet: Freitag, 3. November 2006 18:19
> > An: wicket-user@lists.sourceforge.net
> > Betreff: Re: [Wicket-user] Global, Thread specific Property
> >
> > Such things typically are best done in RequestCycle. You can
> > provide a custom request cycle, and then override
> > onBeginRequest to set your thread scoped variable, and
> > onEndRequest to clean it up again. You can access the request
> > cycle by doing RequestCycle.get(), though you might also
> > decide to store your variable in some other thread local with
> > static access.
> >
> > Eelco
> >
> >
> > On 11/3/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > i've got a problem and i dont know how to solve it. I work with
> > > PageParameters and the thing that i allways have to pull
> > them around
> > > makes me sad. Is there a way how i can have a global object holding
> > > the current PageParameters that can be accessed without
> > passing in the
> > > PageParameters into a constructor?
> > >
> > > e.g: not matter where i want to access
> > > GlobalThreadSpecificObject.getParam("foo") - i can call it on any
> > > component or in any page... ?
> > >
> > > The reason is that i use IndexedPageParams and have panels that are
> > > dependent on a specific param value and also need a flexible way to
> > > change the number, the params are hanging on as the number of
> > > preceeding PageParameters can change later on
> > >
> > > Best Regards,
> > >
> > > Korbinian
> > >
> > >
> > >
> > >
> > --
> > > --- Using Tomcat but need to do more? Need to support web services,
> > > security?
> > > Get stuff done quickly with pre-integrated technology to
> > make your job
> > > easier Download IBM WebSphere Application Server v.1.0.1 based on
> > > Apache Geronimo
> > >
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216
> > > 42 ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> > --
> > ---
> > Using Tomcat but need to do more? Need to support web
> > services, security?
> > Get stuff done quickly with pre-integrated technology to make
> > your job easier Download IBM WebSphere Application Server
> > v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&;
> dat=121642
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

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


Re: [Wicket-user] [Fwd: Emory Utilities]

2006-11-03 Thread Eelco Hillenius
It looks nice, but I can't find what licence they use, and I
wouldn't want to have an extra dependency for Wicket (so it would only
be ok if we would include the class in our project). Furthermore, the
JAR reloading problem only exists when in development mode. When you
turn on deployment mode - which everyone *should* do anyway for
production systems - the JAR reloading problem goes away.

Eelco


On 11/3/06, cowwoc <[EMAIL PROTECTED]> wrote:
>
> Cross-post from the JINI mailing list that might be of some interest 
> to
> the wicket development team. Can't you use this to fix the JAR reloading
> problem you discussed earlier?
>
> Gili
>
>  Original Message 
> Seems like some of these classes (especially the URIClassLoader that
> fixes some URLCLassLoader issues wrt reloading of classes) may be of
> use in the community. Anybody have any experience or thoughts about
> these utilities?
>
> http://dcl.mathcs.emory.edu/util/features.php
>
> Dennis
>
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>
>

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


Re: [Wicket-user] Global, Thread specific Property

2006-11-03 Thread Korbinian Bachl
Hi Eelco,

this might work! But how can i provide a custom request cycle? I found no
info so far, and wiki also tells nothing.

Best Regards,

Korbinian

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im Auftrag 
> von Eelco Hillenius
> Gesendet: Freitag, 3. November 2006 18:19
> An: wicket-user@lists.sourceforge.net
> Betreff: Re: [Wicket-user] Global, Thread specific Property
> 
> Such things typically are best done in RequestCycle. You can 
> provide a custom request cycle, and then override 
> onBeginRequest to set your thread scoped variable, and 
> onEndRequest to clean it up again. You can access the request 
> cycle by doing RequestCycle.get(), though you might also 
> decide to store your variable in some other thread local with 
> static access.
> 
> Eelco
> 
> 
> On 11/3/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > i've got a problem and i dont know how to solve it. I work with 
> > PageParameters and the thing that i allways have to pull 
> them around 
> > makes me sad. Is there a way how i can have a global object holding 
> > the current PageParameters that can be accessed without 
> passing in the 
> > PageParameters into a constructor?
> >
> > e.g: not matter where i want to access
> > GlobalThreadSpecificObject.getParam("foo") - i can call it on any 
> > component or in any page... ?
> >
> > The reason is that i use IndexedPageParams and have panels that are 
> > dependent on a specific param value and also need a flexible way to 
> > change the number, the params are hanging on as the number of 
> > preceeding PageParameters can change later on
> >
> > Best Regards,
> >
> > Korbinian
> >
> >
> >
> > 
> --
> > --- Using Tomcat but need to do more? Need to support web services, 
> > security?
> > Get stuff done quickly with pre-integrated technology to 
> make your job 
> > easier Download IBM WebSphere Application Server v.1.0.1 based on 
> > Apache Geronimo
> > 
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216
> > 42 ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> 
> --
> ---
> Using Tomcat but need to do more? Need to support web 
> services, security?
> Get stuff done quickly with pre-integrated technology to make 
> your job easier Download IBM WebSphere Application Server 
> v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&;
dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 


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


Re: [Wicket-user] Wicket performance in high availability applications?

2006-11-03 Thread Eelco Hillenius
> The biggest hurdle I can think of now, apart from API stabilization is
> the legal stuff. This will take us a while to get it according to
> Apache standards. And until the book is done, I hardly see us working
> on the legal things.

Why not? We have more than 10 active people in our team! :)

Eelco

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


Re: [Wicket-user] Strategy to avoid new instances of pages and panels

2006-11-03 Thread Eelco Hillenius
On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Martijn,
>
> isn`t this a problem of the framework itself? When I have page
> constcted from serveral subcomponents then my JVM will run
> out of memory after some user.

Well, every user (session) will use memory, correct. But only to a
certain limit. Wicket 1.2 holds a couple of page/ versions in a
session, and Wicket 2.0 by default only holds the current one. So the
creation of a fresh instance (e.g. a bookmarkable page) will replace
another one. Hence, how much memory you'll need is a simple function
of the number of concurrent sessions times the size of your session
and page(s) in it.

Eelco

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


Re: [Wicket-user] Wicket performance in high availability applications?

2006-11-03 Thread Martijn Dashorst
On 11/3/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> When the API is fixed, we can churn out betas and it'll
> be a few months until all the nitty gritty details are settled (though
> so far, there have not been that many urgent problems with 2.0).

The biggest hurdle I can think of now, apart from API stabilization is
the legal stuff. This will take us a while to get it according to
Apache standards. And until the book is done, I hardly see us working
on the legal things.

Martijn

-- 
http://www.thebeststuffintheworld.com/vote_for/wicket";>Vote
for http://www.thebeststuffintheworld.com/stuff/wicket";>Wicket
at the http://www.thebeststuffintheworld.com/";>Best Stuff in
the World!

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


Re: [Wicket-user] Wicket performance in high availability applications?

2006-11-03 Thread Eelco Hillenius
> 1) You mentioned tweaking the number of history items kept in the
> session as something to make sure to pay attention to. I understand
> wicket keeps a history of the component tree in the session on a
> render by render basis? Do you know of a good source where I can learn
> more about this mechanism?

If you're using 2.0, this is actually not really an issue when you use
the defaults. By default in Wicket 2.0, the session will only hold the
current page instance, and older instances/ versions are written to a
temp dir. Those older instances are only needed when the user presses
the back button, which should only be a fraction of the actions
performed in a web app.

> 2) Is there a ballpark estimate for Wicket 2.0 (3 months, 6 months, 1 year) ?

The rough estimate is that we want the API fixed (other devs, still
reading with me?) by the end of this month; we need that because we're
getting nearer to finishing Wicket In Action, and also because we have
been working on 2.0 for over half a year now and we just need to fix
it some time. When the API is fixed, we can churn out betas and it'll
be a few months until all the nitty gritty details are settled (though
so far, there have not been that many urgent problems with 2.0).

Eelco

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


Re: [Wicket-user] Wicket performance in high availability applications?

2006-11-03 Thread Eelco Hillenius
> It threw me for a loop when I saw that
> nested components need to be added to their parent and not the page.
> That is quite a different paradigm from what I am used to. =)

It's a commonly overlooked aspect in discussions about component
oriented frameworks. Page is just another component, though it serves
as the ultimate root component you use when you want to actually
render your components to clients. But you can develop components with
their own navigation means (e.g. using panel replacements), forms and
other call backs etc, without ever thinking about the page it will be
on. Wicket's concept of everything being nested components sometimes
confuse people - especially when they come from using other frameworks
- but it's ultimately what makes creating custom components with
Wicket so easy, and what makes things like refactoring parts of the
component tree without loosing behavior etc a breeze.

Eelco

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


Re: [Wicket-user] Wicket performance in high availability applications?

2006-11-03 Thread Igor Vaynberg
On 11/3/06, Ryan <[EMAIL PROTECTED]> wrote:
Thanks for the tips. Of course they have spawned a few more questions.I appreciate you taking the time to answer them!1) You mentioned tweaking the number of history items kept in thesession as something to make sure to pay attention to. I understand
wicket keeps a history of the component tree in the session on arender by render basis? Do you know of a good source where I can learnmore about this mechanism?see IPageMapEvictionStrategy and its implementations
 2) Is there a ballpark estimate for Wicket 2.0 (3 months, 6 months, 1 year) ?
i would guess 6. the api has to get stable soon though because eelco and martijn are basing their book on it. 
Again thanks for your help. I am enjoying working with Wicket. I haveworked extensively with Tapestry 3 and 4 for the past two years and Iam finding a lot of the trouble points found in the tapestry frameworkare handled cleanly in Wicket. It threw me for a loop when I saw that
nested components need to be added to their parent and not the page.That is quite a different paradigm from what I am used to. =)yes i had a very similar experience when i switched from tapestry to wicket. seems tapestry is oriented around components added to a page forming a flat one level _static_  hierarchy, while in wicket there is a true _dynamic_ hierarchy and components can be composited any way you like.
-igorRyanOn 11/2/06, Eelco Hillenius <
[EMAIL PROTECTED]> wrote:> > I have a few questions:> >> > 1) Does anyone know of Wicket being used on a high traffic website?>> I know of people building them, but the ones I know are not yet in
> full production. But maybe someone else on this list knows.>> > 2) What are some of the challenges related to scaling a Wicket> > application (beyond the general servlet recommendations of being
> > stateless as long as possible, keeping the state small to facilitate> > clustering, etc)?>> The only tradeoff of Wicket is that Wicket is heavy on memory. While> that is not a big problem per se, it is something to keep in the back
> of your mind, and one of the first things you would optimize when the> time comes to tweak your application. In general, try to use> detachable models when you create database driven apps, tweak the
> number of history items kept, etc. Oh, and don't forget to set wicket> to deployment:>> >   configuration>   deployment
> >> in web.xml. That'll have quite a big impact on the throughput.>> One thing to be careful of is Wicket with (public facing) sites with a> load that is hard to predict. If you have very large peaks you
> probably want to keep your session time out low, and investigate> stateless pages (and forms and links etc), which are most mature in> Wicket 2.0 (though there is limiited support in 1.2).>
>> > 3) Tapestry uses page and component pooling to help achieve higher> > throughput...>> Yeah, and whether that is a good thing is highly debatable. If you> read up on optimizing Java code, object pooling is usually on top of
> the list of things you *should not* do, as it is likely the> synchronization you need will the bottleneck and hotspot is very good> in managing short lived objects.>> We have tested Tapestry vs Wicket performance a bit over a year ago,
> to look for spots we might optimize, and our results were that Wicket> had a higher throughput even without optimization.>> > It doesn't appear like Wicket can employ such a> > technique due to the framework allowing direct page and component
> > instantiation. Are pages and components so light weight pooling them> > is not worth the disadvantages of not being able to pass parameters> > via constructor or is this a known trade off?
>> Wicket's unmanaged model encompasses much more than just passing in> parameters in the constructor. It means you decide on any form of> construction you like, it means you can program 'just java' as you
> would do in other tiers of your application, and you can construct all> the aggregations you want. Furthermore, like I said above, pooling is> not even an advantage.>> > Thanks for any information you can provide! I will be sure to post the
> > results of my investigation on this list in a week or two.> >> > Ryan>> Sure. Maybe you want to share the exact tests you're doing too?>> Eelco>> -
> Using Tomcat but need to do more? Need to support web services, security?> Get stuff done quickly with pre-integrated technology to make your job easier> Download IBM WebSphere Application Server v.1.0.1
 based on Apache Geronimo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___> Wicket-user mailing list> Wicket-user@lists.sourceforge.net> 
https://lists.sourceforge.net/lists/listinfo/wicket-user>-Using Tomcat but need to do more? Need to support web service

Re: [Wicket-user] javascript/sending information to a specific wicket component from a page

2006-11-03 Thread Igor Vaynberg
look into how the Palette is built, it does just that. or if you want you can use ajax.-igorOn 11/3/06, Erik Brakkee <
[EMAIL PROTECTED]> wrote:Hi, I have made custom component which uses some _javascript_. Now my question is how to pass on information from _javascript_ to the wicket component on the server side. I can imagine things like adding a hidden form field with a specific id based on the wicket id of the custom component in question, which then retrieves this information on the serverside by examining the request. 
Any ideas or pointers on how to do something like this? Cheers  Erik

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

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


Re: [Wicket-user] Set Main Component for Inherited Classes?

2006-11-03 Thread Igor Vaynberg
no, make sure you specified the markupProvider parameter of the fragment's constructor-igorOn 11/3/06, Jonathan Sharp <
[EMAIL PROTECTED]> wrote:Should this affect a fragment that I have inside of my ExamplePage? I'm getting a "Markup does not contain fragment id=foo". I have the fragment inside of my 
ExamplePage.html file between the  tags.
-jsOn 11/2/06, Igor Vaynberg <
[EMAIL PROTECTED]> wrote:
WebMarkupContainer body = new WebMarkupContainer(...) {        boolean isTransparentResolver() { return true; }}-igor
On 11/2/06, Jonathan Sharp
 <[EMAIL PROTECTED]> wrote:

If I have a BasePage class that has a Component that wraps the page and the  tag, is there a method I can implement that will bind any inherited pages to this object instead of the page object? Below demonstrates my problem in the extended pages.
BasePage {    ...    WebMarkupContainer body = new ...    add(body);    ...    private void myAdd(Component c) {    body.add(c);    }}ExamplePage extends BasePage {
    ...    add(myComponent);    --> This really needs to be body.add(myComponent);    ...}Is there a way where I can make the add() method for the ExamplePage attach components to
the body container instead of the page container? Can I do this without
implementing a custom method on the BasePage such as myAdd?

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo


http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list


Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list

Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


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

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


Re: [Wicket-user] Global, Thread specific Property

2006-11-03 Thread Eelco Hillenius
Such things typically are best done in RequestCycle. You can provide a
custom request cycle, and then override onBeginRequest to set your
thread scoped variable, and onEndRequest to clean it up again. You can
access the request cycle by doing RequestCycle.get(), though you might
also decide to store your variable in some other thread local with
static access.

Eelco


On 11/3/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i've got a problem and i dont know how to solve it. I work with
> PageParameters and the thing that i allways have to pull them around makes
> me sad. Is there a way how i can have a global object holding the current
> PageParameters that can be accessed without passing in the PageParameters
> into a constructor?
>
> e.g: not matter where i want to access
> GlobalThreadSpecificObject.getParam("foo") - i can call it on any component
> or in any page... ?
>
> The reason is that i use IndexedPageParams and have panels that are
> dependent on a specific param value and also need a flexible way to change
> the number, the params are hanging on as the number of preceeding
> PageParameters can change later on
>
> Best Regards,
>
> Korbinian
>
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

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


Re: [Wicket-user] Global, Thread specific Property

2006-11-03 Thread Korbinian Bachl



Hi Johan,
 
thank you. The idea behind this is to have a 100% 
configurable URL paradigm. I know i can get it via the request cycle, but my 
idea is following:
 
i globally want to configure a URL paradigm like 
that:
 
/preParam1/.../preParamN/PageName/PageParam1/.../PageParamN
 
where preParams are Mandatory, Sitewide needed values and 
PageName is a targetResolving value and Params are the coresponding params that 
are used only for the page...
 
so you could use it for a 2 language site e.g: /en/Page and 
/fr/Page but also if you need to store N different params configuring the page 
e.g: /en/US/Page -> and then allow the page to have non-mandatory params also 
-> e.g: /en/Page/Content/20 
 
I hope this makes it clear what i have in mind - 

 
Best regards,
 
Korbinian
 
 


  
  
  Von: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] Im Auftrag von Johan 
  CompagnerGesendet: Freitag, 3. November 2006 17:44An: 
  wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] Global, 
  Thread specific Property
  First of all why are you using so many pageparams?Is it that 
  you have to push state to the browser 
  constantly?RequestCycle.get().getRequest().getRequestParameters().getParameters()johan
  On 11/3/06, Korbinian 
  Bachl <[EMAIL PROTECTED]> 
  wrote:
  Hi,i've 
got a problem and i dont know how to solve it. I work withPageParameters 
and the thing that i allways have to pull them around makesme sad. Is 
there a way how i can have a global object holding the current 
PageParameters that can be accessed without passing in the 
PageParametersinto a constructor?e.g: not matter where i want to 
accessGlobalThreadSpecificObject.getParam("foo") - i can call it on any 
component or in any page... ?The reason is that i use 
IndexedPageParams and have panels that aredependent on a specific param 
value and also need a flexible way to changethe number, the params are 
hanging on as the number of preceeding PageParameters can change later 
onBest 
Regards,Korbinian-Using 
Tomcat but need to do more? Need to support web services, security? Get 
stuff done quickly with pre-integrated technology to make your job 
easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache 
Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user 
mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Global, Thread specific Property

2006-11-03 Thread Johan Compagner
First of all why are you using so many pageparams?Is it that you have to push state to the browser constantly?RequestCycle.get().getRequest().getRequestParameters().getParameters()johan
On 11/3/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
Hi,i've got a problem and i dont know how to solve it. I work withPageParameters and the thing that i allways have to pull them around makesme sad. Is there a way how i can have a global object holding the current
PageParameters that can be accessed without passing in the PageParametersinto a constructor?e.g: not matter where i want to accessGlobalThreadSpecificObject.getParam("foo") - i can call it on any component
or in any page... ?The reason is that i use IndexedPageParams and have panels that aredependent on a specific param value and also need a flexible way to changethe number, the params are hanging on as the number of preceeding
PageParameters can change later onBest Regards,Korbinian-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How can I prevent duplicate header contributions?

2006-11-03 Thread Erik van Oosten
I solved it already.

I added the following to the behavior:
public void bind(Component component) {
super.bind(component);
component.add(HeaderContributor.forJavaScript(this.getClass(), 
"javascriptfile.js"));
}


Erik.

Erik van Oosten schreef:
> Hello,
>
> I used Igor's template below for something else. Just like in the 
> example I add a generic javascript function to the header.
> However, the function is added once for every time I add the behavior to 
> an component in the page.
> Who knows a clean way to prevent this?
>
> Regards,
> Erik.
>   
>

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


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


[Wicket-user] [Fwd: Emory Utilities]

2006-11-03 Thread cowwoc

Cross-post from the JINI mailing list that might be of some interest to
the wicket development team. Can't you use this to fix the JAR reloading
problem you discussed earlier?

Gili

 Original Message 
Seems like some of these classes (especially the URIClassLoader that
fixes some URLCLassLoader issues wrt reloading of classes) may be of
use in the community. Anybody have any experience or thoughts about
these utilities?

http://dcl.mathcs.emory.edu/util/features.php

Dennis



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


[Wicket-user] How can I prevent duplicate header contributions?

2006-11-03 Thread Erik van Oosten
Hello,

I used Igor's template below for something else. Just like in the 
example I add a generic javascript function to the header.
However, the function is added once for every time I add the behavior to 
an component in the page.
Who knows a clean way to prevent this?

Regards,
Erik.


Igor Vaynberg schreef:
> this is a browser "feature"
>
> what you can do is add the behavior below to all textfields in the form
>
> /**
>  * Behavior that traps the enter key press
>  *
>  * @author ivaynberg
>  */
> public class EnterKeyTrap extends AbstractBehavior implements 
> IHeaderContributor {
> @Override
> public void onComponentTag(Component component, ComponentTag tag) {
> tag.put("onkeydown", "return ekt(event)!=13");
> }
>
> public void renderHead(Response response) {
> response.write(JavascriptUtils.SCRIPT_OPEN_TAG);
> response.write("function 
> ekt(e){if(typeof(e.keyCode)==\"undefined\"){return 
> e.which;}else{return e.keyCode;}}");
> response.write (JavascriptUtils.SCRIPT_CLOSE_TAG);
> }
> }
>
> -igor

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


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


Re: [Wicket-user] Wicket performance in high availability applications?

2006-11-03 Thread Ryan
Thanks for the tips. Of course they have spawned a few more questions.
I appreciate you taking the time to answer them!

1) You mentioned tweaking the number of history items kept in the
session as something to make sure to pay attention to. I understand
wicket keeps a history of the component tree in the session on a
render by render basis? Do you know of a good source where I can learn
more about this mechanism?

2) Is there a ballpark estimate for Wicket 2.0 (3 months, 6 months, 1 year) ?

Again thanks for your help. I am enjoying working with Wicket. I have
worked extensively with Tapestry 3 and 4 for the past two years and I
am finding a lot of the trouble points found in the tapestry framework
are handled cleanly in Wicket. It threw me for a loop when I saw that
nested components need to be added to their parent and not the page.
That is quite a different paradigm from what I am used to. =)

Ryan

On 11/2/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > I have a few questions:
> >
> > 1) Does anyone know of Wicket being used on a high traffic website?
>
> I know of people building them, but the ones I know are not yet in
> full production. But maybe someone else on this list knows.
>
> > 2) What are some of the challenges related to scaling a Wicket
> > application (beyond the general servlet recommendations of being
> > stateless as long as possible, keeping the state small to facilitate
> > clustering, etc)?
>
> The only tradeoff of Wicket is that Wicket is heavy on memory. While
> that is not a big problem per se, it is something to keep in the back
> of your mind, and one of the first things you would optimize when the
> time comes to tweak your application. In general, try to use
> detachable models when you create database driven apps, tweak the
> number of history items kept, etc. Oh, and don't forget to set wicket
> to deployment:
>
> 
>   configuration
>   deployment
> 
>
> in web.xml. That'll have quite a big impact on the throughput.
>
> One thing to be careful of is Wicket with (public facing) sites with a
> load that is hard to predict. If you have very large peaks you
> probably want to keep your session time out low, and investigate
> stateless pages (and forms and links etc), which are most mature in
> Wicket 2.0 (though there is limiited support in 1.2).
>
>
> > 3) Tapestry uses page and component pooling to help achieve higher
> > throughput...
>
> Yeah, and whether that is a good thing is highly debatable. If you
> read up on optimizing Java code, object pooling is usually on top of
> the list of things you *should not* do, as it is likely the
> synchronization you need will the bottleneck and hotspot is very good
> in managing short lived objects.
>
> We have tested Tapestry vs Wicket performance a bit over a year ago,
> to look for spots we might optimize, and our results were that Wicket
> had a higher throughput even without optimization.
>
> > It doesn't appear like Wicket can employ such a
> > technique due to the framework allowing direct page and component
> > instantiation. Are pages and components so light weight pooling them
> > is not worth the disadvantages of not being able to pass parameters
> > via constructor or is this a known trade off?
>
> Wicket's unmanaged model encompasses much more than just passing in
> parameters in the constructor. It means you decide on any form of
> construction you like, it means you can program 'just java' as you
> would do in other tiers of your application, and you can construct all
> the aggregations you want. Furthermore, like I said above, pooling is
> not even an advantage.
>
> > Thanks for any information you can provide! I will be sure to post the
> > results of my investigation on this list in a week or two.
> >
> > Ryan
>
> Sure. Maybe you want to share the exact tests you're doing too?
>
> Eelco
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

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


Re: [Wicket-user] Weird Wiki problem

2006-11-03 Thread Gwyn Evans
I think we've uncovered a weakness with the auto-export system.  The
problem is that the pages are auto-exported on demand, such that any
edits you make to
http://cwiki.apache.org/confluence/display/WICKET/General+i18n+in+Wicket
are effectively immediately replicated to the static page on
http://cwiki.apache.org/WICKET/general-i18n-in-wicket.html, BUT the
problem was that the new child page didn't trigger any sort of
notification to re-export the 'index' page.  I had to go in & add an
extra space (and not at the end, either) in order for it to re-do it.

There's a way of triggering a full re-export of a space manually, but
that requires full wiki admin privs, which we've not got, so a
pseudo-edit of the index page seems the way to go...

/Gwyn

On 03/11/06, Erik van Oosten <[EMAIL PROTECTED]> wrote:
> Okay, understood. Makes sense.
> I hope the update happens at least once a day. Twice would be nicer :)
>
> Thanks,
>  Erik.
>
> Martijn Dashorst schreef:
> > The wiki's is exported every so often (don't know the frequency,
> > Kenneth) to a static space (the preferred linking space) accomodate
> > the scalability issues Apache faces with their infrastructure
> > (something about several tera byte per month).
> >
> > Martijn
>
> --
> Erik van Oosten
> http://www.day-to-day-stuff.blogspot.com/
>
-- 
Download Wicket 1.2.3 now! - http://wicketframework.org

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


Re: [Wicket-user] Strategy to avoid new instances of pages and panels

2006-11-03 Thread bednarz-hannover
Exactly,

you are right and my project will run into this direction. I think
I have to do some kind of external loadbalancing and frontend
filters to handly this huge traffic. Your calculation is similiar to
my expectations and mirrors my previous experiences with
public portals.

My best,

Maciej

> -Ursprüngliche Nachricht-
> Von: wicket-user@lists.sourceforge.net
> Gesendet: 03.11.06 17:03:46
> An: wicket-user@lists.sourceforge.net
> Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and panels

with that new in new user request you don't mean really new users but new 
request?
> But thousands user requests per minute?
> That looks incredible high if every users does something every 10 seconds 
> and you have 5000? request per minute = +/-80 requests per second.
> 
> Then you have 800 live users at the same time? If every user really does 
> every 10 seconds a click
> (which isn't very likely)
> 
> Then i think you need to look at clustering.. And really look at your 
> database because i think
> 
> that that one will first crumble.
> 
> johan
> 
> 
> 
> 
> On 11/3/06, [EMAIL PROTECTED] <
> [EMAIL PROTECTED]> wrote:Ok,
> 
> I understand wickets aproach of pageobject bound to sessions. Do you
> 
> have some trick to avoid new page instances for bookmarkable URLs as
> mentioned before?
> 
> Thank you very much,
> 
> Maciej
> PS: I am building a new community page using wicket. So I have to test
> if wicket can handle thousands of new user request a minute.
> 
> 
> > -Ursprüngliche Nachricht-
> > Von: wicket-user@lists.sourceforge.net
> > Gesendet: 03.11.06 16:48:51
> > An: 
> wicket-user@lists.sourceforge.net
> > Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and 
> > panels
> 
> as martijn said. I am not talking about pooling pages over sessions
> > That is a nogo in wicket. No i was talking about a single session reusing 
> > pages.
> 
> > So if you create a link that goes back to page X then hold that page there.
> >
> >
> > pooling pages over sessions can't be done. Maybe for completely static pages
> > that has no dynamic parts at all. But then you can just use pure html.
> 
> >
> > With the current jvm's you shouldn't pool objects because you don't want to 
> > make them
> >
> > pooling (caching) of objects should only be done if the object when created 
> > would do io kind of things
> 
> > like Database Connections or database objects.
> >
> > Maybe very very big objects could be pooled like large buffers, but i also  
> > don't know if that really would give
> >
> > you something.
> >
> 
> > johan
> >
> >
> >
> > On 11/3/06, [EMAIL PROTECTED] <
> > [EMAIL PROTECTED]> wrote:Helo Johan,
> 
> >
> > can you explain "pooling pages" in details and give me some short example?
> >
> > Do you mean putting pages into some kind of singleton or a synchronized
> > pool which holds reuseable pages? How are those pages given back to the
> 
> > pool for reuse?
> >
> > Thank you very much,
> >
> > Maciej
> >
> > > -Ursprüngliche Nachricht-
> >
> > > Von: wicket-user@lists.sourceforge.net
> 
> > > Gesendet: 03.11.06 16:30:22
> > > An: wicket-user@lists.sourceforge.net
> >
> > > Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and 
> > > panels
> 
> >
> > what do you mean with reloads the page?
> > >
> > > A normal refresh (if url is wicket:interface=xxx) then a page is not 
> > > recreated.
> >
> > > Or do you mean bookmarkable urls?
> > >
> > > Other links like pageLinks or your own links you can do what ever you 
> > > want with (PortalSession)Session.get().
> > >
> > >
> > > johan
> > >
> > >
> > >
> >
> 
> > >
> > > On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> > > > wrote:Hi all!
> > >
> 
> > > I am looking for a pattern, strategy or code example how to avoid 
> > > creation of new page Instances when a user reloads a page. Can someone 
> > > give my a hint how to achieve following behaviour:
> >
> > >
> 
> > >
> > > - "static" pages which have only a single instance during whole 
> > > application lifecycle ?
> > > - some kind of page and/or factory or proxy to reuse instances?
> > >
> > > Any best practice or some examples would be nice.
> 
> >
> > >
> > >
> > > Thank you very much,
> > >
> > > Maciej Bednarz
> > >
> > >
> > >
> > > -
> 
> > > Using Tomcat but need to do more? Need to support web services, security?
> >
> > > Get stuff done quickly with pre-integrated technology to make your job 
> > > easier
> > >
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > >
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> > >
> > > ___
> > > Wicket-user mailing list
> > >
> > Wicket-user@lists.sourceforge.net
> 
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> > > ---

Re: [Wicket-user] Strategy to avoid new instances of pages and panels

2006-11-03 Thread Johan Compagner
with that new in new user request you don't mean really new users but new request?But thousands user requests per minute?That looks incredible high if every users does something every 10 seconds and you have 5000? request per minute = +/-80 requests per second.
Then you have 800 live users at the same time? If every user really does every 10 seconds a click(which isn't very likely)Then i think you need to look at clustering.. And really look at your database because i think
that that one will first crumble.johanOn 11/3/06, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:Ok,I understand wickets aproach of pageobject bound to sessions. Do you
have some trick to avoid new page instances for bookmarkable URLs asmentioned before?Thank you very much,MaciejPS: I am building a new community page using wicket. So I have to testif wicket can handle thousands of new user request a minute.
> -Ursprüngliche Nachricht-> Von: wicket-user@lists.sourceforge.net> Gesendet: 03.11.06 16:48:51> An: 
wicket-user@lists.sourceforge.net> Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and panelsas martijn said. I am not talking about pooling pages over sessions> That is a nogo in wicket. No i was talking about a single session reusing pages.
> So if you create a link that goes back to page X then hold that page there.>>> pooling pages over sessions can't be done. Maybe for completely static pages> that has no dynamic parts at all. But then you can just use pure html.
>> With the current jvm's you shouldn't pool objects because you don't want to make them>> pooling (caching) of objects should only be done if the object when created would do io kind of things
> like Database Connections or database objects.>> Maybe very very big objects could be pooled like large buffers, but i also  don't know if that really would give>> you something.>
> johan On 11/3/06, [EMAIL PROTECTED] <> [EMAIL PROTECTED]> wrote:Helo Johan,
>> can you explain "pooling pages" in details and give me some short example?>> Do you mean putting pages into some kind of singleton or a synchronized> pool which holds reuseable pages? How are those pages given back to the
> pool for reuse?>> Thank you very much,>> Maciej>> > -Ursprüngliche Nachricht->> > Von: wicket-user@lists.sourceforge.net
> > Gesendet: 03.11.06 16:30:22> > An: wicket-user@lists.sourceforge.net>> > Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and panels
>> what do you mean with reloads the page?> >> > A normal refresh (if url is wicket:interface=xxx) then a page is not recreated.>> > Or do you mean bookmarkable urls?
> >> > Other links like pageLinks or your own links you can do what ever you want with (PortalSession)Session.get().> >> >> > johan> >> >> >>
> >> > On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > > wrote:Hi all!> >
> > I am looking for a pattern, strategy or code example how to avoid creation of new page Instances when a user reloads a page. Can someone give my a hint how to achieve following behaviour:>> >
> >> > - "static" pages which have only a single instance during whole application lifecycle ?> > - some kind of page and/or factory or proxy to reuse instances?> >> > Any best practice or some examples would be nice.
>> >> >> > Thank you very much,> >> > Maciej Bednarz> >> >> >> > -
> > Using Tomcat but need to do more? Need to support web services, security?>> > Get stuff done quickly with pre-integrated technology to make your job easier> >> > Download IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimo> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >> > ___> > Wicket-user mailing list> >> Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user> >> >> > -
>> > -> > Using Tomcat but need to do more? Need to support web services, security?> > Get stuff done quickly with pre-integrated technology to make your job easier
>> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> >> > -> > ___> > Wicket-user mailing list> >> 
Wicket-user@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>> --> mfG>> Bednarz, Hannover>>> -> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> 
http://sel.as-us.falkag.net/sel

Re: [Wicket-user] Strategy to avoid new instances of pages and panels

2006-11-03 Thread bednarz-hannover
Perfect,

this is what I need.

Thanks,

Maciej

> -Ursprüngliche Nachricht-
> Von: wicket-user@lists.sourceforge.net
> Gesendet: 03.11.06 16:55:14
> An: wicket-user@lists.sourceforge.net
> Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and panels

subclass: DefaultRequestTargetResolverStrategy
> and then resolveBook
> 
> and do what ever you want there. But don't just return a page from a 
> application wide pool
> 
> johan
> 
> 
> 
> On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> John,
> 
> when I use bookmarkable urls I get every time I reload the page
> a new instance. Is there a way to avoid this?
> 
> Maciej
> 
> > -Ursprüngliche Nachricht-
> > Von: 
> wicket-user@lists.sourceforge.net
> > Gesendet: 03.11.06 16:30:22
> > An: wicket-user@lists.sourceforge.net
> > Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and 
> > panels
> 
> 
> what do you mean with reloads the page?
> >
> > A normal refresh (if url is wicket:interface=xxx) then a page is not 
> > recreated.
> > Or do you mean bookmarkable urls?
> >
> > Other links like pageLinks or your own links you can do what ever you want 
> > with pooling pages.
> 
> >
> >
> > johan
> >
> >
> >
> >
> > On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> 
> > > wrote:Hi all!
> >
> > I am looking for a pattern, strategy or code example how to avoid creation 
> > of new page Instances when a user reloads a page. Can someone give my a 
> > hint how to achieve following behaviour:
> 
> >
> >
> > - "static" pages which have only a single instance during whole application 
> > lifecycle ?
> > - some kind of page and/or factory or proxy to reuse instances?
> >
> > Any best practice or some examples would be nice.
> 
> >
> >
> > Thank you very much,
> >
> > Maciej Bednarz
> >
> >
> >
> > -
> > Using Tomcat but need to do more? Need to support web services, security?
> 
> > Get stuff done quickly with pre-integrated technology to make your job 
> > easier
> >
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > 
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >
> > ___
> > Wicket-user mailing list
> > 
> Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
> > -
> 
> > -
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job 
> > easier
> 
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> >
> > -
> > ___
> > Wicket-user mailing list
> > 
> Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> 
> --
> mfG
> 
> Bednarz, Hannover
> 
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> 
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 
> -
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> -
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 

-- 
mfG

Bednarz, Hannover

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

Re: [Wicket-user] Strategy to avoid new instances of pages and panels

2006-11-03 Thread bednarz-hannover
Ok,

I understand wickets aproach of pageobject bound to sessions. Do you
have some trick to avoid new page instances for bookmarkable URLs as
mentioned before?

Thank you very much,

Maciej
PS: I am building a new community page using wicket. So I have to test
if wicket can handle thousands of new user request a minute.

> -Ursprüngliche Nachricht-
> Von: wicket-user@lists.sourceforge.net
> Gesendet: 03.11.06 16:48:51
> An: wicket-user@lists.sourceforge.net
> Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and panels

as martijn said. I am not talking about pooling pages over sessions
> That is a nogo in wicket. No i was talking about a single session reusing 
> pages.
> So if you create a link that goes back to page X then hold that page there.
> 
> 
> pooling pages over sessions can't be done. Maybe for completely static pages
> that has no dynamic parts at all. But then you can just use pure html.
> 
> With the current jvm's you shouldn't pool objects because you don't want to 
> make them
> 
> pooling (caching) of objects should only be done if the object when created 
> would do io kind of things
> like Database Connections or database objects.
> 
> Maybe very very big objects could be pooled like large buffers, but i also  
> don't know if that really would give
> 
> you something.
> 
> johan
> 
> 
> 
> On 11/3/06, [EMAIL PROTECTED] <
> [EMAIL PROTECTED]> wrote:Helo Johan,
> 
> can you explain "pooling pages" in details and give me some short example?
> 
> Do you mean putting pages into some kind of singleton or a synchronized
> pool which holds reuseable pages? How are those pages given back to the
> pool for reuse?
> 
> Thank you very much,
> 
> Maciej
> 
> > -Ursprüngliche Nachricht-
> 
> > Von: wicket-user@lists.sourceforge.net
> > Gesendet: 03.11.06 16:30:22
> > An: wicket-user@lists.sourceforge.net
> 
> > Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and 
> > panels
> 
> what do you mean with reloads the page?
> >
> > A normal refresh (if url is wicket:interface=xxx) then a page is not 
> > recreated.
> 
> > Or do you mean bookmarkable urls?
> >
> > Other links like pageLinks or your own links you can do what ever you want 
> > with (PortalSession)Session.get().
> >
> >
> > johan
> >
> >
> >
> 
> >
> > On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> > > wrote:Hi all!
> >
> > I am looking for a pattern, strategy or code example how to avoid creation 
> > of new page Instances when a user reloads a page. Can someone give my a 
> > hint how to achieve following behaviour:
> 
> >
> >
> > - "static" pages which have only a single instance during whole application 
> > lifecycle ?
> > - some kind of page and/or factory or proxy to reuse instances?
> >
> > Any best practice or some examples would be nice.
> 
> >
> >
> > Thank you very much,
> >
> > Maciej Bednarz
> >
> >
> >
> > -
> > Using Tomcat but need to do more? Need to support web services, security?
> 
> > Get stuff done quickly with pre-integrated technology to make your job 
> > easier
> >
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > 
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >
> > ___
> > Wicket-user mailing list
> > 
> Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
> > -
> 
> > -
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job 
> > easier
> 
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> >
> > -
> > ___
> > Wicket-user mailing list
> > 
> Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> 
> --
> mfG
> 
> Bednarz, Hannover
> 
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> 
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 
> -
> -
> Using 

Re: [Wicket-user] Strategy to avoid new instances of pages and panels

2006-11-03 Thread Johan Compagner
subclass: DefaultRequestTargetResolverStrategyand then resolveBookand do what ever you want there. But don't just return a page from a application wide pooljohan
On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
John,when I use bookmarkable urls I get every time I reload the pagea new instance. Is there a way to avoid this?Maciej> -Ursprüngliche Nachricht-> Von: 
wicket-user@lists.sourceforge.net> Gesendet: 03.11.06 16:30:22> An: wicket-user@lists.sourceforge.net> Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and panels
what do you mean with reloads the page?>> A normal refresh (if url is wicket:interface=xxx) then a page is not recreated.> Or do you mean bookmarkable urls?>> Other links like pageLinks or your own links you can do what ever you want with pooling pages.
>>> johan> On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> > wrote:Hi all!>> I am looking for a pattern, strategy or code example how to avoid creation of new page Instances when a user reloads a page. Can someone give my a hint how to achieve following behaviour:
>>> - "static" pages which have only a single instance during whole application lifecycle ?> - some kind of page and/or factory or proxy to reuse instances?>> Any best practice or some examples would be nice.
>>> Thank you very much,>> Maciej Bednarz -> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> 
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>> ___> Wicket-user mailing list> 
Wicket-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wicket-user>>> -
> -> Using Tomcat but need to do more? Need to support web services, security?> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> -> ___> Wicket-user mailing list> 
Wicket-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wicket-user>--mfGBednarz, Hannover
-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Strategy to avoid new instances of pages and panels

2006-11-03 Thread Johan Compagner
for such a things you have different SessionStores or you can do clustering.But even with one server you can handle quite some load. Memory is pretty cheap.johanOn 11/3/06, 
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Martijn,isn`t this a problem of the framework itself? When I have pageconstcted from serveral subcomponents then my JVM will runout of memory after some user. What do you think about stringcomponents within the user session and reuse them?
Maciej> -Ursprüngliche Nachricht-> Von: wicket-user@lists.sourceforge.net> Gesendet: 03.11.06 16:38:11> An: 
wicket-user@lists.sourceforge.net> Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and panels> Object pooling is considered baaaddd form with Wicket and Java in general.>
> A page is constructed in the context of a user session and as such> should not be shared between different sessions: each component is> stateful for a particular session. You will enter a world of hurt if
> you embark on such a path.>> Martijn>> On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> wrote:> > Helo Johan,> >> > can you explain "pooling pages" in details and give me some short example?> > Do you mean putting pages into some kind of singleton or a synchronized
> > pool which holds reuseable pages? How are those pages given back to the> > pool for reuse?> >> > Thank you very much,> >> > Maciej> >> > > -Ursprüngliche Nachricht-
> > > Von: wicket-user@lists.sourceforge.net> > > Gesendet: 03.11.06 16:30:22> > > An: 
wicket-user@lists.sourceforge.net> > > Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and panels> >> > what do you mean with reloads the page?> > >
> > > A normal refresh (if url is wicket:interface=xxx) then a page is not recreated.> > > Or do you mean bookmarkable urls?> > >> > > Other links like pageLinks or your own links you can do what ever you want with (PortalSession)Session.get().
> > >> > >> > > johan> > >> > >> > >> > >> > > On 11/3/06, [EMAIL PROTECTED]
 <[EMAIL PROTECTED]> > > > wrote:Hi all!> > >> > > I am looking for a pattern, strategy or code example how to avoid creation of new page Instances when a user reloads a page. Can someone give my a hint how to achieve following behaviour:
> > >> > >> > > - "static" pages which have only a single instance during whole application lifecycle ?> > > - some kind of page and/or factory or proxy to reuse instances?
> > >> > > Any best practice or some examples would be nice.> > >> > >> > > Thank you very much,> > >> > > Maciej Bednarz> > >
> > >> > >> > > -> > > Using Tomcat but need to do more? Need to support web services, security?
> > > Get stuff done quickly with pre-integrated technology to make your job easier> > >> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> > > 
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > >> > > ___
> > > Wicket-user mailing list> > > Wicket-user@lists.sourceforge.net> > > 
https://lists.sourceforge.net/lists/listinfo/wicket-user> > >> > >> > > -> > > -
> > > Using Tomcat but need to do more? Need to support web services, security?> > > Get stuff done quickly with pre-integrated technology to make your job easier> > > Download IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimo> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > >> > > -> > > ___> > > Wicket-user mailing list> > > 
Wicket-user@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >> >> > --> > mfG> >> > Bednarz, Hannover> >> > -> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job easier> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> > 
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > ___> > Wicket-user mailing list> > 
Wicket-user@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/wicket-user>  --
> http://www.thebeststuffintheworld.com/vote_for/wicket">Vote> for 
http://www.thebeststuffintheworld.com/stuff/wicket">Wicket> at the http://www.thebeststuffintheworld.com/">Best Stuff in
> the World!>> -> Using Tomcat but need to do more? Need to support web services, security?> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.

Re: [Wicket-user] Strategy to avoid new instances of pages and panels

2006-11-03 Thread Johan Compagner
as martijn said. I am not talking about pooling pages over sessionsThat is a nogo in wicket. No i was talking about a single session reusing pages.So if you create a link that goes back to page X then hold that page there.
pooling pages over sessions can't be done. Maybe for completely static pagesthat has no dynamic parts at all. But then you can just use pure html.With the current jvm's you shouldn't pool objects because you don't want to make them
pooling (caching) of objects should only be done if the object when created would do io kind of thingslike Database Connections or database objects.Maybe very very big objects could be pooled like large buffers, but i also  don't know if that really would give
you something.johanOn 11/3/06, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:Helo Johan,can you explain "pooling pages" in details and give me some short example?
Do you mean putting pages into some kind of singleton or a synchronizedpool which holds reuseable pages? How are those pages given back to thepool for reuse?Thank you very much,Maciej> -Ursprüngliche Nachricht-
> Von: wicket-user@lists.sourceforge.net> Gesendet: 03.11.06 16:30:22> An: wicket-user@lists.sourceforge.net
> Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and panelswhat do you mean with reloads the page?>> A normal refresh (if url is wicket:interface=xxx) then a page is not recreated.
> Or do you mean bookmarkable urls?>> Other links like pageLinks or your own links you can do what ever you want with (PortalSession)Session.get().>>> johan>>>
>> On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote:Hi all!>> I am looking for a pattern, strategy or code example how to avoid creation of new page Instances when a user reloads a page. Can someone give my a hint how to achieve following behaviour:
>>> - "static" pages which have only a single instance during whole application lifecycle ?> - some kind of page and/or factory or proxy to reuse instances?>> Any best practice or some examples would be nice.
>>> Thank you very much,>> Maciej Bednarz -> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> 
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>> ___> Wicket-user mailing list> 
Wicket-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wicket-user>>> -
> -> Using Tomcat but need to do more? Need to support web services, security?> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> -> ___> Wicket-user mailing list> 
Wicket-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wicket-user>--mfGBednarz, Hannover
-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Strategy to avoid new instances of pages and panels

2006-11-03 Thread bednarz-hannover
John,

when I use bookmarkable urls I get every time I reload the page
a new instance. Is there a way to avoid this?

Maciej

> -Ursprüngliche Nachricht-
> Von: wicket-user@lists.sourceforge.net
> Gesendet: 03.11.06 16:30:22
> An: wicket-user@lists.sourceforge.net
> Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and panels

what do you mean with reloads the page?
> 
> A normal refresh (if url is wicket:interface=xxx) then a page is not 
> recreated.
> Or do you mean bookmarkable urls?
> 
> Other links like pageLinks or your own links you can do what ever you want 
> with pooling pages.
> 
> 
> johan
> 
> 
> 
> 
> On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> > wrote:Hi all!
> 
> I am looking for a pattern, strategy or code example how to avoid creation of 
> new page Instances when a user reloads a page. Can someone give my a hint how 
> to achieve following behaviour:
> 
> 
> - "static" pages which have only a single instance during whole application 
> lifecycle ?
> - some kind of page and/or factory or proxy to reuse instances?
> 
> Any best practice or some examples would be nice.
> 
> 
> Thank you very much,
> 
> Maciej Bednarz
> 
> 
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> 
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 
> -
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> -
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 

-- 
mfG

Bednarz, Hannover

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


Re: [Wicket-user] Global, Thread specific Property

2006-11-03 Thread Korbinian Bachl
Hi Roland,

well, yes I could do that. The trick that i want to do is not to have any
session involved, as with wicket 2.0 lazy session behaviour exists, and i
dont want to create a session.

I fact this would be a create once per pageRequest object that can be dumped
when the page is rendered - 

a friend suggested me that i could use WebApplication sublass with the
property + corresponding getter/setter - but i dont know if this leads to
concurrency issues? e.g: 2 visitors accessing same time it might be
problematic?

Igor, do you know if this would work ? 

Best Regards,

Korbinian


> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im Auftrag 
> von Roland Kaercher
> Gesendet: Freitag, 3. November 2006 14:42
> An: wicket-user@lists.sourceforge.net
> Betreff: Re: [Wicket-user] Global, Thread specific Property
> 
> Hi Korbinian,
> 
> if I understand your Problem correctly then you could use a 
> custom subclass of WebSession for that purpose.
> 
> roland
> 
> On 11/3/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > i've got a problem and i dont know how to solve it. I work with 
> > PageParameters and the thing that i allways have to pull 
> them around 
> > makes me sad. Is there a way how i can have a global object holding 
> > the current PageParameters that can be accessed without 
> passing in the 
> > PageParameters into a constructor?
> >
> > e.g: not matter where i want to access
> > GlobalThreadSpecificObject.getParam("foo") - i can call it on any 
> > component or in any page... ?
> >
> > The reason is that i use IndexedPageParams and have panels that are 
> > dependent on a specific param value and also need a flexible way to 
> > change the number, the params are hanging on as the number of 
> > preceeding PageParameters can change later on
> >
> > Best Regards,
> >
> > Korbinian
> >
> >
> >
> > 
> --
> > --- Using Tomcat but need to do more? Need to support web services, 
> > security?
> > Get stuff done quickly with pre-integrated technology to 
> make your job 
> > easier Download IBM WebSphere Application Server v.1.0.1 based on 
> > Apache Geronimo
> > 
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216
> > 42 ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> 
> --
> ---
> Using Tomcat but need to do more? Need to support web 
> services, security?
> Get stuff done quickly with pre-integrated technology to make 
> your job easier Download IBM WebSphere Application Server 
> v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&;
dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 


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


Re: [Wicket-user] Strategy to avoid new instances of pages and panels

2006-11-03 Thread bednarz-hannover
Martijn,

isn`t this a problem of the framework itself? When I have page
constcted from serveral subcomponents then my JVM will run
out of memory after some user. What do you think about string
components within the user session and reuse them?

Maciej

> -Ursprüngliche Nachricht-
> Von: wicket-user@lists.sourceforge.net
> Gesendet: 03.11.06 16:38:11
> An: wicket-user@lists.sourceforge.net
> Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and panels


> Object pooling is considered baaaddd form with Wicket and Java in general.
> 
> A page is constructed in the context of a user session and as such
> should not be shared between different sessions: each component is
> stateful for a particular session. You will enter a world of hurt if
> you embark on such a path.
> 
> Martijn
> 
> On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Helo Johan,
> >
> > can you explain "pooling pages" in details and give me some short example?
> > Do you mean putting pages into some kind of singleton or a synchronized
> > pool which holds reuseable pages? How are those pages given back to the
> > pool for reuse?
> >
> > Thank you very much,
> >
> > Maciej
> >
> > > -Ursprüngliche Nachricht-
> > > Von: wicket-user@lists.sourceforge.net
> > > Gesendet: 03.11.06 16:30:22
> > > An: wicket-user@lists.sourceforge.net
> > > Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and 
> > > panels
> >
> > what do you mean with reloads the page?
> > >
> > > A normal refresh (if url is wicket:interface=xxx) then a page is not 
> > > recreated.
> > > Or do you mean bookmarkable urls?
> > >
> > > Other links like pageLinks or your own links you can do what ever you 
> > > want with (PortalSession)Session.get().
> > >
> > >
> > > johan
> > >
> > >
> > >
> > >
> > > On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> > > > wrote:Hi all!
> > >
> > > I am looking for a pattern, strategy or code example how to avoid 
> > > creation of new page Instances when a user reloads a page. Can someone 
> > > give my a hint how to achieve following behaviour:
> > >
> > >
> > > - "static" pages which have only a single instance during whole 
> > > application lifecycle ?
> > > - some kind of page and/or factory or proxy to reuse instances?
> > >
> > > Any best practice or some examples would be nice.
> > >
> > >
> > > Thank you very much,
> > >
> > > Maciej Bednarz
> > >
> > >
> > >
> > > -
> > > Using Tomcat but need to do more? Need to support web services, security?
> > > Get stuff done quickly with pre-integrated technology to make your job 
> > > easier
> > >
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > >
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> > > -
> > > -
> > > Using Tomcat but need to do more? Need to support web services, security?
> > > Get stuff done quickly with pre-integrated technology to make your job 
> > > easier
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > >
> > > -
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> > --
> > mfG
> >
> > Bednarz, Hannover
> >
> > -
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job 
> > easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> 
> 
> -- 
> http://www.thebeststuffintheworld.com/vote_for/wicket";>Vote
> for http://www.thebeststuffintheworld.com/stuff/wicket";>Wicket
> at the http://www.thebeststuffintheworld.com/";>Best Stuff in
> the World!
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falka

Re: [Wicket-user] Strategy to avoid new instances of pages and panels

2006-11-03 Thread Martijn Dashorst
Object pooling is considered baaaddd form with Wicket and Java in general.

A page is constructed in the context of a user session and as such
should not be shared between different sessions: each component is
stateful for a particular session. You will enter a world of hurt if
you embark on such a path.

Martijn

On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Helo Johan,
>
> can you explain "pooling pages" in details and give me some short example?
> Do you mean putting pages into some kind of singleton or a synchronized
> pool which holds reuseable pages? How are those pages given back to the
> pool for reuse?
>
> Thank you very much,
>
> Maciej
>
> > -Ursprüngliche Nachricht-
> > Von: wicket-user@lists.sourceforge.net
> > Gesendet: 03.11.06 16:30:22
> > An: wicket-user@lists.sourceforge.net
> > Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and 
> > panels
>
> what do you mean with reloads the page?
> >
> > A normal refresh (if url is wicket:interface=xxx) then a page is not 
> > recreated.
> > Or do you mean bookmarkable urls?
> >
> > Other links like pageLinks or your own links you can do what ever you want 
> > with (PortalSession)Session.get().
> >
> >
> > johan
> >
> >
> >
> >
> > On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> > > wrote:Hi all!
> >
> > I am looking for a pattern, strategy or code example how to avoid creation 
> > of new page Instances when a user reloads a page. Can someone give my a 
> > hint how to achieve following behaviour:
> >
> >
> > - "static" pages which have only a single instance during whole application 
> > lifecycle ?
> > - some kind of page and/or factory or proxy to reuse instances?
> >
> > Any best practice or some examples would be nice.
> >
> >
> > Thank you very much,
> >
> > Maciej Bednarz
> >
> >
> >
> > -
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job 
> > easier
> >
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
> > -
> > -
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job 
> > easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >
> > -
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
> --
> mfG
>
> Bednarz, Hannover
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-- 
http://www.thebeststuffintheworld.com/vote_for/wicket";>Vote
for http://www.thebeststuffintheworld.com/stuff/wicket";>Wicket
at the http://www.thebeststuffintheworld.com/";>Best Stuff in
the World!

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


Re: [Wicket-user] Strategy to avoid new instances of pages and panels

2006-11-03 Thread bednarz-hannover
Helo Johan,

can you explain "pooling pages" in details and give me some short example?
Do you mean putting pages into some kind of singleton or a synchronized 
pool which holds reuseable pages? How are those pages given back to the
pool for reuse?

Thank you very much,

Maciej

> -Ursprüngliche Nachricht-
> Von: wicket-user@lists.sourceforge.net
> Gesendet: 03.11.06 16:30:22
> An: wicket-user@lists.sourceforge.net
> Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and panels

what do you mean with reloads the page?
> 
> A normal refresh (if url is wicket:interface=xxx) then a page is not 
> recreated.
> Or do you mean bookmarkable urls?
> 
> Other links like pageLinks or your own links you can do what ever you want 
> with (PortalSession)Session.get().
> 
> 
> johan
> 
> 
> 
> 
> On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> > wrote:Hi all!
> 
> I am looking for a pattern, strategy or code example how to avoid creation of 
> new page Instances when a user reloads a page. Can someone give my a hint how 
> to achieve following behaviour:
> 
> 
> - "static" pages which have only a single instance during whole application 
> lifecycle ?
> - some kind of page and/or factory or proxy to reuse instances?
> 
> Any best practice or some examples would be nice.
> 
> 
> Thank you very much,
> 
> Maciej Bednarz
> 
> 
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> 
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 
> -
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> -
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 

-- 
mfG

Bednarz, Hannover

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


Re: [Wicket-user] Strategy to avoid new instances of pages and panels

2006-11-03 Thread Johan Compagner
what do you mean with reloads the page?A normal refresh (if url is wicket:interface=xxx) then a page is not recreated.Or do you mean bookmarkable urls?Other links like pageLinks or your own links you can do what ever you want with pooling pages.
johanOn 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> wrote:Hi all!I am looking for a pattern, strategy or code example how to avoid creation of new page Instances when a user reloads a page. Can someone give my a hint how to achieve following behaviour:
- "static" pages which have only a single instance during whole application lifecycle ?- some kind of page and/or factory or proxy to reuse instances?Any best practice or some examples would be nice.
Thank you very much,Maciej Bednarz-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] javascript/sending information to a specific wicket component from a page

2006-11-03 Thread Erik Brakkee
Hi, I have made custom component which uses some _javascript_. Now my question is how to pass on information from _javascript_ to the wicket component on the server side. I can imagine things like adding a hidden form field with a specific id based on the wicket id of the custom component in question, which then retrieves this information on the serverside by examining the request. 
Any ideas or pointers on how to do something like this? Cheers  Erik
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Set Main Component for Inherited Classes?

2006-11-03 Thread Jonathan Sharp
Should this affect a fragment that I have inside of my ExamplePage? I'm getting a "Markup does not contain fragment id=foo". I have the fragment inside of my ExamplePage.html file between the  tags.
-jsOn 11/2/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
WebMarkupContainer body = new WebMarkupContainer(...) {        boolean isTransparentResolver() { return true; }}-igor
On 11/2/06, Jonathan Sharp
 <[EMAIL PROTECTED]> wrote:
If I have a BasePage class that has a Component that wraps the page and the  tag, is there a method I can implement that will bind any inherited pages to this object instead of the page object? Below demonstrates my problem in the extended pages.
BasePage {    ...    WebMarkupContainer body = new ...    add(body);    ...    private void myAdd(Component c) {    body.add(c);    }}ExamplePage extends BasePage {
    ...    add(myComponent);    --> This really needs to be body.add(myComponent);    ...}Is there a way where I can make the add() method for the ExamplePage attach components to
the body container instead of the page container? Can I do this without
implementing a custom method on the BasePage such as myAdd?

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list

Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


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

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


Re: [Wicket-user] Strategy to avoid new instances of pages and panels

2006-11-03 Thread Frank Silbermann
One style of Wicket development is to use a single page for the entire
application, switching components within the page.  If you did that,
your "pages" could be large components chosen by the single master page.
You could keep these "page" components in application or session storage
to be re-used.  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, November 03, 2006 1:31 AM
To: wicket-user@lists.sourceforge.net
Subject: [Wicket-user] Strategy to avoid new instances of pages and
panels

Hi all!

I am looking for a pattern, strategy or code example how to avoid
creation of new page Instances when a user reloads a page. Can someone
give my a hint how to achieve following behaviour:

- "static" pages which have only a single instance during whole
application lifecycle ?
- some kind of page and/or factory or proxy to reuse instances?

Any best practice or some examples would be nice.

Thank you very much,

Maciej Bednarz 




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

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


[Wicket-user] Pls add your birthday to my calendar...

2006-11-03 Thread Ketan Gote Ketan
I'm building a birthday calendar and I would really appreciate if you could 
help me out.

Simply click on the link below and enter your birthday into my calendar:

http://www.birthdaytime.com/addyourbday.php?id=mxvIhMtKosX%2FGPA2govV%2B2Np0sKeVMn%2BrGaWHQlXUEmwKmpqEPIo%2Fw%3D%3D&data=XCmBraZBe%2Bluo984qnFrf19v2sOTCzZwBDVC2x6q9%2BOlTsUeDfh9aWCXG%2Fo8rWyK>
  .
It is simple, fast and you will help me to remember it!

Thanks!

Ketan Gote Ketan






---
This email was sent by Ketan Gote Ketan ([EMAIL PROTECTED]).If you do not wish 
to receive future mailings from birthdaytime, please click on the link below. 
BirthdayTime's offices are located at 2202 S. Figueroa St, Los angeles, CA 
90007.

http://www.birthdaytime.com/cancelfollow.php?id=mxvIhMtKosX%2FGPA2govV%2B2Np0sKeVMn%2BrGaWHQlXUEmwKmpqEPIo%2Fw%3D%3D&data=XCmBraZBe%2Bluo984qnFrf19v2sOTCzZwBDVC2x6q9%2BOlTsUeDfh9aWCXG%2Fo8rWyK




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


Re: [Wicket-user] A wicket book in chinese is available free

2006-11-03 Thread Francis Amanfo
Whao, it's about time we all go for some chinese language course. Afterall it's the most spoken language in the whole world.Regards,FrancisOn 11/3/06, 
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I Just finished a book about wicket.
But it's a pity that it is written in chinese.
Maybe most of the users in the mail list can't read.
But i still hope it can help the wicket users in china.
 
You can read this book on the following url.
 
http://gocom.primeton.com/
The pdf version is also available.__赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com
-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

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


Re: [Wicket-user] Global, Thread specific Property

2006-11-03 Thread Roland Kaercher
Hi Korbinian,

if I understand your Problem correctly then you could use a custom
subclass of WebSession for that purpose.

roland

On 11/3/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i've got a problem and i dont know how to solve it. I work with
> PageParameters and the thing that i allways have to pull them around makes
> me sad. Is there a way how i can have a global object holding the current
> PageParameters that can be accessed without passing in the PageParameters
> into a constructor?
>
> e.g: not matter where i want to access
> GlobalThreadSpecificObject.getParam("foo") - i can call it on any component
> or in any page... ?
>
> The reason is that i use IndexedPageParams and have panels that are
> dependent on a specific param value and also need a flexible way to change
> the number, the params are hanging on as the number of preceeding
> PageParameters can change later on
>
> Best Regards,
>
> Korbinian
>
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

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


[Wicket-user] Global, Thread specific Property

2006-11-03 Thread Korbinian Bachl
Hi,
 
i've got a problem and i dont know how to solve it. I work with
PageParameters and the thing that i allways have to pull them around makes
me sad. Is there a way how i can have a global object holding the current
PageParameters that can be accessed without passing in the PageParameters
into a constructor?
 
e.g: not matter where i want to access
GlobalThreadSpecificObject.getParam("foo") - i can call it on any component
or in any page... ?
 
The reason is that i use IndexedPageParams and have panels that are
dependent on a specific param value and also need a flexible way to change
the number, the params are hanging on as the number of preceeding
PageParameters can change later on 

Best Regards,

Korbinian



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


Re: [Wicket-user] Change default prefix for url

2006-11-03 Thread bednarz-hannover
Hello Eric,
Hello Igor !

Thank you very much for both responses. I agree to Igors response about my idea 
in general and
am happy to see that wicket is secure :_))

Nevertheless I decided to use obfuscated urls for some other special responses. 
Erics  hint works
perfectly.

Thank you very much,

Maciej

> Von: wicket-user@lists.sourceforge.net
> Gesendet: 03.11.06 09:17:24
> An: wicket-user@lists.sourceforge.net
> Betreff: Re: [Wicket-user] Change default prefix for url


> Hello Maciej,
> 
> You can find more here: 
> http://cwiki.apache.org/WICKET/obfuscating-urls.html.
> 
>  Erik.
> 
> [EMAIL PROTECTED] schreef:
> > Hi all !
> >
> > Is there a way to change the default prefix for url before instances? My 
> > current URLs look like:
> >
> > http://127.0.0.1/application?wicket:interface=:22::
> >
> > How can I change the wicket prefix so the URL is looking like this:
> >
> > http://127.0.0.1/application?portal:interface=:22::
> >
> > I need this for security. Visitors should not know that the application is 
> > using wicket.
> >
> > Thank you very much,
> >
> > Maciej Bednarz
> >
> >   
> -- 
> Erik van Oosten
> http://www.day-to-day-stuff.blogspot.com/
> 
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user

-- 
mfG

Bednarz, Hannover

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


Re: [Wicket-user] Wicket performance in high availability applications?

2006-11-03 Thread Johan Compagner
why would that be help full in performance?What you should know when the session is created and when pages are created and what does happen to that after that. johanOn 11/3/06, 
Carfield Yim <[EMAIL PROTECTED]> wrote:
I personally think this is nice to show the life-cycle from thecontainer start to generate a page at some where in wiki. Sound likethis is a complex process that many user of wicket like to learn moreand understand more about the performance impact to their application?
On 11/3/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:> > I have a few questions:> >> > 1) Does anyone know of Wicket being used on a high traffic website?
>> I know of people building them, but the ones I know are not yet in> full production. But maybe someone else on this list knows.>> > 2) What are some of the challenges related to scaling a Wicket
> > application (beyond the general servlet recommendations of being> > stateless as long as possible, keeping the state small to facilitate> > clustering, etc)?>> The only tradeoff of Wicket is that Wicket is heavy on memory. While
> that is not a big problem per se, it is something to keep in the back> of your mind, and one of the first things you would optimize when the> time comes to tweak your application. In general, try to use
> detachable models when you create database driven apps, tweak the> number of history items kept, etc. Oh, and don't forget to set wicket> to deployment:>> 
>   configuration>   deployment> >> in web.xml. That'll have quite a big impact on the throughput.
>> One thing to be careful of is Wicket with (public facing) sites with a> load that is hard to predict. If you have very large peaks you> probably want to keep your session time out low, and investigate
> stateless pages (and forms and links etc), which are most mature in> Wicket 2.0 (though there is limiited support in 1.2).>>> > 3) Tapestry uses page and component pooling to help achieve higher
> > throughput...>> Yeah, and whether that is a good thing is highly debatable. If you> read up on optimizing Java code, object pooling is usually on top of> the list of things you *should not* do, as it is likely the
> synchronization you need will the bottleneck and hotspot is very good> in managing short lived objects.>> We have tested Tapestry vs Wicket performance a bit over a year ago,> to look for spots we might optimize, and our results were that Wicket
> had a higher throughput even without optimization.>> > It doesn't appear like Wicket can employ such a> > technique due to the framework allowing direct page and component> > instantiation. Are pages and components so light weight pooling them
> > is not worth the disadvantages of not being able to pass parameters> > via constructor or is this a known trade off?>> Wicket's unmanaged model encompasses much more than just passing in
> parameters in the constructor. It means you decide on any form of> construction you like, it means you can program 'just java' as you> would do in other tiers of your application, and you can construct all
> the aggregations you want. Furthermore, like I said above, pooling is> not even an advantage.>> > Thanks for any information you can provide! I will be sure to post the> > results of my investigation on this list in a week or two.
> >> > Ryan>> Sure. Maybe you want to share the exact tests you're doing too?>> Eelco>> -
> Using Tomcat but need to do more? Need to support web services, security?> Get stuff done quickly with pre-integrated technology to make your job easier> Download IBM WebSphere Application Server v.1.0.1
 based on Apache Geronimo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___> Wicket-user mailing list> Wicket-user@lists.sourceforge.net> 
https://lists.sourceforge.net/lists/listinfo/wicket-user>-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lis

Re: [Wicket-user] Weird Wiki problem

2006-11-03 Thread Erik van Oosten
Okay, understood. Makes sense.
I hope the update happens at least once a day. Twice would be nicer :)

Thanks,
 Erik.

Martijn Dashorst schreef:
> The wiki's is exported every so often (don't know the frequency,
> Kenneth) to a static space (the preferred linking space) accomodate
> the scalability issues Apache faces with their infrastructure
> (something about several tera byte per month).
>
> Martijn

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


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


Re: [Wicket-user] Weird Wiki problem

2006-11-03 Thread Martijn Dashorst
The wiki's is exported every so often (don't know the frequency,
Kenneth) to a static space (the preferred linking space) accomodate
the scalability issues Apache faces with their infrastructure
(something about several tera byte per month).

Martijn

On 11/3/06, Erik van Oosten <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I created a child page from page i18n. When I look at
> http://cwiki.apache.org/WICKET/reference-library.html, you can not see a
> link to the new page. It _is_ visible through
> http://cwiki.apache.org/confluence/display/WICKET/Reference+library.
>
> Why are these different? And also, why is the first recommended even
> though it does not show up to date information?
>
>  Erik.
>
>
> --
> Erik van Oosten
> http://www.day-to-day-stuff.blogspot.com/
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-- 
http://www.thebeststuffintheworld.com/vote_for/wicket";>Vote
for http://www.thebeststuffintheworld.com/stuff/wicket";>Wicket
at the http://www.thebeststuffintheworld.com/";>Best Stuff in
the World!

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


[Wicket-user] Weird Wiki problem

2006-11-03 Thread Erik van Oosten
Hello,

I created a child page from page i18n. When I look at 
http://cwiki.apache.org/WICKET/reference-library.html, you can not see a 
link to the new page. It _is_ visible through 
http://cwiki.apache.org/confluence/display/WICKET/Reference+library.

Why are these different? And also, why is the first recommended even 
though it does not show up to date information?

 Erik.


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


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


Re: [Wicket-user] Change default prefix for url

2006-11-03 Thread Erik van Oosten
Hello Maciej,

You can find more here: 
http://cwiki.apache.org/WICKET/obfuscating-urls.html.

 Erik.

[EMAIL PROTECTED] schreef:
> Hi all !
>
> Is there a way to change the default prefix for url before instances? My 
> current URLs look like:
>
> http://127.0.0.1/application?wicket:interface=:22::
>
> How can I change the wicket prefix so the URL is looking like this:
>
> http://127.0.0.1/application?portal:interface=:22::
>
> I need this for security. Visitors should not know that the application is 
> using wicket.
>
> Thank you very much,
>
> Maciej Bednarz
>
>   
-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


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


Re: [Wicket-user] Change default prefix for url

2006-11-03 Thread Igor Vaynberg
and when they see ?portal:interface=:4:some.path:ILinkListener that doesnt look like wicket?if someone is going to go through enough trouble to figure out what framework you are using they will figure it out just by googling ILinkListener or another interface name we encode into the url.
or look into html for our tell tale window.name trick.wicket is pretty secure by default, much more so then other frameworks for two reasons1) nonbookmarkable urls are session-relative, so unless someone hijacks someone elses session they cant really do much.
2) there are no request parameters such as ids, etc encoded into the url for nonbookmarkable pagesthere is also a CryptedUrlWebRequestCodingStrategysecurity by obscurity is never a good idea.-igor
On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> wrote:Hi all !Is there a way to change the default prefix for url before instances? My current URLs look like:
http://127.0.0.1/application?wicket:interface=:22::How can I change the wicket prefix so the URL is looking like this:
http://127.0.0.1/application?portal:interface=:22::I need this for security. Visitors should not know that the application is using wicket.Thank you very much,Maciej Bednarz-
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

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


[Wicket-user] Change default prefix for url

2006-11-03 Thread bednarz-hannover
Hi all !

Is there a way to change the default prefix for url before instances? My 
current URLs look like:

http://127.0.0.1/application?wicket:interface=:22::

How can I change the wicket prefix so the URL is looking like this:

http://127.0.0.1/application?portal:interface=:22::

I need this for security. Visitors should not know that the application is 
using wicket.

Thank you very much,

Maciej Bednarz

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


Re: [Wicket-user] Ajax autocompletion troubles

2006-11-03 Thread Erik van Oosten
I verified it just now and it works!!!

Congratulations on solving this apparently difficult bug!

Thanks,
 Erik.

Matej Knopp schreef:
> Is that problem still present? Could you please check current svn too?
>
> -Matej

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


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