Re: [OT] WicketForge 0.6.1 available for IDEA 9

2009-12-25 Thread Pieter Degraeuwe
Thanks for this great work! On Friday, December 25, 2009, Nick Heudecker nheudec...@gmail.com wrote: WicketForge 0.6.1 is available for download.  In short, the changes are:  - Completion on PropertyModel expressions.  - Some assorted cleanup on other completion tasks.  - 0.6.1 should work

Re: Tag Oriented Development

2009-12-25 Thread Eelco Hillenius
On Tue, Dec 22, 2009 at 7:59 PM, Altuğ B. Altıntaş alt...@gmail.com wrote: In business, decision makers choose standards Maybe obig conservative corporations. On the other hand, there are plenty of examples of companies that were able to have an edge over competition by choosing languages and

Listview clears all the data in the textfileds after adding new element in the List

2009-12-25 Thread ayman elwany
Hi All , I'm new to Apache Wicket , I started working with it from 2 weeks and I'm really enjoying it .but I have a little problem that I don't know what is the problem with it . I have a Listview contains three text fields as a table data raw with a Link which onClick adds a raw to the List

Re: Listview clears all the data in the textfileds after adding new element in the List

2009-12-25 Thread Martin Makundi
ListView always popupates rows with new elements. That's why their state is cleared. You have two options: 1. call listview.setReuseItems - this will keep the old rows 2. if you need something more fancy and want to repopulate the rows, you will need to use a reusemanager that can copy the

Re: Listview clears all the data in the textfileds after adding new element in the List

2009-12-25 Thread Sven Meier
Hi, if you're using a Link, the browser won't send the edited values back to your application. Use a SubmitLink instead. Sven ayman elwany wrote: Hi All , I'm new to Apache Wicket , I started working with it from 2 weeks and I'm really enjoying it .but I have a little problem that I don't

Re: converting xml list into un numbered list

2009-12-25 Thread Jeremy Thomerson
There are several ways XSL - not very wickety, but would work - you could place the transformed HTML with a wicket label. process the XML to an array first, then work on it create a model for a repeatingview (i.e. listview) that knows how to render XML -- Jeremy Thomerson

Re: converting xml list into un numbered list

2009-12-25 Thread Jeremy Thomerson
That shouldn't be knows how to render XML - but it should be knows how to parse XML into a list -- Jeremy Thomerson http://www.wickettraining.com On Fri, Dec 25, 2009 at 8:45 AM, Jeremy Thomerson jer...@wickettraining.com wrote: There are several ways XSL - not very wickety, but would

Re: looking for example wicket and hibernate

2009-12-25 Thread Janning Vygen
Hi we have been starting with our hibernate/spring/wicket app a few weeks ago and its quite easy. We do it with maven2 like this: i show you some snippets, please ask me if you have any further questions: in your pom.xml: = properties

Re: Listview clears all the data in the textfileds after adding new element in the List

2009-12-25 Thread ayman elwany
Thanks Sven , it is working now , In the beginning it wasn't working at all but after that I put the ListView and submitLink in a form and then worked. Thanks again.. form wicket:id=ListForm tr tdstrongfont size=4Employer :/font/strong/td /tr tr wicket:id=employersList tdinput type=text

Re: Listview clears all the data in the textfileds after adding new element in the List

2009-12-25 Thread ayman elwany
Hi Martin , thanks for your answer ,I add it the setReuseItems(true); but no effect , but the problem solved by changing the Link to submitLink and putting the Listview and the link in a form so by clicking the link all the fields in the form will be sent to the application.thanks to Sven for

Repost: Track selected entries in either of a Palette's Choices components?

2009-12-25 Thread Martin Dietze
I desperately need to find out which entries in a Palette's two Choices components are selected, e.g. to allow additional operations on them using Ajax. As I attached an OnChangeAjaxBehaviour to both of them I expect to be able to access this information just as after a form submit, but of

Re: Repost: Track selected entries in either of a Palette's Choices components?

2009-12-25 Thread Igor Vaynberg
why dont you look at what markup the palette generates and how it submits to the server. maybe that will help you to understand how to accomplish what you want. -igor On Fri, Dec 25, 2009 at 10:04 AM, Martin Dietze d...@fh-wedel.de wrote: I desperately need to find out which entries in a

Converter for AjaxEditableMultiLineLabel

2009-12-25 Thread Alec Swan
I am using AjaxEditableMultiLineLabel to allow the user to enter a Velocity template in the editor and then preview the bound template content in the label. I created a TemplateConverter class and overrode AjaxEditableMultiLineLabel#getConverter() method to return an instance of

Re: Tag Oriented Development

2009-12-25 Thread bht
JSF == Standard? My question is: What should become a standard? When I think about standards, then things that come to mind are: - SQL - ODBC - Java - JDBC - EJB - JPA but not JSF. And not Spring. And not ... - you name it. For some reason, possibly due to the fast evolving nature of the web,

Re: Converter for AjaxEditableMultiLineLabel

2009-12-25 Thread Sven Meier
AjaxEditableMultiLineLabel doesn't use its converter for the wrapped editor as AjaxEditableLabel does - see #newEditor(). You should create a RFE in JIRA. Sven Alec Swan wrote: I am using to allow the user to enter a Velocity template in the editor and then preview the bound template

Re: Converter for AjaxEditableMultiLineLabel

2009-12-25 Thread vineet semwal
it doesn't use converter even for the multilinelabel.. some months ago i needed converter for multilinelabel inside ajaxeditablemultilinelabel, i subclassed ajaxeditablemultilinelabel and provided converter logic for multilinelabel there, it didn't take much time ;) On Sat, Dec 26, 2009 at

Re: Converter for AjaxEditableMultiLineLabel

2009-12-25 Thread Alec Swan
Thanks, I followed your suggestion and overrode AjaxEditableMultiLineLabel#newLabel() method. Now I am trying to unit-test the content of the displayed label using WicketTester. However, I cannot use WicketTester#assertLabel() because AjaxEditableMultiLineLabel is a Panel and not a Label. Does