Re: [Wicket-user] Re: Wicket-user digest, Vol 1 #1080 - 3 msgs

2005-10-28 Thread Johan Compagner
yes then you need some kind of _javascript_ on the client side! Because how can wicket get anything if the browser doesn't submit it But if you want a link then you have to make sure that that link is appended with the value of the text field when the link is clicked. The name of that paramete

Re: [Wicket-user] replace ognl.

2005-10-28 Thread Johan Compagner
sion_ as a property then if not found it is map value (doesn't matter if the key isn't there or not) johan On 10/28/05, Laurent PETIT <[EMAIL PROTECTED]> wrote: On 10/28/05, Johan Compagner <[EMAIL PROTECTED]> wrote:> > Does Wicket also check for direct public property

Re: [Wicket-user] RE: Accessing the PropertyModel of a TextField

2005-10-28 Thread Johan Compagner
so you are saying that this little piece of code: TextField tf = new TextField(qid + "Cat", new PropertyModel(pojoObj, "text")); boolean test = pojoObject.getText().equals(tf.getModelObject()); then test is false? On 10/28/05, Chantal Ackermann <[EMAIL PROTECTED]> wrote: Hello all, hello Igor,th

Re: [Wicket-user] DropDownChoice and RadioChoice

2005-10-28 Thread Johan Compagner
In my first post, I had a couple of issues, and I don't want to lose sightof the other, because it is actually a bigger problem.  That is in the case that I do just use a simple list of strings, like this:new DropDownChoice("id", LIST_OF_STRINGS); if you do this then the model of the dropdown is

Re: [Wicket-user] beforeCallComponent and afterCallComponent

2005-10-28 Thread Johan Compagner
e is the direction we need to gofor the ultra scalability.EelcoOn 10/28/05, Johan Compagner < [EMAIL PROTECTED]> wrote:> My question about this is can anybody name a Page that isn't a webpage?>  And that would also have a own requestcycle? that doesn't use a > componentList

Re: [Wicket-user] Make wicket.markup.html.navigation.paging.PagingNavigationLink non-final.

2005-10-28 Thread Johan Compagner
but that looks to me like a AttributeModifier On 10/28/05, Janne Hietamäki <[EMAIL PROTECTED] > wrote:Juergen Donnerstag wrote:> Why? What is your use case?>> Juergen >I need to have an OnClickScript on my paging links to do some ajaxian stuff.--Janne HietamäkiCemron Ltdhttp://www.cemron.com/--

Re: [Wicket-user] DropDownChoice and RadioChoice

2005-10-28 Thread Johan Compagner
<[EMAIL PROTECTED]> wrote: On Fri, 28 Oct 2005 10:03:53 -0700, Johan Compagner <[EMAIL PROTECTED]>wrote:> The id was not null!> Only when the selection is null and null is allowed Choose One is added. >This was the problem.  I had changed the default from null to an emptyString

Re: [Wicket-user] Make wicket.markup.html.navigation.paging.PagingNavigationLink non-final.

2005-10-28 Thread Johan Compagner
ng that the authors tag has Jonathan and me... I can't recall writing this, and I don't think Jonathan did :) Will the real authorplease step up?EelcoOn 10/28/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > but that looks to me like a AttributeModifier>> On 10/28/05, Janne

Re: [Wicket-user] PageMaps and BookmarkablePageLinks

2005-10-28 Thread Johan Compagner
i think currently the only way is to set the Page where the bookmarkablepagelink is to set the pagename to null on the page the bookmarkablepage name is on but that method shouldn't be called and suddenly all urls would be without a pagemap. jumping from one pagemap to another with a link is not r

Re: [Wicket-user] Make wicket.markup.html.navigation.paging.PagingNavigationLink non-final.

2005-10-29 Thread Johan Compagner
just ask getURL() or the link and you have the url that a link will generate On 10/29/05, Janne Hietamäki < [EMAIL PROTECTED]> wrote:Johan Compagner wrote:> but that looks to me like a AttributeModifier >> On 10/28/05, *Janne Hietamäki* <[EMAIL PROTECTED]> [EMAIL PROTECTED]> > wrote: >> Juergen

Re: [Wicket-user] Submitting a form with DropDownChoice.onSelectionChanged

2005-10-29 Thread Johan Compagner
yes currently this is a link that get's generated not a submit this is on the planning for 1.2 right after 1.1 is released On 10/29/05, Dariusz Wojtas <[EMAIL PROTECTED]> wrote: Hi,I have a simple form with 3 fields:  a Date field  (TextField) with attached DatePicker  a DropDownChoice with a list

Re: [Wicket-user] replace ognl.

2005-10-30 Thread Johan Compagner
Ok now we released 1.1 i have committed the ognl replacement It is not yet plugable yet we first need to see what we will or can support to bring back ognl for specific things. (plugable or in wicket extentions as its own model?) This is the current javadoc it explains what is possible now: Thi

Re: [Wicket-user] Re: Tab / Tabed-Page /Tabview Component?

2005-10-30 Thread Johan Compagner
why is it a core component? It is mostly a design issue if you ask me. Because under neath it  are just links that are setting a panel (or switching visibility) How would such a component look like? On 10/30/05, Stefan Lindner <[EMAIL PROTECTED]> wrote: Dear Dave, dear wicket developers,I had the

Re: [Wicket-user] dinamic initialice resources

2005-10-31 Thread Johan Compagner
These kind of resources should be initalized with a wicket-initializer.properties file (see wicket itself or extentions) But because these are database images, this can be very large. you could do it like this: /oz-cms/app/resources/wicket.Application/oz-pos/MyDbImage?image=logo.png But i don't

Re: [Wicket-user] RE: Accessing the PropertyModel of a TextField

2005-10-31 Thread Johan Compagner
I don't understand what you expect at what time. So at render time the text is "" (or null) and this is what you expect? Because the pojo object text property is "" or null? Then after a form submit when you have type something in it it is still null? Ofcourse must the form be submitten, how else

Re: [Wicket-user] Wicket back-button support

2005-11-01 Thread Johan Compagner
we could look at it when we are diving more in to ajax. But if i read it then i see already one thing (the first point they mention): "First, a hidden HTML form is used to allow for a large transient session cache of client-side information; this cache is robust against navigation to and away from

Re: [Wicket-user] replace ognl.

2005-11-02 Thread Johan Compagner
Conversion is first done in Wicket itself. So if you have a Field that gets its value from a map then you just have to type youre field first: TextField datePropertyTextField = new TextField("map.property", Date.class); I already thought about looking at the current key/index and then convert it

Re: [Wicket-user] Model Serialization Question

2005-11-03 Thread Johan Compagner
yes that is a problem. If we knew that a IModel always had one real data object then we should only serialize that one so instead of doing this: f (cloneModel) {                 model.detach();                 originalModel = (IModel)Objects.clone(model); } this: if (cloneModel) {    

Re: [Wicket-user] Is this a bug? Please help.

2005-11-03 Thread Johan Compagner
What are you saying exactly? Are you saying that you input a value with a , in a textfield in youre browser and that , will be replaced with ;  when you read it in at the serverside? Or are you saying that the model value does have a , in the string and it is displayed as a  ; in the browser? joh

Re: [Wicket-user] Re: TreeView and BookMarkablePage

2005-11-03 Thread Johan Compagner
What are you exactly trying to do?On 11/3/05, Alex Chew <[EMAIL PROTECTED]> wrote: I found this message http://sourceforge.net/mailarchive/message.php?msg_id=12880137   formerly, i tested this kind of solution, but couldn't work. It seems strange,Does wicket and iframe coexist?

Re: [Wicket-user] Is this a bug? Please help.

2005-11-03 Thread Johan Compagner
em), plz suggest me how to solve this problem, too. I need help as soon as posible.   BR, black   Johan Compagner <[EMAIL PROTECTED]> wrote: What are you saying exactly?Are you saying that you input a value with a , in a textfield in youre browserand that , will be replaced with ;  when you r

Re: [Wicket-user] Is this a bug? Please help.

2005-11-03 Thread Johan Compagner
olve my problem), plz suggest me how to solve this problem, too. I need help as soon as posible.   BR, black   Johan Compagner <[EMAIL PROTECTED]> wrote: What are you saying exactly?Are you saying that you input a value with a , in a textfield in youre browserand that , will be replaced with ;  wh

Re: [Wicket-user] Re: Wicket 1.1 line endings bug?

2005-11-03 Thread Johan Compagner
You should just stop using youre mac yes. That would be make everything much better :) On 11/3/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote: I don't change the line endings, CVS does that for me. So basically you are suggesting I should stop using my mac ;-). Long live the differences between Ma

Re: [Wicket-user] Mutable form component ?

2005-11-03 Thread Johan Compagner
readonly can also be done with an attribute modifier (readonly=readonly attribute) But different html output can only be done by panels. So just have 2 panels one with an text area and one with just a label And switch between those panels. On 11/3/05, Laurent PETIT <[EMAIL PROTECTED]> wrote: Great

Re: [Wicket-user] How to do validation on a component that relate to other(s).

2005-11-03 Thread Johan Compagner
Write youre own special validator that has references the FileUploadField and add it to the TextArea. Then you can check both when the validation of the area happens. On 11/3/05, blackboy zabaha <[EMAIL PROTECTED]> wrote: I have a form that do loading list of customers. User can upload a file or ju

Re: [Wicket-user] Adding Support for

2005-11-04 Thread Johan Compagner
For the other choice objects (The singleselectchoice, dropdownchoice) we could have a list of optgroups and the optgroup has a list of its choices So you are just makeing one line with choices and optgroups (with again a list of choices) johan On 11/4/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: h

Re: [Wicket-user] eclipse refactoring plugin

2005-11-06 Thread Johan Compagner
that looks nice and handyOn 11/6/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: Hi guys, ive been doing some refactoring lately and got really tired of renaming the .html and .properties file after i renamed the page or panel class. This sucks especially when you have inner classes and you have to re

Re: [Wicket-user] simple bookmarkable url

2005-11-07 Thread Johan Compagner
there is already support for page aliasses see ApplicationPages On 11/4/05, Jeff Miller <[EMAIL PROTECTED]> wrote: Is there a way to create bookmarkable page without embedding any of the Wicket implementation details in the url?  For example, the template example page 2 url is: http://www.wicke

Re: [Wicket-user] Allow forcing of PageMap where Page will be added on creation?

2005-11-07 Thread Johan Compagner
in 1.2 we will have support for partial rendering So then you don't need it to wrap around a page. On 11/6/05, Janne Hietamäki <[EMAIL PROTECTED]> wrote: Hi,I'm doing some AJAX-stuff, and because there is not yet real support ofrendering single components (and having a URL for a Component) I'm doin

Re: [Wicket-user] Allow forcing of PageMap where Page will be added on creation?

2005-11-07 Thread Johan Compagner
Not a markup container but a panel (that is besides page the one with there own markup) should be able to render itself completely standalone. But maybe i am mistaken? juergen? On 11/7/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: On 11/7/05, Janne Hietamäki <[EMAIL PROTECTED]> wrote:> Juergen

Re: Re: [Wicket-user] My take on Spring integration

2005-11-07 Thread Johan Compagner
And there is also a thing like XML Serialization Which also doesn't use the java read/write object at all. On 11/7/05, Christian Essl <[EMAIL PROTECTED]> wrote: Hi Igor,I looked through your code. Thanks for implementing it. I am not surewheter readObject() is the right place to do the (re)injectio

Re: [Wicket-user] simple bookmarkable url

2005-11-07 Thread Johan Compagner
ApplicationPages is just a configuration object you can set properties that are used for pages (Error pages etc) For aliasses see wicket-examples, we use there as an example a few page aliasses. Just put youre bookmarkable page class as a allias: putClassAlias(MyPage.class, "mypage"); On 11/7/0

Re: Re: Re: [Wicket-user] My take on Spring integration

2005-11-07 Thread Johan Compagner
Those method names are really wrong. Because those are not called when a request begins they are called when the response begins so it should be called onBeginRespond()/onEndRespond() onBeginRequest() should also be there but that one should be called right after the page is reconstructed from the

Re: [Wicket-user] Allow forcing of PageMap where Page will be added on creation?

2005-11-07 Thread Johan Compagner
I think having one page to do everything will not work quite right in wicket. Because what is the start markup then? Everything?? Where does all the markup come from? Or do you just have 1 page but 50 panels? What you can do in youre 1.2 in youre situations is just use a panel (not a page) as a wr

Re: [Wicket-user] redirect to previous url

2005-11-07 Thread Johan Compagner
We are redirecting to the real url:     final void redirectToInterceptPage(final Page page)     {         interceptContinuationURL = page.getResponse().encodeURL(page.getRequest().getURL()); But i think this url is already changed because of a client side redirect. (changed to: path=0 or somethi

Re: [Wicket-user] simple bookmarkable url

2005-11-07 Thread Johan Compagner
ibrary.com/wicket-examples/template/Page2     Jeff Johan Compagner <[EMAIL PROTECTED]> wrote: ApplicationPages is just a configuration object you can set properties that are used for pages (Error pages etc)For aliasses see wicket-examples, we use there as an example a few page aliasses. Just put yo

Re: [Wicket-user] redirect to previous url

2005-11-07 Thread Johan Compagner
igin panel is allways in the border and documentation> says that continueToOriginal only works with a previous call to > redirectToInterceptPage>>>> On 11/7/05, Johan Compagner <[EMAIL PROTECTED]> wrote:> > We are redirecting to the real url: >

Re: [Wicket-user] where do I put controller/dispatcher logic?

2005-11-07 Thread Johan Compagner
onBeginRequest is not the first thing that is called IT is the first thing that is called in the response/render phase. But what i call the request/invoke phase is before that. And the only hook there really is in a Listener call is as far as i know the: ((WebPage)page).beforeCallComponent(compone

Re: [Wicket-user] where do I put controller/dispatcher logic?

2005-11-07 Thread Johan Compagner
think RequestCycle.onBeginRequest() is called before the interpretation ofthe url and the call of the listeners.However Component.onBeginRequest() is called only before the render phase.Is this right? On Mon, 7 Nov 2005 23:10:38 +0100, Johan Compagner <[EMAIL PROTECTED]>wrote:> onBeginReq

Re: Re: [Wicket-user] My take on Spring integration

2005-11-08 Thread Johan Compagner
Just of my head two further suggestions:1.) If a field is not null than do not inject anything. This way custom injections could be done Fields are always null because they are not initialized yet by the sub class (when having a super class that does the injections)  

Re: [Wicket-user] simple bookmarkable url

2005-11-08 Thread Johan Compagner
lity for good customer service for web-related things.   Jeff Johan Compagner <[EMAIL PROTECTED]> wrote: that is currently not possibleAlso with these kind of urls you suddenly have all kind of url problems (other resources like images/css/js files) because the base dir is different.You have to

Re: [Wicket-user] i18n messages in HTML

2005-11-09 Thread Johan Compagner
i can live with: Default Text and But i think the second one will be pretty hard. Because then we have to parse the complete xml and see if in any attribute something starts with message:key even for non wicket tags as above? johan On 11/9/05, Andrew Berman <[EMAIL PROTECTED]> wrote: Oh and t

Re: [Wicket-user] validators that depends of multiple inputs

2005-11-09 Thread Johan Compagner
http://thread.gmane.org/gmane.comp.java.wicket.user/5512On 11/9/05, pepone pepone <[EMAIL PROTECTED]> wrote:Hello Is posible in wicket make validation that´s depend on multiple imputsthe simple use case is password match re-passwordother can be input a need to be biger/lesser that input b-

Re: [Wicket-user] i18n messages in HTML

2005-11-09 Thread Johan Compagner
provide value to have the attribute way as> well.  How much slower do you think it is going to make it?  Anyone else > have any suggestions?>>  --Andrew>>> On 11/9/05, Johan Compagner < [EMAIL PROTECTED]> wrote:> > i can live with: > >> > Default Text&

Re: [Wicket-user] i18n messages in HTML

2005-11-09 Thread Johan Compagner
; wrote: On 11/9/05, Johan Compagner <[EMAIL PROTECTED]> wrote:> if you do the replacement at parse time.>  then every html in the markup cache is specified by a locale? >  (even if there is not locale in the name of the html)>Thats already the case. The markup id includes locale s

Re: [Wicket-user] i18n messages in HTML

2005-11-09 Thread Johan Compagner
ag <[EMAIL PROTECTED]> wrote: good idea, except I would like to make a "=". wicket:i18n="value=my-key"JuergenOn 11/9/05, Scott Sauyet <[EMAIL PROTECTED]> wrote:> Johan Compagner wrote: > > i can live with:> >> > Default Text>> This makes sen

Re: [Wicket-user] i18n messages in HTML

2005-11-09 Thread Johan Compagner
On 11/9/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: yesm true. do you prefer wicket:mesage or wicket:i18n?JuergenOn 11/9/05, Johan Compagner <[EMAIL PROTECTED]> wrote:> then call it wicket:message="value=my-key" >>  so that>>  Default Text>  and>   >>

Re: [Wicket-user] replace ognl.

2005-11-09 Thread Johan Compagner
no this is 1.2On 11/10/05, Alexandru Popescu <[EMAIL PROTECTED]> wrote: After rechecking the whole thread, I couldn't find out if this change got into the 1.1 release. Cansomebdoy put some light onto this?thanks a lot,./alex--.w( the_mindstorm )p.#: Johan Compagner changed the world

Re: [Wicket-user] i18n messages in HTML

2005-11-10 Thread Johan Compagner
ing in html are desired to be translatewe can parser html files and assign and unique id to each string to be translateprovide a singuel file for each locale with string-id=string-translationapplication can plug a diferent translation file depending of current localehave this make any sense? On

[Wicket-user] Re: wicket bench 0.1.0

2005-11-13 Thread Johan Compagner
if sourceforge gives us svn support then i am +1 for moving to svn, tested the latest build locally and it works pretty good now! On 11/13/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > +1 for laughing panda for the same reasons > > Juergen > > On 11/13/05, Joni Suominen <[EMAIL PROTECTED]> w

Re: [Wicket-user] Keeping images outside of WEB-INF

2005-11-14 Thread Johan Compagner
Of course you save youre files to a server you have to know the folder where you have write access. Then you can load them from that location just as fine as reading them from a database. On 11/12/05, yongbl <[EMAIL PROTECTED]> wrote: Hi all,   I wanted to display images that has been uploaded to a

Re: [Spam] [Wicket-user] New to question on Wicket Application concept ?

2005-11-14 Thread Johan Compagner
why would you use more then one application object inside 1 web application? Examples is just the strange one that woudn't happen normally On 11/14/05, Alexandru Popescu <[EMAIL PROTECTED]> wrote: #: Johan Compagner changed the world a bit at a time by saying on  11/14/2005 12:04 P

Re: [Wicket-user] Preserve form state

2005-11-14 Thread Johan Compagner
I will take this mail into account when i start workign on the "Form Aware" things (for example the selection change handler from a DropDown must also use the form) johan On 11/13/05, Matej Knopp <[EMAIL PROTECTED]> wrote: Hi.I know this has been discussed already, but still I'm opening it oncemo

Re: [Spam] [Wicket-user] New to question on Wicket Application concept ?

2005-11-14 Thread Johan Compagner
TED]> wrote: #: Johan Compagner changed the world a bit at a time by saying on  11/14/2005 12:28 PM :#> why would you use more then one application object inside 1 web application?> Examples is just the strange one that woudn't happen normally >I have given the reasons in my fir

Re: [Wicket-user] Component and FLAG_HAS_ROOT_MODEL

2005-11-14 Thread Johan Compagner
No because components can have a ICompoundModel but not be the root because they got there model from the root. (see initModel()) johan On 11/14/05, Matej Knopp <[EMAIL PROTECTED]> wrote: Hi.In Component class, the flag FLAG_HAS_ROOT_MODEL is set only if themodel is CompoundPropertyModel. Why do

Re: [Wicket-user] Component and FLAG_HAS_ROOT_MODEL

2005-11-14 Thread Johan Compagner
Form form = new Form(); form.setModel(new MyCompoundModel);  // set a compound model so it is the root! TextField tf = new TextField(); // no model! then tf.initModel()  will get the forms model and use it as its own BUT it is not the root. johan On 11/14/05, Matej Knopp <[EMAIL PROTECTED]> wrot

Re: [Spam] Re: [Wicket-user] Wicket thread safety

2005-11-14 Thread Johan Compagner
at the same time.On 11/14/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: yes, a page instance is only accessed by 1 thread per request per user. -Igor On 11/14/05, Alexandru Popescu < [EMAIL PROTECTED]> wrote: #: Gili changed the world a bit at a time by saying on  11/14/2005 6:33 AM :#>   Ok, I

Re: [Wicket-user] Component and FLAG_HAS_ROOT_MODEL

2005-11-14 Thread Johan Compagner
do if I want to have my own compound model, that is not> derived from CompoundPropertyModel? Why is in Component#setModel a > check, whether the model is instance of CompoundPropertyModel> instand of> ICompoundModel?>> -Matej>> Johan Compagner wrote:&

Re: [Spam] [Wicket-user] New to question on Wicket Application concept ?

2005-11-14 Thread Johan Compagner
it is recommended but not really a requirement (it works for the examples project just fine to have multiply Applications in one WebApplication) On 11/13/05, Alexandru Popescu <[EMAIL PROTECTED]> wrote: #: Martijn Dashorst changed the world a bit at a time by saying on  8/17/2005 9:41 PM :#> Huy

Re: [Spam] Re: [Wicket-user] Wicket thread safety

2005-11-14 Thread Johan Compagner
h one thread at the same time.. johan On 11/14/05, Alexandru Popescu <[EMAIL PROTECTED]> wrote: #: Johan Compagner changed the world a bit at a time by saying on  11/14/2005 6:18 PM :#> at the same time.>What do you mean?per request there is only 1 thread. or are you saying that

Re: [Wicket-user] Locale problems

2005-11-14 Thread Johan Compagner
this is basic resource bundle lookup. if you have a Locale "nl" then the search starts from there so only Page_nl.html and Page.html are trying to be loaded. if you have a locale "nl_NL" then first Page_nl_NL. is tried then Page_nl. then Page. i don't think wicket uses the variant part of the

Re: [Wicket-user] Re: Keeping images outside of WEB-INF

2005-11-14 Thread Johan Compagner
James Yong <[EMAIL PROTECTED]> wrote: Johan Compagner gmail.com> writes:>>> Of course you save youre files to a server you have to know the folder whereyou have write access. > Then you can load them from that location just as fine as reading them from adatabase.>Hi,I used a

Re: [Wicket-user] Wait Screen

2005-11-14 Thread Johan Compagner
if you could you can use ajax for this. But in a non ajax way i just use one page that has a meta refresh tag that checks every x seconds if the process is finished. No -> redirect to that wait page with the meta refresh Yes -> redirect to the result page. johan On 11/14/05, Dipu <[EMAIL PROTECTED

Re: [Wicket-user] Re: Keeping images outside of WEB-INF

2005-11-15 Thread Johan Compagner
jip that is what i meant But ofcourse eelco's method is also fine to use.On 11/15/05, Scott Sauyet <[EMAIL PROTECTED]> wrote: > = James Yong <[EMAIL PROTECTED]> >> = Johan Compagner gmail.com> >> If you can do that then i would just have the directly in &g

Re: [Wicket-user] Preserve form state

2005-11-15 Thread Johan Compagner
Just one extra remark. Why can't use just use a model for this? And that model is an in between model for you real model object? Ok you have to do youre validation a bit different  (it can't be between Form->Model but it has to be between TmpModel->RealModel This looks to me like a much better wa

Re: [Wicket-user] If/Else component display

2005-11-16 Thread Johan Compagner
personally for a listview is empty i would do it in one markup and set the visibility on the label or the listview. In preview you will see both then but else you won't see none. On 11/16/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: Sounds to me you are looking for something more special purpose

Re: [Wicket-user] Preserve form state

2005-11-16 Thread Johan Compagner
i agree For a roundtrip so page to the same page with do something i will build that. For example a onSelectionChangeListener on a DropDown works now through a normal link (a get request) And that has to work through the form itself. So it has to submit the form, but don't do anything with it then

Re: [Wicket-user] Preserve form state

2005-11-16 Thread Johan Compagner
this also can be completely build into form itself. But then i think a separation looks/smells better.. But i am open to any idea's ! johan On 11/16/05, Laurent PETIT <[EMAIL PROTECTED]> wrote: Hello,> I personally say. Do that with an "in between" model. And don't do youre> validation in "form->

Re: [Wicket-user] Preserve form state

2005-11-16 Thread Johan Compagner
/16/05, Laurent PETIT <[EMAIL PROTECTED]> wrote: On 11/16/05, Johan Compagner <[EMAIL PROTECTED]> wrote:> this also can be completely build into form itself.> But then i think a separation looks/smells better.. > But i am open to any idea's !For me, the problem arises wh

Re: [Wicket-user] CompoundPropertyModel without OGNL in 1.1

2005-11-16 Thread Johan Compagner
are you really seeing big performance improvements when comparing the same app with 1.1 and 1.2? Thats nice to hear :) Backporting to 1.1.1 ... we could do it but it is a big change.. that could affect running installs (you can't just swap 1.1 to 1.1.1 then if you depend a bit more on ognl) This

Re: [Wicket-user] Preserve form state

2005-11-16 Thread Johan Compagner
i still think in youre case you have to use a inbetween model There is no other way. Even if we stored it inside the form itself then that is the inbetween model And i don't know if i want to support that. On 11/16/05, Matej Knopp <[EMAIL PROTECTED]> wrote: Hi.The problem is, that I don't want to

Re: [Wicket-user] Preserve form state

2005-11-16 Thread Johan Compagner
ink we are then where we are. You just need a special button that has a list of FormComponents to be validated... On 11/16/05, Johan Compagner <[EMAIL PROTECTED]> wrote: i still think in youre case you have to use a inbetween model There is no other way. Even if we stored it inside the form it

Re: [Wicket-user] There must be some docs somewhere?

2005-11-16 Thread Johan Compagner
Thx! i have looked that some pdf's and they look really nice! Good to know that wicket is used for teaching stuff! johan On 11/16/05, Dzenan Ridjanovic <[EMAIL PROTECTED]> wrote: Hi all,I have been teaching a course on the subject of web applicationsdevelopment using Wicket and dmLite frameworksh

Re: [Wicket-user] CompoundPropertyModel without OGNL in 1.1

2005-11-17 Thread Johan Compagner
>> by its nature, a 1.1.x release should not break stuff.>>>> Martijn>>>>>> On 11/16/05, Johan Compagner <[EMAIL PROTECTED] > wrote:>>>>> are you really seeing big performance improvements when comparing the>>> same>>> app w

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Johan Compagner
ted.> I think this is now already possible with the > Button.defaultFormProcessing boolean> Then the buttons must have a list of components which he must be> validated before he does process everything.> then he can call FormComponent.validate() and if that goes ok > FormComponent.up

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Johan Compagner
on an ImmediateButton, all form > components are marked invalid (so that they remember the values in> invalidInput) and all feedbackMessages are supressed. So after clicking> immediateButton, all feedback messages are hidden (even the valid one). >> The advantages are that val

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Johan Compagner
messages are hidden (even the valid one).>> The advantages are that validation works as usual. >> I'm attaching the source code in case anyone needs this. It seems that> this behavior (not implementation) won't have enough support to get into> wicket.>

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Johan Compagner
On 11/17/05, Laurent PETIT <[EMAIL PROTECTED]> wrote: On 11/17/05, Johan Compagner <[EMAIL PROTECTED]> wrote:> youre "SmartForms" are just what i described as and Array/List inside a> button>  so that a button knows what to valdate when it gets pressed. Certa

Re: [Wicket-user] Redirecting to Intercept Page from within a Panel

2005-11-17 Thread Johan Compagner
redirectToInterceptPage() should only really be used in the checkAccess() page If you want to return to a page. Why not give the page that is Editing the Shipping address the page instance where it came from and where he should return to? so youre link click: setResponsePage(new MyPage(this));

Re: [Wicket-user] Getting input in a link, not in submit

2005-11-20 Thread Johan Compagner
then you need to do an onClick on the button that submits the form.only at this time you can't know that that link was clicked (or you have to do that with a special hidden field and check that field in the Form.submit () method)johanOn 11/20/05, Manuel Corrales <[EMAIL PROTECTED]> wrote: Hi, i ha

Re: [Wicket-user] Getting input in a link, not in submit

2005-11-21 Thread Johan Compagner
 Press link1 to submit>  Press link 2 to submit >  >  >> Hope that helps,>> Christian>> On Sun, 20 Nov 2005 21:28:54 -0300, Manuel Corrales > <[EMAIL PROTECTED]> wrote:>>> Maybe i was not clear about my problem. What i need is that when i cli

Re: [Wicket-user] Getting input in a link, not in submit

2005-11-21 Thread Johan Compagner
Will check youre code out. i hope this week.The problem now is that now always should the form completely be processed and other times is shouldfor example a Submit Link should i think process the form. But a onChange listener on a DropDownChoice shouldn't That last one shouldn't be a real submit w

Re: [Wicket-user] Getting input in a link, not in submit

2005-11-21 Thread Johan Compagner
that's not what i meanShould youre SubmitLink do the normal validation of the form? Is it a normal submit?I think so.But my other example the onChange on a drop down. If that one is triggered it is not a normal submit The form shouldn't do anything, so defaultFormProcessing == false but where is th

Re: [Wicket-user] Updating a model using DropDownChoice

2005-11-22 Thread Johan Compagner
everything that is inside a Model as its model objectThat is not detached (so not converted to a serializeable id or something like that) must be serializeable of its own.so youre DiffusionProcess must implement Serializeable Or must be transient (then you must be able to recreate it from null)Or m

Re: [Wicket-user] Solution proposal for "Form aware things"

2005-11-22 Thread Johan Compagner
Sorry I will look at youre things this week!I just haven't had the time yet! I will get back to you and others who also where sending patches for these thingsAnd then try to find the best possible solution. johanOn 11/22/05, Laurent PETIT <[EMAIL PROTECTED]> wrote: Hello the list,   I think this po

Re: [Wicket-user] I18n

2005-11-22 Thread Johan Compagner
what does you browser reports in what kind of content type is does get it back?On 11/22/05, Dzenan Ridjanovic < [EMAIL PROTECTED]> wrote:Juergen,>For me it looks like your editor is not saving the html document in UTF-8 format but your computers default locale. Which editor are youusing?I use Eclip

Re: [Wicket-user] Updating a model using DropDownChoice

2005-11-22 Thread Johan Compagner
That is a bug.for example Component.getModelObject() does this:// If this component has the root model for a compound model            if (getFlag(FLAG_HAS_ROOT_MODEL))            {                // we need to return the root model and not a property of the                 // model               

Re: [Wicket-user] Updating a model using DropDownChoice

2005-11-22 Thread Johan Compagner
).setObject(null, object);            }            else            {                model.setObject(this, object);             }            modelChanged();        }        return this;johanOn 11/23/05, Johan Compagner < [EMAIL PROTECTED]> wrote:That is a bug.for example Component.getModelObject (

Re: [Wicket-user] I18n

2005-11-23 Thread Johan Compagner
Tested it and the problem is that you are lying ;)you say:in the top of youre file. But youre file is not in UTF-8 but in cp1252 (or something like that) when i made it: (i think that cp1252 is something windows? don't know if you can say that as the encoding)It worked. On 11/22/05, Dzenan Ridjanov

Re: [Wicket-user] Upload Progress bar

2005-11-23 Thread Johan Compagner
just an idea.The progress bar thread could be a SharedResource request.Those request are not synchonized.And you can give back the progress number everytime the Resource is requested.johan On 11/23/05, Andrew Lombardi <[EMAIL PROTECTED]> wrote: I've got a need to show an Upload progress bar in a Wi

Re: [Wicket-user] Upload Progress bar

2005-11-24 Thread Johan Compagner
ideas?  it shouldn't behave this way right?  i'm using 1.1 final.-kinOn Nov 23, 2005, at 3:02 PM, Johan Compagner wrote: just an idea.The progress bar thread could be a SharedResource request.Those request are not synchonized.And you can give back the progress number everytime the Resource

Re: [Wicket-user] Upload Progress bar

2005-11-24 Thread Johan Compagner
ce the upload occurs, it seems to exhibit a blocking behaviour. any ideas?  it shouldn't behave this way right?  i'm using 1.1 final.-kinOn Nov 23, 2005, at 3:02 PM, Johan Compagner wrote: just an idea.The progress bar thread could be a SharedResource request.Those request are not synchoni

Re: [Wicket-user] How do I register customed Converter into Application ?

2005-11-24 Thread Johan Compagner
see Application:    public IConverterFactory getConverterFactory()    {        return converterFactory;    }On 11/24/05, Ingram Chen <[EMAIL PROTECTED]> wrote:Dear all,     I wrote several converters which extends AbstractConverter, but no ideas abouthow to set them as 'default' converter. any id

Re: [Wicket-user] Upload Progress bar

2005-11-24 Thread Johan Compagner
by the user. -Igor On 11/24/05, Johan Compagner <[EMAIL PROTECTED] > wrote: I don't see it as a bug, but more not the best behaviour..The problem is getting rid of that sync block at that levelbecause parseRequest() and response have to be in one synch block because in parseRequest the ca

Re: [Wicket-user] Upload Progress bar

2005-11-24 Thread Johan Compagner
the else block so its  safe to check for resource before that check runs. im off to bed now, 1am here :)-IgorOn 11/24/05, Johan Compagner < [EMAIL PROTECTED]> wrote: you are right. My quick prototyping was not completely valid.we should just invert it yes first check for isResource() || isStatic

Re: [Wicket-user] Security hole?

2005-11-24 Thread Johan Compagner
so when i have this:x = 6 < 7 & 10 > 5as text in my model it gets encoded into html? (And thats what i see?)That is something i don't want The problem you describe is i think the " at the beginning that makes it all possible, (else it was just a text value of the value attribute)johanOn 11/24/05, J

Re: [Wicket-user] Security hole?

2005-11-24 Thread Johan Compagner
put; by this one: return NO_INVALID_INPUT.equals(invalidInput) ? getModelValue() : Strings.escapeMarkup(invalidInput);   ( Please note that Component.getModelObjectAsString() (html) escapes the value of the model)   HTH,   -- Laurent  On 11/24/05, Johannes Fahrenkrug <[EMAIL PROTECTED]> wrote: Johan

Re: [Wicket-user] New Wicket-contrib-dojo release

2005-11-25 Thread Johan Compagner
yes it would be very nice to have some cool wicket-ajax examples live!johanOn 11/25/05, Juergen Donnerstag < [EMAIL PROTECTED]> wrote:Any example app we can put online on wicket-library? JuergenOn 11/25/05, Ruud Booltink <[EMAIL PROTECTED]> wrote:> Hi all,>> We're proud to anounce our first real co

Re: [Wicket-user] Getting input in a link, not in submit

2005-11-25 Thread Johan Compagner
.getTriggerJavaScript(; }  //setter/getters }What I do not know is how to implement a WebMarkupContainer like JSButton so that it does not need a tag in the page-templat.ChristianOn Mon, 21 Nov 2005 22:55:48 +0100, Johan Compagner <[EMAIL PROTECTED]>wrot

Re: [Wicket-user] Web Continuation Servers

2005-11-26 Thread Johan Compagner
ahh so a program on the webserver just runs in its own thread. (every session has its own thread)And the webserver threads are dispatchting to those threads and then getting response from them.That doesn't look to hard to do. (the burden on the webserver would improved greatly) If we build somethin

<    1   2   3   4   5   6   7   8   9   10   >