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: [OT] Wicket Like framework for desktop applications?

2009-01-28 Thread Edward Yakop
. Regards, Edward Yakop - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

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: Migration to 1.4 - generic headache

2008-10-30 Thread Edward
even once in the past 6 months - and I have developed some fairly complicated apps in that time. I think 1.3 is designed very well and I like it a lot. Edward Jan Kriesten wrote: Hi Igor, you are against generics completely. but they are going to happen. the way they are now is not perfect

Re: Simulate DropDownChoice selection

2008-10-06 Thread Edward Yakop
); formTester.submit(); Regards, Edward Yakop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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
: Yes I to would like to know the cause also as we have had this happen more than once in our production environment, five or six times that I know (through trouble tickets). -scott -Original Message- From: Edward [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10

cross session leakage

2008-09-10 Thread Edward
1.3.4 says it fixed cross session leakage due to a dangling thread local in exceptional circumstances... but I don't see an actual but identified in the release notes. What exactly was fixed and what was the exceptional circumstance? Thanks, Edward

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

First impressions of 1.4-m3

2008-08-27 Thread Edward
generics in my app. Just my $.02 Edward - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Generics - Re: First impressions of 1.4-m3

2008-08-27 Thread Edward
be others that I just didn't understand) why can't we make Component generic and then do: public class Label extends WebComponentObject { ... } and now Label is not generic anymore. Edward Edward wrote: I've been a little busy so just took my first look at 1.4-m3 and spend a few

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

2008-08-19 Thread Edward Yakop
idea! Printing an ebook in Malaysia cost 8 cents RM per page and I know some people won't hesitate to print them. For this case, it would only cost less than 10.45 USD to get the book printed. Regards, Edward Yakop - To unsubscribe

Re: Setting error message component name

2008-07-30 Thread Edward
public MyForm(final String id) { { PasswordTextField pwd = new PasswordTextField(verifyPassword); pwd.setLabel(new Model(Verify Password)); add(pwd); } insom wrote: I have the following simple form: public MyForm(final String id) { { add(new PasswordTextField(verifyPassword)); } If

Re: [ANN] WicketBits Automagic 1.0-alpha Release

2008-07-21 Thread Edward
simple... the annotations can be put on the domain objects. -Edward Ryan Sonnek wrote: Doh! Forgot to post the url for info on the project. :) http://jroller.com/wireframe/entry/hibernateannotationcomponentconfigurator On Sat, Jul 19, 2008 at 8:59 AM, Ryan Sonnek [EMAIL PROTECTED] wrote

[ANN] WicketBits Automagic 1.0-alpha Release

2008-07-17 Thread Edward
. -Edward - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [ANN] WicketBits Automagic 1.0-alpha Release

2008-07-17 Thread Edward
I believe it would make porting an existing webapp easier, but it wouldn't free you from writing Wicket related java completely. Wicket is very powerful. -Edward Brill Pappin wrote: Could this be used to port one webapp to Wicket? - Brill Pappin On 17-Jul-08, at 3:24 PM, Edward wrote

Re: OSGi and class loading issues solution proposal

2008-07-03 Thread Edward Yakop
inside OSGi. +1 Regards, Edward Yakop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: OSGi and class loading issues solution proposal

2008-07-03 Thread Edward Yakop
On Thu, Jul 3, 2008 at 9:27 PM, Daniel Stoch [EMAIL PROTECTED] wrote: On Thu, Jul 3, 2008 at 2:53 PM, Edward Yakop [EMAIL PROTECTED] wrote: On Thu, Jul 3, 2008 at 8:24 PM, Daniel Stoch [EMAIL PROTECTED] wrote: But there is a one assumption, that bundle with Wicket classes (you probably have

Re: OSGi and class loading issues solution proposal

2008-07-03 Thread Edward Yakop
On Thu, Jul 3, 2008 at 9:55 PM, Daniel Stoch [EMAIL PROTECTED] wrote: On Thu, Jul 3, 2008 at 3:35 PM, Edward Yakop [EMAIL PROTECTED] wrote: On Thu, Jul 3, 2008 at 9:27 PM, Daniel Stoch [EMAIL PROTECTED] wrote: On Thu, Jul 3, 2008 at 2:53 PM, Edward Yakop [EMAIL PROTECTED] wrote: On Thu, Jul 3

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

2008-03-17 Thread Edward Yakop
+1 Regards, Edward Yakop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Dynamically adding component and associated markup

2008-03-03 Thread Edward Yakop
/confluence/display/STUFFWIKI/wicketstuff-minis-prototip Regards, Edward Yakop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: YUI integration?

2008-03-02 Thread Edward Yakop
On Mon, Mar 3, 2008 at 5:19 AM, Igor Vaynberg [EMAIL PROTECTED] wrote: there are a whole bunch of js lib integrations in wicket-stuff Is it possible to update the wicket-contrib-yui to version 2.5.0? Regards, Edward Yakop

Re: Does something happen other than what html is output?

2008-02-28 Thread Edward Yakop
this: img wicket:id=blahIMAGE/img I wonder why this doesn't work. To me, this should work, is it because of the IMAGE string? Regards, Edward Yakop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: comunication between panels

2008-02-19 Thread Edward Yakop
. Regards, Edward Yakop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [WicketStuff-Scriptaculous] DragNDrop problem in IE6/IE7.

2008-02-13 Thread Edward Yakop
to iterate the Draggables.drag array and inovoke Draggable#destroy. I would think there probably a better way to handle this without subclassing AjaxRequestTarget. Will come back to this later. Regards, Edward Yakop On Feb 14, 2008 12:53 AM, Ryan Sonnek [EMAIL PROTECTED] wrote: Ok everyone, I

Re: [WicketStuff-Scriptaculous] DragNDrop problem in IE6/IE7.

2008-02-12 Thread Edward Yakop
Hi, Thanx for the hints :) The problem is solved, but I'm not sure whether Ryan has patched the scriptaculous code in wicket-stuff svn. Regards, Edward Yakop On Feb 13, 2008 2:10 PM, Ernesto Reinaldo Barreiro [EMAIL PROTECTED] wrote: Don't know if it is the same issue but I have found

Re: [WicketStuff-Scriptaculous] DragNDrop problem in IE6/IE7.

2008-02-08 Thread Edward Yakop
Committed at https://scm.ops4j.org/repos/ops4j/laboratory/users/efy/wicket-contrib-scriptaculous The examples can be found at https://scm.ops4j.org/repos/ops4j/laboratory/users/efy/wicket-contrib-scriptaculous-examples. Regards, Edward Yakop Note: The wicket dependency version is now set

Re: localization

2008-02-06 Thread Edward Yakop
to extend that API to have a better wicket integration. It would be very cool if we can do the following: code BoundCompoundPropertyModel model = new TranslatableBoundCompoundPropertyModel( hotel ); TextField descriptionField = ...; model.bind( descriptionField, description ); /code Regards, Edward

Re: [WicketStuff-Scriptaculous] DragNDrop problem in IE6/IE7.

2008-02-01 Thread Edward Yakop
On Feb 1, 2008 11:47 PM, Ryan Sonnek [EMAIL PROTECTED] wrote: On Feb 1, 2008 3:26 AM, Lan Boon Ping [EMAIL PROTECTED] wrote: My colleague (Edward Yakop) found out the cause root and have a solution for it. The reason why this is only occured in IE is because wicket-ajax.js uses

Re: setting session locale to browser locale on onSubmit()

2008-02-01 Thread Edward Yakop
bundle.properties, you could always do new Label( wicketId, new ResourceModel( resourceBundleKey ) ); Or otherwise If this is mass changes of components etcs setResponsePage( new PageClassToInstantiate() ); Regards, Edward Yakop

Re: openlayers

2008-01-25 Thread Edward Yakop
I'm interested :) Regards, Edward Yakop On 1/25/08, Peter Neubauer [EMAIL PROTECTED] wrote: Cool, I hope we can get this to a more stable state in the next couple of days so others can jump in and help out. Is anyone interested? The OL and GeoServer combo seems to be a very appealing

Re: Is wicketstuff-scriptaculous still active?

2008-01-11 Thread Edward Yakop
. Regards, Edward Yakop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is wicketstuff-scriptaculous still active?

2008-01-11 Thread Edward Yakop
the path. And the code is simpler to retrieve the component. Regards, Edward Yakop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is wicketstuff-scriptaculous still active?

2008-01-11 Thread Edward Yakop
hour or so. Regards, Edward Yakop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is wicketstuff-scriptaculous still active?

2008-01-11 Thread Edward Yakop
this for u to decide. As far as user of wicket-scriptaculous concern. This is transparent to them. Regards, Edward Yakop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is wicketstuff-scriptaculous still active?

2008-01-11 Thread Edward Yakop
. The updated code can be updated from: https://scm.ops4j.org/repos/ops4j/laboratory/users/efy/wicket-contrib-scriptaculous-examples https://scm.ops4j.org/repos/ops4j/laboratory/users/efy/wicket-contrib-scriptaculous Regards, Edward Yakop

Re: TreeGrid and DataGrid open source

2008-01-11 Thread Edward Yakop
On Jan 12, 2008 9:08 AM, Matej Knopp [EMAIL PROTECTED] wrote: The beta downloads and live demo are available at http://www.inmethod.com . It's very nice :) Regards, Edward Yakop - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Is wicketstuff-scriptaculous still active?

2008-01-10 Thread Edward Yakop
you re-open this bug i filed in wicket? https://issues.apache.org/jira/browse/WICKET-987 Ok, will do that. Note: I haven't modify the scriptcaulous example, if u need me to update this, let me know. Regards, Edward Yakop

Re: Is wicketstuff-scriptaculous still active?

2008-01-10 Thread Edward Yakop
regarding the javascript issues, could you re-open this bug i filed in wicket? https://issues.apache.org/jira/browse/WICKET-987 I can't re-open this bug, but I left a comment in the jira issue. Regards, Edward Yakop

Re: Is wicketstuff-scriptaculous still active?

2008-01-10 Thread Edward Yakop
rendered by firefox browser. Regards, Edward Yakop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is wicketstuff-scriptaculous still active?

2008-01-10 Thread Edward Yakop
will be a matter on how many hop to get to the drag source. Regards, Edward Yakop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]