Re: loosely coupled panels: react to model object change

2008-02-07 Thread Johan Compagner
that seems to me like the right approache you can then exactly the interface that you want between the 2 and also a right event type (not to generic) johan On Feb 6, 2008 10:07 PM, Daniel Stoch [EMAIL PROTECTED] wrote: Hi, I have implemented such model (as Johan wrote) in our application.

Re: Some questions - mainly about session expiration and serialization

2008-02-07 Thread Johan Compagner
Ok, I'll try this just to see if it can at least solve immediately the problem, then go for some refactoring. My question is: but if I don't need (and don't want) page versioning, and I disable it, is serialization still necessary? it is with the 1.3 default page store you have to do this:

Re: Evaluating Wicket

2008-02-07 Thread Johan Compagner
I do my best there to explain what kind of problems Wicket solves. what about global warming?

Re: [wicketstuff] Accordion component?

2008-02-07 Thread Nino Saturnino Martinez Vazquez Wael
ok i'll put it up sometime today... Nino Saturnino Martinez Vazquez Wael wrote: I almost have a component ready for wicketstuff.. Should I spend the extra hour generalizing it and putting it up on wicketstuff? http://www.hedgerwow.com/360/mwd/accordion/demo.php -- Nino Martinez Wael Java

Re: IPropertyResolver interface for property models

2008-02-07 Thread Johan Compagner
Exactly PR works with maps so if you just make sure that your model returns the map (that you initialized with the right properties in that model) then it will work. By the way what i would do in this case is use just an empty mockup object for such a thing instead of a map. Because then you also

Re: AjaxLink, BookmarkablePageLink and feedback problem

2008-02-07 Thread Vatroslav
please file a jira issue with a quickstart Igor, after creating quickstart project, I've found the root of this problem. My session class was extending Wicket's Session instead of WebSession class. :( vatroslav -- View this message in context:

RE: CompoundModel based on proxies

2008-02-07 Thread Maeder Thomas
+ 1 for what Igor says. I remember debugging Hibernate code: you debug as far as your own code goes, and then you just guess. Oh, and yes: Tapestry anyone? Thomas -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 7. Februar 2008 02:34 To:

a note about AbstractSingleSelectChoice

2008-02-07 Thread Sergiy Yevtushenko
Hi all, In my app I was ought to subclass DropDownChoice just because of one small implementation detail of AbstractSingleSelectChoice.getModelValue(): ... public String getModelValue() { final Object object = getModelObject(); if (object != null)

enclosures on nested components within wicket:extends

2008-02-07 Thread Michael Sparer
I've just upgraded from rc1 to 1.3.1 and serveral pages throw RTEs (org.apache.wicket.WicketRuntimeException: The component(s) below failed to render.) on rendering. I found out the exception ocurrs whenever a nested component in a wicket:enclosure tag within a wicket:extend tags is addressed,

Wicket MarkupException

2008-02-07 Thread Ayodeji Aladejebi
I just noticed that anytime i create wicket components having markups in a seperate project and add it as a dependency to another wicket project, i get this exception during runtime. I end up merging the seperate component with the big project to make it work I use Netbeans 6 Wicket 1.3 The

Re: @SpringBean and serialization

2008-02-07 Thread Nino Saturnino Martinez Vazquez Wael
Hi Daniel I've marked it transient, so looking forward to the replies you get.. regards Nino dfernandez wrote: Hello everyone, I have a question regarding the relation between the @SpringBean annotation and the serialization of objects being referenced in a Page. If I have:

Re: @SpringBean and serialization

2008-02-07 Thread Michael Sparer
hi daniel, May I suppose that the proxy object that @SpringBean will create for myService will handle serialization properly? (this is, forgetting about the reference to the Spring object when serializing, and retrieving it again when de-serializing...) that's how it works AFAIK, so marking it

Re: AJAX mouseover popup

2008-02-07 Thread sander v F
WicketStuff-Dojo (tooltips) http://wicketstuff.org/wicketdojo13/?wicket:bookmarkablePage=%3Aorg.wicketstuff.dojo.examples.tooltip.TooltipTestPage I havent worked with WicketStuff-Dojo yet, so I can't help you with it, but i hope this is what you're looking for. 2008/2/6, Niels Bo [EMAIL

Re: Wicket MarkupException

2008-02-07 Thread Maurice Marrink
That is odd, it works for our component project. On tomcat that is. Either as compiled directory or as a jar. Can you give more details on what you are doing, maybe even show us the poms for your projects. Maurice On Feb 7, 2008 11:21 AM, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: I just

Re: Ajax Feedback Problem in 1.3

2008-02-07 Thread SantiagoA
Done. https://issues.apache.org/jira/browse/WICKET-1325 -- View this message in context: http://www.nabble.com/Ajax-Feedback-Problem-in-1.3-tp14191234p15331770.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Can i assign parameters while calling the application?

2008-02-07 Thread djo.mos
Hi, I am not sure I understood why you are using filters ... anyway, it is perfectly possible to pass parameters to a Wicket page via URLs by providing a constructor taking a PageParameters as an argument + configuring the adequate URL encoding strategy. Look

DatePicker

2008-02-07 Thread Paul T
I have a problemette with the DatePicker (I'm using 1.3.1 by the way). This is the code I have: DateTextField dateTextField = new DateTextField( dateTextField, new PropertyModel( this, date ), new StyleDateConverter( M-, true ) ); add( dateTextField ); dateTextField.add( new DatePicker() ); -

Re: @SpringBean and serialization

2008-02-07 Thread Sebastiaan van Erk
dfernandez wrote: Hello everyone, I have a question regarding the relation between the @SpringBean annotation and the serialization of objects being referenced in a Page. If I have: @SpringBean(name=myBean) protected MyService myService; May I suppose that the proxy object that @SpringBean

RE: Reloading resource

2008-02-07 Thread Wang, Yuesong
Hi, My name is Yuesong Wang. I'm new to Wicket. I don't think slf4j has anything to do with it. I have version 1.4.2. Still when I change an html file in Eclipse, tomcat redeploys the whole app. In tomcat console I do see 08:08:15,536 INFO [main] WebApplication - [WebAdrWebApplication]

Customizing the navigator panel LF

2008-02-07 Thread Fabrizio Giudici
Hello. My navigator panels (e.g. from AjaxFallbackDefaultDataTable, GridView, etc... looks like 1 2 3 . I'd like to replace the lt and gt with icons, and to control the style of the numbers. How do I do that? Thanks. -- Fabrizio Giudici, Ph.D. - Java Architect, Project Manager

Re: Problems with ResourceModel and StringResourceModel

2008-02-07 Thread Marco Aurélio Silva
I solved the problem with this code on the setUp method: List resourceLoaders = application.getResourceSettings ().getStringResourceLoaders(); List copy = new ArrayList(resourceLoaders); Collections.copy(copy,resourceLoaders); application.getResourceSettings().addStringResourceLoader(new

Re: Evaluating Wicket

2008-02-07 Thread gnuyiga
Don't forget to read the first chapter of Wicket In Action, which you can download for free at: http://www.manning.com/dashorst/. I do my best there to explain what kind of problems Wicket solves. nice book man ... am loving it ... -- View this message in context:

Re: Ajax Detach Question

2008-02-07 Thread ckuehne
But the model is only loaded if you render the component that uses the model. Well, or if you use it for something else. In my case the model backs up a list of items. The list has a PagingNavigator whose isVisible() returns its result conditional on the number of pages (zero=invisible).

how to save CheckBoxMultipleChoice values into database

2008-02-07 Thread wiki
Hi I have a class of MultipleChoiceSingleSelectquestion which has one to many relationship with Answers in Hibernate here is the code to display questions with list of answers public class ViewQuestions extends AuthenticatedWebPage { private static final int ITEM_PER_PATE = 1; /**

Re: Settings focus to window opened by javascript appended to AjaxLink

2008-02-07 Thread Igor Vaynberg
also try calling target.focuscomponent(null). by default target will try to refocus the component that cause the ajax request. -igor On Feb 7, 2008 7:57 AM, Grzel [EMAIL PROTECTED] wrote: Hello, I am using AjaxLink to open a new window using javascript. The problem is that the focus is not

Re: wicket-tools-extjs

2008-02-07 Thread Jeremy Fergason
There is no HomePage.java because this is not a wicket application. It is a library that you can use in your applications. If you want to use it you can compile it by downloading the source and then compiling with: mvn compile, or you can just add the following lines to your applications POM and

Re: Customizing logging

2008-02-07 Thread Fabrizio Giudici
On 07/feb/08, at 20:36, Igor Vaynberg wrote: do you have slf4j adapter for jdk logging jar? http://www.slf4j.org/api/org/slf4j/impl/JDK14LoggerAdapter.html Yes, I've added it when I upgraded to 1.3.0 (I bet that without it I wouldn't have any logging at all from Wicket). But I always had

RE: ComponentTag#setNamespace()

2008-02-07 Thread Dan Kaplan
Opened a bug report for this: https://issues.apache.org/jira/browse/WICKET-1330 -Original Message- From: Dan Kaplan [mailto:[EMAIL PROTECTED] Sent: Thursday, February 07, 2008 11:07 AM To: users@wicket.apache.org Subject: ComponentTag#setNamespace() I noticed yesterday that the

Re: Evaluating Wicket

2008-02-07 Thread Eelco Hillenius
Don't forget to read the first chapter of Wicket In Action, which you can download for free at: http://www.manning.com/dashorst/. I do my best there to explain what kind of problems Wicket solves. nice book man ... am loving it ... Good to hear, thanks. We're amateur writers, but we've gone

Re: wicket-tools-extjs

2008-02-07 Thread Jeremy Fergason
Yeah, If you look at the comments I credited the author. -Jeremy On Feb 6, 2008 9:19 PM, Ryan Sonnek [EMAIL PROTECTED] wrote: Glancing through the javadocs, that JavascriptBuilder class looks awefully familiar. i'm assuming you've seen the wicketstuff-scriptaculous project? =) On Wed,

Re: a note about AbstractSingleSelectChoice

2008-02-07 Thread Igor Vaynberg
please add to jira... -igor On Feb 7, 2008 2:08 AM, Sergiy Yevtushenko [EMAIL PROTECTED] wrote: Hi all, In my app I was ought to subclass DropDownChoice just because of one small implementation detail of AbstractSingleSelectChoice.getModelValue(): ... public String

ComponentTag#setNamespace()

2008-02-07 Thread Dan Kaplan
I noticed yesterday that the ComponentTag#setNamespace() method only sets the namespace on the opening tag. The close tag is left unchanged. Is that intended functionality? If I call ComponentTag#setName(foo) it changes both the opening and closing tag so it seems inconsistent.

Re: @SpringBean and serialization

2008-02-07 Thread Igor Vaynberg
correct -igor On Feb 7, 2008 4:43 AM, Sebastiaan van Erk [EMAIL PROTECTED] wrote: dfernandez wrote: Hello everyone, I have a question regarding the relation between the @SpringBean annotation and the serialization of objects being referenced in a Page. If I have:

Re: Wicket MarkupException

2008-02-07 Thread Ayodeji Aladejebi
then again, what is so annoying in Netbeans is that it seem to lock your distribution files when tomcat is currently running your webapplication making it difficult for such changes to reflect when you have recompiled the external project and modified its markup too :( On 2/7/08, Ayodeji

Re: [wicketstuff] Accordion component?

2008-02-07 Thread Per Ejeklint
Oh! Was it two? Heh, double luck then - thanks to all! :) Nino.Martinez wrote: my contrib or the one from dojo? :) Per Ejeklint wrote: Nice, me like very much. Thanks! Nino.Martinez wrote: doh!

Re: Customizing the navigator panel LF

2008-02-07 Thread Federico Fanton
On Thu, 7 Feb 2008 14:17:38 +0100 Fabrizio Giudici [EMAIL PROTECTED] wrote: My navigator panels (e.g. from AjaxFallbackDefaultDataTable, GridView, etc... looks like 1 2 3 . I'd like to replace the lt and gt with icons, and to control the style of the numbers. How do I do that? In a

Re: Wicket MarkupException

2008-02-07 Thread Ayodeji Aladejebi
OoKie, i think its was my fault actaully. I did a Clean and Build on the project and it did work. Essentially netbeans only update Class files during build operations until you perform a Clean and Build i think. This seems to be the reason the markup files were not found at least in this my case

Settings focus to window opened by javascript appended to AjaxLink

2008-02-07 Thread Grzel
Hello, I am using AjaxLink to open a new window using javascript. The problem is that the focus is not set on the new window (it is opened but stays behind, not visible to the user) Code add(new AjaxLink(btn) { @Override public void onClick(AjaxRequestTarget target) {

Re: [wicketstuff] Accordion component?

2008-02-07 Thread Per Ejeklint
Nice, me like very much. Thanks! Nino.Martinez wrote: doh! http://wicketstuff.org/wicketdojo13/?wicket:bookmarkablePage=%3Aorg.wicketstuff.dojo.examples.accordioncontainer.AccordionContainerSample Nino Saturnino Martinez Vazquez Wael wrote: I almost have a component ready for

Re: Approach to dynamic form

2008-02-07 Thread Nino Saturnino Martinez Vazquez Wael
You could do this.. You could also checkout the wizard in extensions.. regards Nino oliverw wrote: For my application I would like to implement some kind of dynamic data-entry form. Initially just a dropdown list is visible, allowing the user to chose a top-level category. Along the way he

Re: [wicketstuff] Accordion component?

2008-02-07 Thread Igor Vaynberg
why didnt you just stick it into wicketstuff-minis? -igor On Feb 7, 2008 6:02 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-accordion Nino Saturnino Martinez Vazquez Wael wrote: I almost have a

Using Ajax to hide/show components

2008-02-07 Thread Fabrizio Giudici
Hello.I have a custom component called CollapsiblePanel that has a header with an icon; clicking on the icon, the panel get shown or hidden (see picture in attachment for a quick view). The first listing is the current version of the link used to do the thing, and it works, but uses a regular

Re: Customizing logging

2008-02-07 Thread Igor Vaynberg
do you have slf4j adapter for jdk logging jar? http://www.slf4j.org/api/org/slf4j/impl/JDK14LoggerAdapter.html -igor On Feb 7, 2008 5:13 AM, Fabrizio Giudici [EMAIL PROTECTED] wrote: Ok, that's really silly. In my application I use java.util.logging (and I need/want to use it, since some

Re: Using Ajax to hide/show components

2008-02-07 Thread Gerolf Seitz
in the ajaxified version you have to call target.setOutputMarkupPlaceHolderTag(true) in the constructor, so that an invisible dummy tag is rendered in case the target is initially invisible. the dummy tag is then replaced with the actual markup of the target, once it's visible. hth, gerolf On

Re: Block second click

2008-02-07 Thread Matthijs Wensveen
Hi, The if(!isEnabled()) will happen though, because the link is not really disabled on the client side, but it does prevent doSomeHeavyWeightProcessing to be called the second time which is what I need. What are the pros / cons of (ab)using setEnabled for this instead of just a member

Re: [wicketstuff] Accordion component?

2008-02-07 Thread Nino Saturnino Martinez Vazquez Wael
my contrib or the one from dojo? :) Per Ejeklint wrote: Nice, me like very much. Thanks! Nino.Martinez wrote: doh! http://wicketstuff.org/wicketdojo13/?wicket:bookmarkablePage=%3Aorg.wicketstuff.dojo.examples.accordioncontainer.AccordionContainerSample Nino Saturnino Martinez Vazquez

Re: wicket-tools-extjs

2008-02-07 Thread Jeremy Fergason
Yes, that's because I used the wicket archetype to create the project originally. I'll remove TestHomePage.java. Thanks for the catch! -Jeremy On Feb 7, 2008 1:06 PM, Flemming Boller [EMAIL PROTECTED] wrote: Hi Yes, but in your test class (TestHomePage.java) you reference HomePage.class

Re: Block second click

2008-02-07 Thread Martijn Dashorst
On 2/7/08, Matthijs Wensveen [EMAIL PROTECTED] wrote: The if(!isEnabled()) will happen though, because the link is not really disabled on the client side, but it does prevent doSomeHeavyWeightProcessing to be called the second time which is what I need. The problem is that the href of the

Re: wicket support for Jasper report

2008-02-07 Thread gnuyoga
hi i want to use jasperreport in wicket 1.3. i have used it with wicket 1.2. in wicket 1.2 we can set parameters in web.xml to call jasper report as how can i do it with wicket 1.3 this might help http://cwiki.apache.org/WICKET/migrate-13.html -- View this message in context:

Re: [wicketstuff] Accordion component?

2008-02-07 Thread Nino Saturnino Martinez Vazquez Wael
http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-accordion Nino Saturnino Martinez Vazquez Wael wrote: I almost have a component ready for wicketstuff.. Should I spend the extra hour generalizing it and putting it up on wicketstuff?

Re: Reloading resource

2008-02-07 Thread Igor Vaynberg
you need to a) point tomcat to some exploded war dir b) make it not redeploy the app if it detects a change c) make sure your ide copies modified html/property files into that exploded war location -igor On Feb 7, 2008 5:13 AM, Wang, Yuesong [EMAIL PROTECTED] wrote: Hi, My name is Yuesong

Approach to dynamic form

2008-02-07 Thread oliverw
For my application I would like to implement some kind of dynamic data-entry form. Initially just a dropdown list is visible, allowing the user to chose a top-level category. Along the way he would drill down further, and new components + validators would be added appropriate to the current

Re: CompoundModel based on proxies

2008-02-07 Thread Sam Barnum
The big argument for this cglib is to introduce some type safety to what is currently string-based bindings. This is a big plus. I don't think it's worth giving up the pure Java aspect that so many of us obviously like about Wicket. I'd rather see some IDE support that is smart about

Re: wicket-tools-extjs

2008-02-07 Thread Flemming Boller
Hi I have tried it a little bit, but I think you have forgot to include some source files. Like HomePage.java. /FLemming On Feb 7, 2008 4:02 AM, Jeremy Fergason [EMAIL PROTECTED] wrote: All, I've been trying to use the ExtJS forms from within wicket. It seemed that several people out

Re: Wicket MarkupException

2008-02-07 Thread Peter Thomas
On Feb 7, 2008 10:03 PM, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: then again, what is so annoying in Netbeans is that it seem to lock your distribution files when tomcat is currently running your webapplication making it difficult for such changes to reflect when you have recompiled the

Re: enclosures on nested components within wicket:extends

2008-02-07 Thread Igor Vaynberg
i dont think we considered foo:bar notation. please add an rfe. -igor On Feb 7, 2008 2:14 AM, Michael Sparer [EMAIL PROTECTED] wrote: I've just upgraded from rc1 to 1.3.1 and serveral pages throw RTEs (org.apache.wicket.WicketRuntimeException: The component(s) below failed to render.) on

RE: Reloading resource

2008-02-07 Thread Wang, Yuesong
Thanks. I got it to work by checking Tomcat setting Serve modules without publishing in Eclipse. Guess that tells Tomcat to use the files in place(?). Java changes no longer get auto deployed, but that is no a big deal when I have to do a lot of fine tuning of the html pages. Maybe it's time to

Re: wicket-tools-extjs

2008-02-07 Thread Flemming Boller
Hi Yes, but in your test class (TestHomePage.java) you reference HomePage.class That was why I mentioned it. /FLemming On Feb 7, 2008 8:35 PM, Jeremy Fergason [EMAIL PROTECTED] wrote: There is no HomePage.java because this is not a wicket application. It is a library that you can use in

Re: a note about AbstractSingleSelectChoice

2008-02-07 Thread Sergiy Yevtushenko
Igor Vaynberg wrote: please add to jira... Done. Issue WICKET-1331. Regards, Sergiy. *- [EMAIL PROTECTED] http://es.os2.ru/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For

IllegalStateException with AjaxFallbackDefaultDataTable

2008-02-07 Thread jwray
Hi, I'm experiencing an IllegalStateException (stack trace below) that I can't get rid of. I have a AjaxFallbackDefaultDataTable with columns made up of an extension of PropertyColumn that places an AjaxEditableLabel into the cell within the populateItem. This works great until I attempt to add

jquery Drag and Drop freezes in IE

2008-02-07 Thread gaugat
I've been using the DnDSortableHandler component. Everything seems to work great in FireFox. However, in IE7, I can only drag an item 1 time. Its as though it is frozen until I refresh the page. I also ran the wicketstuff-jquery-examples and it has the same problem. If you drag and item in IE7,

Re: IllegalStateException with AjaxFallbackDefaultDataTable

2008-02-07 Thread Igor Vaynberg
some code would help us help you... -igor On Feb 7, 2008 5:47 PM, jwray [EMAIL PROTECTED] wrote: Thanks for the reply. I'm sure it does have something to do with ordering, and probably the slightly circular nature of the situation in which an AjaxEditableLabel is embedded within a

Re: wicket-tools-extjs

2008-02-07 Thread Flemming Boller
I think you should add HomePage, or something like that, so users can see how to use this library. It is not easy to guess that for example many of the components shall not be in the markup when using this library, at least for the normal wicket user. Anyhow I found out that the ExtJS is a

Re: wicket-tools-extjs

2008-02-07 Thread Nino Saturnino Martinez Vazquez Wael
Yes it's normal practice to make a simple project that demonstrates the functionality... Like http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicket-contrib-accordion-examples/ etc.. It usually does not take that long to construct and, is very good for users to learn from.

Re: [wicketstuff] Accordion component?

2008-02-07 Thread Nino Saturnino Martinez Vazquez Wael
I did not know the requirements for putting it in minis.. I can do that now if you want? How do we distinguish when something are for minis or something are for a new project? -Nino Igor Vaynberg wrote: why didnt you just stick it into wicketstuff-minis? -igor On Feb 7, 2008 6:02 AM, Nino

Re: AJAX mouseover popup

2008-02-07 Thread Nino Saturnino Martinez Vazquez Wael
Hmm, actually theres this one too: http://wicketstuff.org/wicketdojo13/?wicket:bookmarkablePage=%3Aorg.wicketstuff.dojo.examples.bubble.BubbleSample Niels Bo wrote: Thanks, but that is ordinary popup's and I need them to be AJAX. Niels sander v F wrote: WicketStuff-Dojo (tooltips)

Serialization question

2008-02-07 Thread Martijn Lindhout
Hi all, I have this code in a Panel: TextField name = new TextField(name, new PropertyModel(person, name.value )); add(WidgetDecorator.decorate(name).from(person.getName()); I have domain objects (person) with rich type definities. getName() returns a Text object that contains all constraints