Re: [Wicket-user] LoadableDetachableModel in form processing

2007-02-19 Thread karthik Guru
Personally I have have run into lot of issues with OpenSessionInViewFilter pattern, so much so that I decided to take it off - At least the app now works as 'I expect'. But then am not an hibernate expert. The standard solution is to use Session.merge() Doesn't merge recreate the entity if

[Wicket-user] PropertyModel misbehavior

2007-02-19 Thread Alex Objelean
First of all, the functional description: I have a screen with the table which contains on each line a column with description, a dropDownChoice (DDC) with a list of configurations and another column with DDC with a list of years. When user changes a configuration , the list of years updates

Re: [Wicket-user] How to include *.htc files in css files?

2007-02-19 Thread Alex Objelean
(LOL) Unfortunately more than 70% of users are using retarded browsers :)) (not like - it's IE!). Alex. Any ideas on how this might be fixed (accept for telling people not to use a retarded browsers like IE)? Can we open an issue for it to track it? Eelco -- View this message in context:

[Wicket-user] there is no way to preprocess raw markup in wicket 1.1?

2007-02-19 Thread wouvlfe
I simply want to be able to modify the values of some static paths in the raw html markup it seems that there is no way to do it in wicket 1.1 ?? i started by looking into markup filters when i wrote my own markup parser, i couldnt find a way to replace portions of the raw html (I would

Re: [Wicket-user] How to include *.htc files in css files?

2007-02-19 Thread Igor Vaynberg
// This is licensed under the CC-GNU LGPL, version 2.1 or later. // For details, see: http://creativecommons.org/licenses/LGPL/2.1/ cant, its lgpl -igor On 2/19/07, Zágoni Elemér [EMAIL PROTECTED] wrote: Hi Igor, It's a good idea to include the InternetExplorer png fix as a Behavior in

Re: [Wicket-user] there is no way to preprocess raw markup in wicket 1.1?

2007-02-19 Thread Timo Rantalaiho
On Mon, 19 Feb 2007, wouvlfe wrote: I simply want to be able to modify the values of some static paths in the raw html markup it seems that there is no way to do it in wicket 1.1 ?? i started by looking into markup filters when i wrote my own markup parser, i couldnt find a way to replace

Re: [Wicket-user] LoadableDetachableModel in form processing

2007-02-19 Thread Iman Rahmatizadeh
Matthew, the line where you create a palette object, I see you're using Model instead of a Loadable model, what does the getDataStoreRoles() do ? Does it load the DataStoreUser object ? Models are normally dangerous to use with persistent objects, as they usually hold on to the instance during

[Wicket-user] Why does setResponse sometimes does notResponse?

2007-02-19 Thread manu
you shouldnt be calling setresponsepage inside constructors try RestartResponseException Yes, RestartResponseException forced it to response fine. Anyway, it's a shame setResponse sometimes fails in constructors, I already have other web-flows working fine with it. That's because I have some

Re: [Wicket-user] there is no way to preprocess raw markup in wicket 1.1?

2007-02-19 Thread wouvlfe
oops, should have been more clear about what i want to do i want to be able to preprocess some of the tags (that do not have wicket ids) in the markup and modify them if necessary example: modify the original tag: /a/b/c to the tag: /e/f that is, change the static paths in certain scenarios

Re: [Wicket-user] Why does setResponse sometimes does notResponse?

2007-02-19 Thread manu
available, and I cannot think of a good end-user reason why this couldn't be called. The getMarkupId method can in fact be called in if it is possible to make every method work at constructor, of course this is not necessary. It's a good idea to shield people from errors that aren't

Re: [Wicket-user] Why does setResponse sometimes does notResponse?

2007-02-19 Thread Igor Vaynberg
i tried to do that, but the sentiment at that time was that throwing an exception internally was not explicit enough. maybe times have changed. -igor On 2/19/07, manu [EMAIL PROTECTED] wrote: available, and I cannot think of a good end-user reason why this couldn't be called. The

[Wicket-user] Pass popup parameters from parent page

2007-02-19 Thread serban.balamaci
Hi. I need to open a popup page that displays information that is related to parameters in the parent page. For example, a popuppage with a list of streets, and in the parent i would have a combo with counties ids, name and only the street in that county would be shown in the popup. The problem

Re: [Wicket-user] [datetime] DateConverter

2007-02-19 Thread ChuckDeal
Eelco Hillenius wrote: On 2/15/07, ChuckDeal [EMAIL PROTECTED] wrote: I was trying to use the datetime.DateTextField and it was giving me a little grief when I was trying to use DateTime objects with it. It was my understanding that that datetime project was to be built around the joda

Re: [Wicket-user] How to include *.htc files in css files?

2007-02-19 Thread Frank Bille
Yes I noticed that so the only thing we can do is to create a wiki page about it. I'll do that if I find out something useful. Frank On 2/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: // This is licensed under the CC-GNU LGPL, version 2.1 or later. // For details, see:

Re: [Wicket-user] Help wanted for testing custom serialization (Wicket 1.3)

2007-02-19 Thread Andrew Klochkov
It doesn't work. Maybe I should update? I have a week old version I guess. ERROR - Objects- Error serializing object class com.webalta.context.ad.web.stat.mock.MockStatPage [object=[Page class = com.webalta.context.ad.web.stat.mock.MockStatPage, id = 0, version = 0]]

Re: [Wicket-user] Help wanted for testing custom serialization (Wicket 1.3)

2007-02-19 Thread Johan Compagner
i think that is an old one yes that should be fixed On 2/19/07, Andrew Klochkov [EMAIL PROTECTED] wrote: It doesn't work. Maybe I should update? I have a week old version I guess. ERROR - Objects- Error serializing object class

Re: [Wicket-user] [datetime] DateConverter

2007-02-19 Thread Eelco Hillenius
I don't remember where I was going with that, but I hope you get the idea. I did, and I agree :). I'll have something new later today or this week. Eelco - Take Surveys. Earn Cash. Influence the Future of IT Join

Re: [Wicket-user] Why does setResponse sometimes does notResponse?

2007-02-19 Thread Igor Vaynberg
sure, but does it abort the page or do you end up with an extra page in the pagemap? -igor On 2/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Guys, guys, did you read my reply? I fixed this and you can now use setResponsePage in your constructor or anywhere you want!. I just made this

Re: [Wicket-user] Why does setResponse sometimes does notResponse?

2007-02-19 Thread Eelco Hillenius
On 2/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: sure, but does it abort the page or do you end up with an extra page in the pagemap? No, it doesn't abort the request. If you want to do that you need to use that exception. So while it typically doesn't make sense to call setResponsePage in a

Re: [Wicket-user] Pass popup parameters from parent page

2007-02-19 Thread Igor Vaynberg
there is a lot of javascript out there that shows you how to read the currently selected item out of a select box -igor On 2/19/07, serban.balamaci [EMAIL PROTECTED] wrote: Hi. I need to open a popup page that displays information that is related to parameters in the parent page. For

Re: [Wicket-user] Why does setResponse sometimes does notResponse?

2007-02-19 Thread Igor Vaynberg
at least if in devel mode you should log a warning if you detect this. or do you not detect its in a constructor...you just push a new target? -igor On 2/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 2/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: sure, but does it abort the page or do

Re: [Wicket-user] Why does setResponse sometimes does notResponse?

2007-02-19 Thread Eelco Hillenius
On 2/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: at least if in devel mode you should log a warning if you detect this. or do you not detect its in a constructor...you just push a new target? Why? If users want to do that, let them. Though it's probably not the smartest thing to do, there's

[Wicket-user] Vertical Tabs

2007-02-19 Thread burnayev
How do I create vertically stacked tabs? Is it possible to style and/or extend the extensions tab component or do I have to create my own? -- View this message in context: http://www.nabble.com/Vertical-Tabs-tf3254943.html#a9048798 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: [Wicket-user] Vertical Tabs

2007-02-19 Thread Igor Vaynberg
you can style tabbedpanel in extensions the tabs are just a ul -igor On 2/19/07, burnayev [EMAIL PROTECTED] wrote: How do I create vertically stacked tabs? Is it possible to style and/or extend the extensions tab component or do I have to create my own? -- View this message in context:

Re: [Wicket-user] Pass popup parameters from parent page

2007-02-19 Thread Marc-Andre Houle
here is the way I have done it : popupSettings.setTarget (href + + 'amp;searchfield=' + document. + searchForm.getId () + . + textField.getId () + .value); On 2/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: there is a lot of javascript out there that shows you how to read the currently

[Wicket-user] grouping of components with repeaters

2007-02-19 Thread Alexei Sokolov
Hello, I'm sorry if this subject was discussed before... if so please point me in the right direction. Here is my problem: I'm using IDataProvider interface from wicket extensions package to load set of data from database. The data has the following format: group1, field11, field12, field13,

Re: [Wicket-user] grouping of components with repeaters

2007-02-19 Thread Igor Vaynberg
you would use two repeaters, one inside the other one for outputting group header and footer and the other one inside that one to output the rows in between. -igor On 2/19/07, Alexei Sokolov [EMAIL PROTECTED] wrote: Hello, I'm sorry if this subject was discussed before... if so please

[Wicket-user] Adding component markup to javadoc output

2007-02-19 Thread Aaron Hiniker
I am always running into problems where I need to replace a components functionality somehow, which requires me to know the parent's component hierarchy. I then need to go to the wicket SVN or look at my local copy of the source code to view the component's source. Do you guys think it would be

Re: [Wicket-user] grouping of components with repeaters

2007-02-19 Thread Alexei Sokolov
Igor, In this case outer repeater will have to iterate over groups, and I don't know how to iterate over groups. I can iterate over every record and I can detect when there is a group boundary. Alex On 2/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: you would use two repeaters, one inside

Re: [Wicket-user] Adding component markup to javadoc output

2007-02-19 Thread Igor Vaynberg
why not just attach the wicket source to your ide? for me all i have to do is ctrl+click on a component class and i am taken to its source code. -igor On 2/19/07, Aaron Hiniker [EMAIL PROTECTED] wrote: I am always running into problems where I need to replace a components functionality

Re: [Wicket-user] grouping of components with repeaters

2007-02-19 Thread Igor Vaynberg
thats easy. you have a list of rows that is primarily sorted on the group. so just do something like this (rough pseudocode) class groupsiterator implements iterator { private final list rows; private string group; private int idx; public groupsiterator(list rows) { this.rows=rows;

Re: [Wicket-user] grouping of components with repeaters

2007-02-19 Thread Dmitry Kandalov
alexei.sokolov wrote: Hello, I'm sorry if this subject was discussed before... if so please point me in the right direction. Here is my problem: I'm using IDataProvider interface from wicket extensions package to load set of data from database. The data has the following format:

Re: [Wicket-user] there is no way to preprocess raw markup in wicket 1.1?

2007-02-19 Thread Juergen Donnerstag
search for IMarkupFilter Juergen On 2/19/07, wouvlfe [EMAIL PROTECTED] wrote: oops, should have been more clear about what i want to do i want to be able to preprocess some of the tags (that do not have wicket ids) in the markup and modify them if necessary example: modify the original