Re: Wicket as portlet

2012-11-28 Thread Marek Šabo
Hi, the last link is indeed currently used in Liferay environment so I can't vouch for anything else. There are neither unit nor integration tests. The code there is based on the one found in mentioned issue for Wicket 6.0 branch. We are currently in the final phase of project migration and

Re: HTML5

2011-10-31 Thread Marek Šabo
Hi, HTML5 extension for wicket is in wicketstuff repisitory: https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/wicket-html5-parent I'm currently analyzing support for offline features and semantic support (microdata/scheme.org) and plan to work on it in near future. Regards,

Removing/Consuming FeedbackMessage

2011-09-23 Thread Marek Šabo
Hi, is it possible to consume or remove feedback message from session? I've tried removing through iterator but that's unsupported. I thought markRendered() would do but it doesn't help either. What I would like to do is display some messages (based on reporter) via javascript and some in

Re: Use of AbstractReadOnlyModel

2011-04-16 Thread Marek Šabo
Hi, thanks for elaboration, I used most of it as my arguments so I'm glad I didn't do it ex nihilo. The bad example you showed is exactly what do I deal with. Honestly, I don't use AROM a whole lot. LDM and PropertyModel are generally the most common. But I'm sure Igor will prove me

Use of AbstractReadOnlyModel

2011-04-15 Thread Marek Šabo
() { return o; }; } Could someone who uses them in fitting scenarion provide some advice? It shows up in our code more and more often and I'm not convinced of that being right. That argument was augmented by ResourceModel being sublclass of AROM. Thanks, regards, -- Marek Šabo

Re: Ajax onTimer() method not called when running from embedded Jetty

2011-04-06 Thread Marek Šabo
Hi, thank you, it helped. If that does not bother you, could you please elaborate a little bit? Reqards, Marek On 04/05/2011 08:37 PM, Martin Grigorov wrote: you should set init-param org.apache.wicket.protocol.http.WicketFilter.FILTER_MAPPING_PARAM with value == the one you would put in

Re: Ajax onTimer() method not called when running from embedded Jetty

2011-04-06 Thread Marek Šabo
Thank you for explanation. On 04/06/2011 02:01 PM, Martin Grigorov wrote: WicketFilter needs to know the filter path it listens at. By default it extracts this information from web.xml but since you don't use web.xml you need to let Wicket know explicitly. The sequence is: 1)

Ajax onTimer() method not called when running from embedded Jetty

2011-04-05 Thread Marek Šabo
Hi all, I would like to know whether any of you ran into similar issue: I need timer behaviour to repaint panel that displays some data/stats provided by a network engine. When I run my app in tomcat or via mvn jetty:run as common webapp it gets called. But in my setup it's feasible to

Re: [VOTE] Behavior of CheckBox With Respect to setRequired(true)

2011-04-01 Thread Marek Šabo
I agree with Maarten, +1 for the second behaviour (2) and let validators do the rest. -- Marek On 04/01/2011 11:23 PM, Maarten Billemont wrote: On 01 Apr 2011, at 20:56, Daniel Neugebauer wrote: I would stick with 1 (required to be checked). The main reason would be not to break

Resource loading

2011-03-10 Thread Marek Šabo
Hi all, I have a question regarding resource loading in general (sorry for little OT). What code should I use to load a property file which is located in src/main/resources folder (maven directory structure)? I tried various snippets and the only one working for me under both tomcat

Re: Resource loading

2011-03-10 Thread Marek Šabo
Hi, thanks for suggestions. I know these variants but I've never had a file in src/main/java, there's always something like org.company package before. Regards, Marek On 03/10/2011 10:00 PM, Martin Grigorov wrote: On Thu, Mar 10, 2011 at 10:37 PM, Peter Ertlpe...@gmx.org wrote:

Re: Nested form submit and parent form input

2010-11-01 Thread Marek Šabo
Hi, thanks for answer, I was wondering if that is a normal behavior even for parent forms to process their values from input when nested form submits. Anyway, good to know it's supposed to be. Regards, -- Marek Šabo On 11/01/2010 05:49 AM, Martin Makundi wrote: Hi! Yes. Every time form

Re: Nested form submit and parent form input

2010-11-01 Thread Marek Šabo
Hi, ok, that makes sense, and how would that be (if somehow) affected by using setPersistent on formComponents (afaik form cookie support)? Regards, -- Marek Šabo On 11/01/2010 09:22 AM, Martin Makundi wrote: RawInput is how the form values are kept. Otherwise you will lose all values

Nested form submit and parent form input

2010-10-31 Thread Marek Šabo
are rendered from raw input (parent form wasn't submitted). (The nested form component implements IFormVisitingParticipant to skip validation when parent form submits.) Regards, -- Marek Šabo - To unsubscribe, e-mail: users

Re: Check on LoadabledetachableModel

2010-10-22 Thread Marek Šabo
Thanks, seems to work as it's supposed to now. Just for the record, de-implementing the Serializable interface from entities/objects is a good hint whether the object was undergoing the serialization process (a spam of NotSerializableExceptions will follow). Regards, -- Marek Šabo On 10

Check on LoadabledetachableModel

2010-10-21 Thread Marek Šabo
()); } }; } The DataTable then uses PropertyColumns to get the values. Is this right? Because I'm 40:60 sure it ain't. Regards, -- Marek Šabo - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: Introduction: restauracie.sk (new project based on Wicket)

2010-06-04 Thread Marek Šabo
Nice one. Bookmarking... :) -- Marek Šabo On 06/04/2010 08:46 PM, David Skuben wrote: Hello Wicket comunity, let me introduce the new web project based on Wicket from Slovakia. Project name is RESTAURACIE.SK and you can find it at http://restauracie.sk. RESTAURACIE.SK is restaurant

DropDownChoice behaviour

2010-05-29 Thread Marek Šabo
an empty string in the choices and it works. So why without setting this on the previous component, there is ability to choose null and it' represented as Choose one? Regards, -- Marek Šabo - To unsubscribe, e-mail: users-unsubscr

Status of wicket-security

2010-05-27 Thread Marek Šabo
is the common choice for AA layer in wicket apps besides Spring Security? Regards, -- Marek Šabo - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Guice singleton scope

2010-05-26 Thread Marek Šabo
there is a singleton for the whole application (thus for all sessions)? I would prefer per session based singleton, because the facade construction is not short, I don't want to instantiate it every time it's injected. Have you ever considered this -- any ideas? Regards, -- Marek Šabo

Re: Guice singleton scope

2010-05-26 Thread Marek Šabo
On 05/26/2010 06:48 PM, James Carman wrote: That's not a singleton at all. That's a session-scoped bean. On Wed, May 26, 2010 at 12:45 PM, Marek Šabo ms...@buk.cvut.cz wrote: Hi all, I wanted to try the @Singleton annotation in guice with sort of data facade. What concerns me is the scope

Re: Wicket and JavaFX applet

2010-04-17 Thread Marek Šabo
/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js req.get(); ... Regards, -- Marek Šabo On 04/17/2010 06:47 AM, Jeremy Thomerson wrote: Use Firebug and add a breakpoint in your JS to see if it is getting executed. If it's not, you may try adding a semi-colon after your

Wicket and JavaFX applet

2010-04-16 Thread Marek Šabo
://dl.javafx.com/1.2/dtfx.js INFO: Invoking pre-call handler(s)... Is there any way to know more about the process for better debugging? TIA, -- Marek Šabo

Re: JavaOne in San Francisco

2010-04-10 Thread Marek Šabo
- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Marek Šabo Server Manager Club SU CVUT Buben Bubenečská Kolej (421) XMPP: zeratul...@gmail.com

Re: Wicket JMS

2010-03-29 Thread Marek Šabo
AjaxUpdates. Regards, -- Marek Šabo On 03/29/2010 06:39 AM, Jeremy Thomerson wrote: I have used ActiveMQ (and the Spring integration(s)) extensively with Wicket. But I have not really provided AJAX feedback associated with it. This would be fairly easy to do. Just have an AJAX timer that polls

Re: Wicket JMS

2010-03-29 Thread Marek Šabo
? TIA, -- Marek Šabo - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Wickit JMS

2010-03-28 Thread Marek Šabo
ajax about it? TIA, -- Marek Šabo - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Label text wrapping

2010-03-12 Thread Marek Šabo
Hi all, I have a question, I was doing some modal windows to display user data and user object contains a long string. How can I control text wrapping or say dynamically resize modal window according to that text length? Actually wrapping would be just fine I don't mind vertical scrollbars

Re: UI Layout

2010-03-08 Thread Marek Šabo
. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Marek Šabo Server Manager Club SU CVUT Buben Bubenečská Kolej (421) XMPP: zeratul

AjaxUpdating ends up with null model objects

2010-02-03 Thread Marek Šabo
checked that ajaxified components have null modelobjects. I suppose I'm missing some simple switch method but it could be more complex. So, whats that something I'm not aware of, that makes my modelobjects which are updated during ajax requests nullified? Best regards, -- Marek Šabo

FeedbackMessage Localization

2010-01-31 Thread Marek Šabo
Hi all, I was wondering, is there a way to localize messages comming from info() and error() form methods via property files? I could do it via session logic but I'm interested in other ways. Regards, -- Marek Šabo

Re: FeedbackMessage Localization

2010-01-31 Thread Marek Šabo
@Igor - works like a charm @Andrew - took me a while to play with hierarchy but got it working Thank you both, regards -- Marek Šabo On 01/31/2010 07:16 PM, Igor Vaynberg wrote: info(getstring(key)) -igor On Sun, Jan 31, 2010 at 6:12 AM, Marek Šabo ms...@buk.cvut.cz wrote: Hi all, I

Localization properties overriding

2010-01-25 Thread Marek Šabo
Hi all, I have a question regarding property binding when using localized property files, consider following: UserHomePage page has one property for localization and that is title=User's Home which is then used in markup as: head titlewicket:message key=title //title /head ... This page

Re: Localization properties overriding

2010-01-25 Thread Marek Šabo
: He Marek, The idea of Wicket i18n is that when you use a component, you can override its default texts with your own. That's why the lookup is top-down and not bottom-up. To solve this you'll need to use a more fine-grained name for the home page's title. Regards, Erik. Marek Šabo write

Re: Localization properties overriding

2010-01-25 Thread Marek Šabo
to avoid this kind of problems. Thanks On 01/25/2010 04:05 PM, Erik van Oosten wrote: The search for any given property key is top-down, the first result is found. Why? As I said, to allow an override of the component (which may be third party). Regards, Erik. Marek Šabo wrote: Hi Erik, I

Component hierarchy question

2010-01-21 Thread Marek Šabo
hierarchy works, I thought that simply assigning new object to referrence would suffice. Thanks, Marek -- Marek Šabo Server Manager Club SU CVUT Buben Bubenečská Kolej (421) XMPP: zeratul...@gmail.com - To unsubscribe, e-mail: users

Re: Component hierarchy question

2010-01-21 Thread Marek Šabo
Hi, thanks, sorry about silly question I forgot that java passes method arguments by value and copies references. Maybe I got confused with c++ pointers. Regards, -- Marek Šabo On 01/21/2010 03:48 PM, Alexander Monakhov wrote: Hi. I'm not sure. But when you call add() method you pass

Breadcrumb title

2010-01-19 Thread Marek Šabo
Hi all, I would like to ask if anyone knows how to show e.g. read-only breadcrumb in title tag. I got internationalized page and I was thinking about sort of title properties from i18n property files for specific pages but I'm using inheritance (sort of header-footer etc. superclass) and title is

Re: Breadcrumb title

2010-01-19 Thread Marek Šabo
+ this.getLocalizer().getString(TITLE, this) On Tue, Jan 19, 2010 at 1:41 PM, Marek Šabo ms...@buk.cvut.cz wrote: Hi all, I would like to ask if anyone knows how to show e.g. read-only breadcrumb in title tag. I got internationalized page and I was thinking about sort of title properties

Re: LegUp updated for latest version of Wicket, and other frameworks

2010-01-15 Thread Marek Šabo
Looks good, sure will save time of new explorers. Are you going to add more archetypes in future (what's next)? I saw hibernate there, maybe ibatis or cayenne would be fine, although they are not that hard to figure out. I will try the wicket-guice myself. Good luck, Marek On 01/15/2010

Templates in Wicket

2010-01-15 Thread Marek Šabo
Hi everyone, I would like to know if someone can share their experience with graphical templates under wicket. It's easy to provide markup code for designers, they just need to preserve hierarchy of wicket elements, right? But how do you cope with things like attribute modifier inside

Re: Templates in Wicket

2010-01-15 Thread Marek Šabo
jetty to get the app up and running with markup reloading, then they go in with textmate or coda and tweak the markup. -igor On Fri, Jan 15, 2010 at 8:00 AM, Marek Šabo ms...@buk.cvut.cz wrote: Hi everyone, I would like to know if someone can share their experience with graphical

Re: [whishlist] JS libraries

2010-01-08 Thread Marek Šabo
Maybe some form validation library would come handy as it would save roundtrips for explicit things like empty form fields etc. Regards, Marek nino martinez wael wrote: Hi This is a whishlist for js that should be integrated with wicket but arent.. So please go ahead and whish, I just might

Re: Response with FeedBackMessage

2010-01-01 Thread Marek Šabo
at 6:43 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: if you do getSession().info() 2010/1/1 Marek Šabo ms...@buk.cvut.cz: Hi, I would like to ask how can I achieve propagation of a feedback message to a page that is set in setResponsePage(). Consider this: try { ... info

Response with FeedBackMessage

2009-12-31 Thread Marek Šabo
propagation of feedback message into response? Thanks, regards -- Marek Šabo Chief Server Manager Club SU CVUT Buben Bubenečská Kolej Terronská 28, Prague 16000 XMPP: zeratul...@gmail.com - To unsubscribe, e-mail: users

Wicket-security: Login component access

2009-12-29 Thread Marek Šabo
was not logged in -- how do I propagate this access denied message so user can see it. Because when I logged in and tried to access page where my principal did not have rights I got orange wicket access denied page. Thanks in advance regards -- Marek Šabo Chief Server Manager Club SU CVUT Buben

Disable action

2009-12-29 Thread Marek Šabo
overide the default grant. Tia, regards -- Marek Šabo Chief Server Manager Club SU CVUT Buben Bubenečská Kolej Terronská 28, Prague 16000 XMPP: zeratul...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org