Listening key pressings on server side

2010-02-09 Thread Roland
ck"){ @Override protected void onEvent(AjaxRequestTarget target) { LOG.debug("Clicked left"); } }); But problem there is that EventType.onkeypress is not supported. Examples I made on main page, but eventually I would need to listen key pressings on modalwindow's panel, which is placed on a page. Thanks in advance, Roland

Re: AutoCompleteTextField - autocomplete multiple fields

2008-05-30 Thread Roland Huss
ete and I already opened a Jira issue for that. You might want to vote for https://issues.apache.org/jira/browse/WICKET-1651 which provides a patch for putting AACB's renderHead() logic into a protected initHead() method, which then can be overwritten by a subclass and AACB.super.renderHea

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

2008-06-04 Thread Roland Huss
Brill Pappin wrote: > > I don't know if you have every done true TDD (most people can't or think > they can), but it actually changes your code and the way you write it. > Starting with 2 users of your code makes a significant impact on what it > looks like in the end. > Just out of curiosity

Re: generics

2008-07-02 Thread Roland Huss
ty model. > The usage of a CompoundPropertyModel as a Form-model saved us quite some typing and it's IMO a very common use case. In fact, this it propbably the most relevant use case for a CPM anyway. So, I'm in favor of having a Form with Model (or at least a variation like a ModelForm

Re: generics

2008-07-02 Thread Roland Huss
But at the end, I want my model object back to do some business with it, so I could either store the CPM myself for later reference (but why would I want to do this ?) or retrieve it from the Form's model (typesafe, if possible). That's why a generified Form would be nice. ... roland

Re: Resource/SharedResource - Display an image

2008-07-09 Thread Roland Huss
at you posted is line 66 at which this NPE has occured ? ...roland -- View this message in context: http://www.nabble.com/Resource-SharedResource---Display-an-image-tp18348115p18359444.html Sent from the Wicket - User mailing list archive at Nabble.com. --

Re: Resource/SharedResource - Display an image

2008-07-09 Thread Roland Huss
ource): resourceReference = new ResourceReference(MyApplication.PROFILE_STANDARD); resourceReference.bind(Application.get()); resourceStream = resourceReferece.getResource().getResourceStream(); ...roland -- View this message in context: http://www.nabble.com/Resource-SharedResource---Display-an-image-t

Re: Resource/SharedResource - Display an image

2008-07-10 Thread Roland Huss
t (i.e. if it is done via an Ajax request). No headers needs to be set here. ... roland -- View this message in context: http://www.nabble.com/Resource-SharedResource---Display-an-image-tp18348115p18393207.html Sent from the Wi

Re: AutocompleteTextField

2008-07-18 Thread Roland Huss
icket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-objectautocomplete . Look at the exampes for how to use it. ... roland ulrik wrote: > > Hello! > > I have a question that I hope someone can help me with. > > Lets say I have two classes like the ones here: &

wicketstuff-push and component replacing

2010-01-22 Thread Roland Vares
or make new? Or how should I implement push service, which needs to replace some components on page? Thanks in advance, Roland

Re: url mapping and wizards

2007-08-17 Thread Roland Kaercher
Hello Simon, you could encrypt your URL as described here: http://cwiki.apache.org/WICKET/obfuscating-urls.html Roland On 8/17/07, wicket user <[EMAIL PROTECTED]> wrote: > Thanks Igor, > > I guess it makes sense that you wouldn't want to really bookmark a step > halfw

Re: How to handle these nested tags

2007-09-10 Thread Roland Huss
Hi, > > ¡¡ Welcome Could it be, that is not supported as markup for a Label component and that you should use something like instead ? ... roland -- View this message in context: http://www.nabble.com/How-to-handle-these-nested-%3Ctable%3E-tags-tf441220

Re: File downloading with Wicket

2007-09-26 Thread Roland Kaercher
Hello Ian, I think DownLoadLink ( http://people.apache.org/~tobrien/wicket/apidocs/org/apache/wicket/markup/html/link/DownloadLink.html ) is what you need. Regards, Roland On 9/26/07, Ian Godman <[EMAIL PROTECTED]> wrote: > Can any one give me a pointer or 2 on how to download a fi

Re: File downloading with Wicket

2007-09-26 Thread Roland Kaercher
Hello Ian, you will need to override newNodeComponent(final String id, final IModel model) on the LinkTree to return your own panel with the downloadlink for the nodes which should trigger a download and super.newNodeComponent... for all others. regards, roland On 9/26/07, Ian Godman <[EM

Re: Wicket Article on DevX

2007-10-15 Thread Roland Kaercher
Nathan has written a nice article on jetty which made me to switch to jetty for deployment too: http://technically.us/code/x/to-jettison-geronimo/ (and no, I did not regret it) regards, Roland On 10/15/07, Sam Hough <[EMAIL PROTECTED]> wrote: > > Congratulaions on the articl

Re: Wicket Article on DevX

2007-10-15 Thread Roland Kaercher
in memory ;-) Regards, Roland On 10/15/07, Sam Hough <[EMAIL PROTECTED]> wrote: > > The article seems to be more advocating running multiple JVMs if you are > prepared to run a front end proxy to put everything back under the same > ip/port? Presumably you could do the same with T

Re: Displaying feedback

2007-11-12 Thread Roland Kaercher
Hello Joshua, if you just want to display the feedback in your default feedback panel all you have to do is add it to your page, there is no need to tell the form which feedback panel to use then. roland On Nov 12, 2007 8:25 AM, Joshua Jackson <[EMAIL PROTECTED]> wrote: > Dear all, >

Re: Equivalent to

2008-01-04 Thread Roland Kaercher
Hi Haritha, just use a panel where you would have included something. regards, roland On Jan 4, 2008 7:24 PM, Haritha Juturu <[EMAIL PROTECTED]> wrote: > Hi All, > How do we achieve Than

Hook into RequestCycle ?

2008-02-12 Thread Roland Huss
onality. (The 'remember me' feature of the SignInPanel is not enough for me, since I want a transparent login without moving over the login page). Of course, if there is already support for this kind of feature out of the box somewhere, I would be happy for getting a pointer, too. t

RE: StringResourceModel - how to pass method call instead of bean

2008-02-12 Thread Roland Huss
late binding put new AbstractReadOnlyModel() { public Object getObject() { return getTotalAlbums(); } } in the object array (instead of getTotalAlbums() directly) bye ... ...roland -- View this message in context: http://www.nabble.com/TabbedPanel-and-model-load...

RE: StringResourceModel - how to pass method call instead of bean

2008-02-12 Thread Roland Huss
e number of total albums which existed at creation time of your component, by using this extra indirection step you get your method evaluated each time the component is rendered (which can happen quite later when your album collection changes, e.g. when you use this label on a page where yo

Re: Hook into RequestCycle ?

2008-02-12 Thread Roland Huss
at auth-role is an add on and I could do it my own way. The core wicket extensions points are more than sufficient for that. But even a good example like auth-roles could be improved sometimes ;-) Don't get me wrong, the current situation is ok for me because it works. bye ... ...roland

Re: Hook into RequestCycle ?

2008-02-12 Thread Roland Huss
x the restriction to work with manual authentication via AWS.signIn() only. If you don't mind, I would like to open a JIRA issue for an RFE (with some more code examples). Thanx again for the hint (and for this great framework in general ;-) ... ... roland -- View this message in contex

Re: Business/Domain objects used as wicket model object - opinions please

2008-02-13 Thread Roland Huss
firm advocat of 'avoiding DTOs at all cost', too ;-) If you need some tool support for using view objects (and to cut down the LOCs ;-), we find Dozer (http://dozer.sf.net/) for declarative, bean-wise mappings rather useful. ... roland Martijn Dashorst wrote: > > You could do th

Re: Picnik components

2008-03-22 Thread Roland Huss
nents. Has anyone already started with this? If not - I'm going to, > and > I'd be very happy to release this under Apache License 2.0, e.g. as a > wicketstuff project. > I'm very interested in such components, so when you have something to look at, I would be happy to gi

Re: Wicket.Ajax.post array parameters

2014-10-22 Thread Roland Dobsai
public abstract class SortableBehavior extends AbstractDefaultAjaxBehavior { @Override protected void respond(AjaxRequestTarget target) { StringValue prevValue = RequestCycle.get().getRequest().getRequestParameters().getParameterValue("prev"); StringValue draggedrValue

replace getRequestCycle().scheduleRequestHandlerAfterCurrent

2015-01-26 Thread Roland Dobsai
Hi we're using getRequestCycle().scheduleRequestHandlerAfterCurrent, various places in our application which causes 500 error, is there any we to replace, lines below because my solution which is: String url = RequestCycle.get().urlFor(rs).toString(); throw new RedirectToUrlException

Re: replace getRequestCycle().scheduleRequestHandlerAfterCurrent

2015-01-26 Thread Roland Dobsai
give more details. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Mon, Jan 26, 2015 at 3:45 PM, Roland Dobsai > wrote: > > > Hi we're using getRequestCycle().scheduleRequestHandlerAfterCurrent, > > various places i

Re: replace getRequestCycle().scheduleRequestHandlerAfterCurrent

2015-01-26 Thread Roland Dobsai
called earlier. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Mon, Jan 26, 2015 at 4:06 PM, Roland Dobsai > wrote: > > > thanks for a replay, yes there is an exception in a log > > > > here's an example &g