Re: Ajax call of textfield after pressing the Enter key

2013-04-26 Thread vineet semwal
hi, just minor correction, enter key is 13 .. On Sat, Apr 27, 2013 at 11:34 AM, Martin Grigorov wrote: > Hi, > > > On Sat, Apr 27, 2013 at 12:31 AM, Andre Schütz wrote: > > > Hello, > > > > I tried to find out how I can make a Ajax call from a textfield after > > pressing the Enter key. I want

Re: Ajax call of textfield after pressing the Enter key

2013-04-26 Thread Martin Grigorov
Hi, On Sat, Apr 27, 2013 at 12:31 AM, Andre Schütz wrote: > Hello, > > I tried to find out how I can make a Ajax call from a textfield after > pressing the Enter key. I want to reach the following: > - The user types a name into the textfield > - After pressing the Enter key, the value of the t

Re: How to make the link to a wicket page from an external website?

2013-04-26 Thread Martin Grigorov
Hi, Check http://wicketinaction.com/2011/07/wicket-1-5-mounting-pages/ On Sat, Apr 27, 2013 at 5:57 AM, mike.hua wrote: > Oh,I know! > The "BookmarkablePageLink" helped me! > > If I want to get the wicket page access url,I can use > "http://website/wicket/bookmarkable/packageName.TargetPageCla

Re: How to make the link to a wicket page from an external website?

2013-04-26 Thread mike.hua
Oh,I know! The "BookmarkablePageLink" helped me! If I want to get the wicket page access url,I can use "http://website/wicket/bookmarkable/packageName.TargetPageClass";! Thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-make-the-link-to-a-wicket-page-f

Re: How to make the link to a wicket page from an external website?

2013-04-26 Thread mike.hua
Hi Martin, I can set the href property with "http://www.website.com/xxx.asp"; to redirect the ASP page. But this method is not fit for wicket! The target wicket has several "pages": Hello.html,Hello.java---Welcome Page RedirectPage.html,RedirectPage.java .. If I need to set the url in a browse

Ajax call of textfield after pressing the Enter key

2013-04-26 Thread Andre Schütz
Hello, I tried to find out how I can make a Ajax call from a textfield after pressing the Enter key. I want to reach the following: - The user types a name into the textfield - After pressing the Enter key, the value of the textfield will be processed on the server side I tried AjaxFormSubmitBe

Re: Example for saving value edited in Text Box on exit event

2013-04-26 Thread Bruno Moura
Hi Martin I trying to add a TextField in a list view as is showed bellow: val detail = new TextField("detail", new PropertyModel(objItem, "description")) detail.add(new AjaxFormComponentUpdatingBehavior(("keyup")) { protected def onUpdate(target: AjaxRequestTarget) { obj

Re: Disabling Individual Checkboxes in CheckGroup

2013-04-26 Thread Paul Bors
You can always override the getter method when you construct the Checks and toggle the boolean value via Ajax. ~ Thank you, Paul Bors On Fri, Apr 26, 2013 at 11:39 AM, eugenebalt wrote: > Igor, > > The problem is, you do check.setEnabled(false) in *ListView.populateItem()* > for a CheckGrou

Re: Overriding markup loading results in errors with inheritance

2013-04-26 Thread Paul Bors
"MarkupNotFoundException: Can not determine Markup. Component is not yet connected to a parent." kind of tells you that perhaps you forgot to use the add() method? Also see "How to do things in Wicket": https://cwiki.apache.org/WICKET/how-to-do-things-in-wicket.html More precisly "Control where H

Re: Can't Ajax-Update CheckGroup with new ListView

2013-04-26 Thread Paul Bors
Take a look at the Wicket Examples: http://www.wicket-library.com/wicket-examples/index.html Mainly the forminput - Basic form processing There is a "select one or more numbers (CheckGroup)" and if you look at the "sourcecode" from upper right corner you can view the FormInput.java. Scroll down

Re: Example for saving value edited in Text Box on exit event

2013-04-26 Thread Martin Grigorov
Hi, There is no 'exit' event. Please give us more details. And show us what you have so far. On Fri, Apr 26, 2013 at 8:54 PM, Bruno Moura wrote: > Hi someone please could give me an example for saving value edited in Text > Box, inside a listview, via ajax on exit event. > > I need a example o

Re: Can't Ajax-Update CheckGroup with new ListView

2013-04-26 Thread eugenebalt
Paul, how would the model specify enabled/disabled status? The model contains the values of the checkboxes. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Can-t-Ajax-Update-CheckGroup-with-new-ListView-tp4658090p4658323.html Sent from the Users forum mailing list ar

Re: Can't Ajax-Update CheckGroup with new ListView

2013-04-26 Thread Paul Bors
Why not reuse the list of check boxes, grab a hold of their models and toggle them on and off as you wish? See ListView.setReuseItems(true) ~ Thank you, Paul Bors On Mon, Apr 22, 2013 at 10:27 AM, eugenebalt wrote: > Any help on this issue? > > > > -- > View this message in context: > http:

Button FB and Twitter in Wicket

2013-04-26 Thread Antonio muñoz alonso
hi. How can add the button to share on facebook and twitter in wicket? I have a list of words, when you press the button I want to be published. Thanks

Re: Disabling Individual Checkboxes in CheckGroup

2013-04-26 Thread eugenebalt
Igor, The problem is, you do check.setEnabled(false) in *ListView.populateItem()* for a CheckGroup control. This method executes AFTER the Ajax update. It's too late to do check.setEnable(false) on the render of the CheckGroup's ListView. We need to disable/enable checkboxes in a CheckGroup as pa

Overriding markup loading results in errors with inheritance

2013-04-26 Thread mazabel
Hi, for certain pages I want to customize markup loading, so the markup is loaded from another source instead of the standard file location. Given a method to obtain the markup, getMarkupFileFromSomewhereElse, this should work as follows (explanation can be found here: http://www.mkyong.com/wicke

Re: Understanding Wicket's Session

2013-04-26 Thread Bertrand Guay-Paquet
This is weird... In both of dhongyt's emails, there isn't any source code in the email body. I just noticed that the nabble link does show the source code however. Any idea why? On 26/04/2013 10:16 AM, dhongyt wrote: Thanks I have fixed the issue. It was my: From my understanding I was get

Re: Understanding Wicket's Session

2013-04-26 Thread dhongyt
Thanks I have fixed the issue. It was my: >From my understanding I was getting the Wicket Application's session so that's why it was shared across users. So what I did was: And removed SessionService entirely from the WicketApplication. -- View this message in context: http://apache-wicke

Re: Link generation from outside of Wicket - was Re: [ANNOUNCE] Apache Wicket 6.7.0 Released!

2013-04-26 Thread Martin Grigorov
Hi, In another thread I suggested an "insane" idea but maybe it could be useful for someone. You can expose Wicket IResource as a web service. Pass it the class name as parameter and it can use normal Wicket functionality to return the full url for that page. The catch is that you need to know the

Re: How to make the link to a wicket page from an external website?

2013-04-26 Thread mike.hua
The wicket page is not home page. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-make-the-link-to-a-wicket-page-from-an-external-website-tp4658313p4658314.html Sent from the Users forum mailing list archive at Nabble.com.

Re: How to make the link to a wicket page from an external website?

2013-04-26 Thread Martin Grigorov
Hi, What would you do if you need to redirect from this ASP page to http://www.example.com ? You would hardcode it, I guess. Mount the Wicket page at some path and use: with http://www.your-site.com/mount/path You can create a special Wicket IResource that serves as web service - pass the page n

How to make the link to a wicket page from an external website?

2013-04-26 Thread mike.hua
For example,there is a hyperlink in an ASP page, and I don't know how to set the href property to redirect the target wicket page. What shoud I do? Thanks a lot! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-make-the-link-to-a-wicket-page-from-an-external-

AW: DefaultDataTable with NavigationToolbar

2013-04-26 Thread Christoph.Manig
This works. Thank you. Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport & Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-sys

Re: DefaultDataTable with NavigationToolbar

2013-04-26 Thread Martin Grigorov
On Fri, Apr 26, 2013 at 1:37 PM, wrote: > Hello, > > this is the implementation of the DataProvider: > > @Override > public Iterator iterator(long l, long l2) { > if (userList != null){ > Collections.sort(userList,comparator); > }else{ > System.out.prin

AW: DefaultDataTable with NavigationToolbar

2013-04-26 Thread Christoph.Manig
Hello, this is the implementation of the DataProvider: @Override public Iterator iterator(long l, long l2) { if (userList != null){ Collections.sort(userList,comparator); }else{ System.out.println("User-List ist leer!"); } return userLis

Re: DefaultDataTable with NavigationToolbar

2013-04-26 Thread Martin Grigorov
Hi, The problem seems to be in your implementation of org.apache.wicket.markup.repeater.data.IDataProvider#iterator(long first, long count) On Fri, Apr 26, 2013 at 1:10 PM, wrote: > Hello, > > I'm using a DefaultDataTable with a NavigationToolbar. I want to show on > every TablePage 10 rows. N

DefaultDataTable with NavigationToolbar

2013-04-26 Thread Christoph.Manig
Hello, I'm using a DefaultDataTable with a NavigationToolbar. I want to show on every TablePage 10 rows. Now when I have more than 10 rows (e.g 11) the navigationtoolbar appears and I can switch on the 2nd page to see the 11th row. But on the 2nd page the Table shows again the first row and no

Re: Datepicker only Hours

2013-04-26 Thread Martin Grigorov
Hi, You will have to consult with YUI 2.x DatePicker documentation to see what JS call is needed. On Fri, Apr 26, 2013 at 12:19 PM, wrote: > Hello, > > I have a DatePicker inside a Form. How can I say the Datepicker that it > should set the date (day, month, year) on the actual day when I onl

Datepicker only Hours

2013-04-26 Thread Christoph.Manig
Hello, I have a DatePicker inside a Form. How can I say the Datepicker that it should set the date (day, month, year) on the actual day when I only fill the fields for time (hour and minutes)? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Inte

FW: [Building Sakai] Quartz

2013-04-26 Thread Antonio muñoz alonso
>From ArchiveSite(class implements Job) Well I need to access functions that I have implemented in sakai proxy and theninsert data into the database. NPE when I access from ArchiveSites. From: antoniovalenciasp...@hotmail.com To: steve.swinsb...@gmail.com Subject: RE: [Building Sakai] Quartz D

Re: What is your setup for Rapid Application Development?

2013-04-26 Thread Martin Grigorov
Hi Andrew, There are different tools for different tasks. That's clear. You prefer tools which generate code for you, I prefer finer control. That's OK. About performance check http://www.techempower.com/benchmarks/#section=data-r3 I'm not trying to convince you anything :-) On Fri, Apr 26, 20

Re: What is your setup for Rapid Application Development?

2013-04-26 Thread Andrew Schetinin
Hi Alexey, Well, you're right. To me, RAD was always about GUI prototyping or massive GUI development, turning around code generation tools. I've checked the terminology and found that it is a broader term, even mixed up with Agile and Scrum which are more about project management and not about

Re: What is your setup for Rapid Application Development?

2013-04-26 Thread Andrew Schetinin
Hi Martin, On Fri, Apr 26, 2013 at 11:17 AM, Martin Grigorov wrote: > Hi Andrew, > > On Fri, Apr 26, 2013 at 9:38 AM, Andrew Schetinin >wrote: > > It is not the maintenance cost the problem. > The reason why these frameworks have been abandoned is because there were > no users for them. Or at le

Re: What is your setup for Rapid Application Development?

2013-04-26 Thread Martin Grigorov
Hi Andrew, On Fri, Apr 26, 2013 at 9:38 AM, Andrew Schetinin wrote: > Hi Martin, > > See inside... > > On Fri, Apr 26, 2013 at 10:01 AM, Martin Grigorov >wrote: > > > Hi Andrew, > > > > On Fri, Apr 26, 2013 at 7:13 AM, Andrew Schetinin > >wrote: > > > > > In our case, we had to implement the s

Datepicker only Hours

2013-04-26 Thread Christoph.Manig
Hello, I have a DatePicker inside a Form. How can I say the Datepicker that it should set the date (day, month, year) on the actual day when I only fill the fields for time (hour and minutes)? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integ

Re: What is your setup for Rapid Application Development?

2013-04-26 Thread Dan Simko
Please take a look also on https://github.com/brix-cms/brix-cms/wiki On Fri, Apr 26, 2013 at 9:38 AM, Andrew Schetinin wrote: > Hi Martin, > > See inside... > > On Fri, Apr 26, 2013 at 10:01 AM, Martin Grigorov >wrote: > > > Hi Andrew, > > > > On Fri, Apr 26, 2013 at 7:13 AM, Andrew Schetinin

Re: [Wicket 1.4.9] StackOverflow wicket-ajax.js with IE8 64bits

2013-04-26 Thread Martin Grigorov
Hi, On Fri, Apr 26, 2013 at 9:29 AM, M4xime wrote: > Hi ! > > Thanks for your reply and link ! > > I still have one question : why does it happen on IE8 64 bits and not on > IE8 > 32bits ? > I don't get why IE8 64bits seems to have a smaller stack size. > No idea. IE is not the most friendlier

Re: What is your setup for Rapid Application Development?

2013-04-26 Thread Andrew Schetinin
Hi Martin, See inside... On Fri, Apr 26, 2013 at 10:01 AM, Martin Grigorov wrote: > Hi Andrew, > > On Fri, Apr 26, 2013 at 7:13 AM, Andrew Schetinin >wrote: > > > In our case, we had to implement the second option, suitable for our > needs > > Can you explain what do you mean by "suitable for o

Re: Understanding Wicket's Session

2013-04-26 Thread Sven Meier
These lines looks suspicious: public Session newSession(Request request, Response response) { sessionService = new SessionService(request); return sessionService; } final DownloadBagService downloadBag = ((WicketApplication)session.getApplication()).getSessionService().getD

Re: Wicket stack on a netbook

2013-04-26 Thread Sven Meier
I did my Wicket development on a netbook a few years ago and it worked fine. Running Eclipse on XGA display resolution was a PITA though :(. Sven On 04/25/2013 09:17 PM, Rafael Barrera Oro wrote: Hello everyone! I was wandering if anyone was successful in developing wicket apps from a netbook

Re: [Wicket 1.4.9] StackOverflow wicket-ajax.js with IE8 64bits

2013-04-26 Thread M4xime
Hi ! Thanks for your reply and link ! I still have one question : why does it happen on IE8 64 bits and not on IE8 32bits ? I don't get why IE8 64bits seems to have a smaller stack size. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-4-9-StackOverflow-wic

Re: Wicket stack on a netbook

2013-04-26 Thread Martin Grigorov
Hi, I think the one that will grab the more resources will be the IDE. You can run Wicket app with -Xmx 64Mb in Tomcat. On Thu, Apr 25, 2013 at 9:17 PM, Rafael Barrera Oro wrote: > Hello everyone! > > I was wandering if anyone was successful in developing wicket apps from a > netbook (atom proce

Re: What is your setup for Rapid Application Development?

2013-04-26 Thread Martin Grigorov
Hi Andrew, On Fri, Apr 26, 2013 at 7:13 AM, Andrew Schetinin wrote: > Hi Alexey, > > RAD requires a set of good visual components (not a strong side of Wicket, > unfortunately), and one of the two features - either a visual form editor > (10 years ago), or automated CRUD forms generation (today)