Ajax-Response xml to browser - DatePicker

2009-10-06 Thread Douglas Ferguson
I'm seeing something really strange. I'm using DatePicker and sometimes when I click on it. I get a temporary screen that has the following text: If you see this, it means that both javascript and meta-refresh are not supported by your browser configuration. Please click this link to

org.hibernate.HibernateException: createCriteria is not valid without active transaction

2009-10-06 Thread Peter Arnulf Lustig
get this error always! I don't understand why. this is my hibernate.cfg.xml hibernate-configuration session-factory name=session1 property name=hibernate.dialectorg.hibernate.dialect.MySQLDialect/property property name=hibernate.connection.driver_classcom.mysql.jdbc.Driver/property

Re: table columns ajax update

2009-10-06 Thread vineet semwal
Pedro, yes,that's what i was exactly looking for .. api is very easy and intuitive . You are super fast ;) thank you ! -- regards, Vineet Semwal On Tue, Oct 6, 2009 at 12:59 AM, Pedro Santos pedros...@gmail.com wrote: I just commit the new version: - Refactoring the OrderingImage class -

Re: org.hibernate.HibernateException: createCriteria is not valid without active transaction

2009-10-06 Thread Pieter Degraeuwe
You did not setup your transactions properly. Or you start your transaction manually, or if you like spring, you can let spring manage it. (just add your transction annotations to your services, and, done ! On Tue, Oct 6, 2009 at 9:15 AM, Peter Arnulf Lustig u...@yahoo.dewrote: get this

AW: org.hibernate.HibernateException: createCriteria is not valid without active transaction

2009-10-06 Thread Peter Arnulf Lustig
How can I do it manually? For example: I have a DataProvider class with a method: public static Administrator getAdministrator(Integer id) { Administrator administrator= (Administrator)

Wicket LinkTree and Performance

2009-10-06 Thread Аносов А.О.
Hi, I use Wicket LinkTree component with relatively huge amount of content, and I exprience serious performance issues. It takes few seconds to expand or close node when about fifty or hundred nodes are visible, and selection of node also takes some time. Actually I need AJAX functionality

Re: org.hibernate.HibernateException: createCriteria is not valid without active transaction

2009-10-06 Thread Pieter Degraeuwe
Indeed, when you start a transaction and get an object from the database, hibernate wil persist changes to that object when you transaction (and thus sesseion) is still open. This is normal behaviour. Note that it is in most cases a bad habit to use manual transaction management... On Tue, Oct

Re: Send file to client via Ajax

2009-10-06 Thread Ernesto Reinaldo Barreiro
Hi Cristian, I've got it working! Just place all the following files at the same package and you will get a working example (I tested them with FF35 and IE7). import org.apache.wicket.ajax.AjaxRequestTarget; import org.apache.wicket.ajax.markup.html.AjaxLink; import

AW: org.hibernate.HibernateException: createCriteria is not valid without active transaction

2009-10-06 Thread Peter Arnulf Lustig
ok! So I need a listener class like HibernateListener and a Transactionfactory in the config xml ? - Ursprüngliche Mail Von: Pieter Degraeuwe pieter.degrae...@systemworks.be An: users@wicket.apache.org Gesendet: Dienstag, den 6. Oktober 2009, 09:49:42 Uhr Betreff: Re:

Re: Send file to client via Ajax

2009-10-06 Thread Ernesto Reinaldo Barreiro
Sorry, I forgot a class import org.apache.wicket.IResourceListener; import org.apache.wicket.markup.html.WebMarkupContainer; /** * @author Ernesto Reinaldo Barreiro (reier...@gmail.com) * */ public class DocumentResourceListener extends WebMarkupContainer implements IResourceListener {

Re: server push

2009-10-06 Thread freak182
Hello, you check-out push-parent from wicketstuff. or you can check this out: http://code.google.com/p/wicket-comet/ ii is a modified version of push-parent ( for our own req.). and also comet works on jetty and glassfish server (you need grizzly for this to work on glassfish) Jahid wrote:

Re: org.hibernate.HibernateException: createCriteria is not valid without active transaction

2009-10-06 Thread Pieter Degraeuwe
a HibernateListener is something completely different.It is not required to config a TransactionFactory in your config xml. There is implicitly always one.. (if I remember well, since I always use Spring to configure my Hibernate...) I suggest that you look first to some hibernate examples, since

Re: server push

2009-10-06 Thread James Perry
Depending when you have to roll this out, have you considered HTML 5's web sockets? It will give you server push and more. On Mon, Oct 5, 2009 at 8:08 AM, Md. Jahid Shohel ja...@outscore.se wrote: Hi, We need server push for one of our web application. Is there something that you can

Tree-table css/layout problem when the label of the tree-node is long

2009-10-06 Thread zoltan luspai
Dear Wicketeers, I am using the wicket's standard tree-table widget, and it works fine; except when a tree-node has longer (wider) text which does not fit to the available space, then this text becomes invisible. Any ideas how to fix this, preferably using some css alterations? The label

AW: Send file to client via Ajax

2009-10-06 Thread Giambalvo, Christian
Yes it would be usefull. But where does DocumentResourceListener came from? I'm using wicket 1.3.6 and DocumentResourceListener is not available. Thanks Mit freundlichen Grüßen Christian Giambalvo -- Fachinformatiker für Anwendungsentwicklung EXCELSIS Informationssysteme GmbH Wilhelmsplatz 8 -

Re: Send file to client via Ajax

2009-10-06 Thread Ernesto Reinaldo Barreiro
Just sent it on my last e-mail! Here it is again! import org.apache.wicket.IResourceListener; import org.apache.wicket.markup.html.WebMarkupContainer; /** * @author Ernesto Reinaldo Barreiro (reier...@gmail.com) * */ public class DocumentResourceListener extends WebMarkupContainer implements

How do you achieve persistency

2009-10-06 Thread Peter Arnulf Lustig
What's the fast and easy way? I am asking because of a lot of trouble with hibernate. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

AW: Send file to client via Ajax

2009-10-06 Thread Giambalvo, Christian
Works like a charm. I think i've learned something about resource download via ajax. Thanks for hat. Mit freundlichen Grüßen Christian Giambalvo -- Fachinformatiker für Anwendungsentwicklung EXCELSIS Informationssysteme GmbH Wilhelmsplatz 8 - 70182 Stuttgart Mobile +49 176 196 32 406 Office +49

Re: Page expired stateless page?

2009-10-06 Thread sparktronics
I have the same problem... were you able to solve it? The funny thing is that the BookmarkablePageLink and the Link do not work only when deployed in BEA Weblogic 9.2 MP3. It works fine with jetty. MartinM wrote: Hi! What is this error? I keep getting it after installing 1.4-rc6 and

Tree-table css/layout problem when the label of the tree-node is long

2009-10-06 Thread zoltan luspai
Dear Wicketeers, I am using the wicket's standard tree-table widget, and it works fine; except when a tree-node has longer (wider) text which does not fit to the available space, then this text becomes invisible. Any ideas how to fix this, preferably using some css alterations? The label

Re: How do you achieve persistency

2009-10-06 Thread John Armstrong
I use Cayenne (http://cayenne.apache.org/). The GUI tool eliminates any requirement to deal with XML and maps all relationships for you. You can also tweak the XML but its not required or recommended. My workflow is to build my database directly in SQL and then point Cayenne at it and get my

Re: Tree-table css/layout problem when the label of the tree-node is long

2009-10-06 Thread svenmeier
Hi Zoltan, this is a known limitation of Wicket's tree implementation. Please take a look at http://code.google.com/p/wicket-tree/ for an alternative solution. Sven zoltan luspai wrote: Dear Wicketeers, I am using the wicket's standard tree-table widget, and it works fine; except

AW: Send file to client via Ajax

2009-10-06 Thread Giambalvo, Christian
Yes, please add it. Mit freundlichen Grüßen Christian Giambalvo -- Fachinformatiker für Anwendungsentwicklung EXCELSIS Informationssysteme GmbH Wilhelmsplatz 8 - 70182 Stuttgart Mobile +49 176 196 32 406 Office +49 711 6 20 30 406 christian.giamba...@excelsisnet.com www.excelsisnet.com

Re: Wicket + Guice + Warp-persist + Hibernate

2009-10-06 Thread nino martinez wael
How does the code that are using it look like? Are you using detachable models etc? 2009/10/6 Jeffrey Schneller jeffrey.schnel...@envisa.com So I took the plunge and tried to implement Guice + Warp Persist to solve my lazy loading issues. I know I may not have it all figured out with regards

iPhone webapp support?

2009-10-06 Thread Edmund Urbani
Hi all, I was wondering whether there is some special support for iPhones available with Wicket. Something to render pages/components in native iPhone LookFeel, like eg. here: http://www.ibm.com/developerworks/library/os-eclipse-iphone/ Cheers Edmund -- Liland ...does IT better Liland IT

Re: Send file to client via Ajax

2009-10-06 Thread Ernesto Reinaldo Barreiro
Done! http://cwiki.apache.org/confluence/display/WICKET/AJAX+update+and+file+download+in+one+blow http://cwiki.apache.org/confluence/display/WICKET/AJAX+update+and+file+download+in+one+blow Ernesto On Tue, Oct 6, 2009 at 12:15 PM, Giambalvo, Christian christian.giamba...@excelsisnet.com wrote:

Re: Wicket LinkTree and Performance

2009-10-06 Thread Pedro Santos
No really something nice for user, I had this issue and combine extensible selectable and hierarchical data presentation with an accordion container for major data organization, and inners LinkTree components on it.

AW: Send file to client via Ajax

2009-10-06 Thread Giambalvo, Christian
By the way, i changed it a bit and now i repaint the link instead of repainting the label, so the label isn't needed. private final DocumentResourceListener documentResourceListener; private final MyPdfResource pdf; .. final

Re: Send file to client via Ajax

2009-10-06 Thread Ernesto Reinaldo Barreiro
Perfect! The label was just used to have something to repaint and show AJAX was working! The whole thing was intended to provide an example of how to do something and not the complete means to achieve it. If you feel that will make the example more clear feel free to edit the Wiki page and

Re: iPhone webapp support?

2009-10-06 Thread Lionel Armanet
Hi, Maybe you should take a look at jqTouch (http://www.jqtouch.com/) which is a jQuery plugin dedicated to use rich effects of safari on iPhone. You might want to use wiQuery (http://code.google.com/p/wiquery) ton bind this jQuery plugin with your wicket application. Hope this helps ! :)

RE: Wicket + Guice + Warp-persist + Hibernate

2009-10-06 Thread Jeffrey Schneller
I haven't even got to the detachable models part of it yet. A simple query to the db does not work as it does not have the session injected. -Original Message- From: nino martinez wael [mailto:nino.martinez.w...@gmail.com] Sent: Tuesday, October 06, 2009 6:51 AM To:

Re: Processing dynamic text

2009-10-06 Thread David Leangen
A very simple solution to my own problem: repeaters! Man, Wicket rocks! On Oct 6, 2009, at 10:11 AM, David Leangen wrote: Wicketeers, If I have a Label that contains some text I want to process, what is the best way to do that? - Should I even be using a label? - Should I override

London Wicket Event, Saturday November 21st

2009-10-06 Thread jWeekend
Our next London Wicket Event will be held on Saturday, November 21st. This is going to be quite some event again, with Matej Knopp (SVK), Jeremy Thomerson (USA) and Alastair Maw (UK), all core developers, amongst our 5 or 6 presenters. I am still working on securing a suitable location and fine

Re: Wicket + Guice + Warp-persist + Hibernate

2009-10-06 Thread nino martinez wael
Hmm seems like your Guice arent booted? Are you using the Guice integration from wicket as well? Does service.start() etc give an exception etc? 2009/10/6 Jeffrey Schneller jeffrey.schnel...@envisa.com I haven't even got to the detachable models part of it yet. A simple query to the db does

Re: Page expired stateless page?

2009-10-06 Thread Martin Makundi
No, I increased logging and it seems this is somehow related to googlebot visits (occurs simultaneously). Maybe they do not keep session properly. Is this possible in your case that it is a googlebot visit? ** Martin 2009/10/6 sparktronics sparktronics+bul...@gmail.com: I have the same

Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread jWeekend
We have launched jWeekend's Leg Up page [1]. You can generate a command and run it at your console to create a simple project using one of our archetypes. The projects you will generate will include enough configuration, code and/or some tests to get you started, quickly. Our archetypes

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Md. Jahid Shohel
On Tue, 2009-10-06 at 14:47 +0100, jWeekend wrote: http://jweekend.com/dev/LegUp is that really working? coz , when i clicked on Generate Maven Command button, it took me to http://jweekend.com/dev/HomePageBody - To

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread nino martinez wael
Looks cool :) 2009/10/6 jWeekend jweekend_for...@cabouge.com We have launched jWeekend's Leg Up page [1]. You can generate a command and run it at your console to create a simple project using one of our archetypes. The projects you will generate will include enough configuration, code

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread nino martinez wael
Why dont you have a Guice 2.0 archetype? We could probably bump the warp persist guys to work on their 2.0 imp.. If thats whats stopping you? 2009/10/6 nino martinez wael nino.martinez.w...@gmail.com Looks cool :) 2009/10/6 jWeekend jweekend_for...@cabouge.com We have launched jWeekend's

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread nino martinez wael
Works for me.. I took the guice warp persist + etc archetype.. 2009/10/6 Md. Jahid Shohel ja...@outscore.se On Tue, 2009-10-06 at 14:47 +0100, jWeekend wrote: http://jweekend.com/dev/LegUp is that really working? coz , when i clicked on Generate Maven Command button, it took me to

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread James Perry
Nice one Cemal! I will have to use leg up to get a leg over setting up Wicket projects ;-) Best, James. On Tue, Oct 6, 2009 at 2:47 PM, jWeekend jweekend_for...@cabouge.comwrote: We have launched jWeekend's Leg Up page [1]. You can generate a command and run it at your console to create a

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread richardwilko
Nino, We don't have a Guice 2.0 for that very reason; the warp persist guys don't have a final 2.0 release yet. Regards - Richard Wilkinson Developer, jWeekend: OO Java Technologies - Development and Training http://jWeekend.com nino martinez wael wrote: Why dont you have a Guice 2.0

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread jWeekend
Jahid, Thanks - a little Tomcat PERM_GEN issue. Should be OK now, but at the next scheduled restart we'll bump it up a bit. Regards - Cemal jWeekend OO Java Technologies, Wicket Training and Development http://jWeekend.com Jahid wrote: On Tue, 2009-10-06 at 14:47 +0100, jWeekend

[wicket-1.4] parameterizing ResourceModel for wicket:message

2009-10-06 Thread Bernhard Grünewaldt
Hello, I am using a properties.xml file for my wicket:message tags. And soon I wondered if there is a way to parameterize these messages, like it worked for apache struts. With wicket I can just say entry key=testfoo/entry and use wicket:message key=test / In Struts something like

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Md. Jahid Shohel
seems like its working now. really cool! On Tue, 2009-10-06 at 16:01 +0200, Md. Jahid Shohel wrote: On Tue, 2009-10-06 at 14:47 +0100, jWeekend wrote: http://jweekend.com/dev/LegUp is that really working? coz , when i clicked on Generate Maven Command button, it took me to

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Erik Post
Hey, that's great! Is there any way to contribute to this? Thumbs up, Erik 2009/10/6 jWeekend jweekend_for...@cabouge.com We have launched jWeekend's Leg Up page [1]. You can generate a command and run it at your console to create a simple project using one of our archetypes. The projects

Re: [wicket-1.4] parameterizing ResourceModel for wicket:message

2009-10-06 Thread Matthias Keller
Hi Bernhard Have a look at StringResourceModel, though I think it's not possible to use it directly with wicket:message but you can use it easily in a label. It supports both MessageFormat style and model-style replacements. Matt Bernhard Grünewaldt wrote: Hello, I am using a

Re: [wicket-1.4] parameterizing ResourceModel for wicket:message

2009-10-06 Thread Bernhard Grünewaldt
thx, that works. should have looked closer at the api ;) Matthias Keller schrieb: Hi Bernhard Have a look at StringResourceModel, though I think it's not possible to use it directly with wicket:message but you can use it easily in a label. It supports both MessageFormat style and

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread nino martinez wael
You could always contribute to Wicket Iolite :) Which essentially are the same, or Wicketopia http://wicketopia.sourceforge.net/ http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Iolite 2009/10/6 Erik Post eriksen...@gmail.com Hey, that's great! Is there any way to contribute to this?

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Gw
Hi, I'm a newbie in Wicket. I use Databinder toolkit (wicket+hibernate) to help me develop DB application rapidly. With the built-in Jetty, the development is quite smooth, however, when trying to run my app on Tomcat 5.5 (Java 5), I faced the following error. I wonder if wicket is really

Re: How do you achieve persistency

2009-10-06 Thread nino martinez wael
Hmm, Im free todo what I want, I use hibernate+JPA if theres no db I model it in java and if I have the db I reverse engineer it with JPA tools from eclipse so that It generates my POJO's.. 2009/10/6 Peter Arnulf Lustig u...@yahoo.de What's the fast and easy way? I am asking because of a

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread nino martinez wael
Caused by: java.text.ParseException: Tag 'DT' (line 101, column 1) has a mismatched close tag at '/DL' (line 102, column 1) is the issue, your html are broken.. Regarding tomcat compability, I've deployed over dozens of apps the last 4-5 years or so on Tomcat 5.5 .. 2009/10/6 Gw

Re: How do you achieve persistency

2009-10-06 Thread James Perry
Assembler! On Tue, Oct 6, 2009 at 10:34 AM, Peter Arnulf Lustig u...@yahoo.dewrote: What's the fast and easy way? I am asking because of a lot of trouble with hibernate. - To unsubscribe, e-mail:

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread jWeekend
Erik, Thanks. We'll review that soon - it is our intention but we need to be ready to take care of the project. Just for the moment, we'll take on ideas for new archetypes, and feel free to contact me via our site if you have some particular ideas and need stuff included quickly. Ideas for

Re: How do you achieve persistency

2009-10-06 Thread James Perry
On a more serious note then perhaps just using raw JDBC if you are unsure of ORM concepts. On Tue, Oct 6, 2009 at 4:03 PM, James Perry james.austin.pe...@gmail.comwrote: Assembler! On Tue, Oct 6, 2009 at 10:34 AM, Peter Arnulf Lustig u...@yahoo.dewrote: What's the fast and easy way?

Re: iPhone webapp support?

2009-10-06 Thread Johan Compagner
no i did build something special in wicket so that it will never work on those iphones. Stop buying those fully controlled by apple phones.. Think for your self ! Freedom Freedom! johan :) On Tue, Oct 6, 2009 at 13:00, Edmund Urbani e...@liland.org wrote: Hi all, I was wondering whether

Re: How do you achieve persistency

2009-10-06 Thread James Carman
On Tue, Oct 6, 2009 at 11:05 AM, James Perry james.austin.pe...@gmail.com wrote: On a more serious note then perhaps just using raw JDBC if you are unsure of ORM concepts. Isn't that kind of like saying I suggest you walk everywhere you want to go if you're unfamiliar with how to drive a car?

Re: London Wicket Event, Saturday November 21st

2009-10-06 Thread Jeremy Thomerson
I hope that a lot of folks can come since this will be my first and likely only trip to London for quite some time - I'd like to meet as many as possible! Looking forward to seeing you there! -- Jeremy Thomerson http://www.wickettraining.com On Tue, Oct 6, 2009 at 8:10 AM, jWeekend

Is wicket really compatible with Tomcat?

2009-10-06 Thread Gw
Hi, I'm a newbie in Wicket. I use Databinder toolkit (wicket+hibernate) to help me develop DB application rapidly. With the built-in Jetty, the development is quite smooth, however, when trying to run my app on Tomcat 5.5 (Java 5), I faced the following error. I wonder if wicket is really

Re: How do you achieve persistency

2009-10-06 Thread Erik Post
On Tue, Oct 6, 2009 at 5:42 PM, James Carman jcar...@carmanconsulting.com wrote: On Tue, Oct 6, 2009 at 11:05 AM, James Perry james.austin.pe...@gmail.com wrote: On a more serious note then perhaps just using raw JDBC if you are unsure of ORM concepts. Isn't that kind of like saying I

Re: Is wicket really compatible with Tomcat?

2009-10-06 Thread Jeremy Thomerson
Hundreds if not thousands of Wicket applications are deployed on Tomcat. The error describes a problem in your HTML - not sure why it would only appear in Tomcat unless the file was mangled during deployment. Please post the contents of the HTML file that supposedly has a mismatched tag. --

Re: iPhone webapp support?

2009-10-06 Thread Jeremy Thomerson
Everyone needs to check out this picture of Johan with his phone - it will clear things up: http://tinyurl.com/myz5dq -- Jeremy Thomerson http://www.wickettraining.com On Tue, Oct 6, 2009 at 10:48 AM, Matej Knopp matej.kn...@gmail.com wrote: On Tue, Oct 6, 2009 at 5:32 PM, Johan Compagner

Re: How do you achieve persistency

2009-10-06 Thread James Carman
On Tue, Oct 6, 2009 at 11:50 AM, Erik Post eriksen...@gmail.com wrote: That's fairly sound advice though, isn't it? And may I add may own two cents in suggesting iBatis if you prefer SQL to things like JPA or Hibernate? I don't know if I'd call it sound advice. Sure, walking can give you

Re: iPhone webapp support?

2009-10-06 Thread Johan Compagner
Its almost getting replaced! http://maemo.nokia.com/n900/ pure power! Full control! Multi tasking! On Tue, Oct 6, 2009 at 17:48, Matej Knopp matej.kn...@gmail.com wrote: On Tue, Oct 6, 2009 at 5:32 PM, Johan Compagner jcompag...@gmail.com wrote: no i did build something special in wicket

Re: iPhone webapp support?

2009-10-06 Thread Johan Compagner
I had that one way way back! It was even an analog phone (instead of the digital gsm)! When my first mobile phone was ringing in a classroom even the teacher thought that was funny! Where are those times! On Tue, Oct 6, 2009 at 17:53, Jeremy Thomerson jer...@wickettraining.comwrote: Everyone

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Erik Post
Hi Cemal, On Tue, Oct 6, 2009 at 5:05 PM, jWeekend jweekend_for...@cabouge.com wrote: Thanks. We'll review that soon - it  is our intention but we need to be ready to take care of the project. Just for the moment, we'll take on ideas for new archetypes, and feel free to contact me via our

Re: iPhone webapp support?

2009-10-06 Thread Matej Knopp
On Tue, Oct 6, 2009 at 5:32 PM, Johan Compagner jcompag...@gmail.com wrote: no i did build something special in wicket so that it will never work on those iphones. Stop buying those fully controlled by apple phones.. Think for your self ! Freedom Freedom! Are people still making fun of your

Re: How do you achieve persistency

2009-10-06 Thread Erik Post
On Tue, Oct 6, 2009 at 5:55 PM, James Carman jcar...@carmanconsulting.com wrote: On Tue, Oct 6, 2009 at 11:50 AM, Erik Post eriksen...@gmail.com wrote: That's fairly sound advice though, isn't it? And may I add may own two cents in suggesting iBatis if you prefer SQL to things like JPA or

Re: How do you achieve persistency

2009-10-06 Thread dtoffe
Imho, there is not an universal fast and easy way. We are migrating a mid-sized client-server system which has a fairly big number of rather complex queries already written as stored procedures. So our fast and easy way is to use code generation to get JDBC based DAOs that wrap the stored

Re: How do you achieve persistency

2009-10-06 Thread James Carman
On Tue, Oct 6, 2009 at 12:32 PM, dtoffe dto...@yahoo.com.ar wrote:    So our fast and easy way is to use code generation to get JDBC based DAOs that wrap the stored procs call. We even keep writing stored procs for new requirements, all our devs know SQL well and I don't believe we will gain

Re: How do you achieve persistency

2009-10-06 Thread James Perry
There are many ways to skin a cat. Personally I like to use machine code to give it a slow, painful death. Best, James. On Tue, Oct 6, 2009 at 4:42 PM, James Carman jcar...@carmanconsulting.comwrote: On Tue, Oct 6, 2009 at 11:05 AM, James Perry james.austin.pe...@gmail.com wrote: On a more

Re: How do you achieve persistency

2009-10-06 Thread Dane Laverty
I've just finished up my first Wicket + ORM project. I knew nothing about ORM when I started, so I decided to go with Hibernate since it seems to be the most commonly used. It was both painful and educational. My only suggestion is to suck it up and put in the effort it will take to learn it. I'm

Re: How do you achieve persistency

2009-10-06 Thread T Ames
I use a product called JPersist - no XML, just POJOs. Has built in pooling. I instantiate the DatabaseManager in the web application and use a getter. http://www.jpersist.org It has a list of tested databases, but I use Microsoft SQL. Haven't had too many issues with it. On Tue, Oct 6,

WARN [org.apache.wicket.protocol.http.WebResponse] - redirect to ?wicket:interface=:5:::: failed: null

2009-10-06 Thread Eyal Golan
Hi, I did some refactoring in an old Wicket code amd I get the warning message in the subject: 2009-10-06 19:37:34,484 WARN [org.apache.wicket.protocol.http.WebResponse] - redirect to ?wicket:interface=:5 failed: null I tried to debug, did some breakpointing etc. but could not understand why

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread jWeekend
Erik, No such prejudice here: a Wicket with EJB 3+ archetype is a very good idea and I was already planning on us setting up an archetype for JBoss and wicket-javaee [1] (that contrib library just works by the way - we've used it with no problems so far on a couple of projects, one with JBoss -

Re: Generics and SortableDataProvider

2009-10-06 Thread Sven Meier
Hi Jonny, yes, it works exactly like you described it. Sven jwray wrote: Hi Sven, Thanks for your reply. Since I sent the original question I ended up doing what you suggested and now I'm wondering why I ever used the id projection approach. Habit I guess, formed with previous frameworks.

Re: Is wicket really compatible with Tomcat?

2009-10-06 Thread Gw
Hi, Jemery, thx for your sincere support. I've figured out the cause, which is because I copied all the jars to the lib folder (including source and javadoc jars). Never crossed my mind that those additional jars can be problems. Probably the HTML pages in javadoc jars conflict with the app's, if

RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Jeffrey Schneller
I took the archetype for Guice, Warp, Hibernate and modified for my application. All my code looks similar to the code from the archetype. The only difference is I am not using the AnnotatinConfiguration but just the plain Configuration. I am also using c3po connection pooling with Oracle.

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Erik Post
Hi Jeffrey, I have *absolutely* no idea if this will help you, but I had the same with Spring. It started working when i put the injection annotation on the method instead of on the variable. Good luck, Erik On Tue, Oct 6, 2009 at 7:59 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote:

RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Jeffrey Schneller
Thanks for the idea but this didn't work either. Any other ideas? I would expect the archetype to work correctly. -Original Message- From: Erik Post [mailto:eriksen...@gmail.com] Sent: Tuesday, October 06, 2009 2:09 PM To: users@wicket.apache.org Subject: Re: Leg Up for Wicket,

vps hosting for wicket app

2009-10-06 Thread Fernando Wermus
Hi all, I need to deploy a wicket app for alpha and beta testing at a minimum price. Could you reccommend some vpn hosting? thanks in advance -- Fernando Wermus. www.linkedin.com/in/fernandowermus

RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Jeffrey Schneller
Thanks for the help. I finally figured it out. I didn't realize that I needed to inject the DAO into each page that was going to need it. Or at least that is how I solved my problem. If I inject the DAO into every page then it seems to work ok. I guess I will see what happens if I have a

RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread richardwilko
Jeffrey, I expect the changes you made to the Guice Module are the reason why the session is null, could you paste in the contents of it. Regards - Richard Wilkinson Developer, jWeekend: OO Java Technologies - Development and Training http://jWeekend.com Jeffrey Schneller wrote: Thanks

Re: Is wicket really compatible with Tomcat?

2009-10-06 Thread nino martinez wael
Lot of jetty's are run in production: http://news.netcraft.com/archives/2003/04/10/java_servlet_engines.html AFAIK it should be possible to just hot deploy with jetty as long as you are running in development mode. regards Nino 2009/10/6 Gw not4spamm...@gmail.com Hi, Jemery, thx for your

Re: Is wicket really compatible with Tomcat?

2009-10-06 Thread nino martinez wael
And that survey from netcraft are really old. So numbers are probably higher for jetty. 2009/10/6 nino martinez wael nino.martinez.w...@gmail.com Lot of jetty's are run in production: http://news.netcraft.com/archives/2003/04/10/java_servlet_engines.html AFAIK it should be possible to just

RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Jeffrey Schneller
Here is the My Guice Module that I created. It looks like the one in the archetype. Do I need to bind every DAO? So that then I need to inject the DAO when it is needed? public class AppModule extends AbstractModule { /* (non-Javadoc) * @see

Re: Is wicket really compatible with Tomcat?

2009-10-06 Thread Edward Zarecor
There are a number of equally plausible conclusions ;) A quick google didn't turn up anything more recent. Has anyone seen more recent data? Ed. On Tue, Oct 6, 2009 at 3:02 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: And that survey from netcraft are really old. So numbers

RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread richardwilko
Hi, Yes, you will need to bind every dao (and eveything you want to inject). However there are other ways to do it with guice, like the @ImplementedBy annotation (think its called that, check with the guice docs, sending this from my phone so can't check atm). Afaik you would need to make

Client-side treeView

2009-10-06 Thread Paul Huang
Hello, I would like show a treeview like the following, root |---dir1 ||leave 1.1 ||leave 1.2 |-leave 0. 1 |-leave 0.2 This view should also allow a user to select multiple leave nodes (think of selecting multiple catagories to charaterized a product). I checked

Re: Client-side treeView

2009-10-06 Thread Michael O'Cleirigh
Hi Paul, What I would do would be to find a javascript implementation that does what you want and then have the selection events fill in a hidden field which will then be available on the server side when the form is posted. This would be similar to how the Palette works in

Re: Client-side treeView

2009-10-06 Thread PaulH98
Michael O'Cleirigh wrote: Hi Paul, What I would do would be to find a javascript implementation that does what you want and then have the selection events fill in a hidden field which will then be available on the server side when the form is posted. This would be similar to how

Re: Client-side treeView

2009-10-06 Thread jWeekend
Paul, Take a look at Alastair's presenttaion called something like A Drag And Drop List Editor [1] and the accompanying source code. I don't think we have a tree publicly available yet in WiQuery [2] but for sure you should get some good ideas there even if you don't want to use it. Regards -

Re: How do you achieve persistency

2009-10-06 Thread dtoffe
James, you have a couple of really good points there, I can't unit test as easily as you would with ORM, but keep in mind that I'm talking about mostly legacy queries that I would otherwise need to rewrite completely. For some complex stored procs I have scripts that create copies of the

Re: London Wicket Event, Saturday November 21st

2009-10-06 Thread Igor Vaynberg
can we expect video this time? :) -igor On Tue, Oct 6, 2009 at 6:10 AM, jWeekend jweekend_for...@cabouge.com wrote: Our next London Wicket Event will be held on Saturday, November 21st. This is going to be quite some event again, with Matej Knopp (SVK), Jeremy Thomerson (USA) and Alastair Maw

Re: How do you achieve persistency

2009-10-06 Thread Sam Stainsby
On Tue, 06 Oct 2009 09:34:55 +, Peter Arnulf Lustig wrote: What's the fast and easy way? I am asking because of a lot of trouble with hibernate. You can use an object database (like DB4O) that doesn't require ORM. -

Re: Download Link Problem

2009-10-06 Thread TahitianGabriel
Here's how I managed to solve this issue (after googling one full day!) in my DynamicWebResource @Override protected void setHeaders(final WebResponse varResponse) { super.setHeaders(varResponse); varResponse.setDateHeader(Expires, -1); varResponse.setHeader(Pragma,

Re: Download Link Problem

2009-10-06 Thread TahitianGabriel
Here's how I managed to solve this issue (after googling one full day!) in my DynamicWebResource @Override protected void setHeaders(final WebResponse varResponse) { super.setHeaders(varResponse); varResponse.setDateHeader(Expires, -1); varResponse.setHeader(Pragma,

Re: How do you achieve persistency

2009-10-06 Thread dtoffe
I've used it also, but it changed source availability, licensing and code repositories too many times to my taste, and I'm trying to remove it from all my code. I would consider a solution like that if it was a little more mainstream, widely used and with a supporting community. To date, I

Re: How do you achieve persistency

2009-10-06 Thread Igor Vaynberg
i think all the suggestions you have gotten until now are overcomplicated and have a high learning curve. i think the easiest and fastest way to achieve persistency is to use a database that all operating systems already have - the file system. each table is a directory, each entity is simply a

Ajax: Updating component outside Panel

2009-10-06 Thread Magnus Haraldsen Amundsen
Hi, I'm following the Cheesr examples in the Wicket in Action book and have met a problem when ajaxifying it. I have Index.java that displays a shopping cart from a custom shopping cart panel (ShoppingCartPanel.java). This custom panel has a remove link for each item, and clicking this

  1   2   >