Re: Enclosures and transparent WebContainer

2011-10-26 Thread Martin Grigorov
Hi On Wed, Oct 26, 2011 at 7:43 AM, Dirk Forchel dirk.forc...@exedio.com wrote: Here the correct markup: The markup didn't make it. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Enclosures-and-transparent-WebContainer-tp3935753p3939487.html Sent from the

Re: Enclosures and transparent WebContainer

2011-10-26 Thread Dirk Forchel
I've created a quickstart and a ticket in Jira (see https://issues.apache.org/jira/browse/WICKET-4172). -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Enclosures-and-transparent-WebContainer-tp3935753p3939556.html Sent from the Users forum mailing list archive at

Re: reverse engineering a wicket application

2011-10-26 Thread Paul Szulc
When jetty start it will output something like this on console: [INFO] Started Jetty Server 2011-10-26 09:05:03.042:INFO::Started SelectChannelConnector@0.0.0.0:7070 [INFO] Starting scanner at interval of 10 seconds. SelectChannelConnector@0.0.0.0:7070 shows you port number, in this case it is

Re: Problem with Panel default model

2011-10-26 Thread Andrea Del Bene
Hi, does your page override onBeforeRender method? Can you show the code? Thank you. Upgrade to 1.5.2 did seem to resolve the issue with the last ajax request parameters being pushed onto the base url. However, testing that resolution exposed a further problem. I'm using a

LDMs load too early - hold outdated application data.

2011-10-26 Thread Maarten Billemont
I just had a bug in my application where my LDM lists all users to fill a form field, but that same form also has a button to delete the selected user from the database. The problem is that the button's onSubmit triggers AFTER the LDM is populated, because it apparently needs the LDM's

RE: Problem with Panel default model

2011-10-26 Thread David Berkman
It does... private static final ThreadLocalBoolean STRIP_TAGS_LOCAL = new ThreadLocalBoolean(); @Override protected void onBeforeRender () { super.onBeforeRender(); STRIP_TAGS_LOCAL.set(Application.get().getMarkupSettings().getStripWicketTags());

wicketstuff-push examples working across browsers

2011-10-26 Thread Soheb Mahmood
Hello everyone, I'm planning to use wicketstuff-core in an actual production environment, and to be more specific, I'm planning to use push-cometd. I'm currently using wicketstuff version 1.4.14 to match the current version of Wicket we are using in production. I got the example to run, and

AW: LDMs load too early - hold outdated application data.

2011-10-26 Thread Sven Meier
This is a common problem when working with LDM. You can detach the LDM by yourself after the event. Or use a separate LDM for each of your list items: This way the LDM of the list is loaded for rendering *after* the event only. Additionally the event won't crash when the list of users has changed

Re: LDMs load too early - hold outdated application data.

2011-10-26 Thread Maarten Billemont
On 26 Oct 2011, at 10:52, Sven Meier wrote: This is a common problem when working with LDM. You can detach the LDM by yourself after the event. I could. But it would be a work-around and it wouldn't solve the underlying issue. As a result, this bug will keep haunting us. Or use a

RE: LDMs load too early - hold outdated application data.

2011-10-26 Thread Wilhelmsen Tor Iver
It seems to me that Wicket should detach its models again after events have triggered, in addition to after rendering has completed. That would reset the state of all models to what the developer expects it to be before rendering begins. That's nearly always - then you are just as well

AW: LDMs load too early - hold outdated application data.

2011-10-26 Thread Sven Meier
Hi, Or use a separate LDM for each of your list items I'm not sure I understand what you mean here. Could you illustrate? your LDM seems to return a list of items and you're iterating over them with a ListView. Note that ListView uses a ListItemModel for each item: protected IModelT

Re: DataView or GridView with two columns by item

2011-10-26 Thread Tito
Thank you Igor! I forgot that. It works ok! Tito 2011/10/25 Igor Vaynberg igor.vaynb...@gmail.com you never say item.add(contentRow, detailsRow); and you dont need to override newItem() at all -igor On Tue, Oct 25, 2011 at 8:30 AM, Tito njyt...@gmail.com wrote: I thought that I had to

Re: Attribute Inheritance or Copying?

2011-10-26 Thread MattyDE
This is my updated version right know. Its very dangerous to copy wicket:id and id. On ajax updating the component get cloned and cloned and cloned... public class CopyAttributesBehavior extends AbstractBehavior { private static final long serialVersionUID = 1L; private IValueMap

Modal Window with Ajax in Firefox

2011-10-26 Thread Jan Ferko
Hi, I have problem with form processing in modal window. I have form in modal window which is submitted by AjaxButton. User choose one of possible combinations and if combination is still available reservation process continue if not combination is removed from listview and user can choose

Re: Modal Window with Ajax in Firefox

2011-10-26 Thread Andrea Del Bene
How do you close modal windows? Can you copy the code? mbinations and if combination is still available reservation process continue if not combination is removed from listview and user can choose another. If all combinations are not available than modal window is closed. This use case works

Re: Modal Window with Ajax in Firefox

2011-10-26 Thread Jan Ferko
Thanks for quick reply. I close modal window in onError method of AjaxButton. Here is code: public class MyModal extends ModalWindow { public MyModal(String id) { super(id); MyPanel panel = new MyPanel(getContentId()) { public void

Re: wicketstuff-push examples working across browsers

2011-10-26 Thread Sebastian
hi, cometd had a bug that affects websocket support in conjunction with chrome browsers. It is fixed in the latest 1.4.0RC1 release of cometd. We incorporated the changes (and fixed some other issues) in wicketstuff trunk. thus they will be available with the wicketstuff 1.5.2 release.

An extensive RIA technology comparison matrix including Wicket

2011-10-26 Thread shetc
https://vaadin.com/comparison An extensive RIA technology comparison matrix -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/An-extensive-RIA-technology-comparison-matrix-including-Wicket-tp3941573p3941573.html Sent from the Users forum mailing list archive at

Re: An extensive RIA technology comparison matrix including Wicket

2011-10-26 Thread Igor Vaynberg
missing a green dot in Framework extensions are done in Java - what else are the done in? missing a green dot in Application oriented - wicket is both page and application oriented - depends on how you want to build your app... not sure why in the IDE department we get only two stars...you dont

Re: An extensive RIA technology comparison matrix including Wicket

2011-10-26 Thread Josh Kamau
Looks like crap to me.. On Wed, Oct 26, 2011 at 9:08 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: missing a green dot in Framework extensions are done in Java - what else are the done in? missing a green dot in Application oriented - wicket is both page and application oriented - depends

Re: An extensive RIA technology comparison matrix including Wicket

2011-10-26 Thread Martin Grigorov
After the inconsistencies mentioned by Igor and the fact: Backed up by a corporation - nothing in Wicket column I still think we are doing fine :-) On Wed, Oct 26, 2011 at 8:24 PM, Josh Kamau joshnet2...@gmail.com wrote: Looks like crap to me.. On Wed, Oct 26, 2011 at 9:08 PM, Igor Vaynberg

Re: An extensive RIA technology comparison matrix including Wicket

2011-10-26 Thread shetc
I forgot the link to the https://vaadin.com/blog/-/blogs/new-comparison-matrix associated blog . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/An-extensive-RIA-technology-comparison-matrix-including-Wicket-tp3941573p3941844.html Sent from the Users forum mailing

Re: An extensive RIA technology comparison matrix including Wicket

2011-10-26 Thread anant . asty
I do think it would be extremely. Helpful if there was a plugi n to generate html from wicket code or I'm not aware of it. There is a plugin that gives me the option generate wicket form code but it never worked. Its not a show stopper by any means though. -Original Message- From:

Re: An extensive RIA technology comparison matrix including Wicket

2011-10-26 Thread Martin Grigorov
On Wed, Oct 26, 2011 at 9:29 PM, anant.a...@gmail.com wrote: I do think it would be extremely. Helpful if there was a plugi n to generate html from wicket code or I'm not aware of it. There is a plugin that gives me the option generate wicket form code but it never worked. Its not a show

Re: An extensive RIA technology comparison matrix including Wicket

2011-10-26 Thread Andrea Del Bene
You missed the funniest row: UI programming on client-side. What does it mean Java, Javascript for GWT and Vaadin and just Javascript for Wicket? Does it mean that GWT and Vaadin run bytecode inside browser? Did they (re)invented applets :)? missing a green dot in Framework extensions are done

Re: An extensive RIA technology comparison matrix including Wicket

2011-10-26 Thread Martin Grigorov
On Wed, Oct 26, 2011 at 10:02 PM, Andrea Del Bene an.delb...@gmail.com wrote: You missed the funniest row: UI programming on client-side. What does it mean Java, Javascript for GWT and Vaadin and just Javascript for Wicket? Does it mean that GWT and Vaadin run bytecode inside browser? Did they

Re: An extensive RIA technology comparison matrix including Wicket

2011-10-26 Thread Andrea Del Bene
That's right but why they didn't include Java among languages you can use to program on client side with Wicket. It's a mystery! On Wed, Oct 26, 2011 at 10:02 PM, Andrea Del Benean.delb...@gmail.com wrote: You missed the funniest row: UI programming on client-side. What does it mean Java,

Re: GoAndClearFilter does not reset filterForm fields

2011-10-26 Thread Attila Király
Hi Sandor, Just tried filtering on a modified wicket-examples / DataTablePage and the filter form clearing worked. Even without subclassing GoAndClearFilter. Maybe the problem is in your dataprovider implementation. How did you implement the IFilterStateLocator interface? Regards, Attila

Re: An extensive RIA technology comparison matrix including Wicket

2011-10-26 Thread Pointbreak
That's actually accurate, as Martin already explained, Wicket has no provisions for client side Java based programming. To be honest, I don't think the comparison matrix is that bad. I would consider a framework like Vaadin over Wicket if all I wanted a typical desktop style only (menu bar,

Re: An extensive RIA technology comparison matrix including Wicket

2011-10-26 Thread Peter Ertl
the fact that the so called comparison is hosted at vaadin.com reduces the amount of usefulness significantly for me… :-) Am 26.10.2011 um 20:02 schrieb shetc: https://vaadin.com/comparison

Re: Modal Window with Ajax in Firefox

2011-10-26 Thread Andrea Del Bene
Hi, I've tried to reproduce your issue but without success. The modal window closes correctly. I've used the last version of Firefox, the 7. Java code for my test page is the following: public class HomePage extends BasePage { private static final long serialVersionUID = 1L;

Re: How to update a Component from Javascript

2011-10-26 Thread Julian Sinai
Hi Martin Thanks for your reply. I've made the changes you suggested, but my ajax update never happens. I think I am missing something in what wicketAjaxGet can do, or how you are supposed to get the callback url. Here's a simplified version of my label class, maybe I'm doing something wrong:

Re: An extensive RIA technology comparison matrix including Wicket

2011-10-26 Thread Arjun Dhar
If only I could inject a window.close(); on that post! :) Being un-biased and logically trying to break it down ..., I think people have to differentiate between FRAMEWORKS and FRAMEWORKS + FLUFF. E.g.: Their criteria Three stars means a fully-fledged plug-in with advanced specialized features

Re: Seeing sporadic ClassNotFoundExceptions after upgrading from 1.4.9 or 1.4.11

2011-10-26 Thread Nitnatsnok
That's odd and I occasionally get this error, too. It seems that some browser lowercases org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js URL before requesting it. Did anyone else find a way to fix this on server side? -- View this message in context:

Re: How to update a Component from Javascript

2011-10-26 Thread Martin Grigorov
On Thu, Oct 27, 2011 at 2:44 AM, Julian Sinai jsi...@gmail.com wrote: Hi Martin Thanks for your reply. I've made the changes you suggested, but my ajax update never happens. I think I am missing something in what wicketAjaxGet can do, or how you are supposed to get the callback url. Here's a

Re: non caching dynamic links

2011-10-26 Thread Martin Makundi
This is how I did it: return new WebRequestCycleProcessor() { /** * @see org.apache.wicket.protocol.http.WebRequestCycleProcessor#newRequestCodingStrategy() */ @Override protected IRequestCodingStrategy newRequestCodingStrategy() { return new