Required RadioGroup

2007-11-16 Thread alshamsi
Hi All, I want to add the required validation on a RadioGroup component. I added the setRequired(true); What happens is that if the user did not select a radio choice the validation msg will be shown. what should be the case. but if the user selected a radio after that, the same msg will

Re: Required RadioGroup

2007-11-16 Thread Suad AlShamsi
I added it .. Nothing changed?! I am still getting the same problem. Martijn Dashorst wrote: add: modes.setReuseItems(true); Martijn On 11/16/07, alshamsi [EMAIL PROTECTED] wrote: Hi All, I want to add the required validation on a RadioGroup component. I added the setRequired(true);

Re: Submit form and close Modal Window

2007-11-16 Thread Maurice Marrink
Nope, don't think so. But you can always use an AjaxSubmitLink or AjaxSubmitButton to submit the form. On a more general note: all activity inside the modaldialog should be ajax. Maurice On Nov 15, 2007 5:03 PM, Marco Aurélio Silva [EMAIL PROTECTED] wrote: Hi I'm having problems to close a

Re: Required RadioGroup

2007-11-16 Thread Martijn Dashorst
add: modes.setReuseItems(true); Martijn On 11/16/07, alshamsi [EMAIL PROTECTED] wrote: Hi All, I want to add the required validation on a RadioGroup component. I added the setRequired(true); What happens is that if the user did not select a radio choice the validation msg will be shown.

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Alexis
Yep that would be more maintenable ;) As an alternative, you could provide instanciation of components in markup. I think i've seen some code doing just that in the hypothetical v2.0, is this planned for 1.3 ? igor.vaynberg wrote: On Nov 15, 2007 3:02 PM, Alexis [EMAIL PROTECTED] wrote: *

Problem with inheritance in portlets

2007-11-16 Thread Dima Zealander
hi all I have base page for portlets and some page that inharitances base page. Base page contains market name (Label) public MarketTableBasePage(final PageParameters parameters) throws StringValueConversionException { String id =

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Nino Saturnino Martinez Vazquez Wael
Reading through all the responses on this thread, I can already see that all the fundemental things in wicket I now take for granted forexample as debugging. I guess I would have a hard time doing anything else by now. regards Nino Nino Saturnino Martinez Vazquez Wael wrote: I totally agree.

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Eelco Hillenius
On Nov 16, 2007 1:42 AM, Alexis [EMAIL PROTECTED] wrote: Yep that would be more maintenable ;) As an alternative, you could provide instanciation of components in markup. I think i've seen some code doing just that in the hypothetical v2.0, is this planned for 1.3 ? We've had this hidden

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Nino Saturnino Martinez Vazquez Wael
I totally agree. Wicket has made me a better developer. It actually makes you think in a more OO way, comming from .net and jsp back in the day. Comming from jsp and somewhat .net I had somewhat a hard time to grasp the concept of models and the fact that wicket maintains whats selected in

Re: IOC problem

2007-11-16 Thread Uwe Schäfer
Gwyn Evans schrieb: but I'd suggest that the correct place would be in a page below the Integration guides page thanks, will do that on Sunday. -- THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 0 F + 49 761 3 85 59 550 E [EMAIL PROTECTED]

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Johan Compagner
If you have patches that made our WicketTester better please add them to jira. johan On Nov 16, 2007 10:24 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: I totally agree. Wicket has made me a better developer. It actually makes you think in a more OO way, comming from

tinymce ajax submit

2007-11-16 Thread godin
Hi, doe somebody manage to make tinymce work with an ajax submit button regards Marc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ModalWindow: open on page construction

2007-11-16 Thread Kirk Israel
Is there a way to get a ModalWindow to open up along with its underlying page? The usual show() takes an AjaxRequestTarget ... I have at least one work around in mind (ripping out the ModalWindow into a separate object so the launching page could show it too) but it would be more elegant to just

Re: Wicket OSGi

2007-11-16 Thread Edgar Poce
Hi, In my spare time I'm building a CMS with wicket. I'm not developing it actively, just playing with it in my spare time. So far I developed the following bundles: Wicket as an osgi bundle: http://mybundles.googlecode.com/svn/trunk/wicket/wicket-bundle/ A simple wicket example application:

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Johan Compagner
If you don't want to maintain HTML/CSS and also have that generated look at the layout manager frameworks like Echo2 johan On Nov 16, 2007 7:21 AM, Joe Toth [EMAIL PROTECTED] wrote: Compare the java code to something in velocity/jsp like... href=/path/to/something.jsp?id=${draft.id} ...I

Re: Required RadioGroup

2007-11-16 Thread Suad AlShamsi
I am using 1.3 beta 4. I copied from wicket examples as well but its not working. Martijn Dashorst wrote: I just did this in the FormInput example of Wicket examples (1.3.0-rc1) and it works: RadioGroup group = new RadioGroup(numbersGroup);

Border component - naming

2007-11-16 Thread Stefan Simik
Hello all, I have one question about the right naming of the Border component. I think, that Border is a little confusing name, in context of swing-like border. In my opinion, border should be used as a decorator, that is transparent for component, which has it added --- it's like the new

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Johan Compagner
On Nov 16, 2007 8:21 AM, Jonathan Locke [EMAIL PROTECTED] wrote: - the api surface area /is/ a little bigger than it would ideally be. i wish i had stayed more on top of this. fighting to remove stuff and shrink the api is half the battle of making a framework. there are even a

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Johan Compagner
Cons: - steep learning curve this really depends where you coming from. For me wicket is simple, it feels natural. Struts for example never did that for me. Also tapestry that came close for me. But it still did itches.. still though yeah close but not quite there. Of course you need to

Re: Dojo with Wicket 1.3 Templates

2007-11-16 Thread Tom Desmet
Hi, We encountered the same phenomenon with wicket dojo. The reason is that if resources are loaded by a servlet engine when there is no session cookie set to the client, the servlet engine does url rewriting, and appends ?jsessionid=xxx to the urls it generates. Dojo has some internal coding

Readonly checkbox

2007-11-16 Thread mclev
I have a case where I'm using a checkbox to show boolean data in a table. However I want the data to be readonly. Is there any way to make the CheckBox component readonly such that a user could not change it from being checked to unchecked or vise versa? matt clevenger -- View this message in

Re: wicket-contrib Access

2007-11-16 Thread Michael Laccetti
Eelco Hillenius wrote: If you give us your sourceforge id, we can give you commit rights. You'll have to team up with whoever else is maintaining that package though; don't just go in and break the whole thing ;-) Eelco My SF ID is nihilisticz. I promise to play nice. :)

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Igor Vaynberg
round-robin has a couple of disadvantages over sticky sessons: a) you need to replicate state to all nodes - a lot of traffic although with a fiber backplane its most likely not an issue. with sticky sessions you only have to replicate to one or two other nodes which act as backup buddies. b)

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Igor Vaynberg
you will get an error, i have explained this in a parallel thread yesterday... that is why we are working on a special page store that will also write out the current page onto the disk when the session is replicated - that means all nodes will have all the pages spooled to disk so clustering will

Re: JPA best-practices?

2007-11-16 Thread Nino Saturnino Martinez Vazquez Wael
That could be great, that way we could support each other.. Do you have an idea on how to get started? regards Nino Uwe Schäfer wrote: Nino Saturnino Martinez Vazquez Wael schrieb: Im actually about to write a tutorial thing about howto JPA-HIBERNATE-SPRING in wicket... It could be something

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Jonathan Locke
it might almost go without saying that i don't agree with these particular cons. html templates live next to java code because they are conceptually related and so it makes sense to encapsulate them in the same package. what never made sense to me was the other way of doing it. requiring a

Re: Wicket OSGi

2007-11-16 Thread Igor Vaynberg
perhaps one of the groups who are using wicket and osgi successfully can put together an example project that demonstrates all these concepts so the community does not have to reinvent the wheel and solve problems that have already been solved by others...thats what this is all about afterall

Re: Required RadioGroup

2007-11-16 Thread Martijn Dashorst
I just did this in the FormInput example of Wicket examples (1.3.0-rc1) and it works: RadioGroup group = new RadioGroup(numbersGroup); add(group); ListView persons = new ListView(numbers, NUMBERS) {

Re: JPA best-practices?

2007-11-16 Thread Korbinian Bachl
Uwe Schäfer schrieb: Maris Orbidans schrieb: Let's remember good old EJB's. Inject an EntityManager in a session bean facade and EJB container will handle all concurrency issues. No need to write any boilerplate code. that´s where i come from. problem is, that you domain object aren´t

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Johan Compagner
I dont think ajax is a compromise .. Not for the kind of webframe work we are.. We are a serverside framework. just like struts/jsf/tapestry. I guess you compare it with full client side frameworks (gwt or echo2) yes those are ajax through and through (they have to) But that doesn't mean that i

Re: ModalWindow: open on page construction

2007-11-16 Thread Kirk Israel
(Sorry, I should have added I found the September discussion, I wondered if there was a more elegant solution in the meanwhile...) On Nov 16, 2007 11:45 AM, Kirk Israel [EMAIL PROTECTED] wrote: Is there a way to get a ModalWindow to open up along with its underlying page? The usual show() takes

Re: Seam Integration and Injection

2007-11-16 Thread Eelco Hillenius
On Nov 16, 2007 5:22 AM, Frank Martínez [EMAIL PROTECTED] wrote: Hi, I am working with jboss seam by about one year, now i am developing a wicket-seam integration based on wicket-seam-test. Good to hear someone is working on it! I will send it to the wicket developers when i finish it. You

WicketTester: how to mock off EJB's

2007-11-16 Thread Andy Barlow [Deftex]
I have an application which used Session EJB's to deliver data to Wicket pages. These are looked up using JNDI in the main application class: for the sake of argument let's call it MainApplication.java. I then have a BasePage.java from which all other pages that use these EJB's inherit,

Re: French companies working with Wicket

2007-11-16 Thread Hugues Pichereau
Since it's a french-only thread, I follow up with french language ;-) Antoine, peux tu dire le nom de ta société, à moins que ce soit confidentiel-défense =^D ? Antoine Angénieux wrote: We've been actively using Wicket since February and are based in Paris. We are a software editor

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread saenz
Fair enough. Good answer. :) Of course I meant in the non-failure case. So under normal operations outside of failure conditions, perhaps there really is no benefit to move users to other nodes during the lifetime of a session, or at least the difficulty outweighs the benefit. - Lu

Seam Integration and Injection

2007-11-16 Thread Frank Martínez
Hi, I am working with jboss seam by about one year, now i am developing a wicket-seam integration based on wicket-seam-test. I will send it to the wicket developers when i finish it. I am not expert on Wicket and i have some questions: 1. Are Wicket Components instantiated on every request? 2. In

Re: JPA best-practices?

2007-11-16 Thread Uwe Schäfer
Nino Saturnino Martinez Vazquez Wael schrieb: Im actually about to write a tutorial thing about howto JPA-HIBERNATE-SPRING in wicket... It could be something worth looking at, Im trying to have a clean seperation of domain / database and frontend (wicket). interesting. i could write a

Re: French companies working with Wicket

2007-11-16 Thread godin
Hugues Pichereau a écrit : Hi, I was wondering if there are companies in France (and especially near Paris) known to use Wicket (except Anyware Technologies, at Toulouse, which seems well known for that) ? we are not a SSII , but here at the ESSEC DEV Team and we use it ;) Regards,

ListView multiple windows

2007-11-16 Thread wheleph
Hello everyone. Preamble: I want to forbid simultaneous login of the same user from different clients. In particular I must handle opening of new window in the same session (Ctrl+N in IE). To achieve this I override WebPage.onNewBrowserWindow(). Here is the use case that causes a problem. 1. A

Re: JPA best-practices?

2007-11-16 Thread Francis De Brabandere
if you use EJB3 you really want to use the wicket-contrib-javaee project (wicketstuff) all you need to do is call you @EJB and rest is handled automatically ! That project needs an update for 1.3 Add wicket-ioc dep / remove spring dep + some other unneeded deps / fix package names, I

Re: Seam Integration and Injection

2007-11-16 Thread Eelco Hillenius
On Nov 16, 2007 8:15 AM, Igor Vaynberg [EMAIL PROTECTED] wrote: components are not instantiated on every request - they are only instantiated when YOU instantiate them using the NEW operator...wicket is unmanaged. the problem with using onbeforerender is that some components need access to

RE: Matt Raible's ApacheCon presentation

2007-11-16 Thread Maeder Thomas
One BIG plus that I haven't seen mentioned is debuggability. A wicket application is almost as easy to debug as a regular application. For one thing the error messages are really great. 90% of the time the nail the problem. But the biggest plus is that the whole control flow is just in regular

Re: IOC problem

2007-11-16 Thread Gwyn Evans
There's nothing on the Wiki at the moment, but I'd suggest that the correct place would be in a page below the Integration guides page at http://cwiki.apache.org/WICKET/integration-guides.html. Just go there, then Add page and it should automatically appear in the Reference page/Integration

Re: Swarm and Acegi

2007-11-16 Thread Johan Compagner
and does it really work? On Nov 15, 2007 1:43 AM, Maurice Marrink [EMAIL PROTECTED] wrote: There are a lot of people out there asking about wicket and acegi and how to integrate them. And until recently the only answer was check the wiki

Submit a form and ignore nested forms

2007-11-16 Thread Pills
Hi everybody, I'm using nested forms in my web app to provide to the user a simple way for editting a product and its stock state at the same time (PRODUCTS and STOCKS are bound with a relation 1-n in my database). So I've defined a form for each of my tables. When I submit a nested form (in

Re: Readonly checkbox

2007-11-16 Thread Gabor Szokoli
On Nov 16, 2007 6:06 PM, mclev [EMAIL PROTECTED] wrote: I have a case where I'm using a checkbox to show boolean data in a table. However I want the data to be readonly. Try setEnabled(false), works on any Component. Szocske

Re: JPA best-practices?

2007-11-16 Thread Uwe Schäfer
Maris Orbidans schrieb: Let's remember good old EJB's. Inject an EntityManager in a session bean facade and EJB container will handle all concurrency issues. No need to write any boilerplate code. that´s where i come from. problem is, that you domain object aren´t able to lazily fetch

Re: JPA best-practices?

2007-11-16 Thread Maris Orbidans
Let's remember good old EJB's. Inject an EntityManager in a session bean facade and EJB container will handle all concurrency issues. No need to write any boilerplate code. BTW I have seen that some people use OpenEntityManagerInViewFilter and map it to url pattern /*. It seems that an

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Jonathan Locke
yeah, i'm afraid i agree with you now. ;-) oh well. hindsight is 20/20. otoh, if this is some of the biggest stuff we can find to complain about, i think we did pretty damn well. Johan Compagner wrote: On Nov 16, 2007 8:21 AM, Jonathan Locke [EMAIL PROTECTED] wrote: - the api

Re: JPA best-practices?

2007-11-16 Thread Korbinian Bachl
Francis De Brabandere schrieb: if you use EJB3 you really want to use the wicket-contrib-javaee project (wicketstuff) all you need to do is call you @EJB and rest is handled automatically ! That project needs an update for 1.3 Add wicket-ioc dep / remove spring dep + some other unneeded

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Timo Rantalaiho
On Fri, 16 Nov 2007, Nino Saturnino Martinez Vazquez Wael wrote: A possible con are that the testing part of wicket could be improved by having more convenince methods. Also there seems to be some trouble testing if you use spring injection for your beans. jdave-wicket has more convenience

Re: WicketTester: how to mock off EJB's

2007-11-16 Thread Alex Objelean
In order to avoid ClassCastException, when constructing a new instance of WicketTester, initialize it with your MainApplication: WicketTester tester = new WicketTester(new MainApplication()); Andy Barlow [Deftex] wrote: I have an application which used Session EJB's to deliver data to

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread John Krasnay
On Fri, Nov 16, 2007 at 09:54:39AM -0800, Curtis Cooley wrote: Michael Laccetti wrote: John Krasnay wrote: To me this is the biggest con. I've worked with a number of Java devs who have trouble grokking anonymous inner classes, which you must know cold to be effective with Wicket.

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Igor Vaynberg
On Nov 16, 2007 8:37 AM, saenz [EMAIL PROTECTED] wrote: Johan, are you saying that other types of load balancing strategies besides sticky sessions are all flawed, and that it only makes sense to use sticky sessions? Please correct my understanding. If sticky sessions are the only recommended

Re: Feedback messages and setResponsePage

2007-11-16 Thread narup
hello i am upgrading from wicket 1.2.6 to 1.3 rc1, and feedback messaging is not showing up with setResponse page. i am doing Page userPage = getUserPage(); //1.2.6 version code which was fine // userPage.getFeedbackMessage().info(userPage, getUser().getDescription() + Saved); //now i changed

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Eelco Hillenius
On Nov 16, 2007 10:33 AM, Igor Vaynberg [EMAIL PROTECTED] wrote: you can still cluster 1.3.1 easily. either use httpsessionstore or tell wicket to save pages to a shared drive Or use that project Matej is working on. It works. Eelco

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread saenz
Also, can someone answer this other question I asked? saenz wrote: Also -- if page serialization is disabled, what happens when the user hits the back button? -- View this message in context:

Re: Border component - naming

2007-11-16 Thread Igor Vaynberg
we are not working within the context of swing here are we? so to say something doesnt make sense within the context doesnt make any sense. anyways, the border is called border because it wraps other components. eg: class myborder extends border { myborder() { add(new label(a,a)); add(new

Re: Wicket OSGi

2007-11-16 Thread dado
Edgar and all, I am new to wicket but have built an application using Velocity and Equinox OSGi. I am hoping to switch from Velocity to Wicket. Edgar's code below is most helpful! Do you or anyone have any other code to share? Bundles? For example, this code would be helpful as well you

Re: tinymce ajax submit

2007-11-16 Thread Frank Bille
Hi, Do you have problems with it? I tried it over a year ago, and as far as I remember there was nothing to it. That was Wicket 1.2.3 and tinymce from back then. Frank On Nov 16, 2007 5:24 PM, godin [EMAIL PROTECTED] wrote: Hi, doe somebody manage to make tinymce work with an ajax submit

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Johan Compagner
* Not stateless (i'm talking about the stable 1.2 here) thats not a con anymore because 1.3 is pretty good now in that area. * Too much alternatives to do quite the same things (markup inheritance vs borders; passing component's constructors models, full objects or even components;

Re: Feedback messages and setResponsePage

2007-11-16 Thread Eelco Hillenius
On Nov 16, 2007 11:36 AM, narup [EMAIL PROTECTED] wrote: hello i am upgrading from wicket 1.2.6 to 1.3 rc1, and feedback messaging is not showing up with setResponse page. i am doing Page userPage = getUserPage(); //1.2.6 version code which was fine //

Re: Wicket OSGi

2007-11-16 Thread dado
Edgar, Cool! I have been thinking Java could at long last have a good CMS, if someone were to do it using OSGi. I might want to be your first user. I am curious: what version of Jetty are you using? Where did you get the appropriate bundles? Could you share your Activator code that starts

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread saenz
By the way, my question below still has not been answered. Can anyone explain what would occur in the following scenario? My question regarding on-disk page storage relates to the use case of a web-app deployed on a cluster. In this situation, what will happen if the following occurs? 1.

Re: Seam Integration and Injection

2007-11-16 Thread Igor Vaynberg
components are not instantiated on every request - they are only instantiated when YOU instantiate them using the NEW operator...wicket is unmanaged. the problem with using onbeforerender is that some components need access to resources from inside their constructors which is too early to be

Changing the model of a ListView item to use CompoundPropertyModel

2007-11-16 Thread TheMayor
Hello All, I love to use CompoundPropertyModel whenever I can, and I had a debate today on how to appropriately use it within a ListView. Here is the markup, this is the start of the implementation of a message panel: !-- table tr wicket:id=customerReceivedMessages td width=15pxIc/td

Re: JPA best-practices?

2007-11-16 Thread Francis De Brabandere
On Nov 16, 2007 8:02 PM, Korbinian Bachl [EMAIL PROTECTED] wrote: That project needs an update for 1.3 Add wicket-ioc dep / remove spring dep + some other unneeded deps / fix package names, I contacted the author but got no response. Plus you have to define all beans in the web.xml which

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Jonathan Locke
yeah, strong coding is about making strong choices. when you /know/ a design decision (such as this one -- separating markup from code) is the right decision, you need to stick to your guns and not lose the whole war because you want to win some little battle. the fact that it takes a little

Re: Serialization of pages in a cluster/load-balancer environment ?

2007-11-16 Thread mfs
And when you say using HttpSessionStore, you mean storing the pageMap in the session only rather serializing the pages at all in the disk,database etc as was the the case with earlier wicket implementation.. Farhan. Eelco Hillenius wrote: On Nov 12, 2007 6:21 PM, Igor Vaynberg [EMAIL

Re: Border component - naming

2007-11-16 Thread Stefan Simik
thanks for your response igor, yes, you are right, i understand, that in the output html border wraps its content - so it's looks like border for nested components. What we both mean, is the same, difference is only from point of view. My point of view is, that generally (in desktop GUI like

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Eelco Hillenius
Oh, and type-safe models are a must, I was surprised to read in this thread not everybody agrees with that. Especially since type erasure ensures backwards compatibility, and lets the cast-fans stick to their habits :-) The problem that I have with type safe models is that in order to fit

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Gabor Szokoli
These two are the exact same things I have in mind about wicket: On Nov 15, 2007 10:18 PM, Eelco Hillenius [EMAIL PROTECTED] wrote: I've always had in my mind that the perfect approach to state handling would be to give users the choice between server managed and client managed (i.e. by

Second Level Cache

2007-11-16 Thread mfs
Guys, I am yet bringing the same question again, regarding the SLCSS and the need to maintain it the older versions of the page on the disk or otherwise...and would really appreciate if some of my questions could be addressed here.. Before i go into Second Level Cache..i would say that i still

Is SAFE_CHILD_ID_PATTERN in AbstractRepeater correct, or does it break CSS spec?

2007-11-16 Thread Edvin Syse
Hi, I use a RepeatingView on a page, and get the following error: 23:48:32,970 WARN [AbstractRepeater] Child component of repeater org.apache.wicket.markup.repeater.RepeatingView:layoutContainers has a non-safe child id of container0. Safe child ids must be composed of digits only. Why is

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Johan Compagner
what do you mean with disabled? how is it disabled? The page can't be serialized because of none serializeable attributes? Then in the default 1.3 configuration that page can't be saved to disk so you can't restore it. johan On Nov 16, 2007 8:56 PM, saenz [EMAIL PROTECTED] wrote: Also, can

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Johan Compagner
Application * protected* *abstract* ISessionStore newSessionStore(); johan On Nov 16, 2007 8:54 PM, saenz [EMAIL PROTECTED] wrote: igor.vaynberg wrote: you can still cluster 1.3.1 easily. either use httpsessionstore or tell wicket to save pages to a shared drive Thanks Igor.

Re: Serialization of pages in a cluster/load-balancer environment ?

2007-11-16 Thread Johan Compagner
yes HttpSessionStore is what is default in 1.2 On Nov 16, 2007 10:51 PM, mfs [EMAIL PROTECTED] wrote: And when you say using HttpSessionStore, you mean storing the pageMap in the session only rather serializing the pages at all in the disk,database etc as was the the case with earlier

Re: Changing the model of a ListView item to use CompoundPropertyModel

2007-11-16 Thread Igor Vaynberg
what you are doing is fine because you are wrapping the model, not changing it but also see PropertyListView -igor On Nov 16, 2007 1:29 PM, TheMayor [EMAIL PROTECTED] wrote: Hello All, I love to use CompoundPropertyModel whenever I can, and I had a debate today on how to appropriately use

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Martijn Dashorst
How can he be more specific than give you the method you need to override? Martijn On Nov 17, 2007 12:53 AM, saenz [EMAIL PROTECTED] wrote: Hi Johan, Would you mind being a little bit more specific? Or you may feel free to point me to the documentation that I should read. Johan

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Nino Saturnino Martinez Vazquez Wael
@jdave I think it would be an option(I dont think I can go back to 1.4 ever and hope I dont have to), however I'd like to see more convenience methods.. Why arent it mentioned on the wiki page or somewhere else? @Spring problems Did not know that.. Thanks :) @Pretty hard doing stuff with the

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Nino Saturnino Martinez Vazquez Wael
I'll do that if what I want todo makes any sense.. regards Nino Johan Compagner wrote: If you have patches that made our WicketTester better please add them to jira. johan On Nov 16, 2007 10:24 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: I totally agree. Wicket

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread saenz
Johan Compagner wrote: what do you mean with disabled? how is it disabled? The page can't be serialized because of none serializeable attributes? Then in the default 1.3 configuration that page can't be saved to disk so you can't restore it. Hi Johan, What I mean is by using the

Re: Is SAFE_CHILD_ID_PATTERN in AbstractRepeater correct, or does it break CSS spec?

2007-11-16 Thread Igor Vaynberg
On Nov 16, 2007 2:55 PM, Edvin Syse [EMAIL PROTECTED] wrote: Why is container0 a non-safe id, because it contains nondigits like the message said? and isn't it wrong to use only digits for id's in css? this is component id, not css id... -igor SAFE_CHILD_ID_PATTERN is defined as ^\\d+$.

Re: Checkbox tree component

2007-11-16 Thread dstruck
Doug, thanks for putting this together. David Doug Leeper wrote: Ok here it is. I have also included my use of it. While it won't compile for you...you will at least see how I have used it. http://www.nabble.com/file/p13439520/CheckBoxIconPanel.html CheckBoxIconPanel.html

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread saenz
Hi Martijn, I think so. You could let us know if we should subclass Application directly or subclass WebApplication. I would assume the latter. You could also explain some of the details of what should be returned by our override of WebApplication.newSessionStore(). The javadoc for this method

Re: Checkbox tree component

2007-11-16 Thread Doug Leeper
Glad to have helped! -- View this message in context: http://www.nabble.com/Checkbox-tree-component-tf4699092.html#a13804839 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Igor Vaynberg
you know, the code is all there. you could just look at it... -igor On Nov 16, 2007 5:04 PM, saenz [EMAIL PROTECTED] wrote: Hi Martijn, I think so. You could let us know if we should subclass Application directly or subclass WebApplication. I would assume the latter. You could also

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Eelco Hillenius
You could also explain some of the details of what should be returned by our override of WebApplication.newSessionStore(). The javadoc for this method reads typically not something clients reimplement so I assume we really need to know what we're doing if we override this method. This in your

Re: Readonly checkbox

2007-11-16 Thread mclev
Nick Heudecker wrote: For textareas and textfields I always do onfocus='this.blur();'. It might work for checkboxes as well. Nick, tried this, didn't work. Also tried the readonly property and it didn't work. Thought about using the setEditable=false, but it doesn't look right.

How to add filtering to AjaxFallbackDefaultDataTable

2007-11-16 Thread Jeremy Lee
Hi, I am wanting to add a filtering component to my page which filters a AjaxFallbackDefaultDataTable. I have seen the filter toolbar - but it is not exactly what I need. I have set up the filter object itself in my data provider (implemented as IFilterStateLocator) so the actual filtering

Re: Wicket OSGi

2007-11-16 Thread Ernesto Reinaldo Barreiro
Hi Igor, The main problem I see here is that there is not a single approach on building a wicket based OSGi application. For instance, we have taken a different approach to the one described in a previous e-mail. Moreover, as we had some code base already working when we decided go OSGi what

Re: Wicket OSGi

2007-11-16 Thread Ernesto Reinaldo Barreiro
David, Take a look here. http://www.eclipse.org/equinox/server/ They have bundled jetty as a pluging. So the only thing you have to do is start Jetty pluging as well. Don't know if other OSGi implementations offer something similar as well. Best regards, Ernesto dado wrote: Edgar, Cool!