Re: How to make img src in a component's template resolve to the image files in the package?

2008-03-31 Thread Matthew Young
urlfor(new ResourceReference(MyComponent.class, image.png)); Alright! That works. And Enrique, now I understand what you were telling me. Thanks. Igor, I made this little thing: public class PackageImage extends WebComponent { private static final long serialVersionUID = 1L; private

Re: Best method of testing behaviors.

2008-03-31 Thread Ned Collyer
to the tester.setStartPage eg, tester.setStartPage(new HomePage()); I get that stacktrace. (i'm attaching a quickstart) http://www.nabble.com/file/p16392631/20080331-test.tar.gz 20080331-test.tar.gz Am i doing something stupid? igor.vaynberg wrote: weird, we use that construct all over the place

Re: How to make img src in a component's template resolve to the image files in the package?

2008-03-31 Thread Igor Vaynberg
so if that is all it does why does it need to be a component? also you shouldnt keep references to Class objects in your components, app server will have trouble restarting the app when it tries to unload it...so keep the class name instead as far as having something like this by default in

Re: Best method of testing behaviors.

2008-03-31 Thread Igor Vaynberg
()); I get that stacktrace. (i'm attaching a quickstart) http://www.nabble.com/file/p16392631/20080331-test.tar.gz 20080331-test.tar.gz Am i doing something stupid? igor.vaynberg wrote: weird, we use that construct all over the place. eg see FormSubmitTest -igor

Re: Best method of testing behaviors.

2008-03-31 Thread lars vonk
. (i'm attaching a quickstart) http://www.nabble.com/file/p16392631/20080331-test.tar.gz 20080331-test.tar.gz Am i doing something stupid? igor.vaynberg wrote: weird, we use that construct all over the place. eg see FormSubmitTest -igor -- View

Re: Inspecting AjaxRequestTarget

2008-03-31 Thread Federico Fanton
On Fri, 28 Mar 2008 09:31:39 -0700 Igor Vaynberg [EMAIL PROTECTED] wrote: fine by me Great, I'll keep an eye on SVN then, thanks to everyone :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Inspecting AjaxRequestTarget

2008-03-31 Thread Igor Vaynberg
you should probably open a jira issue, that way we wont forget about it...because i already have -igor On Mon, Mar 31, 2008 at 12:19 AM, Federico Fanton [EMAIL PROTECTED] wrote: On Fri, 28 Mar 2008 09:31:39 -0700 Igor Vaynberg [EMAIL PROTECTED] wrote: fine by me Great, I'll keep an

Re: Inspecting AjaxRequestTarget

2008-03-31 Thread Johan Compagner
done and fixed On Mon, Mar 31, 2008 at 9:22 AM, Igor Vaynberg [EMAIL PROTECTED] wrote: you should probably open a jira issue, that way we wont forget about it...because i already have -igor On Mon, Mar 31, 2008 at 12:19 AM, Federico Fanton [EMAIL PROTECTED] wrote: On Fri, 28 Mar 2008

Re: Best method of testing behaviors.

2008-03-31 Thread Johan Compagner
this, then try to send an instance of a page to the tester.setStartPage eg, tester.setStartPage(new HomePage()); I get that stacktrace. (i'm attaching a quickstart) http://www.nabble.com/file/p16392631/20080331-test.tar.gz 20080331-test.tar.gz Am i doing

Re: Intention of PropertyModel in 1.3

2008-03-31 Thread David Leangen
Thank you very much!! On Sun, 2008-03-30 at 21:46 -0700, Igor Vaynberg wrote: patch applied. always report a jira issue, that way things dont get forgotten, and as you can see submitting a patch helps too :) -igor On Sun, Mar 30, 2008 at 9:36 PM, David Leangen [EMAIL PROTECTED]

Re: Page-dependent timeout values for session

2008-03-31 Thread Nino Saturnino Martinez Vazquez Wael
Hi Per Eelco's written a part on it, look here : http://chillenious.wordpress.com/2007/06/19/how-to-create-a-text-area-with-a-heart-beat-with-wicket/ Checkout the updated part, which is the one I'd suggest you use... regards Nino Per Newgro wrote: Hi Nino Saturnino Martinez Vazquez Wael:

Re: Best method of testing behaviors.

2008-03-31 Thread Nino Saturnino Martinez Vazquez Wael
I think you could benefit from the tagtester here right? regards Nino Ned Collyer wrote: What I've done is.. but feels like it could be nicer. (but this is alright really :)) public void testMyBehavior() { //create form component to have behaviour placed around it. FormComponent

Re: Best Wicket Books or Tutorials

2008-03-31 Thread Gabor Szokoli
Hi, On 3/31/08, Gareth Segree [EMAIL PROTECTED] wrote: If Wicket then I'm looking for good tutorials on wicket or books. Make sure you understand Models before everything else, and CompoundPropertyModel right after Hello World. That's what I've learned from introducing wicket to my team.

Re: Referencing images in javascript - wicket 1.3.1

2008-03-31 Thread Andrew Moore
Thanks, that's perfect. igor.vaynberg wrote: urlfor(new resourcereference(Panels.class, folder.gif)); -igor On Fri, Mar 28, 2008 at 1:11 AM, Andrew Moore [EMAIL PROTECTED] wrote: I'm using wicket 1.3.1 and have a javascript file which needs to reference some images. I'm

How do I get a change in my tree model to be displayed?

2008-03-31 Thread David Leangen
Hi. The ajax stuff is a bit new to me, so sorry if this is an obvious question. I'm trying to figure out how to get my change in my tree model to show up on screen. I want to be able to expand to and select a node from the tree based on its value (determined elsewhere in the application). I

Re: How do I get a change in my tree model to be displayed?

2008-03-31 Thread Thomas Kappler
Hi, first of all, in the first line of the loop, shouldn't node be nextNode? Then, you're directly calling listener methods, which are supposed to be callbacks, i.e., they are called by the framework when, and after, a selection or expansion happens. You should use the methods offered by

Re: How do I get a change in my tree model to be displayed?

2008-03-31 Thread David Leangen
Beautiful. Thank you! On Mon, 2008-03-31 at 10:25 +0200, Thomas Kappler wrote: Hi, first of all, in the first line of the loop, shouldn't node be nextNode? Then, you're directly calling listener methods, which are supposed to be callbacks, i.e., they are called by the framework when,

Help to choice ajax component

2008-03-31 Thread Fabien D.
Hi everybody, I m new user of wicket, and I need your opinion for helping me to do something. Like gmail when you attach a file, I would like to do a link which can be clicked and permits to display a new textfield with a button (fo searching a file) and a radiobox. This link can be clicked

Re: Best method of testing behaviors.

2008-03-31 Thread Ned Collyer
Doh - i didnt search adequately. I raised http://issues.apache.org/jira/browse/WICKET-1466 but I've marked it as a dupe. I'm not sure if you guys want it just linked as dupe, or resolved as dupe. At the moment its resolved as dupe AND linked - and has the quickstart attached. Sorry for the

Re: Help to choice ajax component

2008-03-31 Thread Nino Saturnino Martinez Vazquez Wael
Use a panel and a listview or something near that or: Look at the example on fileupload in wicket examples: http://wicketstuff.org/wicket13/upload/multi regards Nino Fabien D. wrote: Hi everybody, I m new user of wicket, and I need your opinion for helping me to do something. Like gmail

Re: UploadProgress Bar and cancel button

2008-03-31 Thread Nino Saturnino Martinez Vazquez Wael
This is something not really wicket related, but more workerthread... You need for it to run asynch in order for wicket to be able to process it the way you want to, worker thread can solve this.. regards Nino sunraider wrote: I have a page with upload form and added the upload progress bar,

Re: Inspecting AjaxRequestTarget

2008-03-31 Thread Federico Fanton
On Mon, 31 Mar 2008 09:57:51 +0200 Johan Compagner [EMAIL PROTECTED] wrote: done and fixed And very quickly! Kudos to the Wicket devs! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Mount causes strange effects on my web application

2008-03-31 Thread SteamR
Hi, I hope someone could help me with this... I have 5 pages which are pretty standalone but stateful, and they have nothing to do with each other. Now I thought of having bookmarks for each of these pages, and added a mount point to /pwa. Now the problems started; my page's constructor was

Re: Help to choice ajax component

2008-03-31 Thread Fabien D.
Thank you for your help, but is there another solution?? Because i want to add as many FileUploadFiled (with Radio) as the user have clicked in my link? My research don't let me optimistic by using ListView. -- View this message in context:

Package resource not found in YUI package

2008-03-31 Thread Fynn
Hey, in my log are a couple of warnings that package resources are not found. I use a Datepicker on this site, but this one runs as expected. I looked in the wicket datetime 1.3.1 jar and have nothing found. How can i disable this warnings or switch them off? Thanks for helping me Fynn

Re: Package resource not found in YUI package

2008-03-31 Thread Fabien D.
Have you check with the version 1.3.2? -- View this message in context: http://www.nabble.com/Package-resource-not-found-in-YUI-package-tp16395623p16395915.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: right click popup context menu

2008-03-31 Thread Reinout van Schouwen
Hello Karen, Op donderdag 06-03-2008 om 10:42 uur [tijdzone -0500], schreef Karen Schaper: I have a data table and for each row that is generated, I'd like to be able to right click on the row and have actions that I can perform on the row appear in a popup menu. At risk of stating the

Re: How to make img src in a component's template resolve to the image files in the package?

2008-03-31 Thread James Carman
On Mon, Mar 31, 2008 at 12:28 AM, Matthew Young [EMAIL PROTECTED] wrote: wicket:link doesnt touch components afaik :( I need it to be a component. My code is basically this: add(new WebMarkupContainer(img)); Why do you need it to be a component? Are you controlling

Re: Package resource not found in YUI package

2008-03-31 Thread Fynn
Fabien D. wrote: Have you check with the version 1.3.2? Yes, but wicket 1.3.2 dosn´t work for my app. http://www.nabble.com/Wicket-1.3.2---java.lang.NullPointerException-ts16119078.html http://www.nabble.com/Wicket-1.3.2---java.lang.NullPointerException-ts16119078.html -- View this

Re: Help to choice ajax component

2008-03-31 Thread Nino Saturnino Martinez Vazquez Wael
Neither of the methods described inhibit you in number of files... Just increased the number as you go.. Fabien D. wrote: Thank you for your help, but is there another solution?? Because i want to add as many FileUploadFiled (with Radio) as the user have clicked in my link? My research don't

Re: TextField returning a null

2008-03-31 Thread Johan Compagner
if you are setting the type The converter is called and not convertValue() i am still not really happy with this but for 1.3/1.4 this is the way it works And i guess the String converter that does String to String doesnt óok at that convert empty input to null value at all Do you have your own?

Re: TextField returning a null

2008-03-31 Thread Johan Compagner
Ok i guess if if quickly look at the code. If you dont do your own converter then it defaults i guess to the DefaultConverter that does this: public Object convertToObject(String value, Locale locale) { if (value == null) { return null;

Re: Variation for a page

2008-03-31 Thread Wouter Huijnink
Mathias P.W Nilsson wrote: Hi! I have a page that can have multiple views. A detailed list, a text list and a thumbnail list. All data is comping from the same model but how can I change the layout for the view? Should I use 3 different html templates or how should I solve this? Define 3

London Wicket Event - Wednesday evening at Google

2008-03-31 Thread jweekend
Just a reminder that our next event is on Wednesday evening at Google's offices. You can register and keep an eye on full details http://jweekend.com/dev/LWUGReg/ here (some of you have not confirmed or cancelled yet - please do so as we need to fix security and manage the space available).

Re: TextField returning a null

2008-03-31 Thread Eric Rotick
I guess, if this was a real issue then more users would have reported it. However, as a TextField is such an innocent component then any confusing behaviour should be addressed. Maintaining a common behaviour of setConvertEmptyInputStringToNull would do that and your proposed solution looks good.

Re: TextField returning a null

2008-03-31 Thread Johan Compagner
We already try to guess the type if the user doesn't set it (but not in constructor but much later when the component/model hierarchy is completed) But if the type is a String.class we will not set it and ignore it. So you shouldn't set the type to String.class by default, only set it when you

how to change the Label Value

2008-03-31 Thread shrimpywu
hi all, i am new to wicket, just ask a simple question.. how to change the value of a label for example Label label = new Label(id,imodel); how can do label.setValue(some string); plz help.. -- View this message in context:

Re: Resources relative to application context

2008-03-31 Thread Al Maw
Actually, this should Just Work (tm). Are you running on Tomcat? Regards, Alastair On Mon, Mar 31, 2008 at 4:34 AM, [EMAIL PROTECTED] wrote: You got it -igor On 3/30/08, Zheng, Xiahong [EMAIL PROTECTED] wrote: Thanks Igor. But my resource in this case is style sheet not image. Does

Re: how to change the Label Value

2008-03-31 Thread Fabien D.
Label label = new Label(id,new Model(Here you set your value)); shrimpywu wrote: hi all, i am new to wicket, just ask a simple question.. how to change the value of a label for example Label label = new Label(id,imodel); how can do label.setValue(some string); plz help..

Re: continueToOriginalDestination resolves to wrong URL

2008-03-31 Thread Al Maw
That bug was closed for rc 1, so you shouldn't be having this issue unless you're on a beta version. Please could you provide some more details? Which Wicket version? Which servlet container? Regards, Alastair On Mon, Mar 31, 2008 at 3:32 AM, Zheng, Xiahong [EMAIL PROTECTED] wrote: Just

Re: Help to choice ajax component

2008-03-31 Thread Fabien D.
I've investigued the ListView, and i have succeded for doing my dynamic adding item. The problem now is that when i add a Item, all the fields are reseted, It don't keep the information in the field. The is my code : this.test = new ArrayList(); CheckBox toto = new

Wicket group on linkedin

2008-03-31 Thread Nino Saturnino Martinez Vazquez Wael
Hi I've created a linkedin group for wicket, please feel free to join.. And I hope it's okay that I created it.. regards Nino -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684

Re: Wicket group on linkedin

2008-03-31 Thread Ryan Sonnek
url? On Mon, Mar 31, 2008 at 9:27 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi I've created a linkedin group for wicket, please feel free to join.. And I hope it's okay that I created it.. regards Nino -- -Wicket for love Nino Martinez Wael Java

Using colspan in DataGridView?

2008-03-31 Thread James Carman
I have a table in our application that uses colspans for certain cells. The AbstractDataGridView (and DataGridView subclass) uses the concept of an ICellPopulator. This assumes that there will be m x n table cells (m = number cols, n = number rows) since it manufactures each cell's Item and then

Re: Wicket group on linkedin

2008-03-31 Thread Nino Saturnino Martinez Vazquez Wael
Right:) Im not familiar with linkedin:) This is the group invitation url, I believe.. http://www.linkedin.com/e/gis/80181/73AB8A016DFF Ryan Sonnek wrote: url? On Mon, Mar 31, 2008 at 9:27 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi I've created a linkedin group

Re: Wicket group on linkedin

2008-03-31 Thread Thomas Kappler
On Mon, Mar 31, 2008 at 4:37 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: This is the group invitation url, I believe.. http://www.linkedin.com/e/gis/80181/73AB8A016DFF Seems to work. I registered, approval is pending. Thomas

RE: Best Wicket Books or Tutorials

2008-03-31 Thread Fatih Mehmet UÇAR
That is a good one. Below is the contents pages of the book. You may decide better when you see the scope,contents of the book. Table of Contents Foreword 3 How to create AJAX web-based application

Re: Best Wicket Books or Tutorials

2008-03-31 Thread Eelco Hillenius
On Mon, Mar 31, 2008 at 7:45 AM, Gareth Segree [EMAIL PROTECTED] wrote: Is Enjoying Web Development with Wicket any good? Easiest way to start reading yourself, as you can download the first three chapters for free. And the first chapter of both Wicket In Action and Pro Wicket are freely

Re: Best Wicket Books or Tutorials

2008-03-31 Thread Nino Saturnino Martinez Vazquez Wael
Hi Gareth I'd also suggest that you create a wiki page on books and tutorials you find.. I've written one tutorial the blog tutorial(I admit it needs a little loving from my side, especially around the documentation and exercises):

Re: London Wicket Event - Wednesday evening at Google

2008-03-31 Thread Al Maw
Further to this, we'd really like to hear some user stories about what you're up to with Wicket. If you'd like to do a two-minute demo pimping your site and telling us what you've found good/bad about developing with Wicket, that would be great. If you can't or don't want to do a demo, but have a

Re: Best method of testing behaviors.

2008-03-31 Thread Igor Vaynberg
On Mon, Mar 31, 2008 at 1:50 AM, Ned Collyer [EMAIL PROTECTED] wrote: Doh - i didnt search adequately. I raised http://issues.apache.org/jira/browse/WICKET-1466 but I've marked it as a dupe. I'm not sure if you guys want it just linked as dupe, or resolved as dupe. At the moment its

Re: Mount causes strange effects on my web application

2008-03-31 Thread Igor Vaynberg
does sound very strange. are you sure you dont have something like img src=/ in your markup? empty src will cause the browser to re-request the same url.. -igor On Mon, Mar 31, 2008 at 2:54 AM, SteamR [EMAIL PROTECTED] wrote: Hi, I hope someone could help me with this... I have 5 pages

RE: Resources relative to application context

2008-03-31 Thread Zheng, Xiahong
Yes, on tomcat 6.0. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Al Maw Sent: Monday, March 31, 2008 10:12 AM To: users@wicket.apache.org Subject: Re: Resources relative to application context Actually, this should Just Work (tm). Are you running on

RE: continueToOriginalDestination resolves to wrong URL

2008-03-31 Thread Zheng, Xiahong
My environment: Wicket version: 1.3.2 Servlet Container: tomcat 6.0.14 The problem is definitely still there if I map wicketfilter at /*. However, I just found if I add an extra path such as /abc/* in the mapping it starts to work. This workaround requires my application to add an extra path to

AjaxSubmitButton and Session Timeout (1.2.7)

2008-03-31 Thread Markus Strickler
Hi- we have some problems with a page that uses AjaxSubmitButton. Once the session has expired clicking the button just does nothing. AJAX debug gives the follwing output: INFO: INFO: Initiating Ajax POST request on

Re: AjaxSubmitButton and Session Timeout (1.2.7)

2008-03-31 Thread Igor Vaynberg
you can register general failure handlers in your page: easiest way is to simply have function wicketGlobalFailureHandler() { ... } defined somewhere, a better way is to define it like this: Wicket.Ajax.registerFailureHandler(function() { ...}) -igor On Mon, Mar 31, 2008 at 10:15 AM, Markus

Re: Wicket:enclosure isn't working with ajax?

2008-03-31 Thread Igor Vaynberg
enclosures dont really work with ajax. you would have to update some container that the enclosure is in -igor On Mon, Mar 31, 2008 at 10:22 AM, Juha Alatalo [EMAIL PROTECTED] wrote: Hi, is there any way to set a component, which is surrounded by wicket:enclosure, visible via ajax?

Re: Wicket:enclosure isn't working with ajax?

2008-03-31 Thread Igor Vaynberg
wicket:enclosure is a _convinience_ so dont expect it to work everywhere for every imaginable usecase. -igor On Mon, Mar 31, 2008 at 10:30 AM, Juha Alatalo [EMAIL PROTECTED] wrote: Ok. That's the answer I was afraid of. - Juha Igor Vaynberg wrote: enclosures dont really work with

Re: Wicket group on linkedin

2008-03-31 Thread Nino Saturnino Martinez Vazquez Wael
Fixed. And we are already 18 in the group:) Gerolf Seitz wrote: nice. one minor issue: the url of the website is wrong: it's not www.wicket.apache.org but just http://wicket.apache.org. cheers, gerolf On Mon, Mar 31, 2008 at 4:27 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]

Re: How to use an action level authorization?

2008-03-31 Thread Eelco Hillenius
My question is simple... :) How to use an action level authorization. I cannot find any info or example. There is an example of it in wicket-examples that uses wicket-auth (which in itself is mainly an example project). Eelco

Re: How to make img src in a component's template resolve to the image files in the package?

2008-03-31 Thread Matthew Young
To Igor and James: so if that is all it does why does it need to be a component? Why do you need it to be a component? Are you controlling the visibility of it via code? #1, I need to add(IBehavior) to the img's to make change to their class attribute, so I need them to be a component. #2, I

Re: convert open-close to open

2008-03-31 Thread Gerolf Seitz
what's the use case for doing that? Gerolf On Mon, Mar 31, 2008 at 4:32 PM, Eyal Golan [EMAIL PROTECTED] wrote: Hi, How can I convert a tag that is of type open-close: input bla bla bla / to input bla bla /input ? The API says that I should not use the setTag(XmlTag) method. If I do I

Re: convert open-close to open

2008-03-31 Thread Nino Saturnino Martinez Vazquez Wael
Is it even something wicket supports? Gerolf Seitz wrote: what's the use case for doing that? Gerolf On Mon, Mar 31, 2008 at 4:32 PM, Eyal Golan [EMAIL PROTECTED] wrote: Hi, How can I convert a tag that is of type open-close: input bla bla bla / to input bla bla /input ? The API says

Re: convert open-close to open

2008-03-31 Thread Gerolf Seitz
yes, this is what happens to span wicket:id=myLabel/ all the time. also with wicket:message key=key/, ... Gerolf On Mon, Mar 31, 2008 at 9:04 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Is it even something wicket supports? Gerolf Seitz wrote: what's the use case

Re: London Wicket Event - Wednesday evening at Google

2008-03-31 Thread Jonathan Locke
With Google sponsoring Wicket meetings, I'm wondering if we might someday see Wicket/GWT integration? jweekend wrote: Just a reminder that our next event is on Wednesday evening at Google's offices. You can register and keep an eye on full details http://jweekend.com/dev/LWUGReg/ here

Re: convert open-close to open

2008-03-31 Thread Johan Compagner
No, wicket doesnt alter html like that On 3/31/08, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Is it even something wicket supports? Gerolf Seitz wrote: what's the use case for doing that? Gerolf On Mon, Mar 31, 2008 at 4:32 PM, Eyal Golan [EMAIL PROTECTED] wrote:

Re: convert open-close to open

2008-03-31 Thread Gerolf Seitz
well, not wrt the blablabla thing, but it does change open-close tags to open-body-close. On Mon, Mar 31, 2008 at 9:12 PM, Johan Compagner [EMAIL PROTECTED] wrote: No, wicket doesnt alter html like that On 3/31/08, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Is it even

Re: London Wicket Event - Wednesday evening at Google

2008-03-31 Thread Johan Compagner
How do you see that intergration? The only thing that gwt has on the server is 'services' Dont see how wicket can do much there On 3/31/08, Jonathan Locke [EMAIL PROTECTED] wrote: With Google sponsoring Wicket meetings, I'm wondering if we might someday see Wicket/GWT integration? jweekend

Re: How to make img src in a component's template resolve to the image files in the package?

2008-03-31 Thread Johan Compagner
Whats wrong with /resources/images/xxx.jpg On 3/31/08, Matthew Young [EMAIL PROTECTED] wrote: To Igor and James: so if that is all it does why does it need to be a component? Why do you need it to be a component? Are you controlling the visibility of it via code? #1, I need to

Re: London Wicket Event - Wednesday evening at Google

2008-03-31 Thread jweekend
Jonathan, It's certainly good to have them hosting us and to have a drink with some of the guys working there who have plenty of interesting ideas. As for the love-child, I already suggested a name ... Gwicket; not very imaginative maybe, but you've got to admit it sounds like a name you would

Re: How to make img src in a component's template resolve to the image files in the package?

2008-03-31 Thread Igor Vaynberg
On Mon, Mar 31, 2008 at 11:44 AM, Matthew Young [EMAIL PROTECTED] wrote: src=resources/com.mycompany.component.MyComponent/open.png or just wicket:linkimg src=open.png//wicket:link so i would say, no, it takes 10 minutes to write one I completely agree it's very trivial to create

Maven and InMethod Grid

2008-03-31 Thread Pinger
Got a Noob questions here. I want to use the InMethod Grid for wicket, but I have to use maven. Can anyone who is using it post the relevant part of their POM file. Thanks -- View this message in context: http://www.nabble.com/Maven-and-InMethod-Grid-tp16399038p16399038.html Sent from the

Re: London Wicket Event - Wednesday evening at Google

2008-03-31 Thread Igor Vaynberg
you can make roundtripping easier. for example, you develop a login panel that lets users either login or signup. a wicket component may look something like this: add(new LoginPanel(panel) { onLoging(String username, String password) {..} onSignup(String first, String last, String login,

Re: Maven and InMethod Grid

2008-03-31 Thread Matej Knopp
Sorry, I don't think the grid components are available in any public repo. I'd add it to bamboo on wicketstuff but somehow i can't access the server. -Matej On Mon, Mar 31, 2008 at 9:27 PM, Pinger [EMAIL PROTECTED] wrote: Got a Noob questions here. I want to use the InMethod Grid for wicket,

Re: convert open-close to open

2008-03-31 Thread Eyal Golan
I found my mistake. Instead of writing input wicket:id=ddd .../ , I told all my colleges to write input wicket:id=ddd .../input As I found that this is the way Wicket suggests writing the markup. On Mon, Mar 31, 2008 at 9:47 PM, Gerolf Seitz [EMAIL PROTECTED] wrote: what's the use case for

Re: Maven and InMethod Grid

2008-03-31 Thread Maurice Marrink
Server works fine for me. but unless it is for a wicketstuff project you are better of installing the jars in your companies repo. Maurice On Mon, Mar 31, 2008 at 9:33 PM, Matej Knopp [EMAIL PROTECTED] wrote: Sorry, I don't think the grid components are available in any public repo. I'd add

Re: Bug on modal window

2008-03-31 Thread Matej Knopp
It can not be span. Span is an inline element so you can't put block element such as divs inside span. That is invalid markup and it confuses browsers. -Matej On Mon, Mar 31, 2008 at 10:22 PM, Marco Aurélio Silva [EMAIL PROTECTED] wrote: Hi all I found a bug in ModalWindow of wicket 1.2.6.

Re: Maven and InMethod Grid

2008-03-31 Thread Matej Knopp
I know it does. It seems to refuse only slovak IP :) -Matej On Mon, Mar 31, 2008 at 10:00 PM, Maurice Marrink [EMAIL PROTECTED] wrote: Server works fine for me. but unless it is for a wicketstuff project you are better of installing the jars in your companies repo. Maurice On Mon, Mar

Re: Bug on modal window

2008-03-31 Thread Marco Aurélio Silva
But it works fine on FF On Mon, Mar 31, 2008 at 5:35 PM, Matej Knopp [EMAIL PROTECTED] wrote: It can not be span. Span is an inline element so you can't put block element such as divs inside span. That is invalid markup and it confuses browsers. -Matej On Mon, Mar 31, 2008 at 10:22 PM,

Re: Bug on modal window

2008-03-31 Thread Matej Knopp
It can cause all kinds of problems, even ones you can not see immediately, like with forms or other layout problems. If it's invalid then it's invalid. Not all browsers can cope with that. -Matej On Mon, Mar 31, 2008 at 10:54 PM, Marco Aurélio Silva [EMAIL PROTECTED] wrote: Actually, it works

Re: Bug on modal window

2008-03-31 Thread Martijn Dashorst
What is your point? it works != it is good/legal/standards compliant/works everywhere/works any time/etc. Browsers are notorious for incompatible behavior for standards compliant markup. You just found out what happens with non-standards compliant markup. Martijn On 3/31/08, Marco Aurélio Silva

UrlValidator: optional schema or default schema?

2008-03-31 Thread Dan Kaplan
Hello, I was using the UrlValidator yesterday and I wished that there was a way for the schema to be optional. I think this would be useful most of the time as you normally expect someone to paste the URL of a website in certain situations. In that case, http:// can be assumed, if it's not

Re: How to make img src in a component's template resolve to the image files in the package?

2008-03-31 Thread Al Maw
Errr, or you could use the Image component, with a standard package resource? Regards, Alastair On Mon, Mar 31, 2008 at 8:26 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: On Mon, Mar 31, 2008 at 11:44 AM, Matthew Young [EMAIL PROTECTED] wrote:

Re: continueToOriginalDestination resolves to wrong URL

2008-03-31 Thread Al Maw
Yep, this is probably https://issues.apache.org/jira/browse/WICKET-1205 Am off to see if I can fix it right now. Regards, Alastair On Mon, Mar 31, 2008 at 5:54 PM, Zheng, Xiahong [EMAIL PROTECTED] wrote: My environment: Wicket version: 1.3.2 Servlet Container: tomcat 6.0.14 The problem

Re: convert open-close to open

2008-03-31 Thread Johan Compagner
is that supported input with a close tag? On Mon, Mar 31, 2008 at 9:49 PM, Eyal Golan [EMAIL PROTECTED] wrote: I found my mistake. Instead of writing input wicket:id=ddd .../ , I told all my colleges to write input wicket:id=ddd .../input As I found that this is the way Wicket suggests

Re: London Wicket Event - Wednesday evening at Google

2008-03-31 Thread Ned Collyer
Woogle would be so much cooler :). He could be another Ewok for sure! jweekend wrote: As for the love-child, I already suggested a name ... Gwicket; not very imaginative maybe, but you've got to admit it sounds like a name you would give some powerful framework. -- View this message

Re: London Wicket Event - Wednesday evening at Google

2008-03-31 Thread Igor Vaynberg
i thought this is woogle: http://www.google.com/coop/cse?cx=00079654818618231%3Aenjwek-gxxg -igor On Mon, Mar 31, 2008 at 3:48 PM, Ned Collyer [EMAIL PROTECTED] wrote: Woogle would be so much cooler :). He could be another Ewok for sure! jweekend wrote: As for the love-child,

Re: continueToOriginalDestination resolves to wrong URL

2008-03-31 Thread Al Maw
I've just spent two hours trying to reproduce this and failing to (see the bug). If anyone can give me a reproduceable test-case for this wrapped up in a nice Maven 2-backed project that I can just unzip and work with, then I will very keenly fix this. As it is, I just can't reproduce it. I guess

Accessing non-Wicket JavaScript variables inside Wicket

2008-03-31 Thread Michael Mehrle
I wrote a file uploader that works inside a Wicket modal window based on jQuery. Here's the original PHP based framework I based my work on: http://www.phpletter.com/Demo/AjaxFileUpload-Demo/ It's up and running (took some tweaking to say the least), but I am still facing one hurdle: The file

consume rss feeds in wicket

2008-03-31 Thread Ryan Sonnek
I just published a new wicketstuff-rome component that will allow users to consume rss feeds in wicket. This is something that I've been meaning to do for a *long* time, and finally got around to it. http://www.jroller.com/wireframe/entry/consume_rss_feeds_within_wicket I've seen a few posts on

Re: Variation for a page

2008-03-31 Thread Mathias P.W Nilsson
Thanks! I'm using Fragment right now but I have some difficulties in updateing the fragment. I have 3 private classes in my Wicket page for each fragment. private final class ThumbnailFragment extends Fragment { private static final long serialVersionUID = 0L;

URL Binding

2008-03-31 Thread Alan Gutierrez
How do I implement this URL strategy? http://twitter.com/bigeasy Where the page is generated based on a single path parameter? I'm new to Wicket. Where to I look? Alan -- Alan Gutierrez | [EMAIL PROTECTED] | http://blogometer.com/ | 504 717 1428 Think New Orleans | http://thinknola.com/

Re: URL Binding

2008-03-31 Thread Nick Heudecker
mountBookmarkablePage(..) in Application? On Mon, Mar 31, 2008 at 8:48 PM, Alan Gutierrez [EMAIL PROTECTED] wrote: How do I implement this URL strategy? http://twitter.com/bigeasy Where the page is generated based on a single path parameter? I'm new to Wicket. Where to I look? Alan

Re: URL Binding

2008-03-31 Thread Igor Vaynberg
and IndexedUrlCodingStrategy -igor On Mon, Mar 31, 2008 at 7:29 PM, Nick Heudecker [EMAIL PROTECTED] wrote: mountBookmarkablePage(..) in Application? On Mon, Mar 31, 2008 at 8:48 PM, Alan Gutierrez [EMAIL PROTECTED] wrote: How do I implement this URL strategy?

Re: URL Binding

2008-03-31 Thread Igor Vaynberg
cant mount the homepage to / yet, will be available in a later release. so just mount(/foo, getHomePage()) -igor On Mon, Mar 31, 2008 at 7:53 PM, Alan Gutierrez [EMAIL PROTECTED] wrote: Nope. java.lang.IllegalArgumentException: The mount path '/' is reserved for the application home page

Conditional Content

2008-03-31 Thread Alan Gutierrez
I like displaying my validation error messages right above the control in question. If I markup my document like so... div wicket:id=nameError This was an error. /div input name=name wicket:id=name/ Is there a way to remove div from the Java controller if there is no error? Alan -- Alan

Re: London Wicket Event - Wednesday evening at Google

2008-03-31 Thread Jonathan Locke
well it would be nice to make embedding GWT /applications/ easy too, but actually i was sortof remembering my old sprockets idea, i guess. i really don't know GWT well enough (there are not enough hours in the day it seems...), so i don't know if this is a bad idea technically (if, for example,

Re: convert open-close to open

2008-03-31 Thread Eyal Golan
yes it does. as well as button, which is what I intended originally On Tue, Apr 1, 2008 at 12:43 AM, Johan Compagner [EMAIL PROTECTED] wrote: is that supported input with a close tag? On Mon, Mar 31, 2008 at 9:49 PM, Eyal Golan [EMAIL PROTECTED] wrote: I found my mistake. Instead of

Re: Best Wicket Books or Tutorials

2008-03-31 Thread Eyal Golan
Gabor, do you have sliders of your introduction? I would like to have some info regarding CompoundPropertyModel ... On Mon, Mar 31, 2008 at 11:10 AM, Gabor Szokoli [EMAIL PROTECTED] wrote: Hi, On 3/31/08, Gareth Segree [EMAIL PROTECTED] wrote: If Wicket then I'm looking for good

Re: Best Wicket Books or Tutorials

2008-03-31 Thread Igor Vaynberg
On Mon, Mar 31, 2008 at 9:07 PM, Eyal Golan [EMAIL PROTECTED] wrote: I would like to have some info regarding CompoundPropertyModel ... http://cwiki.apache.org/WICKET/working-with-wicket-models.html -igor On Mon, Mar 31, 2008 at 11:10 AM, Gabor Szokoli [EMAIL PROTECTED] wrote: Hi,

  1   2   >