Re: Wicket 1.5 migration: AbstractCrypt#decryptByteArray(..) throws IllegalBlockSizeException

2012-11-11 Thread Johan Compagner
what is the salt that you use? because we use the session specific key, but that can also already be used like that in 1.4 is it maybe a different default so that you now use a session key as salt? does the database have enough room voor the encrypted? is it not truncated? Op 11 nov. 2012 17:04

Re: Wicket Examples

2012-05-08 Thread Johan Compagner
Permspace is tricky Do we have a nice management console on that server? Because it looks like to little class/perm space mem us configured or we leak classes when un deploying On May 8, 2012 11:59 AM, Martin Grigorov mgrigo...@apache.org wrote: I can see it now ... Maybe it is because I

Re: What real life scenario calls for page ID?

2012-03-22 Thread Johan Compagner
No this is bad, i agree with Igor, the latest page should be refreshed, not reset! By the way, the hybrid in 1.4 what we are using does look at the mount if the page doesn't exists any more. And we depend on that, am i reading it right that we lost that in 1.5? On Mar 22, 2012 11:12 PM,

Re: Is it possible to turn off page serialization in 1.5?

2011-10-05 Thread Johan Compagner
But that kills the complete back button support right? Do pages increment their version then? On Wed, Oct 5, 2011 at 13:47, Martin Grigorov mgrigo...@apache.org wrote: On Wed, Oct 5, 2011 at 2:40 PM, Chris Colman chr...@stepaheadsoftware.com wrote: Our domain model has about 335 persistent

Re: Is it possible to turn off page serialization in 1.5?

2011-10-05 Thread Johan Compagner
On Wed, Oct 5, 2011 at 15:21, Martin Grigorov mgrigo...@apache.org wrote: yes. each new page gets its id during construction from the session counter. if Page#isVersioned() returns 'false' then it will not create new versions of that page i see that giving a custom IPageManager is also already

Re: Is it possible to turn off page serialization in 1.5?

2011-10-05 Thread Johan Compagner
...@apache.org wrote: On Wed, Oct 5, 2011 at 4:33 PM, Johan Compagner jcompag...@gmail.com wrote: On Wed, Oct 5, 2011 at 15:21, Martin Grigorov mgrigo...@apache.org wrote: yes. each new page gets its id during construction from the session counter. if Page#isVersioned() returns 'false

Re: Getting Redirected To A Resource Reference (Image, CSS) On Invalid URL

2011-07-08 Thread Johan Compagner
Isn't this just an encrypted url request to an session that is already expired? On Jul 7, 2011 4:06 PM, Horacio Natyural horacio.natyu...@gmail.com wrote: Hi, anyone ever encountered this kind of error? i'm getting another page whenever I get this error. It's very intermettent and I'm not

Re: Wicket Encrypted URL Redirects To A Css Image

2011-07-08 Thread Johan Compagner
yes that is the trick, all the urls that are generated before that can't be used anymore because encrypted urls are session based. On Fri, Jul 8, 2011 at 09:46, Horacio Natyural horacio.natyu...@gmail.com wrote: Hi, i've noticed that it seems to happen after login. I've used the

Re: wicketstuff site down

2011-07-07 Thread Johan Compagner
power failure at the ISP, not everything came up, should be fine now On Thu, Jul 7, 2011 at 02:37, Steve Swinsburg steve.swinsb...@gmail.com wrote: Hi all, The wicketstuff site is down http://wicketstuff.org/wicket/ Safari can’t open the page “http://wicketstuff.org/wicket/” because Safari

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-02-16 Thread Johan Compagner
but if you have it down to 200K then 50 users it is nothing... thats 10MB on memory If if both where 2X so 400K and 100 users thats still only 40MB in memory Thats for a server nothing.. On Wed, Feb 16, 2011 at 02:10, Per p...@hamburg.de wrote: So I still haven't solved my memory

Re: Page content sends twice in response to GET when redirecting after POST

2011-01-11 Thread Johan Compagner
works fine for me to 2011/1/10 Igor Vaynberg igor.vaynb...@gmail.com: really strange because it doesnt happen to me: http://pastebin.com/fe1pjZjy -igor 2011/1/9 Marcin Zajączkowski msz...@wp.pl: On 2011-01-09 22:00, Marcin Zajączkowski wrote: Hi, Following some problems with page

Re: Free wicket from component hierarchy hell

2010-11-09 Thread Johan Compagner
Why are we discussing here already that works in wicket 1.4 if you really need it? public class HelloWorld extends WebPage implements IComponentResolver { public HelloWorld() { add(new WebMarkupContainer(body)); add(new Label(label,my label));

Re: Free wicket from component hierarchy hell

2010-11-09 Thread Johan Compagner
: This does not really nest the components logically, does it? If you set get(body).setVisible(false) will the label remain visible? ** Martin 2010/11/9 Johan Compagner jcompag...@gmail.com: Why are we discussing here already that works in wicket 1.4 if you really need it? public class

Re: Free wicket from component hierarchy hell

2010-11-09 Thread Johan Compagner
...@koodaripalvelut.com wrote: How will it work if I call get(body).setEnabled(false); and if label was a textfield? Would the textfield be still enabled? ** Martin 2010/11/9 Johan Compagner jcompag...@gmail.com: no ofcourse not The label will then be gone because the body is gone. so

Re: Free wicket from component hierarchy hell

2010-11-09 Thread Johan Compagner
, Johan Compagner jcompag...@gmail.com wrote: textfield.isEnabledInHierachy() will then ofcourse not get to the parent it is on. because its parent is the webpage not the body markupcontainer. So no this will not resolver from the child to the parent, only the parent to the child. On Tue, Nov 9

Re: Free wicket from component hierarchy hell

2010-11-09 Thread Johan Compagner
for a lot of usecases that require proper hierarchy. like a form trying to find form submitting component, etc -igor On Tue, Nov 9, 2010 at 10:59 AM, Johan Compagner jcompag...@gmail.com wrote: ok a sample that it also works in with the right parent: public class HelloWorld extends WebPage

Re: Requests that lasts more than 1 minute

2010-09-25 Thread Johan Compagner
Any other page can't be true, access to that page is not possible, but other pages in other pagemaps should be accessable just fine that time out can be configured see irequestcyclesetttings - Original message - I have an upload form where users can upload very large files. Upload can

Re: Requests that lasts more than 1 minute

2010-09-25 Thread Johan Compagner
solution so that the user can continue with using site normally while waiting for upload to finish? It looks like performing upload in a separete pagemap could solve the problem. Is it possible to implement that? 2010/9/25 Johan Compagner jcompag...@gmail.com Any other page can't be true

Re: Stateless Login Form possible?

2010-08-20 Thread Johan Compagner
an image button can be stateless: protected boolean getStatelessHint() { return getImageResource() == null localizedImageResource.isStateless(); } but that must be true. On Fri, Aug 20, 2010 at 13:19, b...@actrix.gen.nz wrote: Hi, I had a stateless

Re: Wicket 1.5-M1 migration experiences

2010-08-12 Thread Johan Compagner
If NamedParameter is something like; /show?id=10test=11 IndexedParameter is not something like: /show/id/10/test/11 thats still named, just differently outputed, but show/10/11 indexed then the name is presumed (its 1 ,2 ,3 ,...) johan 2010/8/12 Major Péter majorpe...@sch.bme.hu: Hi,

Re: SerializableChecker$WicketNotSerializableException: how to simulate

2010-08-11 Thread Johan Compagner
doesnt the message of that exception tell you which object class is the problem? On Wed, Aug 11, 2010 at 09:24, Thomas Singer wic...@regnis.de wrote: Hi, In our server logs we have a couple of WicketNotSerializableException logged, but we don't know when they occur. How we can create them

Re: SerializableChecker$WicketNotSerializableException: how to simulate

2010-08-11 Thread Johan Compagner
On 11.08.2010 09:27, Johan Compagner wrote: doesnt the message of that exception tell you which object class is the problem? On Wed, Aug 11, 2010 at 09:24, Thomas Singer wic...@regnis.de wrote: Hi, In our server logs we have a couple of WicketNotSerializableException logged, but we don't know when

Re: SerializableChecker$WicketNotSerializableException: how to simulate

2010-08-11 Thread Johan Compagner
: Unfortunately, this does not answer my question. Tom On 11.08.2010 09:57, Johan Compagner wrote: then you just have to check where those classes are used and where they could be stored in a wicket component/model and make sure you detach that object . Wicket tells you the field hierarchy

Re: SerializableChecker$WicketNotSerializableException: how to simulate

2010-08-11 Thread Johan Compagner
to know how I can generate this exception in my development environment. It is nasty to test on the production system. Tom On 11.08.2010 10:53, Johan Compagner wrote: why not? if you know which page it was and which component/model that holds that none serializable class then you just have

Re: SerializableChecker$WicketNotSerializableException: how to simulate

2010-08-11 Thread Johan Compagner
, 2010 at 13:56, Thomas Singer wic...@regnis.de wrote: When exactly the serialization happens? When viewing a page? Tom On 11.08.2010 13:25, Johan Compagner wrote: the only way to do this is as i described look where the exception really comes from and go to that same page in your developer

Re: Could somebody please comment on WICKET-2889?

2010-08-09 Thread Johan Compagner
I am against that patch. You keep pagemaps in memory in the applicaiton context! Those are session stuff stored in the HttpSession. You shouldnt keep reference to those stuff. This can break all kind of things (for example clustering) If you want something like that, then it is fine if we need to

Re: Error Hypothesis...

2010-08-02 Thread Johan Compagner
yes that is most likely the case. On Mon, Aug 2, 2010 at 16:17, James Carman ja...@carmanconsulting.com wrote: I have a theory about what is causing this issue.  Just wanted to run it by you guys.  In my log files, I first see this:

Re: Error Hypothesis...

2010-08-02 Thread Johan Compagner
error screen when they do that. On Mon, Aug 2, 2010 at 10:27 AM, Johan Compagner jcompag...@gmail.comwrote: yes that is most likely the case. On Mon, Aug 2, 2010 at 16:17, James Carman ja...@carmanconsulting.com wrote: I have a theory about what is causing this issue.  Just wanted to run

Re: IVisitorT extends Component and IFormModelUpdateListener not extending Component

2010-07-28 Thread Johan Compagner
is that you then have less type checking there. Because that would make IVisitor completely generic On Wed, Jul 28, 2010 at 15:27, Joseph Pachod j...@thomas-daily.de wrote: Johan Compagner wrote: you can use:        public final S extends Component Object visitChildren(final Class? clazz

Re: IVisitorT extends Component and IFormModelUpdateListener not extending Component

2010-07-26 Thread Johan Compagner
you can use: public final S extends Component Object visitChildren(final Class? clazz, final IVisitorS visitor) then you have to cast yes, but you can cast safely. johan On Mon, Jul 26, 2010 at 11:09, Joseph Pachod j...@thomas-daily.de wrote: hello I wanted to do

Re: OutOfMemoryError PermGen Space...

2010-07-23 Thread Johan Compagner
i think the problem with those memory analyzers that they give you the heap Not the non heap, which is currently the problem.. If really constantly classes are leaked without that you constantly redeploy web applications (because that would be a leak somewhere in wicket or the app itself) but the

Re: TextFieldInteger

2010-07-23 Thread Johan Compagner
impossible there is so such thing as ParameterizedType for the example you give.. if you do: TextFieldInteger field = new TextFieldInteger(); then at runtime that information isnt there anymore. Its gone. welcome to type erasure.. I think stuff like that is only there if you do: class

Re: OutOfMemoryError PermGen Space...

2010-07-23 Thread Johan Compagner
as far as i see now if i look that the stacktrace: java.io.ObjectStreamClass.init(ObjectStreamClass.java:413) java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310 so ObjectSTreamClass.lookup call there the constructor of ObjectStreamClass lookup does check for caches but those are

Re: OutOfMemoryError PermGen Space...

2010-07-23 Thread Johan Compagner
engine warning: target VM cannot load class to instrument sun.reflect.GeneratedConstructorAccessor1 *** probably it has been unloaded recently Sounds like we're on the right track, perhaps? On Fri, Jul 23, 2010 at 7:54 AM, Johan Compagner jcompag...@gmail.com wrote: as far as i see now if i

Re: OutOfMemoryError PermGen Space...

2010-07-23 Thread Johan Compagner
*** probably it has been unloaded recently On Fri, Jul 23, 2010 at 8:40 AM, James Carman ja...@carmanconsulting.com wrote: On Fri, Jul 23, 2010 at 8:37 AM, Johan Compagner jcompag...@gmail.com wrote: the only thing i dont get is that for you the forSerialization flag should be true (at least

Re: OutOfMemoryError PermGen Space...

2010-07-22 Thread Johan Compagner
what kind of classes are serialized constantly? are those proxies or other generated onces? Somehow it has something to do with getting the default constructor of the first none serializable class And i think your first class in the hierarchy that is found that doenst implement Serializable

Re: new feature in trunk and branch: Component#onConfigure()

2010-07-21 Thread Johan Compagner
can we now deprecate protected boolean callOnBeforeRenderIfNotVisible() ?? because you could do it now in onConfigure right? I hate multiply things do do the same thing :( On Wed, Jul 21, 2010 at 07:05, Igor Vaynberg igor.vaynb...@gmail.com wrote:  protected boolean

Re: wicketstuff down

2010-07-20 Thread Johan Compagner
works fine for me (except that Confluence is taken down i think on purpose) 2010/7/20 Vytautas Čivilis cvl...@gmail.com: Hi. As you might already noticed, http://wicketstuff.org is down. Anyone have any ideas? V - To

Re: Welcome Martin Grigorov as a core team member

2010-07-20 Thread Johan Compagner
welcome! hope you happily merge even more stuff ;) johan On Tue, Jul 20, 2010 at 13:21, Martin Grigorov martin.grigo...@gmail.com wrote: Thanks a lot for the voted trust in me, team! As a big open source believer it is an honour for me to be a part of the team that made such a great

Re: tomcat restart error

2010-06-25 Thread Johan Compagner
Is that tomcat 7?? But t seems that we dont clean up our page saving thread. That sounds like a leak to me. Application.shutdown or something should clean up that - Original message - Anybody seen this before? SEVERE: Error filterStart Jun 24, 2010 3:24:06 PM

Re: gmail like file upload

2010-06-11 Thread Johan Compagner
Gmail is by the way not ajax but a flash application. There is an opensource flash app i think on sourceforge that does pretty much the same as gmail. - Original message - I want to have gmail like file upload  in my application ,  I want to have ajax  multi file upload  ,

Re: SEVERE:Pagemap null is still locked by: Thread

2010-05-19 Thread Johan Compagner
of RequestCycle. This is what normally leads to this problem On Fri, May 7, 2010 at 9:57 PM, Ayodeji Aladejebi aladej...@gmail.com wrote: version 1.4.6 on windows vista running on tomcat 6.0.26 On Wed, May 5, 2010 at 5:43 PM, Johan Compagner jcompag...@gmail.com wrote: hmm looking

Re: SEVERE:Pagemap null is still locked by: Thread

2010-05-05 Thread Johan Compagner
hmm looking at the stack of the of that thread that has the lock on the page map then it seems to me that that shouldnt happen, because that thread is doing nothing anymore if the stack dump of that thread is really the right one. Because that just seems to be in a waiting state in a tomcat pool

Re: 2nd try: stateless AJAX behaviors in stateful page without its serialization

2010-04-20 Thread Johan Compagner
not serialize the page, because these requests don't change the page and they are called continuously by design. I can extend WebRequestCycleProcessor and override resolve() method, but I cannot avoid searching page by calling Session.getPage(). M. On 19.4.2010 10:37, Johan Compagner wrote

Re: 2nd try: stateless AJAX behaviors in stateful page without its serialization

2010-04-19 Thread Johan Compagner
so for that ajax request you do want to create a new page every time the ajax request hits? 2010/4/19 Martin Schayna martin.scha...@abra.eu I have pretty stateful page with plenty of AJAX components. Most of these components have behaviors, which renders JavaScript code for calling AJAX

Re: JavaOne in San Francisco

2010-04-09 Thread Johan Compagner
And i to the N900.. I want freedom, dont want to be controlled by fruit On Fri, Apr 9, 2010 at 17:12, Igor Vaynberg igor.vaynb...@gmail.com wrote: but i just switched to htc hero :| -igor On Fri, Apr 9, 2010 at 7:10 AM, James Carman jcar...@carmanconsulting.com wrote: There's an app for

Re: IE6 issue regarding Wicket JS and Ajax

2010-04-09 Thread Johan Compagner
its a browser from August 27, 2001 ... thats 9 years ago.. So who is using opera 6 ? Or Netscape 7? Or Safari 1.0 ? Just dont support it anymore, drop it then the usage will also drop Its a chicken and egg problem! if we keep supporting it it will drag on! Force them to upgrade In our product,

Re: What happens after browser's 'back' button?

2010-04-08 Thread Johan Compagner
yes we didnt do that by default because it is quite annoying behavior Back button should be quick and shouldnt load it from the server again at least not by default. You can configure it for you application the way you like. But for many others back should really be browser cache back. On Wed,

Re: Ajax has too much control?

2010-03-21 Thread Johan Compagner
Do you add the state ddc to the ajax target when you get a ajax country event? - Original message - Sven, Thanks for your input. It seems that you do not understand the problem I have (Wicket problem??? or my page problem???). I know how Ajax works by adding components to Ajax

Re: StackOverflowError under serialization leaves pagemap locked

2010-03-18 Thread Johan Compagner
but still see that the pagemap is locked when the stack overflows. Do you know if the fix to WICKET-2075 is in 1.4.7? Thanks Nigel Johan Compagner wrote: i fixed 2075 so that it should always unlock the pages. Problem is that you still could get weird errors because that page

Re: StackOverflowError under serialization leaves pagemap locked

2010-03-17 Thread Johan Compagner
i fixed 2075 so that it should always unlock the pages. Problem is that you still could get weird errors because that page is not in a valid state in the session. So if back buttons/page versions are used it could be that that doesnt work So what should be fixed is the original problem On

Re: Strange classloader issues

2010-02-02 Thread Johan Compagner
look at your html code because somehow you get those kind of urls org.apache.wicket.ajax.WicketAjax%3C/div%3E%3Cdiv%20class= back to wicket and that seems very weird. it seems that that is a piece of html with those div and class stuff. It could also be that this is done by some header

Re: setRequired( false ) does not work on Integer textfield?

2010-01-27 Thread Johan Compagner
an int (primitive) is always required. We have to set it to something. cant be null if you want to be able to not require it (so null) make it an Integer not int On Wed, Jan 27, 2010 at 16:48, Thierry Leveque tleve...@gmail.com wrote: Here's what I have in my code: TextFieldInteger

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-08 Thread Johan Compagner
no just the opposite bookmarkable url will create a new page (which can be state full or stateless) On Fri, Jan 8, 2010 at 14:09, Loritsch, Berin C. berin.lorit...@gd-ais.comwrote: It's bookmarked pages that avoid new page creation isn't it? -Original Message- From: Matej Knopp

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Johan Compagner
if you constantly target exactly that url then that will be a new page everytime because thats just a bookmarkable url. not an instance url. On Thu, Jan 7, 2010 at 12:52, manuelbarzi manuelba...@gmail.com wrote: the url is this: http://localhost:9090/test/

Re: Wicket feedback

2009-12-24 Thread Johan Compagner
So you just want to throw all the components of a page or panel (the one with markup) in 1 big place. then all those have to be uniquely named ofcourse. Throughout the complete page. Repeaters will then be a bit special i guess. Because they are generation ListItem components for you that then

Re: Wicket feedback

2009-12-23 Thread Johan Compagner
On Wed, Dec 23, 2009 at 07:32, Sudhir N sudhir_nima...@yahoo.com wrote: One more thing I am still looking for is, integrating GWT. I did that before with other framework. i asked this question more How do you see this integration? What should be integrated. What should wicket do? What

Re: Basic concept of Wicket

2009-12-17 Thread Johan Compagner
public class HomePage extends WebPage { private Long value = 0L; public HomePage(final PageParameters parameters) { Model m = new ModelSerializable() { private static final long serialVersionUID = 1L; // It doesn't

Re: (seemingly) session-related performance issue

2009-12-16 Thread Johan Compagner
can you try 1.4.3? On Wed, Dec 16, 2009 at 11:07, Kurt Heston khes...@hestonsystems.comwrote: Tonight, I moved from v1.3.5 to v1.4.4. I'm up and running after changing all of my getModel statements, but an old performance problem has shown up again. Back when I moved to 1.3.x, pages

Re: (seemingly) session-related performance issue

2009-12-16 Thread Johan Compagner
in trunk of 1.4 this should also be fixed. so if you can use a snapshot of it that should work also On Wed, Dec 16, 2009 at 18:07, Kurt Heston khes...@hestonsystems.comwrote: Johan Marat, thank you! Downgrading to 1.4.3 cured it. If I see the problem again, I'll check the forums and Jira

Re: close a ModalWindow when session expired

2009-12-15 Thread Johan Compagner
to have a close button that do the same as the cross image, but I'm not able to find which javascript code is executed on this cross image. Regards Bernard Johan Compagner wrote: it could be that if you do that then in normal use the serverside doesnt know that the modal window isnt shown

Re: Parameterized Component

2009-12-15 Thread Johan Compagner
why not it kills a lot of code. On Mon, Dec 14, 2009 at 17:45, Martin Makundi martin.maku...@koodaripalvelut.com wrote: I wouldn't use CPM for anything serious anyways... my 2cents ** Martin 2009/12/14 Xavier López xavil...@gmail.com: Hi, In my application I have a number of

Re: Modal Window Problems On Internet Explorer.

2009-12-15 Thread Johan Compagner
Modal windows are working find for me on IE8 http://wicketstuff.org/wicket14/ajax/modal-window are you saying that above example doesnt work? On Mon, Dec 14, 2009 at 01:41, victorTrapiello vic...@trapiello.net wrote: Hello guyss, I find it anoying as well I´m developing a web app and now I

Re: Parameterized Component

2009-12-15 Thread Johan Compagner
, if it works for you, use it. my 2cents ** Martin 2009/12/15 Johan Compagner jcompag...@gmail.com: why not it kills a lot of code. On Mon, Dec 14, 2009 at 17:45, Martin Makundi martin.maku...@koodaripalvelut.com wrote: I wouldn't use CPM for anything serious anyways... my 2cents

Re: Parameterized Component

2009-12-15 Thread Johan Compagner
http://wicketinaction.com/2009/11/removing-fragile-string-expressions-from-wicket-code/ On Tue, Dec 15, 2009 at 16:52, Juan Carlos Garcia M. jcgarc...@gmail.comwrote: Johan, Can you elaborate more on that please? What is this new solution? Johan Compagner wrote: so you where talking

Re: Model object properties go null after RestartResponseAtInterceptPageException.

2009-12-15 Thread Johan Compagner
isnt your page not just a brand new shiny new instance? place a breakpoint in your constructor On 14/12/2009, Warren Bell warr...@clarksnutrition.com wrote: Does Any body have any ideas, I am stuck and can't figure this out. I have a page with about 10 text fields. The model for the page is a

Re: Modal Window Problems On Internet Explorer.

2009-12-15 Thread Johan Compagner
in Mozilla! maybe I do not have the last Wicket release, what do you think¿? Thanks for the reply Johan Johan Compagner wrote: Modal windows are working find for me on IE8 http://wicketstuff.org/wicket14/ajax/modal-window are you saying that above example doesnt work

Re: Limiting PageStore size

2009-12-11 Thread Johan Compagner
did wicket 2.0 had a tardis?? i am checking svn right now for those lost diamonds! On 11/12/2009, Igor Vaynberg igor.vaynb...@gmail.com wrote: maybe wicket 2.0 will come with a TardisPageStore :) -igor On Fri, Dec 11, 2009 at 8:56 AM, Neil Curzon neil.cur...@gmail.com wrote: You are right,

Re: wicketstuff.org Confluence error

2009-12-09 Thread Johan Compagner
somehow the disks where full again i deleted as much logging as i can and some old stuff so we should be able to go on Biggest problem is as always but nobody seems to be able to fix that shitty maven: http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.5-SNAPSHOT/ It still

Re: wicketstuff.org Confluence error

2009-12-09 Thread Johan Compagner
/openlayers/1.4-SNAPSHOT/ Heres something on the topic.. http://jlorenzen.blogspot.com/2007/09/how-to-effectively-use-snapshot.html I might be able to look at it tomorrow.. 2009/12/9 Johan Compagner jcompag...@gmail.com somehow the disks where full again i deleted

Re: close a ModalWindow when session expired

2009-12-04 Thread Johan Compagner
it could be that if you do that then in normal use the serverside doesnt know that the modal window isnt shown anymore. So i guess you should also try to let the server know. On Fri, Dec 4, 2009 at 10:16, Bernard Lupin beal6...@yahoo.fr wrote: Hi again, After a lot of various tries, I finally

Re: file descriptor leak

2009-12-03 Thread Johan Compagner
We try to do our best, but the problem is that this is a leak internal to java itself (classloader and urlconnection) http://tomcat.apache.org/tomcat-5.5-doc/config/context.html play with antiJarLocking and antiResouceLocking attributes. johan On Thu, Dec 3, 2009 at 09:41, Pascal Grange

Re: file descriptor leak

2009-12-03 Thread Johan Compagner
/users@wicket.apache.org/msg43879.html Maarten On Thu, Dec 3, 2009 at 9:46 AM, Johan Compagner jcompag...@gmail.com wrote: We try to do our best, but the problem is that this is a leak internal to java itself (classloader and urlconnection) http://tomcat.apache.org/tomcat-5.5-doc/config

Re: file descriptor leak

2009-12-03 Thread Johan Compagner
*always* recalculates lastModified. And lastModified() calls urlConnection.getInputstream().close(); Best Regards, Ilja Pavkovic Am Donnerstag, 3. Dezember 2009 11:40:04 schrieb Johan Compagner: ahh i did knew that there was already code for that in place but thats only

Re: Asynchronous construction of page

2009-11-28 Thread Johan Compagner
load that data in separate threads, dont touch any wicket components in those threads make a component like ajaxlazyload that polls for that data if still not there use a timer of a few seconds to test it again On 28/11/2009, Kaspar Fischer kaspar.fisc...@dreizak.com wrote: Because the requests

Re: TabbedPanel no IModel?

2009-11-27 Thread Johan Compagner
yes that component isnt nicely written, the tabs field should be a model (make a jira entry for this) but from the outside you can use: public final ListITab getTabs() { return tabs; } to add or remove tabs. That is the same list as you give the constructor So you could

Re: PropertyModels *without* strings

2009-11-26 Thread Johan Compagner
the pro's of this compared to the SafeProperty is that the safe property needs to generate proxies at runtime so you need CGLIB and you could have issues with final classes this is more a develop environment solution which is because of that a bit nicer. On Thu, Nov 26, 2009 at 10:53, Maarten

Re: PropertyModels *without* strings

2009-11-26 Thread Johan Compagner
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/api/org/eclipse/ltk/core/refactoring/participants/package-summary.html On Thu, Nov 26, 2009 at 13:52, James Carman jcar...@carmanconsulting.comwrote: Refactoring could definitely be supported in IDEA. With

Re: wicketstuff.org down?

2009-11-08 Thread Johan Compagner
193.46.80.204 On Sun, Nov 8, 2009 at 10:46, Ilja Pavkovic ilja.pavko...@binaere-bauten.de wrote: Dear Martijn, THE server had been moves to another ip. I havent had time to update dns perhaps you can tell us the ip so I am able to use the maven repository while the dns update is not yet

Re: Wicket-stuff site down?

2009-10-27 Thread Johan Compagner
i already did that its up again but it was AGAIN disk full problems and that is because of that STUPID maven that generates unique snapshots Who is the maven expert here that will FIX that problems on all our pom files? i have been deleting stuff now for at least 1 hour! johan On Tue, Oct 27,

Re: Wicket-stuff site down?

2009-10-27 Thread Johan Compagner
the projects which are not in wicketstuff-core. El mar, 27-10-2009 a las 10:41 +0100, Johan Compagner escribió: i already did that its up again but it was AGAIN disk full problems and that is because of that STUPID maven that generates unique snapshots Who is the maven expert here

Re: OT: wicket running in Tomcat got a java.lang.NoClassDefFoundError: javax/servlet/ServletRequest

2009-10-12 Thread Johan Compagner
looks to me like a screwed up tomcat install somehow. On Mon, Oct 12, 2009 at 10:10, Fernando Wermus fernando.wer...@gmail.comwrote: Does anyone face this exception under Tomcat? The servelet-api.jar is in usr/share/tomcat5.5/lib/commons javax.servlet.ServletException: Filter execution threw

Re: iPhone webapp support?

2009-10-06 Thread Johan Compagner
no i did build something special in wicket so that it will never work on those iphones. Stop buying those fully controlled by apple phones.. Think for your self ! Freedom Freedom! johan :) On Tue, Oct 6, 2009 at 13:00, Edmund Urbani e...@liland.org wrote: Hi all, I was wondering whether

Re: iPhone webapp support?

2009-10-06 Thread Johan Compagner
Its almost getting replaced! http://maemo.nokia.com/n900/ pure power! Full control! Multi tasking! On Tue, Oct 6, 2009 at 17:48, Matej Knopp matej.kn...@gmail.com wrote: On Tue, Oct 6, 2009 at 5:32 PM, Johan Compagner jcompag...@gmail.com wrote: no i did build something special in wicket

Re: iPhone webapp support?

2009-10-06 Thread Johan Compagner
needs to check out this picture of Johan with his phone - it will clear things up: http://tinyurl.com/myz5dq -- Jeremy Thomerson http://www.wickettraining.com On Tue, Oct 6, 2009 at 10:48 AM, Matej Knopp matej.kn...@gmail.com wrote: On Tue, Oct 6, 2009 at 5:32 PM, Johan Compagner

Re: this.getForm().getModelObject() returns the model of another form page

2009-09-21 Thread Johan Compagner
i dont see how that can happen if i look at your code. is RequestMessageForm .this != this.getForm() ?? do you nest forms? johan On Mon, Sep 21, 2009 at 11:38, Charles Moulliard cmoulli...@gmail.comwrote: I have created a form class which is used by a class extending webpage. When I call

Re: Serializing page state into URL instead of session?

2009-09-17 Thread Johan Compagner
we tried that already but dismissed it wicket has no support for this and for these kind of things to work everything must be come a post you cant use any normal links. also you are trading in memory for cpu speed and bandwidth which is in my eyes more expensive then memory or hd space Page

Re: HttpSessionStore instead of the default SecondLevelCacheSessionStore

2009-09-15 Thread Johan Compagner
And that back and forward buttons in the browser dont really work well in the HttpSessionStore But i cant believe that the overhead he is reporting is really the overhead.. It could be an Antivirus checker or other stuff like that. Besides that if that would be a problem just get an SSD and

Re: RequestCycle().urlFor not work

2009-09-12 Thread Johan Compagner
Which version of wicket do you use? Why do you need absoluut urls? On 11/09/2009, Dima Rzhevskiy d...@rzhevskiy.info wrote: Sorry, yes, urlFor return correct result. toAbsolutePath(final String relativePagePath) do not return result what I expected. javadoc copy/pasted from

Re: Page redirect after POST

2009-08-28 Thread Johan Compagner
one question. why do you want that? On Fri, Aug 28, 2009 at 06:01, b...@actrix.gen.nz wrote: Hi, With forms on Wicket pages, it appears that on submit which is HTTP POST, Wicket redirects to the same page (the page from where the data was sent) ad this is how we show feedback on the form

Re: Ajax and Form#setMultiPart(true)

2009-08-23 Thread Johan Compagner
Pleae try to find out why it broke in 1.4.1 and make a case for this in jira On 23/08/2009, Major Péter majorpe...@sch.bme.hu wrote: Marcin, That's it, thanks!! I would never had thought about downgrading to 1.4.0. After changing one character in pom.xml, it works... Thanks again.

Re: Firefox, be afraid be very afraid!!!

2009-08-05 Thread Johan Compagner
wicket can also do that for you On Wed, Aug 5, 2009 at 06:45, Anton Veretennikov anton.veretenni...@gmail.com wrote: As I remember, GWT appends some garbage to JS filenames as they change to prevent this. -- Tony On 8/5/09, John Armstrong siber...@siberian.org wrote: Install the web

Re: Localizing thru database lookup

2009-07-24 Thread Johan Compagner
There are other options like: class MyLocalizer extends Localizer { getCacheKey() { if (xxx == yyy) return null} // dont return a cache key for certain things } or class MyLocalizer extends Localizer { public String getString(final String key, final Component component, final

Re: should the IRequestLogger implement Serializable?

2009-07-22 Thread Johan Compagner
why would you serialize the request logger? there is only one and that is attached to the Application it shouldnt be serialized. Just like that Settings object is also not serialize able or the implementations of ISessionStore johan On Wed, Jul 22, 2009 at 16:38, Jing Ge (Besitec IT DEHAM)

Re: should the IRequestLogger implement Serializable?

2009-07-22 Thread Johan Compagner
in the RequestLogger as an object in a model. Something like this: New ModelRequestLogger(getRequestLogger()); Thx Jing -Original Message- From: Johan Compagner [mailto:jcompag...@gmail.com] Sent: Mittwoch, 22. Juli 2009 16:43 To: users@wicket.apache.org Subject: Re

Re: HashMap.Entry not serializable?

2009-07-18 Thread Johan Compagner
nope you cant serialize entries. hashmap do there own custom serialization (just key/value) and they dont serialize the internal structure to that data (the entries) Thats why Entry is not serializeable johan On Sat, Jul 18, 2009 at 12:06, Martin Makundi martin.maku...@koodaripalvelut.com

Re: IModel parameters of StringResourceModel not getting detached

2009-07-17 Thread Johan Compagner
please make a jira issue for this The detach of StringResourcemodel should walk over its param to check if it is a model and call detach on those. On Fri, Jul 17, 2009 at 10:44, Jonas barney...@gmail.com wrote: A question about StringResourceModel: it supports IModels in the 'parameters'

Re: Can one avoid the pagmap name in the url

2009-07-14 Thread Johan Compagner
we already have session unique pageid's: getApplication().getSessionSettings().isPageIdUniquePerSession() Then you dont have to have pagemap or enable the multi window support You only need that if you really want to now that users uses different tabs. Wicket doesnt really need it anymore then

Re: Can one avoid the pagmap name in the url

2009-07-14 Thread Johan Compagner
no it doesnt. if you make sure that the pageid is unique across the session then you dont need pagemaps. And you can hold everything in 1 pagemap. And if you do that then make sure then all he pages go into 1 pagemap then make sure that: * public * DiskPageStore(*int* maxSizePerPagemap, *int*

Re: 1.4 trunk broken?

2009-07-08 Thread Johan Compagner
an then deploy a new version of the app. When I klick on a page link now then the error occurs. In former trunk versions and all former wicket version I was redirected to the application's homepage. Stefan -Ursprüngliche Nachricht- Von: Johan Compagner [mailto:jcompag

  1   2   3   4   5   6   7   8   9   10   >