strange links

2008-06-06 Thread Tomasz Prus
I have links like this a class=B href=../../../Logowanie in page source. My boss wants i remove these dots. Can anyone help me ?

Re: ModalWindow

2008-06-06 Thread Maurice Marrink
On Thu, Jun 5, 2008 at 5:27 PM, nanotech [EMAIL PROTECTED] wrote: Hi All, I am using panel inside a ModalWindow. I have few questions regarding Modal Window. 1. It seems that setInitialWidth(800) is not being honoured. No matter what size I set it comes out to be same size. Did you set a

Re: Refreshing a List view

2008-06-06 Thread Maurice Marrink
If that does not work you can also force the list to recreate all items by calling removeAll() after you have deleted the object. Maurice On Thu, Jun 5, 2008 at 7:39 PM, Sam Barnum [EMAIL PROTECTED] wrote: Ricky, what are you using as the model for your refreshing view? You should be using

Re: strange links

2008-06-06 Thread Matej Knopp
The dots are there for a reason. Wicket generates relative URLs. -Matej On Fri, Jun 6, 2008 at 8:44 AM, Tomasz Prus [EMAIL PROTECTED] wrote: I have links like this a class=B href=../../../Logowanie in page source. My boss wants i remove these dots. Can anyone help me ?

Re: Item.getIndex() on DefaultDataTable

2008-06-06 Thread Maurice Marrink
On Thu, Jun 5, 2008 at 7:55 PM, Flavius [EMAIL PROTECTED] wrote: I'm using a DefaultDataTable and I want to get the index of the selected item. However the index always returns 0. Is this by design? new AbstractColumn(new Model(Test Label)) {

Re: DataProvider as model for AutoCompleteTextField?

2008-06-06 Thread Maurice Marrink
You can just wrap your dataprovider in a model, use the iterator to fill a temporary list and simply return that in your model. Optimally you would use a LDM or have a hook on your dataprovider (if you do not care about building a reusable model) to return the inner list of the provider. Maurice

Re: scriptaculous toaster

2008-06-06 Thread Nino Saturnino Martinez Vazquez Wael
Ryan Sonnek wrote: Not sure what this 'toaster' is, but i really like the multiple effect! is it available in 1.8 or is this in scriptaculous 2.0? Im not sure what the definition of toaster really are. But im thinking of something like this:

Re: Issues with Bookmarkable targets

2008-06-06 Thread David Leangen
I have one page mounted on: /mount And another mounted on: /mount/tree On the /mount/tree page, I have a tree component. Problem is that whenever I click on a node in the tree, I am taken to: /mount/mount You could try mounting /mount/tree first and then /mount

Re: scriptaculous toaster

2008-06-06 Thread Nino Saturnino Martinez Vazquez Wael
Hmm The Effect's as they are now gives me some trouble, because you need to give the component when creating the component. It would be much more flexible if it could be changed. And would allow the user to control which effects were used.. So what do you say? I could make the change:) API

Re: ListChoice Crashing on 13th Load

2008-06-06 Thread wfroud
Thanks for the help, for anyone that reads this message stream I have switched from the JDBC code to using the JDBCTemplate, my new DAO class is as follows: public class CategoryDao implements ICategoryDao { private JdbcTemplate jt; public void

Re: strange links

2008-06-06 Thread Tomasz Prus
What is the reason? Why it is useful for website and why there is no option to disable it? 2008/6/6 Matej Knopp [EMAIL PROTECTED]: The dots are there for a reason. Wicket generates relative URLs. -Matej On Fri, Jun 6, 2008 at 8:44 AM, Tomasz Prus [EMAIL PROTECTED] wrote: I have links

Re: (Class? extends Page?) casting troubles

2008-06-06 Thread Sebastiaan van Erk
Martin Funk wrote: Jeremy Thomerson wrote: I haven't read the whole thread, but you should be fine as long as your returned page class uses generics... Here's what I use in one app, no warnings, no casts: @Override public Class? extends Page? getHomePage() { return Home.class;

Redirect problem

2008-06-06 Thread Martijn Lindhout
Hi all, Has anyone ever deployed a Wicket app at EATJ (www.eatj.com)? I did last week and I encounter a strange redirect problem, that doesn't seem to happen with non-wicket apps but I'm not sure wicket is the problem. My primaire hosting partner is one.com, where I configured the DNS to point

Re: AutoCompleteTextField - autocomplete multiple fields

2008-06-06 Thread Daniel Stoch
Here it is a quickstart app with MultiAutoCompleteTextField component prototype: http://interwicket.googlecode.com/files/multiautocomplete.zip It is a draft solution, I have no time to polish it yet, so it is not a super elegant ;). MultiAutoCompleteTextField works very similar like a standard

Re: (Class? extends Page?) casting troubles

2008-06-06 Thread Martin Funk
2008/6/6 Sebastiaan van Erk [EMAIL PROTECTED]: Martin Funk wrote: Jeremy Thomerson wrote: I haven't read the whole thread, but you should be fine as long as your returned page class uses generics... Here's what I use in one app, no warnings, no casts: @Override public Class?

Re: (Class? extends Page?) casting troubles

2008-06-06 Thread Johan Compagner
No the HomePage cant be raw type anymore more So it must be typed.. Why that is..? ? extends Page? then the last ? seem to say that for that Class it must be filled in with a real Type So it must be HomePage extends PageString and you can't do: foo.bar(ComponentString.class) because that

Re: Wasp/Swarm: permisson for component of super class

2008-06-06 Thread Maurice Marrink
Well assuming you are only using a securewebmarkupcontainer to hide the entire menu if a user as no permissions for any of the pages accessible from that menu. Otherwise there really is no need since the links will be hidden. Then you have a couple of options. -Use a datapermission for each swmc

Re: (Class? extends Page?) casting troubles

2008-06-06 Thread Martin Funk
Sorry that I don't have any answers, but I have some comments. Johan Compagner wrote: No the HomePage cant be raw type anymore more So it must be typed.. Why that is..? ? extends Page? then the last ? seem to say that for that Class it must be filled in with a real Type So it must be HomePage

Re: Wasp/Swarm: permisson for component of super class

2008-06-06 Thread Andrea Jahn
Yes, I want to to hide the entire menu if a user has no permissions for any of the pages accessible from that menu. The third of your proposals (to hide the container if none of its childcomponents are visible) is really the best. So I have only to care about the permissions of the pages

Re: Stateless vs Stateful

2008-06-06 Thread 3B-Workshop
I had the privilege and the pleasure to present Stateless vs Statefull on Wednesday. I have made the slides I used available as a PDF at http://www.3b-workshop.com/downloads/Stateless_vs_Statefull.pdf If you want to ask a question or bend my ear on something I will try and answer. I found the

Re: Stateless vs Stateful

2008-06-06 Thread James Carman
While I'm sure the actual presentation was very informative, the slides don't really lend themselves to learning much. Can you fly to Cincinnati, OH!? ;) On Fri, Jun 6, 2008 at 10:11 AM, 3B-Workshop [EMAIL PROTECTED] wrote: I had the privilege and the pleasure to present Stateless vs Statefull

Sending HTML email from Wicket app

2008-06-06 Thread Jan Grathwohl
Hi, what is the preferred way to send HTML email messages from a Wicket application? I could not find anything related to sending email in the Javadocs, and no examples on the web. My idea was to create a Wicket page for the content of the email, render this page into a String, and then

Re: Sending HTML email from Wicket app

2008-06-06 Thread James Carman
I would check the archives. This question has been asked/answered many times before. On Fri, Jun 6, 2008 at 10:28 AM, Jan Grathwohl [EMAIL PROTECTED] wrote: Hi, what is the preferred way to send HTML email messages from a Wicket application? I could not find anything related to sending email

How to make Jetty serve images ( was Re: Configuring database connection pool with) Jetty in QuickStart

2008-06-06 Thread fsilber
I followed the advice and got my DataSource configured in Jetty, but I have a new problem. Jetty is not finding my images. Is there anything we need to add to the QuickStart's Jetty configuration in order to run an application similar to Wicket example:

Create WebPage inside a normal

2008-06-06 Thread Fabien D.
Hi, I have a timer class associated with a timertask class, to send daily an email generated by wicket But in my timertask when I try to create my WebPage thanks to the constructor, it never enters to the constructor... I would like to do something like that : in my timertask ...

Re: Sending HTML email from Wicket app

2008-06-06 Thread Fabien D.
I try to do something like you, to send daily an email!! For the moment, I have problems, but you can find more information here : http://www.nabble.com/Generating-email-body-with-wicket-td14042459.html#a14042459 -- View this message in context:

Re: Create WebPage inside a normal

2008-06-06 Thread James Carman
Please don't double-post. We get a lot of traffic on this list and having to read the same message twice doesn't help. On Fri, Jun 6, 2008 at 10:39 AM, Fabien D. [EMAIL PROTECTED] wrote: Hi, I have a timer class associated with a timertask class, to send daily an email generated by

Re: Issues with Bookmarkable targets

2008-06-06 Thread Igor Vaynberg
can you try with 1.3 trunk. if that doesnt work create a quickstart and jira it. -igor On Thu, Jun 5, 2008 at 6:56 PM, David Leangen [EMAIL PROTECTED] wrote: I've been stepping through the code, but I'm having a tough time figuring this one out... Using 1.3. I have one page mounted on:

Re: Create WebPage inside a normal

2008-06-06 Thread Fabien D.
Why Are you saying that i double post?? -- View this message in context: http://www.nabble.com/Create-WebPage-inside-a-TimerTask-Class-tp17693737p17694013.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Create WebPage inside a normal

2008-06-06 Thread James Carman
Maybe it just comes across like this on the email list. You're using Nabble to edit your post, so maybe it just sent two different emails when you edited the title? Sorry, but the experience is a bit different between us email-based users and the ones using Nabble as a forum. On Fri, Jun 6,

Re: Create WebPage inside a normal

2008-06-06 Thread Fabien D.
Okay, sorry :) -- View this message in context: http://www.nabble.com/Create-WebPage-inside-a-TimerTask-Class-tp17693737p17694175.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Ajax Only application - ffeedback appriciated

2008-06-06 Thread gurgel2
Hi Ive been developing an ajax only application in wicket for a little more than 3 months. Users can open windows in a multidocument desktop-style fashion for various entities and in these windows/tabs perform different actions and apply different views. Further they can change views forth and

Re: Refreshing a List view

2008-06-06 Thread Ricky
Thanks for the help guys, but still cannot make it to work =( Rick On Fri, Jun 6, 2008 at 3:22 AM, Maurice Marrink [EMAIL PROTECTED] wrote: If that does not work you can also force the list to recreate all items by calling removeAll() after you have deleted the object. Maurice On Thu,

Re: (Class? extends Page?) casting troubles

2008-06-06 Thread Sebastiaan van Erk
ARgh, you always make typos with this stuff. See correction. Sebastiaan van Erk wrote: Martin Funk wrote: Class? extends Page? means class of (anything that extends (page of anything)). I'm not so sure. There are 2 separate issues: ISSUE 1: Foo? extends Bar? is not assignable from a

Re: Wicket Branding

2008-06-06 Thread Nick Heudecker
Look for setStyle/getStyle. On Fri, Jun 6, 2008 at 10:18 AM, Martin Makundi [EMAIL PROTECTED] wrote: Hi! Localization of content is pretty easy with Wicket - how about branding? Customer xyz should see Main_xyz.html and logo_xyz.gif - can this be achieved centrally in a manner similar to

Re: Wicket Branding

2008-06-06 Thread Martin Makundi
Tnx! There is a wikipage http://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.html missing details about other resources (such as images?), but I guess I can get started with this. ** Martin 2008/6/6 Nick Heudecker [EMAIL PROTECTED]: Look for setStyle/getStyle. On Fri, Jun

Re: Tomcat 5.5.9 isn't running Quickstart

2008-06-06 Thread Igor Vaynberg
correct course of action is to figure out why its not running in tomcat -igor On Fri, Jun 6, 2008 at 8:39 AM, Frank Silbermann [EMAIL PROTECTED] wrote: I have the quickstart program and have been able to run it in Eclipse following the directions in

Re: Tomcat 5.5.9 isn't running Quickstart

2008-06-06 Thread Igor Vaynberg
how about the tomcat log... -igor On Fri, Jun 6, 2008 at 8:49 AM, Frank Silbermann [EMAIL PROTECTED] wrote: Any suggestions as to where I should look for clues? -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2008 10:46 AM To:

Re: Tomcat 5.5.9 isn't running Quickstart

2008-06-06 Thread James Carman
Have you tried running it using Jetty? For development, this is really nice, and it's setup out of the box On Fri, Jun 6, 2008 at 11:39 AM, Frank Silbermann [EMAIL PROTECTED] wrote: I have the quickstart program and have been able to run it in Eclipse following the directions in

RE: Tomcat 5.5.9 isn't running Quickstart

2008-06-06 Thread Frank Silbermann
Ah, yes, I thought I had checked those, but I must have missed the right log. The error messages are: The catalina.log file contains: INFO: Stopping service Catalina Jun 6, 2008 10:58:23 AM org.apache.catalina.loader.WebappClassLoader findResourceInternal INFO: Illegal access: this web

Re: Tomcat 5.5.9 isn't running Quickstart

2008-06-06 Thread Igor Vaynberg
well, there you go, something funky with your logger jars -igor On Fri, Jun 6, 2008 at 9:03 AM, Frank Silbermann [EMAIL PROTECTED] wrote: Ah, yes, I thought I had checked those, but I must have missed the right log. The error messages are: The catalina.log file contains: INFO: Stopping

RE: Tomcat 5.5.9 isn't running Quickstart

2008-06-06 Thread Frank Silbermann
Well, aside from the logging-oriented jars that maven packs into the QuickStart's lib folder, the only logging jar I can see in Tomcat is in Tomcat's bin folder, named commons-logging-api.jar dated 3/26/2005. Do I need to replace that with a more recent version? Would you recommend moving to

PackageResource - why does'nt get Locale directly from Session ?

2008-06-06 Thread Stefan Simik
Hi boys, I would like to ask, why PackageResource doesn't take the Locale from the session, but in constructor ? It could be comfortable, if no Locale specified in constructor, then it could be taken directly from the session. Thanx for the answer. Stefan Simik -- View this message in

Re: Tomcat 5.5.9 isn't running Quickstart

2008-06-06 Thread Igor Vaynberg
you have to at least also have log4j in there somewhere. commons-logging is just the pipeline.. -igor On Fri, Jun 6, 2008 at 9:15 AM, Frank Silbermann [EMAIL PROTECTED] wrote: Well, aside from the logging-oriented jars that maven packs into the QuickStart's lib folder, the only logging jar I

RE: Tomcat 5.5.9 isn't running Quickstart

2008-06-06 Thread Frank Silbermann
The lib directory in the QuickStart's WEB-INF contains: log4j-1.2.14.jar slf4j-api-1.4.2.jar slf4j-log4j12-1.4.2.jar -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2008 11:27 AM To: users@wicket.apache.org Subject: Re:

Re: strange links

2008-06-06 Thread Igor Vaynberg
the reason is that people run clusters behind a proxy. not all nodes run out of the same context, so absolute links break, while relative dont. there are a lot of threads on this. we didnt just decide relative urls look cooler cause we like the dots and changed it... -igor On Fri, Jun 6, 2008 at

Re: (Class? extends Page?) casting troubles

2008-06-06 Thread Martin Funk
Sebastiaan van Erk wrote: ARgh, you always make typos with this stuff. See correction. Sebastiaan van Erk wrote: Martin Funk wrote: Class? extends Page? means class of (anything that extends (page of anything)). I'm not so sure. There are 2 separate issues: ISSUE 1: Foo? extends Bar?

How reliable Validators are?

2008-06-06 Thread Sergey Podatelev
Hello, I'm wondering, how safe is it to use a custom validator to check current password of the logged-in user, when he wants to change his password (say, on a profile page)? Are there are any potential security issues that can allow user to pass a validation? -- sp

Re: How reliable Validators are?

2008-06-06 Thread Sven Meier
Well, if your validator doesn't approve the entered password your form will never accept the submit. There's no way to bypass the validation. I'd prefer to check a password in onSubmit() though - but YMMW. Sven Sergey Podatelev schrieb: Hello, I'm wondering, how safe is it to use a custom

Re: Tomcat 5.5.9 isn't running Quickstart

2008-06-06 Thread Gwyn Evans
That's a bit odd then... One thing you could try is adding in SLF4J's jcl-over-slf4j.jar instead of any commons-logging jars. That would redirect any Commons-Logging logging to SLF4J. (Personally I'd also be looking to go with James' suggestion of switching to Jetty, as I find that to be both

Re: Tomcat 5.5.9 isn't running Quickstart

2008-06-06 Thread James Carman
I would also check the tomcat/JCL documentation. I seem to remember there being some very specific instructions on one of their sites about this issue. On Fri, Jun 6, 2008 at 1:54 PM, Gwyn Evans [EMAIL PROTECTED] wrote: That's a bit odd then... One thing you could try is adding in SLF4J's

Re: How reliable Validators are?

2008-06-06 Thread Sergey Podatelev
Okay, that is something I expected. But can you please explain, why wouldn't you use validator for this? It seems to be a good way to encapsulate certain functionality and if it can't be bypassed, there're no security issues also. Still, you'd use a check in onSubmit(). I'm just trying to

Re: How reliable Validators are?

2008-06-06 Thread Igor Vaynberg
wicket validators have been designed to work up to 90% of the time. there is a heuristic that determines when the validator should stop the form from submitting and when not. we find that validators that work 100% of the time are just not as useful. -igor On Fri, Jun 6, 2008 at 10:35 AM, Sergey

Re: How reliable Validators are?

2008-06-06 Thread Eelco Hillenius
But can you please explain, why wouldn't you use validator for this? I think that's just personal preference. Validators are reusable, while putting a check in onSubmit isn't. Whether that matters depends on your project and the context you do the check in. Eelco

Re: How reliable Validators are?

2008-06-06 Thread Sergey Podatelev
I agree, not only they are useless, they are also pretty boring, I mean no potential flaws or unlocked doors you have to worry about. I'm glad there's finally a framework that doesn't eleminate the fun of dealing with unpredictability of its components. I sorry though if the stupidity of my

Re: Tomcat 5.5.9 isn't running Quickstart

2008-06-06 Thread Johan Compagner
And if you use toimcat 6? It could be classloading problems one (commons) cant find the stuff in the web folder On 6/6/08, Frank Silbermann [EMAIL PROTECTED] wrote: Well, aside from the logging-oriented jars that maven packs into the QuickStart's lib folder, the only logging jar I can see in

Re: How reliable Validators are?

2008-06-06 Thread Sven Meier
The password check will probably require an access to your database/ldap/whatever, so your validator will need a reference to some singleton objects (service/dao/...). For my taste this is too heavy for a validator. Sven Sergey Podatelev schrieb: Okay, that is something I expected. But can

RE: (Class? extends Page?) casting troubles

2008-06-06 Thread Zappaterrini, Larry
In the example you have detailed, RawBar is not a subtype of Bar? since it extends the raw type Bar. -Original Message- From: Sebastiaan van Erk [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2008 11:31 AM To: users@wicket.apache.org Subject: Re: (Class? extends Page?) casting troubles

Re: How reliable Validators are?

2008-06-06 Thread Patrick Angeles
Another difference, if you have to do a database roundtrip (which you will likely need to verify a password) then the code for the validator is a bit more complicated. You have to take into account the fact that this gets serialized/deserialized as part of the page so you can't just pass a DB

RE: Tomcat 5.5.9 isn't running Quickstart

2008-06-06 Thread Frank Silbermann
Documentation for the jcl-over-slf4j.jar () says it replaces commons-logging.jar -- which I cannot find anywhere in my Tomcat installation. All I've found is commons-logging-api.jar in the {Tomcat installation}/bin directory. When I do the replacement, Tomcat fails to start. I'm having

Re: How reliable Validators are?

2008-06-06 Thread James Carman
You can, however, pass in an object obtained via injection with the @SpringBean annotation. On Fri, Jun 6, 2008 at 3:42 PM, Patrick Angeles [EMAIL PROTECTED] wrote: Another difference, if you have to do a database roundtrip (which you will likely need to verify a password) then the code for

Re: Tomcat 5.5.9 isn't running Quickstart

2008-06-06 Thread James Carman
Our test/production servers are running Tomcat just fine. Check this out and I think it'll help you: http://commons.apache.org/logging/troubleshooting.html#Apache%20Tomcat On Fri, Jun 6, 2008 at 3:44 PM, Frank Silbermann [EMAIL PROTECTED] wrote: Documentation for the jcl-over-slf4j.jar ()

RE: Tomcat 5.5.9 isn't running Quickstart

2008-06-06 Thread Frank Silbermann
Yes, there do seem to be classloading problems with Tomcat 5.5 that prevent it from finding the application's classes, but I haven't found a solution for it. No, I haven't tried Tomcat 6. Has anyone tried running the Wicket 1.3 QuickStart program in Tomcat 6? -Original Message- From:

Re: How reliable Validators are?

2008-06-06 Thread Igor Vaynberg
what exactly is heavy ? a validator accessing the database? why is that heavy? it keeps a reference to the object that does the database check? why is that heavy? there are plenty of things to make the lookup lightweight such as wicket-spring and salve. what exactly is too heavy about something

Re: How reliable Validators are?

2008-06-06 Thread Igor Vaynberg
not without manually injecting the validator or making validate an inner/anon class so it can access component's fields. -igor On Fri, Jun 6, 2008 at 12:46 PM, James Carman [EMAIL PROTECTED] wrote: You can, however, pass in an object obtained via injection with the @SpringBean annotation. On

Re: Tomcat 5.5.9 isn't running Quickstart

2008-06-06 Thread Igor Vaynberg
it doesnt sound right. tomcat itself is writing out logs and i dont think it uses jdk logging. so there must be at least a log4j jar somewhere in tomcat install.. we have deployed in 5.5 and 6.0 previously and everything works fine. -igor On Fri, Jun 6, 2008 at 9:31 AM, Frank Silbermann [EMAIL

RE: Tomcat 5.5.9 isn't running Quickstart

2008-06-06 Thread Frank Silbermann
Well, it suggests I should replace commons-logging-api.jar with commons-logging-1.1-api.jar, but when I tried that Tomcat failed to start up. Is there something else I need to do at the same time? -- At the current date, Tomcat 5.5.16 is the current release. All

RE: Tomcat 5.5.9 isn't running Quickstart

2008-06-06 Thread Frank Silbermann
I did a Windows search for files with names containing log4j and came up with nothing. I wonder whether it could be bundled into other Tomcat jars. I'm using Tomcat 5.5.9, so maybe I should try a fresh install of Tomcat, version 6, when I get back on Wednesday. -Original Message- From:

Re: (Class? extends Page?) casting troubles

2008-06-06 Thread Sebastiaan van Erk
Zappaterrini, Larry wrote: In the example you have detailed, RawBar is not a subtype of Bar? since it extends the raw type Bar. I guess it depends on the definition of subtype. It is at least the case that the following assignment compiles without warnings (without warnings about unchecked

Re: How reliable Validators are?

2008-06-06 Thread Sergey Podatelev
Well yeah, actually, I'm using Wicket-Spring, so onValidate() takes just about two lines: protected void onValidate(validatable) { if (((MyApplication) Application.get()).getUserDao().verifyPassword(userId, password) == false) { error(validatable); } } On Fri, Jun 6, 2008 at 11:52 PM,

Re: How reliable Validators are?

2008-06-06 Thread Eelco Hillenius
On Fri, Jun 6, 2008 at 1:22 PM, Sergey Podatelev [EMAIL PROTECTED] wrote: Well yeah, actually, I'm using Wicket-Spring, so onValidate() takes just about two lines: protected void onValidate(validatable) { if (((MyApplication) Application.get()).getUserDao().verifyPassword(userId, password)

Re: Wicket 1.3 relative path problem

2008-06-06 Thread barrett
We have some similar issues with relative paths. We've already gotten around the problem for our SSL pages (going from non-ssl to an ssl page was not pulling resources in properly because of the relative urls), but now it is cropping up again in another area. We have some legacy applications

Re: (Class? extends Page?) casting troubles

2008-06-06 Thread Sebastiaan van Erk
Martin Funk wrote: Foo? extends Bar? rawbar = new FooRawBar(); // DOES NOT WORK - THIS IS CAUSING ONE HALF OF ALL OUR HEADACHES Btw, this does work (like you expect): Foo? extends Bar? rawbar2 = new FooSubBar?(); maybe some more wisdom can be found here:

RE: (Class? extends Page?) casting troubles

2008-06-06 Thread Zappaterrini, Larry
Sorry, I should have been more clear about subtype. :) When dealing with raw types, the raw type is considered a super type of the generic type. So Bar is a super type of Bar?. Since RawType extends the raw type Bar, consider it to be a peer of Bar?. When you consider them as peers, a warning is

Re: How reliable Validators are?

2008-06-06 Thread Sven Meier
As I wrote, it's just my personal taste how I would do it: For a password check usually another component is involved (the user name and/or a password retype), so this is no good case for IValidator. You could use an IFormValidator, but then you can equally well just put the check into

AutoCompleteTextField scrolls entire page

2008-06-06 Thread Michael Mehrle
I am seeing the following problem with several AutoCompleteTextFields on different pages: When I type a letter and the menu items are showing I am unable to scroll down the list with my mouse and make a selection. What happens instead is that the page scrolls up towards the mouse and the

Re: How reliable Validators are?

2008-06-06 Thread James Carman
I meant from some other class (a Component) that had the bean injected. That class could then pass its injected dependency into the validator's constructor. On Fri, Jun 6, 2008 at 3:53 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: not without manually injecting the validator or making validate an

Re: Refreshing a List view

2008-06-06 Thread Ricky
Hey Guys, FYI - instead of a simple button i created an AJAX link and then marked all the components in the panel (which encloses the refreshing view) to true (setOutputMarkupId(true)), and basically it refreshes just the view if a delete happens. So its working now . Here's the simplified code

Re: AutoCompleteTextField scrolls entire page

2008-06-06 Thread Ricky
Hey, This is fixed 1.4-m1 and 1.3.4 (to be released at some point, I am not sure when). Rick On Fri, Jun 6, 2008 at 5:02 PM, Michael Mehrle [EMAIL PROTECTED] wrote: I am seeing the following problem with several AutoCompleteTextFields on different pages: When I type a letter and the menu

Re: How reliable Validators are?

2008-06-06 Thread Patrick Angeles
That doesn't work either... b/c the validator instance has already been set... @SpringBean would work, but the Validator will need to manually invoke the Injector in it's own constructor. Or you can use http://code.google.com/p/salve/ which is what we do. jwcarman wrote: I meant from some

Re: How reliable Validators are?

2008-06-06 Thread James Carman
You would be inside the constructor of a page (or component) when you instantiate the validator (presumably). That page (or component) could have a @SpringBean injected into it. Then, it can pass that injected reference into the constructor of the validator. On Fri, Jun 6, 2008 at 6:31 PM,

RE: AutoCompleteTextField scrolls entire page

2008-06-06 Thread Michael Mehrle
Where can I get a build of 1.3.4, so I can test this? Michael -Original Message- From: Ricky [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2008 2:47 PM To: users@wicket.apache.org Subject: Re: AutoCompleteTextField scrolls entire page Hey, This is fixed 1.4-m1 and 1.3.4 (to be

Re: scriptaculous toaster

2008-06-06 Thread Ryan Sonnek
I'll take a swing at it and try to check something workable in asap. On 6/6/08, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hmm The Effect's as they are now gives me some trouble, because you need to give the component when creating the component. It would be much more

Re: Ajax Only application - ffeedback appriciated

2008-06-06 Thread Eelco Hillenius
Ive been developing an ajax only application in wicket for a little more than 3 months. Users can open windows in a multidocument desktop-style fashion for various entities and in these windows/tabs perform different actions and apply different views. Further they can change views forth and

Re: AutoCompleteTextField scrolls entire page

2008-06-06 Thread Ricky
Use SNAPSHOT On Fri, Jun 6, 2008 at 8:17 PM, Michael Mehrle [EMAIL PROTECTED] wrote: Where can I get a build of 1.3.4, so I can test this? Michael -Original Message- From: Ricky [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2008 2:47 PM To: users@wicket.apache.org Subject:

Re: ListChoice Crashing on 13th Load

2008-06-06 Thread Timo Rantalaiho
On Thu, 05 Jun 2008, wfroud wrote: I've been having trouble getting my app to run for any reasonable period of time without crashing. I've laid out a basic page that contains a ListChoice component, after loading this page 13 times (when I have more components it's far less) it just hangs

Re: AutoCompleteTextField scrolls entire page

2008-06-06 Thread Ricky
err 1.3-SNAPSHOT for now, or 1.4-m1. On Fri, Jun 6, 2008 at 11:20 PM, Ricky [EMAIL PROTECTED] wrote: Use SNAPSHOT On Fri, Jun 6, 2008 at 8:17 PM, Michael Mehrle [EMAIL PROTECTED] wrote: Where can I get a build of 1.3.4, so I can test this? Michael -Original Message- From:

Re: scriptaculous toaster

2008-06-06 Thread Ryan Sonnek
Okay Nino, I've created a new Effect.multiple that should give you what you need. take a look and let me know what you think. here's how it works: AbstractEffect[] effects = new AbstractEffect[] { new Effect.Fade(component1), new Effect.Highlight(component2), etc... } new