Re: How can I share text resources with multiple web applications?

2009-03-20 Thread Brill Pappin
On 20-Mar-09, at 11:51 AM, Martijn Dashorst wrote: I don't want that. If someone is anal about what maven is expecting, then it is their problem. I am in the business of making the best wicket development experience, from a Wicket perspective. We're using maven as a tool, we're not in the busin

Re: How can I share text resources with multiple web applications?

2009-03-20 Thread Brill Pappin
But thats not a fix, thats adding crap to my build I don't want or need. Maven allows you to do things like that, because frankly no one would use it if it didn't... have you ever tried to port a legacy app to Maven? There is no "assumption" here. See: http://maven.apache.org/guides/introduc

Re: How can I share text resources with multiple web applications?

2009-03-20 Thread Brill Pappin
I love the use of the package structure to keep the file together, However I don't think we're talking about moving the HTML to a different structure, they are all still in the same package (although I've come across cases where I *do* need it outside the package structure for political and/

Re: How can I share text resources with multiple web applications?

2009-03-20 Thread Brill Pappin
odule by hand. As I said before, maybe it should be optional. - Brill On 19-Mar-09, at 11:52 PM, Jeremy Thomerson wrote: It's a *wicket* archetype that uses Maven as a build tool. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Mar 19, 2009 at 8:30 PM, Brill Pappin wrote

Re: How can I share text resources with multiple web applications?

2009-03-19 Thread Brill Pappin
It's a Maven archetype is it not? - Brill On 19-Mar-09, at 3:22 PM, Jeremy Thomerson wrote: On the subject of the archetype though, it *should* be doing the maven standard thing by default... maybe offering you a choice but the default should be into the resources directory. Why shou

Re: How can I share text resources with multiple web applications?

2009-03-19 Thread Brill Pappin
On 19-Mar-09, at 2:16 AM, James Carman wrote: It also adds a resources specification to fix it. On Wed, Mar 18, 2009 at 10:36 PM, Brill Pappin wrote: With Maven, non compiled files should be in src/main/resources The quickstart archetype actually does the *wrong* thing and puts them in

Re: How can I share text resources with multiple web applications?

2009-03-19 Thread Brill Pappin
be wrong from wicket's point of view. the archetype should remain unchanged. Brill Pappin wrote: With Maven, non compiled files should be in src/main/resources The quickstart archetype actually does the *wrong* thing and puts them in with the java files. - Brill Pappin On

Re: How can I share text resources with multiple web applications?

2009-03-18 Thread Brill Pappin
ources would be wrong from wicket's point of view. the archetype should remain unchanged. Brill Pappin wrote: With Maven, non compiled files should be in src/main/resources The quickstart archetype actually does the *wrong* thing and puts them in with the java files. - Brill Pappin

Re: How can I share text resources with multiple web applications?

2009-03-18 Thread Brill Pappin
With Maven, non compiled files should be in src/main/resources The quickstart archetype actually does the *wrong* thing and puts them in with the java files. - Brill Pappin On 18-Mar-09, at 4:19 PM, Trent Larson wrote: Thanks for the suggestion. For posterity's sake: my proble

Re: Updating the model of PasswordTextField

2009-03-17 Thread Brill Pappin
Also, You want to set the value in the POJO backing the model not the model itself. - Brill On 17-Mar-09, at 9:15 AM, Leszek Gawron wrote: vela wrote: Hello, I have a PasswordTextField , AjaxFallbackLink, and some text field. On click of the AjaxFallback, i am able to reset the content o

Re: [NEWBIE] How to do if... else... switch... in wicket html ?

2009-03-17 Thread Brill Pappin
nt that "again" component though from the example it doesn't seem to need to be a component. - Brill Pappin On 17-Mar-09, at 7:14 AM, Ista Pouss wrote: 2009/3/17 Linda van der Pal : It sounds like you want something like this: File.html: dadada File.java: boolean agai

Re: [NEWBIE] How to do if... else... switch... in wicket html ?

2009-03-17 Thread Brill Pappin
I think you want to be doing that in the java code, not the the HTML. IMO one of the real strengths of Wicket is that your logic stays where it belongs in the code and not in the presentation layer. If you have used other frameworks, like struts or even plain JSPs, you'll be used to putting

Re: Wicket Problems On Ubuntu

2009-03-17 Thread Brill Pappin
report in Jira, maybe even fix the problem (the char should show up in your editor) and include it or include a patch. And in the mean time you can extends LoginPage.class and make your own LoginPage.html thats properly formatted. - Brill Pappin On 17-Mar-09, at 4:11 AM, carloc wr

Re: extensions not in the snapshot?

2009-03-16 Thread Brill Pappin
-SNAPSHOT/ -- Jeremy Thomerson http://www.wickettraining.com On Sun, Mar 15, 2009 at 4:28 PM, Brill Pappin wrote: I trying to use the DatePicker extension in the extensions module, but I was surprised to find that it's not actually in the latest snapshot. (http://www.wicketframework.org/w

Re: extensions not in the snapshot?

2009-03-16 Thread Brill Pappin
Ahh, that explains it. I'm using the YUI one from wicet-datetime but I liked the setup etc from the old one (and was trying to use it). - Brill Pappin On 16-Mar-09, at 5:07 PM, Martijn Dashorst wrote: This is the very old, obsolete datepicker. It has been removed since the old days o

Re: NullPointerException when starting Wicket Bench

2009-03-16 Thread Brill Pappin
I think Wicket Bench is a 3rd party plugin and not specifically associated with the Wicket development effort. I think you issue is related to the version of eclipse you are using (I have trouble with it too). I've been thinking of porting the code since its open and fixing it up, but I hav

AjaxEditableLabel trouble in Safari

2009-03-15 Thread Brill Pappin
Anyone else having issues with AjaxEditableLabel in Safari? This could be a legit bug for Safari, but I thought i'd ask before adding an issue. What I'm getting is: 1) Label is beside the input box 2) when label is clicked, a new input is added to the page and the label is moved over.

extensions not in the snapshot?

2009-03-15 Thread Brill Pappin
I trying to use the DatePicker extension in the extensions module, but I was surprised to find that it's not actually in the latest snapshot. (http://www.wicketframework.org/wicket-extensions/DatePicker.html) Anyone know if there is some other dependency I should be including (an extension, e

Re: Why are we top-posting...

2009-03-15 Thread Brill Pappin
This is an old argument that I've seen get pretty heated, but I haven't heard it mentioned since I used news groups for this sort of thing. Anyway -- What Martijn said... - Brill On 14-Mar-09, at 9:25 PM, taha siddiqi wrote: I was not expecting this... ( look I am also top posting ). A

Re: Why are we top-posting...

2009-03-14 Thread Brill Pappin
But you didn't bottom post, you interleaved the post... which IMO was useful for this message. - Brill On 14-Mar-09, at 1:23 PM, Adriano dos Santos Fernandes wrote: Jeremy Thomerson wrote: In my experience, top vs bottom vs interleaved posting is dependent on the community. Yes. In my

Re: Why are we top-posting...

2009-03-14 Thread Brill Pappin
I always top post, and it's how I hope to see replies. I want the response at the top because it the most relevant information for the thread... if I should need to get some background or context I can see it in descending order and only read back as far as I want. Although I've seen the t

Re: can we get this patch applied to the current snapshot?

2009-03-12 Thread Brill Pappin
t there were eight for, two against. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Mar 12, 2009 at 9:52 AM, Brill Pappin wrote: https://issues.apache.org/jira/browse/WICKET-2137 - Brill - To unsubscribe, e

Re: Large Scale Applications using Wicket

2009-03-12 Thread Brill Pappin
I was going to ask that same thing :) Seems to me that its not such alien technology that it won't work the same as any other framework. - Brill On 13-Mar-09, at 1:15 AM, Igor Vaynberg wrote: why does serialization of pages prevents large scale deployments? -igor On Thu, Mar 12, 2009 at 8

Re: can we get this patch applied to the current snapshot?

2009-03-12 Thread Brill Pappin
release. While it may be beneficial, it would be out of the ordinary to introduce an API break after we're already to release candidate phase. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Mar 12, 2009 at 11:56 PM, Brill Pappin wrote: This is an attempt to bring the dropdo

Re: can we get this patch applied to the current snapshot?

2009-03-12 Thread Brill Pappin
y were binding / non-binding, but there were eight for, two against. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Mar 12, 2009 at 9:52 AM, Brill Pappin wrote: https://issues.apache.org/jira/browse/WICKET-2137 - Brill ---

Wicket Bench not being maintained?

2009-03-12 Thread Brill Pappin
I notice that Wicket Bench is not being maintained... it's plugin site seems to be down, its JIRA is down, is forum is down... the only think I can get to is the source repo. Does anyone know if its being maintained, or is it time to rescue the code and continue it some other place (lic all

can we get this patch applied to the current snapshot?

2009-03-12 Thread Brill Pappin
https://issues.apache.org/jira/browse/WICKET-2137 - Brill - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: AW: Tabbed Panel with bookmarkable links

2009-03-12 Thread Brill Pappin
I don't think we know that it will be moved... right now we only know that we two need it. - Brill On 12-Mar-09, at 7:28 AM, Martijn Dashorst wrote: Why start yet another project when the intention is to move it to stuff anyway? Martijn On Thu, Mar 12, 2009 at 12:22 PM, Christian Helmbol

Re: AW: Tabbed Panel with bookmarkable links

2009-03-12 Thread Brill Pappin
We already set it up as WIcket Skunkworks :) There are couple of reasons to set up something new. 1) We have not earned the right to commit to one of the official extension projects. It's a meritocratic thing after all. 2) At the moment it's hacked code and not a real component... some experi

Re: counting/summing items in a list view

2009-03-11 Thread Brill Pappin
ore elegant solution :) Brill Pappin wrote: I have an issue I'm sure someone else must have come across at one point or another. It's essentially to do with rendering order. Take the following example: final BigDecimalCalc adder = new BigDecimalCalc(); add(new List

counting/summing items in a list view

2009-03-10 Thread Brill Pappin
I have an issue I'm sure someone else must have come across at one point or another. It's essentially to do with rendering order. Take the following example: final BigDecimalCalc adder = new BigDecimalCalc(); add(new ListView<...>("myListView", yModel(...)) { ... protected void

Re: AW: AW: Tabbed Panel with bookmarkable links

2009-03-10 Thread Brill Pappin
Yes, because you no longer have the previous state... I have the same problem, but maybe some ideas for a solution. - Brill On 10-Mar-09, at 11:25 AM, Christian Helmbold wrote: Instead of competing, why don't we set up a project some place and check both solutions in under different pack

Re: Tabbed Panel with bookmarkable links

2009-03-10 Thread Brill Pappin
That is exactly the problem I *do* have :) Have not resolved it yet, but I was thinking or allowing them to be nested to its actually one tab panel, but with multiple levels. - Brill On 10-Mar-09, at 8:41 AM, James Carman wrote: What if you use two different tabbed panels on the same page?

Re: AW: Tabbed Panel with bookmarkable links

2009-03-10 Thread Brill Pappin
Instead of competing, why don't we set up a project some place and check both solutions in under different packages? We can then refactor them into one and take the best of both :) - Brill On 10-Mar-09, at 8:27 AM, Christian Helmbold wrote: Since others seem to need it, this might be worth

Re: Tabbed Panel with bookmarkable links

2009-03-09 Thread Brill Pappin
Cool... I just did exactly the same thing! Since others seem to need it, this might be worth refining over on wicket-stuff. I did my version slightly different in that I used the existing one as a basis and created a PageTabbedPanel IPageTab and AbstractPageTab. The main difference is in the

Re: Question re: style and variation

2009-03-04 Thread Brill Pappin
foo the style or the variation? you can have one without the other, or both. -igor On Wed, Mar 4, 2009 at 6:58 AM, Brill Pappin wrote: I agree that it should stick to convention for the locale and it would be nice if the rest of the format was consistent. I wave to wonder though, if we r

Re: VOTE: Remove ? extends from constructor of DropDownChoice

2009-03-04 Thread Brill Pappin
See the sample test in ticket: WICKET-2137 https://issues.apache.org/jira/browse/WICKET-2137 - brill On 4-Mar-09, at 11:08 AM, Johannes Schneider wrote: On Wed, 2009-03-04 at 10:04 -0500, Brill Pappin wrote: I actually wasn't saying they were the same. What I said (meant) was tha

Re: What does Page Expired mean?

2009-03-04 Thread Brill Pappin
It's not an error or something to debug, which is why you are not seeing anything in the log. Session is a basic webapp (not just java webapp) concept, I recommend reading up on it in the docs for your application server. - Brill On 4-Mar-09, at 10:05 AM, Edwin Ansicodd wrote: Can you s

Re: What does Page Expired mean?

2009-03-04 Thread Brill Pappin
They will not exist if the session has expired or if the page cache has become inconsistent somehow. Usually you'll get this is you wait on a page for a while, or are in dev mode and change the code a lot. - Brill On 4-Mar-09, at 7:14 AM, Edwin Ansicodd wrote: I see in the Page maps docum

Re: VOTE: Remove ? extends from constructor of DropDownChoice

2009-03-04 Thread Brill Pappin
I actually wasn't saying they were the same. What I said (meant) was that: a) don't lock down b) I prefer the explicit form rather than the "Any of type" form. i.e. > rather than >. - Brill On 4-Mar-09, at 6:26 AM, Johannes Schneider wrote: On Tue, 2009-03-03 at

Re: Question re: style and variation

2009-03-04 Thread Brill Pappin
I think we have to be very careful about using special chars in the file name. Depending on the operating system you could have a real problem even doing this at all. I have not done any research into what you can use in a file name, but this file has to be usable on just about anything.

Re: Question re: style and variation

2009-03-04 Thread Brill Pappin
mobile devices, where layout and style can matter a lot (mostly layout). - Brill Pappin On 3-Mar-09, at 10:18 PM, jWeekend wrote: Igor, In Java, variant is the least significant component(s) of a locale: lang_COUNTRY_variant . Wicket adds style and variation (right?) so maybe only these

Re: a bit of topic but i couldnt resist ....

2009-03-04 Thread Brill Pappin
if "xxx" is a mutable Set then it should work. However you have to be careful about how you remove elements from the collection you working with, depending on your you do it, you'll get an exception about concurrent modification. - Brill On 3-Mar-09, at 5:44 PM, Johan Compagner wrote: I

Re: Question re: style and variation

2009-03-04 Thread Brill Pappin
I like the brackets for clarity, but wouldn't that cause some filesystems to have trouble with the files? - Brill On 3-Mar-09, at 5:57 PM, Ned Collyer wrote: IMO, the brackets approach works because it clearly separates each of the sections. It is a bit ugly, but its still simple. Can'

Re: VOTE: Remove ? extends from constructor of DropDownChoice

2009-03-03 Thread Brill Pappin
n, Mar 2, 2009 at 12:19 PM, James Carman wrote: I vote -0.99 on this (non-binding of course). I'd vote +1 to making ListView accept List rather than making DDC less flexible. On Mon, Mar 2, 2009 at 3:11 PM, Brill Pappin wrote: Ok, as suggested, here is the thread, and the first vote. +1

Re: VOTE: Remove ? extends from constructor of DropDownChoice

2009-03-03 Thread Brill Pappin
Might as well merge the two then... I did do a quick check to see if there was another ticket, but obviously a bit too quick :) - Brill Pappin On 2-Mar-09, at 3:15 PM, Igor Vaynberg wrote: have you seen this thread? looks like someone beat you to it. [vote] In Wicket 1.4 and onwards

VOTE: Remove ? extends from constructor of DropDownChoice

2009-03-02 Thread Brill Pappin
, Feb 28, 2009 at 3:33 PM, Brill Pappin wrote: I'm of the don't widen it camp anyway :) So how do I go about gathering support for having the DropDownChoice work with the models the way everything else does? - Brill On 28-Feb-09, at 1:42 AM, Igor Vaynberg wrote: yes, the choice w

Re: bad practice in sharing models between wicket form and hibernate?

2009-02-28 Thread Brill Pappin
I do it all the time. Its transient anyway unless you actually persist or merge it (unless your entity beans handle persistence on change themselves). Actually, I typically have a form data object, one of the fields being the entity I'm creating. I usually do that so that custom values can

Re: DropDownChoice always sets its model to null

2009-02-28 Thread Brill Pappin
I think your issue is with the way you set it up. It looks to me as if your DropDownChoice is isolated from your data model so that when the form submits you getting the property set to null, which it is in the input. could of things to try: - use a property model for the form model. - name

Re: using a model with DropDownChoice

2009-02-28 Thread Brill Pappin
it is all the way, some users complained so we widened it on the choices model, we cannot widen it on the main model. -igor On Fri, Feb 27, 2009 at 8:51 PM, Brill Pappin wrote: I see... but this would i think because Bar "is a" Foo: class Bar exends Foo {} List list = ... list.add

Re: using a model with DropDownChoice

2009-02-27 Thread Brill Pappin
way, I think they should be the same. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Feb 26, 2009 at 8:27 PM, Brill Pappin wrote: Roughly what I'm doing is: class TypeA{} class TypeAModel extends LoadableDetachableModel< List> { public List loa

Re: What IDE best fits with Wicket?

2009-02-27 Thread Brill Pappin
ugh it has some flaws, it works very good with maven Brill Pappin wrote: What are you using instead? - Brill On 24-Feb-09, at 12:45 PM, James Carman wrote: +1! We had an awful lot of trouble getting it to work for us. On Tue, Feb 24, 2009 at 12:38 PM, Martijn Dashorst wrote: m2eclips

Re: m4eclipse Plugin -- Was: What IDE best fits with Wicket?

2009-02-27 Thread Brill Pappin
at the q4e plugin was going into Eclipse, however I now see that the m4eclipse plugin is becoming an official plugin: http://www.eclipse.org/m2e/ - Brill Pappin On 27-Feb-09, at 2:38 AM, Emond Papegaaij wrote: That is the plugin Martijn is talking about, and I am one of the co- workers he mentione

Re: using a model with DropDownChoice

2009-02-26 Thread Brill Pappin
unknown object must be assignable to Foo (although I could be wrong about that). - Brill Pappin On 26-Feb-09, at 11:50 PM, Igor Vaynberg wrote: collections are read only, it would be too inconvenient to make the model collection read only :) -igor On Thu, Feb 26, 2009 at 8:34 PM, Jeremy Th

Re: using a model with DropDownChoice

2009-02-26 Thread Brill Pappin
Now... my generics are a bit hazy at this level, because I can understand why it was done that way... does anyone with more generics experience know what it should be? Is this a bug that needs filing? - Brill On 26-Feb-09, at 6:03 PM, Kaspar Fischer wrote: On 26.02.2009, at 22:52, Brill P

using a model with DropDownChoice

2009-02-26 Thread Brill Pappin
For some reason the DropDownChoice component doesn't have the same generics as ListView and it will not accept a model that listview will, despite its saying that it will accept an IModel. Is anyone else having that sort of trouble with DropDownChoice? - Brill -

Re: Application.CONFIGURATION

2009-02-26 Thread Brill Pappin
so have I, as I think most developers have... :) - Brill On 26-Feb-09, at 2:18 PM, James Carman wrote: On Thu, Feb 26, 2009 at 11:11 AM, Brill Pappin wrote: But don't you run the risk of deploying a development version to production by mistake? If you simple start the contain

Re: need some help with why a setResponsePage renders twice in a custom component

2009-02-26 Thread Brill Pappin
Of course, no sooner do I post this, i find the problem. Since I dumped code on you folks, here is the working replacement in case anyone has a need for this. - Brill On 26-Feb-09, at 11:38 AM, Brill Pappin wrote: I've got a custom component based on the TabPanel where inste

need some help with why a setResponsePage renders twice in a custom component

2009-02-26 Thread Brill Pappin
I've got a custom component based on the TabPanel where instead of updating the panel content it actually calls a setResponsePage(Page). However after setting the first tab, a click on any other tab renders the new page just fine except that the page for tab 0 is also rendered, and I mean t

Re: What IDE best fits with Wicket?

2009-02-26 Thread Brill Pappin
it I have all flexibility necessary to do this kind of thing. What is your opinion? Thanks, Eduardo S. Nunes On Tue, Feb 24, 2009 at 3:17 PM, Marcelo Morales wrote: On Tue, Feb 24, 2009 at 12:55 PM, Brill Pappin wrote: If your on Netbeans, I think Maven will generate Netbeans project files fo

Re: What IDE best fits with Wicket?

2009-02-26 Thread Brill Pappin
-workers) with m2eclipse is that it is far from ready for prime time. Martijn On Tue, Feb 24, 2009 at 5:55 PM, Brill Pappin wrote: I should add something about the Eclipse maven plugins... don't go for the official eclipse Q4 plugin... use the "Maven Integration 4 Eclipse" plugi

Re: What IDE best fits with Wicket?

2009-02-26 Thread Brill Pappin
build env. I guess people's experience with various tools also depends a lot on *how* they work not just what they work with :) - Brill Pappin On 24-Feb-09, at 12:38 PM, Martijn Dashorst wrote: m2eclipse is absolutely worthless for anything beyond a quickstart. It is constantly reparsing p

Re: Application.CONFIGURATION

2009-02-26 Thread Brill Pappin
ary On Tue, Feb 24, 2009 at 7:03 PM, Brill Pappin wrote: Already answered the static field thing... but just curious why you think its better to have modify your source tree just to switch from dev to prod? Wouldn't your dev/qa/deploy cycle be simpler if you didn't have to modi

Re: Application.CONFIGURATION

2009-02-24 Thread Brill Pappin
Already answered the static field thing... but just curious why you think its better to have modify your source tree just to switch from dev to prod? Wouldn't your dev/qa/deploy cycle be simpler if you didn't have to modify the source? - Brill pappin On 24-Feb-09, at 10:49 AM,

Re: Application.CONFIGURATION

2009-02-24 Thread Brill Pappin
servers to get what I need... if I did that in code, I'd still have to have some sort of switch to put it onto dev or prod mode... so why bother? - Brill Pappin On 24-Feb-09, at 7:35 AM, Eyal Golan wrote: Hi, It's been a long time since I've written in this mailing list. Here&#

Re: What IDE best fits with Wicket?

2009-02-24 Thread Brill Pappin
Oh nice... I was just thinking that it would be nice to have a plugin that would rename the html files when i renamed the class... I hadn't tried Wicket Bench yet... Guess what I'm doing today? - Brill On 23-Feb-09, at 5:40 PM, Vit Rozkovec wrote: But in the eclipse version 3.4 when renam

Re: What IDE best fits with Wicket?

2009-02-24 Thread Brill Pappin
tbeans, I think Maven will generate Netbeans project files for you as well (it will do so for eclipse), so you could actually flip back and forth if you wanted. - Brill Pappin On 23-Feb-09, at 5:19 PM, Pierre Goupil wrote: +1, I like Wicket Bench. And with M2Eclipse, you have the full so

Re: What IDE best fits with Wicket?

2009-02-23 Thread Brill Pappin
your choices are pretty limited based on criteria... however I'm an Eclipse fan. I use Eclipse with maven2... - Brill On 23-Feb-09, at 2:19 PM, Eduardo Nunes wrote: Hello guys, I don't want to generate a flame war but I want to know your opinion about what IDE best fits with Wicket? The b

Re: Storing user entity in session?

2009-02-23 Thread Brill Pappin
Jumping in here part way through the thread, so apologies if you've covered this already. What we do is simply store a key that represents the user (and maybe a small amount of data that is accessed about the user on every page). In general we find that our persistence is much more reliable i

Re: onLoad never fires -- is there a bug in 1.4?

2009-02-21 Thread Brill Pappin
ed and fixed it But there is another bug mentioned in comment #72 https://bugzilla.mozilla.org/show_bug.cgi?id=444322 #c72 which might be similar to this problem (even mentions using an alert will cause the problem to appear) Brill Pappin wrote: Addendum to my last: Apparently the simple

Re: WML + Wicket experiences?

2009-02-21 Thread Brill Pappin
We used Shrinkray recently. http://www.shrinkraywireless.com/ - Brill On 21-Feb-09, at 5:18 PM, Martin Makundi wrote: I am experiencing serious problems with the redirects.. sometimes I can browse fine, but at other times the session is abruptedly terminated when the wap device fails to handle

Re: onLoad never fires -- is there a bug in 1.4?

2009-02-21 Thread Brill Pappin
using this method of capturing onLoad events? - Brill On 21-Feb-09, at 2:14 PM, Brill Pappin wrote: I have a panel with which I'm implementing IHeaderContributor and the following code: @Override public void renderHead(IHeaderRespons

onLoad never fires -- is there a bug in 1.4?

2009-02-21 Thread Brill Pappin
I have a panel with which I'm implementing IHeaderContributor and the following code: @Override public void renderHead(IHeaderResponse response) { response.renderOnLoadJavascript("alert('test')"); } ... which output in the HTML: ... script>

Re: Depricated HeaderContributor.forJavaScript?

ou can use: JavascriptPackageResource.getHeaderContribution(..). Martijn On Sat, Feb 21, 2009 at 5:17 PM, Brill Pappin wrote: It seems that in 1.4-SNAPSHOT "HeaderContributor.forJavaScript" among other is deprecated, but I am unable to find any documentation about what I should be using i

Depricated HeaderContributor.forJavaScript?

It seems that in 1.4-SNAPSHOT "HeaderContributor.forJavaScript" among other is deprecated, but I am unable to find any documentation about what I should be using instead. What is the replacement for the methods in HeaderContributor? - Brill --

Re: Status of Wicket-Security (SWARM and WASP)?

Every time I think I want to move up from wicket-auth-roles, I realize that its YAGNI and never do. that said, that are times when auth-roles is a pain, but thats always because its written so its not easily extendable. My advice would be "do you actually need such fine grained control over

intercept security check in wicket-auth-roles

I'm thinking of writing a new auth- roles based on the current lib, but I thought I'd ask first. ... and no, I don't want to use the other more complex security lib... auth-roles is very nice and simple to use and suita

Bug? RenderedDynamicImageResource.render only called once?

I understand for the documentation. Is this a bug or by design? If its by design, what *should* I be using instead? - Brill On 30-Jan-09, at 5:26 PM, Brill Pappin wrote: I have a RenderedDynamicImageResource thats rendering a barcode, however I'm having trouble with it in that it only ever render

RenderedDynamicImageResource being cached when i need it not to be

I have a RenderedDynamicImageResource thats rendering a barcode, however I'm having trouble with it in that it only ever renders one image per session. The resource has been added to: [Application].getSharedResources().add( CommonPage.class,

Re: strange 404 error

I'll take a look, but my QA says it's also happening with Tomcat 6. All in all, it's Wicket that actually has the problem. There is something wicket is doing with the URL/ session that is not what should be happening. - Brill Pappin Sent from my mobile. On 17-Dec

Re: strange 404 error

For us its consistent and predictable... it always happens when the session has expired. - Brill Pappin On 17-Dec-08, at 12:26 PM, Adriano dos Santos Fernandes wrote: I'm having similar errors (not 404, but internal error, sorry but do not have stack trace right now, and is not a

strange 404 error

solve this? - Brill Pappin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: PageParameters

o you don't need to discard anything). - Brill On 11-Aug-08, at 11:33 AM, Igor Vaynberg wrote: then, unfortunately, you have to perform the conversion yourself all the time, which is quiet annoying. -igor On Mon, Aug 11, 2008 at 8:24 AM, Brill Pappin <[EMAIL PROTECTED]> wrote: ok...

Re: PageParameters

esentation that I don't want... if it's explicitly then you always know exactly what is going in/out. IMO. - Brill Pappin On 11-Aug-08, at 11:07 AM, Igor Vaynberg wrote: wicket provides convinience methods for working with strings, eg a method to automatically convert a string t

Re: PageParameters

I agree on the generics front... however are not the params supposed to be strings? or do they represent request parameters as well as page attributes? If they are representing both, maybe they should be separated. - Brill On 8-Aug-08, at 12:59 PM, Uwe Schäfer wrote: ok, maybe there was too

modify an arbitrary dom element

I have a case where I want to modify the css class of the dom element that contains the component I'm working with. I found the wiki page: http://cwiki.apache.org/WICKET/how-to-modify-an-attribute-on-a-html-tag.html but that will allow me to modify the component only. Specifically what I'm doi

Re: Turn off SWARM

I like that, nice and clean. you could use the: if (Application.DEPLOYMENT.equals(getConfigurationType())) {} as I do for auth-roles as well. - Brill On 6-Aug-08, at 7:42 PM, Igor Vaynberg wrote: just do something like this in your login page's constructor: if (system.getproperty("autologin")

Re: Turn off SWARM

I'm not sure how Swarm works (I'm still using the simple auth-roles and have no need for anything more) but maybe you can use the same trick. In my Application I simply check if I'm running in development mode, and switch out the normal authentication mechanism for a "fake" one that will al

Re: MathML in wicket

Check the char encoding... it might actually be working properly but somewhere along the line the wrong encoding is being used. - Brill On 6-Aug-08, at 1:51 PM, mdossing wrote: Hi, I am undergoing a project that involves outputting MathML to wicket pages. I use a custom label that outp

Re: Comparing JSF and Wicket

here is a comparison http://ptrthomas.wordpress.com/2007/05/14/a-wicket-user-tries-jsf/ - Brill On 6-Aug-08, at 5:36 AM, greeklinux wrote: Hello, maybe you read this already: http://www.nabble.com/Questions-about-GWT%2C-JSF-and-Wicket-to12875910.html#a12875910 http://www.nabble.com/JSF%3A-

Re: Wicket + Hibernate without Spring and Databinder

o tie your models to Spring at all, really. Perhaps the @SpringBean annotation should have been @Inject or something and we should have been able to supply different "injector" implementations (Guice, HiveMind, custom, etc.). On Tue, Aug 5, 2008 at 11:11 AM, Brill Pappin <[EMAIL PROTECTE

Re: Wicket + Hibernate without Spring and Databinder

Some people (myself included) think Spring is evil incarnate. (I can get into why if you actually care). So, I also will eventually want to use the models without spring. If it's not possible, then we anti-spring folks are going to have to come up with some other way. - Brill Pappin

Re: FusionCharts - How to

to wicket pages. Please help. Thanks. cresc Brill Pappin wrote: I just integrated OpenFlashCharts by using the example for flash in the knowledge base. It wasn't hard although a recent package rename has broken it (have to sort out what went on there). For the data that the chart req

Re: FusionCharts - How to

I just integrated OpenFlashCharts by using the example for flash in the knowledge base. It wasn't hard although a recent package rename has broken it (have to sort out what went on there). For the data that the chart requests, you simple override the request target. Search the list for "raw

Re: UploadProgressBar detect size before in action

You might be able to do that with some sort of ajax'y script in the browser (but I don't think so). The problem is essentially that until you submit the page, the server will know nothing about the form component (that stateless thing again). - Brill On 30-Jul-08, at 5:11 PM, cindyvr wrote:

Re: How to get the remote address (IP)

That's an unpopulated (not localhost) ipv6 address. - Brill On 29-Jul-08, at 6:35 AM, Kaspar Fischer wrote: I try to obtain the client's remote address from the session: WebClientInfo info = (WebClientInfo) session.getClientInfo(); final String remoteAddress = info.getProperties().getRemote

Re: Using same navigator on top and bottom of page.

From what i understand, you have the right code with two different components. Can you make a custom model that can handle the sync? - Brill On 28-Jul-08, at 3:01 PM, Daniel Freitas wrote: Hello guys. I searched the list for answers on this but couldn't find any. Is there a way to show a Pa

Re: serving raw bytes from dynamic files

iki. i have plans on making this much better in 1.5, right now it feels kludgy. -igor On Sun, Jul 27, 2008 at 12:58 PM, Brill Pappin <[EMAIL PROTECTED]> wrote: I'd then be circumventing the security architecture... I'm thinking that it would be better to handle all parts through Wic

Re: serving raw bytes from dynamic files

5 PM, Igor Vaynberg wrote: why not use a servlet? -igor On Sun, Jul 27, 2008 at 9:33 AM, Brill Pappin <[EMAIL PROTECTED]> wrote: I've run into a bit of code that I'm not sure how to deal with (or am not sure what the wicket way would be). I need to be able to serve raw bytes

serving raw bytes from dynamic files

I've run into a bit of code that I'm not sure how to deal with (or am not sure what the wicket way would be). I need to be able to serve raw bytes from dynamic files in the system. Think of it as a managed file download (although not exactly). In a plain old servlet this would be fairly trivi

<    1   2   3   >