SVG mime-type incorrect

2013-07-30 Thread Chris Snyder
with my subclass, but I verified that it also exists when using the standard Image class. Thanks in advance for your help! -Chris Snyder -- Chris Snyder Web Developer, BioLogos 616.328.5208 x203 biologos.org

Re: SVG mime-type incorrect

2013-07-30 Thread Chris Snyder
included in my first email: I'm using Wicket 6.9.1, using the Jetty server referenced in the quickstart. Thanks, Chris -- Chris Snyder Web Developer, BioLogos 616.328.5208 x203 biologos.org On Jul 30, 2013, at 13:06, Martin Grigorov mgrigo...@apache.org wrote: Hi, You can override

Re: SVG mime-type incorrect

2013-07-30 Thread Chris Snyder
However, just above that (line 122) it gets the contentType from the URLConnection, which returns application/xml. Since streamData.contentType is not null, it never gets to line 126. Thanks so much for your help! -Chris -- Chris Snyder Web Developer, BioLogos 616.328.5208 x203 biologos.org

Re: SVG mime-type incorrect

2013-07-30 Thread Chris Snyder
(URLConnection.guessContentTypeFromStream(getClass().getResourceAsStream(test.svg))); Thanks, Chris -- Chris Snyder Web Developer, BioLogos 616.328.5208 x203 biologos.org On Jul 30, 2013, at 13:52, Martin Grigorov mgrigo...@apache.org wrote: This is nasty indeed! According to http://grepcode.com/file

Re: SVG mime-type incorrect

2013-07-30 Thread Chris Snyder
just getting into Wicket programming, and am very impressed with the helpfulness of the community. Thanks, Chris -- Chris Snyder Web Developer, BioLogos 616.328.5208 x203 biologos.org On Jul 30, 2013, at 14:23, Martin Grigorov mgrigo...@apache.org wrote: You are right. It tries with getHeaderName

Re: Prefixing CDN URL to resources base path

2013-12-13 Thread Chris Snyder
I'm planning to do something similar. In my searches, I came across the following: http://blog.55minutes.com/2012/01/simplecdn-and-the-newly-released-fiftyfive-wicket-32/ I haven't tried it yet, but it seems like a solid idea. -Chris Snyder On Fri, Dec 13, 2013 at 9:26 AM, Arjun Dhar dhar

Re: Nested Forms

2014-01-10 Thread Chris Snyder
Nested form elements (what I'm assuming you're referring to) aren't allowed, per the HTML spec: http://www.w3.org/TR/html5/forms.html I wouldn't expect Wicket to follow any kind of predictable behavior (especially since different browsers likely exhibit different behaviors themselves). Best,

Re: Show textfield as plaintext when disabled?

2014-03-01 Thread Chris Snyder
I also ended up going the panel route for this. An alternative - perhaps a bit cludgy - would be to style the input fields as plain text using CSS (remove the border outline, alter the padding, etc.). -Chris On Sat, Mar 1, 2014 at 6:35 AM, Andrea Del Bene an.delb...@gmail.comwrote: Hi, l've

Re: Show textfield as plaintext when disabled?

2014-03-03 Thread Chris Snyder
of completely replacing the HTML element is that all other behavior remains as expected. The field is still submitted with the form etc. -Stijn -Original Message- From: Chris Snyder [mailto:chris.sny...@biologos.org] Sent: zaterdag 1 maart 2014 17:54 To: Wicket users mailing list mailing

Best practice for updating JPA object without persisting changes

2014-03-05 Thread Chris Snyder
I'm dealing with an issue that I'm sure has been solved by many people on this list, but I'm struggling to ascertain the best way to solve it. I'm working on implementing in-place-edit functionality for some of our site content. The content is stored in a database and mapped via JPA. The edit

Re: Best practice for updating JPA object without persisting changes

2014-03-05 Thread Chris Snyder
PersistFilter, yet. May I miss something... kind regards Patrick Am 05.03.2014 12:47, schrieb Chris Snyder: I'm dealing with an issue that I'm sure has been solved by many people on this list, but I'm struggling to ascertain the best way to solve it. I'm working on implementing in-place

Re: Best practice for updating JPA object without persisting changes

2014-03-05 Thread Chris Snyder
between preview and saved. And that would help the programmer that picks this code up a half year from now. My 2 cents. Best, Haiko Chris Snyder chris.sny...@biologos.org schreef: I'm dealing with an issue that I'm sure has been solved by many people on this list, but I'm struggling

Re: Best practice for updating JPA object without persisting changes

2014-03-05 Thread Chris Snyder
.42lines.net/2011/12/01/simplifying-non-trivial-user-workflows-with-conversations/ -igor On Wed, Mar 5, 2014 at 3:47 AM, Chris Snyder chris.sny...@biologos.org wrote: I'm dealing with an issue that I'm sure has been solved by many people on this list, but I'm struggling to ascertain

Re: The wicket way of getting application base URL

2014-03-13 Thread Chris Snyder
. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Chris Snyder Web Developer, BioLogos biologos.org

Re: Introducing Croquet: Combining Wicket, Jetty, Hibernate, and Guice

2014-04-09 Thread Chris Snyder
Looks like awesome work - very clean page design and excellent documentation, and I'm sure that the quality extends to the code as well. I'll definitely be looking into this for my next project, if not porting some of my current ones. When using Croquet, how easy would it be to drop in a

Re: Introducing Croquet: Combining Wicket, Jetty, Hibernate, and Guice

2014-04-14 Thread Chris Snyder
, and never had issues with it... just curious why you'd like to use something else. Also, patches/pull requests are always happily accepted :-) Thanks for checking it out... Bill- On Wed, Apr 9, 2014 at 1:05 PM, Chris Snyder chris.sny...@biologos.org wrote: Looks like awesome work - very

Re: Introducing Croquet: Combining Wicket, Jetty, Hibernate, and Guice

2014-04-15 Thread Chris Snyder
to populate POJOs. Thoughts? Bill- P.S. We should probably take this off the Wicket list if folks want to continue discussing... On Mon, Apr 14, 2014 at 9:03 AM, Chris Snyder chris.sny...@biologos.org wrote: Thanks for the reply - no worries on the delay