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 appear?!

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); Wh

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

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 s

Re: Required RadioGroup

2007-11-16 Thread Martijn Dashorst
what version of Wicket are you working on? On 11/16/07, Suad AlShamsi <[EMAIL PROTECTED]> wrote: > 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 PROT

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 = parameters.getSt

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 hidd

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 t

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] www.thomas-dail

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

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 m

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: htt

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}"

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"); ad

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 n

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

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 le

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 t

Re: JPA best-practices?

2007-11-16 Thread Uwe Schäfer
Nino Saturnino Martinez Vazquez Wael schrieb: That could be great, that way we could support each other.. Do you have an idea on how to get started? i´ll contact you in private on sunday. - To unsubscribe, e-mail: [EMAIL PROT

Re: Readonly checkbox

2007-11-16 Thread Nick Heudecker
For textareas and textfields I always do "onfocus='this.blur();'". It might work for checkboxes as well. On Nov 16, 2007 11:06 AM, 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. > > Is there

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 c

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) you

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 goo

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 -igo

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 ab

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 cal

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() ta

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.

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, i

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 comp

Re: French companies working with Wicket

2007-11-16 Thread Antoine Angénieux
We've been actively using Wicket since February and are based in Paris. We are a software editor company and used Wicket to develop all our web applications since that time. Cheers, Antoine. Hugues Pichereau a écrit : Hi, I was wondering if there are companies in France (and especially near

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 Marti

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 WICKET-

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, Hugu

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 u

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 conta

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 > acc

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 Java

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 G

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 > http://cwiki.apache.org/confluence/display/WICKET

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 t

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 atta

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 a

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: > >> >> >> - th

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 deps

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 Wick

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 recom

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
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. Are you saying that we can configure Wicket to store old versions of Pages in the HttpSessionStore (in memory)? If so, how do we configure t

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: http://www.nabble.com/Disabling-serialization-storage-of-pages-in-session--tf4768006.h

Re: JPA best-practices?

2007-11-16 Thread Nino Saturnino Martinez Vazquez Wael
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). A few things that seems cant be seperated, the openEntityManagerInView(in your web

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Johan Compagner
Only the active statefull page is in session. So if you go to the next page then the previous page is gone from the session (and written to the disk for back button support) johan On Nov 15, 2007 11:42 PM, saenz <[EMAIL PROTECTED]> wrote: > > > Johan Compagner wrote: > > > > The DiskStore is f

Re: WicketTester: how to mock off EJB's

2007-11-16 Thread Andy Barlow [Deftex]
Thanks Alex That would of course resolve the ClassCastException, but it doesn't event get to the original failure point: in fact, it fails earlier because it is not being run within a J2EE context and consequently fails as soon as an attempt is made to do a JNDI lookup on the session bean

RE: JPA best-practices?

2007-11-16 Thread Craig Lenzen
And you need a framework for this? Come on! Chris Colman wrote: > >> Chris Colman wrote: >> >> It seems it's also possible for a few other ORM tools to conform to > that >> standard. Apart from Hibernate and JPOX you've got TopLink, Cayenne > and >> others. > > That's my point. > >> >> Whi

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Curtis Cooley
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. > > Quite a con indeed. Wicket is not a framework that most people n

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Johan Compagner
On Nov 15, 2007 11:22 PM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > What is the recommended deployment model to support back-button usage > via > > undoable changes and disk-based serialized storage with Wicket? Is it > only > > possible using a load balancer configured to be "sticky" (keep s

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 la

Re: WicketTester: how to mock off EJB's

2007-11-16 Thread Alex Objelean
I am using the same approach for testing wicket components and it works like charm. Though I'm using Spring for service injection, I do not see any difference when it is about EJB services. The whole idea of WicketTester, is to test it outside the container, so you can use EasyMock to mock your

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread saenz
igor.vaynberg wrote: > > 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 s

Re: French companies working with Wicket

2007-11-16 Thread Hugues Pichereau
J'imagine que l'ESSEC DEV correspond aux projets internes de l'école ESSEC? godin wrote: > > 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 >

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Igor Vaynberg
you can still cluster 1.3.1 easily. either use httpsessionstore or tell wicket to save pages to a shared drive -igor On Nov 16, 2007 10:20 AM, saenz <[EMAIL PROTECTED]> wrote: > > > igor.vaynberg wrote: > > > > you will get an error, i have explained this in a parallel thread > > yesterday... th

Re: ModalWindow: open on page construction

2007-11-16 Thread Kirk Israel
So my back up plans didn't work out as well as I had hoped. Is there any answer to this? Obviously, it would be lovely if there was some equivalent of the javascript body onLoad command (and maybe tied in with that) that could give the user an AjaxRequestTarget to play with... Is there anything l

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Eelco Hillenius
> Back button in ajax (so an ajax request triggers a change that then should > be a backbutton change?) > "Everything" on the serverside is ready for that.. Somebody just need to > write the javascript/behavior.. > But nobody seems to really want to have that... This is one of the things I meant t

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread saenz
Johan Compagner wrote: > > On Nov 15, 2007 11:22 PM, Eelco Hillenius <[EMAIL PROTECTED]> > wrote: >> Recommended is to use sticky sessions. > > +1 > > none sticky sessions are flawed anyway.. (or the synchronizing performance > hit is so great it doesn't make any sense, it it makes sense t

Re: wicket-contrib Access

2007-11-16 Thread Martijn Dashorst
you're in! On 11/16/07, Michael Laccetti <[EMAIL PROTECTED]> wrote: > 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 ;-) >

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Martijn Dashorst
failover? On 11/16/07, saenz <[EMAIL PROTECTED]> wrote: > > > Johan Compagner wrote: > > > > On Nov 15, 2007 11:22 PM, Eelco Hillenius <[EMAIL PROTECTED]> > > wrote: > >> Recommended is to use sticky sessions. > > > > +1 > > > > none sticky sessions are flawed anyway.. (or the synchronizing pe

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 hav

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 > // userPage.getFeedbackMessage(

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 Jet

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? >

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 hand

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: in the java code I set the model of the page initially: setModel(new Compo

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.xm

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 m

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 PROTE

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 Sw

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 pa

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 c

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, c

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 > > > >

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 ear

Re: Second Level Cache

2007-11-16 Thread Johan Compagner
No it is a bit different the SLC is for back button support. The reason that we have the latest page in the session is because thats the live page where all the action is on. So that page is NOT used when the users hits the backbutton that page is only used when the users clicks a link or submits a

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Johan Compagner
what i always wonder.. How do you sync sessions? That's why i think none sticky sessions are just flawed.. Do remember that we in wicket have a single threaded mode. How on earth are you going to do that if you have none sticky sessions? If request a comes in alters the page, but then at +/- at th

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Johan Compagner
hmm that is pretty much killed with the basic 1.3 setting now because we have a file on disk thats pretty much a database file with multiiply pages now but the index of that file, where the page starts is in mem.. so for clustering and a shared disk the only solution we currently have (besides the

  1   2   >