AutocompleteTextField

2008-07-18 Thread ulrik
Hello! I have a question that I hope someone can help me with. Lets say I have two classes like the ones here: http://papernapkin.org/pastebin/view/1760/ . Lets say I want a page with a AutoCompleteTextField where I can search students by entering their name in the search field. Because there

Re: AutocompleteTextField

2008-07-18 Thread Ryan Gravener
This is a common question, search the mailing list and you will find a few different ways of doing this. On Fri, Jul 18, 2008 at 3:09 AM, ulrik [EMAIL PROTECTED] wrote: Hello! I have a question that I hope someone can help me with. Lets say I have two classes like the ones here:

Re: why are we coding Web apps?

2008-07-18 Thread bruno . borges
Yes, you can have EJBs calls over HTTP. Google for HTTPInvoker. It's a component from JBoss. That's what makes the Genesis framework so interesting: http://genesis.dev.java.net See ya

swarm/wasp - using guest auto login

2008-07-18 Thread Gabriel Bucher
hi all, I did some test to implement a guest auto login with swarm/wasp. I'm just not sure if I'm digging in the right direction. my scenario is the following: - all pages are implementing the interface ISecurePage - all pages are grouped in different principals (hive) - i have an admin gui

Re: JavaScript onChange after onClick

2008-07-18 Thread cretzel
Okay, sorry, this wasn't really a Wicket-Problem but an IE-Problem. The Button in my application is actually a div and IE has problems to focus() divs (sometimes), so that when clicking the div, the focus is not removed from the text field and no onchange-event is fired. I managed it by giving

Re: wicket jobs in toulouse, france?

2008-07-18 Thread jWeekend
Francisco, If you'd like to http://jweekend.com/dev/ContactUsBody/ send us a note , I'll pass your details on to our partners in Paris, who, if I remember correctly, have a couple of clients in or around Toulouse. Regards - Cemal http://www.jWeekend.com http://jWeekend.com francisco

Re: AutocompleteTextField

2008-07-18 Thread Roland Huss
Hi, you might want to have a look at wicketstuff-objectautocomplete which exactly adresses this scenario. It's not released though (and there are some changes in the pipeline so that it plays a smarter role when used within a form), but should work. The code is available via

Mbean

2008-07-18 Thread Rik van der Kleij
Hi, Does someone has experience with using the Wicket MBean to clear the markup cache while the application is running inside Tomcat? When I use the clearMarkupCache button in jconsole nothing happens. I do not understand the problem because the mbean is visible in jconsole and all attributes are

RE: AutocompleteTextField

2008-07-18 Thread Hoover, William
A simple solution is to hold on to the actual choices list until you can match the selection: public abstract class AbstractAutoCompleteTextFieldCHOICE extends TextField { private static final Logger LOG = LoggerFactory.getLogger(AbstractAutoCompleteTextField.class); private

Just switched to 1.4-M3

2008-07-18 Thread Anders Peterson
Hi, I've not been able to follow the discussion on generics (simply too much) but now that I've switched to 1.4-M3 I have a comment/question. Generally I think wicket is going in the right direction regarding generics... Another (great) web application framework that I've used doesn't have

Re: Just switched to 1.4-M3

2008-07-18 Thread Igor Vaynberg
inline... On Fri, Jul 18, 2008 at 4:52 AM, Anders Peterson [EMAIL PROTECTED] wrote: Another (great) web application framework that I've used doesn't have component at the root of the inheritance tree, but element - component extends element. The elements are the UI atoms, and components are

Re: swarm/wasp - using guest auto login

2008-07-18 Thread Maurice Marrink
Hmm, usually there is no need to change the guest permissions on the fly. In that case you can just implement ISecurePage on every page that needs to be secure and not on the guest pages. On Fri, Jul 18, 2008 at 10:14 AM, Gabriel Bucher [EMAIL PROTECTED] wrote: hi all, I did some test to

Re: URLValidator to auto-append http://

2008-07-18 Thread Michael Sparer
try adding it before validation - i copy+paste my code (which works in production) final TextField website = new TextField(profiles.contactProfile.website) { private static final long serialVersionUID = 1L; // add http:// if

Switching SecondLevelCacheSessionStore to HttpSessionStore throws ClassCastException

2008-07-18 Thread Michael K
Hi, I encountered java.io.InvalidClassException when trying to change from default SecondLevelCacheSessionStore to HttpSessionStore. The exceptions are shown below: org.apache.wicket.protocol.http.HttpSessionStore cannot be cast to org.apache.wicket.protocol.http.SecondLevelCacheSessionStor e

Wicket 1.4M3 migration

2008-07-18 Thread Stefan Lindner
We moved to wicket 1.4M3 (current trunk) with success. It was not so hard because we already have wrappers for most of wickets core components (e.g. GenericPanel etc.). We still love the way generics were in M2 but we can live with M3. But it definitely makes sense that ConverterLocator is no

RelativePathPrefixHandler and form action attributes

2008-07-18 Thread Brad Fritz
I am trying to rewrite an HTML form action attribute (for a non-Wicket form) inside a Wicket Panel and could use some help. While converting a large webapp to Wicket, I created a Panel to wrap a search form. The form processing is not handled by Wicket yet. So in my SearchPanel.html, I have

Re: RelativePathPrefixHandler and form action attributes

2008-07-18 Thread Igor Vaynberg
override oncomponenttag() of the form and call super followed by tag.put(action, whateverurl); -igor On Fri, Jul 18, 2008 at 12:56 PM, Brad Fritz [EMAIL PROTECTED] wrote: I am trying to rewrite an HTML form action attribute (for a non-Wicket form) inside a Wicket Panel and could use some

Re: Just switched to 1.4-M3

2008-07-18 Thread Anders Peterson
Sorry... I guess generics design has been discussed enough. /Anders Igor Vaynberg wrote: On Fri, Jul 18, 2008 at 4:52 AM, Anders Peterson wrote: As it is now Component is not generified, but further down you introduce generics to some components that you feel benefit from it. I think you

Re: why are we coding Web apps?

2008-07-18 Thread Michael Allan
[EMAIL PROTECTED] wrote: Yes, you can have EJBs calls over HTTP. Google for HTTPInvoker. It's a component from JBoss. Ah, you lucky EJB guys - you're on top of it already. That's what makes the Genesis framework so interesting: http://genesis.dev.java.net ...to allow people with little

RelativePathPrefixHandler and form action attributes

2008-07-18 Thread Brad Fritz
I am trying to rewrite an HTML form action attribute (for a non-Wicket form) inside a Wicket Panel and could use some help. While converting a large webapp to Wicket, I created a Panel to wrap a search form. The form processing is not handled by Wicket yet. So in my SearchPanel.html, I have

Re: RelativePathPrefixHandler and form action attributes

2008-07-18 Thread Brad Fritz
On Fri, Jul 18, 2008 at 01:14:08PM -0700, Igor Vaynberg wrote: override oncomponenttag() of the form and call super followed by tag.put(action, whateverurl); Thanks for the pointer, Igor! For the benefit of archive searchers, the onComponentTag() solution required that I add a wicket:id to

Re: RelativePathPrefixHandler and form action attributes

2008-07-18 Thread Jeremy Thomerson
Also (just for the archives), you really could override this method on WebMarkupContainer - it doesn't actually need to be a form instance since you're not actually using any form functionality. You're simply creating a container that contains markup, and that you can override attributes of the

Re: Switching SecondLevelCacheSessionStore to HttpSessionStore throws ClassCastException

2008-07-18 Thread Johan Compagner
Are you sure you dont read in a serializef session from tomcat when you are starting up? If you use a new browser instance so that you really have a new session do you still have this problem? On 7/18/08, Michael K [EMAIL PROTECTED] wrote: Hi, I encountered java.io.InvalidClassException when

Field level Authorization strategy suggestions?

2008-07-18 Thread David Nedrow
I'm building a database driven application. I've constructed LoadableDetachableModel for my entities, those LDMs then being presented in a Panel via a SortableDataProvider driven DefaultDataTable. I'd like to automatically expose additional functionality or field visibility depending on

Re: RelativePathPrefixHandler and form action attributes

2008-07-18 Thread Brad Fritz
Jeremy, On Fri, Jul 18, 2008 at 04:35:21PM -0500, Jeremy Thomerson wrote: Also (just for the archives), you really could override this method on WebMarkupContainer - it doesn't actually need to be a form instance since you're not actually using any form functionality. You're simply creating

Re: RelativePathPrefixHandler and form action attributes

2008-07-18 Thread Al Maw
2008/7/18 Brad Fritz [EMAIL PROTECTED]: I am trying to rewrite an HTML form action attribute (for a non-Wicket form) inside a Wicket Panel and could use some help. While converting a large webapp to Wicket, I created a Panel to wrap a search form. The form processing is not handled by