Re: wicket-security Custom Access Denied Page

2008-02-13 Thread Maurice Marrink
Use cache is default true (i think by the constructor but i don't have the code with me right now) So you don't have to worry about that. Maurice On Thu, Feb 14, 2008 at 4:04 AM, Warren <[EMAIL PROTECTED]> wrote: > I have started implementing your sugestions and I have a question. When I > over

Re: Business/Domain objects used as wicket model object - opinions please

2008-02-13 Thread Jonathan Locke
I always wrap my domain objects in a generic loadable detachable wicket model subclass. So for User, for example, UserModel extends MyGenericDetachableModel. This is safer than passing around raw IModels and also saves casting the return value from getObject() until Wicket 1.4 generifies everyt

Re: Business/Domain objects used as wicket model object - opinions please

2008-02-13 Thread Roland Huss
Except for rather small scoped projects, I prefer the usage of DTOs (or formerly known as 'View Objects') over direct usage of domain objects. DTOs can be modelled much closer to the use case (i.e. view) at hand (by combining domain objects or leaving out non-required attributes to have objects

Re: Generating static website

2008-02-13 Thread Igor Vaynberg
there is a switch in DiffUtil somewhere, a system arg you define. -igor On Wed, Feb 13, 2008 at 10:29 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > WicketTester knows how to generate all files for unit tests. I don't > know the how from the top of my head. > > Martijn > > > > On 2/14/08, D

Re: Generating static website

2008-02-13 Thread Martijn Dashorst
WicketTester knows how to generate all files for unit tests. I don't know the how from the top of my head. Martijn On 2/14/08, David Leangen <[EMAIL PROTECTED]> wrote: > > Hello. > > I've tried searching, so please excuse me if this question has already > been asked. I will add the answer to t

Re: Doubt about getList().indexOf() usage in ListView.moveUpLink, moveDownLink, removeLink

2008-02-13 Thread Igor Vaynberg
you can always roll your own link, you dont have to use the one provided with ListView - there is nothing special it does that you cannot do yourself. Of course we should have used item.getindex() if there was some common interface that all items that were put in list had to implement...but since t

Doubt about getList().indexOf() usage in ListView.moveUpLink, moveDownLink, removeLink

2008-02-13 Thread Lan Boon Ping
Hi, Taking a look at ListView.moveUpLink as example, I doubt that this getList().indexOf() will return a correct index if we have duplicate items with same identity in getList(). Should not it uses item.getIndex() instead? public final Link moveUpLink(final String id, final ListItem item)

RE: wicket-security Custom Access Denied Page

2008-02-13 Thread Warren
I have started implementing your sugestions and I have a question. When I overide the method createHive() in PolicyFileHiveFactory do I need to set useHiveCache(true) if I am extending SimpleCachingHive. public Hive createHive() { // Do I need to do this

Generating static website

2008-02-13 Thread David Leangen
Hello. I've tried searching, so please excuse me if this question has already been asked. I will add the answer to this on the wiki... I would like to develop a static site with Wicket, then save the static html files on the file system. I can think of lots of ways to do this, but is there al

RE: wicket-security Custom Access Denied Page

2008-02-13 Thread Warren
I think I am following your example correctly. What I will end up with is the names of one or more principals that have the permission that was denied. Those one or more principals will not belong to the current subject. Then I can use the names of those principals to construct a message. You could

Re: Business/Domain objects used as wicket model object - opinions please

2008-02-13 Thread Martijn Dashorst
You could do that. If you are paid by the lines of code you write, it might be even profitable. A lot of people prefer the direct binding (which IMO is a POJO) instead of making a GUI bean (which would be a DTO). Martijn On 2/14/08, mfs <[EMAIL PROTECTED]> wrote: > > Well i meant the same in my q

Re: Business/Domain objects used as wicket model object - opinions please

2008-02-13 Thread Nick Heudecker
I always use business objects as my model objects unless the data is some form of aggregate, like a summary table.

Re: Business/Domain objects used as wicket model object - opinions please

2008-02-13 Thread mfs
Well i meant the same in my question..i dont think making your Domain Objects implement IModel would give any benefit rather would make the DO dependent on wicket (or the presentation layer)... So you advocate the idea of having the domain object wrapped inside wicket models..rather than having a

Re: Business/Domain objects used as wicket model object - opinions please

2008-02-13 Thread Igor Vaynberg
http://www.urbandictionary.com/define.php?term=mofo -igor On Feb 13, 2008 3:20 PM, Maurice Marrink <[EMAIL PROTECTED]> wrote: > :D thanks for the explanation Martijn. > > > > On Feb 14, 2008 12:13 AM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > For those unfamiliar with the term "mofo", it m

Re: Business/Domain objects used as wicket model object - opinions please

2008-02-13 Thread Maurice Marrink
:D thanks for the explanation Martijn. On Feb 14, 2008 12:13 AM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > For those unfamiliar with the term "mofo", it means something *really* > bad, and not wished upon anyone. > > Martijn > > > On 2/14/08, Maurice Marrink <[EMAIL PROTECTED]> wrote: > > In

Re: Business/Domain objects used as wicket model object - opinions please

2008-02-13 Thread Martijn Dashorst
For those unfamiliar with the term "mofo", it means something *really* bad, and not wished upon anyone. Martijn On 2/14/08, Maurice Marrink <[EMAIL PROTECTED]> wrote: > In our apps we always wrap our domain objects in models, not have them > implement IModel. > There is only 1 exception to this r

Re: Business/Domain objects used as wicket model object - opinions please

2008-02-13 Thread Maurice Marrink
In our apps we always wrap our domain objects in models, not have them implement IModel. There is only 1 exception to this rule and that is because that particular object is not stored in the db but is initialized with loads of other objects. It turned out to be one very complex mofo not something

Re: wicket-security Custom Access Denied Page

2008-02-13 Thread Maurice Marrink
It actually is a bit more trickier then that. Swarm does not check for principals it checks for permissions. The same permission might be shared by multiple principals. To get that information you need to dig deep. You can't wait for the wicket UnAuthorizedActionException since all it will tell you

RE: Link to last accessed page

2008-02-13 Thread Warren
Could you point me to some code examples? > -Original Message- > From: Martijn Dashorst [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 13, 2008 1:18 PM > To: users@wicket.apache.org > Subject: Re: Link to last accessed page > > > That is the same as pressing the back button. It is

Re: Link to last accessed page

2008-02-13 Thread Martijn Dashorst
That is the same as pressing the back button. It is a low tech solution to the problem you are trying to solve :-) It is possible to gain access to the pages in the pagemap. I just don't have the code readily available. We use it in our system to provide users with a navigation hierarchy so they

RE: Link to last accessed page

2008-02-13 Thread Warren
Would that be the same as clicking the browser's back button? And would there be any instance that that would cause a problem? Also, isn't the PageMap where all the previous pages are stored so that the back button will work? And if so, is there a way to access those pages from my page so that I ca

Re: Link to last accessed page

2008-02-13 Thread Martijn Dashorst
you could use the following markup fragment: Return to previous page (not 100% sure about the back() method, but there is a javascript function in the browser that does that. Martijn On 2/13/08, Warren <[EMAIL PROTECTED]> wrote: > The link is on an Accessed denied page. I am not sure how to pas

RE: Link to last accessed page

2008-02-13 Thread Warren
The link is on an Accessed denied page. I am not sure how to pass anything to it other than thru the session. I thought maybe I could get the last page from the PageMap from the Session or from the PageMap from the Page. I have not looked at breadcrumbs, not sure how that would work. I should be ab

Re: Link to last accessed page

2008-02-13 Thread James Carman
How about using the breadcrumb component? Would that help? http://wicketstuff.org/wicket13/breadcrumb/ On 2/13/08, Warren <[EMAIL PROTECTED]> wrote: > How do I create a link on a page that will go to the last accessed page no > matter what that page is? I see that WebPage has a method homePageLi

Re: Opening DynamicWebResource from Button/AjaxButton?

2008-02-13 Thread UPBrandon
The urlFor() method can take a few different types but not a Resource/WebResource/DynamicWebResource. It can take a ResourceReference but would mean that I would have to register an object of my DynamicWebResource class as a shared resource before I could get a reference to it, wouldn't it? It w

Re: Link to last accessed page

2008-02-13 Thread Jeremy Levy
You could just pass the current page to the new page via the constructor. On Feb 13, 2008 2:06 PM, Warren <[EMAIL PROTECTED]> wrote: > How do I create a link on a page that will go to the last accessed page no > matter what that page is? I see that WebPage has a method homePageLink. Is > there so

Link to last accessed page

2008-02-13 Thread Warren
How do I create a link on a page that will go to the last accessed page no matter what that page is? I see that WebPage has a method homePageLink. Is there something simmilar that will return you to the last accessed page? I also see that the class AccessStackPageMap has a method lastAccessedEntry(

Business/Domain objects used as wicket model object - opinions please

2008-02-13 Thread mfs
Guys, I would want to know if using your business/domain objects as wicket models would be a good idea ? i remember in an earlier thread i was suggested not to use business-objects as wicket models, but it would want to hear more opinions.. Thanks in advance.. -- View this message in context:

Re: Harnessing Data From Components

2008-02-13 Thread Igor Vaynberg
yes -igor On Feb 13, 2008 1:49 AM, carloc <[EMAIL PROTECTED]> wrote: > > Thanks For The Reply, > > Rating Panel is not a FormComponent right? So am I correct in saying that > the model gets updated during the Ajax Requests ? Cause every click on the > button triggers an ajax request. > > Thanks

Re: Odd behaviour after setGatherExtendedBrowserInfo(true)

2008-02-13 Thread Igor Vaynberg
ajax doesnt work because probably the ajax request is redirected to that page...that page is what gathers all the browser info through javascript... please add a jira issue for this, we should detect if the request is ajax and if it is not do the redirect to the browser detection page... -igor

Re: working on my first wicket web 2.0 scriptaculos component

2008-02-13 Thread Igor Vaynberg
here is the list of things to try: are there any javascript errors during callback? try without encrypted coding strategy set a break point in wicketfilter and see why it doesnt hit the behavior -igor On Feb 13, 2008 6:15 AM, Fernando Wermus <[EMAIL PROTECTED]> wrote: > Hi all, > I am work

Re: How to Display List in DataTable

2008-02-13 Thread Igor Vaynberg
see ListDataProvider -igor On Feb 13, 2008 7:44 AM, wiki <[EMAIL PROTECTED]> wrote: > > Hi I have a little problem with displaying list inside datatable. > I have a list of questions and each question has a list of answers.My design > requirement is to display one question per page(that's why us

Re: Opening DynamicWebResource from Button/AjaxButton?

2008-02-13 Thread Igor Vaynberg
onsubmit() { getrequestcycle().setrequesttarget(new redirectrequesttarget(urlfor(resourceref))); } -igor On Feb 13, 2008 8:18 AM, UPBrandon <[EMAIL PROTECTED]> wrote: > > In a project I am working on, I wrote a DynamicWebResource that generates a > PDF file and, by setting the Content-Disposit

RE: Extending DropDownChoice

2008-02-13 Thread Bruce
Thanks for the information Igor. Reading now. Bruce. -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, 13 February, 2008 12:22 AM To: users@wicket.apache.org Subject: Re: Extending DropDownChoice give dropdownchoice a model, and in this model's setobject(

RE: different behaviour explorer/firefox windowclosedcallback

2008-02-13 Thread rik rik
Sorry for the code formatting in the mail... I rewrite it, because I've found another information that can be useful... the code is this: box.setWindowClosedCallback(new WindowClosedCallback() { @Override public void onClose(AjaxRequestTarget target) {if (ok){ try { man.delete(

Re: wicket-security Custom Access Denied Page

2008-02-13 Thread Igor Vaynberg
stick that name into requestcycle's metadata, and pull it out in yoru implementation of access denied page -igor On Feb 13, 2008 8:31 AM, Warren <[EMAIL PROTECTED]> wrote: > I understand that, but what I want to do is create a message on that page > that reads "Users in group xxx do not have acc

Re: Formated integer in TextField

2008-02-13 Thread Igor Vaynberg
you can write a converter that strips any commas/periods from input. override getconverter() on the textfield. -igor On Feb 13, 2008 8:53 AM, Marco Aurélio Silva <[EMAIL PROTECTED]> wrote: > Hi All > > I'm having a problem with TextField on wicket 1.2.6. > > I must format the integer numbers, so

Re: Datastore localisation - Sanity check

2008-02-13 Thread Igor Vaynberg
looks ok. -igor On Feb 13, 2008 1:22 AM, Ned Collyer <[EMAIL PROTECTED]> wrote: > > Hi, > > I want to use my own localisation service. This allows me to handle the > properties differently via a GUI from within the app, or from another > location, and gives customers / implementors a bit more p

Re: Intention of PropertyModel in 1.3

2008-02-13 Thread Igor Vaynberg
hmm, this should still work. mind filing a jira bug with a quickstart? -igor On Feb 13, 2008 12:00 AM, David Leangen <[EMAIL PROTECTED]> wrote: > > Hello! > > I'm (finally!) migrating to 1.3, so have a few wrinkles to iron out. > > Is somebody able to tell me the intention of the PropertyModel?

Re: [WicketStuff-Scriptaculous] DragNDrop problem in IE6/IE7.

2008-02-13 Thread Edward Yakop
The reason why this might not work is when we have the following use case: * We have many draggable target, and when somebody drop to one of the location, containers that contained the other draggable targets are also added to ajax request target. Once this happened, none of the other draggable tar

Formated integer in TextField

2008-02-13 Thread Marco Aurélio Silva
Hi All I'm having a problem with TextField on wicket 1.2.6. I must format the integer numbers, so, when the number is 123456780 it will be formated as 123,456,789 or 123.456.789 (according to user locale). The problem is that when I submit the form, the validation fails because 123,456,789 is not

Re: [WicketStuff-Scriptaculous] DragNDrop problem in IE6/IE7.

2008-02-13 Thread Ryan Sonnek
Ok everyone, I think I have a fix checked in. Before re-rendering the DraggableTarget on the Ajax response, I call the scriptaculous Droppables.remove() to cleanup the old reference. The wicketstuff-scriptaculous-example project should be able to test and verify this behavior. If anyone has a sp

Re: [WicketStuff-Scriptaculous] DragNDrop problem in IE6/IE7.

2008-02-13 Thread Nino Saturnino Martinez Vazquez Wael
if you have an example running, i'll be happy to test on safari and ie6/7/ff .. Ryan Sonnek wrote: No, i haven't yet. the problem for me is that I don't have an install of IE6/7 to test this out on. I'd be happy to apply any patch that someone has that has been tested against IE6 and IE7 thou

Re: Wicket Ideal Bandwidth

2008-02-13 Thread UPBrandon
Regardless of what technologies you use on the server side (Wicket, JSF, Struts, etc.,) the end product that gets transmitted to the user is just plain old HTML. Use the same judgment you would use with any other page/site. If you have big pages with lots of images and whatnot, you will either n

RE: wicket-security Custom Access Denied Page

2008-02-13 Thread Warren
I understand that, but what I want to do is create a message on that page that reads "Users in group xxx do not have access to yyy" where yyy would be the name of the principal that triggered the access denied. I need to get the name of that principal. > -Original Message- > From: Maurice

Opening DynamicWebResource from Button/AjaxButton?

2008-02-13 Thread UPBrandon
In a project I am working on, I wrote a DynamicWebResource that generates a PDF file and, by setting the Content-Disposition in the header, got it so that the user is prompted to download the PDF when they click on a ResourceLink to my PDF-generating resource. That all works fine but now I need t

How to Display List in DataTable

2008-02-13 Thread wiki
Hi I have a little problem with displaying list inside datatable. I have a list of questions and each question has a list of answers.My design requirement is to display one question per page(that's why used Data Provider) and within that page I have to display list of relevant answers.I have a ja

Re: [WicketStuff-Scriptaculous] DragNDrop problem in IE6/IE7.

2008-02-13 Thread Ryan Sonnek
No, i haven't yet. the problem for me is that I don't have an install of IE6/7 to test this out on. I'd be happy to apply any patch that someone has that has been tested against IE6 and IE7 though. On Feb 13, 2008 12:54 AM, Edward Yakop <[EMAIL PROTECTED]> wrote: > Hi, > > Thanx for the hints :)

Re: js pop appearing behind flash

2008-02-13 Thread Martin Funk
Hi, maybe the sugestion in the first result helps: http://www.google.com/search?hl=de&q=yui+calendar+z-index+flash+ontop&btnG=Google-Suche&lr= mf 2008/2/13, mbelarbi <[EMAIL PROTECTED]>: > > > Hi, > > I have a js date picker pop up when the calendar icon is clicked, exactly > like this one on th

working on my first wicket web 2.0 scriptaculos component

2008-02-13 Thread Fernando Wermus
Hi all, I am working on rtying to reproduce this behavior http://wiki.script.aculo.us/scriptaculous/show/SortableListsDemo. Two sortable list which you can reorder de item in it a between them. This is the html generated by my component, but it seems not to work. It doesn't call the component

Re: Intention of PropertyModel in 1.3

2008-02-13 Thread Martin Funk
Hi David, I'm not able to tell you the intention of the PropertyModel. My guess for coding to your spec in 1.3 would be: IModel languageModel = new AbstractReadOnlyModel() { @Override public Object getObject() { return getSession().getLocale().getLanguage(); } }; in your special case y

Odd behaviour after setGatherExtendedBrowserInfo(true)

2008-02-13 Thread Cristi Manole
Hello, I wanned to be able to get the browser client size, so I followed the examples and put getRequestCycleSettings().setGatherExtendedBrowserInfo(true) in my Application init method. I can get the parameters without any problem, but now on the login page, after I submit, for a few seconds I ge

Re: Problem with bad CSS path after validation

2008-02-13 Thread dfernandez
dfernandez wrote: > > > In case this helps, I am applying the Wicket filter to "/*". > > But: if I switch the "filter-mapping" to "/app/*"... it works! Is this normal? "/*" filter mapping is supposed to be allowed, isn't it? The quickstart application in "Wicket in Action" uses it... Rega

RE: Switching locales with the same link

2008-02-13 Thread Korsten, Peter, VF-MT
Yes, you're absolutely right. I got an indication by NetBeans that something was incorrect, but it was apparently about something else. I'd never seen this construct before, and it's not exactly like I'm just starting out with Java. Again, everybody, thanks for the quick replies. And indeed, 'mt

js pop appearing behind flash

2008-02-13 Thread mbelarbi
Hi, I have a js date picker pop up when the calendar icon is clicked, exactly like this one on the wicket example pages: http://wicketstuff.org/wicket13/dates/ Mine is used in exactly the same way, I have [ ] on the html side and on the java side, a datePicker is added to the dateTextField fie

Re: Wicket Ideal Bandwidth

2008-02-13 Thread Nino Saturnino Martinez Vazquez Wael
That completely depends on your content.. If you use compressed resource references etc, clients need to download less, also there are tools to shrink your js and css files... regards Nino carloc wrote: Hi guys, What do you think will be the ideal bandwidth to use when you are using Wicket?

Problem with bad CSS path after validation

2008-02-13 Thread dfernandez
Hello all, I am having problems with the path that Wicket builds for my CSS sheet. I have a "BasePage" which has: add(HeaderContributor.forCss("css/styles.css")); And a sign-in page that extends this BasePage is mounted like this at the Application "init()" method: mountBookmarkablePa

Re: Switching locales with the same link

2008-02-13 Thread Erik van Oosten
Erik van Oosten wrote: Indeed, that's what I did too. Hmm, but the rest was crap I now see. Anyway, glad it got you on the right track. Erik. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

Re: Switching locales with the same link

2008-02-13 Thread Erik van Oosten
Indeed, that's what I did too. Martijn, mt is Maltese, now that's is something you don't see often in the Netherlands :) Erik. Sebastiaan van Erk wrote: Like in the code given, you can just use : HomePage.this.getString("header.versionLanguage") in the anonymous inner class instead of

Re: Switching locales with the same link

2008-02-13 Thread Martijn Dashorst
On 2/13/08, Korsten, Peter, VF-MT <[EMAIL PROTECTED]> wrote: > Incidentally, the languages used will be 'en' and 'mt'... mt == manager talk? Martijn -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.1 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.1

Re: Switching locales with the same link

2008-02-13 Thread Sebastiaan van Erk
Like in the code given, you can just use : HomePage.this.getString("header.versionLanguage") in the anonymous inner class instead of using the "trick" you mention. The reference of the page is *already* passed to the anonymous inner class (by java itself, since anonymous inner classes are not

RE: Switching locales with the same link

2008-02-13 Thread Korsten, Peter, VF-MT
Dankjewel! :) I had to tweak the code below a bit, in order to get it working, but this is what I ended up with: public HomePage() { final Component parentPage = this; add( new Link( "languageSwitch" ) { @Over

Re: Wicket Ideal Bandwidth

2008-02-13 Thread Ned Collyer
Dude, its a web site. Whatever works well for websites works well for wicket. Just don't make 500kb pages. carloc wrote: > > Hi guys, > > What do you think will be the ideal bandwidth to use when you are using > Wicket? > Will it work good on a 128kbps connection? > > what's the beset band

Re: Harnessing Data From Components

2008-02-13 Thread carloc
Thanks For The Reply, Rating Panel is not a FormComponent right? So am I correct in saying that the model gets updated during the Ajax Requests ? Cause every click on the button triggers an ajax request. Thanks igor.vaynberg wrote: > > or you can bind the model to a property, and then when a

Wicket Ideal Bandwidth

2008-02-13 Thread carloc
Hi guys, What do you think will be the ideal bandwidth to use when you are using Wicket? Will it work good on a 128kbps connection? what's the beset bandwidth that you could recommend? carlo -- View this message in context: http://www.nabble.com/Wicket-Ideal-Bandwidth-tp15452645p15452645.html

Datastore localisation - Sanity check

2008-02-13 Thread Ned Collyer
Hi, I want to use my own localisation service. This allows me to handle the properties differently via a GUI from within the app, or from another location, and gives customers / implementors a bit more power. Thing I'm working on will have components that can be translated and customised for ma

Re: Switching locales with the same link

2008-02-13 Thread Erik van Oosten
Hi Peter, Yes, you can do this. Suppose the link is in LocalePanel, then LocalePanel.properties: other_locale: nl_NL LocalePanel_en.properties: other_locale: en_US LocalePanel.java: add(new Link("localeLink", new Model() { public Object getObject() { Locale l = new Locale(LocalePane

RE: Switching locales with the same link

2008-02-13 Thread Korsten, Peter, VF-MT
Hi Igor, Thanks for your reply, but it doesn't answer my question. I don't want an HTML file for each language, and I don't want all languages as links: on the page in language X I want a link to language Y, and on the page in language Y a link to language X. It *is* described in detail in my or

Re: Reading selected radio in validator

2008-02-13 Thread Igor Vaynberg
you can use getconvertedinput() to get the value that will eventually be pushed into session. -igor On Feb 12, 2008 10:44 PM, Rik van der Kleij <[EMAIL PROTECTED]> wrote: > Hi, > > Does someone knows a solution for reading the selected radio button in the > validate() of a IFormValidator impleme

Re: Extending DropDownChoice

2008-02-13 Thread Igor Vaynberg
give dropdownchoice a model, and in this model's setobject(object) save the value into session. also check out the models page on the wiki, it is important to understand/use models correctly. -igor On Feb 12, 2008 11:07 PM, Bruce McGuire <[EMAIL PROTECTED]> wrote: > Hi. > > I would like to save

Re: Multiple panels and back button

2008-02-13 Thread Igor Vaynberg
when you hit the back button there is no server hit right? the page is shown from browser's cache. if you dont want that you have to set a cache/pragma no-store headers. see webpage.setheaders(). but do notice this will result in more overhead as every back button hit will result in another request

Re: wicket-security Custom Access Denied Page

2008-02-13 Thread Maurice Marrink
In the init of your webapp do getApplicationSettings().setAccessDeniedPage(MyPage.class) This is a wicket setting and not related to the security framework. Maurice On Feb 12, 2008 7:50 PM, Warren <[EMAIL PROTECTED]> wrote: > How do you set-up a custom "access denied page" that has a message on

Re: Handle Hibernate transaction in wicket

2008-02-13 Thread Igor Vaynberg
see databinder.net -igor On Feb 12, 2008 11:59 PM, Sébastien Piller <[EMAIL PROTECTED]> wrote: > Hello, > > I'm searching for a best practice to integrate some hibernate > transaction with Wicket. I'd like to implement the "session-per-request" > that is described here > http://www.hibernate.org

Re: Multiple panels and back button

2008-02-13 Thread Constantin Y
But i am using a custom detachable model to provide data to my repeater. Maybe its something else? I am posting the code which is very simple and may help. Thanks for your time and congratulations to the whole team for your work in the 'Wicket in Action' ** the code is part of a quite big serie

Intention of PropertyModel in 1.3

2008-02-13 Thread David Leangen
Hello! I'm (finally!) migrating to 1.3, so have a few wrinkles to iron out. Is somebody able to tell me the intention of the PropertyModel? I'm wondering if something has changed, or if I just wasn't using it correctly before... In one of my panels, I use this type of property: PropertyModel

Handle Hibernate transaction in wicket

2008-02-13 Thread Sébastien Piller
Hello, I'm searching for a best practice to integrate some hibernate transaction with Wicket. I'd like to implement the "session-per-request" that is described here http://www.hibernate.org/hib_docs/v3/reference/fr/html_single/#tutorial-firstapp-workingpersistence I think I can commit the tr