Re: how to reset a form

2009-05-31 Thread Igor Vaynberg
button.setdefaultformprocessing(false) -igor On Sat, May 30, 2009 at 9:35 PM, tubin gen fachh...@gmail.com wrote: My application is using hibernate and wicket  , I am trying to reset my form , My form model is hibernate entity  and its LoadableDetachableModel .  In order to reset my form I

Disabling component again with AjaxCheckBox

2009-05-31 Thread Rick Gruber-Riemer
Hi I have a checkbox which must be checked for the user to be able to submit (accept terms). I want the related submit button to be enabled only, when the checkbox is checked. This works fine when the button initially is disabled, then the checkbox is checked by the user (I followed

how to show checkboxes in two column

2009-05-31 Thread gaoxm
Hello, Does anyone know how to show a group of check boxes or radio boxes in two columns and align them vertically, for example, as shown in attached picture? I can render them one by one in HTML using table. However, I have several such kinds of list, and some of them may be changed later. So I

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

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 dbr...@sexingtechnologies.com wrote: Hello Igor, thanks - that did the trick. Regards, David. - Original Message - From: Igor Vaynberg

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

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: 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 gaoxm2...@gmail.com wrote: Hello, Does anyone know how to show a group of check boxes or radio boxes in two

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 gaoxm2...@gmail.com wrote: Hello, Does anyone know how to show a group of check boxes or radio boxes in two

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 ja...@carmanconsulting.com: All, It looks like my current client engagement

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: 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

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 hill...@gmail.com wrote: Yes it does. Sounds like

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,

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

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 repository idwicket-snaps/id urlhttp://wicketstuff.org/maven/repository/url

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

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/ So

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 fernando.wer...@gmail.comwrote: Nino, So I have to install it locally... ps: I am looking just to publish rss right now. thanks On Sun, May 31,

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

Re: Wicket + RSS

2009-05-31 Thread Fernando Wermus
It is solved. Thanks! On Sun, May 31, 2009 at 1:37 PM, Fernando Wermus fernando.wer...@gmail.comwrote: java.lang.RuntimeException: Unable to parse feed: http://feeds.feedburner.com/code_poet at org.wicketstuff.rome.SyndEntryListModel.load(SyndEntryListModel.java:31) at

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 r...@vanosten.net wrote: Hi Thank you for your answer. Unfortunately this did not solve the problem. In the meantime I found out,

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 lutherba...@gmail.com wrote: I'm working on a project with Spring/Wicket integration. I have most of the Spring autowire stuff

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(); //

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

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 lutherba...@gmail.com wrote: I'm using the following from the wicket spring page: public class MainApplication

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 igor.vaynb...@gmail.com: yes -igor On Thu, May 28, 2009 at 3:09 AM, Live Nono liven...@gmail.com wrote: Should I open a jira for this ? 2009/5/21 Matej Knopp matej.kn...@gmail.com: I

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

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 found

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 its

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 .. ?

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

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

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 fernando.wer...@gmail.comwrote: 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! --

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 antony.stu...@gmail.com wrote: And here's a nicer version to add to your library:    /**     * Triggers an {...@link AjaxLazyLoadPanel} to fetch it's contents.  

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

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 igor.vaynb...@gmail.comwrote: 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

Re: Long content

2009-05-31 Thread Vasu Srinivasan
How about MultiLineLabel ? On Sun, May 31, 2009 at 10:43 PM, Luther Baker lutherba...@gmail.comwrote: 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

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 br/'s and p/'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,

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.