Re: Form submit - button click

2015-09-04 Thread Bernard
Your feedback component is not contained in any AJAX target. You add the feedback component to the page which does not get refreshed after the form submit. AJAX is preferably used to avoid what you are expecting (page refresh). On Fri, Sep 4, 2015 at 5:45 PM, Mihir Chhaya

How to get FormComponent value outside Model

2015-06-08 Thread Bernard
depending on some entity type. BTW I feel that Wicket lets me handle this very well. Many thanks. Bernard

Re: How to get FormComponent value outside Model

2015-06-08 Thread Bernard
great support. Wicket 7 is the best release I have ever seen. I am impressed by the improved session expiry behavior, the best kept secret of this release. Regards, Bernard On Mon, Jun 8, 2015 at 9:22 PM, Sven Meier s...@meiers.net wrote: Hi Bernard, applicable Wicket pattern which

Re: How to get FormComponent value outside Model

2015-06-08 Thread Bernard
an applicable Wicket pattern which is different from validation before #onSubmit(). Regards, Bernard On Mon, Jun 8, 2015 at 8:02 PM, Sven Meier s...@meiers.net wrote: Hi, After Form#onSubmit(), without any error on the Wicket side, the service tier has a validation error that belongs

RE: Question on Double Submit and rendering strategy

2015-01-14 Thread Bernard Bernard
on JavaScript for double submit prevention. I have seen in production duplicate orders with JavaScript prevention. Regards, Bernard

Re: Request for re-opening a Jira issue

2014-09-16 Thread Bernard
. I'll copy my response to the ticket for cross reference. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Sun, Sep 14, 2014 at 10:55 AM, Bernard bht...@gmail.com wrote: Hi, I created a Jira issue https://issues.apache.org/jira/browse/WICKET-5693

Request for re-opening a Jira issue

2014-09-14 Thread Bernard
-opened. Many thanks. Bernard --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: Components can no longer be added

2013-12-08 Thread Bernard
in 50% of these it was my fault not Wicket. Regards, Bernard On Mon, 9 Dec 2013 05:28:52 +, you wrote: Wicketeers, I have another hard-to-track down issue. To make matters worse, I've actually taken this code/pattern, put it into a quickstart - and what do you know - it works fine

Re: Stateful / versioned / bookmarkable

2013-10-27 Thread Bernard
will and policy. The Post-Redirect-Get pattern supports this, and I know that other frameworks support this, too. Regards, Bernard On Sun, 27 Oct 2013 05:26:07 -0700 (PDT), you wrote: Afaik stateful pages are always versioned. I wonder about these two questions: 1. In this case links to versioned

Re: Interesting article from Zeroturnaround

2013-08-03 Thread Bernard
to clarify what his foundation is and provide a scenario to back up his claim of huge server resource consumption problem. I think it is quite difficult to rate Web frameworks, especially when they are based on different architectures, and have different purposes. Bernard On Wed, 31 Jul 2013

Re: How to deal with JPA Entities in a Wicket Model? (Data handling in models)

2013-05-06 Thread Bernard
is very powerful. Kind Regards, Bernard On Sat, 04 May 2013 15:35:37 +0200, you wrote: Am 03.05.2013 16:28, schrieb Bertrand Guay-Paquet: Best solution I can imagine would be if there would be a callback or overridable method which is called when the user navigates to a page and another

Panel replacement and No Page found for component

2013-04-25 Thread Bernard
to be stateless with it in most cases but in other cases the page should become stateful. Any ideas? Many thanks, Bernard - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: Panel replacement and No Page found for component

2013-04-25 Thread Bernard
Thanks. Will do. On Thu, 25 Apr 2013 13:27:06 +0300, you wrote: Hi, I don't see another solution but to copy/paste StatelessForm code in your own class until Wicket 6.8.0 and use #findPage() instead of #getPage(). File a ticket for improvement. On Thu, Apr 25, 2013 at 1:13 PM, Bernard bht

Re: setDefaultFormProcessing and models

2013-04-08 Thread Bernard
Hi, Perhaps you can use a combination of what is avaliable in the javadoc of org.apache.wicket.markup.html.form.Form e.g. FormComponent#updateModel() Regards, Bernard On Sun, 7 Apr 2013 15:14:19 -0700 (PDT), you wrote: Maybe I just need this explained to me a little clearer, but I

Re: how to create a new Session

2013-03-27 Thread Bernard
Hi, Do you want to get rid of an existing session? Bernard On Wed, 27 Mar 2013 02:00:53 -0700 (PDT), you wrote: hello. how can tell the wicket application to create and use a new session for subsequent requests? the problem to solve is: the session keeps track of userdata. on the login page

Re: Adding a large amount of MarkupContainers into the ListView or RepeatingView

2013-03-26 Thread Bernard
solve your performance problem if applicable to your use case. But that is theory until someone creates TableCellRenderer for Wicket. Kind Regards, Bernard On Tue, 26 Mar 2013 16:07:17 +0100, you wrote: Hi, Lets say I have about ~100.000 of MarkupContainer objects that I want to put

Re: lost session and error modal

2013-03-18 Thread Bernard
be interested in if you would benefit from Wicket responding to your ajax call with the expected result even after session expiry: Optionally execute Callback Behavior on Re-construction after Expiry https://issues.apache.org/jira/browse/WICKET-5070 Regards, Bernard So , On Mon, 18 Mar 2013 09

Re: Wicket 6: AjaxFormComponentUpdatingBehavior on dropdown leads to page reload

2013-03-08 Thread Bernard
reconstructed it which could be surprising. See ListenerInterfaceRequestHandler#respond(). Regards Bernard On Fri, 8 Mar 2013 23:04:13 +0100, you wrote: I've just spent several hours trying to debug a rather strange effect with a dropdown and a AjaxFormComponentUpdatingBehavior. I have a component

Re: Processing form input at the start of a session?

2013-03-04 Thread Bernard
of every single page of a site. The effort can be enormous. Regards, Bernard Thanks! Ondra On 03/04/2013 03:27 PM, Martin Grigorov wrote: Hi, Make the page stateless, i.e. StatelessForm instead and avoid any other stateful components. On Mon, Mar 4, 2013 at 4:23 PM, Ondrej Zizka ozi

Re: Ignoring requests already processed by other servlet (REST)

2013-03-03 Thread Bernard
See https://cwiki.apache.org/WICKET/best-practices-and-gotchas.html#BestPracticesandGotchas-Ignoringpaths On Sun, 03 Mar 2013 10:35:17 +0100, you wrote: Hi all, I have a wicket app at /* and REST API at /rest . When REST returns 404 (e.g. to reqest for non-existent ID), Wicket processes

Re: What is the best strategy for non versioned pages?

2013-02-25 Thread Bernard
/mypage?0 I am just asking what the strategy is because the documentation does not mention this rather common problem. Regards, Bernard On Mon, 25 Feb 2013 17:01:46 -0500, you wrote: Is moutning the page what you're looking for? http://wicketinaction.com/2011/07/wicket-1-5-mounting-pages

What is the best strategy for non versioned pages?

2013-02-24 Thread Bernard
pages are stateless if they don't contain state, and that Wicket makes a page stateful as soon as it needs to e.g. when state is added. Does Wicket provide a strategy for a page to always have a unique non-versioned URL - stateless or not? Regards, Bernard

Re: Redirect to relative URL

2013-02-22 Thread Bernard
You will find solutions under these subjects: redirect to an external non-Wicket page redirect to an external URL e.g. https://cwiki.apache.org/WICKET/how-to-redirect-to-an-external-non-wicket-page.html Regards, Bernard On Fri, 22 Feb 2013 17:06:09 +0100, you wrote: Hello, I have a server

How to make a stateful mounted page bookmarkable?

2013-02-16 Thread Bernard
?0 Regards, Bernard - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: How to make a stateful mounted page bookmarkable?

2013-02-16 Thread Bernard
Thanks. This works. But it does not work with PackageMapper via WebApplication#mountPackage() with a Page constructor with IModel parameter. Would this be an expected behavior? Regards, Bernard On Sun, 17 Feb 2013 01:27:13 +0100, you wrote: Have a look to MountedMapper And also the Wicket

Re: How to make a stateful mounted page bookmarkable?

2013-02-16 Thread Bernard
then I would suggest you pinpoint this with a quickstart. Regards, Bernard On Sun, 17 Feb 2013 06:05:52 +0100, you wrote: IIRC, bookmarkable pages need PageParameters, which also makes sense - it must be able to reconstruct the page just from URL. IModel is just stored in PageStore (or PageMap

Re: call the same page using setResponsePage()

2013-02-08 Thread Bernard
. The workaround code becomes very ugly. Are there any plans to fix this or is this a feature? Bernard On Fri, 8 Feb 2013 09:09:34 +0100, you wrote: Hi, It is OK. But you can also just update some field/model in the current page instance. On Fri, Feb 8, 2013 at 7:00 AM, snair sreelatha.n

Re: Wicket job market

2013-02-05 Thread Bernard
to them that a page expired while they can prove that they were still signed in? Bernard On Tue, 5 Feb 2013 19:52:18 +1100, you wrote: your loosing the focus pretended to be justify before: marketing, not tech. and many people first see, later think :) I think the problem is that most good software

Can we use stateful pages for web sites?

2013-02-03 Thread Bernard
can't have all pages stateless because any standard Wicket AJAX needs server state. I think there is a major issue with org.apache.wicket.Component#urlFor() which handles pages as bookmarkable only if they are stateless. How are you dealing with this? Regards Bernard

How to reload form page on PageExpiredException

2013-01-24 Thread Bernard
Hi all, How can I get Wicket 6 to respond with a refreshed stateful mounted form page that expired on submit? Just instead of showing an error page for the dreaded PageExpiredException, show the form page again with the user's values in it. Many thanks, Bernard

Re: Passing IModel in Constructor of bookmarkable Page?

2013-01-22 Thread Bernard
links break after expiry. How do we get that? Kind Regards, Bernard On Tue, 22 Jan 2013 10:16:42 +0200, you wrote: Hi, By default Wicket recognizes a page as bookmarkable if it has default constructor or a constructor with PageParameters as a single parameter. Check this thread

Re: Wicket Session Expiration - Ajax interactions

2013-01-22 Thread Bernard
server state - which could become too complex to handle for the framework, better done with a custom component. Bernard On Mon, 21 Jan 2013 08:56:23 -0800 (PST), you wrote: I'm currently in the process of evaluating frameworks. We are currently using Wicket 1.4. The ones I've looked at so far

Re: Wicket Session Expiration - Ajax interactions

2013-01-22 Thread Bernard
in Constructor of bookmarkable Page? where I am hoping to get feedback on a special non-AJAX case where behavior after session expiry could potentially be improved. Bernard On Tue, 22 Jan 2013 10:32:07 -0800 (PST), you wrote: Hi Bernard, Would you care to share what workarounds you have made

Re: Passing IModel in Constructor of bookmarkable Page?

2013-01-21 Thread Bernard
, Bernard On Mon, 21 Jan 2013 10:05:57 +0200, you wrote: Hi, I think using Page#Page(IModel) constructor is not very useful. It appears to be anti-pattern lately. There were several tickets related to ModalWindow when a model is shared between the page that contains the modal and the page inside

Re: Passing IModel in Constructor of bookmarkable Page?

2013-01-21 Thread Bernard
Hi Martin, This is great. Thanks for the quick response. Bernard On Mon, 21 Jan 2013 10:57:19 +0200, you wrote: You can pass the oldPageId as a request parameter too. Then use it: new PageReference(oldPageId.toInt()).getPage() On Mon, Jan 21, 2013 at 10:39 AM, Bernard bht...@gmail.com wrote

Re: Passing IModel in Constructor of bookmarkable Page?

2013-01-21 Thread Bernard
blind wrt to state even though the user can see the full state on the screen. Should I open a Jira issue to address this? Kind Regards, Bernard On Mon, 21 Jan 2013 10:05:57 +0200, you wrote: Hi, I think using Page#Page(IModel) constructor is not very useful. It appears to be anti-pattern lately

Passing IModel in Constructor of bookmarkable Page?

2013-01-20 Thread Bernard
expiring logout links (the primary driver of all this). In case of page expiry I can deal with the exceptional call of the default constructor from IPageSettings#getRecreateMountedPagesAfterExpiry() by responding with a bookmarkable page. Many thanks, Bernard

Wicket 6.4.0 sources?

2012-12-18 Thread Bernard
Hi, How can I get the sources? The 4MB apache-wicket-6.4.0.tar.gz is basically empty. It contains 142 KB of quickstart stuff - if I run mvn install then I am not getting any wicket source files copied into my m2 repository. I must be missing something. Many thanks Bernard

Re: Wicket 6.4.0 sources?

2012-12-18 Thread Bernard
can get started. Many thanks, Bernard README: ... The archive you just downloaded and unpacked contains the source code and the jars of the core projects of Wicket. If you are just starting out, you probably only need to include wicket-x.jar, where x stands for the version. As a rule, use just

apache-wicket-6.4.0.tar.gz broken

2012-12-18 Thread Bernard
I checked several mirrors. It contains only a quickstart, no parent pom. README has contents which seems to reflect what the file should contain. I would use the zip file instead. This is not an authorised message, just an observation from a user. Kind Regards Bernard

Re: apache-wicket-6.4.0.tar.gz broken

2012-12-18 Thread Bernard
Hi, Apparently apache-wicket-6.4.0.tar.gz is broken in a version of WinZip not in 7-Zip so this looks like a file compatibility bug. Kind Regards, Bernard On Wed, 19 Dec 2012 13:56:34 +1300, you wrote: I checked several mirrors. It contains only a quickstart, no parent pom. README has

Re: reloading of HTML and classes

2012-04-07 Thread Bernard
most libraries (including Wicket) into the GlassFish domain's lib dir instead of copying them on every deployment. The Deploy on Save feature is only useful for mini applications - it is too slow. Bernard On Fri, 06 Apr 2012 16:48:11 +0200, you wrote: I've been fighting this for the past two days

Re: Performance optimization

2012-02-23 Thread Bernard
If there are thousands of objects in a page then there is the question whether all of these objects actually represent state - state being the only reason why Wicket should serialize the page. In other words, is the page so complex that it requires 10MBytes to serialize itself in a manner that it

set focus on a field when opening a ModalWindow

2010-04-16 Thread Bernard
is not ready when my javascript is called. Does somebody knows how to set focus on my first form field in my modal window ? Best regards, Bernard -- View this message in context: http://n4.nabble.com/set-focus-on-a-field-when-opening-a-ModalWindow-tp1989918p1989918.html Sent from the Wicket - User

Re: unit test of AjaxLazyLoadPanel and ModalWindow

2009-12-15 Thread Bernard Lupin
: I'm using the iframe version of ModalWindows... Regards Bernard Antony Stubbs wrote: And here's a nicer version to add to your library: /** * Triggers an {...@link AjaxLazyLoadPanel} to fetch it's contents. * * @param wc the {...@link WicketTester} to execute

Re: close a ModalWindow when session expired

2009-12-14 Thread Bernard Lupin
not able to find which javascript code is executed on this cross image. Regards Bernard Johan Compagner wrote: it could be that if you do that then in normal use the serverside doesnt know that the modal window isnt shown anymore. So i guess you should also try to let the server know. On Fri

Re: ModalWindow on Firefox plus IE tab

2009-12-10 Thread Bernard Lupin
Hi, On line 1129 in modal.js, I replaced iframe src='\/\/:' frameborder=... with iframe src='about:blank' frameborder=... and this solved the problem. I don't know which browser do not understand about:blank, but both my IE and my firefox does... Bernard Lupin wrote: Hi, My web site

Re: close a ModalWindow when session expired

2009-12-04 Thread Bernard Lupin
to solve my problem ? Regards, Bernard Bernard Lupin wrote: Hi, On my ModalWindow's close button, I only want to ... close the modal window. It seems that myWindow.close(target) calls some Ajax request, which is failing when session is expired. But if I click on the cross button in the upper

close a ModalWindow when session expired

2009-12-03 Thread Bernard LUPIN
a lot Bernard - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Session timeout - AJAX-enabled controls

2009-12-02 Thread Bernard Lupin
Thank you Igor. Does somebody have a short example of java code to check for wicket-Ajax header ? Or an example of what such a header looks like ? In the debug window, I can see wicket xml responses, bot no query... Bernard in your servlet filter you will have to check for Wicket-Ajax header

ModalWindow on Firefox plus IE tab

2009-12-02 Thread Bernard LUPIN
javascript expert can help me... Many thanks Bernard - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Session timeout - AJAX-enabled controls

2009-12-01 Thread Bernard LUPIN
: Wicket.Ajax.Call.failure: Error while parsing response: Could not find root ajax-response element, and for users nothing happens when clicking on AjaxLink's. Is it a way to solve this please ? Regards, Bernard --- En date de : Ven 20.11.09, Carlo Camerino carlo.camer...@gmail.com a écrit : De: Carlo Camerino

Re: Session timeout - AJAX-enabled controls

2009-12-01 Thread Bernard Lupin
And I'm using wicket version 1.4.3... Bernard Lupin wrote: Hello, I also have a similar problem : when the session is over, debug shows me that all my Ajax links receive an html response with my login page, instead of an xml response, because I have a servlet filter for that. So wicket

Re: method assertWarningMessages

2009-11-23 Thread Bernard Lupin
Hi again, This question seems to be simple, no ? Do I have to open a JIRA ? Bernard Bernard Lupin wrote: Hi all, Components have 3 methods to put information in a feedback panel : info(), warn() and error(). But in the WicketTester class, there are only 2 asserts available

RE: best approach for a criteria and result page

2009-11-18 Thread Bernard LUPIN
Thank you very much Igor for your answer. You're right, this is working even without any code in the onSubmit() method (in fact I just added one line to manage the visibility of my result WebMarkupContainer). Bernard -Message d'origine- De : Igor Vaynberg [mailto:igor.vaynb

method assertWarningMessages

2009-11-18 Thread Bernard LUPIN
. Even googling 'wicket +assertWarnMessages' returns nothing. Am I missing something ? Many thanks, Bernard - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Wicket Development with NetBeans

2009-07-24 Thread Bernard
can be found here http://plugins.netbeans.org/PluginPortal/faces/PluginListPage.jsp?search=wicket Bernard - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Spring and Wicket - is it worth it?

2009-07-24 Thread Bernard
and high user demands). Wicket is fun and easy. Business logic and all the persistence stuff are not issues that occupy my mind. What do you think about that? Bernard On Wed, 22 Jul 2009 18:40:19 -0700, you wrote: Due to the fact that nearly every substantial sample Wicket app is Spring-based, I

Wicket NetBeans Users please vote for these Issues

2009-07-08 Thread Bernard
://plugins.netbeans.org/PluginPortal/faces/PluginListPage.jsp?search=wicket Thanks Bernard - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: AjaxFallbackLink Text

2009-06-28 Thread Bernard
Hi, I cannot find the purpose of the IModel constructor argument in AjaxFallbackLink(java.lang.String id, IModelT model) as I was also trying to modify the anchor text via the IModel with AJAX. What is it? Many thanks. Bernard On Thu, 25 Jun 2009 12:11:37 -0500, you wrote: Two ways come

URL Resolution Magic for Applets as for Images?

2009-06-26 Thread Bernard
the attribute and property that it does not cover automatically. Is there a Wicket way to do this? Many thanks. Bernard - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: URL Resolution Magic for Applets as for Images?

2009-06-26 Thread Bernard
)); } } }); add(appletContainer); Bernard On Fri, 26 Jun 2009 08:06:16 -0700, you wrote: see org.apache.wicket.markup.parser.filter.RelativePathPrefixHandler -igor On Thu, Jun 25, 2009 at 9:28 PM, bern...@actrix.co.nz wrote: Hi, I am pleased with the URL

Re: [VOTE] Release Wicket 1.4-rc5

2009-06-09 Thread Bernard
for this. Regards Bernard On Tue, 9 Jun 2009 17:53:42 +0200, you wrote: [XXX] Yes release 1.4-rc5 On Tue, Jun 9, 2009 at 17:08, Jeremy Thomerson jer...@wickettraining.comwrote: I've created a release for Wicket 1.4-rc5. Until it is officially released, you can download from the following

Re: Wicket-Guice: Inject into Session

2009-04-29 Thread Bernard
as these are pooled resources that have a price. Many thanks, Bernard On Tue, 28 Apr 2009 23:42:02 -0700, you wrote: there is absolutely nothing wrong with having authenticate() on session. this kind of thinking is exactly what is wrong with the current state of java technology. session is an object

Re: sessionsize of requestlogger

2009-04-18 Thread Bernard
Igor, Thanks for referring to Page#getPageReference. Regarding the reload, I created my own error loading a page. On Fri, Apr 17, 2009 at 5:49 PM, Bernard b...@actrix.gen.nz wrote: I prefer not to instantiate a page with a non-default constructor because it breaks if the user reloads it. How

Re: sessionsize of requestlogger

2009-04-17 Thread Bernard
between pages except via query strings which I try to avoid for various reasons? Or as Daniele asked: Is there a way to recover the last Page in a non restful way? Is there any jira issue that tracks this subject? Bernard On Wed, 15 Apr 2009 09:09:12 -0700, you wrote: On Wed, Apr 15, 2009 at 2:22

Re: Migration to 1.4 - generic headache

2008-10-31 Thread Bernard Niset
Hi Martin, There *is* a way to evaluate the type parameter at runtime. Something like the following will give you the first type used: (ClassT) ((ParameterizedType) getClass() .getGenericSuperclass()).getActualTypeArguments()[0] Regards, Bernard. Martin Voigt a écrit : if we

Re: Wicket + jboss 4.0.5 + slf4j-log4j12 markup refresh problem issue

2008-09-12 Thread Bernard Niset
environment is producing a huge amount of logging and no issues there with logging. Bernard. Lukasz Kucharski a écrit : Hi group Did anyone use wicket witch such configuration - i know this may sound silly but I'm having serious issues with slf4j binding for log4j. Jboss internally uses very

Re: [ANNOUNCE] Apache Wicket 1.3.4 is released!

2008-06-27 Thread Bernard Niset
Martijn Dashorst a écrit : On Fri, Jun 27, 2008 at 10:47 AM, Bernard Niset [EMAIL PROTECTED] wrote: Hi Martijn, Thanks for the release. I don't find how to build the javadoc. Apparently, mvn package doesn't do that anymore. Not by default: it took too long and too much processing

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

2008-06-02 Thread Bernard Niset
is the bean type. This type is indeed a container of a key element and of a bean element. I hope it helps, Bernard. - 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-02 Thread Bernard Niset
these questions!. Bernard. atul singh a écrit : Hello everyone, I feel bad that a vote thread has been converted to one of discussion... At this moment wicket is *for *creating custom components. If these custom component writing gets complicated we will not be able to appreciate wicket as much(as much

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

2008-03-17 Thread Bernard Niset
+1 Regards, Bernard Martijn Dashorst wrote: This thread is for voting only. Use the [discuss] thread for voicing your opinion or asking questions. This makes counting the votes much easier. The discussion on our development list makes it clear that a lot of folks are anxious for generified

Re: [newbie question] How to refresh Image using an AjaxLink

2008-02-27 Thread Bernard Niset
onComponentTag(ComponentTag tag) { super.onComponentTag(tag); String src = (String) tag.getAttributes().get(src); src = src + rand= + Math.random(); tag.getAttributes().put(src, src); } Bernard. Igor Vaynberg wrote: most people want stable urls for their images i

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-30 Thread David Bernard
: David, what is the best practice to specify the order of included resources? Thank you! David Bernard-2 wrote: You could aggregate every type of resources. Alex Objelean wrote: Very interesting. Would be nice to have also aggregate css. Regards, Alex. David Bernard-2 wrote: If you want you

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread David Bernard
If you want you could use the yuicompressor-maven-plugin to minified (more than just strip whitespace) at build time. http://alchim.sf.net/yuicompressor-maven-plugin Other features: * aggregate js * minified css So you could test/run with minified in development and/or deployment mode

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread David Bernard
You could aggregate every type of resources. Alex Objelean wrote: Very interesting. Would be nice to have also aggregate css. Regards, Alex. David Bernard-2 wrote: If you want you could use the yuicompressor-maven-plugin to minified (more than just strip whitespace) at build time. http

Multiple onchange AjaxUpdatingBehavior

2007-11-15 Thread Bernard Niset
to 1.3.0-rc1 but to my deception, it doesn't work either. Any help appreciated. Thanks for the great framework anyway. Bernard. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Multiple onchange AjaxUpdatingBehavior

2007-11-15 Thread Bernard Niset
Thanks for the info. Any ideas for another way to achieve this or a work around? Bernard. Gerolf Seitz wrote: unfortunately, this is not (yet) possible, and won't be for 1.3. see [0] for more details... Gerolf [0] https://issues.apache.org/jira/browse/WICKET-214 On Nov 15, 2007 11:04

Re: How to Jquery, Json, wicket spring?

2007-11-04 Thread David Bernard
Hi, I started the wicketstuff-jquery project, currently there is no doc/wiki, only the [source][1] is available and a demo application ([source][2], [war][3]). For the communication with between client and server, I used the native Wicket API, simpler than trying to write it in JSON (client

Re: Wicket and Netbeans 6

2007-10-20 Thread David Bernard
I try NB 6 some time ago with wicket and maven. You don't need to mvn netbeans:netbeans, but you need to install NB module/plugins to manage maven2 project. ToolsPluginsAvailable plugins Sort by category, select to install : maven in category java, and if you want (optional) other plugin in

Re: Wicket and Netbeans 6

2007-10-20 Thread David Bernard
. I run the Start.java but nothing happens... Sorry for all these questions, I'm new to Netbeans (which I choose to try out the UML part). Thanks in advance ZedroS On 10/20/07, David Bernard [EMAIL PROTECTED] wrote: I try NB 6 some time ago with wicket and maven. You don't need to mvn

Re: [OT] Blocking, Persistent Queue suggestions?

2007-10-17 Thread David Bernard
I've develop this for a previous project where we replace JMS (MQ-Serie) queue by homemade system. After some benchmark, ehcache was the winner. But when it's not stopped cleaned, then data/index are correpted and reset at the next start = loosing data :-( At the end we develop a queueing

Re: PopupDatePicker + AjaxButton + IE 7 + visibility

2007-10-10 Thread David Bernard
WARNself promotion/WARN In the wicketstuff-jquery there is a date picker (based on jquery) that should (not tested I'm on linux) work on IE7. You could download the examples war at (quicker than svn co + build only for test)

Re: Wicket Stuff

2007-10-10 Thread David Bernard
WARNself promotion/WARN In the wicketstuff-jquery there is a sortable list (by DnD) (based on jquery). You could download the examples war at (quicker than svn co + build only for test) http://alchim.sourceforge.net/download/wicketstuff-jquery-examples-0.1-SNAPSHOT.war anita nichols wrote:

Re: pass information through ajax without form

2007-10-03 Thread David Bernard
For a similar case, I override (in MyBehavior) @Override public final void respond(AjaxRequestTarget target) { try { Request req = RequestCycle.get().getRequest(); String param1 = req.getParameter(param1); // to stuff

Re: pass information through ajax without form

2007-10-03 Thread David Bernard
, e.g. i trigger the ajax request by a link with AjaxEventBehavior on onclick event. would you mind show me a simple example? David Bernard-2 wrote: For a similar case, I override (in MyBehavior) @Override public final void respond(AjaxRequestTarget target) { try

Re: pass information through ajax without form

2007-10-03 Thread David Bernard
(' + getCallbackUrl(), null, null); } and you parse the parameters in the server side? YES with the code sent ealier. I think you have already given me good hints and I will continue work on that, thanks very much David Bernard-2 wrote: Currently I have

Re: is wicket well-suited for integrating JS widgets?

2007-10-03 Thread David Bernard
Hi, It's lot of easier to integrate JS lib with wicket, than with JSF. I currently work on JQuery's widget. About integration with YUI or Scriptaclus, take a look at wicketstuff.org (svn and wiki), there is already some project about it. Regards. dukehoops wrote: I'm a complete newbie to

Re: Server cannot find /app url after migration to 1.3 filter

2007-10-02 Thread David Bernard
If I understand right you use Apache as a front end ? If it work when you access to resin via a direct call (http://foo.bar.com:8080/app) then I don't think it a problem with resin but with your apache front-end configuration. What do you map from apache to resin (1)/app, (2)/app* or (3)/app/*

Re: Server cannot find /app url after migration to 1.3 filter

2007-10-02 Thread David Bernard
wrong , servlets' requests will not be processed by resin, either. But http://foo.bar.com/servlet/other.servlet just works fine. (No port assign) It means resin (2.1.7) seems doesn't intercept filter's requests. I've also reported this issue to resin's maillist. 2007/10/2, David Bernard [EMAIL

Re: Server cannot find /app url after migration to 1.3 filter

2007-10-02 Thread David Bernard
Sorry I need the mapping, could you send /usr/local/resin/conf/resin.conf. smallufo wrote: 2007/10/2, David Bernard [EMAIL PROTECTED]: It depends of how you map/forward from apache to resin. What is your apache configuration? If it works when you access resin directly, what is done when you

Re: Url Coding Strategy

2007-10-02 Thread David Bernard
Have you try to customise (ignore fragment1 and fragment2, or override matches methods) the following class: * org.apache.wicket.request.target.coding.IndexedParamUrlCodingStrategy * or org.apache.wicket.request.target.coding.MixedParamUrlCodingStrategy Or use a filter like urlrewrite

Re: Server cannot find /app url after migration to 1.3 filter

2007-10-02 Thread David Bernard
of 8080 * to create an empty dir app under your webapp, I know that Websphere failed if a filter is not apply on a file or servlet. Sorry. smallufo wrote: 2007/10/3, David Bernard [EMAIL PROTECTED]: Sorry I need the mapping, could you send /usr/local/resin/conf/resin.conf. This is my partial

Re: Server cannot find /app url after migration to 1.3 filter

2007-10-02 Thread David Bernard
Have you try: * to set port to 80 instead of 8080 Port 80 is listened by apache httpd. I need apache httpd to serve large amount of static contents. Yes, and resin.conf isn't run as part of Apache? Apache (port 80) - srun(6802) Sorry , no other idea, except may be create an dummyServlet

Re: Presented Wicket to my Company...

2007-09-28 Thread David Bernard
Short version of my experience, last year I created a project with Seam+Facelets+JSF+EJB3/JPA+jBPM. I was optimist JSF is a standard with 2+ years old, lot of providers,... * JSF : I tried to mixed components from several provider, Trinidad, ADT, MyFaces, Ajax4JSF,... it was a nightweird and

Re: wicket 1.3 examples

2007-09-27 Thread David Bernard
Hi, What do you download exactly ? in the .zip or .tar.gz from http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/ * the source of org.apache.wicket.examples in under apache-wicket-1.3.0-beta3/src/jdk-1.5/wicket-examples/src/main/java/ * the war under apache-wicket-1.3.0-beta3/lib /david

Re: Questions about GWT, JSF and Wicket

2007-09-25 Thread David Bernard
Hi, A list of url, that could help you... About Wicket vs JSF, there is some articles : * http://ptrthomas.wordpress.com/2007/05/14/a-wicket-user-tries-jsf/ (from the author of JTrac) * a list of articles : http://cwiki.apache.org/WICKET/articles-about-wicket.html About widgets : * take a

Re: Updating a Dynamic Image with AJAX (and JFreeChart)

2007-09-25 Thread David Bernard
Hi, Have you try to extend NonCachingImage instead of Image (and comments setHeaders(...))? /david Jason Mihalick wrote: I am integrating JFreeChart into my application and I've followed the JFreeChart example on the wiki. That works very nicely. I was impressed. What I want to do now is

Re: [podcast] Wicket talk at JavaZone 2007

2007-09-24 Thread David Bernard
Why not add it to the wiki or the main site (and other presentations)? It's a good support for internal/customer show. I suggest a list with the following information : * authors * original target (ex: javazone 2007), first presentation date * wicket version (1.3.0) * attachament (slides,

Re: [podcast] Wicket talk at JavaZone 2007

2007-09-24 Thread David Bernard
Done, I added http://cwiki.apache.org/confluence/display/WICKET/Slides+and+presentations . Xavier, could you check information. I create links to your presentations, but may do you prefer to convert to attachement (part of the wiki). /david Gerolf Seitz wrote: n 9/24/07, David Bernard

  1   2   >