Re: [Wicket-user] Composite Behavior....

2007-02-24 Thread Erik Brakkee
A few weeks later than promised, but there is a wiki page now on the composite behavior. I have added it under the 'General application' page. On 2/6/07, Erik Brakkee <[EMAIL PROTECTED]> wrote: On 2/4/07, Frank Bille <[EMAIL PROTECTED]> wrote: > > > Or a g

Re: [Wicket-user] Composite Behavior....

2007-02-05 Thread Erik Brakkee
On 2/4/07, Frank Bille <[EMAIL PROTECTED]> wrote: Or a good wiki page/blog entry on the subject. That would be nice to have :) Ok, I will spend some time on this over the weekend. Frank - Using Tomcat but need to do m

Re: [Wicket-user] Composite Behavior....

2007-02-02 Thread Erik Brakkee
ed functionality like this. So where do we put it and how do we decide where to put it? Wicket-core, wicket-extensions, wiki, or /dev/null? Frank [1]: http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200610.mbox/[EMAIL PROTECTED] On 2/2/07, Erik Brakkee <[EMAIL PROT

[Wicket-user] Composite Behavior....

2007-02-02 Thread Erik Brakkee
Hi, I have encountered a situation where I would like to add more than one behavior to a component. One example is that of a tooltip where I need a header contributor to load some javascript and an attibute to contain the tooltip text. In wicket you can do this by adding two behaviors to a comp

Re: [Wicket-user] Validation without form submit...

2006-11-16 Thread Erik Brakkee
On 11/15/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: could you attach the proper index.java or the quickstart? Oops, you're right. I attached the wrong file. Here is the complete zip again. -igor On 11/15/06, Erik Brakkee <[EMAIL PROTECTED] > wrote: > > On

Re: [Wicket-user] Validation without form submit...

2006-11-15 Thread Erik Brakkee
On 11/14/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: just rename the .zip into .iamzip :) Ok, didn't think of that. Anyway, what do you think of the example. Is it a valid example or am I solving the problem in the wrong way? -igor On 11/14/06, Erik Brakkee <[EMAIL PRO

Re: [Wicket-user] Validation without form submit...

2006-11-14 Thread Erik Brakkee
setResponsePage(aReturnPage); } }); } } Other.html: QuickStart Return to previous page > > -igor > > On 11/13/06, Erik Brakkee <[EMAIL PROTECTED]> wrote: > > > > If I understand correctly, this explains th

Re: [Wicket-user] Validation without form submit...

2006-11-13 Thread Erik Brakkee
specially for situations where you have > to render messages at some other page than the current. The messages > are deleted right after they are rendered. Try it, I think it solves > your problem. > > Eelco > > > On 11/9/06, Erik Brakkee <[EMAIL PROTECTED]> wrote: &

[Wicket-user] Multi-valued "class" attribute in onComponentTag()/wicket 1.2.2

2006-11-13 Thread Erik Brakkee
Hi, I want to add an additional "class" value to the class attritbute of a tag in onComponentTag(): aTag.getAttributes().add("class", "newvalue"); Looking at the javadocs, this seems to be supported. Nevertheless, while rendering only the first value is rendered (see ValueMap.getCharSeq

Re: [Wicket-user] HeaderContributor javadocs...

2006-11-09 Thread Erik Brakkee
On 11/9/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: patches are welcome, even the javadoc ones :)How do I submit a patch? Couldn't find info on where to send it to.   -igorOn 11/9/06, Erik Brakkee < [EMAIL PROTECTED] > wrote:Hi, I just solved a problem where I used a headercontr

Re: [Wicket-user] Validation without form submit...

2006-11-09 Thread Erik Brakkee
y info/warn/error on Session?EelcoOn 11/8/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:> Hi,>>> I am still stuck with this problem. What I try to do is to use info(), > error(), and warn() to add messages to the page, and I want to do this> as soon as another page returns to my pag

[Wicket-user] HeaderContributor javadocs...

2006-11-09 Thread Erik Brakkee
Hi, I just solved a problem where I used a headercontributor (following Eelco's blog http://chillenious.wordpress.com/page/2/) usingadd(HeaderContributor.forJavaScript (getClass(), "script.js")); On some pages it turned out that this same resource was included twice with different URLs. What happen

Re: [Wicket-user] Validation without form submit...

2006-11-08 Thread Erik Brakkee
. Anyone have any ideas on how I should be solving this problem? Cheers Erik On 11/1/06, Erik Brakkee <[EMAIL PROTECTED]> wrote: > Hi, > > > I have a form from displaying a number of items. The form also displays some > validation problems. The user can correct these problem

Re: [Wicket-user] Read-write versus read-only versions of a form...

2006-11-07 Thread Erik Brakkee
On 11/7/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: It seems that the readonly modifier can only be applied with so that is not a general solution. The other one disabling the form works, but suggests that the fields are editable even though form submission has no effect. what browser/platform a

Re: [Wicket-user] Read-write versus read-only versions of a form...

2006-11-07 Thread Erik Brakkee
panels for read-only versions or develop a generic mechanism. Cheers  Erik -igor On 11/6/06, Erik Brakkee < [EMAIL PROTECTED]> wrote: Hi,In my application I have the situation that when an object reaches a certain state, it can no longer be modified or in some cases onlyparts of the

[Wicket-user] Read-write versus read-only versions of a form...

2006-11-06 Thread Erik Brakkee
Hi, In my application I have the situation that when an object reaches a certain state, it can no longer be modified or in some cases only parts of the entities state may be modified. As a result, what I need is a method of easily creating read-only versions of a form where some or all fields ha

Re: [Wicket-user] javascript/sending information to a specific wicket component from a page

2006-11-06 Thread Erik Brakkee
model in case the model itself is provided by a user of the component. On 11/6/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > better encapsulation - it is the component's job to do the conversion in > that case imho > > -igor > > > On 11/6/06, Erik Brakkee <[EMA

Re: [Wicket-user] javascript/sending information to a specific wicket component from a page

2006-11-06 Thread Erik Brakkee
. When the setter is called, I can simply access the value set by the client-side _javascript_ in the hidden form field.  What is the reason you chose to override updateModel() for the Palette? Does this approach have any specific advantages? Cheers  Erik -igorOn 11/3/06, Erik Brakkee < [EMAIL

[Wicket-user] javascript/sending information to a specific wicket component from a page

2006-11-03 Thread Erik Brakkee
Hi, I have made custom component which uses some _javascript_. Now my question is how to pass on information from _javascript_ to the wicket component on the server side. I can imagine things like adding a hidden form field with a specific id based on the wicket id of the custom component in questi

[Wicket-user] Validation without form submit...

2006-11-01 Thread Erik Brakkee
Hi, I have a form from displaying a number of items. The form also displays some validation problems. The user can correct these problems by editing items by clicking on a link and is then forwarded to another page using setResponsePage(...). After editing, the eidt page forwards back to the same i

Re: [Wicket-user] Custom form validation/updateFormComponentModels()...

2006-11-01 Thread Erik Brakkee
validation. The closest I could get to what I want is to use the converted input from a compound property model, but that model is typically located in a Panel which is not a form component. I am now solving it by doing custom validation in the onSubmit(). -igor On 10/31/06, Erik Brakkee <[EMAI

[Wicket-user] Custom form validation/updateFormComponentModels()...

2006-10-31 Thread Erik Brakkee
Hi, I want to implement a custom form validation. Neverhteless, if I use IFormValidator and add the validator to the form, the validator is called before the form component models are updated. As a result I am validating against stale data. Is there a way to make sure that my validator gets updated

Re: [Wicket-user] varying the presentation of a Panel...

2006-10-31 Thread Erik Brakkee
xample loginPanel_liquid.html and loginPanel_icy.html. > > > > > > > > Then, when you switch style from "liquid" to "icy, Wicket will > > > > automatically select the appropriate template. > > > > > > > > Pierre-Yves > >

[Wicket-user] varying the presentation of a Panel...

2006-10-26 Thread Erik Brakkee
Hi, In many cases, it is useful to define an application wide Panel for commonly recurring parts of the user interface. Nevertheless, sometimes, it is necessary to vary only the presentation of a Panel. As far as I understand it, the Panel is always associated with one html template with the same

Re: [Wicket-user] Setting the filename with REsourceLink...

2006-10-13 Thread Erik Brakkee
 export.setCacheable(false);new ResourceLink(this, "exportLink", export); EelcoOn 10/12/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:> Hi,>>> Is it possible in some way to set the local fi

[Wicket-user] Setting the filename with REsourceLink...

2006-10-12 Thread Erik Brakkee
Hi, Is it possible in some way to set the local file name or URL for a resource link?Cheers  Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology

[Wicket-user] component for selecting country/nationality....

2006-10-10 Thread Erik Brakkee
Hi all, Has anyone already written a component for selecting a person's nationality or country? Cheers  Erik - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance t

Re: [Wicket-user] links about wicket scalability...

2006-09-26 Thread Erik Brakkee
On 9/26/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: >  Perhaps another argument, that I did not mention yet, is that the next> version of wicket will also provide other ways for storing session state.That exists today/ for 2.0 and 1.2 actually. Ok, thanks for the clarification. > But, in my e

Re: [Wicket-user] links about wicket scalability...

2006-09-26 Thread Erik Brakkee
On 9/26/06, Erik van Oosten <[EMAIL PROTECTED]> wrote: Or this one?http://www.javalobby.org/java/forums/t70272.htmlErik. Yes that was it! Thanks! - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net'

Re: [Wicket-user] links about wicket scalability...

2006-09-26 Thread Erik Brakkee
On 9/26/06, Erik van Oosten <[EMAIL PROTECTED]> wrote: Hi Erik,Let me rephrase the question:What arguments did you use, that would interest big slow companies inadopting Wicket? Ok, I was not giving arguments for using wicket but was more trying to help someone else fight the scalability criticism

Re: [Wicket-user] links about wicket scalability...

2006-09-26 Thread Erik Brakkee
The first argument was that not every application needs to scale to thousands of concurrent users. The second argument is that active replication is only one strategy for clustering. In practise, server affinity is also a very good option. Perhaps another argument, that I did not mention yet, is

Re: [Wicket-user] links about wicket scalability...

2006-09-26 Thread Erik Brakkee
Ok, and don't forget the robustness. I really haven't seen any weird or unexpected behavior or wicket at all. On 9/26/06, Erik Brakkee < [EMAIL PROTECTED]> wrote: On 9/26/06, Erik van Oosten <[EMAIL PROTECTED]> wrote: Hi Erik,Let me rephrase the question:What arguments d

[Wicket-user] links about wicket scalability...

2006-09-26 Thread Erik Brakkee
Hi all, A collegue of mine at a very big and slow organization is evaluating web frameworks, of which one is wicket. As expected, there is the remark that wicket is not scalable because of its use of session scope. I already gave the most important arguments, but it would be nice to have some

[Wicket-user] wickettester: PageExpiredErrorPage

2006-09-20 Thread Erik Brakkee
Hi, I am using WicketTester and have the following code for submitting a form:       public void testRegistrationEmptyForm() {         FormTester form = _tester.newFormTester("editPersonPanel:personForm");         form.submit();         _tester.assertRenderedPage(Registration.class);     } No

Re: [Wicket-user] monitoring the size of a session.

2006-09-19 Thread Erik Brakkee
welcome. We are thinking about buildingsomething JMX based for one project we're doing, but didn't get to it yet.EelcoOn 9/18/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:> Hi,>>>  Is there already something for monitoring the size of a session, perhaps > even spli

Re: [Wicket-user] IDataProvider/ atach()/detach()....

2006-09-19 Thread Erik Brakkee
chable)dataProvider).detach();         }    }-IgorOn 9/19/06, Erik Brakkee < [EMAIL PROTECTED]> wrote: Hi, I have a situation where I use a domain object as the source for a dataprovider. So to get the list of items for the data provider I am actually querying the domain

Re: [Wicket-user] Sharing parts of a model between components...

2006-09-19 Thread Erik Brakkee
private void writeObject(java.io.ObjectOutputStream out) throws IOException  private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException;No but what does that solve? It will save a lot of complexity for the serialization because you can delegate to

[Wicket-user] IDataProvider/ atach()/detach()....

2006-09-19 Thread Erik Brakkee
Hi, I have a situation where I use a domain object as the source for a dataprovider. So to get the list of items for the data provider I am actually querying the domain object like:     manager.getArtists(); Since the manager is a persistent object, I need to refresh it from the database. In

Re: [Wicket-user] Sharing parts of a model between components...

2006-09-19 Thread Erik Brakkee
On 9/19/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: Person person = new Person(); CompoundPropertyModel personModel = new CompoundPropertyModel(person); Component parent = new Component("personPanel", personModel); Component child = new Component("addressPanel", new CompoundPropertyModel(new Prop

Re: [Wicket-user] Sharing parts of a model between components...

2006-09-19 Thread Erik Brakkee
On 9/19/06, Johan Compagner <[EMAIL PROTECTED]> wrote: And i only stop at Strings, Numbers and primitives.But i don't know if that can currently really work (enums?) Don't forget arrays and cyclic dependences. - Take Surveys

[Wicket-user] monitoring the size of a session.

2006-09-18 Thread Erik Brakkee
Hi, Is there already something for monitoring the size of a session, perhaps even split out per page or component? I am about to introduce detachable models and would like to see the effect of what I am doing on the size of the session. Cheers   Erik

Re: [Wicket-user] Sharing parts of a model between components...

2006-09-18 Thread Erik Brakkee
mem is not an option.johan On 9/17/06, Erik Brakkee <[EMAIL PROTECTED]> wrote: On 9/17/06, Johan Compagner < [EMAIL PROTECTED]> wrote: how is a model attached to the component if they have to be looked up from somewhere?Where i that lookup being done? And where is the looked up model

Re: [Wicket-user] SUSPECT: RE: Pro Wicket: Great first book onwicket

2006-09-17 Thread Erik Brakkee
On 9/17/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote: If you look here:http://www.wicket-library.com/wicket-examples/comprefyou can see the components in live action. Perhaps not a complete list, but certainly something worthwile (better than screenshots imo).Each component has a short descriptio

Re: [Wicket-user] Sharing parts of a model between components...

2006-09-17 Thread Erik Brakkee
er to set all the properties back into the current model. That only works if all manipulation is done through getters and setters. johan johan On 9/17/06, Erik Brakkee <[EMAIL PROTECTED]> wrote: On 9/17/06, Johan Compagner < [EMAIL PROTECTED]> wrote: What is that ModelRegistry thing?

Re: [Wicket-user] SUSPECT: RE: Pro Wicket: Great first book onwicket

2006-09-17 Thread Erik Brakkee
I think the book is a really good introduction to wicket. I actually like it when the author first presents one way of doing something in a big code example and then shows how to do this particular example in a much shorter and cleaner way using another component. I think this is a really smart way

Re: [Wicket-user] Sharing parts of a model between components...

2006-09-17 Thread Erik Brakkee
void setState(Serializable aState); } Then we simply keep the current method for all the other types of models. Cheers   Erik johan On 9/17/06, Erik Brakkee <[EMAIL PROTECTED] > wrote: I just looked a bit at the code for ModelChange.java in wicket 2. I see the problem now. The CompoundPro

Re: [Wicket-user] Sharing parts of a model between components...

2006-09-17 Thread Erik Brakkee
getUniqueModelId() method. Cheers   Erik On 9/17/06, Erik Brakkee <[EMAIL PROTECTED]> wrote: On 9/17/06, Johan Compagner <[EMAIL PROTECTED]> wrote: i agree with igor. What does this really gain?How will versioning and then the undo to that version work??? Child components will not do versioni

Re: [Wicket-user] Sharing parts of a model between components...

2006-09-17 Thread Erik Brakkee
On 9/17/06, Johan Compagner <[EMAIL PROTECTED]> wrote: i agree with igor. What does this really gain?How will versioning and then the undo to that version work??? Child components will not do versioning. Only the top-level parent will. The child components simply delegate to their parent. Or is t

Re: [Wicket-user] what mail client to you use?

2006-09-16 Thread Erik Brakkee
Hi, On 9/16/06, Gustavo Santucho <[EMAIL PROTECTED]> wrote: Note that I never used any other client, so I'd suggest you follow theteam members advice (they've used both) and try gmail. I already set up my gmail account and am using it as we speak. As I see it gmail has exactly (!) the right functi

Re: [Wicket-user] Sharing parts of a model between components...

2006-09-16 Thread Erik Brakkee
7;thave strongly typed models (IModel), but you can force typing inother ways if you want.Basically, the point here is that you can nest IModel instances too. As long as you do that, back button support should be fine.EelcoOn 9/16/06, Erik Brakkee < [EMAIL PROTECTED]> wrote:> Hi,>&

[Wicket-user] Sharing parts of a model between components...

2006-09-16 Thread Erik Brakkee
Hi, I am interesting in writing components for editing domain objects. An example of such an object is Employee which has and Address and several other attributes. Also, I have Employer, which also has an Address. Now, if I want to create a component for an address that provide a part of the for

Re: [Wicket-user] what mail client to you use?

2006-09-16 Thread Erik Brakkee
I am using thunderbird as well but must be doing something wrong. I have a gmail account just set up but it would be easiest for me just to stick to one mail client only. I am using thunderbird version 1.5 on linux. How do I monitor a number of interesting threads in Thunderbird? What I do now is

[Wicket-user] what mail client to you use?

2006-09-13 Thread Erik Brakkee
Hi, I am having more and more difficulty following the mail discussions. I need a mail client that supports watching mail threads. Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get

Re: [Wicket-user] specific validation messages/custom converters...

2006-09-13 Thread Erik Brakkee
Igor Vaynberg wrote: > alright, if you check out from wicket-1.x branch (which will be 1.2.3 > when it is released) you will have > ConversionException.setResourceKey(String). Wow! The people on this list keep on amazing me. Do you have a private life? :-) > > -Igor > > --

Re: [Wicket-user] SubmitLink and back button...

2006-09-13 Thread Erik Brakkee
Igor Vaynberg wrote: > we are talking about form components that take their input off form > submissions - like textfield - its not very practical to version it > because on backbutton you would resubmit the form and it would once > again pull its value from the request params. Ok, I didn't get tha

Re: [Wicket-user] SubmitLink and back button...

2006-09-13 Thread Erik Brakkee
Johan Compagner wrote: > what would you poll the form for? (calling isVersioned()) from the > form components isVersioned()? > That is pretty much already done in that method. So I don't need to wait until all components are added to the form to call setVersioned(true)? > > i guess why we don't ver

Re: [Wicket-user] specific validation messages/custom converters...

2006-09-13 Thread Erik Brakkee
On 9/13/06, Erik Brakkee <[EMAIL PROTECTED]> wrote: Hi, Converters allow localized messages to be configured in property files but as far as I can see it is only possible to specify one validation message per converted type. In practice it would be nice to specify

[Wicket-user] specific validation messages/custom converters...

2006-09-13 Thread Erik Brakkee
Hi, Converters allow localized messages to be configured in property files but as far as I can see it is only possible to specify one validation message per converted type. In practice it would be nice to specify multiple ones. This is useful because in my code I can give a detailed explanation o

Re: [Wicket-user] Custom converter ConversionException leads to stacktrace on screen...

2006-09-13 Thread Erik Brakkee
(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Igor Vaynberg wrote: can you show us how you use the converter? -Igor On 9/13/06, Erik Brakkee <[EMAIL PROTECTED]> wrote: Igor Vaynberg wrote: can you show us some code

Re: [Wicket-user] Custom converter ConversionException leads to stacktrace on screen...

2006-09-13 Thread Erik Brakkee
Igor Vaynberg wrote: you need to show us more code first Just posted it. My mail client has a problem because I did not show me your reply. -Igor On 9/13/06, Erik Brakkee <[EMAIL PROTECTED]> wrote: Hi all, Can anyone confirm that this is a bug or am I doing som

Re: [Wicket-user] Custom converter ConversionException leads to stacktrace on screen...

2006-09-13 Thread Erik Brakkee
e aLocale) {     return aValue.value;     } } -Igor On 9/13/06, Erik Brakkee <[EMAIL PROTECTED]> wrote: Hi, When I throw a wicket.util.convert.ConversionException in my custom IConverter, I don't see a message on the form, but instead I get to see the stacktrace fo

Re: [Wicket-user] Custom converter ConversionException leads to stacktrace on screen...

2006-09-13 Thread Erik Brakkee
Hi all, Can anyone confirm that this is a bug or am I doing something wrong? Cheers Erik Erik Brakkee wrote: > Hi, > > > When I throw a wicket.util.convert.ConversionException in my custom > IConverter, I don't see a message on the form, but instead I get to see >

[Wicket-user] Custom converter ConversionException leads to stacktrace on screen...

2006-09-13 Thread Erik Brakkee
Hi, When I throw a wicket.util.convert.ConversionException in my custom IConverter, I don't see a message on the form, but instead I get to see the stacktrace for the conversion exception on screen. The wiki page (http://www.wicket-wiki.org.uk/wiki/index.php/Using_custom_converters) on custom co

Re: [Wicket-user] polymorphic components...

2006-09-12 Thread Erik Brakkee
Eelco Hillenius wrote: > Thanks for sharing, > > What we would like to promote more actually is the fact that creating > your own patterns/components is (or at least should be) pretty damn > easy with Wicket. And it is. I have many application-specific components and a few generic ones. > So in th

[Wicket-user] polymorphic components...

2006-09-12 Thread Erik Brakkee
Hi all, In the application I am writing I have encountered a need for polymorphic components. That is, in my markup I have content and depending on what component is used on the server side, I can add links, labels, or anything else you can imagine. The only requirement is that the componen

Re: [Wicket-user] jfreechart and wicket

2006-09-12 Thread Erik Brakkee
Decebal Suiu wrote: > Any example about how to display a chart generated > with jfreechart in a WebPage? > I am going to do the same for my application (trackdetective.com) for displaying height profiles of GPS tracks. Just browsed a little through the APIs. It seems you can use the Image class.

Re: [Wicket-user] SubmitLink and back button...

2006-09-12 Thread Erik Brakkee
Igor Vaynberg wrote: > there really isnt that much to it. if you have an object inside the > model it is versioned for you through modelchanging/changed calls. > > if you have state outside the model you version it yourself using > addStateChange which is trivial - just have to remember to do it. >

Re: [Wicket-user] SubmitLink and back button...

2006-09-12 Thread Erik Brakkee
Igor Vaynberg wrote: > not formcomponents, which i think is a bit weird/wrong. Aha. > > what we want is to let the form control the versioning of > formcomponents, so inside formcomponent constructor we set it to > false. and then form overrides setversioned() and replicates that call > to the form

Re: [Wicket-user] SubmitLink and back button...

2006-09-12 Thread Erik Brakkee
Can the call 'addLink.setVersioned(true);' be left out? By default pages are versioned so components on pages are versioned too by default, right? - Using Tomcat but need to do more? Need to support web services, security? Ge

Re: [Wicket-user] SubmitLink and back button...

2006-09-12 Thread Erik Brakkee
Igor Vaynberg wrote: > ok, should be fixed in 1.2.3, you can try the wicket-1.x branch now if > you want Thanks! I can wait for version 1.2.3 since the problem is not that critical for us. > > for the versioning to work properly though you need to remember > changes done against your dataprovider b

Re: [Wicket-user] SubmitLink and back button...

2006-09-12 Thread Erik Brakkee
Have you seen the test case I posted on the mailing list? Can you confirm that you see the problem too and that it is indeed a wicket problem and not a problem with the way I use wicket? - Using Tomcat but need to do more? Nee

Re: [Wicket-user] SubmitLink and back button...

2006-09-11 Thread Erik Brakkee
Igor Vaynberg wrote: > yes, i would imagine that would unless you repaint the form I am still relatively new with wicket and I haven't got a clue what you are talking about :-) Anyway, I managed to reproduce the problem with a very simple example so lets see what comes out of this. > > -Igor -

Re: [Wicket-user] SubmitLink and back button...

2006-09-11 Thread Erik Brakkee
ull 5. click browser back button and click 'submit': url == x johan On 9/11/06, Erik Brakkee <[EMAIL PROTECTED]> wrote: Johan Compagner wrote: > if you could make a case where we can look at? I will try to make a small example tonight. > > What is the hidden fields

Re: [Wicket-user] SubmitLink and back button...

2006-09-11 Thread Erik Brakkee
Igor Vaynberg wrote: > AjaxSubmitLink/Button AjaxSubmitLink also fails in exactly the same way. > > -Igor - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated

Re: [Wicket-user] SubmitLink and back button...

2006-09-11 Thread Erik Brakkee
Johan Compagner wrote: > if you could make a case where we can look at? I have managed to reproduce the problem using a very simple example. I have a list of submit links with a form. Initially, the list is empty. In addition, there is one link by which an additional submit link can be added to the

Re: [Wicket-user] SubmitLink and back button...

2006-09-11 Thread Erik Brakkee
Igor Vaynberg wrote: > is the submit link ajax? that would do it. that link has to reset the > value when it is done processing. I used the standard SubmitLink. Nothing special here. Is there also an ajax version? > > -Igor > ---

Re: [Wicket-user] SubmitLink and back button...

2006-09-11 Thread Erik Brakkee
Johan Compagner wrote: > if you could make a case where we can look at? I will try to make a small example tonight. > > What is the hidden fields value (that is an hidden input field > appended to the form) > right before you get the error? The hidden form field is: > > johan > > ---

Re: [Wicket-user] SubmitLink and back button...

2006-09-11 Thread Erik Brakkee
sses submit of the form. Cheers   Erik johan On 9/11/06, Erik Brakkee <[EMAIL PROTECTED]> wrote: Hi, I am having a problem with submit link. I used to have a form with a regular link on it but then the form data would not get submitted.

[Wicket-user] SubmitLink and back button...

2006-09-11 Thread Erik Brakkee
Hi, I am having a problem with submit link. I used to have a form with a regular link on it but then the form data would not get submitted. Now I have replaced this by a SubmitLink and in my onSubmit() I do:     validate();         updateFormComponentModels();         // Remove messag

Re: [Wicket-user] checkboxes in dataview...

2006-09-10 Thread Erik Brakkee
Johan Compagner wrote: Components (when removed or added) are versioned and models when changed are versioned. Only we have to know that.  So if you change an internal private model directly you have to call page.addStateChange(new Change()); and that change object has to be able to roll

Re: [Wicket-user] checkboxes in dataview...

2006-09-10 Thread Erik Brakkee
Igor Vaynberg wrote: Ok that approach is clear. Although it would also be nice just to have an API call for just accessing the items shown on the page. in wicket we use models to glue components to properties just so we dont have to go through components and see their values. in th

Re: [Wicket-user] checkboxes in dataview...

2006-09-09 Thread Erik Brakkee
Igor Vaynberg wrote: > that is an inelegant approach imho, this is how i would do it > > [...] > Ok that approach is clear. Although it would also be nice just to have an API call for just accessing the items shown on the page. > > then after the form submit read the selected set for selected ids.

Re: [Wicket-user] checkboxes in dataview...

2006-09-09 Thread Erik Brakkee
are shown on the page. Martijn On 9/9/06, Erik Brakkee <[EMAIL PROTECTED]> wrote: Erik Brakkee wrote: Hi, I was just wondering how to do the following: 1. display a number of items together with a checkbox in a table using DataView. 2. in the submission of

Re: [Wicket-user] checkboxes in dataview...

2006-09-09 Thread Erik Brakkee
Erik Brakkee wrote: > Hi, > > I was just wondering how to do the following: > 1. display a number of items together with a checkbox in a table using > DataView. > 2. in the submission of a form check which items are checked. > > The data is coming from a database so a Da

[Wicket-user] checkboxes in dataview...

2006-09-09 Thread Erik Brakkee
Hi, I was just wondering how to do the following: 1. display a number of items together with a checkbox in a table using DataView. 2. in the submission of a form check which items are checked. The data is coming from a database so a DataView would seem a good choice. How do I go about something l

Re: [Wicket-user] back button problem...

2006-09-09 Thread Erik Brakkee
from the documentation. Cheers Erik Erik Brakkee wrote: > Hi, > > > I have a form with a compound property model and want to have full > support for the back button. To this I am already calling > modelChanging() and modelChanged() on the form before and after the > change,

[Wicket-user] back button problem...

2006-09-09 Thread Erik Brakkee
Hi, I have a form with a compound property model and want to have full support for the back button. To this I am already calling modelChanging() and modelChanged() on the form before and after the change, and debugging through the code I see that indeed the framework is creating a copy of my mod

Re: [Wicket-user] Custom date component...

2006-09-07 Thread Erik Brakkee
well. Cheers   Erik Cheers, andrew On Sep 7, 2006, at 2:29 AM, Erik Brakkee wrote: Hi, I have tried to use the DatePicker component but somehow it doesn't really work on Firefox 1.5 on linux. For instance, it only shows the

Re: [Wicket-user] Custom date component...

2006-09-07 Thread Erik Brakkee
ket. Cheers   Erik On 9/7/06, Erik Brakkee <[EMAIL PROTECTED]> wrote: Hi, I have tried to use the DatePicker component but somehow it doesn't really work on Firefox 1.5 on linux. For instance, it only shows the even years, and has strange behavior resetting fields. Th

[Wicket-user] Custom date component...

2006-09-07 Thread Erik Brakkee
Hi, I have tried to use the DatePicker component but somehow it doesn't really work on Firefox 1.5 on linux. For instance, it only shows the even years, and has strange behavior resetting fields. Therefore, I want to write my own date component. Very simple, three drop down choices for year, mon

Re: [Wicket-user] wicket-spring-annot: SpringComponentInjector problem...

2006-09-03 Thread Erik Brakkee
create and register the annotation aware injector     InjectorHolder     .setInjector(new AnnotSpringInjector(new ContextLocator()));     } Juergen On 9/3/06, Erik Brakkee <[EMAIL PROTECTED]> wrote: Hi, I have done some work to locate the Spring application co

Re: [Wicket-user] wicket-spring-annot: behavior when bean not found...

2006-09-03 Thread Erik Brakkee
Erik Brakkee wrote: > 2. The @SpringBean annotation should be extended with a 'mandatory' > attribute, defaulting to false. If the bean is mandatory, then an > exception should be thrown by the injector in case a bean can not be found. > Thinking about it some more, I thi

[Wicket-user] wicket-spring-annot: behavior when bean not found...

2006-09-03 Thread Erik Brakkee
Hi, Just to experiment, I removed a bean definition from my spring configuration files but kept the @SpringBean annotation. What happened was that a non-null object was still injected (a proxy). Only after dereferencing it a Null pointer exception occurred. How about the following behavior to ma

[Wicket-user] wicket-spring-annot: SpringComponentInjector problem...

2006-09-03 Thread Erik Brakkee
Hi, I have done some work to locate the Spring application context in another way. Both wicket-spring and wicket-spring-annot assume that the application context can be obtained with WebApplicationContextUtils.getRequiredApplicationContext(aServletContext). Luckily, it is easy to write my own IW

Re: [Wicket-user] wicket CMS type components...

2006-08-29 Thread Erik Brakkee
> CMS is something that I have been very interested in. I'd love to have > such a thing, but have avoided building one myself because, as you say, > I do have other projects that I work on. Starting up a CMS by myself > would take more time than I could give. But to collaborate on a CMS > with

[Wicket-user] wicket CMS type components...

2006-08-28 Thread Erik Brakkee
Hi, I am considering to develop reusable Content Management System like components for polls, comments, blogs, news items, frequently asked questions, and links. Each component would have an interface for users and administrators. Access for regular users would be restricted to certain roles or

Re: [Wicket-user] wicket:head in page template...

2006-08-27 Thread Erik Brakkee
d tags but instead put it in the page's head section directly. The exception to this is when you use markup inheritance, and one of the pages to extend wants to contribute to the header of some extending page, and the header is not part of the region. In that case, you can use . "

[Wicket-user] wicket:head in page template...

2006-08-27 Thread Erik Brakkee
Hi, In some of the documentation it is mentioned that wicket:head is not supposed to be used in pages (e.g. http://www.wicket-wiki.org.uk/wiki/index.php/Including_CSS_resources). However, if I use markup inheritance for all my pages, then the base markup will contain a head section. This head se

Re: [Wicket-user] Wicket 2.0, when?

2006-08-24 Thread Erik Brakkee
Igor Vaynberg wrote: > it also explains why java gets its feature improvements at such a > snail pace, and why generics/autoboxing are so horribly half baked > (imho of course). if you are looking for stability then dont cross the > major version threshold. eg we will never horribly break api betwe

Re: [Wicket-user] Wicket 2.0, when?

2006-08-24 Thread Erik Brakkee
Martijn Dashorst wrote: > The API will change constantly, but not dramatically. i.e. I seriously > doubt that *all* components will have to change again. But some minor > things are bound to change. > I hope the changes will be mostly compatible, if not fully. API changes is what drove me away

  1   2   >