wicket enclosure around a list

2007-10-12 Thread kent lai
Hi, I was trying to use wicket enclosure on a list. The html look as below wicket:enclosure table tr wicket:id=list tda href=# wicket:id=linkspan wicket:id=ref-number [ref number]/span/a/td /tr

Re: wicket enclosure around a list

2007-10-12 Thread Gwyn Evans
On Friday, October 12, 2007, 7:44:26 AM, kent [EMAIL PROTECTED] wrote: Hi, I was trying to use wicket enclosure on a list. The html look as below wicket:enclosure table tr wicket:id=list tda href=#

Re: Apache Wicket 1.3.0-beta4 released!

2007-10-12 Thread C. Bergström
Frank Bille wrote: For the Maven and Ivy fans out there: update your pom's to the following, and everything will be downloaded automatically: dependency groupIdorg.apache.wicket/groupId artifactIdwicket/artifactId version1.3.0-beta4/version /dependency

Re: TreeTable, invisble cells and headersand

2007-10-12 Thread Matej Knopp
Didn't you forget the appropriate floats? -Matej On 10/12/07, jweekend [EMAIL PROTECTED] wrote: (1.3.0-SNAPSHOT as of 2007-10-11) In a three column TreeTable (the LEFT column holds/renders the tree) the header text and non-tree-column values are not visible (IE6.0.29 FF2.0.7).

Re: wicket enclosure around a list

2007-10-12 Thread kent lai
Ah thanks! I was too impatient in my reading :( On 12 Oct 2007, at 3:40 PM, Gwyn Evans wrote: On Friday, October 12, 2007, 7:44:26 AM, kent [EMAIL PROTECTED] wrote: Hi, I was trying to use wicket enclosure on a list. The html look as below wicket:enclosure

Re: Apache Wicket 1.3.0-beta4 released!

2007-10-12 Thread Korbinian Bachl
Nice, however, is there a reason that there are no javadoc-jars included??? I somehow miss this in the wicket releases... 3 nice folders containing the release-jars, the source-jars and the doc-jars. Regards Korbinian Frank Bille schrieb: This is the fourth beta for Apache Wicket we have

Re: TreeTable, invisble cells and headersand

2007-10-12 Thread Matej Knopp
Sorry, I didn't try it, I'm kinda busy right now. If you want me to look at it provide a simple quickstart. And a jira issue if you think it's a wicket bug. The thing is, TreeTable layout leaves much to be desired and will be subject of rework in the next release, because it's not very flexible

RE: Making ExternalLink invisible: test for what?

2007-10-12 Thread Chris Colman
It's an anonymous class and I don't create an identifier for it but I suppose I can still use: add(new ExternalLink(..,..,..).setVisible(condition)); Back in my day we didn't need Tapestry, or Wicket or WebObjects, or even Servlets, or for that matter Java! We just coded in plain assembly

Re: Apache Wicket 1.3.0-beta4 released!

2007-10-12 Thread Frank Bille
The lame answer would be: NOW ;-) The more intelligent answer is: I think it's ~24hours from published to people.apache.org for sync, but I don't really know. Frank On 10/12/07, C. Bergström [EMAIL PROTECTED] wrote: Frank Bille wrote: For the Maven and Ivy fans out there: update your pom's

Re: Apache Wicket 1.3.0-beta4 released!

2007-10-12 Thread Frank Bille
For now you can find the source/javadoc jars in the maven repository: http://repo1.maven.org/maven2/org/apache/wicket/ Frank On 10/12/07, Korbinian Bachl [EMAIL PROTECTED] wrote: Nice, however, is there a reason that there are no javadoc-jars included??? I somehow miss this in the

Re: Change attribute after model update

2007-10-12 Thread Andrew Klochkov
Per Newgro wrote: Hi *, i would like to implement a testing issue for me. I add three panels with a link on every panel. If i click one panel-link all panels should become green. But i dont get that to work. The model in the AttributeModifier cant be refreshed. What am i missing here?

Re: checkout wicket from svn

2007-10-12 Thread martinf
Maybe this helps: http://tortoisesvn.net/node/87 mf Andrew Klochkov wrote: Hi! I'm trying to checkout wicket and get an error. What's wrong with it? D:svn co http://svn.apache.org/repos/asf/wicket/trunk/ svn: REPORT request failed on '/repos/asf/!svn/vcc/default' svn: REPORT of

Wizard Browser Back Button Problem

2007-10-12 Thread marcus dickerhof
Hi, I have a problem with my wizard. At the end of the wizard-flow, I press the finish button -- Database Insert occurs. + Redirect to another page. Then I press the browser back button. -- The wizard page occurs, and I can repress the finish button again -- A new Database insert occurs. I would

Re: Anonymous or nested instances of IModel?

2007-10-12 Thread marcus dickerhof
Hi, here comes my example: class MyWizard extends Wizard{ private String tempfile; ... private final class Step1 extends WizardStep { //uploads file to some temp-folder + sets the tempfile name } private final class Step2 extends WizardStep { //Shows a summary Page + confirm button +

Re: Wizard Browser Back Button Problem

2007-10-12 Thread marcus dickerhof
Thanks Igor, some things are just too obvious :-) Marcus 2007/10/12, Igor Vaynberg [EMAIL PROTECTED]: in your wizard have a field submitted and set that to true once the finish button processing is done. also check it in the beginning of the wizard processing stage and if it is true show

Re: Refresh fields from model

2007-10-12 Thread Christopher Gardner
I had to call modelChanged() to do this very thing. On 10/12/07, Rich Livingstone [EMAIL PROTECTED] wrote: I'm just not sure how to do this - for example, I have a drop down choice and when it changes, I need to populate other fields. I had presumed the way to do this was to change the values

Refresh fields from model

2007-10-12 Thread Rich Livingstone
I'm just not sure how to do this - for example, I have a drop down choice and when it changes, I need to populate other fields. I had presumed the way to do this was to change the values in an attached PropertyModel and any text or other UI fields which were attached to this model would be

Re: Wizard Browser Back Button Problem

2007-10-12 Thread Igor Vaynberg
in your wizard have a field submitted and set that to true once the finish button processing is done. also check it in the beginning of the wizard processing stage and if it is true show an error. -igor On 10/12/07, marcus dickerhof [EMAIL PROTECTED] wrote: Hi, I could solve the problem, but

Re: Change attribute after model update

2007-10-12 Thread Igor Vaynberg
you need to make your models pull, no need for all this fancy event listenting class mypage extends webpage { private boolean green=false; public mypage() { add(new link(gogreen) { onclick() { green=true; }}); add(new panel(p1).add(new attributemodifier(class,true,new

Re: Empty ListChoice

2007-10-12 Thread Matt Jensen
I believe that doing this causes the list to contain one empty, but still selectable, element. That is what I am trying to avoid--I just want a plain empty list. I'm starting to wonder whether empty lists are considered to not be the Wicket way, as it seems like it should be easier than

Re: HOWTO - update models in chain (push or pull)

2007-10-12 Thread Igor Vaynberg
see sourcecode to this: http://wicketstuff.org/wicket13/echo/ -igor On 10/12/07, Per Newgro [EMAIL PROTECTED] wrote: Hi Gwyn, The Wicket way would be to decouple the data from the display by not having each using component having to have it's own model, but by having a 'parent' model

Re: Is Wicket suitable for my CMS?

2007-10-12 Thread pierobo
Eelco Hillenius wrote: On 9/28/07, pierobo [EMAIL PROTECTED] wrote: I'm doing an evaluation of some java web frameworks for doing the presentation layer of our CMS. We already have the backend, made with Spring/Hibernate. The behaviour of the CMS should be: 1) (Power) user draws the

Re: Wizard Browser Back Button Problem

2007-10-12 Thread marcus dickerhof
Hi, I could solve the problem, but I do not no if that is a nice solution: in the onFinish method of my wizard I call: getPage().getPageMap().remove(getPage()); So now the page is manually expired (right?). When the user presses the browser back button and then he presses finish, the gets

Re: Page expired upon file download + model update

2007-10-12 Thread Andrew Klochkov
See here http://cwiki.apache.org/WICKET/best-practices-and-gotchas.html#BestPracticesandGotchas-Startingdownloadafterformsubmission(Wicket1.1) Federico Fanton wrote: Hi everyone! I have a form with some fields and a submit button which says Save and print. The button has

Locale change on Image with Resource results in broken images

2007-10-12 Thread Jonas
Hi, I have a DynamicImageResource subclass that I add to an Image using the Image(String id, Resource imageResource) constructor. This works fine as long as the Locale of my Image doesn't change or isn't 'lost' because of serialization (it's for reasons I don't understand a transient field, see

Anonymous or nested instances of IModel?

2007-10-12 Thread marcus dickerhof
Hi, I am quite new to wicket, and I want to avoid making serious mistakes :-) On the Bestpractices and gotachs page: http://cwiki.apache.org/WICKET/best-practices-and-gotchas.html I found the following statement from Martijn Dashorst: --START The other thing to avoid is anonymous or nested

Re: HOWTO - update models in chain (push or pull)

2007-10-12 Thread Per Newgro
You have both panels using the same data, i.e. the same model or parent model? Every component has its own model. The model changes of Panel1 have to be reflected in model2 and Panel2 itself. I have a category which i can select in a tree. The category contains a field url which points to an

No WebApplicationContext found: no ContextLoaderListener registered?

2007-10-12 Thread Tauren Mills
This may not be specifically wicket related, but I'm stuck and am hoping someone else has dealt with this before. I'm not even sure what these errors mean. I've got a wicket/spring app that runs just fine within Eclipse using Jetty. But I'm attempting to deploy its war to Resin 3.1.0, it doesn't

Re: HOWTO - update models in chain (push or pull)

2007-10-12 Thread Gwyn Evans
On Friday, October 12, 2007, 11:17:19 AM, Per [EMAIL PROTECTED] wrote: Hi Matej, Thanks for your answer. But how can i know in a child model beside the changed one that i have to pull my data again? E.g. if i have page with two panels. Panel1 executes a link and changes its data. The data

Re: Empty ListChoice

2007-10-12 Thread Kent Tong
Matt Jensen-2 wrote: Is there any way to get a ListChoice to render as empty (no options) when its choice model is empty? By default, Choose One appears. If I set nullValid to true, an empty item appears which is still selectable. I would like to have the list come up completely

Re: Validating a NonZero Values and Validators Project in General

2007-10-12 Thread Kent Tong
Francisco Diaz Trepat - gmail wrote: Although I think maybe there are some validators we would all use like those already included in wicket. nonzero positive: NumberValidator.minimum(1) nonzero negative: NumberValidator.maximum(-1) nonzero positive or negative: do as Gwyn suggested. If

Re: HOWTO - update models in chain (push or pull)

2007-10-12 Thread Per Newgro
Hi Matej, Thanks for your answer. But how can i know in a child model beside the changed one that i have to pull my data again? E.g. if i have page with two panels. Panel1 executes a link and changes its data. The data change in Panel1 has to reflected in Panel2 to. My intension was to get a

Re: HOWTO - update models in chain (push or pull)

2007-10-12 Thread Igor Vaynberg
they do push the model, but also notice how the two pushed models are connected together by the same model object -igor On 10/12/07, Per Newgro [EMAIL PROTECTED] wrote: i dont really understand what you are talking about. you have a panel that can display a person right? and in an order

Re: Apache Wicket 1.3.0-beta4 released!

2007-10-12 Thread Korbinian Bachl
Ok, thanks for the info. Korbinian Frank Bille schrieb: For now you can find the source/javadoc jars in the maven repository: http://repo1.maven.org/maven2/org/apache/wicket/ Frank - To unsubscribe, e-mail: [EMAIL

Re: Anonymous or nested instances of IModel?

2007-10-12 Thread Igor Vaynberg
yes, because you do not pass it between pages. the problem really is that an anonymous class dangles a reference to the parent. so if you pass an anon model created in page A to page B that model still has a reference to page A so your session is a bit bigger because page B always has a reference

Re: Anonymous or nested instances of IModel?

2007-10-12 Thread Igor Vaynberg
it is still an issue if you pass such a model between pages. i dont see why you would need an anonymous model instance. -igor On 10/12/07, marcus dickerhof [EMAIL PROTECTED] wrote: Hi, I am quite new to wicket, and I want to avoid making serious mistakes :-) On the Bestpractices and gotachs

Re: wicket enclosure around a list

2007-10-12 Thread kent lai
Seems like it is wicket:enclosure child=id Anything else, like wicket:enclosure id=id, wicket:enclosure wicket:id=id and wicket:enclosure wicket:child=id does not work I can understand that the one with id, wicket:id does not work, but I am wondering why the one with wicket:child not work?

Change attribute after model update

2007-10-12 Thread Per Newgro
Hi *, i would like to implement a testing issue for me. I add three panels with a link on every panel. If i click one panel-link all panels should become green. But i dont get that to work. The model in the AttributeModifier cant be refreshed. What am i missing here? Thank you for helping me

Ajax paging navigation link exception

2007-10-12 Thread kent lai
Hi, This arise due to my faulty mouse, but that does not mean it would happen in production.. Anyway I am using AjaxPagingNavigator, and wheneven i do a double click(or however many times, my mouse *is* kinda faulty in that it triggers multiple clicks sometimes), i get the following,

Re: HOWTO - update models in chain (push or pull)

2007-10-12 Thread Swaroop Belur
I have a category which i can select in a tree. The category contains a field url which points to an image. This image will be displayed on panel2. If i click on the category howto refresh the url on panel2? tried Something like this: DefaultMutableTreeNode selectednode = Object urobject =

Re: TabbedPanel with image tabs - how to contribute ?

2007-10-12 Thread Stefan Simik
Thank you, I added new article: http://cwiki.apache.org/confluence/display/WICKET/Tabs+with+image but the last problem is, that I copied the article from one place to another (better location), but now I want to delete the the first article, because both are the same now. (ARTICLE I WANT TO

Re: HOWTO - update models in chain (push or pull)

2007-10-12 Thread Gwyn Evans
On Friday, October 12, 2007, 12:09:09 PM, Per [EMAIL PROTECTED] wrote: You have both panels using the same data, i.e. the same model or parent model? Every component has its own model. The model changes of Panel1 have to be reflected in model2 and Panel2 itself. I have a category which i

checkout wicket from svn

2007-10-12 Thread Andrew Klochkov
Hi! I'm trying to checkout wicket and get an error. What's wrong with it? D:svn co http://svn.apache.org/repos/asf/wicket/trunk/ svn: REPORT request failed on '/repos/asf/!svn/vcc/default' svn: REPORT of '/repos/asf/!svn/vcc/default': 400 Bad Request (http://svn.apache.org) -- Andrew

Re: HOWTO - update models in chain (push or pull)

2007-10-12 Thread Per Newgro
i dont really understand what you are talking about. you have a panel that can display a person right? and in an order you have two instances of person: the order and the invoice, and you want to reuse your panel? No. On one page i edit the order and on another page i edit the invoice. Both

Re: HOWTO - update models in chain (push or pull)

2007-10-12 Thread Igor Vaynberg
i dont really understand what you are talking about. you have a panel that can display a person right? and in an order you have two instances of person: the order and the invoice, and you want to reuse your panel? thats easy, lets say your order looks like this: class order { person shipto;

Re: HOWTO - update models in chain (push or pull)

2007-10-12 Thread Per Newgro
Hello Igor Vaynberg: see sourcecode to this: http://wicketstuff.org/wicket13/echo/ Ok i see in the code that one model can be shared between two components. But my question was a bit more related to design. Lets say i build an order and an invoice page. If i read the posts in the threads

Re: Refresh fields from model

2007-10-12 Thread Alex Objelean
http://cwiki.apache.org/WICKET/dropdownchoice-examples.html#DropDownChoiceExamples-UsingAjax Here is an example from wiki. Rich Livingstone wrote: I'm just not sure how to do this - for example, I have a drop down choice and when it changes, I need to populate other fields. I had

Re: Stateless page creating session

2007-10-12 Thread John Patterson
Is there a JIRA issue for the broken stateless support so I know when to update my application? Cheers, John. On 11 Oct 2007, at 00:57, Matej Knopp wrote: Yeah, it's a bug introduced by me recently. Will look at it ASAP. -Matej On 10/11/07, John Patterson [EMAIL PROTECTED] wrote: Also,

Wicket Web Beans with Wicket 1.3b4 ?

2007-10-12 Thread dtoffe
Hi ! Is Wicket Web Beans from SVN (rev 136 as of now) useable with Wicket 1.3b4 ? Should I stick to last (1.0 rc1) release with 1.2.6 ? Cheers, Daniel -- View this message in context: http://www.nabble.com/Wicket-Web-Beans-with-Wicket-1.3b4---tf4616136.html#a13183356 Sent from the Wicket -

Re: Wicket Web Beans with Wicket 1.3b4 ?

2007-10-12 Thread Dan Syrstad
Hi Daniel, If you check out the latest from the SVN branch branches/wicket-1.3-port, it builds with maven/1.3.0-beta4. The trunk is still for Wicket 1.2.6. The head of both the trunk and 1.3 branch are techinically wicketwebbeans-1.0-rc2SNAPSHOT. -Dan On 10/12/07, dtoffe [EMAIL PROTECTED]

Wicket AJAX vs Echo AJAX

2007-10-12 Thread Chris Colman
To date we've built all of our static pages in Wicket and all dynamic pages/user input forms etc., in Echo because it provides a pure Java (no need to write any JavaScript) solution to generating AJAX powered pages. The problem is when users switch from Echo pages back to Wicket pages using the

Re: Is Wicket suitable for my CMS?

2007-10-12 Thread Nino Saturnino Martinez Vazquez Wael
Hi pierobo I think you need to take a look at listview.. I know you want to let the user just plainly design the page but what if you gave them a more graphical editor. That way you could have a general page that had a listview and added all the components the user selected on his editor

Re: Wicket AJAX vs Echo AJAX

2007-10-12 Thread Nino Saturnino Martinez Vazquez Wael
Short answer : You do not have to write a single line of javascriptcode to use wicket ajax behaviors. This is already done for you. Regarding browser differences, I belive they are handled(by wicket-ajax). AFAIK in beta 4 even safari works:) Chris Colman wrote: To date we've built all of

Configuring DatePicker

2007-10-12 Thread Christopher Gardner
Does anyone have any examples of configuring DatePicker? I'd like to limit the minimal date, for example. I subclassed it and overrode configure() to set what I thought the Yahoo documentation said to to specify the minimal date, but to no avail.

Re: No WebApplicationContext found: no ContextLoaderListener registered?

2007-10-12 Thread Tauren Mills
Disregard this message. It turns out my war was missing some jar files. It was an issue of I'm just stupid because I'm still working at 5am and can't think straight. To bad the error message wasn't more intuitive. Oh well. Tauren On 10/12/07, Tauren Mills [EMAIL PROTECTED] wrote: This may

Re: Empty ListChoice

2007-10-12 Thread Kent Tong
Matt Jensen-2 wrote: I believe that doing this causes the list to contain one empty, but still selectable, element. That is what I am trying to avoid--I just want a plain empty list. I'm starting to wonder whether empty lists are considered to not be the Wicket way, as it seems like

Wicket tutorials updated for beta4

2007-10-12 Thread Kent Tong
Hi, I've updated my free Wicket tutorials to beta4. They're available at http://www.agileskills2.org/EWDW/index.html - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW -- View this message in context: