New facebook app using wicket

2010-06-17 Thread jmirc
http://www.facebook.com/mtlalouettes?v=app_111916645521485ref=ts We integrate graph api ;) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/New-facebook-app-using-wicket-tp2258132p2258132.html Sent from the Wicket - User mailing list archive at Nabble.com.

modalWindow can't be closed

2010-06-17 Thread 蔡茂昌
hi, i have a problem , i have a modalWindow, there is a button in the modalWindow,when i click the button ,i want the modalWindow be closed ,but now it can not be be closed , below is my code , AjaxButton saveBtn = new AjaxButton(save) { @Override protected void onSubmit(AjaxRequestTarget

modalWindow can not be closed

2010-06-17 Thread 蔡茂昌
there is some error in the last email i send, here is real code AjaxButton saveBtn = new AjaxButton(save) { @Override protected void onSubmit(AjaxRequestTarget target, Form? form) { ListPeople list3 = peopleService.fetchBySearchCondition(searchCondition); ListPeopleForExport

Re: Show/hide form components best practice

2010-06-17 Thread Xavier López
Please correct me if I'm wrong, but, once the component's validators have been passed, and when executing, for instance a FormValidator, you can get the converted input of the Checkbox. Then choose to use or not the input of the conditional field. Of course that prevents you from using setRequired

Re: modalWindow can not be closed

2010-06-17 Thread robert.mcguinness
What does your ajax return? are you using HTTPSessionStore? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/modalWindow-can-not-be-closed-tp2258304p2258336.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Using Wicket to build Application Portal

2010-06-17 Thread Nivedan Nadaraj
Hi Igor, I have started work on the pattern you suggested. This is what I have done so far but there seems to be some missing pieces when I integrate the tabs or try to fire them from container app, would be great to get some lead here. The Structure of the projects as follows. * Project:

Re: wicketstuff-repo

2010-06-17 Thread Thomas Götz
Any information on if and when wicketstuff will be back again? This is breaking our build since days now which is no fun ;-) We are using several non-core artifacts and building them from source is not a very desireable solution. Cheers, -Tom - Ursprüngliche Nachricht - Von:

Re: wicketstuff-repo

2010-06-17 Thread Martijn Dashorst
Use an internal repository manager. Then you're not dependent on external infrastructure. Try archiva if you want a low key, low resource manager, or nexus or artifactory if you want more. Martijn On Thu, Jun 17, 2010 at 10:29 AM, Thomas Götz t...@richmountain.de wrote: Any information on if

Re: wicketstuff-repo

2010-06-17 Thread Thomas Götz
We are already using nexus, but unfortunately the wicketstuff repo is not yet proxied on it, so this does not really help us currently ;-) Yes, we could upload the artifacts manually (to nexus), but as it is a company-wide repo manager this option is not accessible to me (because not allowed).

Re: AW: drag and drop

2010-06-17 Thread DerBernd
Hi, I've got a problem with my draggable Components and z-index. I do have several draggable WebMarkupContainers that are nested in also draggable Panels. I set the z-index with dragger.setRawOptions(zIndex: 101); for the WebMarkupContainer dragger.setRawOptions(zIndex: 100); for the Panel

Re: Using Wicket to build Application Portal

2010-06-17 Thread Nivedan Nadaraj
Hi Igor, I have moved a bit forward since the last email but would like your thoughts on it. I am now able to render the top level tab from t*est-application-1*and test-application-2. This is after I resolved the Wicket Runtime Exception. Now going forward, this is how I fire the classes that

Liferay portlet parameters in 1.4.8

2010-06-17 Thread Wilhelmsen Tor Iver
We are trying to create parametrized portlet URLs to a maximized stand-alone portlet, and run into an issue where the constructor to the Page is invoked twice. But the second time, the query parameters are gone. Why does it create the view page twice? Or is it Liferay magic going on? (We

Boolean IChoiceRenderer and i18n

2010-06-17 Thread Sam Zilverberg
I've created a simple BooleanChoiceRenderer that I use along with ChoiceFilteredPropertyColumn that maps to a Boolean property. public class BooleanChoiceRenderer implements IChoiceRendererBoolean { public BooleanChoiceRenderer() { } public Object getDisplayValue(Boolean object) {

Re: Boolean IChoiceRenderer and i18n

2010-06-17 Thread Ernesto Reinaldo Barreiro
I would create a BooleanDropDownChoice component and put localizations on that component: that way it would be easier to reuse it for different projects. For the IChoiceRenderer I would do something similar to EnumChoiceRenderer: i.e. return localized values for Boolean.TRUE and Boolen.FALSE

Re: Creating and zipping binary files for download

2010-06-17 Thread Alex Zeit
Thank you very much for your suggestions. I was also thinking of creating folders with random names. I am using geotools libs to generate shapefiles set that I want to zip and stream back. I did not figure out yet how can I generate those files to stream using Geotools. 2010/6/15 Jeremy Thomerson

Re: url params with ExternalLink

2010-06-17 Thread jgormley
That would be true if we were using an XHTML doctype, but we've chosen html 4.01 strict. I have yet to be given a practical reason why XHTML is a good solution for the apps I'm building today. Either way, thanks again for the clarification. -- View this message in context:

Re: gmail like file upload

2010-06-17 Thread Martin Grigorov
On Wed, 2010-06-16 at 09:35 -0700, fachhoch wrote: Please suggest me how to integrate google like fileupload in wicket Please define google like fileupload and we'll try to help you - To unsubscribe, e-mail:

Validators on Required Fields

2010-06-17 Thread Brad Grier
I'm using EmailAddressValidator on a form field with setRequired(false). The validator is triggering an invalid format message when the field is left blank. I'm having the same problem with RangeValidator against a custom currency class I've created. Shouldn't validation be skipped when the

Specific user/session properties and resources

2010-06-17 Thread Brown, Berlin [GCG-PFS]
I still want to use wicket message resource tags in my markup. But, I need a system to load and reload resources property data for each page and request. Or maybe load properties per user session. Is this possible using Wicket resource loader classes. Ideally, it looks like I should use a

RE: Wicket and mobile browsers

2010-06-17 Thread Joachim F. Kainz
Martin, Nokia has never been able to do JavaScript right. The other traditional phone manufacturers have not done any better. Same is true for most everything about their phone (e.g. their user-interfaces). Most businesses I work with do not spend much time or money with this type of phone. For

Re: Validators on Required Fields

2010-06-17 Thread Jeremy Thomerson
On Thu, Jun 17, 2010 at 9:47 AM, Brad Grier brad.gr...@salusnovus.comwrote: I'm using EmailAddressValidator on a form field with setRequired(false). The validator is triggering an invalid format message when the field is left blank. I'm having the same problem with RangeValidator against a

Re: Making rows of DefaultDataTable into links

2010-06-17 Thread Ray Weidner
Thanks, Jeremy, I think having a real link outweighs having the whole row being a pseudo link, so I'm going to just have the ID column value be a link. But thanks for the advice; it's still informative. On Wed, Jun 16, 2010 at 2:20 AM, Jeremy Thomerson jer...@wickettraining.com wrote: On Wed,

ResourceStreamLocator and mvn resource:resource copying resources in the right directory

2010-06-17 Thread Fernando Wermus
Hi all, I need to change the development enviroment for IResourceStreamLocator locator = new ResourceStreamLocator(new Path(new Folder(html))); getResourceSettings().setResourceStreamLocator(locator); but, what I also need is that maven copy the resources

Dynamic Resources, Properties

2010-06-17 Thread Brown, Berlin [GCG-PFS]
I want to be able to use the StringResourceModel, but I want to use a property string that is loaded when the page is loaded. Basically, I want to set a dynamic property object? With this code below, how can I do this. public class SomePanel extends BaseContentPanel { private

RE: AW: drag and drop

2010-06-17 Thread Stefan Lindner
This is a question for jQuery-UI mailing lists. It's independent from the jWicket implementation. -Ursprüngliche Nachricht- Von: DerBernd [mailto:beha...@web.de] Gesendet: Donnerstag, 17. Juni 2010 11:35 An: users@wicket.apache.org Betreff: Re: AW: drag and drop Hi, I've got a

Re: Dynamic Resources, Properties

2010-06-17 Thread Ernesto Reinaldo Barreiro
Label label = new Label(weatherMessage, new AbstractReadOnlyModelString() { private static final long serialVersionUID = 1L; @Override public String getObject() { if(condition)

Re: Using Wicket to build Application Portal

2010-06-17 Thread Igor Vaynberg
On Thu, Jun 17, 2010 at 3:14 AM, Nivedan Nadaraj shravann...@gmail.com wrote: Hi Igor, I have moved a bit forward since the last email but would like your thoughts on it. I am now able to render the top level tab from t*est-application-1*and test-application-2. This is after I resolved the

Re: Specific user/session properties and resources

2010-06-17 Thread Igor Vaynberg
scanning for i18n resources is expensive, that is why they are cached. if you want something more dynamic perhaps you should not use wicket's i18n mechanism to accomplish it. -igor On Thu, Jun 17, 2010 at 8:22 AM, Brown, Berlin [GCG-PFS] berlin.br...@primerica.com wrote: I still want to use

inconsistency in property expression when using . for self reference

2010-06-17 Thread Joseph Pachod
hi Let's consider this class : class Container { String string = foo; ListString strings = Arrays.asList(new String[]{test}); } This would work: new PropertyModelString(container, .string).getObject() = returns foo but this doesn't: new PropertyModelString(container,

RE: modalWindow can not be closed

2010-06-17 Thread aaron.wang
Hi, Not sure if there is any kind of exception thrown within your code, if any other than UnsupportedEncodingException, the modalWindow.close(target) is not reachable. You can try to place it into the final block. Best Regards, Aaron Wang OLL DCS - OCHL/ZHA *(86-756)3396170

Re: Using Wicket to build Application Portal

2010-06-17 Thread Nivedan Nadaraj
Hi Igor Thank you for that. Discovery of sub-applications using the 'provider-lookup' mechanism sounds pretty cool. I will investigate that concept and work on it, The # 3. :I I guess If I work on it things will get clearer and if something is not would bounce it off you. Many thanks for the

Re: inconsistency in property expression when using . for self reference

2010-06-17 Thread Jeremy Thomerson
Please attach to a JIRA [https://issues.apache.org/jira/browse/WICKET] so that it doesn't get lost. On Thu, Jun 17, 2010 at 4:13 PM, Joseph Pachod josephpac...@thomas-daily.de wrote: hi Let's consider this class : class Container { String string = foo; ListString strings

Confirmation dialog during file upload

2010-06-17 Thread Alec Swan
Hello, I have a form which allows a user to upload a file. The form is patterned after upload Wicket example. If the file being uploaded will overwrite an existing file I need to prompt the user if they want to replace the existing file or not. What's the best way to implement this

Re: ResourceStreamLocator and mvn resource:resource copying resources in the right directory

2010-06-17 Thread Ben Tilford
If you haven't customized the resource locator your telling wicket to look sibling directory to your classpath root WEB-INF/classes which I THINK is where wicket will start looking for resources. It may be easier to use the build helper plugin which handles resources much better than maven does

Re: modalWindow can not be closed

2010-06-17 Thread 蔡茂昌
i have set a breakpoint on modalWindow.close(target) ,, it reached ,but modalWindow still could not be closed ,is there any other suggestion? 2010/6/18 aaron.w...@oocl.com Hi, Not sure if there is any kind of exception thrown within your code, if any other than

Re: Using Wicket to build Application Portal

2010-06-17 Thread Nivedan Nadaraj
Hi Igor, I went through the provider-lookup mechanism and as I study the current project structure it seems to relate to the concept of Extension Mechansim.( http://java.sun.com/docs/books/tutorial/ext/basics/install.html) Am I correct? 1. the *t*est-common.jar that provides the interface to