Re: https://issues.apache.org/jira/browse/WICKET-2875

2010-05-25 Thread Martin Grigorov
This is improved in 1.5.x In 1.4.x there is an improved version of GuiceComponentInjector which does caching. See the migration wiki page for 1.4 - 1.5 for details. On Sat, 2010-05-22 at 12:23 -0700, Igor Vaynberg wrote: no, as far as i see the guice injector is written in a way that does not

Re: [announce] wicketstuff-core 1.4.7 released

2010-05-25 Thread Martin Grigorov
Thanks ! Great work! On Mon, 2010-05-24 at 11:48 -0400, Michael O'Cleirigh wrote: Hello, Based on the positive reception for a 1.4.7 wicketstuff-core release, 4 positive votes (3 + mine) and no negative, I promoted the staged release into the sonatype repository and filed the ticket for

Re: Wicket vendor lockin and backwards compatibility, 1.4/1.5

2010-05-25 Thread napple fabble
Thomas Kappler wrote: On 05/21/10 14:57, napple fabble wrote: We're starting a new project and thinking about using Wicket for presentation layer. One concern is about backwards compatibility and support. I understand 1.5 is coming and in not fully backwards compatible. The

Re: Wicket vendor lockin and backwards compatibility, 1.4/1.5

2010-05-25 Thread Sven Meier
It's funny how you combine Wicket (i.e. open source) and vendor lock-in, two antithetic terms I'd never put together in a single sentence. Please search lock in the following post for arguments: http://ptrthomas.wordpress.com/2009/05/15/jsf-sucks/ If you choose JSF, all what's guaranteed is

Re: [announce] Release Wicket 1.4.9

2010-05-25 Thread Sven Meier
Sorry, what was the use case after all? Sven -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/announce-Release-Wicket-1-4-9-tp2228179p2229772.html Sent from the Wicket - User mailing list archive at Nabble.com.

WebMarkupContainer as string for use in jqgrid cell

2010-05-25 Thread Sam Zilverberg
Hi all, I'm using a integration of jqgrid with wicket. jqgrid renders its cells from json data that is retrieved from the server. I've got this behavior and other operations of jqgrid(search/edit) working for some time now. I want to have one of the columns hold a link to some info page. For

change (redirect) the markup html file

2010-05-25 Thread Daniel Aschauer
Hello! Maybe a simple question, but I didn't figured it out yet. I have a set of very simular mainly static pages, so I want to use one java class and depending on a given parameter use differnt html-markup files. Is there a method that does this kind of redirect or changes the name of the

Re: Wicket vendor lockin and backwards compatibility, 1.4/1.5

2010-05-25 Thread napple fabble
-- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-vendor-lockin-and-backwards-compatibility-1-4-1-5-tp2226109p2229818.html Sent from the Wicket - User mailing list archive at Nabble.com. - To

Re: [announce] Release Wicket 1.4.9

2010-05-25 Thread James Carman
It is *not* a theoretical objection. Please see: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6489540 This is a real problem that Sun (now Oracle I guess) has identified and is working on. On Mon, May 24, 2010 at 5:20 PM, Alex Objelean alex.objel...@gmail.com wrote: I don't want to

Re: Wicket vendor lockin and backwards compatibility, 1.4/1.5

2010-05-25 Thread napple fabble
Sven Meier wrote: It's funny how you combine Wicket (i.e. open source) and vendor lock-in, two antithetic terms I'd never put together in a single sentence. Please search lock in the following post for arguments: http://ptrthomas.wordpress.com/2009/05/15/jsf-sucks/ If you choose

Re: Wicket vendor lockin and backwards compatibility, 1.4/1.5

2010-05-25 Thread James Carman
Yes, I wouldn't think the vendor lock-in (in the traditional sense) doesn't really apply here. If you're choosing to use Wicket, then you're pretty much stuck with Wicket. You can't take your Wicket application code and plop it down in a JSF or Struts or Tapestry application and have it

Re: Wicket vendor lockin and backwards compatibility, 1.4/1.5

2010-05-25 Thread James Carman
On Tue, May 25, 2010 at 7:25 AM, napple fabble jm.postili...@gmail.com wrote: That's why it's written as vendor lockin, not vendor lockin. Perhaps framework lockin would have been better. To put it simply, when I choose JSF or wicket I create a permanent, hard to change, binding to that

Re: [announce] Release Wicket 1.4.9

2010-05-25 Thread Alex Objelean
Hi Sven! See the task description details: https://issues.apache.org/jira/browse/WICKET-2846 Alex -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/announce-Release-Wicket-1-4-9-tp2228179p2229836.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: WebMarkupContainer as string for use in jqgrid cell

2010-05-25 Thread Ernesto Reinaldo Barreiro
Hi Sam, I'm using a flavor of wijqgrid. I took wijqgrid as a base code and made major modifications to almost everything. It is a pity some of those modifications never made it back into the original:-(. But I'm still glad to hear the code was useful to you: at least as a starting point.

Re: [announce] wicketstuff-core 1.4.7 released

2010-05-25 Thread Steve Mactaggart
Thanks for doing the work. Steve On Tue, May 25, 2010 at 1:48 AM, Michael O'Cleirigh michael.ocleir...@rivulet.ca wrote: Hello, Based on the positive reception for a 1.4.7 wicketstuff-core release, 4 positive votes (3 + mine) and no negative, I promoted the staged release into the

Re: [announce] wicketstuff-core 1.4.7 released

2010-05-25 Thread Steve Mactaggart
Hi all, On a wicketstuff related note, do you think there is any benefit of trying to keep the release cycles of the wicketstuff inline with the core wicket projects? I do understand that there is a wide variety of modules under the wicketstuff banner, and ensuring it is all compatible is not

Re: [announce] wicketstuff-core 1.4.7 released

2010-05-25 Thread nino martinez wael
I do believe there's an initiative to keep versions aligned. However we had to put out 1.4.7 first, and I think we will bump to 1.4.9 snap.. 2010/5/25 Steve Mactaggart st...@whitesquaresoft.com: Hi all, On a wicketstuff related note, do you think there is any benefit of trying to keep the

Re: Wicket vendor lockin and backwards compatibility, 1.4/1.5

2010-05-25 Thread nino martinez wael
Yeah, it's the same with hibernate, all the Apache portifolio, open source projects and java itself. If there comes no new JSR's, java stalls. However with opensource stuff you have the source available. And that's a guarantee I like. 2010/5/25 James Carman ja...@carmanconsulting.com: On Tue,

Re: component .... not found on page for a Link colun in the Datatable after self refresh using the AjaxSelfUpdatingTimerBehavior

2010-05-25 Thread bjolletz
Hi, Did you find a solution for this? I'm using wicket 1.4.8 and get almost the same error. Like you I have a customized column with a Link component in a datagrid. I have an ajax search field which updates the data (and the links) in the data grid when changing the search input. Sometimes if I

Re: Wicket Dynamic Navigation

2010-05-25 Thread Steve Mactaggart
I guess the other issue is what is the data like? If you had a class called MenuItem that had a name and a ListMenuItem as children then you could create a panel MenuItemPanel extends Panel { public MenuItemPanel(String id, IModelMenuItem model) { { super(id, model); add(new

componentId and markupId

2010-05-25 Thread ignusin
I would really appreciate if someone explains the difference between component-id and markup-id in wicket. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/componentId-and-markupId-tp2229995p2229995.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: componentId and markupId

2010-05-25 Thread Alex Objelean
The componentId is a server-side identifier of the component used to build the component hierarchy, while markupId is a client-side (in the html markup). Ex: you can have a component with id 'panel' and markupId 'left-container'... with the following markup: div id=left-container'/div Alex

[PROPOSAL] Application.runAs() Method...

2010-05-25 Thread James Carman
I've been thinking about this whole idea of needing to access the application object in different threads idea. What if the Application class had a method like this: public Runnable wrap(Runnable task) Basically, the Application would create a Runnable object that can be run within the context

Re: [PROPOSAL] Application.runAs() Method...

2010-05-25 Thread James Carman
Sorry, subject should be wrap() method, not runAs(). On Tue, May 25, 2010 at 9:33 AM, James Carman ja...@carmanconsulting.com wrote: I've been thinking about this whole idea of needing to access the application object in different threads idea.  What if the Application class had a method like

integrate grails into my wicket app

2010-05-25 Thread fachhoch
Mine is J2ee application using wicket, spring , hibernate , groovy .I also want to try grails can I integrate grails into my wicket app ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/integrate-grails-into-my-wicket-app-tp2230055p2230055.html Sent from the

Re: WebMarkupContainer as string for use in jqgrid cell

2010-05-25 Thread Sam Zilverberg
I thought of contributing some of the changes after a while but then I realized they were too project specific and not abstract enough so no one else would be able to use em. Example: I created a JQGridDataProvider that the grid uses but the provider is tightly tied to hibernate and some other

Re: change (redirect) the markup html file

2010-05-25 Thread Jeremy Thomerson
You could use style for this if you'd like, and use a PageParameter to set the style in the constructor (SomePage_style1.html, SomePage_style2.html) public SomePage(PageParameters params) { setStyle(params.get(style)); } On Tue, May 25, 2010 at 5:23 AM, Daniel Aschauer

Howto overwrite Wicket's ajax transport

2010-05-25 Thread KaiWeing
Hello, I am building a Wicket Application that I want to run as a standalone app and and as an open social gadget (as proxied content, see http://wiki.opensocial.org/index.php?title=Social_Application_Tutorial here if you are interested). As I learned from

Re: Howto overwrite Wicket's ajax transport

2010-05-25 Thread KaiWeing
Hello Igor, that is what I tried. I could not do that with a header contribution, as they seem to be before the wicket-ajax.js. Even if I added inline script in the head: the wicket-ajax.js was always included after that. The only way I could make it work was to add inline script in the body,

Re: [announce] wicketstuff-core 1.4.7 released

2010-05-25 Thread Major Péter
Great news, thanks! Another stuff: am I the only one, who can't build wicketstuff because of the wicket-html5's following (not available) dependency: org.mortbay.jetty:maven-jetty-plugin:pom:7.0.2.v20100331 ? Regards, Peter 2010-05-24 17:48 keltezéssel, Michael O'Cleirigh írta: Hello, Based

Re: [announce] wicketstuff-core 1.4.7 released

2010-05-25 Thread Major Péter
am I the only one, who can't build wicketstuff because of the wicket-html5's following (not available) dependency: org.mortbay.jetty:maven-jetty-plugin:pom:7.0.2.v20100331 ? sorry, I just had to git svn rebase the thing... -

wicket file upload

2010-05-25 Thread mdh
I am having a problem using FileUploadField in wicket 1.4.1. The code behind this is writing a temporary file to java.io.tmpdir (see getTempFile() in DiskFileItem). The java hosting service I'm using doesn't grant access to the temp directory, nor does it allow the changing of system

Re: wicket file upload

2010-05-25 Thread Jeremy Thomerson
can you use write(File) instead of getTempFile()? On Tue, May 25, 2010 at 2:59 PM, mdh mhorn...@ntlworld.com wrote: I am having a problem using FileUploadField in wicket 1.4.1. The code behind this is writing a temporary file to java.io.tmpdir (see getTempFile() in DiskFileItem). The java

Design Rules for Application

2010-05-25 Thread Christian Märzinger
Hello! I'm new at the wicket framework. I want to try with a simple application which uses * one part for manipulation (login == after login for manipulation and logout * one part where a tree list of objects (POI's)with root element and 2 levels * one part where a map is

Re: wicket file upload

2010-05-25 Thread mdh
What I'm actually doing is importing an image into a database. My code opens an input stream on the file selected by the user (FileUploadField.getFileUpload().getInputStream()) , and uses that to create a blob in the database. I don't do any file writing in my code, that's done in the background

Re: wicket file upload

2010-05-25 Thread Jeremy Thomerson
create your own FileItemFactory that returns a DatabaseImageStorageFileItem (which you'll have to create). When the request is processed, your DatabaseImageStorageFileItem will be created, and then getOutputStream will be called, which you should use to return a stream that will write into the

Scheduling the 1.4.8 and 1.4.9 wicketstuff-core releases

2010-05-25 Thread Michael O'Cleirigh
Hello, Now that wicketstuff-core 1.4.7 is released I want to schedule when the 1.4.8 and 1.4.9 releases should be performed to give everyone enough time to get their changes in and do any related testing. I think separate branching could be an option but we should wait until after we catch

Re: Scheduling the 1.4.8 and 1.4.9 wicketstuff-core releases

2010-05-25 Thread Jeremy Thomerson
On Tue, May 25, 2010 at 8:27 PM, Michael O'Cleirigh michael.ocleir...@rivulet.ca wrote: Hello, Now that wicketstuff-core 1.4.7 is released I want to schedule when the 1.4.8 and 1.4.9 releases should be performed to give everyone enough time to get their changes in and do any related

Re: Scheduling the 1.4.8 and 1.4.9 wicketstuff-core releases

2010-05-25 Thread Steve Mactaggart
Michael, Was wicketstuff-core 1.4.7 built against wicket 1.4.7? or against 1.4.8/9? (whatever was released at the time). I'm guessing 1.4.7. If the current wicketstuff code compiles against 8 and 9, I agree with Jeremy in getting it released now, and any fixes or issues to roll into the 1.4.10.

Re: Scheduling the 1.4.8 and 1.4.9 wicketstuff-core releases

2010-05-25 Thread Jeremy Thomerson
Now I write this that creates even more issues, what if there is a critical issue in wicketstuff that needs to push the version number? Should it become 1.4.9.1 or 1.4.10? This was always the issue with the matching release numbers. But, since most projects in wicketstuff are hardly

Changing the page class of a BookmarkablePageLink

2010-05-25 Thread Steve Mactaggart
Hi all, I have just run into a situation where I want to create a BookmarkablePageLink that changes its class based on some data thats supplied to it. For example lets say I had a Customer object that had an enabled flag on it, and we want to have 2 different pages shown for enabled/disabled

Re: Changing the page class of a BookmarkablePageLink

2010-05-25 Thread Igor Vaynberg
getpageclass() is final because the class takes the destination page class as a constructor arg, and so it would be weird to let the users break the contract so easily. also, it is a trivial class, and it is trivial to make your own: class mybpl extends linkcustomer { public final void

Re: Wicket vendor lockin and backwards compatibility, 1.4/1.5

2010-05-25 Thread Eelco Hillenius
The main alternative we're comparing wicket to is using JSF. The vendor lockin problem is less of a risk there. If we implement our app with JSF2.0, we're pretty much guaranteed support and bug fixes for that for 10 years by the commercial app server vendors. If we decide to use

Re: drag and drop

2010-05-25 Thread DerBernd
Hi, now I tried jwicket-examples and it works quite well. But at the momemt I stuck into a problem and I hope you can help me out. I have a Panel Placeholder that implements IDroppable And a Panel Field that implements IDraggable So I have some empty Placeholders and a few Placeholders that are