Re: Issue with nested forms

2008-10-31 Thread Igor Vaynberg
are you sure this still happens if you remove one of them? only immediate parent is checked for id collissions so unless you are somehow adding two components with id emaillabel to the same parent you wont get this error. feel free to create a quickstart that reproduces it. -igor On Thu, Oct 30,

Re: Issue with nested forms

2008-10-31 Thread Nino Saturnino Martinez Vazquez Wael
Really strange... I have something similar on 1.4, although never more that 1 nested form. Could you show us some code and markup cut out? Andrew Berman wrote: Hello, I am using Wicket 1.3.5 and I created a panel which contains a form. I have a parent template page and a child of the parent

Re: Moving from Tapestry to Wicket?

2008-10-31 Thread Ernesto Reinaldo Barreiro
Hi, In my experience, almost two years using it, Wicket has a rather stable-backwarks-compatible API. Maybe the biggest API break I have experienced was when branch 2.0 was declared a dead end and early 2.0 adopters had to re-adapt their code back to 1.3.x... Even migrating to 1.4 generics was

Re: Moving from Tapestry to Wicket?

2008-10-31 Thread Nino Saturnino Martinez Vazquez Wael
1) Utilize HTML templates (which you do, I understand). All good 2) Utilize CSS (which you do) files externally for my artist. All good 3) Utilize Javascript (which I assume you do). All good, and excellent support for integration creating your own ajax components. 4) Utilize a Java, component

Re: Moving from Tapestry to Wicket?

2008-10-31 Thread James Carman
On Thu, Oct 30, 2008 at 4:24 PM, GK1971 [EMAIL PROTECTED] wrote: Hi. You are possibly correct. My main concern is that I have to upgrade from Tapestry 4 to... something. Given that Tapestry 5 is not compatible in the least I have allowed myself to look at the options. Well, the backward

Javadoc for wicket 1.3.5 - how to include it in eclipse

2008-10-31 Thread pieter claassen
What is the most effective way to get the documentation available offline for wicket 1.3.5 in Eclipse. I notice that mvn eclipse:eclipse -Ddownloadsources=true does not give javadocs. Regards, Pieter

Final context-path-problem solution

2008-10-31 Thread mcbain
Hi My wicket-app runs with the standalone-jetty without errors. After deploy it to a tomcat-container the webapp-context problem arises, since the webapp-name is included in the url e.g. http://abc.de/webapp/. Wicket 1.4 generates relative resource-uri '../css/' in that case, which are not

Re: Javadoc for wicket 1.3.5 - how to include it in eclipse

2008-10-31 Thread Xhelas
You have run run mvn javadoc:javadoc at the root of the source directory. This will generated all the javadoc. Then you have to associate each jar with its corresponding javadoc root directory. Regards, Alexandre Pieter Claassen wrote: What is the most effective way to get the

Re: Javadoc for wicket 1.3.5 - how to include it in eclipse

2008-10-31 Thread Martin Grigorov
It has to be -DdownloadSources=true (with capital 'S'). Or eevn better put this in the pom.xml itself. If it still doesn't work by some reason then you could download it from Maven repos and tell Eclipse about it. There is no need to checkout the code just to generate the javadoc. Fri,

Re: Javadoc for wicket 1.3.5 - how to include it in eclipse

2008-10-31 Thread Martijn Dashorst
this is not for including javadoc, this is for generating it. Pieter wants to use the javadoc/source bundles we provide in the maven repository. mvn eclipse:eclipse -DdownloadSources=true should work (note the capital S) Martijn On Fri, Oct 31, 2008 at 9:41 AM, Xhelas [EMAIL PROTECTED] wrote:

French Wicket Users GoogleGroup !

2008-10-31 Thread Yann PETIT
Hi Everybody, As it seems that nobody as already announced it, I'd like to promote the wicket-fr googlegroup. http://groups.google.fr/group/wicket-fr All french speaking wicket users are welcome ! -- Bonjour à tous, Comme il semble que

Re: Final context-path-problem solution

2008-10-31 Thread mcbain
Solution 1 - Use wicket behind apache-http works as desribed in the wiki. -- View this message in context: http://www.nabble.com/Final-context-path-problem-solution-tp20261844p20263287.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Wicket 1.4-m3, wicket-auth-roles and Context Path

2008-10-31 Thread Alan Romaniusc
I found the problem!! No, I didn't, but I found the wrokaround. The problem happens with you configure the filter to use url-pattern = /*. If you change to something else, like /x/* the redirect will work as expected! just a reference... On Thu, Oct 30, 2008 at 1:50 PM, Alan Romaniusc

Re: Moving from Tapestry to Wicket?

2008-10-31 Thread GK1971
Hi. Thank you all for your input. Very valuable. I started reading Wicket In Action last night and I like how the book is written - very much. It has the right explanations in the right places. So, I'm becoming convinced to try it. But I have concerns around the handling of state. I understand

Re: Moving from Tapestry to Wicket?

2008-10-31 Thread Nino Saturnino Martinez Vazquez Wael
Regarding scalability. If you stick to using loadable detachable models and use terracotta, I've heard thats a good option? And no defiantly the automatic handling of state are have never been a problem for me, you just need to remember that things can be serialized at times, but the

Re: Moving from Tapestry to Wicket?

2008-10-31 Thread Martin Voigt
while I haven't migrated any big app from tapestry to wicket (but i know tapestry nonetheless), the number one reason to do so would be (at least for me) this: wicket is driven by usability (from the developers pov) and tapestry is driven by technology. while one does not exclude the other,

Re: [proposal] Recipies on wiki?

2008-10-31 Thread Martin Voigt
+1 for this idea. i have discovered a lot of small things that may be helpful but are just to small 2008/10/30 Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]: No I mean stuff thats too small for even minis, or stuff thats just very small and no general enough to put in minis.. Jeremy

Clustering Wicket application for Failover

2008-10-31 Thread Antoine Angenieux
Hi guys, I need to setup a production environment with failover support. From what I have read in the mailing list, and what I understand of the diskpagestore, the only drawback of setting session replication between 2 tomcat nodes when one of them fails and users are redirected to the

Re: [proposal] Recipies on wiki?

2008-10-31 Thread Martin Voigt
..just too small for a wicket-mini. don't know why gmail submitted only half the message ;) 2008/10/31 Martin Voigt [EMAIL PROTECTED]: +1 for this idea. i have discovered a lot of small things that may be helpful but are just to small 2008/10/30 Nino Saturnino Martinez Vazquez Wael [EMAIL

Re: set the feedback message to js function

2008-10-31 Thread Nino Saturnino Martinez Vazquez Wael
I would hack up a small js component for this case, and poke it with the message, sort of maybe what I've done with the scriptaculous toaster. rolandpeng wrote: thank you,igor here is my try and that work. But how could I display message only in alert dialog instead of both feedback panel

[Announce] Looking for a Wicket brain for employment?

2008-10-31 Thread Nino Saturnino Martinez Vazquez Wael
Then I could be that guy. You can read more about me here: http://wicketinaction.com/2008/10/meet-the-wicket-community-nino-martinez-wael/ I have my blog here: ninomartinez.wordpress.com Where I also have links to linkedin and facebook. My criteria's are that I can either telecommute or that

Re: IE7 ignores AjaxButton onSubmit when I use the keyboard enter key

2008-10-31 Thread Nino Saturnino Martinez Vazquez Wael
Yeah wicket does override id's.. But be carefull when manually assigning them. You could also do it the otherway around and spew out the correct id from the wicket side, into your js. Im not sure how well Wicket likes manual id's and ajax. mallet wrote: Solution: Igor's solution worked. I

Re: Migration to 1.4 - generic headache

2008-10-31 Thread Martin Voigt
if we could get something like T default Void from sun, all my generics problems would go away. no code clutter anymore just because you generify classes that should be. and type safety would still be ensured at runtime. if the vm would give me a way to evaluate the type parameter at runtime,

Re: Javadoc for wicket 1.3.5 - how to include it in eclipse

2008-10-31 Thread Ricky
umm ... there is a -DdownloadJavaDocs=true ... u can use that too. On Fri, Oct 31, 2008 at 4:58 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: this is not for including javadoc, this is for generating it. Pieter wants to use the javadoc/source bundles we provide in the maven repository. mvn

Redirect from an AjaxSelfUpdatingTimerBehavior

2008-10-31 Thread Adriano dos Santos Fernandes
Hi! I added AjaxSelfUpdatingTimerBehavior to a WebMarkupContainer (div), and inside its onPostProcessTarget I loaded a PDF (ResourceStreamRequestTarget) and called RequestCycle.get().setRequestTarget(requestTarget). After that, redirection doesn't happen, and I see the PDF content on the

Re: Redirect from an AjaxSelfUpdatingTimerBehavior

2008-10-31 Thread Francisco Diaz Trepat - gmail
Hi Adriano, maybe looking for PDF dynamic resource will bring something up. We had a similiar issue and discussed it on the list a while ago. f(t) On Fri, Oct 31, 2008 at 10:06 AM, Adriano dos Santos Fernandes [EMAIL PROTECTED] wrote: Hi! I added AjaxSelfUpdatingTimerBehavior to a

Testing + IFrame

2008-10-31 Thread Bert van Heukelom
Hello Everybody My Question: Is it possible to access the Components that are contained in an Iframe by using the WicketTester? I want to test an ajax upload component that uses an IFrame. I have difficulties when trying to access Components via their path that are contained in the IFrame. I

Re: Redirect from an AjaxSelfUpdatingTimerBehavior

2008-10-31 Thread Adriano dos Santos Fernandes
Francisco Diaz Trepat - gmail escreveu: Hi Adriano, maybe looking for PDF dynamic resource will bring something up. We had a similiar issue and discussed it on the list a while ago. f(t) Are you referring to this one http://www.nabble.com/Hi%2C-PDF-Question-td15050471.html#a15065319? It seems

Scaling Wicket and State.

2008-10-31 Thread GK1971
Hi. I am now considering how wicket would scale. Does anyone have any metrics on how it scales in a single server environment? I was worried about state handling - partly because this is an unknown to me. However, when I consider the road map for scaling my application I believe state becomes

PageableListView with PagingNavigator

2008-10-31 Thread Milan Křápek
Hi I need a litle bit help. In my application I have several PageableListViews. I set the number of items on one page to 10. And add some functionality that hides pagingNavigator when items.size = 10 and show the pagingNavigator when I have more than 10 items. But I have one problem with it.

Re: Migration to 1.4 - generic headache

2008-10-31 Thread Bernard Niset
Hi Martin, There *is* a way to evaluate the type parameter at runtime. Something like the following will give you the first type used: (ClassT) ((ParameterizedType) getClass() .getGenericSuperclass()).getActualTypeArguments()[0] Regards, Bernard. Martin Voigt a écrit : if we

Re: French Wicket Users GoogleGroup !

2008-10-31 Thread Bruno Borges
Cool! First a portuguese group, now a french one. Is WIcket going to be a multi-language framework? :-) Congratulationss on your effort! Cheers, Bruno Borges blog.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire it. -

Help with simple CheckBox example

2008-10-31 Thread ds26680
I am new to creating web applications with Wicket and I am struggling with getting a CheckBox to set a boolean variable in my domain object using a PropertyModel. I have had a good search around on the web for examples and I think the code bellow should work just fine. However when I click the

Re: Help with simple CheckBox example

2008-10-31 Thread Alan Romaniusc
I can see no problem in your code. Maybe something else? On Fri, Oct 31, 2008 at 12:29 PM, ds26680 [EMAIL PROTECTED] wrote: I am new to creating web applications with Wicket and I am struggling with getting a CheckBox to set a boolean variable in my domain object using a PropertyModel. I

Re: Help with simple CheckBox example

2008-10-31 Thread Serkan Camurcuoglu
yes, the code works except some serialization errors.. Alan Romaniusc wrote: I can see no problem in your code. Maybe something else? On Fri, Oct 31, 2008 at 12:29 PM, ds26680 [EMAIL PROTECTED] wrote: I am new to creating web applications with Wicket and I am struggling with getting a

testing borders with WicketTester

2008-10-31 Thread dlipski
Hi Is it possible (if not why?) to test Border components in a way similar to testing Panels ? -WicketTester.startPanel(TestPanelSource) ? Its strange but I cant find corresponding method for Borders. Thanks in advance. Daniel Lipski -- View this message in context:

Re: French Wicket Users GoogleGroup !

2008-10-31 Thread jWeekend
Yann, This it's good to see this. Let me know if we can help in anyway from the London branch. Our next event will probably be on December 3, at Google London (TBC), so if you have a chance to jump on the Eurostar, it'd be good to see you there. I will organise our December event when I am back

wicket:link - no automatic italicizing behavior needed

2008-10-31 Thread unka_hahrry
Hello! Is there any possibility to disable the automatic italicizing behavior when using wicket:link-tags? -- View this message in context: http://www.nabble.com/%3Cwicket%3Alink%3E---no-automatic-italicizing-behavior-needed-tp20269389p20269389.html Sent from the Wicket - User mailing list

Background processing

2008-10-31 Thread Adriano dos Santos Fernandes
Hi! AFAIK, processing for ResourceStreamRequestTarget is not synchronized, so I can have more than one running in the same session. But due to my other problem, I had to wrap it on a Page to redirect. But that suspend user interaction until a report is completed, a thing that I don't want.

Re: Background processing

2008-10-31 Thread Nino Saturnino Martinez Vazquez Wael
put the stuff in a lazyloading panel.. Adriano dos Santos Fernandes wrote: Hi! AFAIK, processing for ResourceStreamRequestTarget is not synchronized, so I can have more than one running in the same session. But due to my other problem, I had to wrap it on a Page to redirect. But that

Re: Clustering Wicket application for Failover

2008-10-31 Thread Igor Vaynberg
wicket supports clustering with failover transparently with or without the diskstore. if you use httpsessionstore then nothing needs to happen. if you use diskstore what happens is that the latest page is replicated using httpsession and each node stores it into its own diskstore when it is

Re: Background processing

2008-10-31 Thread Adriano dos Santos Fernandes
Hi Nino! From my understanding of the component and the example, it will make a length AJAX call until the report is complete, so it will make the user session blocked. Or am I wrong? Thanks, Adriano Nino Saturnino Martinez Vazquez Wael escreveu: put the stuff in a lazyloading panel..

Re: Clustering Wicket application for Failover

2008-10-31 Thread Antoine Angenieux
I guess that's all I wanted to hear ;) Thanks alot Igor for your quick reply as usual ! Cheers, Antoine. Igor Vaynberg wrote: wicket supports clustering with failover transparently with or without the diskstore. if you use httpsessionstore then nothing needs to happen. if you use diskstore

Re: Moving from Tapestry to Wicket?

2008-10-31 Thread Scott Swank
Regarding session state, you really have basic options. State is kept in implementations of IModel. 1. Model is just a holder for an object. If you use it then your object is in your session. 2. LoadableDetachableModel stores an id (or whatever) and retrieves the relevant object from your

Re: Moving from Tapestry to Wicket?

2008-10-31 Thread Igor Vaynberg
state is always a scarry thing for users coming from a stateless framework, but really its a myth. you can find plenty of threads in the archives of this list on this topic. thoof.com used wicket and it received as much traffic as digg at some ponts. too bad they ran out of money because it was a

Re: Redirect from an AjaxSelfUpdatingTimerBehavior

2008-10-31 Thread Igor Vaynberg
does it work if you do not use ajax? -igor On Fri, Oct 31, 2008 at 6:38 AM, Adriano dos Santos Fernandes [EMAIL PROTECTED] wrote: Francisco Diaz Trepat - gmail escreveu: Hi Adriano, maybe looking for PDF dynamic resource will bring something up. We had a similiar issue and discussed it on

Re: Scaling Wicket and State.

2008-10-31 Thread Igor Vaynberg
wicket apps scale like any other webapp that uses httpsession. you can optimize this further by using sticky sessions. -igor On Fri, Oct 31, 2008 at 7:01 AM, GK1971 [EMAIL PROTECTED] wrote: Hi. I am now considering how wicket would scale. Does anyone have any metrics on how it scales in a

Re: PageableListView with PagingNavigator

2008-10-31 Thread Igor Vaynberg
when you remove the item does your list still contain 11 items? because the page view should go back to the last page if this happens automatically. -igor On Fri, Oct 31, 2008 at 7:05 AM, Milan Křápek [EMAIL PROTECTED] wrote: Hi I need a litle bit help. In my application I have several

Re: Migration to 1.4 - generic headache

2008-10-31 Thread Igor Vaynberg
this only works for subclasses. and if you do class myclassa,b extends otherclassb you have to map the entire class hierarchy to figure out how [0] maps to your expected type. in the example above you actually want [1]. -igor On Fri, Oct 31, 2008 at 7:23 AM, Bernard Niset [EMAIL PROTECTED]

Re: testing borders with WicketTester

2008-10-31 Thread Igor Vaynberg
borders are not meant to be self-contained like panels. they are meant to be used within something that contains markup, eg page or panel. -igor On Fri, Oct 31, 2008 at 8:14 AM, dlipski [EMAIL PROTECTED] wrote: Hi Is it possible (if not why?) to test Border components in a way similar to

Re: Background processing

2008-10-31 Thread Nino Saturnino Martinez Vazquez Wael
Ahh forget full me! there is ofcouse another option :) In wicketstuff theres the progress something contrib. That might just be what you are looking for. http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-progressbar Hmm wicketstuff seems to be down ;/ I wonder why you are

Re: Background processing

2008-10-31 Thread Igor Vaynberg
the proper way to do this would be: class mypage extends webpage { private reportconfig config; public mypage { config=; add(new ajaxpoller(poller) { protected void onpoll(ajaxrequesttarget t) { if (getapplication().getworkmanager().isready(config)) {

Re: wicket:link - no automatic italicizing behavior needed

2008-10-31 Thread Igor Vaynberg
getmarkupsettings().setdefaultbefore/afterdisabledlink(); in your application.init() -igor On Fri, Oct 31, 2008 at 9:35 AM, unka_hahrry [EMAIL PROTECTED] wrote: Hello! Is there any possibility to disable the automatic italicizing behavior when using wicket:link-tags? -- View this message

Re: wicket:link - no automatic italicizing behavior needed

2008-10-31 Thread Michael Sparer
actually there are two: - use CSS to disable it or - set getMarkupSettings().setDefaultBeforeDisabledLink(); and getMarkupSettings().setDefaultAfterDisabledLink(); in your webapp's init() regards, Michael unka_hahrry wrote: Hello! Is there any possibility to disable the automatic

Re: Moving from Tapestry to Wicket?

2008-10-31 Thread GK1971
Hi guys, I think the responses alone are almost swaying me toward Wicket - I sense a strong community. That has been a problem for my in other frameworks where there is no sense of community and input is not welcome. Concerning state: My web application really is an application, rather than a

Re: [proposal] Recipies on wiki?

2008-10-31 Thread jWeekend
Let's take care not to scatter this useful information in too many places on the Wiki. Take a look at http://cwiki.apache.org/WICKET/how-to-do-things-in-wicket.html here . Regards - Cemal http://www.jWeekend.co.uk http://jWeekend.co.uk Martin Voigt wrote: ..just too small for a

Re: Wicket 1.4-m3, wicket-auth-roles and Context Path

2008-10-31 Thread Alan Romaniusc
Another question I can not find any bug reporting about it. Should I try to open a bug or 1.5 will have this fixed anyway? On 10/31/08, Alan Romaniusc [EMAIL PROTECTED] wrote: I found the problem!! No, I didn't, but I found the wrokaround. The problem happens with you configure the filter to

Re: Background processing

2008-10-31 Thread Adriano dos Santos Fernandes
Nino Saturnino Martinez Vazquez Wael escreveu: Ahh forget full me! there is ofcouse another option :) In wicketstuff theres the progress something contrib. That might just be what you are looking for. http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-progressbar Hmm

Re: Moving from Tapestry to Wicket?

2008-10-31 Thread Igor Vaynberg
On Fri, Oct 31, 2008 at 11:17 AM, GK1971 [EMAIL PROTECTED] wrote: Concerning state: My web application really is an application, rather than a simple stateless site. Developing it using a restful model will mean (I assume) exposing information about the internals to the client. I don't want to

[1.3.5] Wicket POST leaks backend server with apache's mod_rewrite

2008-10-31 Thread smallufo
I have a front apache server (httpd-2.0.52-41.ent.centos4) , with a backend db/servlet server (internal IP). I want to use apache's mod_rewrite to redirect the jsp/servlet/wicket requests to the backend server. So I add these lines in httpd.conf : IfModule mod_rewrite.c RewriteEngine On

Re: Wicket 1.4-m3, wicket-auth-roles and Context Path

2008-10-31 Thread Igor Vaynberg
open a bug and provide a quickstart -igor On Fri, Oct 31, 2008 at 11:31 AM, Alan Romaniusc [EMAIL PROTECTED] wrote: Another question I can not find any bug reporting about it. Should I try to open a bug or 1.5 will have this fixed anyway? On 10/31/08, Alan Romaniusc [EMAIL PROTECTED]

Re: [1.3.5] Wicket POST leaks backend server with apache's mod_rewrite

2008-10-31 Thread Igor Vaynberg
wicket uses relative urls, so if it ends up having your internal ip address in the redirect it must be a problem with your proxy config -igor On Fri, Oct 31, 2008 at 11:37 AM, smallufo [EMAIL PROTECTED] wrote: I have a front apache server (httpd-2.0.52-41.ent.centos4) , with a backend

Re: PageableListView with PagingNavigator

2008-10-31 Thread Milan Křápek
Yes. After any operation (add/remove) item I reload the page. I do not use Ajax refreshing, but I use setResponsePage method and my ListView model is LoadabledetachableModel so the data are reloaded. And the size of loaded data is 10, not 11. The ListView is shown on the second page that is

Re: [1.3.5] Wicket POST leaks backend server with apache's mod_rewrite

2008-10-31 Thread Nino Saturnino Martinez Vazquez Wael
Yeah I'd say the same as Igor.. Theres a page on the wiki suggesting howto use proxy instead. And you can actually make this work directly not using AJP and just http (I wrote a response once to a thread about it). You could also use the new way of loadbalacing and just have one member, this

Re: Moving from Tapestry to Wicket?

2008-10-31 Thread Adib Saikali
On Fri, Oct 31, 2008 at 11:17 AM, GK1971 [EMAIL PROTECTED] wrote: Hi guys, I think the responses alone are almost swaying me toward Wicket - I sense a strong community. That has been a problem for my in other frameworks where there is no sense of community and input is not welcome.

Re: Help with simple CheckBox example

2008-10-31 Thread ds26680
Thanks for the help so far. I have fixed the Serialization issue but the problem remains. My selected variable (domain model) is always false. I have noticed the the getObject() method of the PropertyModel gets called but the setModel() method (which I believe sets the domain model variable)

Re: [1.3.5] Wicket POST leaks backend server with apache's mod_rewrite

2008-10-31 Thread smallufo
Thank you I switched to use ProxyPass and ProxyPassReverse , achieving what I want : ProxyPass /app http://192.168.1.2:8080/app ProxyPassReverse /app http://192.168.1.2:8080/app - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: PageableListView with PagingNavigator

2008-10-31 Thread Igor Vaynberg
strange, create a quickstart and attach it to a jira issue. -igor 2008/10/31 Milan Křápek [EMAIL PROTECTED]: Yes. After any operation (add/remove) item I reload the page. I do not use Ajax refreshing, but I use setResponsePage method and my ListView model is LoadabledetachableModel so the

Re: [1.3.5] Wicket POST leaks backend server with apache's mod_rewrite

2008-10-31 Thread Nino Saturnino Martinez Vazquez Wael
np, happy to help smallufo wrote: Thank you I switched to use ProxyPass and ProxyPassReverse , achieving what I want : ProxyPass /app http://192.168.1.2:8080/app ProxyPassReverse /app http://192.168.1.2:8080/app - To

Re: Help with simple CheckBox example

2008-10-31 Thread Igor Vaynberg
i dont know if what you pasted is your compete source or not, but if there is a validation error then the model is not updated. add a feedbackpanel to the page and see if it gets any errors. further setobject() will not be called on your model, the actuall call performed will be

Re: AbstractPageStore memory implementation instead of disk

2008-10-31 Thread Eelco Hillenius
Ok, I think I get it :-) One more questionL if I would have sticky sessions, and no page back functionality, would I still need wicket to serialize? Technically not, if you really don't need page back functionality (are you sure you can enforce that?), than it would suffice to just have the

Re: Help with simple CheckBox example

2008-10-31 Thread ds26680
Thanks for the reply, Igor. I have added a feedback panel and no validation or error messages are displayed. Here is my complete code listing for clarity of what I am working with. The Java class:- private static final long serialVersionUID = 1L; public HomePage() { MyForm form =

Re: Issue with nested forms

2008-10-31 Thread Andrew Berman
I figured out why it was happening. It was because I put a WebMarkupContainer on the body tag which includes the wicket:child. So I had: body wicket:id=body wicket:child/ /body I need to be able to dynamically update the class attribute on the body tag which exists in the parent page, how can

Re: Issue with nested forms

2008-10-31 Thread Andrew Berman
Actually, i had something more like this: body wicket:id=body form wicket:id=form.../form wicket:child/ /body And in the child: form wicket:id=form/form When I removed the WebMarkupContainer on the body tag, everything worked perfectly. On Fri, Oct 31, 2008 at 2:48 PM, Andrew Berman

clever wicket link renaming? context path?

2008-10-31 Thread Ryan McKinley
Hello- I've been happily running my app on the root context path... but now I need to run it on something else. Throughout my html code, I have links that look like this: a href=/mount/param1/param2/.../a this links to a bookmarkable page with a URL coding strategy. Now I need to run the

Re: Help with simple CheckBox example

2008-10-31 Thread Igor Vaynberg
what does your web.xml look like? -igor On Fri, Oct 31, 2008 at 2:22 PM, ds26680 [EMAIL PROTECTED] wrote: Thanks for the reply, Igor. I have added a feedback panel and no validation or error messages are displayed. Here is my complete code listing for clarity of what I am working with. The

Re: Issue with nested forms

2008-10-31 Thread Igor Vaynberg
put the container back, override its istransparentresolver() and return true -igor On Fri, Oct 31, 2008 at 2:50 PM, Andrew Berman [EMAIL PROTECTED] wrote: Actually, i had something more like this: body wicket:id=body form wicket:id=form.../form wicket:child/ /body And in the child:

How do I remove duplicate FeedbackMessages from a FeedbackPanel?

2008-10-31 Thread mallet
I have a page that does the same validations to multiple fields. I would like only one error message to display There were one or more errors found when validating fields. Here's what I did: FeedbackPanel feedback = new FeedbackPanel(feedback, new IFeedbackMessageFilter() { public

Re: clever wicket link renaming? context path?

2008-10-31 Thread James Carman
Have you tried using wicket:link to surround your a elements? On Fri, Oct 31, 2008 at 5:53 PM, Ryan McKinley [EMAIL PROTECTED] wrote: Hello- I've been happily running my app on the root context path... but now I need to run it on something else. Throughout my html code, I have links that

Re: clever wicket link renaming? context path?

2008-10-31 Thread Igor Vaynberg
you can write your own IMarkupFilter and modify the markup as it is loaded into wicket. -igor On Fri, Oct 31, 2008 at 2:53 PM, Ryan McKinley [EMAIL PROTECTED] wrote: Hello- I've been happily running my app on the root context path... but now I need to run it on something else. Throughout

Re: How do I remove duplicate FeedbackMessages from a FeedbackPanel?

2008-10-31 Thread Igor Vaynberg
if all you want is just one message ever then simply do add(new label(errors, there were errors) { isvisible() { return getsession().getfeedbackmessages().hasanymessages(); }}); -igor On Fri, Oct 31, 2008 at 3:02 PM, mallet [EMAIL PROTECTED] wrote: I have a page that does the same

Re: How do I remove duplicate FeedbackMessages from a FeedbackPanel?

2008-10-31 Thread mallet
Perhaps my post was premature... it seems there is in fact a getFeedbackMessages method in FeedbackPanel, but for some reason my IDE does not see it. I'm guessing these FeedbackMessages are put in the Session first, and then separately put on the panel, so the accept method is being run after

Different size of Modal Window in IE and Firefox

2008-10-31 Thread Tomasz Dziurko
I have problem with size of ModalWindow with Page inside in Firefox 3.0.3 and IE version 7.0.5730.13. When I set modal1.setResizable(false); modal1.setWidthUnit(px); modal1.setHeightUnit(px); modal1.setMinimalHeight(200); modal1.setMinimalWidth(300); modal1.setInitialHeight(200);

Re: Help with simple CheckBox example

2008-10-31 Thread ds26680
Here is my web.xml. This was auto generated as I used the QuickStart project generated off the Wicket website. ?xml version=1.0 encoding=ISO-8859-1? web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: Help with simple CheckBox example

2008-10-31 Thread Igor Vaynberg
that looks fine too. package your project and attach it somewhere so we can take a look. -igor On Fri, Oct 31, 2008 at 3:12 PM, ds26680 [EMAIL PROTECTED] wrote: Here is my web.xml. This was auto generated as I used the QuickStart project generated off the Wicket website. ?xml version=1.0

Portlet support

2008-10-31 Thread Janne Kario
Hi. I've been browsing through the portlet stuff in trunk and don't really know what to make of it. What can I expect from the upcoming 1.4-m4 in terms of portlet support? The current portlet stuff in trunk is stricly JSR-168 stuff, right? The JSR-286 stuff exists only as a patch set, right? No

Re: Help with simple CheckBox example

2008-10-31 Thread ds26680
I have zipped the project up and posted the file here. http://www.mediafire.com/?sharekey=80eaecc06e6b1b4dd2db6fb9a8902bda Hopefully, this will shed some light on my issues! Thanks in advance for your help. igor.vaynberg wrote: that looks fine too. package your project and attach it

Re: Help with simple CheckBox example

2008-10-31 Thread Igor Vaynberg
rofl i guess you shouldve posted your markup sooner input wicket:id=selected type=checkbox value= checked / ^ value= there overrides the submitted value of the checkbox from on back to and thus the checkbox is never selected. simply remove value= from your markup and all should work. -igor

Re: Moving from Tapestry to Wicket?

2008-10-31 Thread Eelco Hillenius
I have a complex table and many links on the page that are not book-markable. Will that be a problem in terms of too much session information? The default session store in Wicket saves history in some temp files and only holds the current page in memory (well, the current page of any page map

Re: Background processing

2008-10-31 Thread Eelco Hillenius
there is no point streaming huge amounts of data through wicket, servlets do a much better job. Imho it's nice to have code in the same place, and I typically prefer using e.g. shared resources over servlets. Both will do the job just fine. Eelco

Re: set the feedback message to js function

2008-10-31 Thread rolandpeng
Excuse me. I don't get it clearly. What does 'hack up a small js' do and please discribe more about scriptaculous toaster, or any url for reference? Thank you very much. roland. Nino.Martinez wrote: I would hack up a small js component for this case, and poke it with the message, sort of