handling static content

2007-10-28 Thread Brill Pappin
content? - Brill Pappin

conditionally including a div

2007-10-28 Thread Brill Pappin
the div if I don't need it in the content? Is there a non-html wicket tag I haven't found yet for adding a placeholder instead of the div? - Brill Pappin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

change the div attributes only, not the content?

2007-10-28 Thread Brill Pappin
How can I change *only* the div attributes (like style class) without changing the contents of the div? in this example: div class=aaa wicket:id=outter div wicket:id=innerthis should remain/div /div I want to change the css class from aaa to bbb, but not replace the inner html. - Brill

Jira issue moved to the list: constructors and init of components

2007-11-03 Thread Brill Pappin
the constructor calls. - Brill Pappin

strange error causing jetty to die without any real info

2007-11-05 Thread Brill Pappin
: Shutdown hook complete - Brill Pappin

Form: onSubmit not called

2007-11-06 Thread Brill Pappin
For some reason onSubmit is never called on a simple form. Has anyone seen this problem before? - Brill Pappin

Re: Form: onSubmit not called

2007-11-08 Thread Brill Pappin
Thats pretty much it. I had a date member of my bean and was using a text field to set it on post... of course since it didn't know the format I expected, it failed and because I didn't have a feedback panel, I couldn't see it (and nothing was coming out in the log). Although it was my own

Re: Form: onSubmit not called

2007-11-08 Thread Brill Pappin
Done: https://issues.apache.org/jira/browse/WICKET-1138 - Brill Eelco Hillenius wrote: Yeah. If you can open up a JIRA issue for it, we can think/ discuss what we could do here. -- View this message in context:

strange 404 error

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

Re: strange 404 error

2008-12-17 Thread Brill Pappin
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 always

Re: strange 404 error

2008-12-18 Thread Brill Pappin
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-08, at 3:25 PM

RenderedDynamicImageResource being cached when i need it not to be

2009-01-30 Thread Brill Pappin
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,

Bug? RenderedDynamicImageResource.render only called once?

2009-02-02 Thread Brill Pappin
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 renders one image per session

intercept security check in wicket-auth-roles

2009-02-20 Thread Brill Pappin
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 suitable for most applications. - Brill Pappin

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

2009-02-20 Thread Brill Pappin
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

Depricated HeaderContributor.forJavaScript?

2009-02-21 Thread Brill Pappin
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: Depricated HeaderContributor.forJavaScript?

2009-02-21 Thread Brill Pappin
: JavascriptPackageResource.getHeaderContribution(..). Martijn On Sat, Feb 21, 2009 at 5:17 PM, Brill Pappin br...@pappin.ca 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 instead. What

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: onLoad never fires -- is there a bug in 1.4?

2009-02-21 Thread Brill Pappin
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(IHeaderResponse response

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

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

2009-02-21 Thread Brill Pappin
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 alert case *is* working

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

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

Re: What IDE best fits with Wicket?

2009-02-24 Thread Brill Pappin
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 sources JavaDoc just

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

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's my question: I

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, Eyal Golan

Re: Application.CONFIGURATION

2009-02-26 Thread Brill Pappin
at 7:03 PM, Brill Pappin br...@pappin.ca 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 modify the source? - Brill

Re: What IDE best fits with Wicket?

2009-02-26 Thread Brill Pappin
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 poms, grinding eclipse to a halt

Re: What IDE best fits with Wicket?

2009-02-26 Thread Brill Pappin
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 marcelomorales.n...@gmail.com wrote: On Tue, Feb 24, 2009 at 12:55 PM, Brill Pappin br...@pappin.ca wrote: If your on Netbeans, I think Maven will generate Netbeans

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

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 instead

Re: Application.CONFIGURATION

2009-02-26 Thread Brill Pappin
chuckle 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 br...@pappin.ca wrote: But don't you run the risk of deploying a development version to production by mistake? If you simple start

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: using a model with DropDownChoice

2009-02-26 Thread Brill Pappin
... 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 Pappin

Re: using a model with DropDownChoice

2009-02-26 Thread Brill Pappin
be assignable to Foo (although I could be wrong about that). - Brill Pappin On 26-Feb-09, at 11:50 PM, Igor Vaynberg wrote: ? extends Foo 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

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

2009-02-27 Thread Brill Pappin
, 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 mentioned. I tried the m2eclipse plugin and used

Re: What IDE best fits with Wicket?

2009-02-27 Thread Brill Pappin
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 martijn.dasho...@gmail.com wrote

Re: using a model with DropDownChoice

2009-02-27 Thread Brill Pappin
that the ? extends is the better option. Either 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 br...@pappin.ca wrote: Roughly what I'm doing is: class TypeA{} class TypeAModel extends LoadableDetachableModel

Re: using a model with DropDownChoice

2009-02-28 Thread Brill Pappin
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 br...@pappin.ca wrote: I see... but this would i think because Bar is a Foo: class Bar exends Foo {} List? extends Foo list

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

VOTE: Remove ? extends from constructor of DropDownChoice

2009-03-02 Thread Brill Pappin
, Brill Pappin br...@pappin.ca 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 was intentional

Re: VOTE: Remove ? extends from constructor of DropDownChoice

2009-03-03 Thread Brill Pappin
at 12:19 PM, James Carman jcar...@carmanconsulting.com wrote: I vote -0.99 on this (non-binding of course). I'd vote +1 to making ListView accept List? extends T rather than making DDC less flexible. On Mon, Mar 2, 2009 at 3:11 PM, Brill Pappin br...@pappin.ca wrote: Ok, as suggested, here

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.

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: Is

Re: Question re: style and variation

2009-03-04 Thread Brill Pappin
, 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 components

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: VOTE: Remove ? extends from constructor of DropDownChoice

2009-03-04 Thread Brill Pappin
-0500, Brill Pappin wrote: I'd hate to be prevented from doing so simply because someone wanted to lock down an API that didn't really need locking down. You are wrong. *Widening* a collection is the exact opposite of locking down. If you want to have some fancy (read hacky) write access

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

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

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

Re: Question re: style and variation

2009-03-04 Thread Brill Pappin
one without the other, or both. -igor On Wed, Mar 4, 2009 at 6:58 AM, Brill Pappin br...@pappin.ca 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 really need a new format

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

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-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: 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

Re: counting/summing items in a list view

2009-03-11 Thread Brill Pappin
:) 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 ListView...(myListView, yModel

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

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

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

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

2009-03-12 Thread Brill Pappin
don't see a reason not to. I'm not sure how many 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 br...@pappin.ca wrote: https://issues.apache.org/jira/browse/WICKET-2137

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

2009-03-12 Thread Brill Pappin
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 br...@pappin.ca wrote: This is an attempt to bring the dropdown and listview into sync

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

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

2009-03-12 Thread Brill Pappin
a reason not to. I'm not sure how many 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 br...@pappin.ca wrote: https://issues.apache.org/jira/browse/WICKET-2137 - Brill

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

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-15 Thread Brill Pappin
chuckle 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

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,

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.

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

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 of 1.3

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 br...@pappin.ca 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

Re: Wicket Problems On Ubuntu

2009-03-17 Thread Brill Pappin
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 wrote: Hi

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

2009-03-17 Thread Brill Pappin
in that case). I'm not sure why you would want 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 lvd...@heritageagenturen.nl: It sounds like you want something like

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 problem

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

2009-03-18 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 18-Mar-09, at 4

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

2009-03-19 Thread Brill Pappin
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 18-Mar-09, at 4:19 PM, Trent Larson wrote

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

2009-03-19 Thread Brill Pappin
-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 br...@pappin.ca wrote: With Maven, non compiled files should be in src/main/resources The quickstart archetype actually does the *wrong* thing and puts

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

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

2009-03-20 Thread Brill Pappin
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 br...@pappin.ca

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

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:

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

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

2009-03-20 Thread Brill Pappin
Now there is a sensible argument! I've been thinking of doing that exact thing for clarity as the project gets big, where the integral HTML files that have a 1:1 relationship to the code stay in the src/main/java and the other resources that are *not* required for operation (like the

Re: Making wicket work with Dynamically created html

2009-03-20 Thread Brill Pappin
Hmm... what about a custom locator/loader that simply gave back the html version of the XML when wicket asked for it? You could even insert the wicket id attributes into the stream if your XML knew about them, then allow Wicket to go through its normal process. I don't think anything here

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

2009-03-20 Thread Brill Pappin
gotten a bit emotional and mixed up with several different discussions (which is likely my doing). - Brill On 21-Mar-09, at 1:29 AM, James Carman wrote: On Sat, Mar 21, 2009 at 1:15 AM, Brill Pappin br...@pappin.ca wrote: In fact there have been several instances where having the resources

Re: Diference between model's

2009-03-20 Thread Brill Pappin
I'm likely not the correct person to answer this clearly, but I'm sure someone will correct me if I get it wrong :) Essentially the Loadable version has the load() method which is called when the model must be initialized from some other source (as in from a database when you always want

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

2009-03-20 Thread Brill Pappin
Ahh... yes of course. I was hoping for a switch that would put the html there as well, and not include the extra resource config :) Oh well... its not too big a deal. - Brill On 21-Mar-09, at 1:44 AM, James Carman wrote: On Sat, Mar 21, 2009 at 1:35 AM, Brill Pappin br...@pappin.ca wrote

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

2009-03-21 Thread Brill Pappin
Laugh. Don't start that now! - Brill Pappin Sent from my mobile. On 21-Mar-09, at 3:23 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: the real question is, where do the ant folks keep their resources? :) -igor On Fri, Mar 20, 2009 at 10:58 PM, Brill Pappin br...@pappin.ca wrote

Re: wicket-jasper UI

2009-03-21 Thread Brill Pappin
Oh nice! I was just contemplating how I was going to integrate jasper. Thanks for the heads up. - Brill Pappin Sent from my mobile. On 21-Mar-09, at 6:38 AM, freak182 eman.noll...@gmail.com wrote: Hello, I just wanna share this simple project called wicket-jasper. It is basically

Re: Wicketstuff Core Dependency Management...

2009-03-21 Thread Brill Pappin
Actually that might mess up the rest of us :) If you need those lobs to be includes, simply add them to you pom and change their scope so they are included... The build should then override the provided scope in the parent. - Brill Pappin Sent from my mobile. On 21-Mar-09, at 9:01 AM

Re: Extensible wicket application

2009-03-21 Thread Brill Pappin
and use the base page to ref them or even create a loader to manage them. Ether way, you use them the same way, only prefix the resource name with the subdir if you have separated them out. As for your db error, that looks like something out side the scope of wicket. - Brill Pappin Sent

Re: Wicketstuff Core Dependency Management...

2009-03-21 Thread Brill Pappin
that, Brill. That's the whole point. Breaking transitive dependency resolution is a bad thing in the maven world. We're handing dependencies the wrong way if we're breaking stuff. On Sat, Mar 21, 2009 at 11:07 AM, Brill Pappin br...@pappin.ca wrote: Actually that might mess up the rest of us

Re: Extensible wicket application

2009-03-21 Thread Brill Pappin
, Brill Pappin br...@pappin.ca wrote: At the risk of starting another useless thread, this is what I do for images and other non HTML resources that are shared: - if the project is small, they can just sit with the HTML. - if the project is larger then it might be useful to keep them more separate

Re: Extensible wicket application

2009-03-22 Thread Brill Pappin
methods of locating it better be correct. - Brill Pappin Sent from my mobile. On 21-Mar-09, at 5:29 PM, Daniel Dominik Hol├║bek dankodo...@gmail.com wrote: Ernesto, thank you very much :) If my application ever goes to the production, it will be thanks to you :) Regarding the images

Re: load html according to page parameters

2009-03-22 Thread Brill Pappin
I think for that you might try setting the variation based on the parameter. This would allow you to load different HTML content using the standard mechanism. - Brill On 22-Mar-09, at 7:17 AM, Vitek Tajzich wrote: Hi, I would like to load HTML according to page parameters. So If I get

Gravatar image component, help with urls

2009-03-22 Thread Brill Pappin
I'm creating a new component to access Gravatar (see: http://en.gravatar.com/) . I wanted to just extend the components the make Image work, because I wanted it to work just like an Image and fall back to a standard image if the Gavatar image was not present. Unfortunately almost everything

eclipse and html extensions in src/main/java

2009-03-22 Thread Brill Pappin
So eclipse is having trouble with the html extension files in the java source directory. I set up a demo for Wicket Skunkworks to demo the components we're working on, and I used the standard wicket pattern of putting the html alongside the java in order to make things clearer to how must

Re: eclipse and html extensions in src/main/java

2009-03-22 Thread Brill Pappin
I get the HTML editor as well but I also get some dialog popping up when I load the HTML from the src. I just updates to the latest this morning, so maybe there is something new. - Brill Pappin Sent from my mobile. On 22-Mar-09, at 12:38 PM, John Krasnay j...@krasnay.ca wrote: Works

Re: eclipse and html extensions in src/main/java

2009-03-22 Thread Brill Pappin
Hmm, I'll have to investigate. I *don't* get it when I have it set up with the HTML in the resourses folder. - Brill Pappin Sent from my mobile. On 22-Mar-09, at 1:58 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: if you get this error then you are screwed whether the markup fles

  1   2   3   >