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 ori

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 form

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

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 t

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

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 poi

[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, fi

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" + " + '&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

Re: [Wicket-user] Vertical Tabs

2007-02-19 Thread Igor Vaynberg
you can style tabbedpanel in extensions the tabs are just a -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: http

[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] 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'

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 o

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 exam

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

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 iss

[Wicket-user] PageParameter Parsing Primer

2007-02-19 Thread spencer.c
Can someone give me a quick overview of what is safe to pass in as a page parameter? I was under the impression that if I had a page parameter that was a string, it would be encoded correctly in the URL, and decoded back to its original form in the page constructor. What I am finding, is that th

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 SourceFor

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

2007-02-19 Thread Eelco Hillenius
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 issue http://issues.apache.org/jira/browse/WICKET-298 so that the change will be in the change log. Eelco On 2/19/07, manu <[EMAIL PROTECTED]> wrote: >

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 com.webalta.context.ad.web.stat.mock.MockS

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]] java.lang.

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: http://creativecomm

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 aro

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

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

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

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

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

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 ses

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 rep

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 Wic

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

2007-02-19 Thread Zágoni Elemér
Hi Igor, It's a good idea to include the InternetExplorer png fix as a Behavior in Wicket. But I would suggest to use the pngfix I attached, because this supports also background images (more frecvently used nowadays in pages than regular img) One drawback is that background-repeat and backgroun

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

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

Re: [Wicket-user] Wicket 1.2.4 bug (?!?) - changing visibility of a button using ajax

2007-02-19 Thread Alex Objelean
Sorry guys, my fault! I indeed forgot to setOutputMarkupId to true Working late have a great impact on my attention :)... Anyway, thank you for your answers!! igor.vaynberg wrote: > > you cannot add button directly to the ajax target to change visibility, > you > have to add some enclosing

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

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 its