Re: Wicket and OSGi

2011-06-24 Thread David Leangen
IIUC, other frameworks allow for the injection of a classloader. Wouldn't that be enough? We could then package an optional classloader just for that purpose. Cheers, =David On Jun 24, 2011, at 4:34 PM, Brian Topping wrote: It seems that Wicket should not be burdened with this tracking

Re: wicket osgi (not Pax)

2010-10-12 Thread David Leangen
If you're already using Wicket successfully in OSGi, then I don't see what benefit using pax-wicket will add for you. pax-wicket is useful to help get you going in OSGi, since the class loading / serialization stuff can be tricky. Sounds like you're doing ok, though. =David On Oct 12,

Re: Wicket and Apache Felix

2010-09-22 Thread David Leangen
For various reasons, integration is pretty tricky. Is there any particular reason why pax-wicket won't do? =David On Sep 22, 2010, at 4:27 PM, Alexander Morozov wrote: Hi, I have similar question sometime ago and found only PAX Wicket Integration... Concerning to springframework - I

Re: wicket mailing list

2010-07-14 Thread David Leangen
42 On Jul 14, 2010, at 8:50 PM, Josh Kamau wrote: Just out of curiosity, how many members are in the wicket mailing list? regards Josh - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: Ajax channel busy

2010-07-05 Thread David Leangen
seems as a problem.. what if you try putting in dummy functions with alerts in them? 2010/7/3 David Leangen wic...@leangen.net Ok, thanks, So, if it should be ok, I wonder why after the first execution, I only get INFO: Channel busy - postponing... So I can't use my component more than

Re: Ajax channel busy

2010-07-04 Thread David Leangen
as a problem.. what if you try putting in dummy functions with alerts in them? 2010/7/3 David Leangen wic...@leangen.net Ok, thanks, So, if it should be ok, I wonder why after the first execution, I only get INFO: Channel busy - postponing... So I can't use my component more than once

Ajax channel busy

2010-07-03 Thread David Leangen
Hello, Wicketeers, I have a link that is supposed to call a JQuery component called popup. final AjaxLinkVoid popupLink = new AjaxLinkVoid( link.popup ) { @Override public void onClick( AjaxRequestTarget target ) { target.addComponent( popup );

Re: Ajax channel busy

2010-07-03 Thread David Leangen
); }); As far as I can tell, this seems to be the correct use of wicketAjaxGet... Cheers, =David On Jul 3, 2010, at 4:22 PM, David Leangen wrote: Hello, Wicketeers, I have a link that is supposed to call a JQuery component called popup. final AjaxLinkVoid popupLink = new

Re: Ajax channel busy

2010-07-03 Thread David Leangen
of it, ..: function wicketAjaxGet(url, successHandler, failureHandler, precondition) 2010/7/3 David Leangen wic...@leangen.net I should add that in my onCloseHandler, I have this in my js: $('#popup #popup-close-link').click(function (e) { e.preventDefault(); $('#popup

Re: wiQuery components with server side state - live demo

2010-06-14 Thread David Leangen
I don't think the project is very active. Started with a bang, but there hasn't been much action lately, or so it seems. On Jun 13, 2010, at 7:42 AM, Thies Edeling wrote: Is this project still alive? The URL below now prompts for a username/password. Thx! On Wed, Mar 10, 2010 at 1:10 AM,

Re: wiQuery components with server side state - live demo

2010-06-14 Thread David Leangen
/source/browse/#svn/trunk/wiquery-plugins/example-war On Mon, Jun 14, 2010 at 8:05 AM, David Leangen wic...@leangen.net wrote: I don't think the project is very active. Started with a bang, but there hasn't been much action lately, or so it seems. On Jun 13, 2010, at 7:42 AM, Thies Edeling

Re: drag and drop

2010-05-19 Thread David Leangen
Can you provide a link to the issue? I'll vote for it. Maybe lots of other people on this list could do the same. ;-) On May 19, 2010, at 8:14 PM, Ernesto Reinaldo Barreiro wrote: Hi Istvan, Don't take me wrong but: can you confirm that any other third party plugins you want to

Troubles with AjaxEditableLabel

2010-05-07 Thread David Leangen
Hi! Any hints to point me in the right direction? Here is the end bit of the Ajax request (from the Wicket Ajax Debug panel): ![CDATA[{ var el=wicketGet('editor42'); if (el.createTextRange) { var v = el.value; var r = el.createTextRange(); r.moveStart('character',

Re: jWicket 0.5.2

2010-03-20 Thread David Leangen
Hi, What's the difference between jwicket and wiQuery? Is it necessary to have 2 separate projects? Just curious, because I'll soon be looking into better jQuery integration. Thanks! =David On Mar 20, 2010, at 8:50 PM, Stefan Lindner wrote: I checked in jwicket 0.5.2 into

Re: wicket osgi (not Pax)

2010-01-28 Thread David Leangen
Hi Ernesto, Antilia simply use equinox extensions for class-loading that way you can use normal Wicket components... No need to modify Wicket or your components. Ok, do you mean buddy classloading? If so, that's not real OSGi. :-) What I wanted to says is that you not always have to face

Re: wicket osgi (not Pax)

2010-01-28 Thread David Leangen
Buddy-class loading is real OSGi since 4.1 ;) The new MANIFEST.MF entry is named Bundle- *BuddyPolicy.* Ok, thanks for letting me know. I haven't looked at 4.1 at all. I'll have to look into the buddy thing. I'm wondering if it was some kind of compromise for the Equinox people, or if there

Re: wicket osgi (not Pax)

2010-01-27 Thread David Leangen
Is there a How-to for OSGI and wicket, not from pax I managed to install jetty servlet api in equinox...now I have to install wicket somehow Good luck! Due to serialization issues, it's not an easy problem to solve. I don't know of any how-to. All I can say is that you have a long road

Re: wicket osgi (not Pax)

2010-01-27 Thread David Leangen
Hi Eelco, Is there a How-to for OSGI and wicket, not from pax I managed to install jetty servlet api in equinox...now I have to install wicket somehow Good luck! Due to serialization issues, it's not an easy problem to solve. I don't know of any how-to. All I can say is that you have

Re: wicket osgi (not Pax)

2010-01-27 Thread David Leangen
I have seen OSGi successfully used with Wicket on production environments... With no problems with the serialization issues you mentioned. Yes, I am using pax-wicket for this. What I meant was--as I understood from the original post--the person wanted to use wicket in OSGi without using a

Re: OSGi Wicket

2009-10-31 Thread David Leangen
If you do go with OSGi, you will have problems with classloaders and deserialization. To my knowledge, nobody has yet solved this (i.e. implemented a good solution) in a decent way. The Eclipse buddy system is not proper OSGi, IMO. pax-wicket does solve this problem (using proper

Re: OSGi Wicket

2009-10-29 Thread David Leangen
You can take a look at pax-wicket: http://wiki.ops4j.org/display/ops4j/Pax+Wicket The project is not very active these days, but I use it and it works. Regards, =David On Oct 30, 2009, at 8:12 AM, Tomáš Mihok wrote: Hello, I'm currently designing a new application. One of the

Re: Processing dynamic text

2009-10-06 Thread David Leangen
A very simple solution to my own problem: repeaters! Man, Wicket rocks! On Oct 6, 2009, at 10:11 AM, David Leangen wrote: Wicketeers, If I have a Label that contains some text I want to process, what is the best way to do that? - Should I even be using a label? - Should I override

Processing dynamic text

2009-10-05 Thread David Leangen
Wicketeers, If I have a Label that contains some text I want to process, what is the best way to do that? - Should I even be using a label? - Should I override Label's onComponentTag or something? - Is there a better way? The key is that I don't know the content in advance, so

Re: Passing parameters from markup to panels

2009-09-07 Thread David Leangen
Then why not just create a configuration panel so your designer can configure the number of items to display? On Sep 8, 2009, at 9:23 AM, Chris Colman wrote: you say it is laughable to require knowledge of code to configure this. i agree, but i also think its laughable to require the

Re: ajax navigation toolbars not updating when rows are added to initially empty table

2009-08-22 Thread David Leangen
In a nutshell, I have a table that starts off empty and rows are added to it dynamically. Perhaps if you take your table out of the nutshell, it would work? I find that things don't work so well if I put them in a nutshell. Just a thought. ;-)

Re: Session listener

2009-08-19 Thread David Leangen
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? I think overriding WebApplication#sessionDestroyed should do the trick. Perfect! Thank you.

How do I update my model?

2009-08-05 Thread David Leangen
Hello! I have a form in a panel like so: public class MyPanel extends Panel { Object someModelObject; public MyPanel( ... ) { setModel( new Model( Object ) ); add( new MyForm( ... ) ); } private static MyForm extends Form { private

Re: How do I update my model?

2009-08-05 Thread David Leangen
in the FormComponent javadocs, or anywhere else that I can remember, instead I had to find this out the hard way by stepping through the wicket code. Craig -Original Message- From: David Leangen [mailto:wic...@leangen.net] Sent: Wednesday, August 05, 2009 6:20 AM To: users@wicket.apache.org

Problems with UTF-8 chars in query string

2009-06-08 Thread David Leangen
Hello! I am having a problem with the double-encoding of Japanese characters that are in the query string. For example: http://www.example.com/path/q=日本語 If I write the raw value directly in the URL string in my browser, there are no problems. If I write the URL encoded value directly

Re: Problems with UTF-8 chars in query string

2009-06-08 Thread David Leangen
%259C%25AC%25E8%25AA%259E HTTP/1.1 The second request is double-encoded and is not correct. So, not a Wicket problem. However, any ideas where I could look for the solution? Thanks! =David On Jun 9, 2009, at 1:56 PM, David Leangen wrote: Hello! I am having a problem with the double

Re: Problems with UTF-8 chars in query string

2009-06-08 Thread David Leangen
Ok, sorry for the noise. I just needed to add the [NE] rule to my RewriteRule in my apache config and that did the trick. Cheers, =David On Jun 9, 2009, at 2:06 PM, David Leangen wrote: Ok, this seems to have something to do with proxying, not Wicket. When I enter 日本語 into the form

Re: Form Components With Built In Feedback

2009-05-14 Thread David Leangen
textfield.setcomponentborder(new fieldborder()); I didn't see FieldBorder in the javadocs. What is the full class name? Thanks! =David - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

RE: Custom URL Handling

2009-04-20 Thread David Leangen
What version are you using? I'm using 1.4. Ok, then I can't really help you much. URL control is actually very important here because organization identity is vital in the domain that the app will serve. Agreed. IIUC, it may be easier in 1.4:

Re: Custom URL Handling

2009-04-19 Thread David Leangen
Matt, I have done something similar, but depending on the version of Wicket you use, I wouldn't necessary recommend it. Things can get a little messy. I did this in 1.3.x. IIRC, I was told this was made easier in 1.4. What version are you using? =dml On Apr 20, 2009, at 1:54 PM,

RE: OAuth in Wicket

2009-04-14 Thread David Leangen
Yes. There is a java library you can use: http://code.google.com/p/oauth/ Unfortunately, my stuff is not well generalized, so there's no point that I make it public. However, if you have any particular problems, please let me know. I think a few others have also done this before, too.

Re: VOTE: Rename Apache Wicket to Apache WicketFX

2009-04-01 Thread David Leangen
Or... WTF! (Wicket The Framework) +1 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: how to display a BookmarkableLink so it can't be clicked

2009-03-30 Thread David Leangen
isEnabled() Cheers, =David On Mar 31, 2009, at 9:34 AM, Jason Novotny wrote: Hi, I have a case where if some condition is met I don't want a link to be clickable... but I want it to display the link text (so overriding isVisible() is not an option). Any ideas on the most elegant

Re: Wicket serialization problems for OSGi users

2009-03-23 Thread David Leangen
Hi Ernesto, Thanks. Just one question why not use buddy class-loading techniques to solve serialization problem? Simple: at least for now, this is a non-standard extension for Eclipse/ Equinox. :-) I am aware of some proposals to modify the OSGi spec, but as far as I know, that's not

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

Future of WicketObjectStreamFactory

2009-03-09 Thread David Leangen
Hi, Just wondering about WicketObjectStreamFactory. For a reason that I have not yet been able to determine, I am having deserialization problems when using the default serialization. However, if I set this: setObjectStreamFactory(new WicketObjectStreamFactory()); then my problems go away.

How exactly does RestartResponseAtInterceptPageException work?

2009-02-15 Thread David Leangen
Hi! Just wondering how this works, precisely, since I've been having some intermittent problems. I have a link that has an onClick() method that looks something like this (in principle): public void onClick() { String token = checkForToken(); if( token == null ) // Do something that

How exactly does RestartResponseAtInterceptPageException work?

2009-01-21 Thread David Leangen
Hi! Just wondering how this works, precisely. I have a link that has an onClick() method that looks something like this (in principle): public void onClick() { String token = checkForToken(); if( token == null ) // Do something that will cause token to be non-null next time throw

Re: RestartResponseAtInterceptPageException and the query string

2009-01-06 Thread David Leangen
. because of its return functionality So it seems I am kind of stuck...not here, not there...but thanks for clearing it to me on my possibilities. On Tue, Jan 6, 2009 at 6:29 AM, David Leangen wic...@leangen.net wrote: Since nobody has replied yet... You can do

Re: RestartResponseAtInterceptPageException and the query string

2009-01-05 Thread David Leangen
Since nobody has replied yet... You can do this with RestartResponseException but not RestartResponseAtInterceptPageException. The difference between the two is that the former will simply break the current path and restart somewhere else, I guess kinda like a goto statement. In the latter

Re: [OT] wicket users around the world

2008-12-17 Thread David Leangen
:-) lol Better watch out, or you'll get every single member here put on the oh-so-intelligent international no fly list. ;-) On Wed, 2008-12-17 at 08:50 +0330, Iman Rahmatizadeh wrote: Tehran, Iran I'm using wicket in developing the next gen nuclear bombs errr... sorry, no political

RE: Openid integration?

2008-12-10 Thread David Leangen
Hi, Nino, Sorry, I haven't been following this list daily lately. I probably should, since I just sifted through 500 messags. Wow, this list is really active! Anyway, I did say I'd get back to you once I completed my OpenID integration, and I just completed it recently. However, I'm not sure

RE: Create custom UrlCodingStrategy

2008-12-10 Thread David Leangen
Assuming I understand what you're asking for... There is a solution, but that's about all I can say. I can say this because I managed somehow to pull it off. However, it took a lot of hacks to the wicket code, which I don't recommend to anybody. [Just to make sure I understand, let me explain

RE: spring proxy for my model causes notSerializable exception

2008-12-10 Thread David Leangen
I just briefly scanned your message, but this did remind me of something. Not sure if it's related or not... As far as I could tell from the Wicket code, for some reason proxy classes do not get serialized. I've been meaning to ask about this myself, as it's been causing me problems. Cheers,

Re: Openid integration?

2008-12-10 Thread David Leangen
Hmm, I do actually have something working, which seems to be really simple. Ok, good for you! Using openid4java, my only problem are that I cant seem to get any openid providers to give me the requested attributes, like email and name. How did you solve this? Are you sure it's an

Re: spring proxy for my model causes notSerializable exception

2008-12-10 Thread David Leangen
As far as I could tell from the Wicket code, for some reason proxy classes do not get serialized. I've been meaning to ask about this myself, as it's been causing me problems. that used to happen only if you used wicket's special serializer. it was the default one for a little while,

Re: Associating a request to a Session

2008-10-23 Thread David Leangen
On Wed, 2008-10-22 at 23:10 -0700, Serkan Camurcuoglu wrote: I think your session id changes because you access the server as localhost:8080 for the first time, but yahoo forwards you back to www.bioscene.co.jp (which I think is the same host), so you access the same server with a different

Re: Associating a request to a Session

2008-10-22 Thread David Leangen
On Tue, 2008-09-23 at 20:50 -0700, Igor Vaynberg wrote: wicket does not associate a request with a session. wicket uses httpsession to store its own session object. what you want is to know how the servlet container associates a request with http session. usually that is done with the

Re: Associating a request to a Session

2008-10-22 Thread David Leangen
Before I dig into the container implementation (which I would prefer to avoid), does anybody have any suggestions about how I can somehow return to the original session, or at least copy over the state of the old session into the new session in a clean way? Actually, the only thing I want to

Re: Associating a request to a Session

2008-09-24 Thread David Leangen
Hi, Nino! I believe it's also the servlet container that handles this, with either a cookie or an url rewrite... Yeah... I've decided to take another route on this, since I don't like relying on the servlet container. Thanks again for your comments, though. :-) I've thought of doing some

Re: Associating a request to a Session

2008-09-24 Thread David Leangen
I've thought of doing some components for openid as it would be nice to have some for it... But maybe you can do it instead? :) I'd be happy to share my work, but I don't know how valid it would be for general use. Great I can maybe snag something of it and build a general

Re: Forwarding to a servlet

2008-09-23 Thread David Leangen
I think you could just use response.sendRedirect() and request.forward() , rest of the code should still be processed. This seemed to work just fine: RequestCycle.get().setRequestTarget( redirectTarget ); However, I'm running into a problem... not sure if it's related or not, so I'll

Re: Associating a request to a Session

2008-09-23 Thread David Leangen
wicket session is not persisted in httpsession until you hit a stateful page. to manually persist the wicket session call .bind() on it. Hmmm... Although that is very useful information to know, that did not work. :-( So, let me ask this another way... How does Wicket associate a given

RE: Forwarding to a servlet

2008-09-22 Thread David Leangen
Hi David Hi Nino! [Oops. Didn't see your message until now...] I think you could just use response.sendRedirect() and request.forward() , rest of the code should still be processed. Ok, good to know. But are you expecting the user to return from the servlet? Still not sure what I want

Forwarding to a servlet

2008-09-18 Thread David Leangen
Hi! What's a clean way to forward a request to another existent non-Wicket servlet? I have a wicket page that handles user input, then the input should be processed by the existing servlet. Rather than redirecting to an external URL, I thought it would be nice to just forward the request to

Re: [OT] Wicket in Action Jubilation

2008-09-10 Thread David Leangen
Mine arrived here in the UK yesterday too! Got mine here in Japan, too. Cool! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Replacing $ in wicket ids

2008-09-08 Thread David Leangen
Hi! When trying to validate my HTML, I am getting this error: character $ is not allowed in the value of attribute id Is there a simple way of replacing the $ char with some other symbol? Thanks! David - To

Re: Replacing $ in wicket ids

2008-09-08 Thread David Leangen
Doh! On Mon, 2008-09-08 at 20:08 -0700, Igor Vaynberg wrote: how do they get there in the first place? -igor On Mon, Sep 8, 2008 at 7:15 PM, David Leangen [EMAIL PROTECTED] wrote: Hi! When trying to validate my HTML, I am getting this error: character $ is not allowed

RE: [announce] Wicket in Action e-book has been published!

2008-08-13 Thread David Leangen
Congratulations, guys! Thank you for all your hard work and sacrifice! -Original Message- From: Martijn Dashorst [mailto:[EMAIL PROTECTED] Sent: 14 August 2008 06:32 To: Wicket Users Subject: [announce] Wicket in Action e-book has been published! Almost 3 years of hard work,

Re: generics

2008-07-14 Thread David Leangen
Don't have time to update to 1.4 yet, so I haven't been following this thread much, but I did see this go by: 2) the wicket web site now suggests the following code for generic components: @SuppressWarnings(unchecked) public final T getModelObject() { return

RE: Page Expired to home or login instead of default?

2008-07-04 Thread David Leangen
I can't seem to find anywhere, how I get wicket to automatically go to the home page instead of the Page Expired page when the session is invalidated (expires, or the user logs out). Never actually tried this, but I don't see why it wouldn't work...

RE: OSGi and class loading issues solution proposal

2008-07-03 Thread David Leangen
Before I'll create any JIRA issue, first I want to ask other osgi-guys what are they thinking about proposed changes. Well, I use the OSGi/Wicket combination extensively in the form of pax-wicket. Edward is the lead developer, but we often collaborate. Personally, I think this is a great

RE: [PROPOSAL] Use path in URL when target is instance of BookmarkablePageRequestTarget

2008-07-03 Thread David Leangen
Also there is a complete rewrite of URL handling planned for 1.5 which will allow much better control over URL generation and bookmarkability in Wicket. Well, in that case, I won't press this any more. The current stuff is great, but there is indeed a lot of room for improvement. Will be

Re: Enabling compoents based on Wicket URI path?

2008-07-02 Thread David Leangen
So essentially, you need some variable to hold state and based on the value of that variable, you show or hide a component, right? Just use an IndexedParamCodingStrategy. Does that make sense, or do you need more details? On Wed, 2008-07-02 at 11:12 -0700, Michael Mehrle wrote: I need to

RE: Enabling compoents based on Wicket URI path?

2008-07-02 Thread David Leangen
A little bit confused... perhaps I or you misunderstood. I'm using a textfield in the 'navigator' section of my site. So, if a particular URL is being accessed (.../foo or .../bar) then I want to hide the textfield. Otherwise the navigator shows the textfield. Does that make more sense? In

RE: [PROPOSAL] Use path in URL when target is instance of BookmarkablePageRequestTarget

2008-07-01 Thread David Leangen
I think stateless pages already do something like that. Also look at hybrid url encoding that also preserves the bookmarkable url and makes the url even prettier. That's possible. I haven't yet made my way into 1.4 waters yet. none of this is 1.4 In any case, even if this exists for

Re: [PROPOSAL] Use path in URL when target is instance of BookmarkablePageRequestTarget

2008-07-01 Thread David Leangen
once again, i dont see what this offers over the hybrid strategy. Maybe you can correct me if I'm wrong here... The hybrid stategy is only applied when the target is an IBookmarkablePageRequestTarget. So, for normal bookmarkable pages, there is no problem, like you say. The issue only arises

Re: More on wicket url stratergy

2008-07-01 Thread David Leangen
On Tue, 2008-07-01 at 02:50 -0700, Mathias P.W Nilsson wrote: In my itemList class I set the response page like this. setResponsePage( new ItemPage( parameters, ItemListPage.this ) ); Now the ItemListPage.this is for back travelling and to get the background from the list class. Is it

Wizard and CheckGroup

2008-06-30 Thread David Leangen
Hello. I'm using a CheckGroup in a Wizard. Let's say the CheckGroup is in step 2 of my Wizard: [1] - [2] - [3] Going through the Wizard, during step 2, I check all the checkboxes, then I go to step 3. If I back up to step 2, everything remains checked. However, if I back up again to step

[PROPOSAL] Use path in URL when target is instance of BookmarkablePageRequestTarget

2008-06-29 Thread David Leangen
Currently, when a target is an instance of IListenerInterfaceRequestTarget, the URL gets mounted (so to speak) on the root of where the wicket application is located. So, if the servlet context path for the wicket application is set to /home/, then all targets (whether bookmarkable or not), are

Re: Must I settle for bookmarkable pages?

2008-06-26 Thread David Leangen
The thing is that I'm in an OSGi environment, and I have a WicketService that provides my Wicket instance. I attach Applications as bundles to the Wicket instance and mount them on a certain path. so why are the /?wicket:interface urls interfering with that? He he... that goes

RE: Must I settle for bookmarkable pages?

2008-06-26 Thread David Leangen
He he... that goes back to the proxy issue. For what I'm doing, it's important that the single Wicket instance be mounted on /, which means that top pages become inaccessible from outside of the firewall. If you're using Apache to reverse proxy, it's possible to do this by having it

RE: Home page accepting IndexedParamUrlCodingStrategy

2008-06-26 Thread David Leangen
IIUC, the home page is automatically mounted on the path where you wicket app is located. So, if you put your wicket on /home, then the home page will be mounted on /home. Guess you'll need to put your home page on / to make this work. -Original Message- From: [EMAIL PROTECTED]

Must I settle for bookmarkable pages?

2008-06-25 Thread David Leangen
My wicket app is mounted on / (for various reasons). However, my server is behind a proxy, which means that from the outside, I can only view pages that have a certain path (also desired behaviour for various reasons). Problem: when submitting a form, the URL shows up as something like:

Re: Must I settle for bookmarkable pages?

2008-06-25 Thread David Leangen
Hey, Igor, Problem: when submitting a form, the URL shows up as something like: http://localhost:8080/?wicket:interface=:0:1::: This works behind the firewall, but will not work from outside. Is my only solution to use bookmarkable pages (with all the implications of parsing

RE: MarkupResourceStream and classloading

2008-06-24 Thread David Leangen
nick, have you tried asking on pax wicket mailing list? those guys use wicket with osgi all the time. perhaps they have a clean solution. We have had numerous issues with this. We have a working solution, but IMO not a clean one. Actually, opinion is probably too strong a word, since I have

Re: Issues with Bookmarkable targets

2008-06-06 Thread David Leangen
I have one page mounted on: /mount And another mounted on: /mount/tree On the /mount/tree page, I have a tree component. Problem is that whenever I click on a node in the tree, I am taken to: /mount/mount You could try mounting /mount/tree first and then /mount

Issues with Bookmarkable targets

2008-06-05 Thread David Leangen
I've been stepping through the code, but I'm having a tough time figuring this one out... Using 1.3. I have one page mounted on: /mount1 And another mounted on: /mount1/tree On the /mount1/tree page, I have a tree component. Problem is that whenever I click on a node in the tree, I am

No built-in converter for Locale.class?

2008-04-18 Thread David Leangen
Before I go and write my own, I just wanted to make sure that there is no built-in Converter for Locale. Looking through the code tells me that it's not supported by default. Is this so? Thanks, David - To unsubscribe,

Re: No built-in converter for Locale.class?

2008-04-18 Thread David Leangen
no Ok, thanks. what should such a converted do? And what should people type in as a text string? Most of the times locales are none editable select boxes or list choices Not for personal consumption. :-) I'm just testing out an annotation-based means of controlling page parameters and

Attaching stuff to pages

2008-04-10 Thread David Leangen
I know this type of question has been asked before, so if somebody can point me to a previous thread or some doc, that would be cool. I have a page like books mounted on /books. When the user sees the page mounted at /books, she gets a list of all available books. Each available book should be

Re: Attaching stuff to pages

2008-04-10 Thread David Leangen
, Apr 10, 2008 at 7:39 PM, David Leangen [EMAIL PROTECTED] wrote: I know this type of question has been asked before, so if somebody can point me to a previous thread or some doc, that would be cool. I have a page like books mounted on /books. When the user sees the page mounted

Re: Attaching stuff to pages

2008-04-10 Thread David Leangen
? Should I submit a patch? Cheers, -dml- On Fri, 2008-04-11 at 11:45 +0900, David Leangen wrote: Cool! Thank you for the ultra-rapido reply. :-) On Thu, 2008-04-10 at 19:44 -0700, Igor Vaynberg wrote: mount a page using indexed url coding strategy then in the page check

Re: Strange behaviour with autocomplete

2008-04-06 Thread David Leangen
://www.day-to-day-stuff.blogspot.com/ David Leangen wrote: Hi, Using the standard wicket autocomplete widget, I just noticed that I am getting some strange behaviour. When I mouseover or scroll the list via the keyboard, the entire screen jumps to the bottom. I never noticed before

Strange behaviour with autocomplete

2008-04-03 Thread David Leangen
Hi, Using the standard wicket autocomplete widget, I just noticed that I am getting some strange behaviour. When I mouseover or scroll the list via the keyboard, the entire screen jumps to the bottom. I never noticed before because there wasn't enough content to cause the page to scroll and

Re: Intention of PropertyModel in 1.3

2008-03-31 Thread David Leangen
Thank you very much!! On Sun, 2008-03-30 at 21:46 -0700, Igor Vaynberg wrote: patch applied. always report a jira issue, that way things dont get forgotten, and as you can see submitting a patch helps too :) -igor On Sun, Mar 30, 2008 at 9:36 PM, David Leangen [EMAIL PROTECTED] wrote

How do I get a change in my tree model to be displayed?

2008-03-31 Thread David Leangen
Hi. The ajax stuff is a bit new to me, so sorry if this is an obvious question. I'm trying to figure out how to get my change in my tree model to show up on screen. I want to be able to expand to and select a node from the tree based on its value (determined elsewhere in the application). I

Re: How do I get a change in my tree model to be displayed?

2008-03-31 Thread David Leangen
Beautiful. Thank you! On Mon, 2008-03-31 at 10:25 +0200, Thomas Kappler wrote: Hi, first of all, in the first line of the loop, shouldn't node be nextNode? Then, you're directly calling listener methods, which are supposed to be callbacks, i.e., they are called by the framework when,

Re: Intention of PropertyModel in 1.3

2008-03-30 Thread David Leangen
I didn't happen to see a reply to this thread, and the stack trace is still driving me bananas, so I submitted a patch. :-) https://issues.apache.org/jira/browse/WICKET-1464 Thanks, as always, Wicket committers. :-) On Thu, 2008-03-13 at 12:45 +0900, David Leangen wrote: This used

Re: clustering failover error

2008-03-27 Thread David Leangen
Glad it works for you. Tried what you said below, but doesn't solve my problem. http://www.nabble.com/Finding-the-cause-of-an-Exception-td16088387.html#a16112402 On Thu, 2008-03-27 at 10:01 -0700, Scott Swank wrote: We just discovered that if we use SecondLevelCacheSessionStore the

Re: StreamCorruptedException when using autocomplete

2008-03-20 Thread David Leangen
Thanks for the suggestions... are you using a class reloading mechanism of any sort? this error would make sense if wicket saved a page to store, you changed the class def and wicket tried to deserialize an instance of that changed class No, none. I took out all the widgets from the

Re: StreamCorruptedException when using autocomplete

2008-03-20 Thread David Leangen
Already tried that. Same problem. :-( On Thu, 2008-03-20 at 22:53 -0700, Igor Vaynberg wrote: what if you make the search form class static? -igor On Thu, Mar 20, 2008 at 10:31 PM, David Leangen [EMAIL PROTECTED] wrote: Thanks for the suggestions... are you using a class

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread David Leangen
[x] +1, Wicket 1.4 is 1.3 + generics, drop support for 1.3 [ ] -1, I need a supported version running on Java 1.4 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

StreamCorruptedException when using autocomplete

2008-03-17 Thread David Leangen
in detail are not giving me any good hints yet... Thanks! Dave On Mon, 2008-03-17 at 13:38 +0900, David Leangen wrote: Can anybody suggest how I can try to resolve my StreamCorruptedException? I have an autocomplete text field. When I hit the back button and modify the text, I get

RE: Planning Wicket Next Generation

2008-03-16 Thread David Leangen
+1 for Java 5 Generics - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Finding the cause of an Exception

2008-03-16 Thread David Leangen
Can anybody suggest how I can try to resolve my StreamCorruptedException? I have an autocomplete text field. When I hit the back button and modify the text, I get the said Exception. I've tried stepping through the code, but the error is not obvious at all. The error only happens with the

  1   2   >