Re: hot redeploy of java classes

2007-10-05 Thread Uwe Schäfer
Gwyn Evans schrieb: On Friday, October 5, 2007, 9:18:22 AM, Artur [EMAIL PROTECTED] wrote: I know that Wicket in development mode does hot redeploy of html templates. Is it possible to configure it to does a hot redeploy of java classes too? It would boost the development time!! works fine

Re: Final Wicket course of 2007 in London November User Group

2007-10-27 Thread Uwe Schäfer
jweekend wrote: Al and I have not had so much time of late but we have just agreed to run one last scheduled London http://jweekend.co.uk/dev/JW703/ 2 day Wicket course in 2007, over the weekend of November 3, 4. I´ve been there and i´d really recommend it. Details can be found here:

Re: Final Wicket course of 2007 in London November User Group

2007-10-27 Thread Uwe Schäfer
Uwe Schäfer schrieb: jweekend wrote: Al and I have not had so much time of late but we have just agreed to run one last scheduled London http://jweekend.co.uk/dev/JW703/ 2 day Wicket course in 2007, over the weekend of November 3, 4. I´ve been there and i´d really recommend it. Details can

Browser capabilities

2007-11-05 Thread Uwe Schäfer
hi i need a quick hint. is there a way to detect the browser capabilities other than from getRequestCycle().getClientInfo() ? what i look for is, if the client has JavaScript enabled and if he is AJAX-ready. thanks, uwe -

Re: Looking for Wicket contract work

2007-11-06 Thread Uwe Schäfer
Julian Klappenbach wrote: Resume and references available upon request. Please respond in private to: we could use a freelancer in southern Germany. Anyone? cu uwe Contact me: [EMAIL PROTECTED] - To unsubscribe, e-mail:

JPA best-practices?

2007-11-09 Thread Uwe Schäfer
hi i plan to use JPA together with Wicket. Are there any battle-proven best-practices out there of how to handle EnityManagers and Transactions? What do other people use (no, not the spring crowd ;) ? One EntityManager per Request seems to be the obvious idea and a guice Provider may help

Re: Wicket meetup (the netherlands) ideas

2007-11-09 Thread Uwe Schäfer
Martin Funk schrieb: my presentenion skills could need some practicing. I'd be more than happy to chip in a 10 or up to 15 minute thing on wicket-contrib-gmap2. i wont make it there, yet i am very much interested in the subject. it would be great if you guys would be so kind to upload your

Re: JPA best-practices?

2007-11-12 Thread Uwe Schäfer
Chris Colman schrieb: The obvious benefit in such an approach is that your POJO model and the services that you provide to implement business rules etc., remain completely portable to different persistence engines - ie., no vendor lock in. well, i thought that was JPA was all about !? As

Re: JPA best-practices?

2007-11-13 Thread Uwe Schäfer
Al Maw schrieb: Hi Al Subclass WebRequestCycle, and construct it with an EntityManager. thanks! That may well be an alternative to the common ServletFilter-pattern. One question: isn´t it a little better to have the ThreadLocal Holder for the EntityManager separate from the RequestCycle,

Re: Apache Wicket 1.3.0-rc1 released!

2007-11-13 Thread Uwe Schäfer
Philip A. Chapman schrieb: +1 GENERICS! me too ;) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

IOC problem

2007-11-15 Thread Uwe Schäfer
Hi I´m using Guice with Wicket and i´m quite happy with it. Now I have a problem with the IOC, and i think, i´d need some help there :) I have a service-class X public class X{ @Inject public X(Y y) { ... } } bound like this: bind(X.class).in(MyScopes.SOMETHING);

Re: IOC problem

2007-11-15 Thread Uwe Schäfer
Uwe Schäfer schrieb: Is it currently impossible to use constructor injection ? To quickly answer my own question: no, but little tricky! :) I´d like to share the experience to the wiki or wherever the right place for 'little gotchas' is. Is there a place where you can find wicket-guice

Re: IOC problem

2007-11-16 Thread Uwe Schäfer
Gwyn Evans schrieb: but I'd suggest that the correct place would be in a page below the Integration guides page thanks, will do that on Sunday. -- THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 0 F + 49 761 3 85 59 550 E [EMAIL PROTECTED]

Re: JPA best-practices?

2007-11-16 Thread Uwe Schäfer
Nino Saturnino Martinez Vazquez Wael schrieb: Im actually about to write a tutorial thing about howto JPA-HIBERNATE-SPRING in wicket... It could be something worth looking at, Im trying to have a clean seperation of domain / database and frontend (wicket). interesting. i could write a

Re: JPA best-practices?

2007-11-16 Thread Uwe Schäfer
Maris Orbidans schrieb: Let's remember good old EJB's. Inject an EntityManager in a session bean facade and EJB container will handle all concurrency issues. No need to write any boilerplate code. that´s where i come from. problem is, that you domain object aren´t able to lazily fetch

Re: [OT] wicket users around the world

2008-12-12 Thread Uwe Schäfer
Freiburg (Breisgau), Germany - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Uwe Schäfer
Jonathan Locke schrieb: I'd also be interested in getting some idea how many people would be interested in this book (would provide some fuel for me to get it done). where´s the pre-order link ? ;) you write it, we buy it. -- THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T +

Re: URL fragment has unmatched key/value pairs

2009-01-08 Thread Uwe Schäfer
francisco treacy schrieb: dear francisco (i even had Fragment: admin, Fragment: bank-account , and things of the sort) i´ve seen this too. for instance on hybrid encoding, if you mount a page to /foo, /foo/bar/ will bring this error, while /foo/bar/baz wont, because it means bar=baz in

Re: DefaultDataTable and AjaxEditableLabel

2009-01-22 Thread Uwe Schäfer
Philipp Daumke schrieb: I try to create an editable column using DefaultDataTable and AjaxEditableLabel. My current version is posted below but it's quite a hack and I wonder whether there's an official good solution for that before I go on with my work. i think the passing of your models

Re: What are the consequences on sharing panels between pages?

2009-02-01 Thread Uwe Schäfer
Per Newgro schrieb: i would like to share (instance reuse) a navigation panel in my page flow. I try to achieve that so i can keep the current state of navigation components. It's a clone of the windows xp sidebar in system controls. sounds awful. would not do that. being deserialized from

Session Constructor

2009-02-09 Thread Uwe Schäfer
Hi i just stumbled across this code in 1.4m3: public Session(Request request){ locale = request.getLocale(); if (locale == null){ throw new IllegalArgumentException(Parameter 'locale' must not be null); } } please don´t call me picky, but am i right to say, that thiss error message is

final Session.setLocale (1.4m3)

2009-02-09 Thread Uwe Schäfer
hi why is it, that setLocale(Locale) is final on Session ? i´d really like to overwirte that in order to be able to hook some preference-storing stuff in there, like setting cookies and/or updating persistent preference data. i´d understand it, if Session´s constructor would call it, but

Re: final Session.setLocale (1.4m3)

2009-02-09 Thread Uwe Schäfer
Martijn Dashorst schrieb: Hi Martijn Why are you doing this with 1.4M3? 1.4RC2 is about to be made available. thanks for taking the time. well, we have an essential local patch against 1.4m3 which would not make it into the official wicket code, but is necessary for us (related to caucho,

Re: final Session.setLocale (1.4m3)

2009-02-09 Thread Uwe Schäfer
Igor Vaynberg schrieb: Hi Igor, it is no longer final in rc3 *g* what did i miss? yes, you missed the fact that #setLocale() marks session object as dirty - damn right. thx. cu uwe - To unsubscribe, e-mail:

Re: [OT] Framework for managing task

2009-02-23 Thread Uwe Schäfer
Kaspar Fischer schrieb: the task will be run, even if the server is shut down in between and the task needs to be restarted. Also, tasks that support cancellation (à la java.util.concurrent.ExecutorService) should be cancelled when the system stops. sounds like JMS. I´d recommend ActiveMQ.

Re: Problem with AutoCompleteTextField and display

2008-07-16 Thread Uwe Schäfer
Fabien D. schrieb: I have a strange problem when I use a AutoCompleteTextField. This component works well, indeed it suggests words, but when I pass on a word to select it, the page is scrolling down. do you use 1.3.4.? cu uwe -- THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T

Re: Einführung in Wicket @ /ch/open

2008-07-30 Thread Uwe Schäfer
Thomas Mäder schrieb: I will be holding a one day introduction to wicket tutorial at the /ch/open Workshop-Tage in Rapperswil, Switzerland. thx for the hint. i´ll send two coworkers over. cu uwe -- THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 0 F + 49

HybridURLs

2008-07-31 Thread Uwe Schäfer
Hi following situation: i have a link to a page, that has to be bookmarkable, say: /foo/document/21 where FooPage is mounted at/foo no problem here, but: coming from page XY i´d like to pass additional data to the foopage, normally done with construction, while i need the url still to be

Re: HybridURLs

2008-08-01 Thread Uwe Schäfer
Matej Knopp schrieb: hi matej mount the page using HybridUrlCodingStrategy. i already did. The url for page instance (you can use PageLink for that) will than look like /foo/document/21.5 (where .5 denotes page instance). Note that such url *is* bookmarkable, the page instance number

Re: HybridURLs

2008-08-01 Thread Uwe Schäfer
Martijn Dashorst schrieb: you have to encode the necessary state yourself into the page parameters. There is no way for Wicket to be able how to serialize the state in the URL in some magic way. kind of misunderstanding here. i dont want or need the additional state bookmarkable. all i want

Re: Internationalizing a DDC

2008-08-02 Thread Uwe Schäfer
insom wrote: new DropDownChoice(period, new PropertyModel(myObject, period), periods, new ChoiceRenderer() { public String getDisplayValue(Object object) { int period = ((Integer) object).intValue(); switch (period) { case 1: return Day; ... default:

PageParameters

2008-08-07 Thread Uwe Schäfer
hi coming from 1.3.x i stumbled upon public PageParameters(final MapString, Object parameterMap). shouldn´t this be: public PageParameters(final MapString, ? extends Object parameterMap) or public PageParameters(final MapString, ? parameterMap) sorry, if this was discussed alreadys, but i

NPE

2008-08-07 Thread Uwe Schäfer
Hi the current (1.4-m3) impl of ComponentStringResourceLoader.loadStringResource(Class,String,Locale,String) throws an NPE, that i am not sure of. I´d suggest: public String loadStringResource(Class clazz, final String key, final Locale locale, final String style)

Re: NPE

2008-08-07 Thread Uwe Schäfer
Igor Vaynberg schrieb: whats the stacktrace for the npe? java.lang.NullPointerException at org.apache.wicket.resource.loader.ComponentStringResourceLoader.loadStringResource(ComponentStringResourceLoader.java:129) so // Move to the next superclass clazz = clazz.getSuperclass();

Re: NPE

2008-08-07 Thread Uwe Schäfer
Igor Vaynberg schrieb: i patched it in 1.3.x and trunk thanks, igor! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: PageParameters

2008-08-08 Thread Uwe Schäfer
ok, maybe there was too much K and V in my last mail ;) I´ll try another way round: wouldn´t it be nice to be able to use smth like that ? MapString, Integer map =... PageParameters p = new PageParameters(map); So if you agree, please switch from public PageParameters(final MapString, Object

Re: PageParameters

2008-08-09 Thread Uwe Schäfer
Igor Vaynberg schrieb: done for now thx again. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Always serialize pages for debug purposes

2008-08-11 Thread Uwe Schäfer
Thomas Mäder schrieb: I seem to remember that there was a way to force Wicket to always serialize pages on detach in order to make sure every page is serializable during development. Can someone please point me to the FM so I can read it? Searching Nabble Google didn't turn up anything. one

Re: hi, how to find the path for the page in wicket

2008-08-12 Thread Uwe Schäfer
shrimpywu schrieb: but when the user try to provide the link of his blog to his friend, how to know the link direct to the page blog.html search for BookmarkablePageLink and mounting of pages. - To unsubscribe, e-mail:

Expiration

2008-08-12 Thread Uwe Schäfer
hi i use getApplicationSettings().setPageExpiredErrorPage(getHomePage()); in my application. in dev mode everything works as expected, in production though, i see Cannot find the rendered page in session pagemap=null,componentPath=7,versionNumber=0] when a user comes with a link from an

Re: Google friendly site remaining wickets nice stateful page contructor

2008-08-14 Thread Uwe Schäfer
Mathias P.W Nilsson schrieb: My question is. How do you get around this if the customer requires the site to be google friendly and you still want to use a stateful approach? Is same problem here. we´re using hybrid and links like this: public abstract class LazyHybridPageLink extends Link {

DefaultDataTable

2008-08-17 Thread Uwe Schäfer
hi. using DefaultDataTable, how to best apply css to the columns (in order to size them, etc) cu uwe -- THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 0 F + 49 761 3 85 59 550 E [EMAIL PROTECTED] www.thomas-daily.de Geschäftsführer/Managing Directors:

Re: DefaultDataTable

2008-08-17 Thread Uwe Schäfer
Timm Helbig schrieb: I put each DefaultTable in a separate div and style the div container, that's another possibility. sure, that´ll do. thx. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: DefaultDataTable

2008-08-17 Thread Uwe Schäfer
Jan Kriesten schrieb: using DefaultDataTable, how to best apply css to the columns (in order to size them, etc) by using an IColumn implementing IStyledColumn: getCssClass() ouch. thx! - To unsubscribe, e-mail: [EMAIL

Re: Hibernate automatic dirty checking not working

2008-08-20 Thread Uwe Schäfer
shetc schrieb: The problem is that modifications to the object graph are not persisted to the database even though I assume Hibernate's automatic dirty checking would take care of it. just guessing, but make sure that the second page (the modifing one) does open a transaction. i don´t have a

Re: Wicket merchandise?

2008-08-20 Thread Uwe Schäfer
Yiannis Mavroukakis schrieb: Girls can be coders too you know :-) where? how can i get there? : and yes, i´d love to have that kind of merchandise - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Wicket merchandise?

2008-08-21 Thread Uwe Schäfer
Daan van Etten schrieb: Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png (Just spent my lunch break time on it :-) ) good one. just a nicer font, and that´s it ;) - To unsubscribe, e-mail: [EMAIL

Convenience

2008-08-26 Thread Uwe Schäfer
hi following a pattern i´ve read anywhere (can´t remember), especially when chaining calls, i´d love to be able to: new TextField(..).setRequired().setVisible().setEnabled() instead of having to new TextField(..).setRequired(true).setVisible(true).setEnabled(true) what do you think ? cu uwe

Re: Convenience

2008-08-26 Thread Uwe Schäfer
Martijn Dashorst schrieb: hi martijn For each setFoo action you would get a setNotFoo action, and corresponding isNotFoo query. i was not thinking about unsetFoo() methods, really. and !isVisible() is afaik clearer than isNotVisible(), i would not suggest that. i´d be perfectly alright

Re: Convenience

2008-08-26 Thread Uwe Schäfer
Jan Kriesten schrieb: nah - you're just lazy. ;-) i thought it was a good thing. ;) Not more convenience-methods, there are already too many... good point, in a way... cu uwe - To unsubscribe, e-mail: [EMAIL

DefaultDataTable and tfoot

2008-08-26 Thread Uwe Schäfer
hi i got empty footers from DefaultDataTable the validators (tidy et al) complain about. is there a simple way to get them out if empty ? cu uwe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Going back to a previous URL?

2008-09-01 Thread Uwe Schäfer
classacts schrieb: Let's say I'm on bookmarkable Page1.class with PageParameters {id=1,0=foo,1=bar} and I click on a BookmarkablePage link to ConfigPage PageParameters {id=1} and do some stuff like submit forms on that page, etc... How can I place a Back button or link to the Page1.class with

Re: Going back to a previous URL?

2008-09-02 Thread Uwe Schäfer
classacts schrieb: When I'm at AppPage {1=foo} and click on the Login link, I then go to the LoginPage with a nice URL showing in the address bar. After submitting the login form and upon successful authentication, I want to automatically navigate back to AppPage {1=foo} so that it is

Re: Going back to a previous URL?

2008-09-02 Thread Uwe Schäfer
classacts schrieb: Not really quite sure how to create an instance of LoginPage here and still being able to use BookmarkablePageLink... just mount it using hybrid, that should be it, right? using Link produces nasty href URLs which I don't want on my public-facing home page. thats the

Re: Hot deployment / code swapping

2008-09-10 Thread Uwe Schäfer
pixologe schrieb: Thanks - I saw this one before, it is set to 1 second by default... but has no effect for me ... did anyone mention javarebel? http://zeroturnaround.com this one aims to solve this exact problem. i use it, and i´m quite happy with it. cu uwe

Re: Scalability PageMaps

2008-09-16 Thread Uwe Schäfer
Matej Knopp schrieb: can you create an enhancement jira issue for this? will do. thx cu uwe -- THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 0 F + 49 761 3 85 59 550 E [EMAIL PROTECTED] www.thomas-daily.de Geschäftsführer/Managing Directors: Wendy

Re: Scalability PageMaps

2008-09-16 Thread Uwe Schäfer
Uwe Schäfer schrieb: can you create an enhancement jira issue for this? filed as WICKET-1837, patch against 1.4m3 included. thx uwe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Scalability PageMaps

2008-09-16 Thread Uwe Schäfer
Matej Knopp schrieb: I had a quick glance at the patch. The folder hierarchy it creates seems to be quite deep, i'm not sure if that is necessary. Perhaps 3-4 levels would be enough? Also I'm afraid that this approach would leave lot of empty folders. well, that depends on the number of

Re: Scalability PageMaps

2008-09-16 Thread Uwe Schäfer
Matej Knopp schrieb: Another approach would be just counting hash from session id and mod it. that´s much better for sure. i´ll do it asap. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Wicket and Mootools?

2008-09-17 Thread Uwe Schäfer
Agent Mahone schrieb: Does Mootools slow down the application? Does somebody had good expierence with it? using tooltips. no problems. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Scalability PageMaps

2008-09-18 Thread Uwe Schäfer
James Carman schrieb: hi james Do you think that modulus number should be customizable? So, for now, you mod your number of users by 100. But, for larger sites, they might want to mod it by 1000 or 256 or whatever. actually, the first level dir is created from hash%1 and the second

Re: Scalability PageMaps

2008-09-18 Thread Uwe Schäfer
James Carman schrieb: So, why are we dividing it up in the first place if it can't lead to problems? before, there was just the sessionId, which - as we all know - could lead to problems with 32k concurrent sessions. what you now have is 8 numbers (like in 100.000.000 minus one) * 32k. i

Re: Scalability PageMaps

2008-09-18 Thread Uwe Schäfer
Johan Compagner schrieb: hi Johan or does another filesystem has another limit? from what i´ve googled, all FS i could think of either dont care, or limit to (almost) 32k or more. (could be wrong here, anyone?) hopefully the hash is a bit equally divided so the first dir will make 999

Re: Scalability PageMaps

2008-09-18 Thread Uwe Schäfer
James Carman schrieb: hi James That's where I got the 100 thing. ah, i lost track of that. did not want to sound harsh or anything. The folders won't be removed even after all of their subfolders are removed, right? no empty folder should be left behind (if you stay away from just

Re: how to get values from a property file

2008-09-22 Thread Uwe Schäfer
Eyal Golan schrieb: ResourceModel rmAsc = new ResourceModel(Reports.Parameters.ascending); String ascending = (String) rmAsc.getObject(); if it were an inner class, you could just String ascending = getString(Reports.Parameters.ascending); cu uwe

Re: Dynamic PageExpiredPage

2008-09-22 Thread Uwe Schäfer
Markus Haspl schrieb: getApplicationSettings().setPageExpiredErrorPage(Page.class); In the Page.class i can't work with the PageParameters, so i can't make it dynamic. what kind of data would you like to pass to it, and - more important - where could you possibly get it from ? cu uwe

Re: Dynamic PageExpiredPage

2008-09-22 Thread Uwe Schäfer
Markus Haspl schrieb: i have a PageParameter (portalId) which indicates on which Portal the User is on. In the database there are a lot of portals, every portal has it's own users, pages and so on. So, every portal should have its own PageExpiredErrorPage. that is all fine, but where could

Re: Wicket critique

2008-09-23 Thread Uwe Schäfer
Yiannis Mavroukakis schrieb: http://stackoverflow.com/questions/116978/can-anyone-recommend-a-simple-java-web-app-framework complicated dir structure? countless xml files? come on... - To unsubscribe, e-mail: [EMAIL

HTTPS and FileUpload

2008-10-06 Thread Uwe Schäfer
hi i think i hit a bug within wicket (or maybe it is a bug within the appserver?). i have a FileUpload on a wicket form and everything is smooth, _until_ it is taken to https. it looks like in https, the request does not (at least in caucho resin) tell the size of the request. This means

Re: HTTPS and FileUpload

2008-10-07 Thread Uwe Schäfer
Igor Vaynberg schrieb: hmm, create a jira issue. mabe if you override getmaxsize on the form and return -1 or null -indicating you dont care, we should not error out done. https://issues.apache.org/jira/browse/WICKET-1861 thx uwe

Re: Mount URL to another host?

2008-10-12 Thread Uwe Schäfer
Zach Cox schrieb: I need the browser to actually redirect the user to http://othersite.com if they go to http://mysite.com/something, regardless of if they click a link or type it into the address bar. doesn´t this work there? class SomethingPage extends WebPage { // mounted accordingly

Re: A wicket gathering?

2008-10-14 Thread Uwe Schäfer
Martin Funk schrieb: the london guys are already crouching together at google regularly. i´d love frankfurt :) And I'm not sure if Frankfurts places to hold a conference at, are as nice as Amsterdams places. okok. amsterdam was really nice. go amsterdam! ;)

Re: A wicket gathering?

2008-10-14 Thread Uwe Schäfer
marco.behler schrieb: Wicket Europe - London/ Frankfurt? = muchos biggos airportos e train stationes :) the london guys are already crouching together at google regularly. i´d love frankfurt :) -- THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 0 F + 49 761

JavaScript Framework Dependencies

2008-11-02 Thread Uwe Schäfer
hi forgive me, if this topic is a dead horse already, but it really bugs me that this does not seem to be sorted out. i´m just wondering why there isn´t a project like org.wicketstuff.javascript.mootools/jquery/extjs/whatever the story: i was just implementing some mini behaviour using

Re: JavaScript Framework Dependencies / Wicket Stuff commit access

2008-11-02 Thread Uwe Schäfer
Igor Vaynberg schrieb: i´m just wondering why there isn´t a project like org.wicketstuff.javascript.mootools/jquery/extjs/whatever why? because you havent built it yet. wicketstuff is open for participation, feel free. the answer i was hoping for ;) i´d like to ask for permission to commit

Re: JavaScript Framework Dependencies

2008-11-02 Thread Uwe Schäfer
Sven Meier schrieb: this is exactly the reason why we have wicketstuff-prototype: http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-prototype good to hear that. i´ll look into it thx uwe - To unsubscribe,

Re: Wicket + Webservice

2009-08-28 Thread Uwe Schäfer
Bas Gooren schrieb: to a WSDL provided by the payment provider. The WSDL specifies a SOAP binding, so that's what I need to implement. have the same requirements and we go for metro. it is a s easy as adding the dependency to pom and annotating @WebSerive. be sure to take at least version

Re: Wicket + Webservice

2009-08-28 Thread Uwe Schäfer
Bas Gooren schrieb: I have found JAX-WS Guice integration (see https://jax-ws-commons.dev.java.net/guice/), so maybe I can find a way to make it use the wicket-guice injector. easy, done it. i´ll publish it on sunday and send you a private mail. cu uwe

[ANN] Wicket Guice Metro, was: Wicket + Webservice

2009-08-28 Thread Uwe Schäfer
Bas Gooren schrieb: Hi Bas I would like to integrate a webservice callable by others into my existing Wicket application. The reason is that I'm integration a third-party payment provider and they provide a callback mechanism in the form of a WSDL I need to implement. I'd like to be able to

WicketFilter

2009-08-29 Thread Uwe Schäfer
Hi once in a while, i´d like to create a servlet (or worse) that can grab data from the wicket application. currently, i do it through singletons which feels quite dirty. i was wondering, if it would be possible to extend the WicketFilter, to offer a reference to anyone processing the

Re: WicketFilter

2009-08-30 Thread Uwe Schäfer
Igor Vaynberg schrieb: map WicketSessionFilter in front of those servlets, you will get both Session.get() and Session.get().getApplication(), and Application.get() awesome. i was not aware of this. thanks Igor. cu uwe - To

Re: WicketFilter

2009-08-30 Thread Uwe Schäfer
Igor Vaynberg schrieb: even though it is session specific it still sets application threadlocal. does not work, and does not look like it would: public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {

Re: WicketFilter

2009-08-31 Thread Uwe Schäfer
Igor Vaynberg schrieb: hm, i remember that filter also setting the application. maybe i did not remember correctly. anyways, you can simply write your own filter then. done. but i´d love to grab the webApplication reference from the original filter by other means than nasty reflection *g*

Re: WicketFilter

2009-08-31 Thread Uwe Schäfer
Igor Vaynberg schrieb: how are you getting a reference to the filter itself to start with? MyFunkyFilter extends WicketFilter :) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: WicketFilter

2009-08-31 Thread Uwe Schäfer
Igor Vaynberg schrieb: ok, i added a protected getter. remember, you can only call it after the filter's init() has been called. sure, thanks Igor. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: Wicketstuff really needs some updates

2009-09-16 Thread Uwe Schäfer
Pierre Goupil schrieb: +1 for CI since it would give confidence on health status of the various projects as well. http://wicketstuff.org/teamcity cu uwe - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: [ANN] wicket-dnd project

2009-10-03 Thread Uwe Schäfer
Sven Meier schrieb: I'm happy to announce wicket-dnd, a generic drag and drop framework for Wicket. looks pretty slick! congrats. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: XML Serialization Wicket

2009-11-13 Thread Uwe Schäfer
Pamir Erdem schrieb: As you know, Wicket uses disk storage to save web pages by serializing them. PageMap and DiskPageStore classes are examples for it. Is there any way to change the serialization type from DOM Serialization to SAX Serialization in these classes ? If serialization of an

Re: Getting server-url ?

2009-11-17 Thread Uwe Schäfer
Martin Grigorov schrieb: it should return http://www.serverurl.com ((WebRequest) getRequest()).getHttpServletRequest().getServerHost() or something like that pass the httpServletRequest to public static StringBuffer getContextUrl(final HttpServletRequest req) { String

Re: Java Wicket Job Opportunity, Finland

2009-12-28 Thread Uwe Schäfer
Sam Stainsby schrieb: Finland, Finland, Finland The country where I quite want to be! ^^^ Not the best job application I've seen :-) but a nice reference to monty python´s flying circus ;) - To unsubscribe, e-mail:

Re: Wicket does not(?) prevent multiple submits

2010-01-11 Thread Uwe Schäfer
Muro Copenhagen schrieb: I have this urgent an vital problem i must solve, so i hope someone could assist. captured from the list: http://www.codesmell.org/blog/2008/12/wicket-resubmitsafeform/ cu uwe - To unsubscribe,

wicketstuff-core:jquery accordion broken?

2009-04-13 Thread Uwe Schäfer
hi currently the accordion in jquery-examples does not work in FF nor IE. jQuery.filter(expr, [i]).r is undefined http://localhost:8080/resources/org.wicketstuff.jquery.accordion.JQAccordion/jquery.accordion.pack.js Line: 1 is this known, or should i try diggin in? about jquery anyway: i

wsjquery unmaintained?

2009-04-15 Thread Uwe Schäfer
hi looking at the jira of wicketstuff-jquery and its current state, am i right to say it is quite unmaintained right now? i need an advice here: i´d pretty much like to add some simple things and maybe even make it dependent on wicketstuff-jslib (if there is not a good argument against

Detaching models

2009-05-06 Thread Uwe Schäfer
hi we have a problem here, which we think might be a common one, so i´d like to discuss. from time to time we create models (mostly LDMs) that are not actually reachable by components. (yes, you can argue that this is stupid, but it happens where 1:1 mapping between component and model is

Re: Detaching models

2009-05-06 Thread Uwe Schäfer
James Carman schrieb: Refer to the injection code to find out how to do the scanning. you can do this now, no need to wait for 1.5. simply create a detachlistener that scans the class for imodel fields and detaches them. awesome. i was not aware of this one. thanks.

Re: Detaching models

2009-05-06 Thread Uwe Schäfer
Igor Vaynberg schrieb: i thought not reachable means they are not in any default model slot...dunno yep, that´s what i meant. sorry i wasn´t clear on that one. using the listener to test the fields for IDetachable works pretty well. thanks again.

Re: Detaching models

2009-05-06 Thread Uwe Schäfer
Johan Compagner schrieb: If it are fields on components the currently the thing to do is simpel just make sure that those fields are detached in the detach method of the component that has those fields sure, but this is quite easy to forget (that´s what i´m good at), so doing it from the

Re: Generate markup for hidden framework form field?

2009-06-13 Thread Uwe Schäfer
janneru schrieb: i also just found a similar one by uwe schaefer: http://www.codesmell.org/blog/2008/12/wicket-secureform/ cheers uwe. note that it is just a copy of what mighty igor posted here :) i´m using it in production a lot. thx again, igor. cu uwe

Re: Localization message for validators

2009-07-02 Thread Uwe Schäfer
Major Péter schrieb: Dear Igor referring to your comment on https://issues.apache.org/jira/browse/WICKET-2350 where it reads: the proper format of the override key is formid.componentid.key, you are missing the formid part. this was considered a bug in earlier versions of wicket and was

Re: Localization message for validators

2009-07-03 Thread Uwe Schäfer
Igor Vaynberg schrieb: yeah, it does seem inconsistent :| will have to think about this some more. on the first glance field.key seems ok and personally i do not mind going back to it but i need to search back through the archives and reread the threads that affected this change in the first

  1   2   >