Re: [Wicket-user] Form submit from outside Wicket

2006-08-23 Thread Johan Compagner
in 2.0 you can submit to a stateless form. Then you have all your validation and converting.Maybe we will backport this to 1.3johanOn 8/23/06, Nili Adoram [EMAIL PROTECTED] wrote: But then I would not have the Form.process() method called with all itsbenefits (form validation etc).Is it valid to

Re: [Wicket-user] Form submit from outside Wicket

2006-08-23 Thread Igor Vaynberg
i guess the most pita thing about this would be to properly map your request parameters to component paths of form components so wicket can properly associate request parameters with the proper form components.maybe some util methods in statelessform to help with this somewhoe - since its sucha a

Re: [Wicket-user] Form submit from outside Wicket

2006-08-23 Thread Johan Compagner
override:FormComponent.getInputName()and make sure they are in sync.johanOn 8/23/06, Igor Vaynberg [EMAIL PROTECTED] wrote:i guess the most pita thing about this would be to properly map your request parameters to component paths of form components so wicket can properly associate request

Re: [Wicket-user] best practice for uploading and using content (images) with wicket?

2006-08-23 Thread Sebastian Pflugbeil
Well, thanks a lot, thats really much more simple then i figured =P. Maybe any pointers why the stream from the file system doesnt work? ;) igor.vaynberg wrote: your problem is not retreiving the data from the db - it is the weird stuff you try to do when stream it back to the browser. why

Re: [Wicket-user] creating a javascript prompt component

2006-08-23 Thread Hugo Visser
Okay, that could work, but in my case I'm not wrapping each led-sign element in a form. What I've come up with, after looking at the Link class, is registering a new IRequestListener, my PromptResultListener.Then, when rendering i get the url for the listener and append a parameter, like this:

Re: [Wicket-user] best practice for uploading and using content (images) with wicket?

2006-08-23 Thread Korbinian Bachl
this is Java - we have no pointers :P basically, if you want to get the data from a file you do it a bit different as from a DB stream, if you look here, youll see the basic behind IO here: http://www.physik.uni-muenchen.de/kurs/Computing/java/node36.html (its german, so u will understand it

[Wicket-user] problem with wicket portlets

2006-08-23 Thread Steen Larsen
Hi,I have been trying out the portlet support in wicket, and have the problem that when I press a button or link it seems like the default action is called so that I never sees anything else than the first page. I have tried the portlet example from subversion, and a portlet adapted version of the

Re: [Wicket-user] problem with wicket portlets

2006-08-23 Thread Janne Hietamäki
On 23.8.2006, at 13.15, Steen Larsen wrote: Hi, I have been trying out the portlet support in wicket, and have the problem that when I press a button or link it seems like the default action is called so that I never sees anything else than the first page. I have tried the portlet

[Wicket-user] How to Implement Looping in wicket

2006-08-23 Thread sathya81
Hi, I was going through the repeater examples , i just wanna know how can i implement looping in wicket, for example i have vector populated with some records fetched from a database , now how can loop through the vector and display the records in the html page? I dont understand where exactly

Re: [Wicket-user] How to Implement Looping in wicket

2006-08-23 Thread Johan Compagner
for records in a database it is better to use a Repeater then the Listview.Especially if you have call backs (like edit or delete to it)because you have to specify your own model then that holds the record of the database. On 8/23/06, sathya81 [EMAIL PROTECTED] wrote: Hi,I was going through the

Re: [Wicket-user] trying to initialize wickets date picker with server time

2006-08-23 Thread Johan Compagner
why don't you give the model object that the datepicker component has an inital value?(which is new Date())johanOn 8/23/06, Tomer Mevorach [EMAIL PROTECTED] wrote:hi, I have a DatePicker in my application and it works fine when itsinitialized with client machine time.I have problems initializing

[Wicket-user] Javaref.com

2006-08-23 Thread Nathan Hamblen
Take a look, if you haven't already: it's VERY well done. And it's done in Tapestry. Yay for second-gen Web frameworks, or something. Nathan - Using Tomcat but need to do more? Need to support web services, security? Get

Re: [Wicket-user] best practice for uploading and using content (images) with wicket?

2006-08-23 Thread Igor Vaynberg
or look at the source of DownloadLink as it streams a file from disk-IgorOn 8/23/06, Korbinian Bachl [EMAIL PROTECTED] wrote:this is Java - we have no pointers :Pbasically, if you want to get the data from a file you do it a bit different as from a DB stream, if you look here, youll see the basic

Re: [Wicket-user] How to Implement Looping in wicket

2006-08-23 Thread Gwyn Evans
Using the repeater examples, the looping is done by the framework as it walks the Iterator that's returned by the IDataProvider.iterator() implemention (ContactDataProvider). You could have a look at WicketPhonebook, but I think it's very similar to the examples. /Gwyn On 23/08/06, sathya81

Re: [Wicket-user] How to Implement Looping in wicket

2006-08-23 Thread Igor Vaynberg
the looping itself is implemented by the repeater component - DataView,GridView,DataTable,RefreshingView,ListView,Loop,etc. the populateItem method is called for every element in the iterator/list and builds the component hierarchy to represent that element. -IgorOn 8/23/06, sathya81 [EMAIL

Re: [Wicket-user] Javaref.com

2006-08-23 Thread Nick Heudecker
I'm just happy I was able to purchase the advertising for Wicket (and Struts). :) On 8/23/06, Nathan Hamblen [EMAIL PROTECTED] wrote:Take a look, if you haven't already: it's VERY well done. And it's done in Tapestry. Yay for second-gen Web frameworks, or

Re: [Wicket-user] Javaref.com

2006-08-23 Thread Matej Knopp
Nathan Hamblen wrote: Take a look, if you haven't already: it's VERY well done. And it's done in Tapestry. Yay for second-gen Web frameworks, or something. Is it? 269 kb of javascript (not even compressed), I can't check limit search to favorites in firefox (because I've different font set)...

[Wicket-user] set focus on TextField

2006-08-23 Thread Mats Norén
Hi, I've got a panel for adding dates with an add link, when the link is clicked I replace it with a small form with a single TextField (input type=text..). What I would like to do is to set focus on the textfield when I switch panels. Is there an easy solution for this? I guess I could add an

Re: [Wicket-user] Javaref.com

2006-08-23 Thread Nathan Hamblen
Matej Knopp wrote: Nathan Hamblen wrote: Take a look, if you haven't already: it's VERY well done. And it's done in Tapestry. Yay for second-gen Web frameworks, or something. Is it? 269 kb of javascript (not even compressed), I can't check limit search to favorites in firefox (because I've

Re: [Wicket-user] Override RatingPanel Property

2006-08-23 Thread Eelco Hillenius
In which properties file did you set that? MyRatingPanel.properties or something like that? Eelco On 8/22/06, Joe Toth [EMAIL PROTECTED] wrote: I can't seem override the resource value in the RatingPanel component. Added rating.simple=Please Rate to my properties file, but its not picking

[Wicket-user] HHHHHHHHelp

2006-08-23 Thread luc jean
Hello guysI need a help to startwithwicket, can anybody point me to a tutorials , or a nice free wicket document, my main purpose of looking at wicket is to make a front end.Thanks Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.

Re: [Wicket-user] problem with wicket portlets

2006-08-23 Thread Janne Hietamäki
On 23.8.2006, at 13.22, Janne Hietamäki wrote: On 23.8.2006, at 13.15, Steen Larsen wrote: Hi, I have been trying out the portlet support in wicket, and have the problem that when I press a button or link it seems like the default action is called so that I never sees anything else than

Re: [Wicket-user] HHHHHHHHelp

2006-08-23 Thread Martijn Dashorst
How about: http://wicketframework.org/Examples.html http://wicketframework.org/wiki http://www.wicket-wiki.org.uk/wiki/index.php/Documentation_Index Martijn On 8/23/06, luc jean [EMAIL PROTECTED] wrote: Hello guys I need a help to start with wicket, can anybody point me to a tutorials ,

Re: [Wicket-user] problem with wicket portlets

2006-08-23 Thread Steen Larsen
thanks, will try it out tomorrow/SteenOn 8/23/06, Janne Hietamäki [EMAIL PROTECTED] wrote:On 23.8.2006, at 13.22, Janne Hietamäki wrote: On 23.8.2006, at 13.15, Steen Larsen wrote: Hi, I have been trying out the portlet support in wicket, and have the problem that when I press a button or link

[Wicket-user] SharedResources from code

2006-08-23 Thread Aaron Hiniker
I'm trying to create an Image component with a PackageResourceReference to an actual image in my application. I have something like this: public class Icons { private static Log log = LogFactory.getLog(Icons.class); public static ResourceReference HOUSE_ICON = new

Re: [Wicket-user] SharedResources from code

2006-08-23 Thread Igor Vaynberg
it isnt - and it is incorporated as of 1.2.1-IgorOn 8/23/06, Aaron Hiniker [EMAIL PROTECTED] wrote: I'm trying to create an Image component with a PackageResourceReference to an actual image in my application. I have something like this: public class Icons { private static Log log =

[Wicket-user] getParent() is null

2006-08-23 Thread Aaron Hiniker
I am using a special IFeedbackMessageFilter to basically scope feedback messages to a particular component and all of it's children. The problem I am having (and this problem has existed for quite awhile, I just haven't had the time to look into it all that much) is that in some circumstances

Re: [Wicket-user] Javaref.com

2006-08-23 Thread cowwoc
I personally dislike their UI. The technology might be nice and well but they need some UI guy to clean things up. Just my 2 cents. Gili Nathan Hamblen wrote: Take a look, if you haven't already: it's VERY well done. And it's done in Tapestry. Yay for second-gen Web frameworks, or

Re: [Wicket-user] getParent() is null

2006-08-23 Thread Aaron Hiniker
I think i've fixed the problem. The problem was I was overriding getVisible() and checking for the presence for feedback messages there, but at that point the hierarchy is already altered. After looking over the source code, I noticed that IFeedback instances get updateFeedback() called before