Re: adding the wicket project for debugging etc

2010-02-11 Thread Martijn Dashorst
You have to have added the projects to your workspace before you can make it work. Martijn On Wed, Feb 10, 2010 at 9:07 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Didn't work for me - I had a workspace that had a secular project in it, Wicket 1.4.x and Brix trunk (1.0.1-snapshot),

Wicket MashUpContainer

2010-02-11 Thread Martin Makundi
Hi folks! In web development, a mashup is a web page or application that combines data or functionality from two or more independent components or sources to create a new view or service. The term mashup implies easy, fast, snap-on integration. If the mashup sources are from independent

Wicketstuff versions

2010-02-11 Thread Charles Deal
I'm a little confused about the versioning for Wicketstuff. I am currently using inmethod-grid, jquery, and yui. All three projects now have a 1.4-SNAPSHOT and a 1.4.2-SNAPSHOT version and (inmethod-grid and yui both have a 1.4.1 release version). What is the difference between the two SNAPSHOT

TextArea in repeater doesn't update it's model

2010-02-11 Thread Rubén khanser
I have an AjaxFallBackLink that executes an update in a service, but i need the textArea of the same row to be updated. I have wasted all morning but i can't still make it work. I reached this point: DataView dv = new DataView(dataView,ldp) { private static final long serialVersionUID

jdbc

2010-02-11 Thread Ivan Dudko
Hello! I can't understand how to populate data from a resultset object into datatable. Anyone have an example? Thank you! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: Problem with RadioGroup / Ajax

2010-02-11 Thread Diego Fincatto
I'm having the same problem when using two RadioGroup with AjaxFormChoiceComponentUpdatingBehavior in the same page. On Thu, Jul 2, 2009 at 6:07 AM, Mathias Nilsson wicket.program...@gmail.com wrote: I've made a sample page. public class HomePage extends WebPage {        private static

Re: jdbc

2010-02-11 Thread James Carman
You need to create a provider for your data. Look at what the constructor takes and then implement the interface. On Thu, Feb 11, 2010 at 8:26 AM, Ivan Dudko ivan.du...@gmail.com wrote: Hello! I can't understand how to populate data from a resultset object into datatable. Anyone have an

Re: Form validation without a form component

2010-02-11 Thread Antoine van Wel
for the archive-searchers :) simply override onValidate in the Form class, check your listsize there call error() when applicable Antoine On Fri, Apr 3, 2009 at 12:25 PM, triswork tristan.k...@gmail.com wrote: Thanks for the suggestion Martijn. I tried return new FormComponent[0]; and got

Re: jdbc

2010-02-11 Thread Ivan Dudko
I already have method that return my data from db as arraylist. And i use this in iterator() method of dataprovider. But which object (i think model) i must return? 2010/2/11 James Carman jcar...@carmanconsulting.com: You need to create a provider for your data.  Look at what the constructor

expecting different behavior from form validation - potential bug?

2010-02-11 Thread Antoine van Wel
hi, In a nested form the onValidate() is overridden. It sets an error message on a component inside this form - so not on the form itself. However the submit on the form itself is executed as if no error exists. What I see when debugging is that hasErrorMessages on the inside nested form returns

AW: jdbc

2010-02-11 Thread Giambalvo, Christian
http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html -Ursprüngliche Nachricht- Von: Ivan Dudko [mailto:ivan.du...@gmail.com] Gesendet: Donnerstag, 11. Februar 2010 15:47 An: users@wicket.apache.org Betreff: Re: jdbc I already have method that return my data from db as

Re: Using email in SignInPanel Username

2010-02-11 Thread wicketnewuser
Hi as suggested I made my own signinpanel and cookiepersister which encodes and decodeswhen saving and retrieving cookies. jthomerson wrote: May be a bug. Please file a JIRA. In the meantime, the signinpanel is pretty generic and not meant for every usecase. You can easily create your

Re: jdbc

2010-02-11 Thread James Carman
Yeah, but this doesn't give them an example of how to get the results out of a JDBC result set. This is based on a static, in-memory list of Contact objects. What I would recommend is to look at a Hibernate-based example and come up with the JDBC analog. Here's an example from my Advanced

Re: jdbc

2010-02-11 Thread Ivan Dudko
Thank you. I already do simple things with hibernate and spring ioc. Now i want to use plain old jdbc. I already get the datatable wich works with one pojo (table). Now i am in trouble.. how i can get table for two joined tables, for example? 2010/2/11 James Carman jcar...@carmanconsulting.com:

Re: jdbc

2010-02-11 Thread James Carman
Well, what sort of object do you want to display? Are you going to just create an Object[] for each row in the table? Or, are you creating a DTO of some sort? On Thu, Feb 11, 2010 at 10:50 AM, Ivan Dudko ivan.du...@gmail.com wrote: Thank you. I already do simple things with hibernate and

Re: Wicketstuff versions

2010-02-11 Thread Jeremy Thomerson
Wicket stuff is a free-for-all with little documentation. I think 1.4.2-SNAPSHOT was accidentally left in the pom after one of the versioned builds (because that's what maven defaults to). But the idea is that wicketstuff-core modules should match Wicket - so 1.4-SNAPSHOT **should** be what it's

Re: images not under the context root directory

2010-02-11 Thread Daniele Dellafiore
Hi. I am facing the same problem: user upload images and I want to access from wicket. Of course, user resources are not going to stay under the webapp context. I would prefer also to put this images wherever I want in the file system, not under the container folder as well. I have taken some

add form components via ajax

2010-02-11 Thread wic...@geofflancaster.com
I'm trying to add form components to a form using ajax. i've set setMarkupId(true); on the form but when I run it, i get an error saying cannot update component that does not have setOutputMarkupId property set to true. Component: [MarkupContainer [Component id = realTimeForm... So basically when

Re: TextArea in repeater doesn't update it's model

2010-02-11 Thread Igor Vaynberg
you need to use a submit link if you want the values to be submitted back to the server -igor 2010/2/11 Rubén khanser khan...@gmail.com: I have an AjaxFallBackLink that executes an update in a service, but i need the textArea of the same row to be updated. I have wasted all morning but i

Re: expecting different behavior from form validation - potential bug?

2010-02-11 Thread Igor Vaynberg
please create a quickstart and attach it to jira -igor On Thu, Feb 11, 2010 at 6:53 AM, Antoine van Wel antoine.van@gmail.com wrote: hi, In a nested form the onValidate() is overridden. It sets an error message on a component inside this form - so not on the form itself. However the

Re: TextArea in repeater doesn't update it's model

2010-02-11 Thread Rubén khanser
Then should I use nestedforms better than this? 2010/2/11 Igor Vaynberg igor.vaynb...@gmail.com you need to use a submit link if you want the values to be submitted back to the server -igor 2010/2/11 Rubén khanser khan...@gmail.com: I have an AjaxFallBackLink that executes an update in a

Hook Before Form Validation on a Button

2010-02-11 Thread Tony Wu
For form submission I can override onSubmit to do my own processing, but is there anything I can override that happens BEFORE the form validation? I need to for example, based on which Button they press, .setRequired(false) on some components before the form processing kicks in. I tried @Override

Re: TextArea in repeater doesn't update it's model

2010-02-11 Thread Igor Vaynberg
it has nothing to do with nested forms. regular links do not submit forms, that is how html works. you can either use a button or a submitlink. -igor 2010/2/11 Rubén khanser khan...@gmail.com: Then should I use nestedforms better than this? 2010/2/11 Igor Vaynberg igor.vaynb...@gmail.com

Re: Hook Before Form Validation on a Button

2010-02-11 Thread Igor Vaynberg
make your button setusedefaultformprocessing(false) and trigger validation of the form yourself. -igor On Thu, Feb 11, 2010 at 10:28 AM, Tony Wu e90t...@gmail.com wrote: For form submission I can override onSubmit to do my own processing, but is there anything I can override that happens

quickstart POM has wrong artifactId for jetty maven plugin

2010-02-11 Thread Russell Morrisey
I'm using the quickstart maven command generated by http://wicket.apache.org/quickstart.html, and then running 'mvn eclipse:eclipse -DdownloadSources=true'. I have the wicket version set to 1.4.5. The build fails: Unable to find resource

AjaxCallThrottlingDecorator breaks the precondition of AjaxFormSubmitBehavior

2010-02-11 Thread Russell Morrisey
I ran into a problem with wicket's ajax call throttling in wicket 1.4.5. It seems like the AjaxFormSubmitBehavior's precondition script isn't working the way it's intended when a throttling call decorator is supplied. It's causing a one-off side effect problem in my application in IE7. I

Resource authorisation scenario: dealing with non-application wide permissions

2010-02-11 Thread Daniele Dellafiore
Hi. Imagine this scenario: a webapp that allows creation of groups of people. There is the owner, the administrator and the normal user for every group. Like google groups, yahoo groups, facebook groups, a chat... a lot of examples :) If we define permission as string concatenation, I can have

Re: Resource authorisation scenario: dealing with non-application wide permissions

2010-02-11 Thread Igor Vaynberg
your components are the ones that carry context, so... boolean isActionAuthorized(Component component, Action action) { if (component instanceof GroupAware) { Group group=((GroupAware)component).getGroup(); ... -igor On Thu, Feb 11, 2010 at 5:50 PM, Daniele Dellafiore

Re: expecting different behavior from form validation - potential bug?

2010-02-11 Thread Riyad Kalla
Antoine, I think this was discussed 3 days ago in the thread titled Form#anyComponentError change in 1.4 breaks validation (Russel Morrisey), basically noting that in a recent release of Wicket, the form onError behavior was changed to checking for errors on ANY component in the form, to just

Re: add form components via ajax

2010-02-11 Thread Riyad Kalla
setMarkupId(true) is used to ensure there is a placeholder generated in the HTML where the addition of the div (or whatever) will take place. You don't set this typically on the form itself, but on a placeholder inside the form that you probably replace with a MarkupContainer of some kind with