Re: Extensible wicket application

2009-03-22 Thread Ernesto Reinaldo Barreiro
Hi Daniel, Comments in-lined. On Sat, Mar 21, 2009 at 10: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 :) You are welcome. Regarding the images problem: I think I did not

Re: Extensible wicket application

2009-03-22 Thread Brill Pappin
I'm assuming your using the 1.4 snapshot... I think that images will be relative to the component (or at least one if them up the tree). The image component uses a resource that will use the arc attribute to look for the images, so if the arc attribute is bogus, then one of the other

Feedback panel problem

2009-03-22 Thread Eyal Golan
Hello, I am working on a code that someone wrote more than a year ago. (We have Wicket legacy code already :) ) In the page, there's a FeedbackPanel. In the constructor, there are some validations. If a validation fails, we put it in the feedback panel using error(...) . When opening the page we

load html according to page parameters

2009-03-22 Thread Vitek Tajzich
Hi, I would like to load HTML according to page parameters. So If I get as page parameter page1 a need to get page1.html or page1_en.html and so on... Any guess? thank you, Vitek

Re: Wicketstuff Core Dependency Management...

2009-03-22 Thread James Carman
Well, I went ahead and checked in my changes to the pom files to fix this issue. I would urge all of the project owners out there to make sure everything looks okay to them. I did change one library's code to get stuff working. One library was directly using the Log4J API for logging and I

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 John Krasnay
Works fine for me without any special configuration. I use the Eclipse JEE version and HTML files come up in the HTML Editor. Check which editor is associated with *.html files under Window Preferences, then under General/Editors/File Associations. Eclipse remembers the last editor you used to

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 Igor Vaynberg
if you get this error then you are screwed whether the markup fles are in src/main/java or src/main/resources because they are both configured as classpath folders in eclipse. anyways, im using the latest 3.4 and dont have this problem. -igor On Sun, Mar 22, 2009 at 10:04 AM, Brill Pappin

Wicket-auth-roles + EJB 3 (Authentication and Authorization)

2009-03-22 Thread Barry van Someren
Hi all, I've been busy on a project of mine that uses Wicket 1.4 RC 2 as a frontend to a collection of EJB3 beans containing my business logic. As users of this application will be able to use webservices as well to use the application I'd also like to use authentication and more importantly

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 are

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

2009-03-22 Thread Thomas Mäder
Bill, if you have a stack trace in the log, we might take a stab at guessing the culprit (it's not often the base Eclipse tooling, but some add-on plugin). Thomas On Sun, Mar 22, 2009 at 9:18 PM, Brill Pappin br...@pappin.ca wrote: Hmm, I'll have to investigate. I *don't* get it when I have

Re: Why are we top-posting...

2009-03-22 Thread Thomas Mäder
Nazis! And now that this thread is dead, we can all go and enjoy our lives ;-) Thomas On Sun, Mar 22, 2009 at 6:50 AM, taha siddiqi tawushaf...@gmail.com wrote: Now you all get a gun and shoot me :) I got your point How many times No No No ..

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

2009-03-22 Thread Brill Pappin
Fund the culprit. The stack trace below suggests its MoreUnit (a handy little plugin particularly for those that use TDD) !ENTRY org.eclipse.ui.workbench 4 2 2009-03-22 19:08:25.463 !MESSAGE Problems occurred when invoking code from plug-in: org.eclipse.ui.workbench. !STACK 0

AjaxGoFilter

2009-03-22 Thread taha siddiqi
Hi I was working on AjaxFallbackDataTable and FilterForm. Although there is a GoFilter but there is no AjaxGoFilter. Am I missing something here ? Thankyou taha - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Wicket serialization problems for OSGi users

2009-03-22 Thread David Leangen
I know there have been a few people inquiring about this from time to time. I write about my experiences here, in the hope that this is helpful: http://bioscene.blogspot.com/2009/03/serialization-in-osgi.html Cheers, =David

handling not mounted URLs

2009-03-22 Thread Jan Kriesten
Hi, I've set up a Wicket application as ROOT with URL pattern /* and have some mounts on it. Now I want all unmounted stuff handled thru the Homepage-class (i.e. get the path-info for a redirect). Is there a way to do this? ATM, I get a 404 : /test/ was not found on this server. when calling

Re: handling not mounted URLs

2009-03-22 Thread Brill Pappin
what about setting up an error page using the standard servlet method that points to a wicket page? There are a few different ways you can capture errors: in the web.xml for instance you can use a construct something like (check the syntax): error-page

Re: handling not mounted URLs

2009-03-22 Thread Jan Kriesten
Hi Brill, what about setting up an error page using the standard servlet method that points to a wicket page? the point is: you will still get a 404 error code for the page (which the user/search engine shouldn't, since it's not an error). Best regards, --- Jan.

Re: handling not mounted URLs

2009-03-22 Thread Jeremy Thomerson
Can you mount another filter that, if Wicket does not respond, instead responds with either a valid page or a redirect back to a valid Wicket page? -- Jeremy Thomerson http://www.wickettraining.com On Mon, Mar 23, 2009 at 12:12 AM, Jan Kriesten kries...@mail.footprint.dewrote: Hi Brill,