Re: Wicketstuff source pages - can we make them stateless?

2008-03-18 Thread Martijn Dashorst
-1 You can download and run the examples yourself if you want to do so. The examples are just that: examples of normal wicket pages. Forcing them stateless gives new users the wrong impressions. Martijn On 3/18/08, Ned Collyer [EMAIL PROTECTED] wrote: Hi, I enjoy clicking around the

Re: Wicketstuff source pages - can we make them stateless?

2008-03-18 Thread Igor Vaynberg
i think they meant to make only source code viewing pages stateless... -igor On Tue, Mar 18, 2008 at 12:26 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: -1 You can download and run the examples yourself if you want to do so. The examples are just that: examples of normal wicket pages.

Re: StreamCorruptedException when using autocomplete

2008-03-18 Thread lars vonk
Have you found out which Page it tries to deserialize? Did you try to deserialize this exact page using another widget? The exception indicates the internal object stream format is corrupted. So this would indeed mean it would also occur if you try to to deserialize it using a normal widget. Here

Re: StreamCorruptedException when using autocomplete

2008-03-18 Thread Igor Vaynberg
are you using a class reloading mechanism of any sort? this error would make sense if wicket saved a page to store, you changed the class def and wicket tried to deserialize an instance of that changed class -igor On Tue, Mar 18, 2008 at 12:42 AM, lars vonk [EMAIL PROTECTED] wrote: Have

Re: Wicketstuff source pages - can we make them stateless?

2008-03-18 Thread Sebastiaan van Erk
Yes, or just even increase the timeout as a temporary fix. :-) It's like 5 minutes now, which means that if you go to your own code to implement something like in the example, and then want to view the source code of the next logical file, it says page expired. If it was 30 minutes, then for

Re: Wicketstuff source pages - can we make them stateless?

2008-03-18 Thread Martijn Dashorst
Making the source code viewing pages stateless won't help: next question: but when I close the source code, my page doesn't work anymore. The online examples are not fit for a long studying session: they are for demoing, or visitors. Studying or long running demoes: DOWNLOAD the thing and run

Re: Wicketstuff source pages - can we make them stateless?

2008-03-18 Thread Martijn Dashorst
I think 30 minutes is too long. The server is already maxed out on capacity, so that needs to be fixed before we start tampering with session expiries. Just download the examples throw it in a web container, or check out Wicket from svn and run mvn jetty:run. Then you can look at the code as long

Re: Wicketstuff source pages - can we make them stateless?

2008-03-18 Thread Sebastiaan van Erk
Martijn Dashorst wrote: Making the source code viewing pages stateless won't help: next question: but when I close the source code, my page doesn't work anymore. The source code opens up in separate window. If the URL's there were bookmarkable pages they would always work. Since the source is

Re: Wicket ModalWindow vs Other

2008-03-18 Thread Cristi Manole
Hi, I'm also using the ModalWindow, with some very small enhancements. Regards, Cristi Manole On Mon, Mar 17, 2008 at 10:39 PM, jeredm [EMAIL PROTECTED] wrote: I am using the ModalWindow. mnwicket wrote: Just out of curiosity, are most people using the ModalWindow provided by the

Re: Wicketstuff source pages - can we make them stateless?

2008-03-18 Thread Matej Knopp
Why can't we just put a 5 minute timer on each page which would casuse active sessions never expire? -Matej On Tue, Mar 18, 2008 at 8:52 AM, Sebastiaan van Erk [EMAIL PROTECTED] wrote: Martijn Dashorst wrote: Making the source code viewing pages stateless won't help: next question: but

Re: Wicketstuff source pages - can we make them stateless?

2008-03-18 Thread Sebastiaan van Erk
Matej Knopp wrote: Why can't we just put a 5 minute timer on each page which would casuse active sessions never expire? That's fine by me, :-) though I tend to leave windows open in my browser for hours or days even, so that would be less server friendly than bookmarkable links... Regards,

Wicket dojo DragAndDrop problem

2008-03-18 Thread Stefan Lindner
I try to use Wicket 1.3.2 together with wicketstuff dojo (both 1.3.0 beta and 1.3.0 latest) Everything works fine if I deploy my applicatioin in development mode. Some lines like DEBUG: Initialized drop contianer for dropContainer01, dropIds: *, DEBUG: Callback url base:

Re: Wicketstuff source pages - can we make them stateless?

2008-03-18 Thread Martijn Dashorst
And it wouldn't guide our users into the right direction either: only apply stateless pages where really necessary. Martijn On 3/18/08, Matej Knopp [EMAIL PROTECTED] wrote: Not everything in wicket can be bookmarkable and not everything can be statelesss. None of the ajax examples could work

Need help with GridView and checkboxes.

2008-03-18 Thread Trevor Campbell
I have a form containing a GridView with a PagingNavigator. Within each cell I have an image and a CheckBox. When a user submits the form I collect all the image refs from the selected cells and process them. My problem is I would like to do this across multiple pages. So the user scenario

Re: ModalWindow (component based) + form submit = can't close

2008-03-18 Thread Matej Knopp
You have to use AjaxSubmitButton if you put panel into modal window. -Matej On Tue, Mar 18, 2008 at 12:16 PM, Kai Mütz [EMAIL PROTECTED] wrote: Serzhas wrote: Hi. I am complete newby to Wicket, and currently making my way through the forest if Wicket API :) br/ Today I tryed to

Re: ModalWindow (component based) + form submit = can't close

2008-03-18 Thread Serzhas
Thanks Matej, but I have tryied many submit variants, AjaxSubmitButton was one of them. No matter what kind of submit I use, if form was submitted once, dialog won't close... Matej Knopp-2 wrote: You have to use AjaxSubmitButton if you put panel into modal window. -Matej On Tue, Mar

Re: ModalWindow (component based) + form submit = can't close

2008-03-18 Thread Kai Mütz
Matej Knopp schrieb: You have to use AjaxSubmitButton if you put panel into modal window. No difference. I have tried AjaxSubmitButton, AjaxButton and AjaxSubmitLink. Once I have submitted the form, the modal window stays open. Reload of the entire page necessary to close modal. Is there

Re: Wicket 1.3.2 - java.lang.NullPointerException

2008-03-18 Thread Johan Compagner
do you have a test case that you can attach to a jira issue I guess this has something to do with the loading of markup changes (so that not everything is loaded for every possible locale but only for every real file once) you seem to have a situtation that the key is null or couldnt be generated

Re: Autolinking Relative Paths

2008-03-18 Thread Gwyn Evans
On 16/03/2008, James Carman [EMAIL PROTECTED] wrote: 3. Document the valid path syntax (and limitations) in the Wiki, WIA, etc. +1 - but it should at least be in the Wiki, though. I remember getting frustrated when seeing replies on the Tapestry lists that said Buy Kent Tong's book.

Re: Autolinking Relative Paths

2008-03-18 Thread James Carman
On 3/18/08, Gwyn Evans [EMAIL PROTECTED] wrote: On 16/03/2008, James Carman [EMAIL PROTECTED] wrote: 3. Document the valid path syntax (and limitations) in the Wiki, WIA, etc. +1 - but it should at least be in the Wiki, though. I remember getting frustrated when seeing

Re: TreeTable with ajax markupId problem

2008-03-18 Thread Timo Rantalaiho
On Sun, 16 Mar 2008, Lars Borup Jensen wrote: on the component (input) I just updated, but it seems the Ajax response has given the components new markupId's and hence, the line: target.focusComponent(field) Is pretty much useless as the id's in the HTML has been altered (by Ajax

Re: ModalWindow (component based) + form submit = can't close

2008-03-18 Thread Maurice Marrink
We use forms in our modal windows without problems. We do use Pages instead of panels and the form is submitted with an AjaxSubmitLink. Also the form is a FilterForm found in wicket-extensions but i don't think that should make a difference. Maybe this information is of some help to you. Maurice

Re: Need help with GridView and checkboxes.

2008-03-18 Thread Maurice Marrink
That is a known issue, unfortunately you will need to create your own version of a submittingpagingnavigator. The api for those classes is however not very extendable friendly so you probably end up copy-pasting large portions of code. I believe Martijn is planning on refactoring that component,

Re: ModalWindow (component based) + form submit = can't close

2008-03-18 Thread Serzhas
I wrote about Pages in ModalWindow in my initial post :) This is the solution I currently using. But creation and popup of such ModalWindow is slower, than a Panel-based one. However, I also noticed, that with Page as content of ModalWindow dialog content is added to DOM only when it is opened,

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-18 Thread Gerolf Seitz
+1 On Mon, Mar 17, 2008 at 9:13 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: This thread is for voting only. Use the [discuss] thread for voicing your opinion or asking questions. This makes counting the votes much easier. The discussion on our development list makes it clear that a lot

LazyLoad after clicking on a Link

2008-03-18 Thread mmp
Hi, I implemented a Webpage loading a panel using ajax lazy loading. After the panel is loaded, refreshing the page works fine (panel gets again lazy loaded), but when I click a dummy link, refreshing the page seems to directly refreshing the panel and therefore no lazy loading appears. Anybody

Re: hibernate

2008-03-18 Thread Maurice Marrink
Typically the hibernate.cfg.xml is located in the root of your packages and the configuration is loaded in the application like this: hibernateConfig = new AnnotationConfiguration(); URL cfg = getClass().getResource(/hibernate.cfg.xml);

Re: ModalWindow (component based) + form submit = can't close

2008-03-18 Thread SantiagoA
On the site that holds the ModalWindow I have something like that: modalWindow.setContent(new modalWindowPanel(modalWindow.getContentId(), new ModalWindow.CloseButtonCallback(){ private static final long serialVersionUID = 4622180781771170962L; public boolean

Re: Wicket 1.3.2 - java.lang.NullPointerException

2008-03-18 Thread Johnnie
Sorry, I don't have a test case, but the webapp was working fine until I substituted all 1.3.2 jars for the 1.3.1 jars, and that's all did, I didn't change a thing in my code. I've gone back and forth between the two versions and always get the same exception with 1.3.2, but 1.3.1 works fine.

Re: Wicket 1.3.2 - java.lang.NullPointerException

2008-03-18 Thread Jeremy Levy
We are having the same issue, it's happening on pages where we are defining the markup at run time, by implementing IMarkupResourceStreamProvider and IMarkupCacheKeyProvider. I'll create a sample project to demonstrate.. Jeremy On Tue, Mar 18, 2008 at 9:36 AM, Johnnie [EMAIL PROTECTED] wrote:

onClick() called after model is loaded

2008-03-18 Thread Zheng, Xiahong
Is onClick() called during the process of page rendering? My page has some components with visibility controlled by model attributes. If the model is loaded before the onClick() method is called, the page will not render correctly unless I force a reload again to reflect the state change made by

Amsterdam Community meeting 2008

2008-03-18 Thread Uwe Schäfer
hi is there a definite Date for the Meetup in Amsterdam, yet? At least people from abroad might have to plan for it, make/move Dates, book trains etc., so that it would be nice to have a Date people agreed upon soon. cu uwe -- THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T +

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-18 Thread Fabio Fioretti
+1. Best regards, Fabio Fioretti - WindoM - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Amsterdam Community meeting 2008

2008-03-18 Thread Sebastiaan van Erk
Since it's pretty close, I was wondering if there is anything known about: 1) what time does it start? 2) what presentations are being held? Regards, Sebastiaan Martijn Dashorst wrote: Yes, it is tuesday april 8th. Martijn On 3/18/08, Uwe Schäfer [EMAIL PROTECTED] wrote: hi is there a

Re: Amsterdam Community meeting 2008

2008-03-18 Thread Martijn Dashorst
I see that you haven't volunteered yet to present something. Martijn On 3/18/08, Sebastiaan van Erk [EMAIL PROTECTED] wrote: Since it's pretty close, I was wondering if there is anything known about: 1) what time does it start? 2) what presentations are being held? Regards, Sebastiaan

Re: TreeTable with ajax markupId problem

2008-03-18 Thread Igor Vaynberg
providing a set id for something that is inside a repeater? :| -igor On Tue, Mar 18, 2008 at 5:42 AM, Timo Rantalaiho [EMAIL PROTECTED] wrote: On Sun, 16 Mar 2008, Lars Borup Jensen wrote: on the component (input) I just updated, but it seems the Ajax response has given the components

Re: hibernate

2008-03-18 Thread Igor Vaynberg
not to mention you should not be creating session factories inside pages. you should only have a single instance of session factory per application... -igor On Tue, Mar 18, 2008 at 6:02 AM, Maurice Marrink [EMAIL PROTECTED] wrote: Typically the hibernate.cfg.xml is located in the root of your

Re: LazyLoad after clicking on a Link

2008-03-18 Thread Igor Vaynberg
the page is mounted? or has a bookmarkable url? because if you hit refresh on the page before clicking any link you are sending another request to a bookmarkable url and so wicket creates a new instance of the page. you should mount the page with hybrid url coding strategy to fix this. -igor On

Re: TreeTable with ajax markupId problem

2008-03-18 Thread Lars Borup Jensen
Hi Igor I take from your note that setting a specific markupId is not the solution to my problem. It seems like the Page.getAutoIndex is used as start index for the components (TextFields) which I use in the TreeTable columns when they are updated in the ajax request (which might be alright),

Re: onClick() called after model is loaded

2008-03-18 Thread Igor Vaynberg
visibility of components is checked before onclick for security reasons - eg you should not be able to click a link that is not visible. if you use your model inside isvisible() override it will potentially get loaded with stale data, you have two options: 1) instead of overriding isvisible()

Re: TreeTable with ajax markupId problem

2008-03-18 Thread Igor Vaynberg
is there a reason why you are actually recreating the textfields/updating the entire treetable? if you do that i cant think of any work around off the top of my head, maybe matej can since he wrote the treetable. -igor On Tue, Mar 18, 2008 at 7:58 AM, Lars Borup Jensen [EMAIL PROTECTED] wrote:

Re: strange issues in SUSE, please have a look, many thanks!

2008-03-18 Thread Igor Vaynberg
looks like wicket doesnt have permissions to read .html files inside the classes dir. are you sure they are there? are you sure file permissions are right? are you sure your SUSE tomcat isnt using a security manager? -igor On Tue, Mar 18, 2008 at 7:46 AM, raybristol [EMAIL PROTECTED] wrote:

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-18 Thread Peter Ertl
+1 Am 18.03.2008 um 10:50 schrieb Gabor Szokoli: +1 On 3/17/08, Martijn Dashorst [EMAIL PROTECTED] wrote: Everybody is invited to vote! Please use [ ] +1, Wicket 1.4 is 1.3 + generics, drop support for 1.3 [ ] -1, I need a supported version running on Java 1.4 Let your voices be heard!

DropDownChoice and setNullValid()

2008-03-18 Thread Kaspar Fischer
I am trying to get a DropDownChoice to select either a country or the option any country. searchOptions.add(new DropDownChoice(search-country, countries, countriesRenderer) .setNullValid(true).setRequired(false) // (*) ); With the second line (*) commented out, the drop-down menu

Re: Amsterdam Community meeting 2008

2008-03-18 Thread Martijn Dashorst
Subjects I can come up with are: - sexy components (a genuine date picker, such as meetmoi) - openid integration - building applications with wicket web beans - flex/silverlight/air: threat or opportunity - social networking integration (open social, facebook) - integrations with other

Re: DropDownChoice and setNullValid()

2008-03-18 Thread Kai Mütz
Kaspar Fischer schrieb: I am trying to get a DropDownChoice to select either a country or the option any country. searchOptions.add(new DropDownChoice(search-country, countries, countriesRenderer) .setNullValid(true).setRequired(false) // (*) ); With the second line (*) commented

Re: Amsterdam Community meeting 2008

2008-03-18 Thread Sebastiaan van Erk
Nice list. :-) Unfortunately I'm not very good at any of them, the only one I know a bit about is the serialization one, and even that is just what I learned from the presentation last time... Generally I'm also good at messing up things, but haven't had enough wicket experience to present

Re: DropDownChoice and setNullValid()

2008-03-18 Thread Kaspar Fischer
On 18.03.2008, at 16:47, Kai Mütz wrote: Try search-country.nullValid=any country Thanks, works like a charm! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Amsterdam Community meeting 2008

2008-03-18 Thread Gerolf Seitz
On Tue, Mar 18, 2008 at 4:56 PM, Sebastiaan van Erk [EMAIL PROTECTED] wrote: Or a Wicket Antipatterns would be cool as well, i.e., how NOT to do things in Wicket and then show the right way to do them (standard example is not using a model which causes constructor time binding and people

Re: Back button support

2008-03-18 Thread Java Developer
It would be nice if an example of such ui interactions could be given... On Mon, Mar 17, 2008 at 4:57 PM, Java Developer [EMAIL PROTECTED] wrote: Been reading about wicket and would want to know the context in which the back button problem is being talked about..the only problem i have faced

Re: Amsterdam Community meeting 2008

2008-03-18 Thread Jan Kriesten
hi, Yes, it is tuesday april 8th. oh. :-( had hoped for friday, 4th - so i could have attended. have fun then! regards, --- jan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Enable ghosting in wicketstuff-scriptaculous

2008-03-18 Thread Thomas Kappler
Hi, first of all, sorry if this is the wrong list, but AFAIK there's no wicketstuff ML and the JIRA doesn't list the scriptaculous component as a project. We wanted ghosting (http://wiki.script.aculo.us/scriptaculous/show/Draggable) in our wicketstuff-scriptaculous enabled drag'n'drop, but it's

Re: Enable ghosting in wicketstuff-scriptaculous

2008-03-18 Thread Ryan Sonnek
Hey, thanks for the patch. The only reason it wasn't added is that no-one had requested it. =) i'll be happy to apply the patch and push out a new release ASAP. Thanks again! On Tue, Mar 18, 2008 at 11:21 AM, Thomas Kappler [EMAIL PROTECTED] wrote: Hi, first of all, sorry if this is the

Re: Enable ghosting in wicketstuff-scriptaculous

2008-03-18 Thread Ryan Sonnek
done! patch has been applied. bamboo should publish a new snapshot jar any minute now. On Tue, Mar 18, 2008 at 11:27 AM, Ryan Sonnek [EMAIL PROTECTED] wrote: Hey, thanks for the patch. The only reason it wasn't added is that no-one had requested it. =) i'll be happy to apply the patch

Re: Wicket 1.3.2 - java.lang.NullPointerException

2008-03-18 Thread Jeremy Levy
I've having trouble reproducing this is a test project, however if I return a standard value getCacheKey it seems to work, where returning null which as a I understand it means don't cache at all. public String getCacheKey(MarkupContainer arg0, Class arg1) { return 1; } I'll keep

wicketstuff-jamon

2008-03-18 Thread Ryan Sonnek
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-jamon/src/main/java/org/wicketstuff/jamon/ I was browsing the sources for wicketstuff-jamon and I was wondering how to actually hook it up into my app? How do you use the custom web request cycle instead of the

Re: Enable ghosting in wicketstuff-scriptaculous

2008-03-18 Thread Thomas Kappler
Wow, that was quick! Thanks a lot! Thomas On Tue, Mar 18, 2008 at 5:44 PM, Ryan Sonnek [EMAIL PROTECTED] wrote: done! patch has been applied. bamboo should publish a new snapshot jar any minute now. On Tue, Mar 18, 2008 at 11:27 AM, Ryan Sonnek [EMAIL PROTECTED] wrote: Hey,

Re: Planning Wicket Next Generation

2008-03-18 Thread Jörn Zaefferer
I'm one of those poor guys stuck with IBM Websphere Portal 5 and 6, which are both Java 1.4. We can still use Java 5 for the core of our application by seperating the frontend stuff into its own project, and having retrotranslator modify the core jar file before putting it into the 1.4 web

Re: Wicket dojo DragAndDrop problem

2008-03-18 Thread Igor Vaynberg
can you please provide a quickstart for this. seems like a 1.3.2 problem if the reason is indeed that wicket ignores header contributions. -igor On Tue, Mar 18, 2008 at 2:32 AM, Stefan Lindner [EMAIL PROTECTED] wrote: I try to use Wicket 1.3.2 together with wicketstuff dojo (both 1.3.0 beta

Re: Planning Wicket Next Generation

2008-03-18 Thread Johan Compagner
and still it is not that 1.3 is dead at this time We will have 1 or 2 releases more so we wil try to get it as stable as possible so that people that cant use 1.4 yes will have a pretty solid 1.3 On Tue, Mar 18, 2008 at 5:59 PM, Jörn Zaefferer [EMAIL PROTECTED] wrote: I'm one of those poor

Re: Wicket 1.3.2 - java.lang.NullPointerException

2008-03-18 Thread Johan Compagner
ahh ok got it will fix it asap johan On Tue, Mar 18, 2008 at 5:46 PM, Jeremy Levy [EMAIL PROTECTED] wrote: I've having trouble reproducing this is a test project, however if I return a standard value getCacheKey it seems to work, where returning null which as a I understand it means

Re: wicketstuff-jamon

2008-03-18 Thread Eelco Hillenius
I was browsing the sources for wicketstuff-jamon and I was wondering how to actually hook it up into my app? How do you use the custom web request cycle instead of the default one provided by wicket? By overriding newRequestCycle in your application class. Eelco

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-18 Thread Bruno Borges
+1 definitely On Tue, Mar 18, 2008 at 12:30 PM, Piller Sébastien [EMAIL PROTECTED] wrote: +1 for the generics. One of the best things in JDK5 ;) [*X*] +1, Wicket 1.4 is 1.3 + generics, drop support for 1.3 [ ] -1, I need a supported version running on Java 1.4 On 3/17/08, Martijn Dashorst

wicket-stuff repeater error

2008-03-18 Thread Hoover, William
FYI... http://wicketstuff.org/wicket13/repeater/ OrderedRepeatingView, RefreshingView, and Contacts Editor all throw Internal errors - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-18 Thread Matthew Young
Thank you Matej and Igor. I learned several new things. IAjaxCallDecorator is very cool and I did not realize wicket:link works on stylesheet ref, too. The wiki here: http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%2527sXHTMLtags-WicketTags make it seem like it only work with a

Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-18 Thread Matej Knopp
Hi, you can mount your page using HybridUrlCodingStrategy. Then it should automatically redirect to URL that has page instance information in it. -Matej On Tue, Mar 18, 2008 at 7:48 PM, Matthew Young [EMAIL PROTECTED] wrote: Thank you Matej and Igor. I learned several new things.

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-18 Thread James McLaughlin
+1, Wicket 1.4 is 1.3 + generics, drop support for 1.3 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: TreeTable with ajax markupId problem

2008-03-18 Thread Lars Borup Jensen
Well - I do the following on the TextField which is rendered in each cell field.add(new AjaxFormComponentUpdatingBehavior(onblur) { protected void onUpdate(AjaxRequestTarget target) { ((DefaultTreeModel)treeTable.getModelObject()).nodeChanged(treeNode);

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-18 Thread Markus Hjort
+1, Wicket 1.4 is 1.3 + generics, drop support for 1.3 -Markus

Re: Problems with clearing of filter form

2008-03-18 Thread Kai Mütz
Nobody out there with a similar problem? I have mounted the page as bookmarable page. Can this cause the problem? I have already set the response header to no-cache. Anybody an idea? 2008/3/17, Kai Mütz [EMAIL PROTECTED]: Hi, I am using the filter toolbar with filter form within a

Re: TreeTable with ajax markupId problem

2008-03-18 Thread Matej Knopp
Node changed event tells the tree that the node has been changed and rebuilts the actual tree item component. Are you sure that you need to refresh tree item component? Btw. Why are you callind focusComponent on component that has just been blurred? -Matej On Tue, Mar 18, 2008 at 8:30 PM, Lars

Re: TreeTable with ajax markupId problem

2008-03-18 Thread Lars Borup Jensen
Hi Matej, If I leave out the the treeTable.updateTree(target); line, my row is not refreshed. I have a TreeTable with 7 columns. When I enter text in the first column, the 7th column of the same row needs to be refreshed (calculates sum). Since this refreshes the column in which the user just

Re: After 1 minute the Pagemap null is still locked

2008-03-18 Thread Igor Vaynberg
i think the only way this can happen is that you have something that really takes longer then 1 minute to execute. i dont see how wicket can take over your cpuso may be it is that runaway process that does that... i think to debug it you might want to attach a profiler to the server and wait

Re: After 1 minute the Pagemap null is still locked

2008-03-18 Thread Martijn Dashorst
I suggest getting a thread dump at the time of the exception, to see which threads are stuck. You can do that by sending a kill -3 to the java process running your webapp. The stack traces should be in your console output captured by your server. Martijn On 3/18/08, Igor Vaynberg [EMAIL

RE: Linking radio buttons to textfield model update

2008-03-18 Thread Michael Mehrle
Anyone? I also forgot to mention that three of the radio buttons are associated with a textbox, but two are not (radio buttons without textfields). Would love to know how to build this and properly assign the model. Michael -Original Message- From: Michael Mehrle [mailto:[EMAIL

Re: Linking radio buttons to textfield model update

2008-03-18 Thread Igor Vaynberg
RadioChoice supports wantOnSelectionChangedNotification() you can use that to get a callback whenever a new option is selected, then call clearinput() on whatever textbox needs to be made blank -igor On Tue, Mar 18, 2008 at 1:36 PM, Michael Mehrle [EMAIL PROTECTED] wrote: Anyone? I also forgot

Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-18 Thread Matthew Young
It's Amateras: http://amateras.sourceforge.jp/cgi-bin/fswiki_en/wiki.cgi?page=EclipseHTMLEditor On Mon, Mar 17, 2008 at 7:57 PM, Fernando Wermus [EMAIL PROTECTED] wrote: Which is the name of the embebed Eclipse browser you are using? On Mon, Mar 17, 2008 at 7:15 PM, Igor Vaynberg [EMAIL

Re: wicketstuff-jamon

2008-03-18 Thread lars vonk
Please beware that it's still in development (just started few weeks ago). The labels are added to JAmon, but for the admin functionality you still need to use the provided JAMon admin functionality (jsps). I am currently Wicketising (new verb?) the admin interface now, but that is far from

Re: Add attributes to markup

2008-03-18 Thread Igor Vaynberg
you are talking about adding something to raw markup - eg markup that is not attached to any component? you can use IMarkupFilter for that -igor On Tue, Mar 18, 2008 at 2:42 PM, hjuturu [EMAIL PROTECTED] wrote: Hi All In wicket we can use AttributeModifier or AttributeAppender to make

Re: Add attributes to markup

2008-03-18 Thread Maurice Marrink
AttributeModifier has the ability to add the attribute if not already present f you use the following constructor: public AttributeModifier(final String attribute, final boolean addAttributeIfNotPresent, final IModel replaceModel) personally i prefer the SimpleAttributeModifier which always adds

Re: Add attributes to markup

2008-03-18 Thread hjuturu
Hi Igor I have two components AjaxEditableLabel and AjaxEditableMultiLineLabel. I am able to set the style of the AjaxEditableLabel element by using css span.inline-edit input Similarly i would like to add a class to the TextArea generated by AjaxEditableMultiLineLabel , so that i can change the

Re: Add attributes to markup

2008-03-18 Thread Igor Vaynberg
see SimpleAttributeModifier -igor On Tue, Mar 18, 2008 at 3:15 PM, hjuturu [EMAIL PROTECTED] wrote: Hi Igor I have two components AjaxEditableLabel and AjaxEditableMultiLineLabel. I am able to set the style of the AjaxEditableLabel element by using css span.inline-edit input

Re: After 1 minute the Pagemap null is still locked

2008-03-18 Thread Jeremy Levy
Thanks Igor / Martijn for your help. As you mentioned Wicket had nothing to do with it. I had a piece of code that was executed when a user clicked a certain link and was blocking by accident, caught in a loop peging the CPU. Your suggestions of kill -3 to get the thread dump over a couple of

Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-18 Thread Matthew Young
Hi, Igor: nstead of throwing the exception call error(message) on the page and return an empty list from the model So I register a error to the page in the model but the feedback message doesn't show. Here is a small sample to demonstrate: HomePage.html: html head/head span

Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-18 Thread Matthew Young
Hi, How to make HybridUrlCodingStrategy work on home page if my contextpath=/? HybridUrlCodingStrategy doesn't allow mapping /. On Tue, Mar 18, 2008 at 11:52 AM, Matej Knopp [EMAIL PROTECTED] wrote: Hi, you can mount your page using HybridUrlCodingStrategy. Then it should automatically

Re: After 1 minute the Pagemap null is still locked

2008-03-18 Thread Martijn Dashorst
Glad to be of help. kill -3 is one of those gems you should never forget as it can save your life. Kill to save your life: nice slogan... :D Martijn On 3/19/08, Jeremy Levy [EMAIL PROTECTED] wrote: Thanks Igor / Martijn for your help. As you mentioned Wicket had nothing to do with it. I had

Building Wickststuff Doje fails

2008-03-18 Thread Stefan Lindner
When I build wicketstuff dojo from current svn checkout, the resulting jar file is corrupt. It's the MANIFEST.MV file that causes the problem. The MANIFEST.MF file from the current distributioin is Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Created-By: Apache

Re: Back button support

2008-03-18 Thread mfs
Would appreciate peoples comments on the examples below, I believe they can give a good idea to people who cant relate to the problems relating to browser back-button and application state...which wicket solves with versioning.. Example 1 Context : Your application follows a certain workflow

Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-18 Thread Jonathan Locke
this looks like it's probably cool, but there's no audio and the video size is such that i can't read anything. MYoung wrote: Hi, I am new to Wicket and to help me learn, I created a Wicket version of the Flickr demo like the one on the Ruby on Rails site seen here

Wicket Model and JPA inheritance

2008-03-18 Thread xdirewolfx
Hi guys, Say I got these 3 classes: @Entity @Table(name=owner) @Inheritance public abstract class Owner implements BaseObject{} and @Entity @DiscriminatorValue(value=project) public class OwnerProject extends Owner{} and @Entity @DiscriminatorValue(value=other) public class

Re: Need help with GridView and checkboxes.

2008-03-18 Thread Trevor Campbell
Thanks Maurice, I was able to get this to work by copying PagingNavigator, PagingNavigation, PagingNavigationLink and PagingNavigationIncrementLink. The only substantial changes I made were to make PagingNavigationLink and PagingNavigationIncrementLink extend SubmitLink and then in the

Re: Need help with GridView and checkboxes.

2008-03-18 Thread Igor Vaynberg
you shouldnt have to do any of that form updating yourself...it should all be done before your link's onsubmit is called, there is a reason why its called a submitlink -igor On Tue, Mar 18, 2008 at 7:47 PM, Trevor Campbell [EMAIL PROTECTED] wrote: Thanks Maurice, I was able to get this to

Re: Need help with GridView and checkboxes.

2008-03-18 Thread Trevor Campbell
I should have added, I needed to setDefaultFormProcessing(false) because I don't want to process the form while just paging forward and without the DefaultFormProcessing, the model wasn't updating. Is this wrong? or am I missing something else. Igor Vaynberg wrote: you shouldnt have to do

Re: Need help with GridView and checkboxes.

2008-03-18 Thread Igor Vaynberg
so you call setdefaultformprocessing(false) and yet update the form yourself? that is the same as leaving setdefaultformprocessing(true) -igor On Tue, Mar 18, 2008 at 8:00 PM, Trevor Campbell [EMAIL PROTECTED] wrote: I should have added, I needed to setDefaultFormProcessing(false) because I

Re: Need help with GridView and checkboxes.

2008-03-18 Thread Trevor Campbell
I am not really doing the normal form processing in the navigation. The form has a navigator, just for showing more parts of the GridView, it also has a submit button to process the users request after they have selected items on one or more pages, So when they use the navigator, all I do is

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-18 Thread Antony Stubbs
+1 Most people who use Wicket, I imagine, would be pretty up to date. -- View this message in context: http://www.nabble.com/-vote--Release-1.4-with-only-generics-and-stop-support-for-1.3-tp16090054p16136628.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-18 Thread francisco treacy
+1 On Wed, Mar 19, 2008 at 12:58 AM, Antony Stubbs [EMAIL PROTECTED] wrote: +1 Most people who use Wicket, I imagine, would be pretty up to date. -- View this message in context:

Re: Problems with clearing of filter form

2008-03-18 Thread Martin Makundi
Can you show any binding code related to your case? 2008/3/18, Kai Mütz [EMAIL PROTECTED]: Nobody out there with a similar problem? I have mounted the page as bookmarable page. Can this cause the problem? I have already set the response header to no-cache. Anybody an idea? 2008/3/17,

changing dropdown labels in an AjaxEditableChoiceLabel

2008-03-18 Thread francisco treacy
hi, i need to display/update some boolean properties in my domain model. to achieve that i'm using a custom AjaxEditableChoiceLabel (from wicket extensions) in my user interface. why dropdown and not checkbox? well, because in fact there are 3 choices for this property in the database: true