Re: The Apache Software Foundation Announces Apache Wicketâ„¢ 6.0.0

2012-09-05 Thread Michael M
Congratulations, and thank you! 2012/9/5 Martijn Dashorst > "With great pleasure we announce the availability of Apache Wicket 6.0.0" > -- Martijn Dashorst, Vice President, Apache Wicket > > Apache Wicket v6.0.0 is the 6th major release of the popular open > source Java web framework. Numerous e

Re: i18n/l10n XML file not recognized in Wicket 6.0.0-beta3?

2012-08-24 Thread Michael M
> > Sven > > Michael M schrieb: > > >Hi, need to use an XML file for localization in my application. However, > >Wicket is just not recognizing an XML file for this. > > > >I did the XML structure exactly like in the examples, proper UTF-8 > >encoding, pro

i18n/l10n XML file not recognized in Wicket 6.0.0-beta3?

2012-08-24 Thread Michael M
Hi, need to use an XML file for localization in my application. However, Wicket is just not recognizing an XML file for this. I did the XML structure exactly like in the examples, proper UTF-8 encoding, proper doctype for Java properties. I copied the examples into a newly created UTF-8 text file

Re: ResourceStreamResources stream multiple times when ResourceLink clicked once

2012-08-17 Thread Michael M
plemented now looks like a bug. > > Sven > > > > On 08/17/2012 06:19 PM, Michael M wrote: > >> Is it possible that it's a bug that the stream gets requested multiple >> times? Or if it is by design, why? I can't see a reason for it. >> >&g

Re: ResourceStreamResources stream multiple times when ResourceLink clicked once

2012-08-17 Thread Michael M
m Ektorp is not serializable, I get errors if I try that. As far as my knowledge goes I see myself with no option left.. 2012/8/17 Michael M > Thanks for the idea, but I can't do that. That would make my resources > static and all attachments would be loaded at page load. I did that

Re: ResourceStreamResources stream multiple times when ResourceLink clicked once

2012-08-17 Thread Michael M
urceStreamResource#**getResourceStream() is called > multiple times. > > Probably easiest is to create the resource stream in > CouchDbAttachmentStreamResourc**e's constructor and pass it to super. > > Sven > > > On 08/17/2012 05:28 PM, Michael M wrote: > >> Hi, &

Re: ResourceStreamResources stream multiple times when ResourceLink clicked once

2012-08-17 Thread Michael M
the InputStream in > CouchDbResourceStream#**getInputStream() instead of the constructor. > > Sven > > > On 08/17/2012 04:25 PM, Michael M wrote: > >> Hi, short question this time: I have several ResourceLinks to >> ResourceStreamResources on a page. When I click on one of those links,

Re: Need some help creating dynamic resources from database-inputstream please!

2012-08-16 Thread Michael M
om the database when the ResourceLink is clicked. However, I get huge stacks of exceptions now: *java.lang.IllegalStateException: Header was already written to the resonse!* * * Here is an example, I get lots of those: http://pastebin.com/5LuDqp5a Thanks! I'm almost there I think :) 2012/8/1

Re: Need some help creating dynamic resources from database-inputstream please!

2012-08-16 Thread Michael M
tream() { > // return my stream somehow > } > } doesn't work anymore if I'm not mistaken. Appreciate your help so far! 2012/8/16 Michael M > Hi, thanks for for quick answer! I already played around with > ResourceStreams, but my problem was that I couldn't do

Re: Need some help creating dynamic resources from database-inputstream please!

2012-08-16 Thread Michael M
eResourceStream, and replace all File > related API to your CouchDB access. > > Sven > > Michael M schrieb: > > >Hi, in my project I use a CouchDB with files as attachments. Currently I > >have a page that makes those attachments available via a ResourceLink. > Wh

Need some help creating dynamic resources from database-inputstream please!

2012-08-16 Thread Michael M
Hi, in my project I use a CouchDB with files as attachments. Currently I have a page that makes those attachments available via a ResourceLink. What I do when creating that page is: - I read all attachments (I get them as an InputStream), - create a byte[] out of it, - create a static Wic

Re: Using Jasypt for URL encryption not working (Wicket 1.5.7)

2012-08-13 Thread Michael M
2012/8/12 Martin Grigorov > Hi, > > Put breakpoints in CryptoMapper's methods for encrypting and > decrypting and see what's wrong. > > On Sat, Aug 11, 2012 at 11:41 AM, Michael M wrote: > > Hi, short question: I'm trying to use Jasypt to encrypt my non-moun

Using Jasypt for URL encryption not working (Wicket 1.5.7)

2012-08-11 Thread Michael M
Hi, short question: I'm trying to use Jasypt to encrypt my non-mounted URLs. However, it doesn't seem to work, I get exceptions. After adding the dependency (jasypt-wicket15) I set up the Jasypt Crypt Factory as in the example on their site: http://www.jasypt.org/wicket.html (...) getSecuritySett

Re: Javascript in HTML -ta not working when Panel is used within a Wicket ModalWindow

2012-08-09 Thread Michael M
e panels I also won't have trouble with other content. 2012/8/9 Andrea Del Bene > On 08/09/2012 04:20 PM, Michael M wrote: > >> Hmm I really just tried this several times.. how can it be that different >> people get a different quick-start behavior? I created that quick s