Re: Cancelling pending Ajax requests

2009-05-31 Thread JohannesK
Does this solution actually work though? I tried it and I don't see any behaviour I wouldn't get from just the throttle delay. Is there something I need to change in this to use it? Possibly the channel names? Antti Mattila wrote: > > Problem: > I want to validate input as user types it, but va

elphas: Error occurred during initialization of VM agent library failed to init: instrument

2009-05-31 Thread Fernando Wermus
I am trying to run Elphas, but I got the following message: Error opening zip file: Error occurred during initialization of VM agent library failed to init: instrument The -javaagent PATH is correct. But it still throws the error shown above. Thanks in advance -- Fernando Wermus. www.linkedin

Re: Spring Autowired and @SpringBean

2009-05-31 Thread Luther Baker
Thanks for the suggestion Vasu. I tried this in my 'Service' class: @Service(value = "logServiceImpl") public class LogServiceImpl implements LogService { ... and this in my page: public class Home extends BasicLayout { @SpringBean(name = "logServiceImpl") private LogService logService;

Re: Long content

2009-05-31 Thread Luther Baker
Ah, thanks for the suggestion Vasu. I looked at this component and don't think I'm looking to have '\n' replaced or 's and 's automatically generated. In my case, most cases, "Post" content might include some paragraphs, blockquotes, pictures and a few more paragraphs. After a blog entry, there m

Re: Long content

2009-05-31 Thread Vasu Srinivasan
How about MultiLineLabel ? On Sun, May 31, 2009 at 10:43 PM, Luther Baker wrote: > I'm working on an application something akin to blog posts. A 'Post' has a > title, date, tags, a category ... and *content*. > > For most of the 'smaller' properties in a 'Post', I use a Label as the > component a

Re: Spring Autowired and @SpringBean

2009-05-31 Thread Vasu Srinivasan
Have you tried like this: @SpringBean(name = "xServiceImpl") XService xservice; On Sun, May 31, 2009 at 5:03 PM, Igor Vaynberg wrote: > wicket is looking for these beans in the spring context. if spring is > not putting those beans there then it will be a problem. > > -igor > > On Sun, May 31,

Long content

2009-05-31 Thread Luther Baker
I'm working on an application something akin to blog posts. A 'Post' has a title, date, tags, a category ... and *content*. For most of the 'smaller' properties in a 'Post', I use a Label as the component and that works just fine - but for much larger datasets, say, "content", I feel odd using som

Re: unit test of AjaxLazyLoadPanel and ModalWindow

2009-05-31 Thread Igor Vaynberg
maybe you should paste it into a jira issue so we can commit it into code. -igor On Thu, May 28, 2009 at 7:36 PM, Antony Stubbs wrote: > > And here's a nicer version to add to your library: > > >    /** >     * Triggers an {...@link AjaxLazyLoadPanel} to fetch it's contents. >     * >     * @par

Re: Elphas url svn fails to checkout

2009-05-31 Thread Fernando Wermus
This is the correct one: http://elephas.googlecode.com/svn/trunk/ On Sun, May 31, 2009 at 7:09 PM, Fernando Wermus wrote: > Hi all, > I was trying to use Elphas project, but the url is not working. Does > anyone could provide a good one? > > Thanks in advance! > > -- > Fernando Wermus. > > ww

Elphas url svn fails to checkout

2009-05-31 Thread Fernando Wermus
Hi all, I was trying to use Elphas project, but the url is not working. Does anyone could provide a good one? Thanks in advance! -- Fernando Wermus. www.linkedin.com/in/fernandowermus

How to hyperlink the validation or error messages to the respective fields on a large form

2009-05-31 Thread Deepesh Mathur
How to hyperlink the validation or error messages to the respective fields on a large form ? Like for example we have validation error for a field x on a form then clicking on the message should take to the respective field. Thanks and Regards Deepesh

Notifications

2009-05-31 Thread Null kühl
Hi all, I was doing a small social application using wicket, and i would like to provide the user with a list of notifications once he logs in, how ever i would like to display them to the user in a way that is .. notifying:) more like that of facebook floating notifications, any ideas .. ?

Re: how to avoid concurrent clic/submit on ajax links ?

2009-05-31 Thread greeklinux
Hello, maybe you can get inspiration from here: http://wicketinaction.com/2008/12/preventing-double-ajax-requests-in-3-lines-of-code/ http://wicketinaction.com/2008/12/preventing-double-ajax-requests-in-3-lines-of-code/ regards LiveNono wrote: > > hi > > when trying to push my ajax app to

wicket ajax best practices ?

2009-05-31 Thread Live Nono
hi I've been quite heavily using ajax lately and, at the beginning, it appears to break often, getting "page not found 404" and others "channel busy - postponing". I'm mainly using modal windows, ajax links and ajax validating/submit behaviors. Recently, searching through the mailing list, I foun

how to avoid concurrent clic/submit on ajax links ?

2009-05-31 Thread Live Nono
hi when trying to push my ajax app to its limits, I spotted that I'm able to send 2 ajax requests but only have the display of the first one. Is there a way to avoid this kind of double clic ? to be precise, the pattern I use to reproduce easily this point is the following : - I click on a link h

Wicket QuickStart app failing at TestHomePage (testRenderMyPage)

2009-05-31 Thread David Brown
Hello Wicketeers, I had QuickStart app running OK out-of-the-box. Then, I tried to create a couple of Panels (from WIA) for a couple of links that basically swap the text on the same page. Now, the project will not build because of Test errors (not failures). The particulars follow. In the mean

Re: Example of ModalWindow misleading

2009-05-31 Thread Live Nono
done : https://issues.apache.org/jira/browse/WICKET-2295 nono 2009/5/28, Igor Vaynberg : > yes > > > -igor > > > On Thu, May 28, 2009 at 3:09 AM, Live Nono wrote: > > Should I open a jira for this ? > > > > > > > > 2009/5/21 Matej Knopp : > >> I think modal window example could be fixed

Re: Spring Autowired and @SpringBean

2009-05-31 Thread Igor Vaynberg
wicket is looking for these beans in the spring context. if spring is not putting those beans there then it will be a problem. -igor On Sun, May 31, 2009 at 2:19 PM, Luther Baker wrote: > I'm using the following from the wicket spring page: > > > public class MainApplication extends WebApplicati

Copy Form Fields

2009-05-31 Thread hill180
I have looked through the archives and there were a couple references to this question but no examples and I was hoping for some help. I have a form with Address One and Address Two, I have a link that I just want to copy the data over. I am thinking it should use Javascript, but I am new t

Re: Spring Autowired and @SpringBean

2009-05-31 Thread Luther Baker
I'm using the following from the wicket spring page: public class MainApplication extends WebApplication { /** * @see org.apache.wicket.protocol.http.WebApplication#init() */ @Override protected void init() { super.init(); // http://cwiki.apache.org/WICK

Re: Spring Autowired and @SpringBean

2009-05-31 Thread Igor Vaynberg
have you read the wicket spring wiki page? you have to install the spring component injector for this to work. -igor On Sun, May 31, 2009 at 1:15 PM, Luther Baker wrote: > I'm working on a project with Spring/Wicket integration. > > I have most of the Spring autowire stuff working ... > > My @Re

Re: Disabling component again with AjaxCheckBox

2009-05-31 Thread Igor Vaynberg
is your checkbox required? any validation errors? see if onerror() is called instead of onupdate() -igor On Sun, May 31, 2009 at 11:04 AM, Rick Gruber-Riemer wrote: > Hi > > Thank you for your answer. > > Unfortunately this did not solve the problem. In the meantime I found out, > that the onUpd

Re: Wicket + RSS

2009-05-31 Thread Fernando Wermus
It is solved. Thanks! On Sun, May 31, 2009 at 1:37 PM, Fernando Wermus wrote: > java.lang.RuntimeException: Unable to parse feed: > http://feeds.feedburner.com/code_poet > at > org.wicketstuff.rome.SyndEntryListModel.load(SyndEntryListModel.java:31) > > at > org.apache.wicket.model.L

Re: Wicket + RSS

2009-05-31 Thread Fernando Wermus
java.lang.RuntimeException: Unable to parse feed: http://feeds.feedburner.com/code_poet at org.wicketstuff.rome.SyndEntryListModel.load(SyndEntryListModel.java:31) at org.apache.wicket.model.LoadableDetachableModel.getObject(LoadableDetachableModel.java:114) at org.apache.wicket.Com

Re: Wicket + RSS

2009-05-31 Thread Fernando Wermus
Nino, I got this error running a simple code. It couldn read rss from Code Poet! On Sun, May 31, 2009 at 1:27 PM, Fernando Wermus wrote: > Nino, > So I have to install it locally... > > ps: I am looking just to publish rss right now. > > thanks > > > On Sun, May 31, 2009 at 1:15 PM, nin

Re: Wicket + RSS

2009-05-31 Thread Fernando Wermus
Nino, So I have to install it locally... ps: I am looking just to publish rss right now. thanks On Sun, May 31, 2009 at 1:15 PM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > It's here > http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-rome/1.3-SNAPSHOT/ >

Re: Wicket + RSS

2009-05-31 Thread nino martinez wael
It's here http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-rome/1.3-SNAPSHOT/ So shouldnt be a problem.. Are you looking publish rss with wicket or wicket to consume rss and show it on a page? wicketstuff rome will let you do both afaik... 2009/5/31 Fernando Wermus : > Hi all,

Spring Autowired and @SpringBean

2009-05-31 Thread Luther Baker
I'm working on a project with Spring/Wicket integration. I have most of the Spring autowire stuff working ... My @Repository(s) are successfully autowires to my @Service(s). In SpringMVC speak then, the @Service would autowire to the *...@controller*. But of course, I am using wicket, not Spring

Wicket + RSS

2009-05-31 Thread Fernando Wermus
Hi all, I am looking to publish some RSS into a wicket site. I thought to have a look at wicket-stuff rome, but I couldn't get it. I am using it with wicket 1.3.6 wicket-snaps http://wicketstuff.org/maven/repository true

Re: Disabling component again with AjaxCheckBox

2009-05-31 Thread Rick Gruber-Riemer
Hi Thank you for your answer. Unfortunately this did not solve the problem. In the meantime I found out, that the onUpdate method is only called when the checkbox is checked, but not when the checkbox is removed (i.e. check, uncheck, check, uncheck results in two invocations of onUpdate). This do

Re: Does Link work with browser BACK button?

2009-05-31 Thread Luther Baker
Ah - thanks both of you. Category was still pretty much a POJO @Entity public class Category { *This fixed it:* @Entity public class Category implements Serializable { private static final long serialVersionUID = 1L; Thanks, -Luther On Sun, May 31, 2

Re: Does Link work with browser BACK button?

2009-05-31 Thread Igor Vaynberg
agreed it sounds like a serialization error, check your logs. webpage is already serializable so no need to do it there. something else you are holding a reference to must not be serializable. -igor On Sun, May 31, 2009 at 9:11 AM, joeinazusa wrote: > > Yes it does. > > Sounds like to you need t

Re: Does Link work with browser BACK button?

2009-05-31 Thread joeinazusa
Yes it does. Sounds like to you need to implement serializable in your class. public class YourClass extends WebPage implements Serializable { luther.baker wrote: > > For this example, I have a 'blog' like front page. On this page are > several > posts that each, have an associated category

Does Link work with browser BACK button?

2009-05-31 Thread Luther Baker
For this example, I have a 'blog' like front page. On this page are several posts that each, have an associated category and multiple tags. I am in the prototype/design phase right now (simply hard coding the posts and corresponding references in the Java class). *Use Case 1: *1. visit the front

Re: Wicketeer Available for Hire...

2009-05-31 Thread Martin Makundi
Hi James! We'd need help fixin few wicket bugs... 1. https://issues.apache.org/jira/browse/WICKET-2261 2. https://issues.apache.org/jira/browse/WICKET-2274 What would you suggest? ** Martin 2009/5/31 James Carman : > All, > > It looks like my current client engagement is winding down here soo

Re: how to show checkboxes in two column

2009-05-31 Thread Igor Vaynberg
you can wrap a checkgroup, gridview, and check components into a formcomponentpanel to build a reusable list with x number of columns. -igor On Sat, May 30, 2009 at 11:58 PM, gaoxm wrote: > Hello, > > Does anyone know how to show a group of check boxes or radio boxes in two > columns and align t

Re: how to show checkboxes in two column

2009-05-31 Thread Fernando Wermus
Simon, I was wondering the same but instead of building one myself I was wondering why wicket doesn't have a tile component for instance. On Sat, May 30, 2009 at 11:58 PM, gaoxm wrote: > Hello, > > Does anyone know how to show a group of check boxes or radio boxes in two > columns and align

Re: CheckBox and Form submit question

2009-05-31 Thread joeinazusa
You solution recommendation would seem to work for me. would you add the JS in wicket? How? Thanks! joe. Johan Compagner wrote: > > I would do that in javascriot itself, why having a round trip to fill > 1 set of data to some fields. Just do that in some javascript that you > attach to the

Re: Disabling component again with AjaxCheckBox

2009-05-31 Thread Steve Swinsburg
Call doUpdateConfirmButton() when the page first loads so you can set it up initially, then again when the checkbox is clicked as you already do. cheers, Steve On 31/05/2009, at 7:40 AM, Rick Gruber-Riemer wrote: Hi I have a checkbox which must be checked for the user to be able to su

Re: Wicket Quickstart vs WIA eclipse projects: why so different?

2009-05-31 Thread James Carman
Is there a way through the maven eclipse plugin to set properties like that for a project? On Sat, May 30, 2009 at 11:35 PM, David Brown wrote: > Hello Igor, thanks - that did the trick. Regards, David. > > > > - Original Message - > From: "Igor Vaynberg" > To: users@wicket.apache.org >

Wicketeer Available for Hire...

2009-05-31 Thread James Carman
All, It looks like my current client engagement is winding down here soon. So, it looks like I'm "on the market." If anyone knows of any Wicket-related work located near Cincinnati, OH USA or that could be done off-site, I would be interested in hearing about it. Please reply "off-list." Thank