Re: [Wicket-user] Mounting a package

2007-02-12 Thread Paolo Di Tommaso

OK. But from where I could start?

Thanks, Paolo

On 2/12/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:


no, access to files, within a package or not, is provided via shared
resources. it should be pretty easy to write a resource to do what you want
though.

-igor


On 2/12/07, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote:
>
> Is it possible to use WebApplication#mount(java.lang.String path,
> PackageName packageName) to map a package name to a path and then access all
> the static resources (like images, etc) in the package by that path?
>
> Thanks, Paolo
>

-
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] Firefox 2 and wicket-ajax - known issue?

2007-02-12 Thread karthik Guru

yep you are right :).

thanks,
Karthik

On 2/13/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:


i think this is actually a firebug bug :) try with it disabled

-igor


On 2/12/07, karthik Guru < [EMAIL PROTECTED]> wrote:

> Hi Matej,
>
> Here is something that I observed in FireBug -
>
> =
> t has no properties
> stateChangeCallback()wicket-ajax.js (line 627)
> bind()wicket-ajax.js (line 36)
> (no name)(XMLHttpRequest, "POST" ,
> 
"/wicket-examples/verical?wicket:interface=wicket-0:0:form:categories:2:deleteCheckbox:-1:IUnversione...",
> true)javascript: eval(... (line 1)
> doPost( "categories%3A2%3AdeleteCheckbox=on&")wicket-ajax.js (line 612)
> post()wicket-ajax.js (line 595)
> bind()wicket-ajax.js (line 36)
> schedule(function()) wicket-ajax.js (line 391)
> schedule("0|s", function())wicket-ajax.js (line 432)
> post( "categories%3A2%3AdeleteCheckbox=on&")wicket-ajax.js (line 595)
> post("categories%3A2%3AdeleteCheckbox=on&")wicket-ajax.js (line 700)
> 
wicketAjaxPost("/wicket-examples/verical?wicket:interface=wicket-0:0:form:categories:2:deleteCheckbox:-1:IUnversione..."
> , "categories%3A2%3AdeleteCheckbox=on&", function() , function(),
> undefined) wicket-ajax.js (line 1092)
> onclick(click clientX=0, clientY=0 )verical (line 1)
>  if (t.readyState == 4) {
> =
>
> regards
> Karthik
>
>
> On 2/10/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
> >
> > nope.
> > can you provide content of ajax console? (if any)
> >
> > -Matej
> >
> > karthik Guru wrote:
> > > Any known issue with wicket-ajax and Mozilla 2.0?
> > > I have an Ajax checkbox that doesn't seem to trigger the Ajax
> > request.
> > > But it seems to be working fine with IE 6 and FF 1.5
> > >
> > > thanks,
> > > Karthik
> > >
> > >
> > >
> > 
> > >
> > >
> > -
> > > 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
> >
>
>
>
> --
> -- karthik --
>
> -
> 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





--
-- karthik --
-
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] Firefox 2 and wicket-ajax - known issue?

2007-02-12 Thread Igor Vaynberg

i think this is actually a firebug bug :) try with it disabled

-igor


On 2/12/07, karthik Guru <[EMAIL PROTECTED]> wrote:


Hi Matej,

Here is something that I observed in FireBug -

=
t has no properties
stateChangeCallback()wicket-ajax.js (line 627)
bind()wicket-ajax.js (line 36)
(no name)(XMLHttpRequest, "POST" ,
"/wicket-examples/verical?wicket:interface=wicket-0:0:form:categories:2:deleteCheckbox:-1:IUnversione...",
true)javascript: eval(... (line 1)
doPost( "categories%3A2%3AdeleteCheckbox=on&")wicket-ajax.js (line 612)
post()wicket-ajax.js (line 595)
bind()wicket-ajax.js (line 36)
schedule(function()) wicket-ajax.js (line 391)
schedule("0|s", function())wicket-ajax.js (line 432)
post( "categories%3A2%3AdeleteCheckbox=on&")wicket-ajax.js (line 595)
post("categories%3A2%3AdeleteCheckbox=on&")wicket-ajax.js (line 700)
wicketAjaxPost("/wicket-examples/verical?wicket:interface=wicket-0:0:form:categories:2:deleteCheckbox:-1:IUnversione..."
, "categories%3A2%3AdeleteCheckbox=on&", function() , function(),
undefined) wicket-ajax.js (line 1092)
onclick(click clientX=0, clientY=0 )verical (line 1)
 if (t.readyState == 4) {
=

regards
Karthik


On 2/10/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
>
> nope.
> can you provide content of ajax console? (if any)
>
> -Matej
>
> karthik Guru wrote:
> > Any known issue with wicket-ajax and Mozilla 2.0?
> > I have an Ajax checkbox that doesn't seem to trigger the Ajax request.
>
> > But it seems to be working fine with IE 6 and FF 1.5
> >
> > thanks,
> > Karthik
> >
> >
> >
> 
> >
> >
> -
> > 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
>



--
-- karthik --
-
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] Firefox 2 and wicket-ajax - known issue?

2007-02-12 Thread karthik Guru

Hi Matej,

Here is something that I observed in FireBug -

=
t has no properties
stateChangeCallback()wicket-ajax.js (line 627)
bind()wicket-ajax.js (line 36)
(no name)(XMLHttpRequest, "POST",
"/wicket-examples/verical?wicket:interface=wicket-0:0:form:categories:2:deleteCheckbox:-1:IUnversione...",
true)javascript: eval(... (line 1)
doPost("categories%3A2%3AdeleteCheckbox=on&")wicket-ajax.js (line 612)
post()wicket-ajax.js (line 595)
bind()wicket-ajax.js (line 36)
schedule(function())wicket-ajax.js (line 391)
schedule("0|s", function())wicket-ajax.js (line 432)
post("categories%3A2%3AdeleteCheckbox=on&")wicket-ajax.js (line 595)
post("categories%3A2%3AdeleteCheckbox=on&")wicket-ajax.js (line 700)
wicketAjaxPost(
"/wicket-examples/verical?wicket:interface=wicket-0:0:form:categories:2:deleteCheckbox:-1:IUnversione...",
"categories%3A2%3AdeleteCheckbox=on&", function(), function(), undefined)
wicket-ajax.js (line 1092)
onclick(click clientX=0, clientY=0)verical (line 1)
if (t.readyState == 4) {
=

regards
Karthik


On 2/10/07, Matej Knopp <[EMAIL PROTECTED]> wrote:


nope.
can you provide content of ajax console? (if any)

-Matej

karthik Guru wrote:
> Any known issue with wicket-ajax and Mozilla 2.0?
> I have an Ajax checkbox that doesn't seem to trigger the Ajax request.
> But it seems to be working fine with IE 6 and FF 1.5
>
> thanks,
> Karthik
>
>
> 
>
>
-
> 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





--
-- karthik --
-
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] Convert newlines to br

2007-02-12 Thread Eelco Hillenius
See MultiLineLabel or Strings.toMultilineMarkup

Eelco

On 2/12/07, Jesse Barnum <[EMAIL PROTECTED]> wrote:
> How can I tell a Label to convert newlines to HTML linebreaks?
>
> So that "first line\nSecond line" would become "first lineSecond
> line"?
>
> It seems like there ought to be a Component.setConvertNewlines(true)
> or something similar, or maybe this should happen when you
> setEscapeModelStrings( true );
>
> --Jesse Barnum, President, 360Works
> http://www.360works.com
> (770) 234-9293
>
>
>
> -
> 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] Convert newlines to br

2007-02-12 Thread Jesse Barnum
How can I tell a Label to convert newlines to HTML linebreaks?

So that "first line\nSecond line" would become "first lineSecond  
line"?

It seems like there ought to be a Component.setConvertNewlines(true)  
or something similar, or maybe this should happen when you  
setEscapeModelStrings( true );

--Jesse Barnum, President, 360Works
http://www.360works.com
(770) 234-9293



-
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] Who is using Wicket under production environment?

2007-02-12 Thread Eelco Hillenius
>  The only reason I am reluctant to add mystreet.com to the WIKI is that
> after I quit, they hired a couple of PHP programmers to work on the site.  I
> tried to help them as much I could with the J2EE and Wicket code, but I
> don't think they could grasp the concepts.  I think the site is under a
> rewrite to PHP (their loss :).  So I I didn't bother mentioning it on the
> WIKI because at any time the site could relaunch to a PHP version.

Heh. Yeah interesting story, and I agree that in this case it's better
not to add it.

> Damn PHP script kiddies :)

I bet they were cheaper than you are ;)

>  I know for a fact that unless they use a decent PHP
> component-based framework (Prado?) with good AJAX support, they are going to
> have problems implementing a lot of the features that took me less than a
> day to do in wicket.  I know for a fact they are already going on 7 months
> of rewriting of a site that took me 3 months in Wicket to develop.  You win
> some, you lose some. :)

And I still believe the big business advantage of Wicket is that
you'll end up with a maintainable application. Being able to develop
quickly is nice, and sometimes you need an edge there, but the
maintenance phase is where the real costs are. PHP isn't particularly
encouraging to write maintainable code.

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] Who is using Wicket under production environment?

2007-02-12 Thread Aaron Hiniker
The only reason I am reluctant to add mystreet.com to the WIKI is that
after I quit, they hired a couple of PHP programmers to work on the
site.  I tried to help them as much I could with the J2EE and Wicket
code, but I don't think they could grasp the concepts.  I think the site
is under a rewrite to PHP (their loss :).  So I I didn't bother
mentioning it on the WIKI because at any time the site could relaunch to
a PHP version.  Damn PHP script kiddies :)   I know for a fact that
unless they use a decent PHP component-based framework (Prado?) with
good AJAX support, they are going to have problems implementing a lot of
the features that took me less than a day to do in wicket.  I know for a
fact they are already going on 7 months of rewriting of a site that took
me 3 months in Wicket to develop.  You win some, you lose some. :)

Aaron


Eelco Hillenius wrote:
> Cool. Any mention of any projects you know on the WIKI would be welcome.
>
> Eelco
>
>
> On 2/12/07, Aaron Hiniker <[EMAIL PROTECTED]> wrote:
>   
>>  I wrote mystreet.com in wicket last summer.  It uses EJB3 for persistence.
>>
>>  The site is still pending an "official" launch.  There may still be a few
>> bugs here and there but I moved on to a new job, so..  :)
>>
>>  To view a demo neighborhood you can use:
>>
>>  http://mystreet.com/
>>
>>  Username: markg
>>  Password: mg123
>>
>>  I am currently working on an IT Procurement / Internal ERP system on top of
>> Compiere in Wicket.  Should go into production in the next two months.
>>
>>  Aaron
>>
>>
>>
>>  Matthes R. wrote:
>>  Michel Wichers schrieb:
>>
>>
>>  Hi all,
>>
>> is there anywhere a reference list with products/projects using the
>> wicket framework? Or do you know any companies who are using the wicket
>> framework productive?
>>
>> Regards,
>>
>> Michel
>>
>>
>> -
>> 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
>>
>>
>>
>>  check this out:
>> http://cwiki.apache.org/WICKET/#Index-SitesusingWicket
>>
>> greets,
>> Matthes
>>
>> -
>> 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] Who is using Wicket under production environment?

2007-02-12 Thread Scott Swank

I'll need a couple of months.

On 2/12/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:


Cool. Any mention of any projects you know on the WIKI would be welcome.

Eelco


On 2/12/07, Aaron Hiniker <[EMAIL PROTECTED]> wrote:
>
>  I wrote mystreet.com in wicket last summer.  It uses EJB3 for
persistence.
>
>  The site is still pending an "official" launch.  There may still be a
few
> bugs here and there but I moved on to a new job, so..  :)
>
>  To view a demo neighborhood you can use:
>
>  http://mystreet.com/
>
>  Username: markg
>  Password: mg123
>
>  I am currently working on an IT Procurement / Internal ERP system on
top of
> Compiere in Wicket.  Should go into production in the next two months.
>
>  Aaron
>
>
>
>  Matthes R. wrote:
>  Michel Wichers schrieb:
>
>
>  Hi all,
>
> is there anywhere a reference list with products/projects using the
> wicket framework? Or do you know any companies who are using the wicket
> framework productive?
>
> Regards,
>
> Michel
>
>
>
-
> 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
>
>
>
>  check this out:
> http://cwiki.apache.org/WICKET/#Index-SitesusingWicket
>
> greets,
> Matthes
>
>
-
> 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





--
Scott Swank
reformed mathematician
-
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] Who is using Wicket under production environment?

2007-02-12 Thread Eelco Hillenius
Cool. Any mention of any projects you know on the WIKI would be welcome.

Eelco


On 2/12/07, Aaron Hiniker <[EMAIL PROTECTED]> wrote:
>
>  I wrote mystreet.com in wicket last summer.  It uses EJB3 for persistence.
>
>  The site is still pending an "official" launch.  There may still be a few
> bugs here and there but I moved on to a new job, so..  :)
>
>  To view a demo neighborhood you can use:
>
>  http://mystreet.com/
>
>  Username: markg
>  Password: mg123
>
>  I am currently working on an IT Procurement / Internal ERP system on top of
> Compiere in Wicket.  Should go into production in the next two months.
>
>  Aaron
>
>
>
>  Matthes R. wrote:
>  Michel Wichers schrieb:
>
>
>  Hi all,
>
> is there anywhere a reference list with products/projects using the
> wicket framework? Or do you know any companies who are using the wicket
> framework productive?
>
> Regards,
>
> Michel
>
>
> -
> 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
>
>
>
>  check this out:
> http://cwiki.apache.org/WICKET/#Index-SitesusingWicket
>
> greets,
> Matthes
>
> -
> 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] datetime - DateTextField

2007-02-12 Thread Justin Lee
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

I do.  I blame eelco.  

Igor Vaynberg wrote:
> sure, blame the tool
> 
> -igor
> 
> 
> On 2/12/07, *Eelco Hillenius* <[EMAIL PROTECTED]
> > wrote:
> 
> > Also note that forShortStyle(String, IModel) has an inconsistent
> return type
> > as compared to the seven other static methods.
> >
> > Why the choice to return ITextFormatProvider instead of DateTextField?
> 
> Heh. Letting Eclipse doing the refactoring without properly checking
> what it changed. :)
> 
> Fixed as well.
> 
> 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

- --
Justin Lee
http://www.antwerkz.com
AIM : evan chooly
Skype : evanchooly
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (Cygwin)

iD8DBQFF0OffJnQfEGuJ90MRA+syAJ9M41kGcSCag8gQk4WDVDo2FM/ZRgCgnetf
sDd54dJNlSHqN1gHu/fDHOI=
=5U5g
-END PGP 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


Re: [Wicket-user] Who is using Wicket under production environment?

2007-02-12 Thread Aaron Hiniker
I wrote mystreet.com in wicket last summer.  It uses EJB3 for persistence.

The site is still pending an "official" launch.  There may still be a
few bugs here and there but I moved on to a new job, so..  :)

To view a demo neighborhood you can use:

http://mystreet.com/

Username: markg
Password: mg123

I am currently working on an IT Procurement / Internal ERP system on top
of Compiere in Wicket.  Should go into production in the next two months.

Aaron


Matthes R. wrote:
> Michel Wichers schrieb:
>   
>> Hi all,
>>
>> is there anywhere a reference list with products/projects using the 
>> wicket framework? Or do you know any companies who are using the wicket 
>> framework productive?
>>
>> Regards,
>>
>> Michel
>>
>>
>> -
>> 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
>>
>>   
>> 
> check this out:
> http://cwiki.apache.org/WICKET/#Index-SitesusingWicket
>
> greets,
> Matthes
>
> -
> 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] datetime - DateTextField

2007-02-12 Thread Igor Vaynberg

sure, blame the tool

-igor


On 2/12/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:


> Also note that forShortStyle(String, IModel) has an inconsistent return
type
> as compared to the seven other static methods.
>
> Why the choice to return ITextFormatProvider instead of DateTextField?

Heh. Letting Eclipse doing the refactoring without properly checking
what it changed. :)

Fixed as well.

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] datetime - DateTextField

2007-02-12 Thread Eelco Hillenius
> Also note that forShortStyle(String, IModel) has an inconsistent return type
> as compared to the seven other static methods.
>
> Why the choice to return ITextFormatProvider instead of DateTextField?

Heh. Letting Eclipse doing the refactoring without properly checking
what it changed. :)

Fixed as well.

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] datetime - DateTextField

2007-02-12 Thread Eelco Hillenius
Correct. Fixed now.

Thanks!

Eelco

On 2/12/07, ChuckDeal <[EMAIL PROTECTED]> wrote:
>
> Wicket 1.3/ datetime project
>
> I believe that this might not be correct.
>
> public static ITextFormatProvider forDatePattern(String id, String
> datePattern) {
>   return forDateStyle(id, null, datePattern);
> }
>
> Notice that it delegates to forDateStyle?  I believe that it should be
> delegating to forDatePattern.  I came to this conclusion by looking at the
> three other pairs of static methods on this class.
>
> Chuck
> --
> View this message in context: 
> http://www.nabble.com/datetime---DateTextField-tf3216520.html#a8932794
> 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
>

-
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] datetime - DateTextField

2007-02-12 Thread ChuckDeal

Also note that forShortStyle(String, IModel) has an inconsistent return type
as compared to the seven other static methods.  

Why the choice to return ITextFormatProvider instead of DateTextField?

Chuck
-- 
View this message in context: 
http://www.nabble.com/datetime---DateTextField-tf3216520.html#a8932846
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] datetime - DateTextField

2007-02-12 Thread ChuckDeal

Wicket 1.3/ datetime project

I believe that this might not be correct.

public static ITextFormatProvider forDatePattern(String id, String
datePattern) {
  return forDateStyle(id, null, datePattern);
}

Notice that it delegates to forDateStyle?  I believe that it should be
delegating to forDatePattern.  I came to this conclusion by looking at the
three other pairs of static methods on this class.

Chuck
-- 
View this message in context: 
http://www.nabble.com/datetime---DateTextField-tf3216520.html#a8932794
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] Who is using Wicket under production environment?

2007-02-12 Thread Erik van Oosten
Thanks. I added my app.

 Erik.


Igor Vaynberg wrote:
> not sure why it was locked...i unlocked.
>
> -igor

-- 
Erik van Oosten
http://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] Who is using Wicket under production environment?

2007-02-12 Thread Igor Vaynberg

not sure why it was locked...i unlocked.

-igor


On 2/12/07, Erik van Oosten <[EMAIL PROTECTED]> wrote:


That page is not editable.
How can I add another Wicket app?

 Erik.

Matthes R. wrote:
> check this out:
> http://cwiki.apache.org/WICKET/#Index-SitesusingWicket
>
> greets,
> Matthes
>
--
Erik van Oosten
http://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

-
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] Who is using Wicket under production environment?

2007-02-12 Thread Erik van Oosten
That page is not editable.
How can I add another Wicket app?

 Erik.

Matthes R. wrote:
> check this out:
> http://cwiki.apache.org/WICKET/#Index-SitesusingWicket
>
> greets,
> Matthes
>   
-- 
Erik van Oosten
http://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] How to hide a complete tag?

2007-02-12 Thread Frank Bille

On 2/12/07, Conny Kühne <[EMAIL PROTECTED]> wrote:


My workaround looks like this

WebMarkupContainer currentTopicContainer = new
WebMarkupContainer("divId"){
public boolean isVisible() {
if(condition){
setRenderBodyOnly(true);
return false;
}else{
setRenderBodyOnly(false);
return true;
}
}
};




You are pretty close :)
You don't need the setRenderBodyOnly. You can actually just do:

   WebMarkupContainer currentTopicContainer = new
WebMarkupContainer("divId"){
   public boolean isVisible() {
   return condition;
   }
   };

Frank
-
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] MarkupWriter

2007-02-12 Thread Jonathan Locke


yeah.  pretty much never.  in fact, i can't think of a single exceptional
case 
where this was necessary outside of the wicket core.


igor.vaynberg wrote:
> 
> in wicket you very very very very rarely output markup from your code. why
> do you need this?
> 
> -igor
> 
> 
> On 2/12/07, Robert . <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I have been using Tapestry before and kinda enjoyed using the
>> IMarkupWriter by doing things like
>> writer.begin("div");
>> writer.attribute("id", "abc");
>> writer.println("text");
>> writer.end();
>>
>> Is there an equivalent way of doing this in Wicket?
>>
>> Robert
>>
>> -
>> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/MarkupWriter-tf3213426.html#a8930322
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] Problem restarting application in Tomcat

2007-02-12 Thread Rüdiger Schulz
Igor Vaynberg schrieb:
> On 2/12/07, *Rüdiger Schulz* <[EMAIL PROTECTED] > 
> wrote:
> 
> Simply restarting tomcat solves this, but doing this with every redploy
> is a little tedious :( And I just changed from Jboss to Tomcat because I
> hoped I could speed up development...
> 
> 
> OT but if you want real speedy development try using embedded jetty -
> that way you dont need to redeploy at all, use hotswap and when that
> fails restart jetty which only takes a few secs. see StartExamples class
> in wicket-examples

yeah, that's probably right, and I use a quickstart to test out single
components or concepts from time to time. But I don't have much
experience with Jetty, and I use JNDI datasource and javamail session
from Tomcat, and have an Apache beforehand, which serves some static
resources as well. So I think that a move to Jetty will not be done that
fast...




greetings,

Rüdiger

-
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 to hide a complete tag?

2007-02-12 Thread Conny Kühne

Hi,

is there a convinient way to hide a complete tag?

For example

something

I want to erase the whole  tag on a certain condition. Not just the tag
body but
all of it because I defined css border attributes for the div that I don't
want to display.

My workaround looks like this

   WebMarkupContainer currentTopicContainer = new
WebMarkupContainer("divId"){
   public boolean isVisible() {
   if(condition){
   setRenderBodyOnly(true);
   return false;
   }else{
   setRenderBodyOnly(false);
   return true;
   }
   }
   };

Is there a more convinient or preferred way to achieve this behavior?

Greetings,
Conny
-
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] Problem restarting application in Tomcat

2007-02-12 Thread Igor Vaynberg

On 2/12/07, Rüdiger Schulz <[EMAIL PROTECTED]> wrote:


Simply restarting tomcat solves this, but doing this with every redploy
is a little tedious :( And I just changed from Jboss to Tomcat because I
hoped I could speed up development...



OT but if you want real speedy development try using embedded jetty - that
way you dont need to redeploy at all, use hotswap and when that fails
restart jetty which only takes a few secs. see StartExamples class in
wicket-examples

-igor
-
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] MarkupWriter

2007-02-12 Thread Marc-Andre Houle

On 2/12/07, Marc-Andre Houle <[EMAIL PROTECTED]> wrote:


I don't think there is something for that in wicket, but
1. You can use a Label and setEscapeMarkupId(false);



Oops, setEscapeModelStrings

2. You can use simple Label and add a SimpleAttributeModifier.



On 2/12/07, Robert . <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have been using Tapestry before and kinda enjoyed using the
> IMarkupWriter by doing things like
> writer.begin("div");
> writer.attribute("id", "abc");
> writer.println("text");
> writer.end();
>
> Is there an equivalent way of doing this in Wicket?
>
> Robert
>
>
> -
> 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] MarkupWriter

2007-02-12 Thread Marc-Andre Houle

I don't think there is something for that in wicket, but
1. You can use a Label and setEscapeMarkupId(false);
2. You can use simple Label and add a SimpleAttributeModifier.


On 2/12/07, Robert . <[EMAIL PROTECTED]> wrote:


Hi,

I have been using Tapestry before and kinda enjoyed using the
IMarkupWriter by doing things like
writer.begin("div");
writer.attribute("id", "abc");
writer.println("text");
writer.end();

Is there an equivalent way of doing this in Wicket?

Robert

-
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] Problem restarting application in Tomcat

2007-02-12 Thread Rüdiger Schulz
Hello,

I had the same error with 1.2.4. I just updated to 1.2.5, and the error
message changed to:

WicketMessage: Markup of type 'html' for component
'de.indyphone.logokits.wicket.LogoKitOverviewPage' not found. Enable
debug messages for wicket.util.resource to get a list of all filenames
tried:
[Page class = de.indyphone.logokits.wicket.LogoKitOverviewPage, id = 11]

Root cause:

wicket.markup.MarkupNotFoundException: Markup not found. Component
class: de.indyphone.logokits.wicket.LogoKitOverviewPage Enable debug
messages for wicket.util.resource to get a list of all filenames tried
at wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:117)
at
wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:827)
at wicket.Page.onRender(Page.java:854)
at wicket.Component.render(Component.java:1526)
at wicket.Page.renderPage(Page.java:413)

So I enabled debug messages for wicket.util.resource, and it seems to
look for the standard filenames (lots of output, I don't know if its
helpful?)

Also, for pages getting some of their markup from properties files, I
get the following error after redeploy:

java.util.MissingResourceException: Unable to find resource: code for
component: registerForm:codeLabel
at wicket.Localizer.getString(Localizer.java:262)
at wicket.Localizer.getString(Localizer.java:181)
at wicket.model.ResourceModel.getObject(ResourceModel.java:69)
at wicket.Component.getModelObject(Component.java:983)
at wicket.Component.getModelObjectAsString(Component.java:998)
at
wicket.markup.html.form.SimpleFormComponentLabel.onComponentTagBody(SimpleFormComponentLabel.java:59)
at wicket.Component.renderComponent(Component.java:1712)



This always happens after running my ant script which undeploys the
webapp via manager, copies over the new warfile and then deploys via the
manager.

The context is configured to be using the war directly, so it is not
unpacked in the webapps directory.

Simply restarting tomcat solves this, but doing this with every redploy
is a little tedious :( And I just changed from Jboss to Tomcat because I
hoped I could speed up development...

Other environment: JDK1.5, Spring, Hibernate, Tomcat 5.5.20



Igor Vaynberg schrieb:
> looks like the npe was hiding the real exception, i just checked in a
> change that should fix that. update from svn wicket-1.2.x branch and
> deploy that, then look for the exception in the log and let us know what
> it is.
> 
> -igor



-
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] Mounting a package

2007-02-12 Thread Igor Vaynberg

no, access to files, within a package or not, is provided via shared
resources. it should be pretty easy to write a resource to do what you want
though.

-igor


On 2/12/07, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote:


Is it possible to use WebApplication#mount(java.lang.String path,
PackageName packageName) to map a package name to a path and then access all
the static resources (like images, etc) in the package by that path?

Thanks, Paolo

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

2007-02-12 Thread Igor Vaynberg

in wicket you very very very very rarely output markup from your code. why
do you need this?

-igor


On 2/12/07, Robert . <[EMAIL PROTECTED]> wrote:


Hi,

I have been using Tapestry before and kinda enjoyed using the
IMarkupWriter by doing things like
writer.begin("div");
writer.attribute("id", "abc");
writer.println("text");
writer.end();

Is there an equivalent way of doing this in Wicket?

Robert

-
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] Page cache / page pool

2007-02-12 Thread Johan Compagner

However if pageA, pageB, pageA, pageB is opened then I see a page expired
error page instead of the last pageB, because the second opening of pageA
(which uses the same instance as first time) looks like a back-button for
wicket and pageB drops out of the stack (and thus gets expired).




So if you show A the second time then yes B is dropped. But if you then do
setResponsePage(B)  B is again pushed to the stack and should be able to
render fine.

johan
-
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] Who is using Wicket under production environment?

2007-02-12 Thread Matthes R.
Michel Wichers schrieb:
> Hi all,
>
> is there anywhere a reference list with products/projects using the 
> wicket framework? Or do you know any companies who are using the wicket 
> framework productive?
>
> Regards,
>
> Michel
>
>
> -
> 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
>
>   
check this out:
http://cwiki.apache.org/WICKET/#Index-SitesusingWicket

greets,
Matthes

-
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] Mounting a package

2007-02-12 Thread Paolo Di Tommaso

Is it possible to use WebApplication#mount(java.lang.String path,
PackageName packageName) to map a package name to a path and then access all
the static resources (like images, etc) in the package by that path?

Thanks, Paolo
-
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 under Tomcat, first steps

2007-02-12 Thread Gabor Szokoli
On 2/12/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> Debian has the security manager enabled by default. For development,
> you can just edit /etc/default//tomcat5 and set TOMCAT5_SECURITY=no.
> For testing/production, add a policy file to /etc/tomcat5/policy.d for
> your webapp with the permissions listed on the wiki.

Yes, these work. Just took me a while to figure out on my own, and
wanted to note that it might save others the trouble to have this
information show up in the appropriate HOWTO if there is one already.

-
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 under Tomcat, first steps

2007-02-12 Thread James McLaughlin
Debian has the security manager enabled by default. For development,
you can just edit /etc/default//tomcat5 and set TOMCAT5_SECURITY=no.
For testing/production, add a policy file to /etc/tomcat5/policy.d for
your webapp with the permissions listed on the wiki.

On 2/12/07, Gabor Szokoli <[EMAIL PROTECTED]> wrote:
> Hi!
>
> Thanks for your quick response.
>
> On 2/12/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > First wi try to do it through the context classloader:
>
> This is clearly the way I'd like it.
> What version of wicket does it like this?
> What I experienced with wicket 1.2.4 was constistent with what I have
> found here:
> http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket/src/main/java/wicket/protocol/http/ContextParamWebApplicationFactory.java?revision=473918&view=markup
>
> > But sharing jars is not a good thing anyway. Because what happens if other
> > webapps are deployed
> > that don't use the exact wicket version as you have deployed in the shared
> > lib?
>
> You are right, I would only deploy the wicket jars like that when I
> have complete control over the servlet container.
>
> > In development you can use tomcat with the tomcat launcher :
> > http://www.sysdeo.com/eclipse/tomcatplugin
>
> I just run ant from the IDE (eclipse) with the tomcat-specific
> targets, but I guess I'll realise the usefulness of this plugin when
> my project gets more complicated.
>
> > or just use the build in jetty. See the quickstart of wicket how to use
> > that.
>
> That works great, just gives me less insite into how things work.
>
> > As for that security thats very strange by default i don't have to change
> > any security settings in tomcat.
> > If you can't use reflection that i think most webapp frameworks won't work.
>
> This is on debian, tomcat5 package. Didn't even have default admin or
> manager user out of the box, I guesss the policy is maximum security
> unless configured otherwise.
>
> Guestbook example throws this:
>
> WicketMessage: unable to get object, model:
> Model:classname=[wicket.model.PropertyModel]:attached=true:[EMAIL 
> PROTECTED]:expression=[text]:propertyType=[null],
> called with component [MarkupContainer [Component id = text, page =
> com.deverto.test.GuestBook, path = 1:commentForm:text.TextArea,
> isVisible = true, isVersioned = false]]
>
> Root cause:
>
> java.security.AccessControlException: access denied
> (java.lang.reflect.ReflectPermission suppressAccessChecks)
> at 
> java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
> at java.security.AccessController.checkPermission(AccessController.java:427)
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
> at java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:107)
> at 
> wicket.util.lang.PropertyResolver$MethodGetAndSet.(PropertyResolver.java:789)
> [...]
>
> -
> 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] Who is using Wicket under production environment?

2007-02-12 Thread Johannes Fahrenkrug
Hi Michel,

we are using Wicket for our online booking application. It has been live 
and running smoothly since November 2006.
You can take a look here:

https://www.gebeco.de/?rnr=2010004

It's in German, though... oh, and the loading times (which could be a 
bit snappier in some places) are due to a legacy non-Java backend that 
had to be used.

- Johannes

Michel Wichers wrote:
> Hi all,
>
> is there anywhere a reference list with products/projects using the 
> wicket framework? Or do you know any companies who are using the wicket 
> framework productive?
>
> Regards,
>
> Michel
>
>
> -
> 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] Page cache / page pool

2007-02-12 Thread [EMAIL PROTECTED]

Hi,


Johan Compagner wrote:
> 
> if you keep on to PageB in PageA and when you want to go back to PageB
> then you can set that page as a response page. That should work fine
> So just keep a reference in a map to the pages you want.
> We do clear them from the pagemap when we encounter a backbutton
> but if you keep a refence to those pages and resuse them that is not a
> problem
> 

I have a common WebPage class that invokes something like
PageCache.get().cache(this); The PageCache class does
cachedPageMap.put(page.getPageClass(), page);

The menu bar checks PageCache.get().pageFor(PageA.class), which checks the
cachedPageMap for a page instance. If the result is not null, the page is
displayed, otherwise a new page is created.

However if pageA, pageB, pageA, pageB is opened then I see a page expired
error page instead of the last pageB, because the second opening of pageA
(which uses the same instance as first time) looks like a back-button for
wicket and pageB drops out of the stack (and thus gets expired).

That happens in PageMap.access(), the comment there says:
"Pop entries to reveal that version at top of stack because the user used
the back button"
(Page has still the same version and id...)

Is there a way to tell wicket, that the back-button hasn't been used?

Btw, I'm using wicket 1.2.4.

Chris
-- 
View this message in context: 
http://www.nabble.com/Page-cache---page-pool-tf3213152.html#a8923908
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] Who is using Wicket under production environment?

2007-02-12 Thread Michel Wichers
Hi all,

is there anywhere a reference list with products/projects using the 
wicket framework? Or do you know any companies who are using the wicket 
framework productive?

Regards,

Michel


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

2007-02-12 Thread Robert .

Hi,

I have been using Tapestry before and kinda enjoyed using the IMarkupWriter
by doing things like
writer.begin("div");
writer.attribute("id", "abc");
writer.println("text");
writer.end();

Is there an equivalent way of doing this in Wicket?

Robert
-
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] Page cache / page pool

2007-02-12 Thread Johan Compagner

if you keep on to PageB in PageA and when you want to go back to PageB
then you can set that page as a response page. That should work fine
So just keep a reference in a map to the pages you want.
We do clear them from the pagemap when we encounter a backbutton
but if you keep a refence to those pages and resuse them that is not a
problem


On 2/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:



Hi,

for our navigation bar, I want to use a page cache to resume editing the
latest page version. Wicket's page map acts like a stack, so opening
  PageA,
  PageB,
  PageA,

leads to the expiration of the PageB instance. However I want to reuse the
cached/saved page instance of PageB (could be a list, where the user has
marked several items). So unlike saving the last 5 accessed pages in the
pagemap-STACK, I want to save the (maybe) 10 last accessed pages in a MAP,
that doesn't expire pages when displaying a cached page.

Taking a look at the wicket source code, I found that PageMap.access()
cleans up all previous pages if I return "back" to the instance of PageA.
Unfortunately all involved methods are private or final, such that I can't
change this behavior by subclassing to provide my own expiration strategy.

Does anybody has ideas or any experience with caching page instances?
Thanks
for your replies.

Chris
--
View this message in context:
http://www.nabble.com/Page-cache---page-pool-tf3213152.html#a8922873
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

-
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 under Tomcat, first steps

2007-02-12 Thread Al Maw
Gabor Szokoli wrote:
> This is on debian, tomcat5 package. Didn't even have default admin or
> manager user out of the box, I guesss the policy is maximum security
> unless configured otherwise.
> 
> Guestbook example throws this:
> java.security.AccessControlException: access denied

Please see:
http://cwiki.apache.org/WICKET/java-security-permissions.html

Regards,

Al

-
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 under Tomcat, first steps

2007-02-12 Thread Gabor Szokoli
Hi!

Thanks for your quick response.

On 2/12/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> First wi try to do it through the context classloader:

This is clearly the way I'd like it.
What version of wicket does it like this?
What I experienced with wicket 1.2.4 was constistent with what I have
found here:
http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket/src/main/java/wicket/protocol/http/ContextParamWebApplicationFactory.java?revision=473918&view=markup

> But sharing jars is not a good thing anyway. Because what happens if other
> webapps are deployed
> that don't use the exact wicket version as you have deployed in the shared
> lib?

You are right, I would only deploy the wicket jars like that when I
have complete control over the servlet container.

> In development you can use tomcat with the tomcat launcher :
> http://www.sysdeo.com/eclipse/tomcatplugin

I just run ant from the IDE (eclipse) with the tomcat-specific
targets, but I guess I'll realise the usefulness of this plugin when
my project gets more complicated.

> or just use the build in jetty. See the quickstart of wicket how to use
> that.

That works great, just gives me less insite into how things work.

> As for that security thats very strange by default i don't have to change
> any security settings in tomcat.
> If you can't use reflection that i think most webapp frameworks won't work.

This is on debian, tomcat5 package. Didn't even have default admin or
manager user out of the box, I guesss the policy is maximum security
unless configured otherwise.

Guestbook example throws this:

WicketMessage: unable to get object, model:
Model:classname=[wicket.model.PropertyModel]:attached=true:[EMAIL 
PROTECTED]:expression=[text]:propertyType=[null],
called with component [MarkupContainer [Component id = text, page =
com.deverto.test.GuestBook, path = 1:commentForm:text.TextArea,
isVisible = true, isVersioned = false]]

Root cause:

java.security.AccessControlException: access denied
(java.lang.reflect.ReflectPermission suppressAccessChecks)
at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:107)
at 
wicket.util.lang.PropertyResolver$MethodGetAndSet.(PropertyResolver.java:789)
[...]

-
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] Page cache / page pool

2007-02-12 Thread [EMAIL PROTECTED]

Hi,

for our navigation bar, I want to use a page cache to resume editing the
latest page version. Wicket's page map acts like a stack, so opening
  PageA,
  PageB,
  PageA,

leads to the expiration of the PageB instance. However I want to reuse the
cached/saved page instance of PageB (could be a list, where the user has
marked several items). So unlike saving the last 5 accessed pages in the
pagemap-STACK, I want to save the (maybe) 10 last accessed pages in a MAP,
that doesn't expire pages when displaying a cached page.

Taking a look at the wicket source code, I found that PageMap.access()
cleans up all previous pages if I return "back" to the instance of PageA.
Unfortunately all involved methods are private or final, such that I can't
change this behavior by subclassing to provide my own expiration strategy.

Does anybody has ideas or any experience with caching page instances? Thanks
for your replies.

Chris
-- 
View this message in context: 
http://www.nabble.com/Page-cache---page-pool-tf3213152.html#a8922873
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 under Tomcat, first steps

2007-02-12 Thread Johan Compagner

First wi try to do it through the context classloader:

ClassLoader loader = Thread.currentThread().getContextClassLoader();
   if (loader == null)
   {
   loader = getClass().getClassLoader();
   }

if that isn't there we try it through getClass().getClassLoader() of you
Application object.
Maybe we should it more resilient that it falls back on as much classloader
as we can find..

But sharing jars is not a good thing anyway. Because what happens if other
webapps are deployed
that don't use the exact wicket version as you have deployed in the shared
lib?

In development you can use tomcat with the tomcat launcher :
http://www.sysdeo.com/eclipse/tomcatplugin
or just use the build in jetty. See the quickstart of wicket how to use
that.

But in deployment make a war with all the jars yes. I wouldn't depend on
external libs.
As for that security thats very strange by default i don't have to change
any security settings in tomcat.
If you can't use reflection that i think most webapp frameworks won't work.

johan




On 2/12/07, Gabor Szokoli <[EMAIL PROTECTED]> wrote:


Hello Everyone,

I am new to web programming in general, and took it upon myself to
learn servlet programming with wicket.
I am using tomcat as my target environment, because it is much more
likely to resemble a production system than Jetty is. (I do however
have a running quickstart environment for reference, and think it's a
great learning aid, keep it up!)

The local java community helped me find out that I can't keep the
wicket jar files under $CATALINA_BASE/shared/lib as the tomcat
documentation suggests, because the ContextParamWebApplicationFactory
uses the default classloader instead of the context classloader set up
by tomcat. It has been discussed before near here:


http://www.mail-archive.com/wicket-develop@lists.sourceforge.net/msg07325.html

I was just wondering what came of it, and where do I chalk up a "me
too": an init-param to instruct  WicketServlet which classloader to
use would be nice.

If there is such a thing as a wicket-on-tomcat-howto, it should
probably mention you have to keep a copy of the wicket jars under
WEB-INF/lib of each webapp for now.

And that you must enable reflection, or turn the security manager off
altogether in tomcat for wicket PropertyModels to work.

And that unit tests attempting to instantiate wicket classes outside a
servlet container need the commons-logging.jar on their classpath to
run.

And whatever I'm gonig to come across today :-)


Gabor Szokoli

-
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] Test Frameworks and Wicket

2007-02-12 Thread Timo Rantalaiho
On Sat, 10 Feb 2007, nilo de roock wrote:
> like to use for writing a functional regressing test. But I don't think
> WicketTester was meant for that in the first place, more as a TestCase
> helper. I suppose Wicket still needs more whitepapers, tutorials, books,

For me, WicketTester works best for low-level whitebox
developer testing of individual components or interactions
between a couple of components. I have experienced the
abstraction leaking a bit (in 2.0) and being unable to test
some things, such as some ajax functionality. (These I just
test with Wicket Bench then, see below.)

> At the end of the day a user receives html and javascript a point where it
> should be invisible wether this has been generated by either Wicket or plain
> vanilla Servlets. I have been looking at some test frameworks. I have no
> experience with either of them, but Canoo WebTest looks to what I had in
> mind.

As WebTest is based on HttpUnit / HtmlUnit, it suffers from
their limitations, the greatest of which I think is the fact
that it uses "non-browser" javascript implementation. The
last time I used HttpUnit (jWebUnit really) a couple of
years back, I just had to turn javascript off as it choked,
though I have heard that it would have improved since then.

jWebUnit is a nice higher-level abstraction layer on top of
HttpUnit, but still doing everything with java as opposed
to XML (WebTest).

I find Selenium RC a lot more promising for this stuff

  
http://svn.openqa.org/fisheye/viewrep/~raw,r=HEAD/selenium-rc/trunk/clients/java/src/test/java/com/thoughtworks/selenium/GoogleTest.java

and with Wicket Bench (WicketBenchTestCase), you can use it
to test-drive individual Wicket components against a real
browser

  
http://svn.laughingpanda.org/svn/wicket-bench/trunk/wicket-bench-test/src/test/java/test/DictionaryPanelTest.java

This complements WicketTester nicely.

With Selenium IDE, you can record Selenium RC java (or other
language) code, which is good for the cases when you can't
figure out what kind of Selenium code would emulate the user
interaction you want.

- Timo

-- 
Timo Rantalaiho
Reaktor Innovations Oyhttp://www.ri.fi/ >

-
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 under Tomcat, first steps

2007-02-12 Thread Gabor Szokoli
Hello Everyone,

I am new to web programming in general, and took it upon myself to
learn servlet programming with wicket.
I am using tomcat as my target environment, because it is much more
likely to resemble a production system than Jetty is. (I do however
have a running quickstart environment for reference, and think it's a
great learning aid, keep it up!)

The local java community helped me find out that I can't keep the
wicket jar files under $CATALINA_BASE/shared/lib as the tomcat
documentation suggests, because the ContextParamWebApplicationFactory
uses the default classloader instead of the context classloader set up
by tomcat. It has been discussed before near here:

http://www.mail-archive.com/wicket-develop@lists.sourceforge.net/msg07325.html

I was just wondering what came of it, and where do I chalk up a "me
too": an init-param to instruct  WicketServlet which classloader to
use would be nice.

If there is such a thing as a wicket-on-tomcat-howto, it should
probably mention you have to keep a copy of the wicket jars under
WEB-INF/lib of each webapp for now.

And that you must enable reflection, or turn the security manager off
altogether in tomcat for wicket PropertyModels to work.

And that unit tests attempting to instantiate wicket classes outside a
servlet container need the commons-logging.jar on their classpath to
run.

And whatever I'm gonig to come across today :-)


Gabor Szokoli

-
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] Hotswap application

2007-02-12 Thread Timo Rantalaiho
On Sun, 11 Feb 2007, Jesse Barnum wrote:
> I am trying to develop with Wicket in IntelliJ. Whenever I do a  
> hotswap on some code changes, it seems like IntelliJ / Tomcat  
> automatically redeploys the application and I get a 'Page Expired'  
> error.
> 
> Is there any way for me to run the app in debugger mode, make changes  
> to methods, recompile/hotswap, and then immediately see my changes in  
> the web browser?

How do you start Tomcat?

I just have a run configuration for Tomcat, and then press
run (shift+f10) or debug (shift+f9).

Of course Java hotswap remains limited, please vote for it
:)

  http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4910812

To deploy your webapp in development, ou can run any java
application (such as embedded jetty or winstone) with a
normal run configuration, and then just start it with run or
debug symbol depending on what you want.

-- 
Timo Rantalaiho
Reaktor Innovations Oyhttp://www.ri.fi/ >

-
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] tons of "size of failed" exceptions

2007-02-12 Thread Al Maw
ChuckDeal wrote:
> Wicket 1.3 (revision 505283)
> 
> The following is a stack trace that I have experienced quite a few times
> recently.  This new behavior started in the past couple of weeks.
[...]
> The obvious answer would be for me to stop making stupid mistakes  :)  

Chuck,

I've opened a bug for this, so it doesn't fall off the radar:
http://issues.apache.org/jira/browse/WICKET-278

I guess I'll tackle it next time I see it. :-)

Regards,

Al

-
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