Re: [Wicket-user] How to hide a complete tag?

2007-02-13 Thread Ryan Holmes
You could wrap *all* the conditionally visible content in your  
WebMarkupContainer:

div wicket:id=topicContainer
div id=divIdsomething/div
/div

-Ryan

On Feb 12, 2007, at 9:51 AM, Conny Kühne wrote:

 Hi,

 is there a convinient way to hide a complete tag?

 For example

 div wicket:id=divIdsomething/div

 I want to erase the whole div 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=lnkkid=120709bid=263057dat=121642__ 
 _
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


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


Re: [Wicket-user] Issue of using HeaderContributor.forCss [was Re: Problem of clicking a wicket link]

2007-02-13 Thread Carfield Yim
Sorry for latest reply but it is fixed

On 2/7/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 Could you confirm whether it is fixed in the new version please?

 Eelco


 On 2/6/07, Carfield Yim [EMAIL PROTECTED] wrote:
  Don't know why I just get this email. Thanks a lot
 
  On 2/7/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
   Oh, I thought you were using the 1.3 branch. Your problem is probably
   related to a bug with header contributions we had/ have in 1.2.4 and
   which should be fixed for 1.2.5.
  
   Eelco
  
  
   On 2/6/07, Carfield Yim [EMAIL PROTECTED] wrote:
  The project I'm working on uses mounted pages and header 
  contributions
  all over the place, without any problems. Any chance you can isolate
  this into a quickstart project or test case?
 
   
I still need time to figure out how to work with maven and setup the
repository, may be later. However, after trace and test for a while, I
find that it can be fixed if I change
   
HeaderContributor.forCss(xxx.class, xxx.css);
   
to
   
new HeaderContributor(new
HeaderContributor.CSSReferenceHeaderContributor(xxx.class,
xxx.css)){
private static final long serialVersionUID = 1L;
@Override
public void onRendered(Component arg0) {
super.onRendered(arg0);
cleanup();
}
}
   
where the AbstractHeaderContributor.processedEntries is actually
forcing the draw CSS link method to execution more than one time.
   
I feel this is a bug but I don't know why I don't notice that before.
May be it is something changed at 1.2.4?
   
-
Using Tomcat but need to do more? Need to support web services, 
security?
Get stuff done quickly with pre-integrated technology to make your job 
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache 
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
   -
   Using Tomcat but need to do more? Need to support web services, security?
   Get stuff done quickly with pre-integrated technology to make your job 
   easier.
   Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
   http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job 
  easier.
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

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


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


[Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-13 Thread Otan

[ Wicket 2.0 ]
I can't make my GridView to work as I expect it to behave. It's javadoc
seems outdated yet. Can someone fix the Wicket-example for GridView so that
I could have a reference about its usage? Thanks.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Release wicket-contrib-tinyMce?

2007-02-13 Thread Filippo Diotalevi
Hi,
  I've been asked about wicket-contrib-tinyMce (project maintainer:
Iulian Costan), and I've noticed that there's no official jar
published on sourceforge (check
https://sourceforge.net/project/showfiles.php?group_id=134391 )

I see that there's some interest on the list about this project...
what do you think of releasing an official jar?
I can do that, if Iulian has no time/interest , and if you think the
library is stable.

WDYT?

--
Filippo Diotalevi
http://www.diotalevi.com

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


[Wicket-user] low wicket performance - intensive file system usage

2007-02-13 Thread Andrew Klochkov
Hi

Recently we launched some simple webapp written in wicket, but
performance is obviously low. Even simple pages are being loaded too slow.
I tried to dig into it using profiler and found out that wicket takes
67% of CPU to work with file system. Main points of low performance are:

1. wicket.protocol.http.FilePageStore.storePage eats 25% of CPU
2. getting resources using CompressedPackageResource eats 30% of CPU

How can we improve it? Why does wicket save all the pages in files, why
not to use http sessions?
And what can be done with resources? I guess the browser doesn't cache
them and it takes to long time to get them from jars.

-- 
Andrew Klochkov


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


Re: [Wicket-user] low wicket performance - intensive file system usage

2007-02-13 Thread Andrew Klochkov
forgot to mention the version - we use wicket 1.3

Andrew Klochkov wrote:
 Hi

 Recently we launched some simple webapp written in wicket, but
 performance is obviously low. Even simple pages are being loaded too slow.
 I tried to dig into it using profiler and found out that wicket takes
 67% of CPU to work with file system. Main points of low performance are:

 1. wicket.protocol.http.FilePageStore.storePage eats 25% of CPU
 2. getting resources using CompressedPackageResource eats 30% of CPU

 How can we improve it? Why does wicket save all the pages in files, why
 not to use http sessions?
 And what can be done with resources? I guess the browser doesn't cache
 them and it takes to long time to get them from jars.

   


-- 
Andrew Klochkov


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


Re: [Wicket-user] Issue of using HeaderContributor.forCss [was Re: Problem of clicking a wicket link]

2007-02-13 Thread Carfield Yim
Just try WicketTester#assertContains , however, the bugs doesn't
appear if I use assertRenderedPage() method. E.g. the following test
press even if I use the library contains that bugs:

tester.assertRenderedPage(Logon.class);
tester.assertContains(resources/package.Logon/logon.css);
tester.assertRenderedPage(Logon.class);
tester.assertContains(resources/package.Logon/logon.css);

However, if I use method render(), the test fail to execute because
the response is null.

Anyway , as the library already fixed so probably not much point to
create a testcase to reproduce the bug really, for me I just leave the
testcase as a document for future reference. Hope the information help
wicket team somehow

On 2/7/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 How about using WicketTester#assertContains ?

 Eelco


 On 2/6/07, Carfield Yim [EMAIL PROTECTED] wrote:
  Just post a issue at tracker, see if that helpful. By the way, I would
  like to create a test case for this issue. Just wonder can I get the
  render HTML from WicketTester so that I can assert if the CSS link
  exist or not if I render twice?
 
 
 
  On 2/7/07, Carfield Yim [EMAIL PROTECTED] wrote:
 The project I'm working on uses mounted pages and header contributions
 all over the place, without any problems. Any chance you can isolate
 this into a quickstart project or test case?

  
   I still need time to figure out how to work with maven and setup the
   repository, may be later. However, after trace and test for a while, I
   find that it can be fixed if I change
  
   HeaderContributor.forCss(xxx.class, xxx.css);
  
   to
  
   new HeaderContributor(new
   HeaderContributor.CSSReferenceHeaderContributor(xxx.class,
   xxx.css)){
   private static final long serialVersionUID = 1L;
   @Override
   public void onRendered(Component arg0) {  
 super.onRendered(arg0);
   cleanup();
   }
   }
  
   where the AbstractHeaderContributor.processedEntries is actually
   forcing the draw CSS link method to execution more than one time.
  
   I feel this is a bug but I don't know why I don't notice that before.
   May be it is something changed at 1.2.4?
  
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job 
  easier.
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

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


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


Re: [Wicket-user] low wicket performance - intensive file system usage

2007-02-13 Thread Matej Knopp
This is very strange.
We are know about the FilePageStore.storePage performance issues and 
johan is working on optimizing that.

but CompressedPackageResource shouldn't take 30%. Definitely not. caches 
the resource so the serving should be immediate. Unless your machine 
runs out of memory, in that case the cache is evicted.

I'm not sure but i think there was a memory leak in 1.x lately, are you 
sure you're using the latest version?

What's the configuration of your server?

Btw. You can try to use HttpSessionStore to see if it makes serving 
pages faster

(in your application class
protected ISessionStore newSessionStore() {
return new HttpSessionStore();
}
)

-Matej

Andrew Klochkov wrote:
 forgot to mention the version - we use wicket 1.3
 
 Andrew Klochkov wrote:
 Hi

 Recently we launched some simple webapp written in wicket, but
 performance is obviously low. Even simple pages are being loaded too slow.
 I tried to dig into it using profiler and found out that wicket takes
 67% of CPU to work with file system. Main points of low performance are:

 1. wicket.protocol.http.FilePageStore.storePage eats 25% of CPU
 2. getting resources using CompressedPackageResource eats 30% of CPU

 How can we improve it? Why does wicket save all the pages in files, why
 not to use http sessions?
 And what can be done with resources? I guess the browser doesn't cache
 them and it takes to long time to get them from jars.

   
 
 


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


Re: [Wicket-user] Problem restarting application in Tomcat

2007-02-13 Thread Gabor Szokoli
On 2/12/07, Rüdiger Schulz [EMAIL PROTECTED] wrote:
 I had the same error with 1.2.4. I just updated to 1.2.5, and the error
 message changed to:

Hi,

Excuse me if this is not relevant, but on a trivial application with
wicket 1.2.4 the tomcat ant tasks work perfectly for me, for example:
taskdef name=reload   classname=org.apache.catalina.ant.ReloadTask/


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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] MarkupWriter

2007-02-13 Thread Robert .

Actually I encounter this raw HTML output in the Pro Wicket book on page
251.
A custome AutoCompleteRenderer is used to render a choice
protected void renderChoice(Object object, Response response)

Could you give an example how to write custom HTML to the response in such a
method, without having
to do something like response.write(div);

Robert


On 2/12/07, Igor Vaynberg [EMAIL PROTECTED] 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=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



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


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


Re: [Wicket-user] low wicket performance - intensive file system usage

2007-02-13 Thread Johan Compagner

You dont use head of 1.3 i guess? because storePage doesnt do much there any
more.
But i guess if you see CPU time it is really the serialization you see not
the save to disk.

can you drill it down a bit more?

johan


On 2/13/07, Andrew Klochkov [EMAIL PROTECTED] wrote:


Hi

Recently we launched some simple webapp written in wicket, but
performance is obviously low. Even simple pages are being loaded too slow.
I tried to dig into it using profiler and found out that wicket takes
67% of CPU to work with file system. Main points of low performance are:

1. wicket.protocol.http.FilePageStore.storePage eats 25% of CPU
2. getting resources using CompressedPackageResource eats 30% of CPU

How can we improve it? Why does wicket save all the pages in files, why
not to use http sessions?
And what can be done with resources? I guess the browser doesn't cache
them and it takes to long time to get them from jars.

--
Andrew Klochkov


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

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


[Wicket-user] Help:Nice URLs and Page static resources

2007-02-13 Thread Ayodeji Aladejebi

I wanted to know what i did wrong.

I configured and mounted a Page and when i tried to access the page from the
browser, the resources did not resolve at all.

mount(/mypath, new QueryStringUrlCodingStrategy(/mypath,
ReportPage.class));

and on accessing the page via the mounted path, links like this:

href=style.css rel=stylesheet type=text/css

did not resolve but if access the page via from the application via a
PageLink, all static resource resolve

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


Re: [Wicket-user] low wicket performance - intensive file system usage

2007-02-13 Thread Andrew Klochkov
I think I found the cause of our performance problems - we map wicket
servlet to /*. If I change it to /app, things become much much faster.
The problem is that our customer doesn't want to have redirect on the
main page, and at the same time this page is not static. Any suggestions?

Matej Knopp wrote:
 This is very strange.
 We are know about the FilePageStore.storePage performance issues and 
 johan is working on optimizing that.

 but CompressedPackageResource shouldn't take 30%. Definitely not. caches 
 the resource so the serving should be immediate. Unless your machine 
 runs out of memory, in that case the cache is evicted.

 I'm not sure but i think there was a memory leak in 1.x lately, are you 
 sure you're using the latest version?

 What's the configuration of your server?

 Btw. You can try to use HttpSessionStore to see if it makes serving 
 pages faster

 (in your application class
   protected ISessionStore newSessionStore() {
   return new HttpSessionStore();
   }
 )

 -Matej

 Andrew Klochkov wrote:
   
 forgot to mention the version - we use wicket 1.3

 Andrew Klochkov wrote:
 
 Hi

 Recently we launched some simple webapp written in wicket, but
 performance is obviously low. Even simple pages are being loaded too slow.
 I tried to dig into it using profiler and found out that wicket takes
 67% of CPU to work with file system. Main points of low performance are:

 1. wicket.protocol.http.FilePageStore.storePage eats 25% of CPU
 2. getting resources using CompressedPackageResource eats 30% of CPU

 How can we improve it? Why does wicket save all the pages in files, why
 not to use http sessions?
 And what can be done with resources? I guess the browser doesn't cache
 them and it takes to long time to get them from jars.

   
   
 


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


   


-- 
Andrew Klochkov


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


Re: [Wicket-user] Convert newlines to br

2007-02-13 Thread Jesse Barnum
Thank you, that's just what I needed. Hopefully someday I'll be able  
to help answer questions on this list instead of just asking them!

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


On Feb 12, 2007, at 6:28 PM, Eelco Hillenius wrote:

 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 linebrSecond
 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=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


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


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


Re: [Wicket-user] MarkupWriter

2007-02-13 Thread karthik Guru

this one?

AbstractAutoCompleteRenderer implements IAutoCompleteRenderer{

@Override
protected void renderChoices(Object object, Response r) {
String val = ((Email) object).email;
r.write(div style='float:left; color:red; ');
r.write(val);
r.write(/divdiv style='text-align:right; width:100%;');
r.write( + ((Email) object).getEmailInfo());
r.write(/div);
}

}

I'm not sure how to move the HTML div to a panel/fragment for example , pass
the EmailInfo text to the fragment/panel and then add it to the Response.

thanks,
Karthik



On 2/13/07, Robert . [EMAIL PROTECTED] wrote:


Actually I encounter this raw HTML output in the Pro Wicket book on page
251.
A custome AutoCompleteRenderer is used to render a choice
protected void renderChoice(Object object, Response response)

Could you give an example how to write custom HTML to the response in such
a method, without having
to do something like response.write(div);

Robert


On 2/12/07, Igor Vaynberg  [EMAIL PROTECTED] 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=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


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



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





--
-- 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=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] low wicket performance - intensive file system usage

2007-02-13 Thread Martijn Dashorst
Use the wicket filter instead.

Martijn

On 2/13/07, Andrew Klochkov [EMAIL PROTECTED] wrote:
 I think I found the cause of our performance problems - we map wicket
 servlet to /*. If I change it to /app, things become much much faster.
 The problem is that our customer doesn't want to have redirect on the
 main page, and at the same time this page is not static. Any suggestions?

 Matej Knopp wrote:
  This is very strange.
  We are know about the FilePageStore.storePage performance issues and
  johan is working on optimizing that.
 
  but CompressedPackageResource shouldn't take 30%. Definitely not. caches
  the resource so the serving should be immediate. Unless your machine
  runs out of memory, in that case the cache is evicted.
 
  I'm not sure but i think there was a memory leak in 1.x lately, are you
  sure you're using the latest version?
 
  What's the configuration of your server?
 
  Btw. You can try to use HttpSessionStore to see if it makes serving
  pages faster
 
  (in your application class
protected ISessionStore newSessionStore() {
return new HttpSessionStore();
}
  )
 
  -Matej
 
  Andrew Klochkov wrote:
 
  forgot to mention the version - we use wicket 1.3
 
  Andrew Klochkov wrote:
 
  Hi
 
  Recently we launched some simple webapp written in wicket, but
  performance is obviously low. Even simple pages are being loaded too slow.
  I tried to dig into it using profiler and found out that wicket takes
  67% of CPU to work with file system. Main points of low performance are:
 
  1. wicket.protocol.http.FilePageStore.storePage eats 25% of CPU
  2. getting resources using CompressedPackageResource eats 30% of CPU
 
  How can we improve it? Why does wicket save all the pages in files, why
  not to use http sessions?
  And what can be done with resources? I guess the browser doesn't cache
  them and it takes to long time to get them from jars.
 
 
 
 
 
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job 
  easier.
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 


 --
 Andrew Klochkov


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



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

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


Re: [Wicket-user] Webby is cool

2007-02-13 Thread Jean-Baptiste Quenot
* nilo de roock:

 Today I looked at WebbyDB, it's a 'PHP-type-of-dump-classes-on-webpage' app,
 hibernate handles the persistency side. It depends on webby, wicket,
 databinder and hibernate.

Do you have a pointer please?  Or is it http://r8fe.net/webby/
-- 
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

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


Re: [Wicket-user] Release wicket-contrib-tinyMce?

2007-02-13 Thread Iulian Costan

hey Filippo,

yes, i've been thinking for a while to release 1.0 version but couldnt make
it till now. yes, please do it, if you are kind enough to help me, that will
be great. as well pom files need little clean up as well, but that's another
story

/iulian

On 2/13/07, Filippo Diotalevi [EMAIL PROTECTED] wrote:


Hi,
  I've been asked about wicket-contrib-tinyMce (project maintainer:
Iulian Costan), and I've noticed that there's no official jar
published on sourceforge (check
https://sourceforge.net/project/showfiles.php?group_id=134391 )

I see that there's some interest on the list about this project...
what do you think of releasing an official jar?
I can do that, if Iulian has no time/interest , and if you think the
library is stable.

WDYT?

--
Filippo Diotalevi
http://www.diotalevi.com

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

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


[Wicket-user] Eclipse environment

2007-02-13 Thread ChuckDeal

How do the Wicket developers have their Eclipse environment setup?

I have a SNAPSHOT project that I created from the svn tree (wicket 1.3). 
Each of the subprojects are below that project but the .classpath and
.project are not setup to allow building of the whole project.  My own
project is mvn-enabled and I use the m2Eclipse plugin to help manage the
dependencies, but the Wicket structure doesn't seem to work well with the
m2Eclipse plugin (the wicket-parent subproject instead of a top-level pom).

So, I was hoping I could get an idea of how you guys setup the workspace for
development.  Particularly, I want to tweak the datetime subproject because
it is giving me some trouble.

Chuck
-- 
View this message in context: 
http://www.nabble.com/Eclipse-environment-tf3220812.html#a8944922
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: [Wicket-user] low wicket performance - intensive file system usage

2007-02-13 Thread Carfield Yim
On 2/13/07, Andrew Klochkov [EMAIL PROTECTED] wrote:
 I think I found the cause of our performance problems - we map wicket
 servlet to /*. If I change it to /app, things become much much faster.

Interesting...

 The problem is that our customer doesn't want to have redirect on the
 main page, and at the same time this page is not static. Any suggestions?


How about just have an index.html at / that redirect to /app?

META HTTP-EQUIV=Refresh CONTENT=0; URL=app

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


Re: [Wicket-user] low wicket performance - intensive file system usage

2007-02-13 Thread Andrew Klochkov
Carfield Yim wrote:
 The problem is that our customer doesn't want to have redirect on the
 main page, and at the same time this page is not static. Any suggestions?

 

 How about just have an index.html at / that redirect to /app?

 META HTTP-EQUIV=Refresh CONTENT=0; URL=app
   
As I said we can't do redirect on the main page, the customer just
doesn't want it. Using servlet filter instead of servlet solves our
problems.

-- 
Andrew Klochkov


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


Re: [Wicket-user] low wicket performance - intensive file system usage

2007-02-13 Thread Andrew Klochkov
Martijn Dashorst wrote:
 Use the wicket filter instead.

   
This completely solved the problem! Thanks a lot!

-- 
Andrew Klochkov


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


Re: [Wicket-user] low wicket performance - intensive file system usage

2007-02-13 Thread Jean-Baptiste Quenot
* Martijn Dashorst:

 Use the wicket filter instead.

Can you please tell why it makes such a big performance difference
between the servlet and the filter?  I never noticed that.
-- 
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

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


Re: [Wicket-user] low wicket performance - intensive file system usage

2007-02-13 Thread Martijn Dashorst
We don't recommend putting the Wicket servlet at /*, you can find it
all over the mailinglist and on the WIKI. This is because the servlet
then has to serve *ALL* things in the application context, provided
you don't tweak the web.xml to do otherwise.

Apparently they serve a lot of static things from the root context.

Martijn

On 2/13/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
 * Martijn Dashorst:

  Use the wicket filter instead.

 Can you please tell why it makes such a big performance difference
 between the servlet and the filter?  I never noticed that.
 --
  Jean-Baptiste Quenot
 aka  John Banana   Qwerty
 http://caraldi.com/jbq/

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



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

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


Re: [Wicket-user] low wicket performance - intensive file system usage

2007-02-13 Thread Jean-Baptiste Quenot
* Martijn Dashorst:

 We don't  recommend putting  the Wicket servlet  at /*,  you can
 find  it all  over  the  mailinglist and  on  the WIKI. This  is
 because  the servlet  then  has  to serve  *ALL*  things in  the
 application context, provided you don't  tweak the web.xml to do
 otherwise.

Does  it mean  in Wicket  1.x there  is code  that streams  static
resources?  That's interesting.  Can you  point me to the relevant
class or method?
-- 
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

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


Re: [Wicket-user] low wicket performance - intensive file system usage

2007-02-13 Thread Andrew Klochkov
Martijn Dashorst wrote:
 We don't recommend putting the Wicket servlet at /*, you can find it
 all over the mailinglist and on the WIKI. This is because the servlet
 then has to serve *ALL* things in the application context, provided
 you don't tweak the web.xml to do otherwise.

 Apparently they serve a lot of static things from the root context.

   
IMHO with servlet mapping at /* getting resources of any kind becomes
slow (no matter whether they're in the root context or not). I think
it's possible to make this faster, but anyway it's better to use
container functionality, so using filter is the right way to go.

-- 
Andrew Klochkov


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


[Wicket-user] Intellij plugin

2007-02-13 Thread Robert .

Hi,

I read somewhere that a Wicket Intellij plugin is also being developed. Is
anyone already using it?
Are there any releases scheduled for the plugin?

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=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] MarkupWriter

2007-02-13 Thread Robert .

Yes, that's the example I am talking about.

BTW the overridden method's name is incorrect. It should be renderChoice
instead of renderChoices.


On 2/13/07, karthik Guru [EMAIL PROTECTED] wrote:


this one?

AbstractAutoCompleteRenderer implements IAutoCompleteRenderer{

@Override
protected void renderChoices(Object object, Response r) {
 String val = ((Email) object).email;
 r.write(div style='float:left; color:red; ');
 r.write(val);
 r.write(/divdiv style='text-align:right; width:100%;');
 r.write( + ((Email) object).getEmailInfo());
 r.write(/div);
}

}

I'm not sure how to move the HTML div to a panel/fragment for example ,
pass the EmailInfo text to the fragment/panel and then add it to the
Response.

thanks,
Karthik



On 2/13/07, Robert . [EMAIL PROTECTED] wrote:

 Actually I encounter this raw HTML output in the Pro Wicket book on page
 251.
 A custome AutoCompleteRenderer is used to render a choice
 protected void renderChoice(Object object, Response response)

 Could you give an example how to write custom HTML to the response in
 such a method, without having
 to do something like response.write(div);

 Robert


 On 2/12/07, Igor Vaynberg  [EMAIL PROTECTED] 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=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
  -
  Using Tomcat but need to do more? Need to support web services,
  security?
  Get stuff done quickly with pre-integrated technology to make your job
  easier.
  Download IBM WebSphere Application Server v.1.0.1 based on Apache
  Geronimo
 
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


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




--
-- 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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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


Re: [Wicket-user] How to hid a complete tag?

2007-02-13 Thread Conny Kühne

But without the setRenderBodyOnly() the div still gets rendered (and
displayed). And that's what I wanted to avoid.



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


P.S. Maybe this mail gets posted in the wrong place since I forgot to
subscribe to the mailing list
and now I am answering manually.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Intellij plugin

2007-02-13 Thread Nick Heudecker

Currently, the best place to get it is from the Wicket-Stuff SVN repo.  I
need to start a wiki page for it when I have time.

http://wicketstuff.org/confluence/dashboard.action

On 2/13/07, Robert . [EMAIL PROTECTED] wrote:


Hi,

I read somewhere that a Wicket Intellij plugin is also being developed. Is
anyone already using it?
Are there any releases scheduled for the plugin?

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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--
Nick Heudecker
Professional Wicket Training  Consulting
http://www.systemmobile.com

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


[Wicket-user] VOTE on wicket:component

2007-02-13 Thread Jonathan Locke


Our Wiki describes the wicket:component tag as follows:

wicket:component - Creates a Wicket component on the fly. Needs a class
attribute. Though this has been in wicket for a long time, it is still kind
of an unsupported feature, as most of the core developers believe that this
may lead to misuse of the framework. Before heavily relying on this feature,
you might want to contact the user list to discuss alternative strategies.

It's unclear to me that anyone is using this.  The utility is limited and
unimportant.  And for anyone creating tooling support for wicket, this will
be a tripping point.  I can't see any good reason to keep this feature as it
is a way to instantiate a component in the markup and might server as the
beginning of a bunch of requests to add component configuration or other
code logic where we should only have nice clean markup.

VOTE:

 [ ] Delete this unimportant and generally unsupported feature
 [ ] Keep wicket:component, but define its limits, document it on the wiki
as fully supported and commit to supporting it in the future



-- 
View this message in context: 
http://www.nabble.com/VOTE-on-wicket%3Acomponent-tf3221780.html#a8948008
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: [Wicket-user] Intellij plugin

2007-02-13 Thread Timo Rantalaiho
On Tue, 13 Feb 2007, Nick Heudecker wrote:
 Currently, the best place to get it is from the Wicket-Stuff SVN repo.  I
 need to start a wiki page for it when I have time.

Yeah? I'm using Wicket Assistant

  http://www.mail-archive.com/wicket-user@lists.sourceforge.net/msg19386.html

that doesn't do a lot but anyway is a help.

And I got it via the normal IDEA plugin system.

- Timo

-- 
Timo Rantalaiho
Reaktor Innovations OyURL: http://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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] VOTE on wicket:component

2007-02-13 Thread Juergen Donnerstag
 [X] Delete this unimportant and generally unsupported feature

Juergen

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


 Our Wiki describes the wicket:component tag as follows:

 wicket:component - Creates a Wicket component on the fly. Needs a class
 attribute. Though this has been in wicket for a long time, it is still kind
 of an unsupported feature, as most of the core developers believe that this
 may lead to misuse of the framework. Before heavily relying on this feature,
 you might want to contact the user list to discuss alternative strategies.

 It's unclear to me that anyone is using this.  The utility is limited and
 unimportant.  And for anyone creating tooling support for wicket, this will
 be a tripping point.  I can't see any good reason to keep this feature as it
 is a way to instantiate a component in the markup and might server as the
 beginning of a bunch of requests to add component configuration or other
 code logic where we should only have nice clean markup.

 VOTE:

  [ ] Delete this unimportant and generally unsupported feature
  [ ] Keep wicket:component, but define its limits, document it on the wiki
 as fully supported and commit to supporting it in the future



 --
 View this message in context: 
 http://www.nabble.com/VOTE-on-wicket%3Acomponent-tf3221780.html#a8948008
 Sent from the Wicket - User mailing list archive at Nabble.com.


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


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


Re: [Wicket-user] VOTE on wicket:component

2007-02-13 Thread Johan Compagner

i don't care to much, but i don't plan on supporting it at this time
(personally)
But maybe some comes up with a GREAT usecase?

so +0

I do agree a bit that we maybe should say, it is really supported if we keep
it.

johan


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




Our Wiki describes the wicket:component tag as follows:

wicket:component - Creates a Wicket component on the fly. Needs a class
attribute. Though this has been in wicket for a long time, it is still
kind
of an unsupported feature, as most of the core developers believe that
this
may lead to misuse of the framework. Before heavily relying on this
feature,
you might want to contact the user list to discuss alternative
strategies.

It's unclear to me that anyone is using this.  The utility is limited and
unimportant.  And for anyone creating tooling support for wicket, this
will
be a tripping point.  I can't see any good reason to keep this feature as
it
is a way to instantiate a component in the markup and might server as the
beginning of a bunch of requests to add component configuration or other
code logic where we should only have nice clean markup.

VOTE:

[ ] Delete this unimportant and generally unsupported feature
[ ] Keep wicket:component, but define its limits, document it on the
wiki
as fully supported and commit to supporting it in the future



--
View this message in context:
http://www.nabble.com/VOTE-on-wicket%3Acomponent-tf3221780.html#a8948008
Sent from the Wicket - User mailing list archive at Nabble.com.


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

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


Re: [Wicket-user] MarkupWriter

2007-02-13 Thread Eelco Hillenius
For some cases it is easier, more efficient or - as with behaviors -
simply the only way to write markup 'around' (before and after) the
actual tag that a component is coupled to. This is where
response.write can be used.

The interface to that could be made more to-the-purpose so that it you
can have writer.begin(div); etc. We've talked about that before, but
decided against it as we don't want to give the impression that
directly writing to the stream is the preferred way to build
components. Rather, we like people to use compound components with
markup files, like Panels, first and only when there is a very good
reason for it use the response directly.

That said, and interface like that could easily be built.

public class MarkupWriter {

  private final Reponse response;

  public MarkupWriter(Response response) {
this.response = response;
  }

  public void begin(String tag) {
response.write();
response.write(tag);
  }

  public void attribute(String attrib, String value) {
response.write(attrib);
response.write( = \);
response.write(value);
response.write(\);
  }
}

I think it is too trivial to put this in Wicket core, but if we have a
decent implementation we could consider putting it in extensions.

Eelco


On 2/13/07, Robert . [EMAIL PROTECTED] wrote:
 Actually I encounter this raw HTML output in the Pro Wicket book on page
 251.
 A custome AutoCompleteRenderer is used to render a choice
 protected void renderChoice(Object object, Response response)

 Could you give an example how to write custom HTML to the response in such a
 method, without having
 to do something like response.write(div);

 Robert



 On 2/12/07, Igor Vaynberg  [EMAIL PROTECTED] 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=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
 
 -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
 easier.
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


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



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


Re: [Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-13 Thread Igor Vaynberg

gridview doesnt yet work with 2.0 because we still havent decided on how to
do reparenting

-igor


On 2/13/07, Otan [EMAIL PROTECTED] wrote:


[ Wicket 2.0 ]
I can't make my GridView to work as I expect it to behave. It's javadoc
seems outdated yet. Can someone fix the Wicket-example for GridView so that
I could have a reference about its usage? Thanks.

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


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


Re: [Wicket-user] VOTE on wicket:component

2007-02-13 Thread Eelco Hillenius
  [ ] Delete this unimportant and generally unsupported feature
  [ ] Keep wicket:component, but define its limits, document it on the wiki
 as fully supported and commit to supporting it in the future

-0.

I don't care much about this feature, but it's not in my way either.
It's been in the project for over 2 years and it hasn't been giving us
or our users (as far as we know) any problems, and I'm not crazy about
just throwing away stuff because there might in a distant future be
some problem with it while chances are that the feature actually is
helpful for every 1 out of 100 Wicket users.

If someone on this list (the VOTE is on the user instead of the dev
list) uses it, could you please explain your use case?

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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Intellij plugin

2007-02-13 Thread Nick Heudecker

I'm not sure of the version from the IDEA updater has the latest version.

On 2/13/07, Timo Rantalaiho [EMAIL PROTECTED] wrote:


On Tue, 13 Feb 2007, Nick Heudecker wrote:
 Currently, the best place to get it is from the Wicket-Stuff SVN
repo.  I
 need to start a wiki page for it when I have time.

Yeah? I'm using Wicket Assistant


http://www.mail-archive.com/wicket-user@lists.sourceforge.net/msg19386.html

that doesn't do a lot but anyway is a help.

And I got it via the normal IDEA plugin system.

- Timo

--
Timo Rantalaiho
Reaktor Innovations OyURL: http://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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--
Nick Heudecker
Professional Wicket Training  Consulting
http://www.systemmobile.com

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


Re: [Wicket-user] Webby is cool

2007-02-13 Thread Jason Schnitzer
The WebbyDB seems to be a link off of the concepts page under persistance.

webbyDB: http://r8fe.net/webby4db/

I have never used this myself just interested.

Jason

On 2/13/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
 * nilo de roock:

  Today I looked at WebbyDB, it's a 'PHP-type-of-dump-classes-on-webpage' app,
  hibernate handles the persistency side. It depends on webby, wicket,
  databinder and hibernate.

 Do you have a pointer please?  Or is it http://r8fe.net/webby/
 --
  Jean-Baptiste Quenot
 aka  John Banana   Qwerty
 http://caraldi.com/jbq/

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


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


Re: [Wicket-user] Eclipse environment

2007-02-13 Thread Igor Vaynberg

i import individual subprojects instead of the entire thing

cd wicket
mvn eclipse:eclipse

done

-igor


On 2/13/07, ChuckDeal [EMAIL PROTECTED] wrote:



How do the Wicket developers have their Eclipse environment setup?

I have a SNAPSHOT project that I created from the svn tree (wicket 1.3).
Each of the subprojects are below that project but the .classpath and
.project are not setup to allow building of the whole project.  My own
project is mvn-enabled and I use the m2Eclipse plugin to help manage the
dependencies, but the Wicket structure doesn't seem to work well with the
m2Eclipse plugin (the wicket-parent subproject instead of a top-level
pom).

So, I was hoping I could get an idea of how you guys setup the workspace
for
development.  Particularly, I want to tweak the datetime subproject
because
it is giving me some trouble.

Chuck
--
View this message in context:
http://www.nabble.com/Eclipse-environment-tf3220812.html#a8944922
Sent from the Wicket - User mailing list archive at Nabble.com.


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

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


Re: [Wicket-user] How to hid a complete tag?

2007-02-13 Thread Igor Vaynberg

do you want to hide just the tag or the entire component?

-igor


On 2/13/07, Conny Kühne [EMAIL PROTECTED] wrote:


But without the setRenderBodyOnly() the div still gets rendered (and
displayed). And that's what I wanted to avoid.


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

P.S. Maybe this mail gets posted in the wrong place since I forgot to
subscribe to the mailing list
and now I am answering manually.


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


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


[Wicket-user] like i18n only different

2007-02-13 Thread Scott Swank

There are many 3rd parties who use our web application to sell our product.
This entails having completely different html for given pages or components
-- but still retaining a default version of each page/component.  So in
short we want Wicket's i18n functionality, but we want to base it on the
organization or label (business concepts) with which the user is logged in.
So we have our own component:

foo.java
foo.html

And then we need 3rd parties A, B, C, etc. to (potentially) have their own
version of the above html files.  Here are the options we're considering:

1. Re-implement i18n-style functionality so that we have foo-A.html,
foo-B.html, etc.

2. Implement this via entirely separate directory structures with the
CompoundResourceStreamLocator

/base/this/that/foo.html
/A/this/that/foo.html
/b/this/that/foo.html
etc

3. A distant 3rd option: implement this via authorization strategies

Which of the above sounds the most sensible?

Thank you again,
Scott

--
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=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] like i18n only different

2007-02-13 Thread Igor Vaynberg

have you see session.setstyle() or component.getvariation() they allow you
to use alternative markup

so for example if you call session.setstyle(bar);

when foo.java renders first foo_bar.html si tried and then foo.html

variation is much the same but scoped to instances instead of session

-igor


On 2/13/07, Scott Swank [EMAIL PROTECTED] wrote:


There are many 3rd parties who use our web application to sell our
product.  This entails having completely different html for given pages or
components -- but still retaining a default version of each page/component.
So in short we want Wicket's i18n functionality, but we want to base it on
the organization or label (business concepts) with which the user is logged
in.  So we have our own component:

foo.java
foo.html

And then we need 3rd parties A, B, C, etc. to (potentially) have their own
version of the above html files.  Here are the options we're considering:

1. Re-implement i18n-style functionality so that we have foo-A.html,
foo-B.html, etc.

2. Implement this via entirely separate directory structures with the
CompoundResourceStreamLocator

/base/this/that/foo.html
/A/this/that/foo.html
/b/this/that/foo.html
etc

3. A distant 3rd option: implement this via authorization strategies

Which of the above sounds the most sensible?

Thank you again,
Scott

--
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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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


Re: [Wicket-user] How to hid a complete tag?

2007-02-13 Thread Eelco Hillenius
 P.S. Maybe this mail gets posted in the wrong place since I forgot to
 subscribe to the mailing list
 and now I am answering manually.

Consider using Nabble: http://www.nabble.com/Wicket-f13974.html

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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] like i18n only different

2007-02-13 Thread Scott Swank

Oh.  So what should I be reading to avoid asking questions that make me feel
this daft?  :)

Thank you.

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


have you see session.setstyle() or component.getvariation() they allow you
to use alternative markup

so for example if you call session.setstyle(bar);

when foo.java renders first foo_bar.html si tried and then foo.html

variation is much the same but scoped to instances instead of session

-igor


On 2/13/07, Scott Swank  [EMAIL PROTECTED] wrote:

 There are many 3rd parties who use our web application to sell our
 product.  This entails having completely different html for given pages or
 components -- but still retaining a default version of each page/component.
 So in short we want Wicket's i18n functionality, but we want to base it on
 the organization or label (business concepts) with which the user is logged
 in.  So we have our own component:

 foo.java
 foo.html

 And then we need 3rd parties A, B, C, etc. to (potentially) have their
 own version of the above html files.  Here are the options we're
 considering:

 1. Re-implement i18n-style functionality so that we have foo-A.html,
 foo-B.html, etc.

 2. Implement this via entirely separate directory structures with the
 CompoundResourceStreamLocator

 /base/this/that/foo.html
 /A/this/that/foo.html
 /b/this/that/foo.html
 etc

 3. A distant 3rd option: implement this via authorization strategies

 Which of the above sounds the most sensible?

 Thank you again,
 Scott

 --
 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=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



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





--
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=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Webby is cool

2007-02-13 Thread Eelco Hillenius
http://r8fe.net/webby/team-list.html

Spooky! ;)

Eelco

On 2/13/07, Jason Schnitzer [EMAIL PROTECTED] wrote:
 The WebbyDB seems to be a link off of the concepts page under persistance.

 webbyDB: http://r8fe.net/webby4db/

 I have never used this myself just interested.

 Jason

 On 2/13/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
  * nilo de roock:
 
   Today I looked at WebbyDB, it's a 'PHP-type-of-dump-classes-on-webpage' 
   app,
   hibernate handles the persistency side. It depends on webby, wicket,
   databinder and hibernate.
 
  Do you have a pointer please?  Or is it http://r8fe.net/webby/
  --
   Jean-Baptiste Quenot
  aka  John Banana   Qwerty
  http://caraldi.com/jbq/
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job 
  easier.
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

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


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


Re: [Wicket-user] VOTE on wicket:component

2007-02-13 Thread Timo Rantalaiho
If wicket:component goes, please add wicket:pseudo

  http://www.nabble.com/%3Cwicket%3Apseudo%3E-tf2881952.html#a8052462

to be able to keep e.g. this kind of repeater markup valid 
when producing HTML tables with repeaters.

wicket:component wicket:id=dataView
  wicket:component wicket:id=cols/wicket:component
/wicket:component

- Timo

-- 
Timo Rantalaiho
Reaktor Innovations OyURL: http://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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] like i18n only different

2007-02-13 Thread Igor Vaynberg

dont know how up to date it is...

http://cwiki.apache.org/WICKET/newuserguide.html#Newuserguide-LocalizationandSkinningofApplications

-igor


On 2/13/07, Scott Swank [EMAIL PROTECTED] wrote:


Oh.  So what should I be reading to avoid asking questions that make me
feel this daft?  :)

Thank you.

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

 have you see session.setstyle() or component.getvariation () they allow
 you to use alternative markup

 so for example if you call session.setstyle(bar);

 when foo.java renders first foo_bar.html si tried and then foo.html

 variation is much the same but scoped to instances instead of session

 -igor


 On 2/13/07, Scott Swank  [EMAIL PROTECTED] wrote:

  There are many 3rd parties who use our web application to sell our
  product.  This entails having completely different html for given pages or
  components -- but still retaining a default version of each page/component.
  So in short we want Wicket's i18n functionality, but we want to base it on
  the organization or label (business concepts) with which the user is logged
  in.  So we have our own component:
 
  foo.java
  foo.html
 
  And then we need 3rd parties A, B, C, etc. to (potentially) have their
  own version of the above html files.  Here are the options we're
  considering:
 
  1. Re-implement i18n-style functionality so that we have foo-A.html,
  foo-B.html, etc.
 
  2. Implement this via entirely separate directory structures with the
  CompoundResourceStreamLocator
 
  /base/this/that/foo.html
  /A/this/that/foo.html
  /b/this/that/foo.html
  etc
 
  3. A distant 3rd option: implement this via authorization strategies
 
  Which of the above sounds the most sensible?
 
  Thank you again,
  Scott
 
  --
  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=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


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




--
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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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


Re: [Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-13 Thread Eelco Hillenius
On 2/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 gridview doesnt yet work with 2.0 because we still havent decided on how to
 do reparenting

Starting to be an issue to have stuff broken for months. Who's taking
responsibility for that and is it a lot of work to get that done?

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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-13 Thread Igor Vaynberg

its probably not a lot of work but we need to have a powwow to decide on
semantics/sideeffects

-igor


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


On 2/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 gridview doesnt yet work with 2.0 because we still havent decided on how
to
 do reparenting

Starting to be an issue to have stuff broken for months. Who's taking
responsibility for that and is it a lot of work to get that done?

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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

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


Re: [Wicket-user] Mounting a package

2007-02-13 Thread Igor Vaynberg

hrm actually i think by default if you mount a package you will have access
to static files like js, css, html.
to build a url you do this

requestcycle.urlfor(new resourcereference(class inside the package next to
which the files are, filename))

-igor


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


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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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


Re: [Wicket-user] Unable to render resource stream Exception

2007-02-13 Thread Igor Vaynberg

looks like a webspehere classloader problem. not sure how to help you since
i dont have access to websphere. maybe you can tell it not to create that
_wl_user_cls jar

-igor


On 2/5/07, Konstantinos Lazouras [EMAIL PROTECTED] wrote:


Hi all, thanx for your help so far and apologies for getting back so
late... to the problem now:

To what you suggested, I didn't get something useful from yourkit and
tmsMserver is not wicket related.

If the problem appears, it happens by clicking the datepicker icon (in a
monkey testing context), where WebLogic 9.1 cannot get to the resources.
It has nothing to do with browsers (speaking about firefox and ie). It is
related to the environment used: For development we use eclipse, tomcat
5.5, java 1.5 on windows and we also test inhouse with BEA WebLogic both
on windows and linux. We cannot reproduce the problem locally, no matter
what. At the client site, we deploy again on BEA WebLogic but this time on
AIX. This is the only environment where we get the Unable to render
resource stream error.

Inspired by the thread  Fighting Too many open files problem related to
wicket resource files we unpacked the wicket jars (we only use 2 jars,
core+extensions), put everything in classes folder and deployed again.  We
didn't get much, as the exception now became:

12:16:53,251 ERROR RequestCycle:1043 - Unable to render resource stream
zip:/prod/applc/bea9/weblogic91/config/tmsdomain/./servers/tmsMserver/tmp/_WL_user/fc/2eqljk/war/WEB-INF/lib/_wl_cls_gen.jar!/wicket/extensions/markup/html/datepicker/style/aqua/status-
bg.gif
wicket.WicketRuntimeException: Unable to render resource stream
zip:/prod/applc/bea9/weblogic91/config/tmsdomain/./servers/tmsMserver/tmp/_WL_user/fc/2eqljk/war/WEB-INF/lib/_wl_cls_gen.jar!/wicket/extensions/markup/html/datepicker/style/aqua/status-
bg.gif
at wicket.Resource.respond(Resource.java:279)
at wicket.Resource.onResourceRequested(Resource.java:135)
at wicket.request.target.resource.SharedResourceRequestTarget.respond(
SharedResourceRequestTarget.java:192)
... (the rest are the same)


So far, my question is: shouldn't unpacking the jars fix the problem?

Searching a bit more, we found that _wl_cls_gen.jar is the way WebLogic
handles dynamic libraries (so it shouldn't be something suspicious there).
From this I understand that WebLogic makes this jar because it finds the
datepicker resources in the /WEB-INF/classes/... dir and not in /, as
happens with the other resources.  What should I do if I want to move
datepicker resources away from /WEB-INF/classes/... dir?
Do you think that replacing the whole datepicker component with something
external would be a solution (how do I do this)?



On the other hand, a few minutes ago I came across the following post
while searching for answers:

http://opensource.atlassian.com/projects/spring/browse/SPR-3043;jsessionid=anu8vO15emAayNy2Ua?page=all

I think the problem described is very similar to mine.  Do you have any
suggestions on how to apply and test the answer given?

Thanks again,

Konstantinos





- Original Message 
From: Igor Vaynberg [EMAIL PROTECTED]
To: wicket-user@lists.sourceforge.net
Sent: Saturday, January 27, 2007 1:17:45 AM
Subject: Re: [Wicket-user] Unable to render resource stream Exception

well i guess we need to know if this is wicket related or something inside
weblogic going bad, or the combination of the two

-igor


On 1/26/07, Martijn Dashorst [EMAIL PROTECTED] wrote:

 I never have heard of it... And if you don't like shelling out $$$ for
 YourKit immediately, they have a 30 day trial. Should be enough to at
 least find this problem.

 After that you'll instantly know that the 500 bucks they charge are
 worth every penny.

 (I'm not affiliated with them).

 Martijn

 On 1/26/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
  is tmsMserver one of our threads?
 
  -igor
 
 
  On 1/26/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
   Wicket is pretty efficient, so likely there is something very
 resource
   heavy in your application, or there is a fat memory leak (resulting
 in
   the VM having to do a lot of GC). Can you track down what happens?
 If
   you use a profiler like the excellent YourKit
   (http://www.yourkit.com/), you should be able to track down
   bottlenecks and/ or memory leaks pretty quickly.
  
   Eelco
  
  
   On 1/26/07, Konstantinos Lazouras [EMAIL PROTECTED]
 wrote:
   
   
Thanks Martjin,
   
your answer makes sense but doesn't actually solve my problem,
 which in
  fact
is that users complain that the wicket web-app is slow.
A check with the server side shows that the thread for
 'tmsMserver' is
taking up 100% of CPU resource.
After a restart of the server and a walk through, the slowness
 creeps
  back
almost immediately. All I get in the server log are exceptions
 like the
  one
I posted.
I suppose what happens is users do something -- they wait --
 they get
bored -- they kill the request -- exception gets 

Re: [Wicket-user] Unable to render resource stream Exception

2007-02-13 Thread Igor Vaynberg

s/websphere/weblogic/

-igor


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


looks like a webspehere classloader problem. not sure how to help you
since i dont have access to websphere. maybe you can tell it not to create
that _wl_user_cls jar

-igor


On 2/5/07, Konstantinos Lazouras [EMAIL PROTECTED] wrote:

 Hi all, thanx for your help so far and apologies for getting back so
 late... to the problem now:

 To what you suggested, I didn't get something useful from yourkit and
 tmsMserver is not wicket related.

 If the problem appears, it happens by clicking the datepicker icon (in a
 monkey testing context), where WebLogic 9.1 cannot get to the
 resources. It has nothing to do with browsers (speaking about firefox and
 ie). It is related to the environment used: For development we use eclipse,
 tomcat 5.5, java 1.5 on windows and we also test inhouse with BEA
 WebLogic both on windows and linux. We cannot reproduce the problem locally,
 no matter what. At the client site, we deploy again on BEA WebLogic but this
 time on AIX. This is the only environment where we get the Unable to render
 resource stream error.

 Inspired by the thread  Fighting Too many open files problem related
 to wicket resource files  we unpacked the wicket jars (we only use 2
 jars, core+extensions), put everything in classes folder and deployed
 again.  We didn't get much, as the exception now became:

 12:16:53,251 ERROR RequestCycle:1043 - Unable to render resource stream
 
zip:/prod/applc/bea9/weblogic91/config/tmsdomain/./servers/tmsMserver/tmp/_WL_user/fc/2eqljk/war/WEB-INF/lib/_wl_cls_gen.jar!/wicket/extensions/markup/html/datepicker/style/aqua/status-
 bg.gif
 wicket.WicketRuntimeException: Unable to render resource stream
 
zip:/prod/applc/bea9/weblogic91/config/tmsdomain/./servers/tmsMserver/tmp/_WL_user/fc/2eqljk/war/WEB-INF/lib/_wl_cls_gen.jar!/wicket/extensions/markup/html/datepicker/style/aqua/status-
 bg.gif
 at wicket.Resource.respond(Resource.java:279)
 at wicket.Resource.onResourceRequested(Resource.java:135)
 at
 wicket.request.target.resource.SharedResourceRequestTarget.respond(
 SharedResourceRequestTarget.java:192)
 ... (the rest are the same)


 So far, my question is: shouldn't unpacking the jars fix the problem?

 Searching a bit more, we found that _wl_cls_gen.jar is the way
 WebLogic handles dynamic libraries (so it shouldn't be something suspicious
 there). From this I understand that WebLogic makes this jar because it finds
 the datepicker resources in the /WEB-INF/classes/... dir and not in /,
 as happens with the other resources.  What should I do if I want to move
 datepicker resources away from /WEB-INF/classes/... dir?
 Do you think that replacing the whole datepicker component with
 something external would be a solution (how do I do this)?



 On the other hand, a few minutes ago I came across the following post
 while searching for answers:
  
http://opensource.atlassian.com/projects/spring/browse/SPR-3043;jsessionid=anu8vO15emAayNy2Ua?page=all


 I think the problem described is very similar to mine.  Do you have any
 suggestions on how to apply and test the answer given?

 Thanks again,

 Konstantinos





 - Original Message 
 From: Igor Vaynberg [EMAIL PROTECTED]
 To: wicket-user@lists.sourceforge.net
 Sent: Saturday, January 27, 2007 1:17:45 AM
 Subject: Re: [Wicket-user] Unable to render resource stream Exception

 well i guess we need to know if this is wicket related or something
 inside weblogic going bad, or the combination of the two

 -igor


 On 1/26/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
 
  I never have heard of it... And if you don't like shelling out $$$ for
  YourKit immediately, they have a 30 day trial. Should be enough to at
  least find this problem.
 
  After that you'll instantly know that the 500 bucks they charge are
  worth every penny.
 
  (I'm not affiliated with them).
 
  Martijn
 
  On 1/26/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
   is tmsMserver one of our threads?
  
   -igor
  
  
   On 1/26/07, Eelco Hillenius [EMAIL PROTECTED]  wrote:
Wicket is pretty efficient, so likely there is something very
  resource
heavy in your application, or there is a fat memory leak
  (resulting in
the VM having to do a lot of GC). Can you track down what happens?
  If
you use a profiler like the excellent YourKit
(http://www.yourkit.com/), you should be able to track down
bottlenecks and/ or memory leaks pretty quickly.
   
Eelco
   
   
On 1/26/07, Konstantinos Lazouras [EMAIL PROTECTED]
   wrote:


 Thanks Martjin,

 your answer makes sense but doesn't actually solve my problem,
  which in
   fact
 is that users complain that the wicket web-app is slow.
 A check with the server side shows that the thread for
  'tmsMserver' is
 taking up 100% of CPU resource.
 After a restart of the server and a walk through, the slowness
  creeps
   back
 almost immediately. All I 

[Wicket-user] Simple CSS Link

2007-02-13 Thread spencer.c

Alright, I'm having trouble with what should be an easy thing:
My page uses a stylesheet (1.css).  Unfortunately, I can't get it to find
the resource.

I have triedthe code listed here:
http://www.wicket-wiki.org.uk/wiki/index.php/JavaScript

Without success.  What am I doing wrong?

In my html file, I have the following:
link wicket:id=pageCSS rel=Stylesheet type=text/css href=1.css/

In my page java class, I do the following:
add(new StyleSheetReference(pageCSS, getClass(), 1.css));

1.css is saved next to the class and .html files.

When I run the application, the page comes up fine, but unstyled, and I get
the following message logged:
WARN  - PackageResource- Unable to find package resource [path =
com/test/pages/1.css, style = null, locale = null]


Did something change regarding this between 1.3 and 1.2?  What else do I
need to do?  Any help on this is greatly appreciated.

I am using the current 1.3 snapshot.

Best Regards,

- spencer
-- 
View this message in context: 
http://www.nabble.com/Simple-CSS-Link-tf3222758.html#a8951239
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: [Wicket-user] Simple CSS Link

2007-02-13 Thread Igor Vaynberg

what does the generated url look like?

also you dont need a component for this if its a static ref, i think the
following should work

wicket:link
link rel=Stylesheet type=text/css href=1.css/
/wicket:link

-igor

On 2/13/07, spencer.c [EMAIL PROTECTED] wrote:



Alright, I'm having trouble with what should be an easy thing:
My page uses a stylesheet (1.css).  Unfortunately, I can't get it to find
the resource.

I have triedthe code listed here:
http://www.wicket-wiki.org.uk/wiki/index.php/JavaScript

Without success.  What am I doing wrong?

In my html file, I have the following:
link wicket:id=pageCSS rel=Stylesheet type=text/css href=1.css/

In my page java class, I do the following:
add(new StyleSheetReference(pageCSS, getClass(), 1.css));

1.css is saved next to the class and .html files.

When I run the application, the page comes up fine, but unstyled, and I
get
the following message logged:
WARN  - PackageResource- Unable to find package resource [path
=
com/test/pages/1.css, style = null, locale = null]


Did something change regarding this between 1.3 and 1.2?  What else do I
need to do?  Any help on this is greatly appreciated.

I am using the current 1.3 snapshot.

Best Regards,

- spencer
--
View this message in context:
http://www.nabble.com/Simple-CSS-Link-tf3222758.html#a8951239
Sent from the Wicket - User mailing list archive at Nabble.com.


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

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


Re: [Wicket-user] Simple CSS Link

2007-02-13 Thread spencer.c

The generated HTML is:
link href=resources/com.test.pages.Share/1.css rel=stylesheet
type=text/css wicket:id=pageCSS/

Changing the markup to your suggestion doesn't change the behavior, except
eliminating the error message.  The stylesheet still does not get applied. 
In fact, looking at the markup, it looks like the wicket:link doesn't get
replaced correctly?

Generated response:
head
wicket:link
link href=1.css rel=Stylesheet type=text/css/
/wicket:link


Thanks for the ideas.



igor.vaynberg wrote:
 
 what does the generated url look like?
 
 also you dont need a component for this if its a static ref, i think the
 following should work
 
 wicket:link
 link rel=Stylesheet type=text/css href=1.css/
 /wicket:link
 
 -igor
 
 
-- 
View this message in context: 
http://www.nabble.com/Simple-CSS-Link-tf3222758.html#a8951591
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: [Wicket-user] Simple CSS Link

2007-02-13 Thread Igor Vaynberg

is the css file actually copied into the output folder? i know eclipse and
other ides do not always copy css/html files by default.

-igor


On 2/13/07, spencer.c [EMAIL PROTECTED] wrote:



The generated HTML is:
link href=resources/com.test.pages.Share/1.css rel=stylesheet
type=text/css wicket:id=pageCSS/

Changing the markup to your suggestion doesn't change the behavior, except
eliminating the error message.  The stylesheet still does not get applied.
In fact, looking at the markup, it looks like the wicket:link doesn't
get
replaced correctly?

Generated response:
head
wicket:link
link href=1.css rel=Stylesheet type=text/css/
/wicket:link


Thanks for the ideas.



igor.vaynberg wrote:

 what does the generated url look like?

 also you dont need a component for this if its a static ref, i think the
 following should work

 wicket:link
 link rel=Stylesheet type=text/css href=1.css/
 /wicket:link

 -igor


--
View this message in context:
http://www.nabble.com/Simple-CSS-Link-tf3222758.html#a8951591
Sent from the Wicket - User mailing list archive at Nabble.com.


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

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


Re: [Wicket-user] like i18n only different

2007-02-13 Thread Scott Swank

Right you are, it's a matter of overriding getVariation() on the component.
The wiki, however, indicates that it's component_variation_style.html

If style is set, variation + _ is prepended to the style name, which is
then returned by getStyle().

If you have a panel inside Home called kitchen, you can override
getVariation in the kitchen panel to return granite or corriander. For a
German locale, you could provide the following markups for the granite
variation: Kitchen_granite_de_DE.html, Kitchen_granite_stone_de_DE.html,
Kitchen_granite_wood_de_DE.html, Kitchen_granite_brick_de_DE.html. The
possibilities are exponential.
In either case, however, if the style  variation are specified will Wicket
then check the component_style and/or the component_variation if it does not
find component_variation_style?

Thank you,
Scott

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


On 2/13/07, Scott Swank [EMAIL PROTECTED] wrote:

 One point of confirmation, please.  If I setStyle(A) and then
 setVariation(123) which of the following would be checked, and in what
 order:


there is no setvariation, only getvariation

afik it is component_style_variation.html

-igor


foo_123_A.html
 foo_A.html
 foo_123.html
 foo.html

 Thank you,
 Scott

 On 2/13/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
 
  dont know how up to date it is...
 
  
http://cwiki.apache.org/WICKET/newuserguide.html#Newuserguide-LocalizationandSkinningofApplications
 
 
  -igor
 
 
  On 2/13/07, Scott Swank  [EMAIL PROTECTED] wrote:
  
   Oh.  So what should I be reading to avoid asking questions that make
   me feel this daft?  :)
  
   Thank you.
  
   On 2/13/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
   
have you see session.setstyle() or component.getvariation () they
allow you to use alternative markup
   
so for example if you call session.setstyle(bar);
   
when foo.java renders first foo_bar.html si tried and then
foo.html
   
variation is much the same but scoped to instances instead of
session
   
-igor
   
   
On 2/13/07, Scott Swank  [EMAIL PROTECTED] wrote:
   
 There are many 3rd parties who use our web application to sell
 our product.  This entails having completely different html for given 
pages
 or components -- but still retaining a default version of each
 page/component.  So in short we want Wicket's i18n functionality, but 
we
 want to base it on the organization or label (business concepts) with 
which
 the user is logged in.  So we have our own component:

 foo.java
 foo.html

 And then we need 3rd parties A, B, C, etc. to (potentially) have
 their own version of the above html files.  Here are the options we're
 considering:

 1. Re-implement i18n-style functionality so that we have
 foo-A.html, foo-B.html, etc.

 2. Implement this via entirely separate directory structures
 with the CompoundResourceStreamLocator

 /base/this/that/foo.html
 /A/this/that/foo.html
 /b/this/that/foo.html
 etc

 3. A distant 3rd option: implement this via authorization
 strategies

 Which of the above sounds the most sensible?

 Thank you again,
 Scott

 --
 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=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


   
   

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

Re: [Wicket-user] Simple CSS Link

2007-02-13 Thread Igor Vaynberg

could you create a quickstart with the jars you are using and attach it to
jira, that way i can take a look and debug it - unless you want to trace it
yourself.

btw what version of wicket are you using?

-igor


On 2/13/07, spencer.c [EMAIL PROTECTED] wrote:



Yes, that was one of the first things I checked.  The css file is copied
to
the output folder, and is right next to the .class and .html files.

Could it have something to do with my mapping?  I do have wicket set up to
intercept everything.  From web.xml:
 filter
 ...
   init-param
  param-namefilterPath/param-name
  param-value/*/param-value
/init-param
/filter

filter-mapping
filter-nameshareit/filter-name
url-pattern/*/url-pattern
/filter-mapping

I'm really at a loss of what else to look at, other than that.

Thanks again.



igor.vaynberg wrote:

 is the css file actually copied into the output folder? i know eclipse
and
 other ides do not always copy css/html files by default.

 -igor



--
View this message in context:
http://www.nabble.com/Simple-CSS-Link-tf3222758.html#a8951774
Sent from the Wicket - User mailing list archive at Nabble.com.


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

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


Re: [Wicket-user] Simple CSS Link

2007-02-13 Thread Eelco Hillenius
 In my html file, I have the following:
 link wicket:id=pageCSS rel=Stylesheet type=text/css href=1.css/

 In my page java class, I do the following:
 add(new StyleSheetReference(pageCSS, getClass(), 1.css));

getClass() is not a good idea, as then it'll depend on overriding
classes. It is better to just fix:
add(new StyleSheetReference(pageCSS, MyPage.class, 1.css));

 1.css is saved next to the class and .html files.

 When I run the application, the page comes up fine, but unstyled, and I get
 the following message logged:
 WARN  - PackageResource- Unable to find package resource [path =
 com/test/pages/1.css, style = null, locale = null]

What does your page output look like? Something like:

link 
href=../../../../../../resources/ts4.web.wicket.page.workspace.TopBarPanel/TopBarPanel_en_US.css
rel=stylesheet/

? Do you have any mounts in place there?

 I am using the current 1.3 snapshot.

Please be sure to stay up to date with 1.3 as we're fixing things
almost daily. Unfortunately, our maven repo with snapshots seems to be
a bit crooked, so if you're depending on that, you should scratch your
local maven repo wicket dirs regularly to force new downloads. See
http://issues.apache.org/jira/browse/WICKET-283

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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Simple CSS Link

2007-02-13 Thread spencer.c

I've updated to the a static Shared.class declaration, rather than
getClass(), thanks for that.

I'm using the snapshot from today, so I am definitely up to date.

My output looks like this:
link href=resources/com.test.pages.Share/1.css rel=stylesheet
type=text/css wicket:id=pageCSS/

which is similar to what you put there, except without the ../../'s.



Eelco Hillenius wrote:
 
 In my html file, I have the following:
 link wicket:id=pageCSS rel=Stylesheet type=text/css href=1.css/

 In my page java class, I do the following:
 add(new StyleSheetReference(pageCSS, getClass(), 1.css));
 
 getClass() is not a good idea, as then it'll depend on overriding
 classes. It is better to just fix:
 add(new StyleSheetReference(pageCSS, MyPage.class, 1.css));
 
 1.css is saved next to the class and .html files.

 When I run the application, the page comes up fine, but unstyled, and I
 get
 the following message logged:
 WARN  - PackageResource- Unable to find package resource
 [path =
 com/test/pages/1.css, style = null, locale = null]
 
 What does your page output look like? Something like:
 
 link
 href=../../../../../../resources/ts4.web.wicket.page.workspace.TopBarPanel/TopBarPanel_en_US.css
 rel=stylesheet/
 
 ? Do you have any mounts in place there?
 
 I am using the current 1.3 snapshot.
 
 Please be sure to stay up to date with 1.3 as we're fixing things
 almost daily. Unfortunately, our maven repo with snapshots seems to be
 a bit crooked, so if you're depending on that, you should scratch your
 local maven repo wicket dirs regularly to force new downloads. See
 http://issues.apache.org/jira/browse/WICKET-283
 
 Eelco
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Simple-CSS-Link-tf3222758.html#a8952885
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: [Wicket-user] Simple CSS Link

2007-02-13 Thread Eelco Hillenius
 which is similar to what you put there, except without the ../../'s.

You don't have these ../../ anywhere? If you have a recent snapshot, I
think you should, as we changed to relative URLs about two weeks ago.
How is your app configured for the rest?

I guess a quickstart project that reproduces your problem would be the
quickest way to solve this.

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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] multiple rendering at same time

2007-02-13 Thread Scott Lusebrink

I've realized that wicket will only render one page at a time, at least it
will not run the constructor and onAttach methods of 2 pages at the same
time.  This is a major bottle neck on applications with large user bases.
My app is experiencing problems because database calls are being run in
these constructors and onAttach methods.  While there maybe a more
appropriate place for database calls to be run, and I'd like to hear where
these should be, running only 1 page constructor at a time doesn't seem to
be efficient.  I've found the code that does this. RequestCycle.874

processEventsAndRespond(){
// Use any synchronization lock provided by the target  874 Object
lock = getRequestTarget().getLock(this);  875   if (lock != null)  876
{  877  synchronized (lock)  878
{  879
doProcessEventsAndRespond(processor);  880  
}  881  }



can someone explain if this behavior is intentional, is there a way to stop
it?  As a result of this behavior while a page is loading, no other page
will load until the first has finish.
I am  using wicket 1.2

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


Re: [Wicket-user] multiple rendering at same time

2007-02-13 Thread Matej Knopp
This is only true for one session. Locking means that only one page of 
each session will be processed at the same time. This way we ensure that 
the session state remains consisted. This is not affecting the number of 
concurrent users.

-Matej

Scott Lusebrink wrote:
 I've realized that wicket will only render one page at a time, at least 
 it will not run the constructor and onAttach methods of 2 pages at the 
 same time.  This is a major bottle neck on applications with large user 
 bases.  My app is experiencing problems because database calls are being 
 run in these constructors and onAttach methods.  While there maybe a 
 more appropriate place for database calls to be run, and I'd like to 
 hear where these should be, running only 1 page constructor at a time 
 doesn't seem to be efficient.  I've found the code that does this. 
 RequestCycle.874
 
 processEventsAndRespond(){
 // Use any synchronization lock provided by the target
   874 Object lock = getRequestTarget().getLock(
 this);
   875 if (lock != null)
   876 {
   877 synchronized (lock)
   878 {
   879 doProcessEventsAndRespond(processor);
   880 }
   881 }
 
 
 
 can someone explain if this behavior is intentional, is there a way to 
 stop it?  As a result of this behavior while a page is loading, no other 
 page will load until the first has finish.
 I am  using wicket 1.2
 
 Scott
 
 
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 
 
 
 
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


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


Re: [Wicket-user] low wicket performance - intensive file system usage

2007-02-13 Thread Jesse Barnum
I don't have a WicketFilter in my wicket-1.2.5.jar. Where would I  
find this?

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


On Feb 13, 2007, at 8:48 AM, Martijn Dashorst wrote:

 Use the wicket filter instead.

 Martijn

 On 2/13/07, Andrew Klochkov [EMAIL PROTECTED] wrote:
 I think I found the cause of our performance problems - we map wicket
 servlet to /*. If I change it to /app, things become much much  
 faster.
 The problem is that our customer doesn't want to have redirect on the
 main page, and at the same time this page is not static. Any  
 suggestions?

 Matej Knopp wrote:
 This is very strange.
 We are know about the FilePageStore.storePage performance issues and
 johan is working on optimizing that.

 but CompressedPackageResource shouldn't take 30%. Definitely not.  
 caches
 the resource so the serving should be immediate. Unless your machine
 runs out of memory, in that case the cache is evicted.

 I'm not sure but i think there was a memory leak in 1.x lately,  
 are you
 sure you're using the latest version?

 What's the configuration of your server?

 Btw. You can try to use HttpSessionStore to see if it makes serving
 pages faster

 (in your application class
   protected ISessionStore newSessionStore() {
   return new HttpSessionStore();
   }
 )

 -Matej

 Andrew Klochkov wrote:

 forgot to mention the version - we use wicket 1.3

 Andrew Klochkov wrote:

 Hi

 Recently we launched some simple webapp written in wicket, but
 performance is obviously low. Even simple pages are being  
 loaded too slow.
 I tried to dig into it using profiler and found out that wicket  
 takes
 67% of CPU to work with file system. Main points of low  
 performance are:

 1. wicket.protocol.http.FilePageStore.storePage eats 25% of CPU
 2. getting resources using CompressedPackageResource eats 30%  
 of CPU

 How can we improve it? Why does wicket save all the pages in  
 files, why
 not to use http sessions?
 And what can be done with resources? I guess the browser  
 doesn't cache
 them and it takes to long time to get them from jars.






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





 --
 Andrew Klochkov


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



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

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


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


Re: [Wicket-user] low wicket performance - intensive file system usage

2007-02-13 Thread Igor Vaynberg

in 1.x or 2.x

-igor


On 2/13/07, Jesse Barnum [EMAIL PROTECTED] wrote:


I don't have a WicketFilter in my wicket-1.2.5.jar. Where would I
find this?

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


On Feb 13, 2007, at 8:48 AM, Martijn Dashorst wrote:

 Use the wicket filter instead.

 Martijn

 On 2/13/07, Andrew Klochkov [EMAIL PROTECTED] wrote:
 I think I found the cause of our performance problems - we map wicket
 servlet to /*. If I change it to /app, things become much much
 faster.
 The problem is that our customer doesn't want to have redirect on the
 main page, and at the same time this page is not static. Any
 suggestions?

 Matej Knopp wrote:
 This is very strange.
 We are know about the FilePageStore.storePage performance issues and
 johan is working on optimizing that.

 but CompressedPackageResource shouldn't take 30%. Definitely not.
 caches
 the resource so the serving should be immediate. Unless your machine
 runs out of memory, in that case the cache is evicted.

 I'm not sure but i think there was a memory leak in 1.x lately,
 are you
 sure you're using the latest version?

 What's the configuration of your server?

 Btw. You can try to use HttpSessionStore to see if it makes serving
 pages faster

 (in your application class
   protected ISessionStore newSessionStore() {
   return new HttpSessionStore();
   }
 )

 -Matej

 Andrew Klochkov wrote:

 forgot to mention the version - we use wicket 1.3

 Andrew Klochkov wrote:

 Hi

 Recently we launched some simple webapp written in wicket, but
 performance is obviously low. Even simple pages are being
 loaded too slow.
 I tried to dig into it using profiler and found out that wicket
 takes
 67% of CPU to work with file system. Main points of low
 performance are:

 1. wicket.protocol.http.FilePageStore.storePage eats 25% of CPU
 2. getting resources using CompressedPackageResource eats 30%
 of CPU

 How can we improve it? Why does wicket save all the pages in
 files, why
 not to use http sessions?
 And what can be done with resources? I guess the browser
 doesn't cache
 them and it takes to long time to get them from jars.






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





 --
 Andrew Klochkov


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



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

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


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

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

Re: [Wicket-user] low wicket performance - intensive file system usage

2007-02-13 Thread Eelco Hillenius
On 2/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 in 1.x or 2.x

Where 1.x stands for the name for the branch and Wicket version 1.3 and up.

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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] low wicket performance - intensive file system usage

2007-02-13 Thread Jesse Barnum
So it's not in any pre-compiled release version?

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

On Feb 13, 2007, at 5:59 PM, Eelco Hillenius wrote:

 On 2/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 in 1.x or 2.x

 Where 1.x stands for the name for the branch and Wicket version 1.3  
 and up.

 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=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


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


Re: [Wicket-user] low wicket performance - intensive file system usage

2007-02-13 Thread Igor Vaynberg

there are snapshots here wicketframework.org/maven/repository

1.3 under org/apache/wicket
2.0 under wicket

-igor


On 2/13/07, Jesse Barnum [EMAIL PROTECTED] wrote:


So it's not in any pre-compiled release version?

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

On Feb 13, 2007, at 5:59 PM, Eelco Hillenius wrote:

 On 2/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 in 1.x or 2.x

 Where 1.x stands for the name for the branch and Wicket version 1.3
 and up.

 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=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


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

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


Re: [Wicket-user] multiple rendering at same time

2007-02-13 Thread Scott Lusebrink

the situation is that I have a page which takes a LONG time to get data for
and until that page has complete the back button or navigating to any other
page wont work.  is there any way to prevent this

On 2/13/07, Scott Lusebrink [EMAIL PROTECTED] wrote:


I've realized that wicket will only render one page at a time, at least it
will not run the constructor and onAttach methods of 2 pages at the same
time.  This is a major bottle neck on applications with large user bases.
My app is experiencing problems because database calls are being run in
these constructors and onAttach methods.  While there maybe a more
appropriate place for database calls to be run, and I'd like to hear where
these should be, running only 1 page constructor at a time doesn't seem to
be efficient.  I've found the code that does this. RequestCycle.874

processEventsAndRespond(){
// Use any synchronization lock provided by the target  874 Object 
lock = getRequestTarget().getLock(this);  875if (lock != null)  876 
 {  877  synchronized (lock)  878   
 {  879  doProcessEventsAndRespond(processor);  880 
 }  881  }



can someone explain if this behavior is intentional, is there a way to
stop it?  As a result of this behavior while a page is loading, no other
page will load until the first has finish.
I am  using wicket 1.2

Scott

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


Re: [Wicket-user] multiple rendering at same time

2007-02-13 Thread Martijn Dashorst
On 2/14/07, Scott Lusebrink [EMAIL PROTECTED] wrote:
 the situation is that I have a page which takes a LONG time to get data for
 and until that page has complete the back button or navigating to any other
 page wont work.  is there any way to prevent this

Let the data in the page be aggregated in a background thread which
you poll using ajax. Then you can show a progress indicator, and
replace the progress indicator with the new data.

Having your users wait for more than 2-3 seconds is very impolite and
will result in a negative view of your applciation.

Martijn

  On 2/13/07, Scott Lusebrink [EMAIL PROTECTED] wrote:
  I've realized that wicket will only render one page at a time, at least it
 will not run the constructor and onAttach methods of 2 pages at the same
 time.  This is a major bottle neck on applications with large user bases.
 My app is experiencing problems because database calls are being run in
 these constructors and onAttach methods.  While there maybe a more
 appropriate place for database calls to be run, and I'd like to hear where
 these should be, running only 1 page constructor at a time doesn't seem to
 be efficient.  I've found the code that does this. RequestCycle.874
  processEventsAndRespond(){
  // Use any synchronization lock provided by the target
  874 Object lock = getRequestTarget().getLock(
  this);
  875 if (lock != null)
  876 {
  877 synchronized (lock)
  878 {
  879 doProcessEventsAndRespond(processor);
  880 }
  881 }
 
 
  can someone explain if this behavior is intentional, is there a way to
 stop it?  As a result of this behavior while a page is loading, no other
 page will load until the first has finish.
  I am  using wicket 1.2
 
  Scott
 


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




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

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


Re: [Wicket-user] multiple rendering at same time

2007-02-13 Thread Igor Vaynberg

poller:

http://papernapkin.org/pastebin/view/4610

example usage

http://papernapkin.org/pastebin/view/4611

-igor


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


On 2/14/07, Scott Lusebrink [EMAIL PROTECTED] wrote:
 the situation is that I have a page which takes a LONG time to get data
for
 and until that page has complete the back button or navigating to any
other
 page wont work.  is there any way to prevent this

Let the data in the page be aggregated in a background thread which
you poll using ajax. Then you can show a progress indicator, and
replace the progress indicator with the new data.

Having your users wait for more than 2-3 seconds is very impolite and
will result in a negative view of your applciation.

Martijn

  On 2/13/07, Scott Lusebrink [EMAIL PROTECTED] wrote:
  I've realized that wicket will only render one page at a time, at
least it
 will not run the constructor and onAttach methods of 2 pages at the same
 time.  This is a major bottle neck on applications with large user
bases.
 My app is experiencing problems because database calls are being run in
 these constructors and onAttach methods.  While there maybe a more
 appropriate place for database calls to be run, and I'd like to hear
where
 these should be, running only 1 page constructor at a time doesn't seem
to
 be efficient.  I've found the code that does this. RequestCycle.874
  processEventsAndRespond(){
  // Use any synchronization lock provided by the target
  874 Object lock = getRequestTarget().getLock(
  this);
  875 if (lock != null)
  876 {
  877 synchronized (lock)
  878 {
  879 doProcessEventsAndRespond(processor);
  880 }
  881 }
 
 
  can someone explain if this behavior is intentional, is there a way to
 stop it?  As a result of this behavior while a page is loading, no other
 page will load until the first has finish.
  I am  using wicket 1.2
 
  Scott
 



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




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

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

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


Re: [Wicket-user] multiple rendering at same time

2007-02-13 Thread Eelco Hillenius
On 2/13/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
 On 2/14/07, Scott Lusebrink [EMAIL PROTECTED] wrote:
  the situation is that I have a page which takes a LONG time to get data for
  and until that page has complete the back button or navigating to any other
  page wont work.  is there any way to prevent this

 Let the data in the page be aggregated in a background thread which
 you poll using ajax. Then you can show a progress indicator, and
 replace the progress indicator with the new data.

And if you don't want to use Ajax for whatever reason, you can achieve
the same by using a shared resource which you then display in a frame:

public class FooExport extends WebResource {

  public static class Initializer implements IInitializer {

public void init(Application application) {
  SharedResources res = application.getSharedResources();
  res.add(foodata, new FooExport());
}
  }

  public FooExport() {
setCacheable(false);
  }

  @Override
  public IResourceStream getResourceStream() {
MySession s = (MySession)Session.get();
String uid = s.getUid();
CharSequence bar = DataBase.getInstance().getDataForFoo(uid);
return new StringResourceStream(bar, text/plain);
  }
}

But ajax would be a lot easier/ more elegant :)

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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] multiple rendering at same time

2007-02-13 Thread Eelco Hillenius
 public class FooExport extends WebResource {

   public static class Initializer implements IInitializer {

 public void init(Application application) {
   SharedResources res = application.getSharedResources();
   res.add(foodata, new FooExport());
 }
   }

And the initializer should be bootstrapped by Wicket, which usually
happens by the initializer of your project/ library, of which the root
initializer is defined in wicket.properties in the root of your class
path. See wicket.properties of wicket-extensions for example.

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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Expire page problem in wicket example

2007-02-13 Thread ketan gote

hello
friends

there is problem in wicket example, ie farme example
when this example is run , and clear out cookies, the expire page comes when
i click on bottom page link.
Then click on expire page link and see the result.

--
Regards

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


Re: [Wicket-user] Wicket-user Digest, Vol 9, Issue 125

2007-02-13 Thread Matej Knopp
You have to use your own expiration page (configure through application 
settings). In the page either use link with target=_top, or try tag 
base with target=_top, it might help it.

-Matej

ketan gote wrote:
 hello
 friends
 
 i want to modify expire page of wicket ,
 as it has some problem.
 our wepage ie window is divided into to two (2) frame , when then expire 
 page is display in bottom frame expire page is display there, here the 
 problem start, when i click the expire page link, our whole part is 
 display in bottom page
 
 regards
 ketan gote
 
 
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


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


Re: [Wicket-user] help urgent

2007-02-13 Thread Igor Vaynberg

of course if you clear out cookies while in the middle of a session you will
get a page expired page. this is because the container can no longer find
the session since the cookie is gone.

-igor


On 2/13/07, ketan gote [EMAIL PROTECTED] wrote:


hello
friends

there is problem in wicket example, ie farme example
when this example is run , and clear out cookies, the expire page comes
when i click on bottom page link.
Then click on expire page link and see the result.

--
Regards

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


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


Re: [Wicket-user] VOTE on wicket:component

2007-02-13 Thread Nino Wael
I've havent used this feature.. And currently see no use for it.

As long as one of the options are done, im happy:)

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Locke
Sent: 13. februar 2007 17:48
To: wicket-user@lists.sourceforge.net
Subject: [Wicket-user] VOTE on wicket:component



Our Wiki describes the wicket:component tag as follows:

wicket:component - Creates a Wicket component on the fly. Needs a class
attribute. Though this has been in wicket for a long time, it is still kind
of an unsupported feature, as most of the core developers believe that this
may lead to misuse of the framework. Before heavily relying on this feature,
you might want to contact the user list to discuss alternative strategies.

It's unclear to me that anyone is using this.  The utility is limited and
unimportant.  And for anyone creating tooling support for wicket, this will
be a tripping point.  I can't see any good reason to keep this feature as it
is a way to instantiate a component in the markup and might server as the
beginning of a bunch of requests to add component configuration or other
code logic where we should only have nice clean markup.

VOTE:

 [ ] Delete this unimportant and generally unsupported feature
 [ ] Keep wicket:component, but define its limits, document it on the wiki
as fully supported and commit to supporting it in the future



-- 
View this message in context: 
http://www.nabble.com/VOTE-on-wicket%3Acomponent-tf3221780.html#a8948008
Sent from the Wicket - User mailing list archive at Nabble.com.


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

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


Re: [Wicket-user] help urgent

2007-02-13 Thread Nino Wael
Yeah, Im guessing that the web container must have been forced to do the url 
rewrite from the start. How else should it be able to do such a thing...

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Vaynberg
Sent: 14. februar 2007 07:27
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] help urgent

 

of course if you clear out cookies while in the middle of a session you will 
get a page expired page. this is because the container can no longer find the 
session since the cookie is gone.

-igor



On 2/13/07, ketan gote [EMAIL PROTECTED] wrote:

hello 
friends

there is problem in wicket example, ie farme example
when this example is run , and clear out cookies, the expire page comes when i 
click on bottom page link. 
Then click on expire page link and see the result.

-- 
Regards

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

 

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


Re: [Wicket-user] Expire page problem in wicket example

2007-02-13 Thread Johan Compagner

do you use a pagemap for every frame?

johan


On 2/14/07, ketan gote [EMAIL PROTECTED] wrote:


hello
friends

there is problem in wicket example, ie farme example
when this example is run , and clear out cookies, the expire page comes
when i click on bottom page link.
Then click on expire page link and see the result.

--
Regards

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


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


Re: [Wicket-user] multiple rendering at same time

2007-02-13 Thread Johan Compagner

But what does that lock matter for you page if that page takes a long time?
You 'loose' the database connections for all other things anyway.
Or does that session have different windows and is displaying more then 1
page at the same time in tabs/frames or browser windows?

johan


On 2/13/07, Scott Lusebrink [EMAIL PROTECTED] wrote:


I've realized that wicket will only render one page at a time, at least it
will not run the constructor and onAttach methods of 2 pages at the same
time.  This is a major bottle neck on applications with large user bases.
My app is experiencing problems because database calls are being run in
these constructors and onAttach methods.  While there maybe a more
appropriate place for database calls to be run, and I'd like to hear where
these should be, running only 1 page constructor at a time doesn't seem to
be efficient.  I've found the code that does this. RequestCycle.874

processEventsAndRespond(){
// Use any synchronization lock provided by the target  874 Object 
lock = getRequestTarget().getLock(this);  875if (lock != null)  876 
 {  877  synchronized (lock)  878   
 {  879  doProcessEventsAndRespond(processor);  880 
 }  881  }



can someone explain if this behavior is intentional, is there a way to
stop it?  As a result of this behavior while a page is loading, no other
page will load until the first has finish.
I am  using wicket 1.2

Scott

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


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