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 ok

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.

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 withi

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); AjaxFormChoiceCompone

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() { supe

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 For

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 probl

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 a

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 onl

Re: Putting HTML files in src/main/webapp

2009-05-04 Thread Richard Allen
If you are using war, 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 you don't have to e

Re: DnDSortableHandler + modal window problems?

2009-05-04 Thread Marcus Popetz
On Mon, May 4, 2009 at 9:44 AM, Serkan Camurcuoglu 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 work by initializing > the se

Re: Wizard & Tabs

2009-05-04 Thread Fernando Wermus
I hope It would be useful for you. public class CustomStep extends WizardStep { private static final long serialVersionUID = 838959800764720492L; public static final String ID = "customStep"; public CustomStep(Panel custom, IModel title, IModel summary) { super(title, su

Re: EmptyAjaxRequestTarget invokes failurescript when link is pressed on page

2009-05-04 Thread Johan Compagner
This is already fixed in the release of 1.3.6 Need to look at if i already ported this to 1.4 On Tue, Apr 7, 2009 at 15:30, Mikko Pukki wrote: > Hi, > > We just noticed that if user is on a page and ajax request is > executing, pressing a link can cause AbstractDefaultAjaxBehavior's > failurescr

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: http://www.nabble.com/Weird-DatePicker--

Re: DnDSortableHandler + modal window problems?

2009-05-04 Thread Serkan Camurcuoglu
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 work by initializing the selected elements during document's onload() or domready(), and y

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 wi

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 ho

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 li

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 th

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 MooTip?

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 T

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 i

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 : > 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 wrote: >> Hi >> >> How do I ge

Re: best way to add tooltips in wicket

2009-05-04 Thread nino martinez wael
Please do tell if there are any issues with mootip, do not hesitate to write me (i'll be using it soon).. Im not soo keen todo stuff with prototip, since it's commercial license as of the latest version.. 2009/5/4 Mathias Nilsson : > > yes I have the same exact problem. Tried all settings there i

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 : > 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 the same but > the da

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 chang

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: It doesn't look like I can use a header contributor to do this sort of thing, so how is it done? Thanks for your help. Shelah

Re: Internationalized titles

2009-05-04 Thread Jeremy Thomerson
add(new Label("appTitle", new ResourceModel("your.title.key")); also, change your html: this will be replaced 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, May 4, 2009 at 1:02 PM, She

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: th

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 new

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 prot

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

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 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 pojo object called "

Re: Internationalized titles

2009-05-04 Thread Martijn Dashorst
why not use a ? Martijn On Mon, May 4, 2009 at 8:08 PM, Jeremy Thomerson wrote: > add(new Label("appTitle", new ResourceModel("your.title.key")); > > also, change your html: > this will be replaced > > Of course, if you don't use markup inheritance, you'll need to repeat > this throughout each

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 IModel getTitleModel() { return new ResourceModel("page.title", "[TITLE]"); } But, subclasses cou

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 th

Re: css and dreamweaver problem

2009-05-04 Thread James Carman
I have my css files in the same location as my html. On Sun, May 3, 2009 at 9:31 AM, Anantha Kumaran wrote: > hi > >  I am using netbeans and dreamweaver to develop my wicket app > > The problem is dreamweaver expects the stylesheets and the html in the same > folder . But in wicket app the style

Re: best way to add tooltips in wicket

2009-05-04 Thread JulianS
RoyBatty wrote: > > Hello, > > i'm quite new to Wicket, and i'm trying to see what is the most common way > of adding tooltip texts to for example a Label in wicket. > > I did find the 10-point-wiki about tooltips > (http://cwiki.apache.org/WICKET/how-to-add-tooltips.html), which seemed > qui

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 p

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 wrote: > > I'm not worried about the multiple window thing. FWIW I believe that value is > set to true by default anyway. I'm j

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 u

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 wrote: > One reason would be to let subclasses actually override it with a more > complex model, if need be.  The method in the superclass (assuming >

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 Fun

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 expe

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 war, 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

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 wrote: > On Mon, 2009-05-04 at 08:55 -0400, Richard Allen wrote: >> If you are using war, then the maven-war-plugin will >> automatically pick up the resources in src/main/webapp, which

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 AbstractRequestCyc

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 temp

Re: DropDownChoice with ChoiceRender problem

2009-05-04 Thread Phillip Rhodes
It's of type String Thanks On May 4, 2009, at 3:23 PM, James Carman wrote: The "handicapAccess" property is of type? On Mon, May 4, 2009 at 2:29 PM, Phillip Rhodes wrote: Hi everyone, Sorry for posting this problem but I have been stuck for far too many hours on this. Using wicket 1.4 A

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: http://www.

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

Re: Validate, Navigate Wizards

2009-05-04 Thread jackkilian
Hi, sometimes the world is easy! Thanks for your support. Thinking in Wicket means, to think easier :-D For other readers, to get the right "required" validation message at the feebackPanel an entry has to written into the Wizard's property file. e.g. group.Required=My message on the feebackpan