Validate, Navigate Wizards

2009-05-04 Thread Wolfgang . Schele
Hi, when I validate the data of a WizardStep after pressing Next, I navigate within the validate method to the WizardStep.previous() step in the false case. Works fine! But calling the method WizardStep.previous() works not for the first Wizard step. That's ok, there is no previous one. But how

Validate, Navigate Wizards

2009-05-04 Thread Wolfgang . Schele
Hi, when I validate the data of a WizardStep after pressing Next, I navigate within the validate method to the WizardStep.previous() step in the false case. Works fine! But calling the method WizardStep.previous() works not for the first Wizard step. That's ok, there is no previous one. But how

Re: Validate, Navigate Wizards

2009-05-04 Thread Matthias Keller
wolfgang.sch...@dachser.com wrote: Hi, when I validate the data of a WizardStep after pressing Next, I navigate within the validate method to the WizardStep.previous() step in the false case. Works fine! But calling the method WizardStep.previous() works not for the first Wizard step. That's

Re: wicket-jasper UI

2009-05-04 Thread freak182
you checkout this project: http://code.google.com/p/wicket-jasper-ui/ raviJPYADAV wrote: Hi , can you please share some sample code how to integrate this api with our code? --Ravi freak182 wrote: Hello, I just wanna share this simple project called wicket-jasper. It is

Re: Validate, Navigate Wizards

2009-05-04 Thread jackkilian
Hi Matthias, thanks! I used error(), but the wizard didn't stop. I will check it, maybe I use a ref-Object to call error(). regards - jk Matthias Keller wrote: wolfgang.sch...@dachser.com wrote: Hi, when I validate the data of a WizardStep after pressing Next, I navigate within the

Re: How to test AjaxFormChoiceComponentUpdatingBehavior for Radio Button

2009-05-04 Thread Marat Radchenko
That's what we are using here: public static void selectAjaxRadio(final WicketTester tester, final String radioPath) { final Radio radio = (Radio) tester.getComponentFromLastRenderedPage(radioPath); final RadioGroup radioGroup = radio.findParent(RadioGroup.class);

Re: Automatically adding a parameter to every link?

2009-05-04 Thread Martin Funk
maybe automatic multi window support might help you this can be turned on like this in the init method of your Application. /** * @see org.apache.wicket.protocol.http.WebApplication#init() */ @Override protected void init() {

Re: Validate, Navigate Wizards

2009-05-04 Thread Matthias Keller
Hi Just one note - I just had another look at our FormValidator class - you might wonder why you won't find the method error (FormComponent fc, String resourceKey) provided in my example. The reason is, we wrapped this to provide a direct access to localized error messages in our custom

Re: Validate, Navigate Wizards

2009-05-04 Thread jackkilian
Hi, my intention is to check if special mandatory fields are filled. What I found in the examples is the RequiredTextField... within the Wicket lib. I use a RadioBtnGroup with RadioBtn's, the user has to select one! Thats all what I validate. But no matter, with your hint I can solve that

Re: ChoiceFilteredPropertyColumn and FilterToolbar examples

2009-05-04 Thread Linda van der Pal
I found what I did wrong. I tried to let the filter-state be a Publisher as well. That should have been a BookListData object. The filterstate object should be the same type of object as the table contains, so you can filter on all variables. I hadn't understood that yet. Thanks for the help

Re: Validate, Navigate Wizards

2009-05-04 Thread Matthias Keller
Hi If you only want to require that a radio button is selected, then myRadioGroup.setRequired(true) already does that job. No need to implement a custom form validator then. BTW: RequiredTextField is nothing other than a TextField which calls setRequired(true) in the constructor.. It's

Re: Putting HTML files in src/main/webapp

2009-05-04 Thread Richard Allen
If you are using packagingwar/packaging, then the maven-war-plugin will automatically pick up the resources in src/main/webapp, which means you do not have to configure that directory as a resource. Additionally, the maven-resources-plugin automatically picks up resources in src/main/resources, so

Re: DnDSortableHandler + modal window problems?

2009-05-04 Thread Marcus Popetz
On Mon, May 4, 2009 at 9:44 AM, Serkan Camurcuoglu serkan.camurcuo...@telenity.com wrote: though I've never used DnDSortableHandler, I guess you need to append some javascript to the ajaxrequesttarget to convert the items you've added into draggable items.. In my experience most jquery plugins

Re: Weird DatePicker / DateTextField off by one hour

2009-05-04 Thread mallet
I'm using 1.4 RC2. It was a daylight savings time issue... but one in my IDE's JRE rather than in Wicket. I patched it up and things are behaving as expected now. Thanks for the additional info about the timezone issue. -- View this message in context:

DnDSortableHandler + modal window problems?

2009-05-04 Thread Marcus Popetz
Anyone out there run into problems using DnDSortableHandler (Jquery's sortable list) and opening a modal window causing further dragging to fail? The problem I'm seeing: DnDSortableHandler works fine until I edit one of the items in the sortable list in a modal window. Upon close of the modal

Re: best way to add tooltips in wicket

2009-05-04 Thread RoyBatty
OK folks, regarding this tooltip business we've ended up using prototip for a while now, and while it works, we're not very happy with some of the quirks. More specifically, there are two odd things i'd label as bugs if i was sure that i hadn't done something wrong myself... 1. When you

RE: EmptyAjaxRequestTarget invokes failurescript when link is pressed on page

2009-05-04 Thread Mikko Pukki
Hi, It seems that there are not yet any commits made to snapshot regarding this. - Mikko -Original Message- From: Mikko Pukki [mailto:mikko.pu...@syncrontech.com] Sent: 8. huhtikuuta 2009 11:04 To: users@wicket.apache.org Subject: RE: EmptyAjaxRequestTarget invokes failurescript when

Wizard Tabs

2009-05-04 Thread Vidhya Kailash
Hi I would like to know if there is a way to re-use panels of the WizardSteps as tabs of TabbedPanel. More precisely, I have a scenario where I lead the user thru product creation using Wizard (basically inputting product details). I want to re-use some of the wizard steps as tabs for editing

Re: best way to add tooltips in wicket

2009-05-04 Thread Mathias Nilsson
yes I have the same exact problem. Tried all settings there is in ProtoTip. The only thing that worked was to have onclick to show the tip and close button but this is of course not the way we want it. If you come up with a solution please post it here. Do you experience the same bug with

Tomcat Publishing and Hot-Swapping with Wicket (solved)

2009-05-04 Thread Kaspar Fischer
I intended to post the following questions but found the answer myself, finally. I post it anyway in the hope that it helps others. Kaspar Fischer almost posted the following: My app takes quite some time to start up, so I don't want changes to my Wicket HTML or Wicket Java files to cause

Full integration Wicket - Blazeds. Is it possible?

2009-05-04 Thread Fernando Wermus
Hi all, I am working with flex and wicket and I would like to get a full integration. What I mean is that a wicket's model page will be updated in case someone uses a flex component that called a blazeds service. I run succesfuly http://ryangravener.com/wordpress/?p=21, which I would like to

Re: Get tag type?

2009-05-04 Thread nino martinez wael
Ohh ok thanks :) My memory are rusty:) I've done this before :) 2009/5/3 Johan Compagner jcompag...@gmail.com: You only can know then when it is getting rendered so not before. So for example the onComponentTag methods of component/behavior On 03/05/2009, nino martinez wael

Re: Automatically adding a parameter to every link?

2009-05-04 Thread nino martinez wael
I think I would use Martins idea + markup inheritance (pages that are aware of the required parameters etc)... 2009/5/3 Matthew Welch matt...@welchkin.net: The data in the application that I'm working on is divided in any number of different contexts. The pages displayed for each context are

Wicketstuff-core issue

2009-05-04 Thread Kaspar Fischer
I have a minor issue with wicket-stuff core. I don't know where to report it to, so I hope it's fine if I post here. (Wicket JIRA probably isn't the right place and Wicketstuff JIRA does not contain a project 'wicketstuff-core'.) The pom.xml does not work for me with Maven 2.1.0. If I

Re: Wicketstuff-core issue

2009-05-04 Thread Jeremy Thomerson
Regarding jetty - not sure - hopefully one of the Maven mavens will speak up. Regarding jar - It's not a jar project, it's a pom project. There won't be a jar. There are nightly builds, but the TeamCity server always has vcs connection issues - so sometimes the builds don't work. If you search

Internationalized titles

2009-05-04 Thread Shelah Horvitz
I want to internationalize the title of my application, so that I would get its value from a properties file, and the HTML would look something like: head titlespan wicket:id=appTitle/span/title /head It doesn't look like I can use a header contributor to do this sort of thing, so how is it

Re: Internationalized titles

2009-05-04 Thread Jeremy Thomerson
add(new Label(appTitle, new ResourceModel(your.title.key)); also, change your html: title wicket:id=appTitlethis will be replaced/title Of course, if you don't use markup inheritance, you'll need to repeat this throughout each page. -- Jeremy Thomerson http://www.wickettraining.com On Mon,

RE: Internationalized titles

2009-05-04 Thread Shelah Horvitz
Many thanks! From: Jeremy Thomerson [jer...@wickettraining.com] Sent: Monday, May 04, 2009 2:08 PM To: users@wicket.apache.org Subject: Re: Internationalized titles add(new Label(appTitle, new ResourceModel(your.title.key)); also, change your html: title

Re: wicket-jasper UI

2009-05-04 Thread Juha Palomäki
Here are some rough instructions. If you for example want to embed the HTML report on a web page, you need: - instance of JRResource (there are several implementations, depending on what kind of output you want to have) - a report (either as File or as InputStream) - datasource 1. Instantiate

Re: Get tag type?

2009-05-04 Thread nino martinez wael
So no way to make this a little more pretty?: public void onRendered(final Component component) { super.onRendered(component); HeaderResponse headerResponse=new HeaderResponse(){ @Override

DropDownChoice with ChoiceRender problem

2009-05-04 Thread Phillip Rhodes
Hi everyone, Sorry for posting this problem but I have been stuck for far too many hours on this. Using wicket 1.4 Appreciate any help on this very very much. I have a pojo object called address that has a property of handicapAccess I am trying to bind this property to a dropdown list with 3

Re: DropDownChoice with ChoiceRender problem

2009-05-04 Thread James Carman
The handicapAccess property is of type? On Mon, May 4, 2009 at 2:29 PM, Phillip Rhodes spamsu...@rhoderunner.com wrote: Hi everyone, Sorry for posting this problem but I have been stuck for far too many hours on this.  Using wicket 1.4  Appreciate any help on this very very much. I have a

Re: Internationalized titles

2009-05-04 Thread Martijn Dashorst
why not use a wicket:message ? Martijn On Mon, May 4, 2009 at 8:08 PM, Jeremy Thomerson jer...@wickettraining.com wrote: add(new Label(appTitle, new ResourceModel(your.title.key)); also, change your html: title wicket:id=appTitlethis will be replaced/title Of course, if you don't use

Re: Internationalized titles

2009-05-04 Thread James Carman
One reason would be to let subclasses actually override it with a more complex model, if need be. The method in the superclass (assuming you're using markup inheritance) would be like this: public IModelString getTitleModel() { return new ResourceModel(page.title, [TITLE]); } But, subclasses

Re: Wicketstuff-core issue

2009-05-04 Thread Martin Funk
Am 04.05.2009 um 19:32 schrieb Jeremy Thomerson: Regarding jetty - not sure - hopefully one of the Maven mavens will speak up. hmmm.. how about beeing a little more specific about the 'does not work for me' part. which command is issued on which codebase? svn info comes in hand for

Re: Automatically adding a parameter to every link?

2009-05-04 Thread Matt Welch
I'm not worried about the multiple window thing. FWIW I believe that value is set to true by default anyway. I'm just wondering if there's a way to add a parameter to each link on page to ensure that the next page stays in the same context. For instance, when I was trying to solve an unrelated

Re: Automatically adding a parameter to every link?

2009-05-04 Thread Igor Vaynberg
you can provide your own subclass of webresponse and override encodeurl the same way. see WebApplication#newWebResponse -igor On Mon, May 4, 2009 at 2:25 PM, Matt Welch matt...@welchkin.net wrote: I'm not worried about the multiple window thing. FWIW I believe that value is set to true by

Apache Pivot vs Wicket

2009-05-04 Thread Antony Stubbs
Anyone checked out Apache Pivot yet? http://incubator.apache.org/pivot/ It seems similar to Wicket - but I don't see any sine of a model type of thing to compare with... Anyone got a comparison? Regards, Antony Stubbs, NZ

Re: Apache Pivot vs Wicket

2009-05-04 Thread Igor Vaynberg
erm, on the first page: Pivot applications are written using a combination of Java and XML and can be run either as an applet or as a standalone (optionally offline) desktop application. so pivot apps run in a browser as an applet not as an html app. pretty big difference right there. -igor On

Selenium-ide support

2009-05-04 Thread Antony Stubbs
I've read the selenium threads on here but i'm interested in the current state of play. Does anyone have a setup where you can use selenium-ide to record tests and play them back without having to modify them? this is in respect to the whole id generation thing. selenium-ide only seems to

Re: Internationalized titles

2009-05-04 Thread Jeremy Thomerson
Yeah - that's what I've done on several sites. -- Jeremy Thomerson http://www.wickettraining.com On Mon, May 4, 2009 at 2:38 PM, James Carman jcar...@carmanconsulting.com wrote: One reason would be to let subclasses actually override it with a more complex model, if need be.  The method in

Re: Automatically adding a parameter to every link?

2009-05-04 Thread Eyal Golan
In short, what does it mean exactly Multi Window Support ? Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary On Mon, May 4, 2009 at 1:06 PM, Martin Funk

Re: Internationalized titles

2009-05-04 Thread Luther Baker
I've setup and used this approach with success as well ... public class ChildPage extends MasterLayoutPage { public ChildPage() { super(new Model ...); } One interesting factoid ... depending on how you actually mark this up, DEVELOPMENT mode can look a bit screwy. It is my

Re: Putting HTML files in src/main/webapp

2009-05-04 Thread Alan Garfield
On Mon, 2009-05-04 at 08:55 -0400, Richard Allen wrote: If you are using packagingwar/packaging, then the maven-war-plugin will automatically pick up the resources in src/main/webapp, which means you do not have to configure that directory as a resource. Additionally, the

Re: Putting HTML files in src/main/webapp

2009-05-04 Thread James Carman
What's the justification of having them in src/main/webapp again? On Mon, May 4, 2009 at 8:28 PM, Alan Garfield a...@fromorbit.com wrote: On Mon, 2009-05-04 at 08:55 -0400, Richard Allen wrote: If you are using packagingwar/packaging, then the maven-war-plugin will automatically pick up the

Request to improve documentation of onRuntimeException

2009-05-04 Thread Peter Ross
Hi, I'm looking at overriding onRuntimeException[1]to do some cleanup if there was an exception,however I want the standard error handling page to be displayed. I thought I would need use getInternalErrorPage and then do some tricky stuff to instantiate it, but after inspecting

Re: Putting HTML files in src/main/webapp

2009-05-04 Thread Alan Garfield
On Mon, 2009-05-04 at 21:07 -0400, James Carman wrote: What's the justification of having them in src/main/webapp again? Separates the code from the templates so the designers don't have to checkout the whole project, also keeps all the content in one directory. Even though they are dynamic

Re: Automatically adding a parameter to every link?

2009-05-04 Thread Matt Welch
igor.vaynberg wrote: you can provide your own subclass of webresponse and override encodeurl the same way. see WebApplication#newWebResponse -igor Thanks. That's exactly the kind of thing I was looking for. I'll look into it. -Matt -- View this message in context:

Re: Wicket Offline Applications

2009-05-04 Thread taha siddiqi
A popular Indian product FINACLE has an applet which kind of acts as a fat client and each time a customer detail or scheme detail is fetched the whole detail gets downloaded into the applet. But it is not an pure offline application as only the current page can we viewed or changed and every time

Wicket SWFObject

2009-05-04 Thread Douglas Ferguson
Has anybody successfully got SWFObject to work on a wicket page? Douglas

Re: wicket-jasper UI

2009-05-04 Thread raviJPYADAV
Thanks Juha for your reply, though i wanted some java sample code but whatever instruction you have written is sufficient for me i think. --Ravi Juha Palomäki wrote: Here are some rough instructions. If you for example want to embed the HTML report on a web page, you need: - instance of

RE: Wicket SWFObject

2009-05-04 Thread Douglas Ferguson
I just figured out that the deal is that SWFObject doesn't like to be set visible false on page load then visible true via Ajax. Any thoughts on how to get around this? D/ -Original Message- From: Douglas Ferguson [mailto:doug...@douglasferguson.us] Sent: Tuesday, May 05, 2009 12:20 AM