Re: [Wicket-user] Wicket customizability

2007-07-25 Thread Jonathan Locke
i don't really understand what you're talking about because i don't know your requirements. but don't forget two things: 1) the primary unit of reuse in wicket is the panel and 2) you can put any component (such as a panel) in a completely self-contained jar because of packaged resources. if

Re: [Wicket-user] Page lifetime in wicket

2007-07-24 Thread Jonathan Locke
a lot of casting there. maybe we should make WebApplication.get() return (WebApplication)Application.get()? Eelco Hillenius wrote: By default which temp directory does all the all pages stored into? public FilePageStore() {

Re: [Wicket-user] Sessionless Wicket?

2007-07-23 Thread Jonathan Locke
this is generally in sync with what i know about session usage. if you're using 1.3 and detachable models and so forth, 20K sessions on a reasonable box is not going to be a problem. wicket pages really are pretty small. a very complex one might be 50-100K and i've never actually seen one

Re: [Wicket-user] wicket-picocontainer?

2007-07-18 Thread Jonathan Locke
I have not yet had a real need for IOC, but when I last looked some years ago, picocontainer looked pretty nice. We do have guice now, but I think it would be great to integrate Wicket with picocontainer. Unfortunately, I'm not aware of anyone doing this work. David Rosenstrauch wrote: I

Re: [Wicket-user] How to display line break in properties file

2007-07-13 Thread Jonathan Locke
can't you just use \n in the properties file? (http://www.exampledepot.com/egs/java.util/Props.html) once you have a new line in there, you may want to create a subclass of feedbackpanel and override newMessageDisplayComponent: protected Component newMessageDisplayComponent(String id,

Re: [Wicket-user] NumberValidator allowing null fields ?

2007-07-07 Thread Jonathan Locke
maybe this is a bug? i have a ConstrainedPropertyValidator which extends AbstractValidator (which implements INullAcceptingValidator) and returns true for validateOnNullValue() and it works just fine. you might need to trace into the validation code to figure out why it's not calling your

Re: [Wicket-user] Multiple asynchronous Ajax calls - once again

2007-07-06 Thread Jonathan Locke
i'm also pretty interested in this problem. even if making wicket fully multithreaded would be extremely difficult (if it's desirable at all), it might be possible to increase wicket's liveness within contended sessions. in particular, there are more and less important ajax requests. if you

Re: [Wicket-user] access to private fields

2007-07-06 Thread Jonathan Locke
i think your argument is willfully slanted. generic manipulation and persistence can be good reasons to reach into an implementation which otherwise does not wish to expose properties or fields at all. i personally prefer objects that keep all these details private. i would hope that private

Re: [Wicket-user] access to private fields

2007-07-06 Thread Jonathan Locke
. in any case, java is broken here and so the choice on this feature is not clear. maybe the best thing is to make private introspection an application setting that is off by default? this might be a good idea for the sake of security anyway. Jonathan Locke wrote: i think your argument

Re: [Wicket-user] Multiple asynchronous Ajax calls - once again

2007-07-06 Thread Jonathan Locke
yeah, even my pre-emptive lock claiming idea would require some thinking about versioning. what happens to all the versioning information recorded by the pre-empted thread? we'd need a transacted commit on that. actually, if you think about database technologies here, one way to get better

Re: [Wicket-user] access to private fields

2007-07-06 Thread Jonathan Locke
i didn't say that's fine. it's clearly not. i was just pointing out there's another side to this argument because java's protection attributes are so coarse grained. by not supporting this feature, some classes which otherwise would have all implementation details private would be forced

Re: [Wicket-user] Multiple asynchronous Ajax calls - once again

2007-07-06 Thread Jonathan Locke
about. there's a pretty long discussion in this topic for sure. igor.vaynberg wrote: On 7/6/07, Jonathan Locke [EMAIL PROTECTED] wrote: yeah, even my pre-emptive lock claiming idea would require some thinking about versioning. what happens to all the versioning information recorded

Re: [Wicket-user] Wicket mailing list rules with regards to jobs

2007-07-03 Thread Jonathan Locke
if it's specifically about wicket, posting is encouraged. Watter wrote: Are there any rules about a company posting to this list about potential open positions around Wicket? Matt -- View this message in context:

[Wicket-user] pagemap locking

2007-06-28 Thread Jonathan Locke
getting this exception. seems like a request thread might be hanging with the page map locked? anyone have any ideas? thanks! [11:19:44] ERROR - RequestCycle - After 1 minute the Pagemap null is still locked by: Thread[ajp-8009-1,5,main], giving up trying to get the page for

Re: [Wicket-user] pagemap locking

2007-06-28 Thread Jonathan Locke
. Martijn On 6/28/07, Jonathan Locke [EMAIL PROTECTED] wrote: getting this exception. seems like a request thread might be hanging with the page map locked? anyone have any ideas? thanks! [11:19:44] ERROR - RequestCycle - After 1 minute the Pagemap null is still locked

Re: [Wicket-user] pagemap locking

2007-06-28 Thread Jonathan Locke
yeah, i just figured that out. i'll just patch our wicket for now. but we should add this for wicket 1.4 (in a nicer way than this (generic utility method), of course): final StringBuilder builder = new StringBuilder();

[Wicket-user] NPE in PropertyResolver

2007-06-25 Thread Jonathan Locke
i'm getting this in a unit test and wondering if anyone knows why that might happen: Caused by: java.lang.NullPointerException at org.apache.wicket.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:274) at

Re: [Wicket-user] NPE in PropertyResolver

2007-06-25 Thread Jonathan Locke
thanks. seems to work now. Al Maw wrote: Al Maw wrote: Going back to Jonathan's original unit test case, I'm thinking maybe we can lazy-init this to make unit testing more bearable. Done. Al -- Alastair Maw Wicket-biased blog at http://herebebeasties.com

Re: [Wicket-user] Wicket 1.2.4 - Cross session concurrency issues

2007-06-25 Thread Jonathan Locke
one of the great things about open source software is that you can investigate an issue like this yourself and suggest a patch. Seldon, Richard wrote: Hello all, Further to email sent out back on 15/06/07 regarding concurrency issues using Wicket 1.2.4 and load runner... Really

[Wicket-user] Unable to find the markup for the component

2007-06-25 Thread Jonathan Locke
i'm getting the exception below. have there been any recent changes to markup finding or is this probably my own issue? thanks, jon -- WicketMessage: Unable to find the markup for the component. That may be due to transparent containers or components implementing

Re: [Wicket-user] Unable to find the markup for the component

2007-06-25 Thread Jonathan Locke
this does at least appear to have started happening after updating wicket (either in the past few days or today). Jonathan Locke wrote: i'm getting the exception below. have there been any recent changes to markup finding or is this probably my own issue? thanks, jon

Re: [Wicket-user] Unable to find the markup for the component

2007-06-25 Thread Jonathan Locke
ah. i think maybe it's not just me: https://issues.apache.org/jira/browse/WICKET-592 Jonathan Locke wrote: i'm getting the exception below. have there been any recent changes to markup finding or is this probably my own issue? thanks, jon -- WicketMessage

Re: [Wicket-user] Unable to find the markup for the component

2007-06-25 Thread Jonathan Locke
oh, i see now that's 1.2.6 not 1.3... still it's about the same stack trace. Jonathan Locke wrote: ah. i think maybe it's not just me: https://issues.apache.org/jira/browse/WICKET-592 Jonathan Locke wrote: i'm getting the exception below. have there been any recent changes

Re: [Wicket-user] Re-using page's look and feel

2007-06-25 Thread Jonathan Locke
just use markup inheritance directly. your base page class can have components and markup that are inherited by all subclasses: http://wicket.sourceforge.net/ExampleMarkupInheritance.html http://www.javalobby.org/java/forums/t69357.html slava.imeshev wrote: Hello everyone, We are

[Wicket-user] cannot add CSS to web page?

2007-06-23 Thread Jonathan Locke
my code which does this: add(HeaderContributor.forCss(CSS)); now throws the following exception. my web page needs to contribute CSS to the header. i'm wondering, why can't i do it this way anymore (it seems like WebPage is a component like any other and my code did work fine

Re: [Wicket-user] [Fwd: Re: html wicket:id=html CSS]

2007-06-23 Thread Jonathan Locke
not anymore. Matej Knopp-2 wrote: Err, I believe that you can do add(HeaderContributor.forCss(...)) in page constructor. -Matej On 6/23/07, Juergen Donnerstag [EMAIL PROTECTED] wrote: Jan, the problem is that though you can attach attribute modifier (that is what

Re: [Wicket-user] another missing stack trace

2007-06-21 Thread Jonathan Locke
next wicket version if at all. Johan Compagner wrote: i dont think so because you do get Caused by? We don't print caused by, that is the thing we change about the input. what do you exactly see? so whats in that [...] space you have in the email? johan On 6/20/07, Jonathan Locke

[Wicket-user] another missing stack trace

2007-06-20 Thread Jonathan Locke
i just got another missing stack trace problem: [...] Caused by: java.lang.NullPointerException then no stack trace for the NPE. eelco earlier asserted that my logging config must be wrong while johan said we must have a problem. the only odd bit of configuration in our log4j file is this

Re: [Wicket-user] another missing stack trace

2007-06-20 Thread Jonathan Locke
could this be caused by this thread (which we never quite did finish)? http://www.nabble.com/abbreviated-stack-traces-tf3837742.html#a10899418 Jonathan Locke wrote: i just got another missing stack trace problem: [...] Caused by: java.lang.NullPointerException then no stack trace

Re: [Wicket-user] Wicket MADE the grade

2007-06-20 Thread Jonathan Locke
very interesting. but i don't agree with the spreadsheet that wicket is not good for million clicks per minute sites. with a good back-end architecture and the right tuning, wicket ought to be able to sustain that kind of load as well as any other web framework. the big difference is that in

Re: [Wicket-user] [announce] Apache Wicket

2007-06-20 Thread Jonathan Locke
congratulations to everyone! i want to thank the whole team for pushing wicket to this next big stage of growth! wow! we did it! Martijn Dashorst wrote: We have Graduation! Apache Wicket is established as a top level project within the Apache Software Foundation. From Greg Stein:

Re: [Wicket-user] inspector causes page expired

2007-06-19 Thread Jonathan Locke
ah this is some side effect of using AccessStackPageMap in the session inspection process... Jonathan Locke wrote: i added an enhancement request for next wicket version to support the inspector better. the problem i'm having with it right now is that after visiting the inspectorpage

Re: [Wicket-user] how busy a site is wicket known to support?

2007-06-19 Thread Jonathan Locke
with decent specs on your web nodes you can generally expect to get better performance than that... unless you're limited by non-wicket back-end bottlenecks like db access. Scott Swank wrote: I have a quick question about server load, in particular I want to determine what sort of volume

Re: [Wicket-user] how busy a site is wicket known to support?

2007-06-19 Thread Jonathan Locke
oh yeah, be sure you DO NOT test your wicket app's scalability with wicket in development mode! wicket does a ton of really inefficient things in development mode. just for example, every single component you construct on every page will have a complete stack trace of the caller that

Re: [Wicket-user] infinite loop

2007-06-18 Thread Jonathan Locke
no repro case currently. Johan Compagner wrote: can't you debug it and break on the exception NullPointer? But i agree somehow we should log this better. On 6/18/07, Jonathan Locke [EMAIL PROTECTED] wrote: aha. we might have two of these bugs, but i'm getting this trace now

Re: [Wicket-user] infinite loop

2007-06-18 Thread Jonathan Locke
how could it be set up incorrectly? we got the message part of the NPE just not the stack trace. Eelco Hillenius wrote: could it be this code that's not logging the whole exception? protected void logRuntimeException(RuntimeException e) {

[Wicket-user] inspector causes page expired

2007-06-18 Thread Jonathan Locke
i added an enhancement request for next wicket version to support the inspector better. the problem i'm having with it right now is that after visiting the inspectorpage, every request to the web app results in a page expired exception. the app is basically dead. has anyone seen this type of

Re: [Wicket-user] infinite loop

2007-06-17 Thread Jonathan Locke
for details. Al Jonathan Locke wrote: anyone have any ideas on what might cause this? in particular can a user exception cause it or is it definitely a wicket bug? java.lang.IllegalStateException?: Request processing executed 32767 steps, which means it is probably in an infinite loop

Re: [Wicket-user] infinite loop

2007-06-17 Thread Jonathan Locke
ProxyPassReverseCookiePath, too. See the wiki for details. Al Jonathan Locke wrote: anyone have any ideas on what might cause this? in particular can a user exception cause it or is it definitely a wicket bug? java.lang.IllegalStateException?: Request processing executed 32767 steps, which

Re: [Wicket-user] infinite loop

2007-06-17 Thread Jonathan Locke
could it be this code that's not logging the whole exception? protected void logRuntimeException(RuntimeException e) { log.error(e.getMessage(), e); } Jonathan Locke wrote: aha. we might have two of these bugs, but i'm getting this trace now

[Wicket-user] infinite loop

2007-06-16 Thread Jonathan Locke
anyone have any ideas on what might cause this? in particular can a user exception cause it or is it definitely a wicket bug? java.lang.IllegalStateException?: Request processing executed 32767 steps, which means it is probably in an infinite loop. at

Re: [Wicket-user] Evaluating Wicket

2007-06-13 Thread Jonathan Locke
you won't be the first. wicket is already being used for real enterprise class work today. the startup i'm working for is entirely wicket based and is backed with millions of VC dollars... and of course, we're planning for the kind of user traffic that would cause VCs to invest millions of

Re: [Wicket-user] Evaluating Wicket

2007-06-13 Thread Jonathan Locke
yep. and panels can be in loops, lists, dataviews, trees, etc. and you can easily create your own such components if you want to. there's really no end to how much dynamic stuff you can do in wicket. Eelco Hillenius wrote: On 6/12/07, Patrick Angeles [EMAIL PROTECTED] wrote: I'm not that

Re: [Wicket-user] Howto determine what objects are part of session state

2007-06-11 Thread Jonathan Locke
yeah, this would be particularly neat if it could tell you the size of each object in the graph using that JMX sizeof call. it's actually the non-serialized size that matters the most and that management call ought to be able to get a value pretty close to correct (although if it's transitive,

Re: [Wicket-user] Want return key to click button in autocomplete behavior

2007-06-06 Thread Jonathan Locke
aha! a simple solution. thanks. Johan Compagner wrote: cant you add a key listener to the textfield and if you see an enter you call button.onclick() your self? On 6/5/07, Jonathan Locke [EMAIL PROTECTED] wrote: I've got an autocomplete text field nested inside a larger form. When

Re: [Wicket-user] wicket did not make the grade.

2007-06-06 Thread Jonathan Locke
This was almost exactly my own reaction to the original assertion that this team has very strong OOP skills. The criticism cited sounded a lot more to me like reflex than any kind of thinking. James McLaughlin-3 wrote: Hi Florian, To be honest, you should have titled this post My team did

Re: [Wicket-user] wicket did not make the grade.

2007-06-06 Thread Jonathan Locke
Florian Hehlen-2 wrote: -It will be easier to hire someone with Struts knowledge on top of the fact that we have some in-house knowledge with it. translation: we don't want to think -Struts is the de-facto standard with a lot of community/vendor/documentation support translation:

[Wicket-user] Want return key to click button in autocomplete behavior

2007-06-05 Thread Jonathan Locke
I've got an autocomplete text field nested inside a larger form. When you click add next to the field, it adds what you've completed to a list that is submitted when the overall form is submitted. Would like to figure out how to make pressing the return key in the field (when there is no

[Wicket-user] wicket:message for attributes?

2007-06-05 Thread Jonathan Locke
Is there something like wicket:message for localizing attributes like title tooltips? I looked on the WIKI but there wasn't anything there. -- View this message in context: http://www.nabble.com/wicket%3Amessage-for-attributes--tf3874468.html#a10978311 Sent from the Wicket - User mailing list

Re: [Wicket-user] Getting sent to PageExpiredErrorPage when page is not expired

2007-06-04 Thread Jonathan Locke
when i was running into this, it turned out that we were losing the session cookie. try checking the jsessionid cookie before and after and see if it changes. jayTSM wrote: This behavior seems to be happening on non-ajax requests. The component being submitted is a basic subclass of the

Re: [Wicket-user] Exception Strategy in 1.3

2007-05-31 Thread Jonathan Locke
this sure seems familiar. didn't we have a nice plan to address this a few months back? Eelco Hillenius wrote: You can return the page you want to be displayed and have full control. I know the API currently is non-obvious; I complained about this in another thread. For example, this

[Wicket-user] modalwindow open fails

2007-05-30 Thread Jonathan Locke
this may be my problem, but i'm having a bit of trouble with modal windows that won't open and wondering if there are any known gotchas or words of wisdom for what to look at... -- View this message in context: http://www.nabble.com/modalwindow-open-fails-tf3843250.html#a10883547 Sent from the

Re: [Wicket-user] Best Practices for accessing/repainting sibling/cousin components?

2007-05-30 Thread Jonathan Locke
It shouldn't be hard to write the method you're talking about. To find all the components using the same model as a given component, just walk the component hierarchy using visitChildren() and add any component which returns true for sameInnermostModel(component). There is a more general case

Re: [Wicket-user] Best Practices for accessing/repainting sibling/cousin components?

2007-05-30 Thread Jonathan Locke
version. Jonathan Locke wrote: It shouldn't be hard to write the method you're talking about. To find all the components using the same model as a given component, just walk the component hierarchy using visitChildren() and add any component which returns true for sameInnermostModel

Re: [Wicket-user] modalwindow open fails

2007-05-30 Thread Jonathan Locke
2007,requests=46,totaltime=1848,activerequests=2,maxmem=532M,total=532M,used=29M Jonathan Locke wrote: this may be my problem, but i'm having a bit of trouble with modal windows that won't open and wondering if there are any known gotchas or words of wisdom for what to look

Re: [Wicket-user] modalwindow open fails

2007-05-30 Thread Jonathan Locke
ugh. looks like this was another session issue (different thing though). one thing that was helpful in tracking this down was turning on the AJAX debugging window. Jonathan Locke wrote: this may be my problem, but i'm having a bit of trouble with modal windows that won't open

[Wicket-user] Want to add a component to every AjaxRequestTarget

2007-05-28 Thread Jonathan Locke
Is there a way to hook every AJAX request and add a component (that's on every page) to the request target? It seems like there might be because of the way request targets work, but I don't have any idea what the details of that might look like... -- View this message in context:

Re: [Wicket-user] Want to add a component to every AjaxRequestTarget

2007-05-28 Thread Jonathan Locke
something when it is an AjaxRequestTarget). Eelco On 5/28/07, Jonathan Locke [EMAIL PROTECTED] wrote: Is there a way to hook every AJAX request and add a component (that's on every page) to the request target? It seems like there might be because of the way request targets work, but I

[Wicket-user] Magic to replace ModalWindow images

2007-05-24 Thread Jonathan Locke
Matej, we were talking on ##wicket and you were about to tell me what the magic is to replace ModalWindow images with something my designer cooks up (pixel accurate replacements for existing images) without modifying Wicket. What was that magic? (Thought I'd post here since others might benefit

Re: [Wicket-user] Magic to replace ModalWindow images

2007-05-24 Thread Jonathan Locke
the possibility to replace default modal window images. -Matej On 5/24/07, Jonathan Locke [EMAIL PROTECTED] wrote: Matej, we were talking on ##wicket and you were about to tell me what the magic is to replace ModalWindow images with something my designer cooks up (pixel accurate

Re: [Wicket-user] how to customize Modal Window`s appearance

2007-05-23 Thread Jonathan Locke
yeah, i'd be interested in this result too. Scott Swank wrote: Agreed. We've gone the complicated CSS magic route and it is a bit involved, but I can vouch for the fact that it's an option. :) On 5/18/07, Matej Knopp [EMAIL PROTECTED] wrote: It is customizable, but you need a rather

Re: [Wicket-user] how to customize Modal Window`s appearance

2007-05-23 Thread Jonathan Locke
, div.wicket-modal div.w_vegas div.w_bottomLeft { background-image: url(); _background-image: url(); } div.wicket-modal div.w_vegas div.w_close { background: url(/mytrip/images/close_x.gif) no-repeat; } Scott On 5/23/07, Jonathan Locke [EMAIL PROTECTED] wrote

Re: [Wicket-user] new pagemaps in same window

2007-05-19 Thread Jonathan Locke
that when you open a complete new browser? johan On 5/19/07, Jonathan Locke [EMAIL PROTECTED] wrote: somehow i'm getting a new pagemap every time i go to our home page (not with browser refresh, with a link). it's probably my fault, but does anyone have any idea how that might happen? i

Re: [Wicket-user] new pagemaps in same window

2007-05-19 Thread Jonathan Locke
new browser? johan On 5/19/07, Jonathan Locke [EMAIL PROTECTED] wrote: somehow i'm getting a new pagemap every time i go to our home page (not with browser refresh, with a link). it's probably my fault, but does anyone have any idea how that might happen? i thought window.name

Re: [Wicket-user] Page Expiration when first clicking AJAX

2007-05-19 Thread Jonathan Locke
/YourHomePage. On 5/17/07, Jonathan Locke [EMAIL PROTECTED] wrote: Did we find a resolution for this yet? We are having the same problem in Wicket 1.3 trunk and I'm about to start investigating. Any definite information or conclusions (whether complete or not) would be very much

Re: [Wicket-user] Page Expiration when first clicking AJAX

2007-05-19 Thread Jonathan Locke
sorry, no. that was not wicket's javascript. Andrew Berman wrote: Interesting. I'm only using Wicket for my AJAX, so are you saying that something is wrong with the Wicket AJAX JavaScript? On 5/19/07, Jonathan Locke [EMAIL PROTECTED] wrote: i discovered in my case

[Wicket-user] new pagemaps in same window

2007-05-18 Thread Jonathan Locke
somehow i'm getting a new pagemap every time i go to our home page (not with browser refresh, with a link). it's probably my fault, but does anyone have any idea how that might happen? i thought window.name was being used to detect whether a window is new and that a page map would only be

Re: [Wicket-user] Page Expiration when first clicking AJAX

2007-05-17 Thread Jonathan Locke
Did we find a resolution for this yet? We are having the same problem in Wicket 1.3 trunk and I'm about to start investigating. Any definite information or conclusions (whether complete or not) would be very much appreciated. Andrew Berman wrote: I am having a strange issue. If I access

Re: [Wicket-user] Gricket: The Love-Child of Grails and Wicket

2007-05-17 Thread Jonathan Locke
Very interesting. I'm not that interested for production code, but this could be really exceptional for prototyping and fast TTM when that matters. jklappenbach wrote: http://graemerocher.blogspot.com/2007/05/grails-wicket-wonders-of-grails-plug-in.html (SFW) Graeme pinged me as soon

Re: [Wicket-user] weird url behaviour for bookmarkable pages

2007-05-15 Thread Jonathan Locke
I'm also getting this and I don't have multiple windows open. Is this a bug in the new browser window check? Johan Compagner wrote: i think in 2.0 the newBrowserWindow check is still enabled. this makes sure that for one pagemap only one window is open. If the checker finds another tab

Re: [Wicket-user] Anti-Wicket?

2007-05-14 Thread Jonathan Locke
i don't understand how you can have a component-oriented web framework that generates markup and css without having layout managers. browsers are not consistent enough in the way they render to just position everything absolutely. even if they were consistent, you still couldn't use fixed

Re: [Wicket-user] Page Expiration when first clicking AJAX

2007-05-13 Thread Jonathan Locke
we're getting some issue like this too and on only one server. Eelco Hillenius wrote: Are you working on multiple servers? On 5/12/07, Andrew Berman [EMAIL PROTECTED] wrote: Igor, Eelco, anyone? This issue is pretty major as I'm losing all the session info when they first come into

Re: [Wicket-user] How to remove a Behaviour?

2007-05-04 Thread Jonathan Locke
remove is a good addition, but what about isEnabled()? that might be a nice way to conditionally apply a behavior instead of removing it. Johan Compagner wrote: i think we should be thinking of a remove(IBehavior) It is pretty in line with the rest (think about Swing listeners) And it

Re: [Wicket-user] Wicket BoF @ Apache Con: thursday May 3rd, 8pm

2007-05-01 Thread Jonathan Locke
oh you just wait a couple weeks. you will be too. igor.vaynberg wrote: you guys are old! -igor On 5/1/07, Jonathan Locke [EMAIL PROTECTED] wrote: Hey, wait a /minute/, Martijn, if this is the 80's isn't it hip to be square? (insert sax solo) Martijn Dashorst wrote: We

Re: [Wicket-user] Nested Forms and onSubmit()?

2007-04-29 Thread Jonathan Locke
neato. i did not know that. i vaguely recall doing this once and i recall being really suprised it worked. now i know why! ;-) Martijn Dashorst wrote: On 4/27/07, jan_bar [EMAIL PROTECTED] wrote: I think that you cannot nest form in HTML. You have to nest them with CSS. This will also

Re: [Wicket-user] Nested Forms and onSubmit()?

2007-04-29 Thread Jonathan Locke
well, it depends on what kind of reuse you want. if you have a particularly cool form panel, it might be something that should stand on its own or nest. but i think you're probably right in general. i've got quite a few panels that just hold some fields for inclusion in a form. igor.vaynberg

Re: [Wicket-user] newbie: how do I put wicket-injected objects into an html comment?

2007-04-27 Thread Jonathan Locke
yeah, with setEscapeModelStrings(false). igor.vaynberg wrote: we do not support this, the only way i can think of doing something like this is: add(new label(foo, !-- bar --)); -igor On 4/27/07, Lowell Kirsh [EMAIL PROTECTED] wrote: What I'd like to do is something like: !--

Re: [Wicket-user] LiveSessionsPage

2007-04-22 Thread Jonathan Locke
yeah, i think all that stuff moved to examples due to security concerns with that stuff being bookmarkable and not protected by an authorization strategy. Alexander Lohse wrote: Hi, I cannot find the LiveSessionsPage since I recently updated our project to the lastest version of

Re: [Wicket-user] Can templates have an extension other than .html?

2007-04-22 Thread Jonathan Locke
i can confirm that. i have no idea what i meant by that comment. ;-) Eelco Hillenius wrote: On 2/28/07, Igor Vaynberg [EMAIL PROTECTED] wrote: that is an interesting comment indeed. if it was really true then webpage.getmarkuptype() would be final. anyone else mind to comment? Looks

Re: [Wicket-user] Wicket 1.3 ready for development?

2007-04-14 Thread Jonathan Locke
July is for sissies. We're shooting for June. Eelco Hillenius wrote: I would recommend using 1.3. Some people of the team (including me) are using 1.3 for a project that needs to be live bigtime medio July. So, 1.3 has to be good enough to run production systems by then (and in fact

Re: [Wicket-user] Interesting maven experience...

2007-04-12 Thread Jonathan Locke
i am reproing this. try doing a mvn -U Eelco Hillenius wrote: Any idea how to reproduce this? Eelco On 4/11/07, Per Ejeklint [EMAIL PROTECTED] wrote: Just a note for your information. I just had an unusual experience with maven when building wicket-1.x. Had done a few updates,

Re: [Wicket-user] Interesting maven experience...

2007-04-12 Thread Jonathan Locke
we just figured this out. try mvn clean install and it should work. Per Ejeklint wrote: Sorry, I really don't know. I have erased the entire branch so I can't re-run the sequence. I checked out wicket-1.x about 10 days ago, and I think it was after the second update which I did this

Re: [Wicket-user] Form macro-component

2007-04-09 Thread Jonathan Locke
maybe have FormComponentFeedbackBorders for the individual components and then a global feedback panel to catch the general ones (install a filter to ignore reporters that have feedback borders) Carlos Pita-4 wrote: Hi all, suppose you have to implement some form input component that is

Re: [Wicket-user] error(...) No page found for component

2007-03-31 Thread Jonathan Locke
You component is not attached to a parent yet. You could try doing that work in onAttach(). serban.balamaci wrote: Hi. I have a problem in that inside the constructor of a page(panel actually) i invoke a stored procedure which needs to get the model for the panel. The stored procedure

Re: [Wicket-user] error(...) No page found for component

2007-03-31 Thread Jonathan Locke
yeah, threadlocal would work. it would also get rid of the need for Session feedback messages. in some sense, i think the error is really being registered for the request (thread) anyway, not any object. so i like that idea. it can just be a threadlocal in the appropriate class and

Re: [Wicket-user] error(...) No page found for component

2007-03-31 Thread Jonathan Locke
if you can wait, i think we're going to be fixing this so you don't have to make any changes. serban.balamaci wrote: Thanks for the answer. Do you mean that instead of doing the loading of the model in the constructor to do it onAttach() ? Jonathan Locke wrote: You component

Re: [Wicket-user] error(...) No page found for component

2007-03-31 Thread Jonathan Locke
Eelco Hillenius wrote: About the session messages... well, they have a slightly different meaning: display whenever there is a feedback component rendered on any page. This is useful when writing generic software where you know that a message should be displayed, but you just don't know

Re: [Wicket-user] error(...) No page found for component

2007-03-31 Thread Jonathan Locke
yeah, your patch would work, but i think we agree that the session approach is better and cleaner (both functionally and conceptually) for the long term even if it could at least /conceivably/ break some especially odd code (which it seems likely does not even exist). the semantics are

Re: [Wicket-user] error(...) No page found for component

2007-03-31 Thread Jonathan Locke
Yeah, that does sound like overkill in a single-threaded environment. What other thread would ever be accessing a session's feedback messages? Eelco Hillenius wrote: Do feedbackmessages in the session really need to be synchronized with CopyOnWriteArrayList? I'm in doubt whether

Re: [Wicket-user] Lifecycle issue with getVariation

2007-03-29 Thread Jonathan Locke
can you show us your code? Chris Colman wrote: there is a reason why some of the stuff is done where it is. now, I believe that with the minor change that I have made everything is still being done in the exact same order so there should be no consequences of this change. It's just

Re: [Wicket-user] Lifecycle issue with getVariation

2007-03-29 Thread Jonathan Locke
ah, sorry. this is the code i take it. just not in response to my original post (at least on nabble). Chris Colman wrote: i'm not sure what i think about this yet. can you show us the exact code modifications and use cases you have coded up? (boiled down to the important parts, if

Re: [Wicket-user] Lifecycle issue with getVariation

2007-03-29 Thread Jonathan Locke
Okay, here's my opinion: People have been using Wicket for years now and this is the first bug of this type I have heard of. I am very reluctant attempt any sort of generic framework-level fix to the semantics of Java object construction (regardless of how anyone feels about the practices

Re: [Wicket-user] Lifecycle issue with getVariation

2007-03-28 Thread Jonathan Locke
i'm not sure what i think about this yet. can you show us the exact code modifications and use cases you have coded up? (boiled down to the important parts, if possible) also, it would be good if you could explain how this solves any problems other than getVariation(). Chris Colman wrote:

Re: [Wicket-user] How to catch the error in custome error page?

2007-03-23 Thread Jonathan Locke
Yes. For others who don't want to log the exception, you can show error pages for different categories of exceptions by setting these methods on ApplicationSettings: - getAccessDeniedPage() - getInternalErrorPage() - getPageExpiredPage() Unfortunately, you don't get the exception object

Re: [Wicket-user] colored labels in validation error

2007-03-18 Thread Jonathan Locke
There's Martijns way but there are also some related components like FormComponentFeedbackBorder/Indicator or igor's FieldBorder (or it's something like that). Wouter De Vaal wrote: Hi, Is there a wicket standard way to have input label have a special style (e.g. color: red) when the

Re: [Wicket-user] Joost uses Wicket

2007-03-18 Thread Jonathan Locke
Someone should really make an example or even a reusable class like that. What you're suggesting is very non-obvious to a newbie. Jean-Baptiste Quenot-3 wrote: * ZedroS Schwart: Regarding static content, is it such a big issue to have some wicket html pages with empty classes behind

Re: [Wicket-user] Hibernate/Spring and Wicket architecture request for validation (was Wicket's questions)

2007-03-17 Thread Jonathan Locke
work with non detachable models ? They're kept during the whole user session even if they're updated every time there is a new access to the page to whom they're linked ? Thanks again ZedroiS On 3/17/07, Jonathan Locke [EMAIL PROTECTED] wrote: you don't have to choose. you can wrap

Re: [Wicket-user] Tapestry - Wicket | Action Service

2007-03-16 Thread Jonathan Locke
Wicket == component-oriented manipulation of markup. As such, Wicket is primarily a UI framework, not a framework for creating web services. Igor is right that this idea that Wicket should handle any kind of request over HTTP is scope creep. That job is for some other framework. Robert

Re: [Wicket-user] Tapestry - Wicket | Action Service

2007-03-16 Thread Jonathan Locke
yes, state is mainly kept in server side components by design (programming model and security are two good reasons for this). however, state can also reside in url parameters (bookmarkable page links) if you explicitly put it there. and then of course there's javascript / ajax. Robert ...

Re: [Wicket-user] Tapestry - Wicket | Action Service

2007-03-16 Thread Jonathan Locke
the docs. Please don't take any off this as criticism against Wicket. I'm sure it is a great project. And I will be using it in the future. I'm just not sure if I should convert this project from Tapestry to Wicket. I am beginning to think that it's not a good idea. On 3/15/07, Jonathan Locke

  1   2   3   4   5   >