Re: [Wicket-user] Sessionless Wicket?

2007-05-02 Thread M.A.Bednarz
Hello Jeremy,

try also to disable any versioning and use read only models. I have tuned my 
private wicket project this way and it now supports more than 20.000 concurrent 
sessions on a single tomcat server. If everything in your model is serializable 
you can also use tomcats disk or jdbc persistence store for sessions. There is 
also a terracotta project, so you can cluster your wicket (1.3) application 
lineary. My average memory usage with 20.000 sessions in memory and very 
complex page structures (multiple including page object levels) is about 300MB. 
I think this could serve even a large community site :-)

Maciej
  - Original Message - 
  From: Igor Vaynberg 
  To: [EMAIL PROTECTED] ; wicket-user@lists.sourceforge.net 
  Sent: Thursday, May 03, 2007 7:27 AM
  Subject: Re: [Wicket-user] Sessionless Wicket?


  detachable models are a must.

  in my experience a wicket page is only about 50kb on average. that would 
hardly cause an OOME on a server. 1.3 has second level session store that pages 
to disk, so that is something else you might want to try. 

  once you convert to detachable models oomes should go away.

  there is an example in wicket-examples on stateless stuff if you need to go 
that far.

  -igor




  On 5/2/07, Jeremy Thomerson <[EMAIL PROTECTED]> wrote:
I know that I read somewhere that there is, or is going to be, a way to run 
your wicket application without creating a session (until absolutely 
necessary).  We have a site that has mostly been converted to Wicket now, and 
almost all of it is state-less data  The URLs are all bookmarkable (98% of 
them are), so there is not much state to track.  We don't need a full object 
graph of all your pages and components, except for on very few pages once you 
have signed in.  

We're experiencing out of memory problems increasingly with an increase in 
traffic.  I'm not holding much in the session, but objects are held in pages 
and components I now believe we should have used detachable models for many 
things rather than directly holding a reference to a DB-backed object.  Should 
I start by going back and retrofitting many of those private references within 
components to use detachable models so that the objects are not held in memory? 

Any other suggestions?

Thank you!
Jeremy Thomerson
texashuntfish.com



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now. 
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list 
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user






--


  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/


--


  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] DBsessionstore ?

2007-04-23 Thread M.A.Bednarz
So Elco,

this sounds like wicket is more alive then ever before. I have
totally misunderstood one prior posting :-)))

Where can I find SecondLevelCacheSessionStore? Is this part of wicket 1.25 
oder 1.3?

Maciek


- Original Message - 
From: "Eelco Hillenius" <[EMAIL PROTECTED]>
To: "M.A.Bednarz" <[EMAIL PROTECTED]>; 

Sent: Monday, April 23, 2007 8:04 PM
Subject: Re: [Wicket-user] DBsessionstore ?


>> I would like to ask about custom implementations of wickets 
>> ISessionStore.
>> Are there
>> any implementations regarding to store SessionInformation to a database?
>> Maybe something
>> like an DBsessionstore ?
>
> Nope. But it should be doable. E.g. by using
> SecondLevelCacheSessionStore with a custom of IPageStore. Please keep
> up informed if you're trying to get this implemented.
>
>>I read that someone has worked on a Terracotta Session Store but
>> I can not find a source for this.
>
> For a bit. But it turned out not necessary. Default stores work fine
> with Terracotta.
>
>> Second question: Why is wicket 2.0 marked as discontinued within the svn?
>> Will there be a
>> 2.0 version in near future ??
>
> Read the various entries on that here http://www.martijndashorst.com/blog/
>
> Eelco 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Programmatically Apply CSS To Links?

2007-04-23 Thread M.A.Bednarz
Use:

private final static SimpleAttributeModifier customstyle =
 new SimpleAttributeModifier("class", "customstyle ");

and

link.add(customstyle);

Hope, this helps.

Maciek

- Original Message - 
From: "fattymelt" <[EMAIL PROTECTED]>
To: 
Sent: Monday, April 23, 2007 7:34 PM
Subject: [Wicket-user] Programmatically Apply CSS To Links?


>
> I am trying to create a reusable navigation that would "highlight" the
> current page in the navigation.
>
> Is there a way to set the "class" attribute of the link tag dynamically in
> Wicket? If not, does someone have a workaround? This seems like a pretty
> common thing one would want to be able to do.
>
> Thanks!
>
> -- 
> View this message in context: 
> http://www.nabble.com/Programmatically-Apply-CSS-To-Links--tf3633182.html#a10145188
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] DBsessionstore ?

2007-04-23 Thread M.A.Bednarz
Hi all,

I would like to ask about custom implementations of wickets ISessionStore. 
Are there
any implementations regarding to store SessionInformation to a database? 
Maybe something
like an DBsessionstore ? I read that someone has worked on a Terracotta 
Session Store but
I can not find a source for this.

Second question: Why is wicket 2.0 marked as discontinued within the svn? 
Will there be a
2.0 version in near future ??

Thank you,

Maciek 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Set different output for WebMarkupContainer

2007-04-23 Thread M.A.Bednarz
Perfect ! It works !

Here is my resulting code:

public class ErrorIndicator extends WebMarkupContainer {


FormComponent component;


private final static SimpleAttributeModifier errorIndicator = 

new SimpleAttributeModifier("class", "errorindicator");


public ErrorIndicator(String id, FormComponent component) {

super(id);

this.component = component;

this.setVersioned(false);

this.add(errorIndicator);

this.setRenderBodyOnly(true);

}


public boolean isVisible() {

return this.component.hasErrorMessage();

}


/**

* @see wicket.MarkupContainer#onComponentTagBody(wicket.markup.MarkupStream, 
wicket.markup.ComponentTag)

*/

@Override

protected void onComponentTagBody(MarkupStream markupStream, ComponentTag 
openTag) {

replaceComponentTagBody(markupStream, openTag, 
this.component.getFeedbackMessage().getMessage());

} 


}

Maciek 
  - Original Message - 
  From: Igor Vaynberg 
  To: M.A.Bednarz ; wicket-user@lists.sourceforge.net 
  Sent: Monday, April 23, 2007 7:27 PM
  Subject: Re: [Wicket-user] Set different output for WebMarkupContainer


  see label.java, mainly oncomponenttagbody()

  -igor


  On 4/23/07, M.A.Bednarz <[EMAIL PROTECTED] > wrote:
Hi all,

i think the question might be quite simple to answer but I do not have the 
time to investigate and search the api.
I have the following pice of code:

public class ErrorIndicator extends WebMarkupContainer {

FormComponent component;

private final static SimpleAttributeModifier errorIndicator = 
 new SimpleAttributeModifier("class", "errorindicator");

public ErrorIndicator(String id, FormComponent component) {
   super(id);
   this.component = component;
   add(errorIndicator); 
}

public boolean isVisible() {
   return this.component.hasErrorMessage();
}
}

Displayed by following html

 


My question is, how to replace the three dots runtime?

Thank you very much,

Maciek


-
This SF.net email is sponsored by DB2 Express 
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/ 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--


  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/


--


  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Set different output for WebMarkupContainer

2007-04-23 Thread M.A.Bednarz
Hi all,

i think the question might be quite simple to answer but I do not have the 
time to investigate and search the api.
I have the following pice of code:

public class ErrorIndicator extends WebMarkupContainer {

FormComponent component;

private final static SimpleAttributeModifier errorIndicator =
 new SimpleAttributeModifier("class", "errorindicator");

public ErrorIndicator(String id, FormComponent component) {
   super(id);
   this.component = component;
   add(errorIndicator);
}

public boolean isVisible() {
   return this.component.hasErrorMessage();
}
 }

Displayed by following html




My question is, how to replace the three dots runtime?

Thank you very much,

Maciek


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket performance

2007-04-19 Thread M.A.Bednarz
 and a direct link to a sample dso clustering config :

http://www.terracotta.org/confluence/display/wiki/Wicket

Maciek
  - Original Message - 
  From: Igor Vaynberg 
  To: wicket-user@lists.sourceforge.net 
  Sent: Thursday, April 19, 2007 7:39 PM
  Subject: Re: [Wicket-user] wicket performance


  or you can point it to

  
http://www.nabble.com/forum/Search.jtp?query=%28scale+OR+scales+OR+scaling+OR+scalability%29&local=y&forum=13974&daterange=0&startdate=&enddate=
 
  
http://www.nabble.com/forum/Search.jtp?query=%28performance+or+performs%29&local=y&forum=13974&daterange=0&startdate=&enddate=
 

  -igor



  On 4/19/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> May I suggest two things:
>
> 1. Fix link to the wicket-user archive at
> http://wicket.sourceforge.net/mail-lists.html
> Currently it leads to sourceforge and gives 
> "Error: no forum chosen"

I think it's on the list of things to do (JIRA).

> 2. Create a FAQ entry about performance with link maybe
> here:
> http://www.nabble.com/Performance-Scalability-tips-p5721658.html

Would you be so kind as to add such an entry? The WIKI[1] is open to
everyone to edit, an we appreciate it when users help us grow the
documentation. 

Eelco

[1] http://cwiki.apache.org/WICKET/faqs.html

-
This SF.net email is sponsored by DB2 Express 
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/ 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--


  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/


--


  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket performance

2007-04-19 Thread M.A.Bednarz
Hier eine nette Architekturskizze, die anwendbar wäre

http://photos1.blogger.com/x/blogger2/1415/4213/1600/329224/arch4.jpg


- Original Message - 
From: "M.A.Bednarz" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, April 19, 2007 7:47 PM
Subject: Re: [Wicket-user] wicket performance


> Why not user https://www.terracotta.org/ as DSO ? This scales lineary
> and doea its job fine with tomcat and wicket <.-))
>
> Maciek
>
> - Original Message - 
> From: "Alexey Maksimov" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, April 19, 2007 7:10 PM
> Subject: Re: [Wicket-user] wicket performance
>
>
>> On Thu, 19 Apr 2007 17:07:28 +0200
>> "ZedroS Schwart" <[EMAIL PROTECTED]> wrote:
>>
>>> I can attest that the mailing list is very supportive, so don't
>>> conclude too fast ;)
>> I see, I just was upset. Sorry about that.
>>
>>> Regarding your quest for information, I suggest you to browse/search
>>> the mailing archive, which can be found there:
>>> http://www.nabble.com/Wicket---User-f13976.html
>>>
>>> >From my experience it's very useful !
>>
>> Yep, it is.
>>
>> May I suggest two things:
>>
>> 1. Fix link to the wicket-user archive at
>> http://wicket.sourceforge.net/mail-lists.html
>> Currently it leads to sourceforge and gives
>> "Error: no forum chosen"
>>
>> 2. Create a FAQ entry about performance with link maybe
>> here:
>> http://www.nabble.com/Performance-Scalability-tips-p5721658.html
>>
>> Thanks,
>> Alexey.
>>
>>>
>>> Cheers,
>>> ZedroS
>>>
>>> On 4/19/07, Alexey Maksimov <[EMAIL PROTECTED]> wrote:
>>> > On Wed, 18 Apr 2007 09:48:18 -0700
>>> > "Igor Vaynberg" <[EMAIL PROTECTED]> wrote:
>>> >
>>> > > i thought you were making fun of us, and i quote " Maybe I missed
>>> > > option like 'wicket-speed = 2x'? ;-) "
>>> > I just meant option like development/deployment or maybe option for
>>> > experimental speedup or something like that.
>>> >
>>> > Ok, folks. I APOLOGIZE for that.
>>> >
>>> > > have you tried searching this list/wiki for "scalability"
>>> > > "performance" "concurrent sessions" before posting your message?
>>> >
>>> > I tried to search wiki (http://cwiki.apache.org/WICKET) for
>>> > 'wicket performance' and 'wicket scalablity' to almost no results.
>>> > The most hopeful link was 'newuserguide' but section about
>>> > scalability is empty there.
>>> >
>>> > > these topics have been discussed to no end and i am tired of
>>> > > regurgitating the same answers over and over and over and over
>>> > > again for newbies who do not bother to give us the courtesy of
>>> > > spending 15 minutes and doing research.
>>> >
>>> > If it's indeed frequently asked question,
>>> > then why not put a common answer to the FAQ page?
>>> >
>>> > I hope my apology will close that matter.
>>> > Best regards,
>>> > Alexey.
>>> >
>>> > -
>>> > This SF.net email is sponsored by DB2 Express
>>> > Download DB2 Express C - the FREE version of DB2 express and take
>>> > control of your XML. No limits. Just data. Click to get it now.
>>> > http://sourceforge.net/powerbar/db2/
>>> > ___
>>> > Wicket-user mailing list
>>> > Wicket-user@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>>> >
>>>
>>> -
>>> This SF.net email is sponsored by DB2 Express
>>> Download DB2 Express C - the FREE version of DB2 express and take
>>> control of your XML. No limits. Just data. Click to get it now.
>>> http://sourceforge.net/powerbar/db2/
>>> ___
>>> Wicket-user mailing list
>>> Wicket-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>> -
>> This SF.net email is sponsored by DB2 Express
>> Down

Re: [Wicket-user] wicket performance

2007-04-19 Thread M.A.Bednarz
Why not user https://www.terracotta.org/ as DSO ? This scales lineary
and doea its job fine with tomcat and wicket <.-))

Maciek

- Original Message - 
From: "Alexey Maksimov" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, April 19, 2007 7:10 PM
Subject: Re: [Wicket-user] wicket performance


> On Thu, 19 Apr 2007 17:07:28 +0200
> "ZedroS Schwart" <[EMAIL PROTECTED]> wrote:
>
>> I can attest that the mailing list is very supportive, so don't
>> conclude too fast ;)
> I see, I just was upset. Sorry about that.
>
>> Regarding your quest for information, I suggest you to browse/search
>> the mailing archive, which can be found there:
>> http://www.nabble.com/Wicket---User-f13976.html
>>
>> >From my experience it's very useful !
>
> Yep, it is.
>
> May I suggest two things:
>
> 1. Fix link to the wicket-user archive at
> http://wicket.sourceforge.net/mail-lists.html
> Currently it leads to sourceforge and gives
> "Error: no forum chosen"
>
> 2. Create a FAQ entry about performance with link maybe
> here:
> http://www.nabble.com/Performance-Scalability-tips-p5721658.html
>
> Thanks,
> Alexey.
>
>>
>> Cheers,
>> ZedroS
>>
>> On 4/19/07, Alexey Maksimov <[EMAIL PROTECTED]> wrote:
>> > On Wed, 18 Apr 2007 09:48:18 -0700
>> > "Igor Vaynberg" <[EMAIL PROTECTED]> wrote:
>> >
>> > > i thought you were making fun of us, and i quote " Maybe I missed
>> > > option like 'wicket-speed = 2x'? ;-) "
>> > I just meant option like development/deployment or maybe option for
>> > experimental speedup or something like that.
>> >
>> > Ok, folks. I APOLOGIZE for that.
>> >
>> > > have you tried searching this list/wiki for "scalability"
>> > > "performance" "concurrent sessions" before posting your message?
>> >
>> > I tried to search wiki (http://cwiki.apache.org/WICKET) for
>> > 'wicket performance' and 'wicket scalablity' to almost no results.
>> > The most hopeful link was 'newuserguide' but section about
>> > scalability is empty there.
>> >
>> > > these topics have been discussed to no end and i am tired of
>> > > regurgitating the same answers over and over and over and over
>> > > again for newbies who do not bother to give us the courtesy of
>> > > spending 15 minutes and doing research.
>> >
>> > If it's indeed frequently asked question,
>> > then why not put a common answer to the FAQ page?
>> >
>> > I hope my apology will close that matter.
>> > Best regards,
>> > Alexey.
>> >
>> > -
>> > This SF.net email is sponsored by DB2 Express
>> > Download DB2 Express C - the FREE version of DB2 express and take
>> > control of your XML. No limits. Just data. Click to get it now.
>> > http://sourceforge.net/powerbar/db2/
>> > ___
>> > Wicket-user mailing list
>> > Wicket-user@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >
>>
>> -
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> ___
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Where to download wicket 2.0 jar builds?

2007-03-26 Thread M.A.Bednarz
Hello PoJo friends !

Is there a public repository where I can download wicket 2.0 jar instead of 
source code? I would like to switch at this point my community portal to the 
2.0 branch :-)

Maciek 


-
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.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Why are ResourceReference to DefaultButtonImageResources stored in Pagemaps?

2007-01-09 Thread M.A.Bednarz
Igor,

thank you very much. I forgot to measure the session and have also 
collected the byte size of the pagemap :-)

Thanks,

Maciej

Igor Vaynberg schrieb:
> are you sure the image data is stored in the session?
> 
> we have RenderedDynamicImageResource<-DefaultButtonImageResource
> 
> in RenderedDynamicImageResource we have
> 
> private transient SoftReference imageData;
> 
> so the field is transient and on top of that is a softreference. so 
> first of it shouldnt make it into httpsession, and second it should be 
> gced when memory runs short. are you observing this memory usage through 
> a profiler? try to force gc and see if the memory drops.
> 
> another way to optimize it is to do this:
> ResourceReference reference = new ResourceReference(resourceKey) {
>protected newResource() {
>  return new DefaultButtonImageResource(text);
>}
> }
> 
> Image image = Image(name, reference);
> 
> that way you are lazily creating resources
> 
> and if you want to optimize even further you can create a wrapper around 
> the default button resource and register it as a shared resource. this 
> wrapper would read the text off the url and pass it on to the default 
> button resource. this way you dont even need to use Image, a much 
> simpler custom class will do since all it has to do is set the src attr 
> to the proper url.
> 
> -igor
> 
> 
> 
> 
> 
> On 1/8/07, [EMAIL PROTECTED] * < 
> [EMAIL PROTECTED] > wrote:
> 
> Hi All!
> 
> I have noticed that ResourceReferences to
> DefaultButtonImageResources are stored inside a pagemap and this is
> stored in users sessions. Is this the usual behaviour of wicket or
> can I tune it? My current session size depends mostly on size of all
> used Images which are factoried as ResourceReferences.
> 
> My code flow looks like this:
> 
> DefaultButtonImageResource button = new
> DefaultButtonImageResource(text);
> ResourceReference reference = new ResourceReference(resourceKey,
> button);
> Image image = Image(name, reference);
> 
> and now some code from my page class:
> 
> private List activeButtons = new LinkedList();
> activeButtons.add(image):
> 
> Why is it necessary to store the whole image within the pagemap? May
> be I am doing someting wrong, do I?
> 
> Thank you very much for any help.
> 
> I have currently running my application succesfully on glassfish.
> Everything is great, the final prblem is only the size of pagemaps
> which mostly consist of image data.
> 
> Maciej
> 
> 
> ___
> Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
> Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=02
> 
> 
> -
> 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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user