Re: [Wicket-user] Hilight erroneous form field

2006-07-12 Thread Igor Vaynberg
dont quote me but...class ErrorHighlighter extends AttributeAppender { private FormComponent fc;  public ErrorHighlighter() {   super("style", true, "background-color:red;", " ");    }  public void bind(Component c) { fc=(FormComponent)c; }   public boolean isEnabled() { return !fc.isValid(); }

[Wicket-user] Hilight erroneous form field

2006-07-12 Thread JK
Hi, Is it possible to hilight erroneus form field? If textfield data is not valid how do you change field background color? Thanks! - Using Tomcat but need to do more? Need to support web services, security? Get stuff done

Re: [Wicket-user] Header contributions

2006-07-12 Thread Eelco Hillenius
Hello, It is not necessary in from 1.2 on to pre-register shared resources. The big reason to loose that requirement - besides convenience - is the constant classloader headache pre-registering gave us. Unfortunately, there is no rock-solid mechanism to get all the contents of a package in Java, j

Re: [Wicket-user] Where is wicket:wicket-parent:pom:1.2-SNAPSHOT?

2006-07-12 Thread Igor Vaynberg
third time is the charm!/svnroot/wicket/branches/WICKET_1_2-IgorOn 7/12/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:erm! /svnroot/wicket/WICKET_1_2 -IgorOn 7/12/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote: yes, the root pom is in /svnroot/wicketi think it might be a better idea to move it into it

Re: [Wicket-user] Where is wicket:wicket-parent:pom:1.2-SNAPSHOT?

2006-07-12 Thread Igor Vaynberg
erm! /svnroot/wicket/WICKET_1_2-IgorOn 7/12/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: yes, the root pom is in /svnroot/wicketi think it might be a better idea to move it into its own wicket-parent project that will live by side of wicket so it will be easier to find/checkout -Igor On 7/12/06, Pe

Re: [Wicket-user] Where is wicket:wicket-parent:pom:1.2-SNAPSHOT?

2006-07-12 Thread Igor Vaynberg
yes, the root pom is in /svnroot/wicketi think it might be a better idea to move it into its own wicket-parent project that will live by side of wicket so it will be easier to find/checkout-Igor On 7/12/06, Peter Neubauer <[EMAIL PROTECTED]> wrote: David,somewhere in this list it was mentioned that

Re: [Wicket-user] Where is wicket:wicket-parent:pom:1.2-SNAPSHOT?

2006-07-12 Thread Peter Neubauer
David, somewhere in this list it was mentioned that the M2 bild structure was changed with more inheritance. I guess you have to check out everything now as the POM now is extending some root POM forther up? /peter On 2006-07-13 David Leangen wrote: >Hello! > >After several weeks of not us

[Wicket-user] Header contributions

2006-07-12 Thread David Leangen
Hello! The javadoc for HeaderContributor.forCss() says: Will be removed in 2.0; contribute resources one by one instead. What is meant by this? What, then, is the newly preferred way of contributing to a header? Or is this the only way until 2.0, and the message is just an advanced warnin

[Wicket-user] Where is wicket:wicket-parent:pom:1.2-SNAPSHOT?

2006-07-12 Thread David Leangen
Hello! After several weeks of not using Wicket, I am now trying to build from updated svn. I get the following error: [INFO] Failed to resolve artifact. GroupId: wicket ArtifactId: wicket-parent Version: 1.2-SNAPSHOT Reason: Unable to download the artifact from any repository wicket:wicket

Re: [Wicket-user] Displaying arbitrary SQL Query result sets

2006-07-12 Thread Igor Vaynberg
wicket-phonebook does it if you dont mind spring-IgorOn 7/12/06, Frank Silbermann <[EMAIL PROTECTED] > wrote: If someone provides mea  sample quickstart project that includes something like hsqldb and populates a database on start-up, I'll modify it to display some database queries using my

Re: [Wicket-user] DataView (extentions)

2006-07-12 Thread Gwyn Evans
On 12/07/06, Frank Silbermann <[EMAIL PROTECTED]> wrote: > I suppose it could go into: > > Wicket Wiki > // Reference Library > How To Do Things in Wicket > // Database Interaction > > -- though it would be much longer than any of the other articles (aside > from those which are external l

Re: [Wicket-user] Displaying arbitrary SQL Query result sets

2006-07-12 Thread Frank Silbermann
If someone provides mea  sample quickstart project that includes something like hsqldb and populates a database on start-up, I'll modify it to display some database queries using my classes! From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor VaynbergSent: Wednesday, July

Re: [Wicket-user] Displaying arbitrary SQL Query result sets

2006-07-12 Thread Igor Vaynberg
it would be really great if you could provide a quickstart that includes something like hsqldb and populates a database on startup so we can actually see it in action.at least thats what it will take for me to give it a looksee due to my busy schedule - if you want feedback that is. -IgorOn 7/12/06

[Wicket-user] Displaying arbitrary SQL Query result sets

2006-07-12 Thread Frank Silbermann
Since I've already created the .jar file for Michael, I might as well offer it to everyone. I haven't included any examples for actually creating a subclass of my dataprovider (common.rdbms.QueryResult). At a minimum, you can simply override: protected String generateQueryString() { return

Re: [Wicket-user] Locating Resource Filename

2006-07-12 Thread Ayodeji Aladejebi
fixed!..thanksOn 7/12/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: i am using a small image processing library within wicket where the API only takes in File Objects. So if i must feed resource from wicket to it, what should be my best strategy please? because i realize PackagedResource may ret

Re: [Wicket-user] DataView (extentions)

2006-07-12 Thread Michael Welter
Hello Frank, I have just begun developing an application using paged tables and IDataProvider. My environment is hibernate with thousands of items to display, so hopefully the laze instantiation will keep memory utilization low. Anyhow, I would like to take a peek at your code. If you don't

Re: [Wicket-user] DataView (extentions)

2006-07-12 Thread Frank Silbermann
I suppose it could go into: Wicket Wiki // Reference Library How To Do Things in Wicket // Database Interaction -- though it would be much longer than any of the other articles (aside from those which are external links). Also, how would I create the new page into which I could enter

Re: [Wicket-user] Locating Resource Filename

2006-07-12 Thread Ayodeji Aladejebi
i am using a small image processing library within wicket where the API only takes in File Objects. So if i must feed resource from wicket to it, what should be my best strategy please? because i realize PackagedResource may return a null handle from ServletContext.getRealPathOn 7/12/06, Ayodeji A

Re: [Wicket-user] Locating Resource Filename

2006-07-12 Thread Ayodeji Aladejebi
javax.servlet.ServletContext#getRealPath(Component.urlFor(resource)) should do the trick, isnt?On 7/12/06, Martijn Dashorst < [EMAIL PROTECTED]> wrote:Typically a resource resides inside a jar or a war, so there is no file path available.One way to look for them is to use the servlet context of you

Re: [Wicket-user] DataView (extentions)

2006-07-12 Thread Martijn Dashorst
Why don't you create a wiki article on this subject? Martijn On 7/12/06, Frank Silbermann <[EMAIL PROTECTED]> wrote: > > > Several months ago I mentioned that I was developing classes based on > WicketExtensions' DataTable and SortableDataProvider to display arbitrary > SQL SELECT result sets, w

[Wicket-user] Wicket Wizard and Ajax

2006-07-12 Thread Ayodeji Aladejebi
Any AJAX Panel Flipping possibility of Wizard Framework? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM We

Re: [Wicket-user] Locating Resource Filename

2006-07-12 Thread Martijn Dashorst
Typically a resource resides inside a jar or a war, so there is no file path available. One way to look for them is to use the servlet context of your servlet. See javax.servlet.ServletContext#getRealPath(String path) Martijn On 7/12/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > Please, > >

[Wicket-user] Locating Resource Filename

2006-07-12 Thread Ayodeji Aladejebi
Please,how do i get a File Reference to a ResourceReference. The actual File path on the disk?thanks - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated techno

Re: [Wicket-user] DataView (extentions)

2006-07-12 Thread Frank Silbermann
Several months ago I mentioned that I was developing classes based on WicketExtensions' DataTable and SortableDataProvider to display arbitrary SQL SELECT result sets, with arbitrary sorting capability built-in.     My approach is only appropriate for small result sets or for prototyping, as

Re: [Wicket-user] wicket examples - live in action

2006-07-12 Thread jan_bar
Thanks for reply. It's AJAX issue. In my IE browser I have disabled ActiveX components. Instead of some alert like "cannot instantiate transfer object", I get the "Internal error". With enabled ActiveX it works fine. Jan "Gwyn Evans" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > H

Re: [Wicket-user] Proxessing uncaught exceptions

2006-07-12 Thread Tymur Porkuyan
> If you want to get hold on the actual exception that has been thrown you > need to override the ExceptionResponseStrategy in > DefaultWebRequestCycleProcessor. Thanks, it's exactly what I wanted :) - Using Tomcat but need

Re: [Wicket-user] Wicket-user Digest, Vol 2, Issue 94

2006-07-12 Thread ketan gote
hello friends we have taken one autocomplete text field and we have to set unicode character to it. ie the enterd value be english and it will show the format in other type wating for reply ketan - Using Tomcat but need to

[Wicket-user] Page Expired Error on pages containing Link and PagingNavigator

2006-07-12 Thread [EMAIL PROTECTED] Imam
Hi,i seem to get the page expired error when a user tries to go to a previous page using the browsers back button.This error mainly occurs in pages using 'Link's Pages containing BookMarkablePageLinks dont seem to create trouble.The error also occurs in pages using PagingNavigators. Especially whe

Re: [Wicket-user] wicket examples - live in action

2006-07-12 Thread Gwyn Evans
Hmm - no idea if there were transient issues with the hosting, but I just tried the helloworld one with no problems... /Gwyn On 12/07/06, jan_bar <[EMAIL PROTECTED]> wrote: > Hi, > > just to let you know, the live exmples at > http://www.wicket-library.com/wicket-examples/ doesn't work well (at l

[Wicket-user] wicket examples - live in action

2006-07-12 Thread jan_bar
Hi, just to let you know, the live exmples at http://www.wicket-library.com/wicket-examples/ doesn't work well (at least for me). When I click on "Source code" and select any file on the left, I get "Internal error". Thanks, Jan ---