Re: Copenhagen wicket users meeting?

2007-11-21 Thread Nino Saturnino Martinez Vazquez Wael
Should we set a date for this? Should it be before xmas? Or are people too busy? Also we need to set an agenda for this should it be something like: Workshop, where peope just bring what they are working and we help each other out? Workshop for beginners, where we introduce newcommers? Kind

Re: Convert String to desired class object

2007-11-21 Thread tsuresh
The NullPointerException is for role as: Root cause: wicket.util.convert.ConversionException: Can't convert value: Administrator to class: class np.com.test.Role.. (where Administrator is the role selected from drop down list).And my code snippet is as below. Model attached to ddc

Re: Screen resolution and diffrent markup files

2007-11-21 Thread Nino Saturnino Martinez Vazquez Wael
I guess every thing are possible:) But suggesting what you want sounds like something like using locales... myPage.html myPage1024x768.html right? Not sure howto implement that, but you have a front page that detected the size( I think you can grab screen resolution from application) and

Re: Problems with spring to manage all webpages

2007-11-21 Thread thomas jaeckle
igor.vaynberg wrote: make that bean a prototype? Hm, I don't see the benefit of this. The problem remains: I can't initialize the pages before the WebApplication is initialized (in this case I would become a There is no application attached to current thread main Exception). But when I

Re: Screen resolution and diffrent markup files

2007-11-21 Thread Gerolf Seitz
without knowing what you really want to achieve, you might want to take a look at http://cwiki.apache.org/WICKET/newuserguide.html#Newuserguide-LocalizationandSkinningofApplications Gerolf On Nov 21, 2007 8:24 AM, Artur W. [EMAIL PROTECTED] wrote: hi! Is is possible to create different

Wicket + OSGI + Session

2007-11-21 Thread Sebastiaan van Erk
Hi, When Wicket pages are serialized/deserialized to the page store, they are serialized/deserialized using the IObjectStreamFactory set in the Objects class, and (in trunk) the DefaultObjectStreamFactory overrides the resolveClass method of ObjectInputStream to consult the application's

Re: Value not changing after submitting a form

2007-11-21 Thread Newgro
Solved. The problem was, that i didn't had overwritten the setObject Method of my model. I get the object by usage of valueModel. But i never set it. Thus it never could be different from null. Cheers Per -- View this message in context:

disabled AjaxEditableMultiLineLabel

2007-11-21 Thread Francis De Brabandere
doing setEnabled(false) on a AjaxEditableMultiLineLabel does not disable the editing feature this can be fixed by overriding onEdit(): @Override protected void onEdit(AjaxRequestTarget target) { if(isEnabled()){ super.onEdit(target);

Re: Wicket + OSGI + Session

2007-11-21 Thread Sebastiaan van Erk
Digging some more in the code, it seems to be the case that *pages* in the session are serialized like you say (writeObject in the Page class). However, this still leaves all the other objects in the session serialized by the container. Thus if I extend WebSession and add my own fields, they

Re: Beyond Wicket:Firefox and Gmail Users (Any Browser Crash Noticed Lately)

2007-11-21 Thread Francis De Brabandere
I have the same problem, is that firebug an extension? I don't have it installed. On Nov 20, 2007 10:29 PM, Nick Heudecker [EMAIL PROTECTED] wrote: Have you disabled Firebug for Gmail? On Nov 20, 2007 3:28 PM, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: Please this is off wicket topic but i

DataView clearCachedItemCount

2007-11-21 Thread Marieke Vandamme
Hello, I'm having problems with using a pageable view and ajax. In the application the user can add his favorite to a list of favorites. The list has 20 favorites on 1 page. When the user inserts his 21th favorite, the dataview should show page 2 instead of page 1, showing the new favorite to

Re: Screen resolution and diffrent markup files

2007-11-21 Thread Al Maw
Artur W. wrote: Is is possible to create different markup files (for the same page) depends on user screen resolution? This is quite easy, actually. Create an abstract ResolutionDependentPage extends WebPage which your pages will extend. Add this method: @Override public String

Re: Problems with spring to manage all webpages

2007-11-21 Thread Al Maw
thomas jaeckle wrote: igor.vaynberg wrote: make that bean a prototype? Hm, I don't see the benefit of this. The problem remains: I can't initialize the pages before the WebApplication is initialized (in this case I would become a There is no application attached to current thread main

Re: disabled AjaxEditableMultiLineLabel

2007-11-21 Thread Gerolf Seitz
what wicket version do you use? this should already work in 1.3rc1 Gerolf On Nov 21, 2007 12:20 PM, Francis De Brabandere [EMAIL PROTECTED] wrote: doing setEnabled(false) on a AjaxEditableMultiLineLabel does not disable the editing feature this can be fixed by overriding onEdit():

Re: Forms and Listview questions..?

2007-11-21 Thread Gwyn Evans
Just to check that, as you're looking at more complex displays, you've had a look at the wicket-extension facilities, e.g. those below org.apache.wicket.extensions.markup.html.repeater.data, for instance? Examples at http://www.wicketstuff.org/wicket13/repeater/ /Gwyn On 21/11/2007, Nino

Re: disabled AjaxEditableMultiLineLabel

2007-11-21 Thread Francis De Brabandere
we are using 1.3rc1 yes, I don't think it is implemented On Nov 21, 2007 12:39 PM, Gerolf Seitz [EMAIL PROTECTED] wrote: what wicket version do you use? this should already work in 1.3rc1 Gerolf On Nov 21, 2007 12:20 PM, Francis De Brabandere [EMAIL PROTECTED] wrote: doing

Re: Convert String to desired class object

2007-11-21 Thread Johan Compagner
give use the full stacktrace On Nov 21, 2007 9:15 AM, tsuresh [EMAIL PROTECTED] wrote: The NullPointerException is for role as: Root cause: wicket.util.convert.ConversionException: Can't convert value: Administrator to class: class np.com.test.Role.. (where Administrator is

Create custom component

2007-11-21 Thread Joshua Jackson
Dear all, Is there any tutorial on creating custom component in Wicket? The ones I found only shows creating custom component by extending from the existing component but not creating from scratch. If anyone has created those tutorial, can anyone here please point me to there. Thanks in advance

Re: Screen resolution and diffrent markup files

2007-11-21 Thread Nino Saturnino Martinez Vazquez Wael
Cool I did not know this. Nice to learn something new everyday:) Al Maw wrote: Artur W. wrote: Is is possible to create different markup files (for the same page) depends on user screen resolution? This is quite easy, actually. Create an abstract ResolutionDependentPage extends WebPage

Re: Screen resolution and diffrent markup files

2007-11-21 Thread Al Maw
Al Maw wrote: return super.getVariation() + _ + size; Should be: String s = super.getVariation(); return s == null ? size : s + _ + size; Otherwise the default locale HomePage_big.html won't work and will look for HomePage_null_big.html. ;-) Regards, Al

Proper way to mount a shared resource

2007-11-21 Thread Wilko Hische
Hi, This probably is a stupid question, but thusfar i couldn't figure it out. I would like to mount a shared resource, but I don't know how to get/create the correct resourceKey. In a Quickstart for Wicket 1.3.0-rc1 i put the following init method in WicketApplication: @Override

Re: San Francisco meetup

2007-11-21 Thread Al Maw
Orion Letizi wrote: There was some talk yesterday on IRC about having a Wicket meetup in San Francisco. I offered the Terracotta offices, pizza, and beer as a good place to have it. I'm in California for three weeks starting next week, would be happy to come and do a presentation if you

RepeatingView and AJAX

2007-11-21 Thread Michael Laccetti
This is a reasonably complex issue, so I'll apologize up front if I fail at explaining what seems to be wrong, and what I actually want to work. I have created a simple Wicket app to demonstrate what I talk about that is available here: http://www.laccetti.com/rdm/wicket-ajax-problem.zip I

Re: San Francisco meetup

2007-11-21 Thread Sean Sullivan
I will be in San Francisco in early December. I am attending the GWT developer conference: http://www.voicesthatmatter.com/gwt2007/index.html If you are in SF, let's meet up. Sean On 11/21/07, Al Maw [EMAIL PROTECTED] wrote: Orion Letizi wrote: There was some talk yesterday on IRC about

Re: Why dioes this error occur?

2007-11-21 Thread salmas
It seems that this is a common bug, there is a thread titled Doubleclicking on a refreshable Ajax button which appears to be similar. I am using an AjaxSubmitButton in my application and double clicks and fast clicks are an issue. I have followed the sugggestions to use javascript to disable

Re: disabled AjaxEditableMultiLineLabel

2007-11-21 Thread Gerolf Seitz
Francis, i would really be interested in your code that doesn't seem to work, if you don't mind. as of before Al's fix, it already worked for me because: the label is dis-/enabled in AjaxEditableLabel#onBeforeRender: label.setEnabled(isEnableAllowed() isEnabled()); and since the

Re: File download and page refresh

2007-11-21 Thread Francisco Diaz Trepat - gmail
Hi Federico, could you or anyone tell me how to do the meta refresh pointing to a file. You see I have a forms that performs a calculation and shows the result, all done by an ajax form. I have an ajax link that has to return a PDF, but also refresh the results or execute the ajax form submit.

focus form first field with wicket, without using javascript

2007-11-21 Thread narup
hello All, i wonder if there is a better way to set the first field or element of the form focus when the page loads right now i am using target.appendJavascript(document.forms[' + component.getMarkupId() + '].elements[1].focus()); but i would love to see if wicket has any thing thanks --

Re: Quite a few Wicket jobs/employers.

2007-11-21 Thread Eelco Hillenius
On Nov 21, 2007 3:37 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: 87 for Wicket + Java92 for GWT + Java Good to see there's growth there, as long as we keep in mind that probably the only thing these entries mean is that HR people picked up another word that sounds cool in ads. ;-) Eelco

Re: RepeatingView and AJAX

2007-11-21 Thread Timo Rantalaiho
On Wed, 21 Nov 2007, Michael Laccetti wrote: So, the questions seem to be: why is the model not being populated (even though I can see via Firebug that they are being submitted), and how can I save the state of the repeating view across repaints? Make sure that there are no validation

Re: Create custom component

2007-11-21 Thread Eelco Hillenius
On Nov 21, 2007 7:50 PM, Joshua Jackson [EMAIL PROTECTED] wrote: Yes that's what I mean, I couldn't find document on creating custom component that extend from Component. It doesn't make sense to have such a tutorial. You need to decide what you'll be building and what base class comes closest

how to handle cookies in wicket...

2007-11-21 Thread wicketshafi
hi all, can any one help how to handle cookies... can give me example.. -- View this message in context: http://www.nabble.com/how-to-handle-cookies-in-wicket...-tf4854687.html#a13891755 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: how to handle cookies in wicket...

2007-11-21 Thread Martijn Dashorst
Is google down? http://www.google.com/search?client=safarirls=enq=wicket+cookiesie=UTF-8oe=UTF-8 On Nov 22, 2007 7:39 AM, wicketshafi [EMAIL PROTECTED] wrote: hi all, can any one help how to handle cookies... can give me example.. -- View this message in context:

Re: how to handle cookies in wicket...

2007-11-21 Thread Konstantin Ignatyev
http://cwiki.apache.org/WICKET/dealing-with-cookies.html and the page is very good too: http://cwiki.apache.org/WICKET/reference-library.html Konstantin Ignatyev PS: If this is a typical day on planet earth, humans will add fifteen million tons of carbon to the atmosphere, destroy 115