Re: data persistence using hibernate

2023-01-25 Thread Vit Rozkovec
resources on how to integrate hibernate for data persistence? the closest I've managed to find is https://www.infoworld.com/article/2077901/web-development-with-wicket--part-3--many-ways-to-persist.html?page=7 but there's still things that are confusing me on how to ingrate an authentic

Re: data persistence using hibernate

2023-01-24 Thread Locke, Jonathan (Luo Shibo)
i, This project https://github.com/MarcGiffing/wicket-spring-boot contains a sample project that integrates with JPA/hibernate. On Mon, Dec 19, 2022 at 9:12 AM James wrote: Hi, can anyone direct me to any resources on how to integrate hibernate for data persistence? the closest I've managed to

Re: data persistence using hibernate

2023-01-24 Thread James Pollard
s with JPA/hibernate. On Mon, Dec 19, 2022 at 9:12 AM James wrote: Hi, can anyone direct me to any resources on how to integrate hibernate for data persistence? the closest I've managed to find is https://www.infoworld.com/article/2077901/web-development-with-wicket--part-3--many-ways-to-pe

Re: data persistence using hibernate

2023-01-23 Thread Martin Grigorov
ain/java/com/giffing/wicket/spring/boot/example/model/Customer.java > >>>> > >>>>> This defines a JPA entity and this JPA/Hibernate > >>>>> > >>>>> > >>>> > https://github.com/MarcGiffing/wicket-

Re: data persistence using hibernate

2023-01-23 Thread James Pollard
contains a sample project that integrates with JPA/hibernate. On Mon, Dec 19, 2022 at 9:12 AM James wrote: Hi, can anyone direct me to any resources on how to integrate hibernate for data persistence? the closest I've managed to find is https://www.infoworld.com/article/2077901/web

Re: data persistence using hibernate

2022-12-26 Thread Vit Rozkovec
Barreiro wrote: Hi, This project https://github.com/MarcGiffing/wicket-spring-boot contains a sample project that integrates with JPA/hibernate. On Mon, Dec 19, 2022 at 9:12 AM James wrote: Hi, can anyone direct me to any resources on how to integrate hibernate for data persistence

Re: data persistence using hibernate

2022-12-23 Thread James Pollard
2022 at 9:12 AM James wrote: Hi, can anyone direct me to any resources on how to integrate hibernate for data persistence? the closest I've managed to find is https://www.infoworld.com/article/2077901/web-development-with-wicket--part-3--many-ways-to-persist.html?page=7 but there's stil

Re: data persistence using hibernate

2022-12-22 Thread Ernesto Reinaldo Barreiro
gt; >> > >> On 19/12/22 5:06 pm, Ernesto Reinaldo Barreiro wrote: > >>> Hi, > >>> > >>> This project > >>> > >>> https://github.com/MarcGiffing/wicket-spring-boot > >>> > >>> contains a sample project tha

Re: data persistence using hibernate

2022-12-22 Thread Vit Rozkovec
Dec 19, 2022 at 9:12 AM James wrote: Hi, can anyone direct me to any resources on how to integrate hibernate for data persistence? the closest I've managed to find is https://www.infoworld.com/article/2077901/web-development-with-wicket--part-3--many-ways-to-persist.html?page=7 but

Re: data persistence using hibernate

2022-12-21 Thread James
hibernate for data persistence? the closest I've managed to find is https://www.infoworld.com/article/2077901/web-development-with-wicket--part-3--many-ways-to-persist.html?page=7 but there's still things that are confusing me on how to ingrate an authenticated application with hibernate

Re: data persistence using hibernate

2022-12-19 Thread Ernesto Reinaldo Barreiro
t; > https://github.com/MarcGiffing/wicket-spring-boot > > > > contains a sample project that integrates with JPA/hibernate. > > > > > > On Mon, Dec 19, 2022 at 9:12 AM James > wrote: > > > >> Hi, > >> can anyone direct me to any resources on how

Re: data persistence using hibernate

2022-12-19 Thread James
://github.com/MarcGiffing/wicket-spring-boot contains a sample project that integrates with JPA/hibernate. On Mon, Dec 19, 2022 at 9:12 AM James wrote: Hi, can anyone direct me to any resources on how to integrate hibernate for data persistence? the closest I've managed to find is https

Re: data persistence using hibernate

2022-12-18 Thread Ernesto Reinaldo Barreiro
Hi, This project https://github.com/MarcGiffing/wicket-spring-boot contains a sample project that integrates with JPA/hibernate. On Mon, Dec 19, 2022 at 9:12 AM James wrote: > Hi, > can anyone direct me to any resources on how to integrate hibernate for > data persistence? > &

data persistence using hibernate

2022-12-18 Thread James
Hi, can anyone direct me to any resources on how to integrate hibernate for data persistence? the closest I've managed to find is https://www.infoworld.com/article/2077901/web-development-with-wicket--part-3--many-ways-to-persist.html?page=7 but there's still things that are confusing me

Re: Ajaxbutton, updating forms, broken persistence: strange, seemingly unrelated behaviour

2012-06-20 Thread lucast
, Lucas -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajaxbutton-updating-forms-broken-persistence-strange-seemingly-unrelated-behaviour-tp4650049p4650112.html Sent from the Users forum mailing list archive at Nabble.com

Re: Ajaxbutton, updating forms, broken persistence: strange, seemingly unrelated behaviour

2012-06-19 Thread Sven Meier
utterly baffled. Thanks in advance, Lucas -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajaxbutton-updating-forms-broken-persistence-strange-seemingly-unrelated-behaviour-tp4650049.html Sent from the Users forum mailing list archive at Nabble.com

Persistence.

2012-05-08 Thread JASON HOLT
I'll repeat my plea for patience as I'm new to Java and Wicket, but have some minimal experience with ASP.net forms (not MVC). I've reached that point in the learning process where I want to interact with a database and I wish to use entities and Hibernate to make it easier. From what I've

Re: Persistence.

2012-05-08 Thread Richard W. Adams
Subject:Persistence. I'll repeat my plea for patience as I'm new to Java and Wicket, but have some minimal experience with ASP.net forms (not MVC). I've reached that point in the learning process where I want to interact with a database and I wish to use entities and Hibernate to make

Re: Persistence.

2012-05-08 Thread James Carman
You should take a look at some of the RAD tools for persistence with Wicket. I wrote a library called Wicketopia that can probably help you get started. On Tue, May 8, 2012 at 4:35 PM, JASON HOLT j_holt5...@msn.com wrote: I'll repeat my plea for patience as I'm new to Java and Wicket

Re: Page/Session persistence on AppEngine

2012-03-30 Thread Per
.nabble.com/Page-Session-persistence-on-AppEngine-tp4475827p4518388.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: Page/Session persistence on AppEngine

2012-03-16 Thread Martin Grigorov
Hi, Read https://cwiki.apache.org/confluence/display/WICKET/Page+Storage You need custom IDataStore. By default Wicket uses DiskDataStore. With GAE-initializer this is replaced with HttpSessionDataStore, see org.apache.wicket.pageStore.memory.DataStoreEvictionStrategy as well. You'll need to

Page/Session persistence on AppEngine

2012-03-15 Thread Chris Merrill
So I've got a problem with my sessions getting too big on AppEngine. I've already done some of the more obvious optimizations, but before going further, I'd like to get some insight into how many pages are being stored in the page map and how big they are. I traversed down into PageStoreManager

Re: Unwanted authentication persistence

2011-06-30 Thread Scott Reed
PM, sreed wrote: We are using Jetty which has no session persistence by default. Is it possible that Wicket is persisting sessions somehow? What else might be causing this? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Unwanted-authentication-persistence

Unwanted authentication persistence

2011-06-28 Thread sreed
We are using AuthenticatedWebSession without any persistence of anything. However, the session is persisting (user does not have to login after the first time) from one server restart to another. Is that expected behavior? Does anyone know how to prevent persistence of the session/data? Thanks

Re: Unwanted authentication persistence

2011-06-28 Thread Martin Grigorov
This is a feature of the web container. You have to check its user manual :-) On Tue, Jun 28, 2011 at 9:09 PM, sreed sr...@avacoda.com wrote: We are using AuthenticatedWebSession without any persistence of anything. However, the session is persisting (user does not have to login after

Re: Unwanted authentication persistence

2011-06-28 Thread sreed
We are using Jetty which has no session persistence by default. Is it possible that Wicket is persisting sessions somehow? What else might be causing this? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Unwanted-authentication-persistence-tp3631027p3631188.html Sent

Re: Persistence Error with Wicket.

2009-07-30 Thread Erik Post
Hi Raphael, You're using JPA, which complains that it can't find a persistence provider (i.e. Hibernate). Have you added the JPA-specific Hibernate jars such as hibernate-entitymanager.jar (and, while you're at it, hibernate-annotations.jar) as well? And where did you put your persistence.xml

OT: Using persistence layer objects for service results?

2009-06-10 Thread Kaspar Fischer
the persistence layer? Or do you introduce another set of public (DTO) classes for exposure in the service? Ideally, I want to keep things simple and manageable, with little code. For instance, for the above service one could use a Hibernate mapping like public class HouseImpl

Re: Integrating Wicket + Google Guice + Warp-persistence

2009-04-08 Thread francisco treacy
there,  After a long period of reading, now I'm starting to code my application using these frameworks: Wicket, Google Guice and Warp-persistence. I facet a conceptual problem (IMHO) about how initialize google guice. I read a lot of source codes on the internet and most of them, if not all

Integrating Wicket + Google Guice + Warp-persistence

2009-04-07 Thread Eduardo Nunes
Hi there, After a long period of reading, now I'm starting to code my application using these frameworks: Wicket, Google Guice and Warp-persistence. I facet a conceptual problem (IMHO) about how initialize google guice. I read a lot of source codes on the internet and most of them, if not all

Re: Integrating Wicket + Google Guice + Warp-persistence

2009-04-07 Thread Eduardo Nunes
No comments? On Tue, Apr 7, 2009 at 10:05 AM, Eduardo Nunes esnu...@gmail.com wrote: Hi there,  After a long period of reading, now I'm starting to code my application using these frameworks: Wicket, Google Guice and Warp-persistence. I facet a conceptual problem (IMHO) about how initialize

Re: Integrating Wicket + Google Guice + Warp-persistence

2009-04-07 Thread Igor Vaynberg
, Google Guice and Warp-persistence. I facet a conceptual problem (IMHO) about how initialize google guice. I read a lot of source codes on the internet and most of them, if not all, initialize Google Guice and Warp-persistence inside the WicketApplication class (extends WebApplication). I think

Re: setEnabled(false) on FocusableTextField breaks persistence

2007-08-30 Thread Eelco Hillenius
On 8/30/07, janders [EMAIL PROTECTED] wrote: I don't think I'm doing a good job communicating what I'm trying to do. Or maybe it's me not doing a good job explaining what you should do :) The markup looks like this (note there is no attribute readonly for input field with id=label): select

Re: setEnabled(false) on FocusableTextField breaks persistence

2007-08-30 Thread janders
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/setEnabled%28false%29-on-FocusableTextField-breaks-persistence-tf4351731.html#a12419384 Sent from the Wicket - User mailing list

Re: setEnabled(false) on FocusableTextField breaks persistence

2007-08-30 Thread Eelco Hillenius
How embarrassing -- I think I'd better keep my day job. I can't believe that I could not grasp that you meant that I should modify rot using rot.setEnabled(true or false) depending on the biz logic. Heh, no problem. Good you got it now. Eelco

setEnabled(false) on FocusableTextField breaks persistence

2007-08-29 Thread janders
someone recommend a different approach? -- View this message in context: http://www.nabble.com/setEnabled%28false%29-on-FocusableTextField-breaks-persistence-tf4351731.html#a12399840 Sent from the Wicket - User mailing list archive at Nabble.com

Re: setEnabled(false) on FocusableTextField breaks persistence

2007-08-29 Thread Igor Vaynberg
for this problem or can someone recommend a different approach? -- View this message in context: http://www.nabble.com/setEnabled%28false%29-on-FocusableTextField-breaks-persistence-tf4351731.html#a12399840 Sent from the Wicket - User mailing list archive at Nabble.com

Re: setEnabled(false) on FocusableTextField breaks persistence

2007-08-29 Thread janders
the value) because isEnabled is true. Is there a workaround for this problem or can someone recommend a different approach? -- View this message in context: http://www.nabble.com/setEnabled%28false%29-on-FocusableTextField-breaks-persistence-tf4351731.html#a12399840 Sent from the Wicket

Re: setEnabled(false) on FocusableTextField breaks persistence

2007-08-29 Thread Igor Vaynberg
approach? -- View this message in context: http://www.nabble.com/setEnabled%28false%29-on-FocusableTextField-breaks-persistence-tf4351731.html#a12399840 Sent from the Wicket - User mailing list archive at Nabble.com

Re: setEnabled(false) on FocusableTextField breaks persistence

2007-08-29 Thread janders
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/setEnabled%28false%29-on-FocusableTextField-breaks-persistence-tf4351731.html

Re: setEnabled(false) on FocusableTextField breaks persistence

2007-08-29 Thread Eelco Hillenius
I know how to add the attribute, I just don't know how to later remove it once added. Like I said, override isEnabled in your attribute modifier. When that returns false, the attribute won't be added. For normal requests, where a page is rendered everytime again, it simply doesn't show up. For

Re: setEnabled(false) on FocusableTextField breaks persistence

2007-08-29 Thread janders
this message in context: http://www.nabble.com/setEnabled%28false%29-on-FocusableTextField-breaks-persistence-tf4351731.html#a12400938 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: setEnabled(false) on FocusableTextField breaks persistence

2007-08-29 Thread Eelco Hillenius
I don't understand. Are you saying that I should use setEnabled(false) or are you saying that I should use: final AttributeModifier rof = new AttributeModifier(readonly, false, new Model(readonly)); new AttributeModifier(readonly, true, new Model(readonly) { public boolean