Re: ssl post to creditor company

2008-04-30 Thread Jonas
I'm not familiar with your HttpClient class, but I have used java.net.HttpURLConnection as (very simple...) http client in the past, which can be instructed to follow redirects. You can create one of those using java.net.URL("http://whatever.com/";).openConnection(). You'll probably have to format/

Re: how can ..

2008-05-23 Thread Jonas
Have you looked in the wiki? http://cwiki.apache.org/WICKET/reference-library.html This might be what you're looking for: http://cwiki.apache.org/WICKET/seo-search-engine-optimization.html On Fri, May 23, 2008 at 9:46 AM, Tomasz Prus <[EMAIL PROTECTED]> wrote: > My boss wants such urls > > 2008/5

Re: Problem with Stress

2008-05-30 Thread Jonas
I've run into similar problems once, I think what fixed it was setting IMarkupSettings#setDefaultMarkupEncoding to utf-8 as well. If not set explicitly, the encoding of the os is used, which probably doesn't handle french accents correctly, e.g. if it's an english os. -

Re: Problem with Stress

2008-05-30 Thread Jonas
> does the actual http header also say this? afair having this line in the html isn't enough to have contents treated as utf-8 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-03 Thread Jonas
1) Generifying* Wicket [X] Can best be done in a limited fashion, where we only generify IModel but not components. I care more about what generifying can do for API clarity (declaring a component to only accept certain models for instance) than static type checking. 2) How strongly do you feel

Re: Select CheckGroup with Button instead of CheckGroupSelector

2008-01-23 Thread Jonas
I think if you add 'return false;' to your javascript, the button's default click action (submitting a form) isn't executed, so your DataTable doesn't get refreshed. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: Including dynamic JSP content in Wicket page

2008-02-12 Thread Jonas
> add(new Include("includedJSP", "user/include.jsp")); > > Using the this form always returns a null user object because the underlying > code in the Include class opens a new URL connection that has a different > session, so my user object is not available. I think you should be able to get into

Re: Support for

2008-03-17 Thread Jonas
To have more control over the options, you have to use org.apache.wicket.extensions.markup.html.form.select.Select There's a usage example in the javadoc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

User-defined variables in ConversionException

2007-09-11 Thread Jonas
to the few variables defined in FormComponent#convertInput(). I know I could override convertInput(), but I think user-defined variables would be a more elegant solution. What do you think? cheers, Jonas

Re: User-defined variables in ConversionException

2007-09-11 Thread Jonas
No opinions on that one? So, would anyone mind if I create a 'New Feature' Issue in JIRA? On 9/11/07, Jonas <[EMAIL PROTECTED]> wrote: > > Hi, > > wouldn't it make sense that you could set arbitrary variables > on a ConversionException that would also be set

Re: User-defined variables in ConversionException

2007-09-12 Thread Jonas
I created https://issues.apache.org/jira/browse/WICKET-961 which also contains a patch against current trunk. cheers, Jonas On 9/12/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > Nope go ahead. If someone does mind, the issue is quickly closed ;) > > Martijn > > O

Re: Localizer warnings

2007-09-12 Thread Jonas
The warning shows up in beta3 way more often than it should. Check this thread: http://www.nabble.com/Localizer-warning-in-1.3.0-beta3-tf4353820.html On 9/12/07, Leszek Gawron <[EMAIL PROTECTED]> wrote: > > I keep getting a lot of these after upgrading to 1.3-beta3 > > WARN 2007-09-12 12:49.41:53

Locale change on Image with Resource results in broken images

2007-10-12 Thread Jonas
ny ideas how to work around that problem? Can anyone confirm that this is a bug? In that case, I'll create an issue on JIRA. cheers, Jonas

Re: Locale change on Image with Resource results in broken images

2007-10-15 Thread Jonas
I created an issue in JIRA: https://issues.apache.org/jira/browse/WICKET-1075 On 10/13/07, Kent Tong wrote: > > > This indeed looks like a bug to me. >

IAuthorizationStrategy and DropDownChoice

2007-10-16 Thread Jonas
em, Action action); would do the trick? Jonas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: question about 'isInstantiationAuthorized' method, thanks!

2007-10-23 Thread Jonas
> However, I can't change the url for 'Return to home page' link, as the > homepage is a jsp page but 'Return to home page' link just send me to the > default wicket homepage which specifed in xml file right? I wonder is there > a way to change it as I am working with some jsp pages. You could use

Re: Display enum in a RadioChoice

2007-11-27 Thread Jonas
Hi, some constructors of RadioChoice take a org.apache.wicket.markup.html.form.IChoiceRenderer, which is used to render the choices. cheers, Jonas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Display enum in a RadioChoice

2007-11-27 Thread Jonas
> Yes i've considered RadioGroup and Radio but my question was also for > other components (in fact i need to set the class of , and > tag and surrely many others) have a look at AttributeModifier and AttributeAppender. - To uns

Re: Display enum in a RadioChoice

2007-11-27 Thread Jonas
The '' is the default suffix (see RadioChoice#setSuffix and RadioChoice#setPrefix). AFAIK there's no way to set a class attribute using RadioChoice. Have you considered using RadioGroup and Radio? They're much more flexible than RadioChoice. On Nov 27, 2007 2:56 PM, Gervais <[EMAIL PROTECTED]> w

Re: wicket applet issue

2007-12-05 Thread Jonas
It's not wicket that is looking for classes, it's your browser's java plugin. If you use the archive attribute like you do, the jars are searched in the same 'directory' as the page is where the applet tag is defined. e.g. www.example.com/foo/bar/appletpage.html contains your code, your java plugin

Re: How to get the remote address (IP)

2008-07-29 Thread Jonas
Is your browser running on the same machine as the webserver? If so, you might want to read this: http://en.wikipedia.org/wiki/IPv6#Special_addresses On Tue, Jul 29, 2008 at 1:48 PM, Kaspar Fischer <[EMAIL PROTECTED]> wrote: > On 29.07.2008, at 12:53, Hoover, William wrote: > >> did you try >> get

Re: Always serialize pages for debug purposes

2008-08-11 Thread Jonas
It seems this feature was removed, but there's some javadoc left in org.apache.wicket.settings.IDebugSettings: [quote] serializeSessionAttributes (defaults to true in development mode) - Causes the framework * to serialize any attribute put into session - this helps find Not Serializable errors ea

Improve ResourceStreamResource api

2016-03-01 Thread Jonas
bclass. By extending ResourceStreamResource, mime type etc. is handled by automatically. What do you think? Cheers, Jonas

Re: Improve ResourceStreamResource api

2016-03-08 Thread Jonas
Hi, here's the JIRA ticket: https://issues.apache.org/jira/browse/WICKET-6113 Thanks! Jonas On Tue, Mar 1, 2016 at 12:02 PM, Martin Grigorov wrote: > Hi, > > I think this would be a good improvement for Wicket 8.x. > Please file a ticket in JIRA! > Thank you! > >

Re: Refreshingview vs ListView

2016-07-28 Thread Jonas
Have you checked that equals/hashCode of your items are implemented properly? In our application, broken equals/hashCode was the most frequent reason for item reuse not working properly. Cheers, Jonas On Wed, Jul 27, 2016 at 6:02 PM, Entropy wrote: > I replaced the RefreshingView wit

WICKET-6249

2016-10-13 Thread Jonas
That's why I wanted to ask if it will be fixed in Wicket 7.5.0 and if there are plans to build 7.5.0 anytime soon. Thanks Jonas

Re: ResourceLink, IE and https

2009-03-05 Thread Jonas
Does it work if you set your Resource setCacheable(true)? On Thu, Mar 5, 2009 at 3:21 PM, Luca Provenzani wrote: > Hi all > > This is my situation: >  i've a ResourceLink based on a JasperReport Resource(DynamicWebResource ) > and all is ok until i use http. > But if the web server uses https IE

Re: ResourceLink, IE and https

2009-03-05 Thread Jonas
change parameter into the onclick of the ResourceLink, but now > the resource is cached...and then the result report is ever the same.. > > thanks > Luca > > 2009/3/5 Jonas > >> Does it work if you set your Resource setCacheable(true)? >> >> On Thu, Mar 5, 2

Re: ResourceLink, IE and https

2009-03-05 Thread Jonas
         protected void onError(AjaxRequestTarget target) { >                myWhere = "WHERE 1=0"; >                target.addComponent(feedbackPanel); >            } >        });* > > The first time i download the report i obtain an empty report, because empty > para

Re: localization and session expiration

2009-03-06 Thread Jonas
No need to use spring for that, the locale of a WebSession is initialized from ServletRequest#getLocale() by default, which is based on the Accept-Language header. On Fri, Mar 6, 2009 at 12:57 PM, Leszek Gawron wrote: > Anton Veretennikov wrote: >> >> May be cookie? > > You can also try to extrac

Base64UrlSafe violating RFC 3548?

2009-03-13 Thread Jonas
e 63. Strangely, Base64UrlSafe uses '*' for 62 and '-' for 63. Is there any particular reason why it doesn't follow the RFC? Cheers, Jonas [1] http://www.faqs.org/rfcs/rfc3548.html - To unsubscribe, e-m

Re: Base64UrlSafe violating RFC 3548?

2009-03-16 Thread Jonas
https://issues.apache.org/jira/browse/WICKET-2171 On Fri, Mar 13, 2009 at 3:45 PM, Igor Vaynberg wrote: > feel free to file a bug report. > > -igor > > On Fri, Mar 13, 2009 at 1:28 AM, Jonas wrote: >> Hi, >> >> I recently stumbled across Base64UrlSafe, which cl

Re: Repeater component with dynamic column list

2009-03-25 Thread Jonas
We've created a grid with dynamic columns similar to org.apache.wicket.extensions.markup.html.repeater.data.grid.AbstractDataGridView, except, of course, that the cell populators (the columns) don't come from a fixed array, but from a (dynamic) list. On Wed, Mar 25, 2009 at 1:35 PM, rora wrote: >

Re: Communication between applications, one using wicket

2009-04-09 Thread Jonas
Hi, there are probably easier way to provide a 'callback' channel to a remote system than a wicket page. Of course, using the web server makes sense, but I'd recommend to use a simple servlet to receive the callback and to update the specific database table instead of a wicket page, since the remo

Re: Getting localized string in constructor.

2009-04-14 Thread Jonas
the warning. Besides, if you're in a Component, you can use Component#getString as shortcut (instead of Application.get().getResourceSettings().getLocalizer().getString(...)) cheers, Jonas 2009/4/14 Witold Czaplewski : > Hi Michał, > > if you need the string of a ResourceMo

Re: Getting localized string in constructor.

2009-04-14 Thread Jonas
those warnings might be useful if you decide later to have per page resource bundles after all... 2009/4/14 Jonas : > Hi, > > I don't think createing a ResourceModel instance makes sense, because > all ResourceModel > does is using the localizer... > > Regarding the origin

Re: AjaxPagingNavigator and 508

2009-04-15 Thread Jonas
to set the title attribute, you can attach an AttributeModifier to the links by overriding AjaxPagingNavigator#newPagingNavigationLink etc. e.g. new AjaxPagingNavigator("foo", pageable) { @Override protected Link newPagingNavigationLink(String id, IPageable pageable, int pageNumbe

Re: page refresh after setLocale

2009-06-08 Thread Jonas
I think you just have to make sure the locale-dependent strings are not 'static' within the page. e.g. don't use new Model("My localized label from db") but something like new LoadableDetachableModel() { protected Object load() { return "the string, taking the current locale into accoun

Re: add html-attribute to a tab

2009-07-16 Thread Jonas
abbedPanel where you should attach the attribute modifier cheers, Jonas On Thu, Jul 16, 2009 at 11:12 AM, ptrash wrote: > > So, it is not possible? > -- > View this message in context: > http://www.nabble.com/add-html-attribute-to-a-tab-tp24468087p24512963.html > Sent from the

IModel parameters of StringResourceModel not getting detached

2009-07-17 Thread Jonas
properly detach them (from #onDetach)? Who's in general responsible to detach an IModel, specially those who aren't a Component's 'default' IModel? Is that correct that any code that calls IModel#getObject() should also call IModel#detac

Re: Background-Thread blocking Wicket-App

2009-07-17 Thread Jonas
Sounds like your background thread is holding a lock that is also acquired during page rendering. Maybe you can find out which lock is contended by creating a thread dump using visualvm or jstack from jdk 1.6 On Fri, Jul 17, 2009 at 11:24 AM, Tokalak Ahmet wrote: > Hi All, > > we've got a page wh

Re: IModel parameters of StringResourceModel not getting detached

2009-07-19 Thread Jonas
17, 2009 at 10:44, Jonas wrote: > >> A question about StringResourceModel: it supports IModels in the >> 'parameters' Object[] that >> are properly handled in StringResourceModel#getString, meaning they >> could get attached because >> of StringRes

Re: currency symbol in windows and unix different for a label model

2009-07-30 Thread Jonas
You shouldn't use methods that rely on the vm's default locale, as it might be set to something unexpected - use the methods with a locale parameter instead, and pass the Session#getLocale in, e.g. NumberFormat.getCurrencyInstance(Session.get().getLocale()) this is probably a serious amount of wor

Re: Does ExternalLink URL encode?

2009-08-18 Thread Jonas
"Use the Source, Luke!" have a look at ExternalLink#onComponentTag On Tue, Aug 18, 2009 at 12:38 PM, Roman Uhlig Maxity.de wrote: > > Just a simple question, I couldn't find any hint on this in the mailing > list and the wiki. > > Is ExternalLink doing some URL encoding with the href param or wi

Re: Session listener

2009-08-19 Thread Jonas
I think overriding WebApplication#sessionDestroyed should do the trick. On Wed, Aug 19, 2009 at 12:26 PM, David Leangen wrote: > > Hi! > > What's the best way to get notified of a session timeout event from within a > Wicket App when I don't have access to the deployment descriptor? > > All I need

Re: ConversionException and onSubmit is not called

2009-08-21 Thread Jonas
Have you tried removing setType(Region.class); from your code? I don't think that's necessary for a DropDownChoice - and probably the cause why an IConverter is used (which is probably the source of the ConversionException you mentioned). On Fri, Aug 21, 2009 at 3:17 PM, Harrie Hazewinkel wrote: >

Re: InvalidUrlException - how to show 404 page

2009-10-02 Thread Jonas
webapp cheers, Jonas On Fri, Oct 2, 2009 at 10:22 AM, Thomas Singer wrote: > As I have reported a couple of weeks ago (but can't find the message any > more for a follow-up), Wicket shows an ugly internal-error page if one > somehow modified the stateful URLs, e.g. > > h

Re: Flash and Wicket crossdomain.xml

2009-11-20 Thread Jonas
Is the content of you crossdomain.xml 'static'? If so, I guess you can just put that file into your web app's context root. If you need the file content generated dynamically, I doubt generating it in wicket is the easiest way to do it. I think I would rather just use a simple servlet. On Fri, Nov

Re: getting img src of dynamic image

2009-11-23 Thread Jonas
Why don't you just pass your BufferedDynamicImageResource to an org.apache.wicket.markup.html.image.Image? That should work just fine if what you're generating in plotPolyGate.getResult().getImage() is 'static'. If it's not static, you can use the Image with an IModel containing the appropriate Res

Re: unreachable john.mattu...@td.com

2009-12-08 Thread Jonas
That sounds really strange - I'd recommend a thorough virus scan of your box... On Wed, Dec 9, 2009 at 8:39 AM, Stefan Lindner wrote: > Every time I send an email to users@wicket.apache.org I receive the > message > > > >      john.mattu...@td.com is not reachable > > < TDGROUP #5.0.0 X-Notes;Inv

Re: unreachable john.mattu...@td.com

2009-12-08 Thread Jonas
forget that, I just also received that message, but it was filtered out as spam On Wed, Dec 9, 2009 at 8:45 AM, Jonas wrote: > That sounds really strange - I'd recommend a thorough virus scan of your > box... > > On Wed, Dec 9, 2009 at 8:39 AM, Stefan Lindner wrote: >&g

Re: class cast exception when using setAutomaticMultiWindowSupport(true)

2009-12-10 Thread Jonas
I think there was a message on this list reporting the same String/String ClassCastException a few days ago, but I don't remember if it was related to autocomplete. On Fri, Dec 11, 2009 at 4:05 AM, Douglas Ferguson wrote: > The problem exists on the trunk. > > Has anybody else seen this? > > If n

Re: Referring image using Resource Reference

2010-01-05 Thread Jonas
take a closer look at ContextImage's contructor and its javadoc: /** * Constructor * * @param id * @param contextRelativePath *context-relative path eg images/border.jpg */ public ContextImage(String id, String conte

Re: I feel silly asking this

2010-01-11 Thread Jonas
have a look at http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html section 'Attribute wicket:message' On Mon, Jan 11, 2010 at 12:56 PM, Wayne Pope wrote: > Ok , I think I must have a brain block or something. > > Basically how do you localize the submit on a form with having > to add a Butto

Re: dropdown issue

2010-01-20 Thread Jonas
not sure if that's the problem, but shouldn't setChoices(titles); be setChoices(departments); On Wed, Jan 20, 2010 at 4:14 PM, chinedu efoagui wrote: > Hello , I have a class PersonnelrecordsDepartment >  with the following fields with corresponding getters and setters >   private java.lang

Re: dropdown issue

2010-01-20 Thread Jonas
could do that e.g. by setting the ids as choices, and use a custom choicerenderer which retrieves and renders the PersonnelrecordsDepartment Objects I hope that helps... On Wed, Jan 20, 2010 at 4:54 PM, chinedu efoagui wrote: > @jonas ignore that. i was just refactoring the code for the email. &

Re: Wicket URL Encryption Key

2010-01-20 Thread Jonas
I think the book refers to wicket 1.3. The default behaviour of Settings#getCryptFactory has changed in 1.4. I think in 1.3 the default was ClassCryptFactory with a default key as still visible in ISecuritySettings#DEFAULT_ENCRYPTION_KEY. Now in 1.4, the KeyInSessionSunJceCryptFactory with a genera

Re: Wicket URL Encryption Key

2010-01-20 Thread Jonas
rg/jira/browse/WICKET-1782> On Wed, Jan 20, 2010 at 5:13 PM, Jonas wrote: > I think the book refers to wicket 1.3. The default behaviour of > Settings#getCryptFactory has changed > in 1.4. I think in 1.3 the default was ClassCryptFactory with a default key > as still

Re: dropdown issue

2010-01-21 Thread Jonas
gt; [2] <http://www.javabeat.net/javabeat/wicket/tutorials/basics/4-more-on-models.php> [3] <http://wicketinaction.com/book/> On Thu, Jan 21, 2010 at 9:28 AM, chinedu efoagui wrote: > @jonas > > Thanks a lot for your help but could illustrate with some code please &

Re: Should Duration be deprecated?

2010-01-26 Thread Jonas
java.util.concurrent.TimeUnit only covers units from nanos to seconds (in java 1.5, that is) So before wicket moves to java 1.6 we probably have a 'no go' here... On Tue, Jan 26, 2010 at 3:42 PM, Objelean Alex wrote: > I was wondering why would wicket need Duration class as long as java > provide

Re: PasswordTextField not showing the value

2010-01-27 Thread Jonas
Not sure if that is actually the problem, but have you noticed PasswordTextField#getResetPassword() ? Its default value is 'true', meaning the value is cleared on every rendering. cheers, Jonas On Wed, Jan 27, 2010 at 3:19 PM, Josh Kamau wrote: >  I have would like to edit an ex

Re: images not under the context root directory

2010-01-27 Thread Jonas
Have you tried the following: WebComponent image = new WebComponent("someWicketId"); image.add(new SimpleAttributeModifier("src", "http://.jpg";)); add(image); with markup that should work just fine... if you cannot hardcode the image url, you can use the following instead of SimpleAttri

Re: Serialization test

2010-01-27 Thread Jonas
You can't verify for any IModel if it has been detached, but what works fine is e.g. checking all LoadableDetachableModel subclasses. You have to rely on specific IModel implementations that have some kind of API to check if they have been detached, just like LoadableDetachableModel#isAttached() O

Re: Wicket Multi-Threading with access to the session

2010-02-10 Thread Jonas
ing a ReentrantLock to the session, which every thread has to acquire before using the session. For web request threads, this can be done in WebRequestCycle. However, I would advise against sharing the whole session, but just to share what's actually needed and guard the access to that. cheers,

Application#get in WicketSessionFilter

2010-03-11 Thread Jonas
r) true? If anybody could confirm this is actually a bug, I'd create an issue in JIRA to have this fixed. Regards, Jonas [1] http://old.nabble.com/Accessing-Wicket-Application-from-custom-servlet-ts24814177.html#a24815786 [2] http://old.nabble.com/WicketFi

Re: Application#get in WicketSessionFilter

2010-03-12 Thread Jonas
I create a JIRA issue for this: https://issues.apache.org/jira/browse/WICKET-2778 cheers, Jonas On Thu, Mar 11, 2010 at 1:10 PM, Jonas wrote: > Hi all, > > we're using WicketSessionFilter in our product to access > our custom WebSession, which works fine. Now we've trie

Re: why is hashcode() called on page deserialization?

2010-03-12 Thread Jonas
, e.g. LoadableDetachableModel. cheers, Jonas - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: why is hashcode() called on page deserialization?

2010-03-12 Thread Jonas
Yes, exactly. But the stacktrace you posted is about a HashMap that is directly referenced from one of your components - you should also use e.g. LoadableDetachableModel there, I guess. On Fri, Mar 12, 2010 at 2:25 PM, Martin Asenov wrote: > Hi, Jonas! > > I only have some ListView-s

Re: why is hashcode() called on page deserialization?

2010-03-12 Thread Jonas
r. cheers, Jonas On Fri, Mar 12, 2010 at 2:39 PM, Martin Asenov wrote: > I don't have any HashMap-s that use SMSEvent object as a key. Only List-s > > Regards, > Martin > > -----Original Message- > From: Jonas [mailto:barney...@gmail.com] > Sent: Friday, March 12, 201

Re: why is hashcode() called on page deserialization?

2010-03-12 Thread Jonas
f this still doesn't help, I suggest you try setting an Exception Breakpoint on NullPointerException in your debugger and examine the objects being serialized. You can see the Objects e.g. in as the first parameter of ObjectInputStream.readSerialData cheers, Jonas On Fri, Mar 12, 2010 at 3:36

Re: ClassLoader (Serialization?) error

2010-03-12 Thread Jonas
Looks like a resource called 'mypackage.MyClass fi usuari --> behind. So, I guess you don't have a ClassLoader issue here, nor a Serialization issue. cheers, Jonas On Fri, Mar 12, 2010 at 12:16 PM, Xavier López wrote: > Hi, > > From time to time I see the followin

Re: ClassLoader (Serialization?) error

2010-03-14 Thread Jonas
As stated in my previous mail, I really doubt this is a classloader issue, since the class name is 'mypackage.MyClass-%20fi%20usuari%20--%3E%20%20%3C' which decodes to 'mypackage.MyClass- fi usuari --> <' which obviously isn't just a class name, but a class name plus some 'garbage', which will mak

Re: ClassLoader (Serialization?) error

2010-03-15 Thread Jonas
you should consider using wicket:head instead (see: http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html) cheers, Jonas On Mon, Mar 15, 2010 at 10:11 AM, Xavier López wrote: > I agree it's not a classloader issue, the classloader is being given a > cobbled class name, so it's not i

Re: Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration?

2010-03-16 Thread Jonas
It's the servlet container that manages the HttpSessions. The servlet container cannot distinguish between 'real' user requests and ajax events - they're all plain http requests concerning a certain session. So, I don't think there's anything wicket could do about

Re: Application#get in WicketSessionFilter

2010-03-17 Thread Jonas
king that up so quickly! cheers, Jonas [1] https://issues.apache.org/jira/browse/WICKET-2778 On Tue, Mar 16, 2010 at 9:05 PM, Erik van Oosten wrote: > Hi Jonas, > > Perhaps this is what you need: > http://cwiki.apache.org/WICKET/springbean-outside-wicket.html > > Regards, >   E

Re: Application#get in WicketSessionFilter

2010-03-17 Thread Jonas
plication isn't always exposed - I don't think it should have any side effects, since the Application is already shared between multiple threads, but I'm not aware of all wicket internals. Maybe Igor can shed some light on this issue? cheers, Jonas [1] <http://svn.apache.org/vie

Re: continueToOriginalDestination and POST

2008-11-26 Thread Jonas
I found a JIRA issue was filed for this a while back: https://issues.apache.org/jira/browse/WICKET-1703 ...but it hasn't been addressed yet... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

IBehaviors added to ComponentTag not detached

2009-01-15 Thread Jonas
While experimenting with MarkupFilters, I noticed that IBehaviors added to ComponentTag using ComponentTag#addBehavior(IBehavior behavior) are never detached. Is that a bug, or just not possible to do? As far as I can see you don't have ComponentTags available anymore when Components are detached..

Re: IBehaviors added to ComponentTag not detached

2009-01-15 Thread Jonas
ior#detach(...) seems never to be called if the behavior is added to the ComponentTag. I verified that using a MarkupFilter that adds a behavior to every tag that would log a debug text if detach (or isEnabled) was ever called. Thanks for your time. Jonas On Thu, Jan 15, 2009 at 5:19 PM, Igor Vaynb

Re: Render other components

2009-01-27 Thread Jonas
;s a better practice. At least this doesn't break as easily if you change the position of the ADDT in the component tree. Maybe a core-dev could shed some light on this issue? cheers, Jonas On Tue, Jan 27, 2009 at 2:21 PM, Philipp Daumke wrote: > Hi all, > > I finally my error and

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-29 Thread Jonas
x27;os provided encoding' (see: IMarkupSettings#getDefaultMarkupEncoding) cheers, Jonas On Fri, Jan 30, 2009 at 1:02 AM, Philipp Daumke wrote: > Hi Mathias, > > 'äöü' is actually already converted to 'äöü' when I add a breakpoint at > the onSubmit method of my fo

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-30 Thread Jonas
ag to your markup? Something like [meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /] cheers, Jonas On Fri, Jan 30, 2009 at 9:11 AM, Philipp Daumke wrote: > Hi Jonas, > > thanks for your help, but I think it doesn't help. Just to make sure that I

Re: Bug? RenderedDynamicImageResource.render only called once?

2009-02-02 Thread Jonas
trick. cheers, Jonas On Mon, Feb 2, 2009 at 4:08 PM, Brill Pappin wrote: > Ok, I've tracked down the problem, but don't know how to resolve it (I've > been playing with it a bit). > > the render method is only being called once per session despite the > cache==

Re: How to get at the 404 request URL?

2009-02-06 Thread Jonas
Hi, this isn't actually related to wicket, but anyway, I think what you're looking for is the servlet request attribute "javax.servlet.error.request_uri" See: http://www.servlets.com/soapbox/servlet23.html specially the section 'New error attributes' regards, Jonas

Re: Check if file exists?

2009-02-09 Thread Jonas
Not really related to wicket... Anyway, check javax.servlet.ServletContext#getResourcePaths(String path) On Mon, Feb 9, 2009 at 12:51 PM, dsj wrote: > > Hi, how to check if one image exists in my app-folder? or in other way: how > to check if any file exist im my Web-app\images? > I am using wic

Re: Check if file exists?

2009-02-09 Thread Jonas
I have put the servlet.api in my build classpath and try, but > wicket claim that not possible cast to servlet anyway. btw, this is a > dependence feature of the container? > > > Jonas-21 wrote: >> >> Not really related to wicket... >> Anyway, check javax.servlet

Re: Is it worth to exchange labels by wicket:message?

2009-02-10 Thread Jonas
I don't think its relevant for performance/memory, the overhead for dynamically creating a component for the label should be minmal. check out WicketMessageTagHandler to see the actual 'magic' On Tue, Feb 10, 2009 at 10:51 AM, Newgro wrote: > > Hi *, > > i investigate some alternatives to achieve

Re: How to place form in own public class for extending

2009-02-11 Thread Jonas
Let your panel have an onSubmit method, and let your form delegate calls to its onSubmit to the panels onSubmit. What do you mean by 'extend the form'? add more form fields? that doesn't work like this, because you have to match the panel's markup. you could use some kind of repeater or listview an

Re: How to make wicket text in a td bold?

2009-02-17 Thread Jonas
or like this: [td width="20%"][b wicket:id="personname"]Person Name[/b][/td] with '<' and '>' instead of the '[' and ']' of course... On Tue, Feb 17, 2009 at 4:54 PM, Edwin Ansicodd wrote: > > have info in a table, want to make the text from wicket bold. How do I do > this? > >

Re: How to make wicket text in a td bold?

2009-02-17 Thread Jonas
k and dirty solution, > this will work quite well! :) > > > On Tue, Feb 17, 2009 at 11:01 AM, Jonas wrote: >> or like this: >> >> [td width="20%"][b wicket:id="personname"]Person Name[/b][/td] >> >> with '<' and '>&

Re: How to send serialize/byteArrayOutput stream from wicket page

2009-02-26 Thread Jonas
I think the wicket way to do this is using a org.apache.wicket.markup.html.WebResource (or any of its subclasses) instead of a WebPage On Thu, Feb 26, 2009 at 10:45 AM, freak182 wrote: > > Hello, > > How can i send a serialize object using byteArrayOutput stream in wicket > page. here is my code:

Re: AjaxEditableLabel, "Double" type and comma / dot

2009-02-27 Thread Jonas
What you can do is to provide you own Converter to the Label and do you own number parsing/formatting. In my experience it makes sense to strictly follow the formats defined by the locales, otherwise user will complain about unexpected results when entering numbers, e.g. if they use the character t

Re: radio and radiogroup default "checked" not working?

2009-02-27 Thread Jonas
Have you tried this: add models to the components (even though you don't use on them), and store the value associated with the Radio you want checked in the RadioGroup's model: final RadioGroup group = new RadioGroup("group", new Model(Boolean.TRUE)); Radio radio1 = new Radio("radio1", new

Incorrect javadoc for IPageRequestHandler.isPageInstanceCreated()?

2013-04-12 Thread Jonas
be correct, i.e. '@return false iff page instance is not yet created'. Am I missing something, or is the javadoc actually incorrect? cheers, Jonas ps: wicket version is 6.6.0

Re: Deserialization InvalidClassException : no valid constructor

2013-05-14 Thread Jonas
This could only work if BufferedImage itself had a no-arg constructor. It is it the first non-serializable class in the hierarchy that needs to have it, not the first serializable one, like in your example. Besides, you would still lose all data stored in the BufferedImage's fields (i.e. the image

Re: Deserialization InvalidClassException : no valid constructor

2013-05-27 Thread Jonas
al image file (using ImageIO)? On Wed, May 22, 2013 at 5:39 AM, smallufo wrote: > Thanks. > But in my example , I cannot modify BufferedImage (to add a no-arg > constructor) > What should I do if I want to output a BufferedImage (and make back button > work) ? > > > >

Re: Regression in 1.3.0-beta3(?)

2007-08-30 Thread Jonas-21
We've run into the same issue after upgrading to beta3. We had to replace AjaxFallbackOrderByBorder with a 'normal' OrderByBorder to make our web app work again. Unfortunatly, I haven't been able to come up with a simple example that reproduces the problem. Have you? Johannes Schneider-3 wrote:

Re: Regression in 1.3.0-beta3(?)

2007-08-30 Thread Jonas-21
e/WICKET-166 actually IS relevant for wicket 1.3.0. (Of course the fix looks now different because of the api change) cheers, Jonas igor.vaynberg wrote: > > hmm, if you could create a quickstart for this it would be very helpful. > > -igor > -- View this message in context: h

NullPointerException when starting Wicket Bench

2009-03-16 Thread Jonas Vingis
Hallo, I am still new in working with eclipse, I have no idea what cause this Problem. I am trying write Wicket application and would like to use „wicket bench“ plugin. The current version of my eclipse is 3.4.0, „wicket bench“ 0.5.1, JDK 1.6.0. In „Editors“->“File Associations“ I have set *.ht

Re: NullPointerException when starting Wicket Bench

2009-03-16 Thread Jonas Vingis
ng it up, but I haven't had time yet. - Brill On 16-Mar-09, at 9:30 AM, Jonas Vingis wrote: > Hallo, > > > > I am still new in working with eclipse, > I have no idea what cause this Problem. I am trying write Wicket > application and would like to use „wicket bench

  1   2   >