Re: Markup Inheritance example with Ajax?

2010-06-25 Thread Edward Zarecor
What you are trying to accomplish doesn't require markup inheritance. You can use a panel and replace it with an Ajax link. That panel could be nested within wicket children participating in markup inheritance, but that's another matter. The panel should be the component added to the

Re: Get data from main application

2010-06-25 Thread Edward Zarecor
Do you mean that App1 will redirect to something like http://wickethost/WicketApp/homepage?myArgument=theValue If so, see: http://wicketbyexample.com/api/wicket/1.4.6/org/apache/wicket/PageParameters.html If not, please clarify the use case. Ed. On Fri, Jun 25, 2010 at 3:17 PM, d2marcelo

Re: Panel re-rendered twice, when the data is pulled in.

2010-06-25 Thread Edward Zarecor
I believe the cause -- and I've reproduced locally -- is this HTML: tr wicket:id=shipperAddressPanel/tr Don't dump content into the tr Try changing this to tr td div wicket:id=shipperAddressPanel/ /td /tr And see if it fixes the issue. Ed.

Re: Panel re-rendered twice, when the data is pulled in.

2010-06-25 Thread Edward Zarecor
Hmm, I took a working example that replaces a panel using an AJAX link and altered the HTML to match what you have and, hey presto, after clicking the link I have two versions of the panel content. Reload and I have one again. I don't have the code in front of me, but I'll take a look again

Re: Frustrating behavior ... same browser, same war, same tomcat version - different behavior!!!

2010-06-07 Thread Edward Zarecor
So it seems that Tomcat is unable to set a cookie to store the session id for the problematic domain as it will append it to the URL when all else fails -- you may also be able to configure this as the default behavior. Look at the differences between the hostname configurations comparing a

Re: [Wicketstuff / Inmethod-Grid] A handful of patches

2010-06-07 Thread Edward Zarecor
I'm pretty familiar with Jira and have upgraded a couple of instances because of the same vulnerability. If I could be of help getting Jira back on-line, let me know. Thanks. Ed. On Mon, Jun 7, 2010 at 1:22 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Hi Matej I have a

Re: How to save binary files?

2010-05-28 Thread Edward Zarecor
This looks like an issue with your Java installation, which you could verify with a simple standalone test, e.g., public static void main(String[] args) { // create file as in Wicket.. } Ed. On Fri, May 28, 2010 at 11:12 AM, Alex Zeit zeita...@googlemail.com wrote: Dear All, I am a bit

Re: [announce] Release Wicket 1.4.9

2010-05-28 Thread Edward Zarecor
If it's of any use, I put together a very, very simple 2D Quickstart for my own edification. I've deployed, exercised and un-deployed builds of application using Wicket 1.4.8 and 1.4.9 to Weblogic 10. In the former case I do not see, via YourKit, the Java2D Disposer thread holding a reference to

Re: Help me speed up my Wicket

2010-05-20 Thread Edward Zarecor
Rewinding this thread. Comments and suggestion in-line. The problem is that it renders very slowly in browsers. The reason is not directly network speed but it is the VERY heavy markup. Each table cell has 3 ajax components and the ajax call functions are loong. So you're doing

Re: warp persist, guice wicket: use warp persist during wicket application startup to load db objects

2010-05-13 Thread Edward Zarecor
I think this questions was resolved on the Guice list. Correct me if I'm wrong. This is the thread: http://groups.google.com/group/google-guice/browse_thread/thread/78ffb08353f4dcf The thread was somewhat messy, so the upshot is: A good worked example of persistence outside the context of a

Re: Back-button friendly ajax wizard navigation

2010-04-21 Thread Edward Zarecor
Since you are changing the DOM dynamically using Ajax, the browser -- correctly I would say -- isn't considering this a page change, so the back button should take you back to the page prior to the wizard. The browser history will be immutable from JavaScript, so that's not an option. To achieve

Re: My first WiQuery app does not work

2010-03-30 Thread Edward Zarecor
Did you use component instantiation listener as suggested or just stop extending WiQueryWebApplication? Ed. Typed by thumb On Mar 30, 2010 3:05 PM, David Chang david_q_zh...@yahoo.com wrote: Julie, Thanks for asking. The code is in the beggining of this thread. For that, I copied the

Re: Using SetResponsePage in Session

2010-03-13 Thread Edward Zarecor
What's the use case? Session events won't always occur within the context of a RequestCycle, say, expiry. Even If the use case is related to a request something like this might be cleaner: YourPage if (getYourApp().getYourSession().isWhatever()) {

Re: Using SetResponsePage in Session

2010-03-13 Thread Edward Zarecor
Nishant On Sat, Mar 13, 2010 at 7:24 PM, Edward Zarecor edw...@indeterminate.org wrote: What's the use case? Session events won't always occur within the context of a RequestCycle, s... - To unsubscribe, e-mail: users-unsubscr

Re: deployment problem

2010-03-05 Thread Edward Zarecor
Then there's probably another version of Spring on your classpath, perhaps provided by Tomcat. A case for jwhich. Ed. On Mar 5, 2010 1:48 PM, bonomat azu...@gmail.com wrote: jes, it is in there i think: i found this one: spring-core-3.0.1.RELEASE.jar -- View this message in context:

Re: RE: How can i know when a users redirects to other page

2010-03-01 Thread Edward Zarecor
Would on session expiry be a better place to handle this? Implementation would be simple and you could avoid ever needing to regenerate a file if that is useful to you. It also naturally handles the case where a user doesn't leave the page. Ed. On Mar 1, 2010 10:09 AM, Martin Asenov

Re: Wicket Google Translation Localizer

2010-01-28 Thread Edward Zarecor
I think Martin's idea is that in the absence of a localized properties file localization via a call to google translate would be attempted. I think there are likely to be more problems the benefits with this design. To wit, http://tinyurl.com/y8nvx2x. Perhaps a shell script to localize your

Re: Image Bundler For Apache Wicket

2010-01-26 Thread Edward Zarecor
Do the comments in the inspiration design document about localization also apply to your Wicket ImageBundle implementation? If Wicket's built in image handling functions as a locale-specific factory does image localization work as expected with bundles? Ed. On Tue, Jan 26, 2010 at 12:23 PM,

Re: Image name changing in dev server

2010-01-19 Thread Edward Zarecor
I notice that you are using capitalized extensions. Are local and dev instances on different operating systems? Is the extension of the file jpg or JPG? My stab in the dark is that in dev you get a broken image because neither the localized or non-localized images are found. You are seeing

Re: wicket on Weblogic 10.3.1

2009-11-24 Thread Edward Zarecor
Are you using Apache with the Weblogic plugin? If so, do you see the same behavior if you go directly against Weblogic? Can you confirm that subsequent requests are actually being handled by the app server? I ask because we've seen cases where URL mangling caused requests that should have

Re: wicket on Weblogic 10.3.1

2009-11-24 Thread Edward Zarecor
to me. Ed. On Tue, Nov 24, 2009 at 9:06 AM, zoltan luspai zlus...@gmail.com wrote: I'm going directly to weblogic, which is running locally all configured to default, it is all on the same host, no apache and no proxies in between. Z Edward Zarecor wrote: Are you using Apache

Re: Posting A Form To NonWicket

2009-11-20 Thread Edward Zarecor
Is there a requirement to process the data in any way before submitting to the remote application? Why wouldn't you just use an HTML form with the appropriate action pointing to the remote host? Wicket may not need to know about this form. Ed. On Fri, Nov 20, 2009 at 12:14 PM, Balaji C

Re: request scoped variables

2009-11-19 Thread Edward Zarecor
If it's called so many time per request that you are concerned about performance why not associate the frequently used user details with the session. If numerous components are using the same model you could look to refactor so that they use the same instance. Ed. On Thu, Nov 19, 2009 at 5:50

Re: Is wicket really compatible with Tomcat?

2009-10-06 Thread Edward Zarecor
There are a number of equally plausible conclusions ;) A quick google didn't turn up anything more recent. Has anyone seen more recent data? Ed. On Tue, Oct 6, 2009 at 3:02 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: And that survey from netcraft are really old. So numbers

Re: Passing parameters from markup to panels

2009-09-07 Thread Edward Zarecor
You don't need multiple versions of the panel, you simply need a constructor that takes an argument, the number of items you want to include. This doesn't fully fulfill your use case as your site-devs or portal-devs cannot pass that argument in. You could arrange that using iframes and passed

Re: Question regarding file uploading

2009-09-04 Thread Edward Zarecor
Google your database of choice and blob (binary large objects), e.g., postgres blob; oracle blob, etc. Ed. On Fri, Sep 4, 2009 at 10:11 AM, Daniel Dominik Holúbek dankodo...@gmail.com wrote: thanks,and can you give me a hint on storing images in database? i can't quite imagine that :) On

Re: Question regarding file uploading

2009-09-04 Thread Edward Zarecor
to use? Resource? ResourceReference? On Fri, Sep 4, 2009 at 4:15 PM, Edward Zarecor wic...@indeterminate.orgwrote: Google your database of choice and blob (binary large objects), e.g., postgres blob; oracle blob, etc. Ed. On Fri, Sep 4, 2009 at 10:11 AM, Daniel Dominik Holúbek dankodo

Re: Quick model/user/session question

2009-08-25 Thread Edward Zarecor
There's no connection pool size defined. Is the default pool size for dbcp 1? Ed. On Aug 25, 2009 5:29 PM, Dane Laverty danelave...@gmail.com wrote: I'm using dbcp, as per below. I'll try switching over to c3p0 and see if that helps. bean id=dataSourceOracle

Re: disable back button

2009-08-24 Thread Edward Zarecor
There was a prior discussion about this: http://www.nabble.com/Double-submit-issue---disabling-HTML-submit-button-causes-form-posting-to-be-cancelled-td22698742.html Ed. On Mon, Aug 24, 2009 at 2:52 PM, fachhoch fachh...@gmail.com wrote: what I mean by double submit is user submits a form

Re: setResponsePage() Not Working

2009-08-11 Thread Edward Zarecor
On Tue, Aug 11, 2009 at 12:23 PM, Jeff Longland jeff.longl...@gmail.comwrote: In my quest to solve this problem, I'm mounting all my pages using HybridUrlCodingStrategy to see if that will negate the extra ?wicket param in the URL. Worked fine on GlassFish, but as soon as I moved it over to

markup inheritance redirect issue

2009-06-12 Thread Edward Zarecor
We're integrating a third party web-based authentication service that requires that we redirect from Wicket and then handle a redirect back from the service. The API requires passing in the raw HTTPServletRequest and HTTPServletResponse. Our page hierarchy looks like this: BasePage

Re: Wicket integration with good charts api

2008-12-09 Thread Edward Zarecor
Looks like a difference between the version of your JVM and the compiler used to compile ofc4j. java.lang.UnsupportedClassVersionError: (ofc4j/model/elements/BarChart) bad major version at offset=6 Ed. - To unsubscribe,

Re: [Announce] The Wicket Reflex Game:)

2008-09-25 Thread Edward Zarecor
Fun. There seems to be a condition that causes subsequent clicks to not be scored. In any event, not all successful clicks seem to get counted -- not sour grapes, I promise. Ed. On Thu, Sep 25, 2008 at 4:09 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Thanks:) One

Panel based wizard properties question

2008-09-22 Thread Edward Zarecor
Looking at the abracadabra example using property file style localization messages, http://www.wicket-library.com/wicket-examples, to wit: confirmation.content=You are about to create user '${firstName} ${lastName}', for \ department '${department}' and user name '${userName}'. Are you sure you

Re: cross session leakage

2008-09-11 Thread Edward Zarecor
Look at the fisheye tab in Jira. Ed. On Thu, Sep 11, 2008 at 10:37 AM, Weaver, Scott [EMAIL PROTECTED]wrote: Thanks Martijn. The comments/description really doesn't tell me much, I will see if looking at the code changes tells me more. Thanks again, -scott -Original Message-

Wizard question

2008-08-29 Thread Edward Zarecor
I'm relatively new to wicket and have question about the wizard implementation. It seems all the steps added to the Wizard in its constructor are themselves constructed when init is called on the Wizard. What I would like to do is have a mechanism for dynamically changing the second step in my