Re: [Wicket-user] Radio.getValue?

2007-03-27 Thread Nino Wael
Ok, let me try to explain another way. If you create a page where you use the radio component. The radios represent various kinds of datasets(OLAP cubes in this case but it does not really matter). On monday the 1. march you record with jmeter your test case(jmeter only records the http re

[Wicket-user] Problem with CSS in bookmarkable page unless accessed via absolute path

2007-03-27 Thread Chris Colman
I have a markup file containing: @import url("/css/site_75965.css"); The base tag lets me preview in the HTML editor - well at least it should - but to avoid the wicket exception detailed below I have to specify an absolute path

Re: [Wicket-user] Lifecycle issue with getVariation

2007-03-27 Thread Igor Vaynberg
there is a reason why some of the stuff is done where it is. now, im not sure there is a reason for the markup loading for bodcontainer, we might be able to do that lazily when getbodycontainer() is called. juergen are you reading with us? -igor On 3/27/07, Chris Colman <[EMAIL PROTECTED]> wro

Re: [Wicket-user] Lifecycle issue with getVariation

2007-03-27 Thread Chris Colman
I went ahead and implemented these changes in my copy of the wicket source code and now I can specify a variation at the Page level (never been able to do that before!) without causing a NPE. It works very nicely indeed. > what about pages that are constructed with the new operator? I mainly use

Re: [Wicket-user] Implement our own IComponentResolvers

2007-03-27 Thread Chris Colman
> I know the lifecycle document at > http://www.wicket-wiki.org.uk/wiki/index.php/Lifecycle > > warns against such rebellious undertakings but would it still be > possible to implement my own IComponentResolver and add components to a > page 'on demand'? > > > yes, any markup container can imple

Re: [Wicket-user] Lifecycle issue with getVariation

2007-03-27 Thread Igor Vaynberg
what about pages that are constructed with the new operator? the users then have to explicitly call commoninit() from their constructors? i think that is horrible. what we need to do is somehow delay the getvariation() until render time. -igor On 3/27/07, Chris Colman <[EMAIL PROTECTED]> wrote:

Re: [Wicket-user] Lifecycle issue with getVariation

2007-03-27 Thread Chris Colman
Just looking at the source code for WebPage it looks like a very minor change to achieve a more flexible lifecycle initialization phase. All the WebPage constructors call private void commonInit() As you will no doubt understand this is being called before construction/instantiation has

[Wicket-user] Lifecycle issue with getVariation

2007-03-27 Thread Chris Colman
I have a constructor that takes parameters and then uses the parameters to set up a variable that is used in getVariation(). There appears to be a lifecycle issue here because getVariation is being called from within a base class constructor - before my constructor's code below the super(parameter

Re: [Wicket-user] Variable Interpolation within the HTML

2007-03-27 Thread Andrew Berman
Can this only be built against version 1.3 of Wicket? I'm unable to build it against 1.2.5 I also checked out the code form https://svn.sourceforge.net/svnroot/wicket-stuff/branches/WICKET_1_2/wicket-contrib-velocity/and couldn't get it to build either. How do I get this to work? Thanks. On 3

Re: [Wicket-user] Implement our own IComponentResolvers

2007-03-27 Thread Igor Vaynberg
yes, any markup container can implement the interface. but be warned :) -igor On 3/27/07, Chris Colman <[EMAIL PROTECTED]> wrote: I think it would be awesome if we could implement our own IComponentResolvers. I could make a truly markup driven page class that loaded components specified in th

[Wicket-user] Implement our own IComponentResolvers

2007-03-27 Thread Chris Colman
I think it would be awesome if we could implement our own IComponentResolvers. I could make a truly markup driven page class that loaded components specified in the markup 'on demand' as they were parsed in the markup. I realize that I could probably use For this purpose but I think it's much

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-27 Thread GS-ikiini
I don't understand that last post can you re phrase please.. -B svenmeier wrote: > > Could it be that you slipped our CheckGroup/Check components? Cannot get > simpler than that. > > Sven > > GS-ikiini wrote: >> this part of the concept i understand...what i don't get is a little >> deepe

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-27 Thread Sven Meier
Could it be that you slipped our CheckGroup/Check components? Cannot get simpler than that. Sven GS-ikiini wrote: > this part of the concept i understand...what i don't get is a little > deeper...from your example i am accessing a property in input. however, I > don't have such a property in my

Re: [Wicket-user] howto display html "as is"?

2007-03-27 Thread Michael Hosier
Label archivesLabel = new Label("archives", "In the future please search the mailing list archives first.").setEscapeModelStrings (false); On Mar 27, 2007, at 11:31 AM, Ralf Eichinger wrote: > I'm developing a cms. > I want to output a html-string inside a wicket-page. > when I do like this:

Re: [Wicket-user] Flexible markup with same Java classes

2007-03-27 Thread Chris Colman
> Let's say I've created a Layout and corresponding Java classes for the > following page > > -- > | Header | > -- > | | | > | Menu | Content | > | | | > -- > | Footer | > -- > > Each section

Re: [Wicket-user] Flexible markup with same Java classes - autoAdd?

2007-03-27 Thread Chris Colman
I was just wondering if another possible solution to this might be to somehow use autoAdd - ie., only add the components to the page class when requested based on the components in the markup. I'm not sure if the autoAdd is intended for this purpose or if it's a completely different beast altogeth

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-27 Thread GS-ikiini
this part of the concept i understand...what i don't get is a little deeper...from your example i am accessing a property in input. however, I don't have such a property in my object. I some how have to figure out if that mode is selected. basically, i want to implement imodel as show in a example

Re: [Wicket-user] howto display html "as is"?

2007-03-27 Thread Marc-Andre Houle
lblArticleContent.setEscapeModelString(false); On 3/27/07, Ralf Eichinger <[EMAIL PROTECTED]> wrote: I'm developing a cms. I want to output a html-string inside a wicket-page. when I do like this: Label lblArticleContent = new Label("lblArticleContent", article.getHtmlContent()); add(lblArticl

Re: [Wicket-user] howto display html "as is"?

2007-03-27 Thread Matej Knopp
labelsetEscapeModelStrings(false); -Matej On 3/27/07, Ralf Eichinger <[EMAIL PROTECTED]> wrote: > I'm developing a cms. > I want to output a html-string inside a wicket-page. > when I do like this: > > Label lblArticleContent = new Label("lblArticleContent", > article.getHtmlContent()); > add(lb

Re: [Wicket-user] howto display html "as is"?

2007-03-27 Thread Igor Vaynberg
take a look at the kronos project in wicket-stuff. it is an unfinished cms system. -igor On 3/27/07, Ralf Eichinger <[EMAIL PROTECTED]> wrote: I'm developing a cms. I want to output a html-string inside a wicket-page. when I do like this: Label lblArticleContent = new Label("lblArticleConten

Re: [Wicket-user] howto display html "as is"?

2007-03-27 Thread Matej Knopp
label.setEscapeModelStrings(false)' On 3/27/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > labelsetEscapeModelStrings(false); > > -Matej > > > On 3/27/07, Ralf Eichinger <[EMAIL PROTECTED]> wrote: > > I'm developing a cms. > > I want to output a html-string inside a wicket-page. > > when I do like t

Re: [Wicket-user] howto display html "as is"?

2007-03-27 Thread Martijn Dashorst
label.setescapemodelstrings(false) On 3/27/07, Ralf Eichinger <[EMAIL PROTECTED]> wrote: > I'm developing a cms. > I want to output a html-string inside a wicket-page. > when I do like this: > > Label lblArticleContent = new Label("lblArticleContent", > article.getHtmlContent()); > add(lblArticleC

Re: [Wicket-user] howto display html "as is"?

2007-03-27 Thread Gwyn Evans
On 27/03/07, Ralf Eichinger <[EMAIL PROTECTED]> wrote: > I'm developing a cms. > I want to output a html-string inside a wicket-page. > when I do like this: > > Label lblArticleContent = new Label("lblArticleContent", > article.getHtmlContent()); lblArticleContent.setEscapeModelStrings(false);

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-27 Thread Eelco Hillenius
Wicket models are a way to locate values. Let's take a look at wicket.examples.compref.CheckBoxPage. That page has a nested static class called Input, with a property bool: private static class Input implements Serializable { public Boolean bool = Boolean.TRUE;

[Wicket-user] howto display html "as is"?

2007-03-27 Thread Ralf Eichinger
I'm developing a cms. I want to output a html-string inside a wicket-page. when I do like this: Label lblArticleContent = new Label("lblArticleContent", article.getHtmlContent()); add(lblArticleContent); I get my html encoded like this:

Willkommen auf der Startseite!

Hier kommt Ihr Tex


Re: [Wicket-user] getting form field value from AutoCompleteTextField

2007-03-27 Thread Jaime De La Jara
I'm not sure if I fully understand it, but maybe if the first textfield sent its value and a serverside reference hold it until the autocomplete field received the input and used this value?. Jaime. Igor Vaynberg <[EMAIL PROTECTED]> wrote: hmmm it doesnt work because the url is cached by the a

Re: [Wicket-user] Reverting the constructor change of 2.0

2007-03-27 Thread Anders Peterson
Sounds very good! Generally I try to stay away from beta versions, but in the case of Wicket 1.4/2.0 I think I'll make an exception. /Anders Eelco Hillenius wrote: > Hi, > > It ended in us agreeing we should get rid of the constructor change. > > We currently working on backporting all the 2.

Re: [Wicket-user] getting form field value from AutoCompleteTextField

2007-03-27 Thread Igor Vaynberg
hmmm it doesnt work because the url is cached by the autocomplete script. we need to think of another way. -igor On 3/27/07, Jaime De La Jara <[EMAIL PROTECTED]> wrote: Ok, I understand, now I'm including a striped down code version of the problem. It contains an ant build file whose directo

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-27 Thread GS-ikiini
ok so i'm trying to implement my own model but i have little idea what i am suppose to be trying to do here. can someone please give a brief overview as to what the getObject, and setObject expects and does please. I am really lost and need some help with this. also how does the model intereact wi

Re: [Wicket-user] IBM to adopt Wicket as standard web framework

2007-03-27 Thread Eelco Hillenius
> Can this be counted as an accomplishment? /Anders I don't know. Sounded kind of sarcastic didn't it? :) Eelco - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the ch

Re: [Wicket-user] Reverting the constructor change of 2.0

2007-03-27 Thread Eelco Hillenius
Hi, It ended in us agreeing we should get rid of the constructor change. We currently working on backporting all the 2.0 features to 1.3, except for the constructor change and the JDK 5 features. You can track the progress of that here: http://cwiki.apache.org/confluence/display/WICKET/Backportin

Re: [Wicket-user] Reverting the constructor change of 2.0

2007-03-27 Thread Anders Peterson
How did this end - what's the plan? /Anders Eelco Hillenius wrote: > I didn't mean that bad. I would just prefer someone else to do the next vote. > > Eelco > > > On 3/14/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: >> i guess sacrasm and frustration dont transfer well over email :| >> >> -igor

Re: [Wicket-user] Radio.getValue?

2007-03-27 Thread Eelco Hillenius
I'm afraid I don't really understand your problem Nino. Eelco On 3/26/07, Nino Wael <[EMAIL PROTECTED]> wrote: > Hi > > We are doing some extensive Jmeter testing, and have run into a technical > problem regarding radios, which are the following: > > If you had 5 radios on a page at a given time

Re: [Wicket-user] IBM to adopt Wicket as standard web framework

2007-03-27 Thread Anders Peterson
What does it take to become the victim of a joke like this? Can this be counted as an accomplishment? /Anders Korbinian Bachl wrote: > seems as they (the jokers) have no longer the patience to wait for april 1st > :P > >> -Ursprüngliche Nachricht- >> Von: [EMAIL PROTECTED] >> [mailto:[

[Wicket-user] 您好<优×惠代×开>

2007-03-27 Thread 谢东
深圳市维多利亚实业发展有限公司 您好!本公司是一家常年主要以生产和销售为一体的定额纳税企业;公司本着“诚信为本,互惠互利” 现我公司有余额的进项发o票向外优惠代o开。 提供代开项目: 商品销售发i票/国际运输业发i票/建筑安装业发i票/广告业发o票/其它服务业发o票等各行业票o据。 如有需要欢迎来电洽谈咨询。请保留此信息以备后用。 联系人:谢东 手机:13544228444 - Ta

Re: [Wicket-user] HTML problem with Opera

2007-03-27 Thread Marc-Andre Houle
Found the problem Opera don't like coordinates that look like 80.0 and must be only 80. Thanks to anybody who could have look and think about this issue! :) Marc On 3/26/07, Marc-Andre Houle <[EMAIL PROTECTED]> wrote: Ok, It is not wicket related but since I don't know where to ask this a

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-27 Thread GS-ikiini
okI though that was a lower case bmy bad on the not so smart question... -B Eelco Hillenius wrote: > > java.lang.Boolean? > > Eelco > > On 3/26/07, GS-ikiini <[EMAIL PROTECTED]> wrote: >> >> one more thing...i see wehn you implement the IModel class in the thread, >> you >> use a dat

Re: [Wicket-user] Radio.getValue?

2007-03-27 Thread Nino Wael
hmm, the same thing applies to checkbox component. -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] på vegne af Nino Wael Sendt: ti 27-03-2007 12:15 Til: wicket-user@lists.sourceforge.net Emne: SV: Radio.getValue? Hmm I can see that radio are pretty simple on this, no constructors with

Re: [Wicket-user] Japanese does not work inAutocomplete (Firefox/Windows)

2007-03-27 Thread Nino Wael
Any localized javascript operators in the autocomplete thingy(eg boolean=falsch instead of boolean=0 )? As I remember it only were a problem on IE 5.5. But thats something you could check. regards. -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] på vegne af David Leangen Sendt: ti 27-0

Re: [Wicket-user] Radio.getValue?

2007-03-27 Thread Nino Wael
Hmm I can see that radio are pretty simple on this, no constructors with ichoicerenderer. I guess the only way it can work are if some one creates a patch. I'll findout how bad we want this not to be a problem, if we want it bad. I'll create a fix for it. If I create a fix, could it be patche