Re: [Wicket-user] Question on reusability

2006-11-02 Thread Igor Vaynberg
i create editor classes for editing compound beans. editor classes are just panels with field components added to them. that way i can drop the panel into any form and have it work.-igor On 11/2/06, sunraider <[EMAIL PROTECTED]> wrote: Hi All,I have a usecase but I dont know which would be the best

[Wicket-user] Question on reusability

2006-11-02 Thread sunraider
Hi All, I have a usecase but I dont know which would be the best approach to achieve it. It goes like this: 1. I have Address which is common in most of the pages. 2. I want to use the Address in Company 3. I want to use the Company with Address in MyCompany. I am not sure how to achieve it. Ca

Re: [Wicket-user] getVariation()

2006-11-02 Thread Igor Vaynberg
On 11/2/06, Otan <[EMAIL PROTECTED]> wrote: there is no getParameter("string") method in wicket.request.RequestParametersyou know, you could spend a little bit of the time and explore the api. there is no getParameter(String), but there is a Map getParameters() By the way, since I cannot rely on ge

[Wicket-user] Strategy to avoid new instances of pages and panels

2006-11-02 Thread bednarz-hannover
Hi all! I am looking for a pattern, strategy or code example how to avoid creation of new page Instances when a user reloads a page. Can someone give my a hint how to achieve following behaviour: - "static" pages which have only a single instance during whole application lifecycle ? - some kin

Re: [Wicket-user] Ajax autocompletion troubles

2006-11-02 Thread Erik van Oosten
I just did an update and I see that relevant files have been changed. I'll try immediately. Thanks, Erik. Erik van Oosten schreef: > I used the 1.x branch from svn at October 1, around 14:00 CET. > Do you want me to check today's svn? > > Erik. > > Matej Knopp schreef: > >> Is that

Re: [Wicket-user] Bug in Wicketbench?

2006-11-02 Thread Joni Freeman
On Fri, 2006-11-03 at 08:20 +0100, Rik van der Kleij wrote: > > Hi, > > > The issue is that remote debugging with Jetty and Maven from Eclipse > doesn't work right any more if the default editor is Wicket Editor. > While debugging the line of code that is executed by a thread is not > shown in t

Re: [Wicket-user] Ajax autocompletion troubles

2006-11-02 Thread Erik van Oosten
I used the 1.x branch from svn at October 1, around 14:00 CET. Do you want me to check today's svn? Erik. Matej Knopp schreef: > Is that problem still present? Could you please check current svn too? > > -Matej > > -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/

[Wicket-user] Bug in Wicketbench?

2006-11-02 Thread Rik van der Kleij
Hi,The issue is that remote debugging with Jetty and Maven from Eclipse doesn't work right any more if the default editor is Wicket Editor.  While debugging the line of code that is executed by a thread is not shown in the editor window anymore. Only the linenumber of the thread is mentioned in the

Re: [Wicket-user] getVariation()

2006-11-02 Thread Otan
there is no getParameter("string") method in wicket.request.RequestParametersBy the way, since I cannot rely on getVariation() to return the result of the per request condition (because I'm now forced to use some data persisted in session to make it work), I realized that I should use Session.setS

[Wicket-user] A wicket book in chinese is available free

2006-11-02 Thread wl_95421
I Just finished a book about wicket. But it's a pity that it is written in chinese. Maybe most of the users in the mail list can't read. But i still hope it can help the wicket users in china.   You can read this book on the following url.   http://gocom.primeton.com/ The pdf version is also availa

Re: [Wicket-user] getVariation()

2006-11-02 Thread Igor Vaynberg
getRequest().getRequestParameters().getParameter("style") -igorOn 11/2/06, Otan <[EMAIL PROTECTED] > wrote:Thanks Eelco, this workaround works... but onBeginRequest() {getRequest().getParameter("style"); }doesn't work if the page is mounted.  Unfortunately, every page of my webapp is mounted so th

Re: [Wicket-user] Wicket performance in high availability applications?

2006-11-02 Thread Carfield Yim
I personally think this is nice to show the life-cycle from the container start to generate a page at some where in wiki. Sound like this is a complex process that many user of wicket like to learn more and understand more about the performance impact to their application? On 11/3/06, Eelco Hillen

Re: [Wicket-user] getVariation()

2006-11-02 Thread Otan
Thanks Eelco, this workaround works... but onBeginRequest() {getRequest().getParameter("style"); }doesn't work if the page is mounted.  Unfortunately, every page of my webapp is mounted so that I can take advantage of the nice urls. Is there any more workaround to make getVariation() return a value

Re: [Wicket-user] Forms

2006-11-02 Thread Igor Vaynberg
with dataview its slightly more workyou have to call dataview.setItemReuseStrategy(ReuseIfModelsEqualStrategy.instance())and override equals/hashcode of the model that the dataprovider returns so the strategy will work correctly -igorOn 11/2/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: DataView d

Re: [Wicket-user] Forms

2006-11-02 Thread Eelco Hillenius
DataView does work in a Form, and so ListView (if you call setReuseItems(false)). Eelco On 11/2/06, Michael Welter <[EMAIL PROTECTED]> wrote: > I am receiving key/value objects in a List provided by my > AttributeDataProvider. can vary from one Form to the next. > > Without having to allocate

Re: [Wicket-user] Wicket performance in high availability applications?

2006-11-02 Thread Eelco Hillenius
> I have a few questions: > > 1) Does anyone know of Wicket being used on a high traffic website? I know of people building them, but the ones I know are not yet in full production. But maybe someone else on this list knows. > 2) What are some of the challenges related to scaling a Wicket > appli

Re: [Wicket-user] Forms

2006-11-02 Thread Nick Heudecker
You can just encapsulate your key/value stuff in a Panel, then add number of Panels to the form, depending on what the user requires. On 11/2/06, Michael Welter <[EMAIL PROTECTED]> wrote: I am receiving key/value objects in a List provided by myAttributeDataProvider.   can vary from one Form to

Re: [Wicket-user] AjaxTimerBehavior on Components added to AjaxRequestTarget

2006-11-02 Thread Igor Vaynberg
thanks!-igorOn 11/2/06, James McLaughlin <[EMAIL PROTECTED]> wrote: sweet. works great on my side. I'll write up a couple of tests and submit a patch.thanks,jimOn 11/2/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:i think it would basically be thismove what is currently in onRenderHeadContribution(

[Wicket-user] Forms

2006-11-02 Thread Michael Welter
I am receiving key/value objects in a List provided by my AttributeDataProvider. can vary from one Form to the next. Without having to allocate a for every possible key, I would like to put the key/value pairs up on a form in order for the user to be able to modify zero or more values. Is

[Wicket-user] Wicket performance in high availability applications?

2006-11-02 Thread Ryan
Hi Everybody, I am currently evaluating several view frameworks for a large enterprise application that is yet to be built. One of the primary concerns of this application is response time. I have heard success stories about Tapestry being deployed successfully in a similar environment but have no

Re: [Wicket-user] AjaxTimerBehavior on Components added to AjaxRequestTarget

2006-11-02 Thread James McLaughlin
sweet. works great on my side. I'll write up a couple of tests and submit a patch.thanks,jimOn 11/2/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:i think it would basically be thismove what is currently in onRenderHeadContribution() to rendered() instead of attaching the script to the onloadmodifier

Re: [Wicket-user] AjaxTimerBehavior on Components added to AjaxRequestTarget

2006-11-02 Thread Igor Vaynberg
i think it would basically be thismove what is currently in onRenderHeadContribution() to rendered()instead of attaching the script to the onloadmodifier output it straight into the response between

Re: [Wicket-user] AjaxTimerBehavior on Components added to AjaxRequestTarget

2006-11-02 Thread James McLaughlin
Would it work like this:* in onRendered, check if the RequestTarget is an AjaxRequestTarget, and appendJavascript* remove appendJavascript from respondthanks,jimOn 11/2/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: best thing would be to make timer behaviors initialize the timeout by inlining the s

Re: [Wicket-user] Ajax autocompletion troubles

2006-11-02 Thread Caleb Land
On 11/2/06, Matej Knopp <[EMAIL PROTECTED]> wrote: Is that problem still present? Could you please check current svn too?It appears to work on my end with Wicket 2.  Thanks! -MatejCaleb Land wrote:> This looks exactly like the problem I was having (the cause of which is,> I believe WICKET-7).>> Che

Re: [Wicket-user] AjaxTimerBehavior on Components added to AjaxRequestTarget

2006-11-02 Thread Igor Vaynberg
best thing would be to make timer behaviors initialize the timeout by inlining the script after the component reather then in a boay onload attr.create an issue in jira, and a patch is welcome of course, look at ibehavior.rendered ()-igorOn 11/2/06, James McLaughlin <[EMAIL PROTECTED]> wrote: What'

[Wicket-user] AjaxTimerBehavior on Components added to AjaxRequestTarget

2006-11-02 Thread James McLaughlin
What's the best way to make this work? AbstractAjaxTimerBehavior sets itself up at first with a body onload modifier. Unfortunately, the component(s) I want to auto update are added via ajax. I see in respond(AjaxRequestTarget)  that the getJsTimeoutCall is appended to the target, but getJsTimeoutC

Re: [Wicket-user] Ajax autocompletion troubles

2006-11-02 Thread Matej Knopp
Is that problem still present? Could you please check current svn too? -Matej Caleb Land wrote: > This looks exactly like the problem I was having (the cause of which is, > I believe WICKET-7). > > Check out this thread: > http://www.nabble.com/Wicket-2.0%3A-Adding-a-component-via-ajax-that-co

Re: [Wicket-user] Ajax autocompletion troubles

2006-11-02 Thread Matej Knopp
oh, and don't forget to evict the javascript from browser cache ;-) Matej Knopp wrote: > Thanks for the testcase. Can you please check if the current svn (1.x) > solves your problem? (It solved the testcase). > > -Matej > > Erik van Oosten wrote: >> Hi Matej, >> >> You can download a quickstart

Re: [Wicket-user] Ajax autocompletion troubles

2006-11-02 Thread Matej Knopp
Thanks for the testcase. Can you please check if the current svn (1.x) solves your problem? (It solved the testcase). -Matej Erik van Oosten wrote: > Hi Matej, > > You can download a quickstart here: > https://omelet.zapto.org/ajaxtrouble.zip (3Mb). > > Regards, > Erik. > > > Matej Knop

Re: [Wicket-user] Set Main Component for Inherited Classes?

2006-11-02 Thread Igor Vaynberg
WebMarkupContainer body = new WebMarkupContainer(...) {       boolean isTransparentResolver() { return true; }}-igorOn 11/2/06, Jonathan Sharp <[EMAIL PROTECTED]> wrote:If I have a BasePage class that has a Component that wraps the page and the tag, is there a method I can implement that will bi

[Wicket-user] Set Main Component for Inherited Classes?

2006-11-02 Thread Jonathan Sharp
If I have a BasePage class that has a Component that wraps the page and the tag, is there a method I can implement that will bind any inherited pages to this object instead of the page object? Below demonstrates my problem in the extended pages. BasePage {    ...    WebMarkupContainer body = new .

Re: [Wicket-user] more on chaches, detachment

2006-11-02 Thread Igor Vaynberg
if its a model specific to the phonebook who cares?-igorOn 11/2/06, Johan Compagner <[EMAIL PROTECTED] > wrote:i don't like this to much.if you don't want detaching then use another model.. (and not a DetachableModel that doesn't detach) johanOn 11/2/06, Geoff hendrey <[EMAIL PROTECTED]> wrote

Re: [Wicket-user] Ajax autocompletion troubles

2006-11-02 Thread Caleb Land
This looks exactly like the problem I was having (the cause of which is, I believe WICKET-7).Check out this thread: http://www.nabble.com/Wicket-2.0%3A-Adding-a-component-via-ajax-that-contributes-_javascript_-%28like-AutoCompleteTextField%29-doesn%27t-work-correctly-in-Firefox-tf2445250.html#a682

Re: [Wicket-user] more on chaches, detachment

2006-11-02 Thread Johan Compagner
i don't like this to much.if you don't want detaching then use another model.. (and not a DetachableModel that doesn't detach)johanOn 11/2/06, Geoff hendrey <[EMAIL PROTECTED]> wrote: I think we can all make strong cases for situations in which detaching the ID makes sense, and depending on th

Re: [Wicket-user] more on chaches, detachment

2006-11-02 Thread Igor Vaynberg
feel free to refactor, but i would do that in a different branch. the purpose of the phonebook is to demonstrate wicket+spring+database integration with as little overhead as possible.-igor On 11/2/06, Geoff hendrey <[EMAIL PROTECTED]> wrote: I think we can all make strong cases for situations in w

[Wicket-user] more on chaches, detachment

2006-11-02 Thread Geoff hendrey
I think we can all make strong cases for situations in which detaching the ID makes sense, and depending on the needs of the app, also situations where just serializing the POJO makes sense. Shades will work with either case. What I would like, is the freedom to offer the deployer of the Phonebo

Re: [Wicket-user] Tabbed Panel

2006-11-02 Thread Igor Vaynberg
semantics semantics :)-igorOn 11/2/06, Erik van Oosten <[EMAIL PROTECTED]> wrote: Yep, that is correct.Luckily that is all in place so you could say that TabbedPanel is Sliding-Doors-ready.I only reacted to the phrase 'TabbedPanel uses sliding doors' which isIMHO not correct. Erik.Igor Vaynberg

Re: [Wicket-user] Tabbed Panel

2006-11-02 Thread Erik van Oosten
Yep, that is correct. Luckily that is all in place so you could say that TabbedPanel is Sliding-Doors-ready. I only reacted to the phrase 'TabbedPanel uses sliding doors' which is IMHO not correct. Erik. Igor Vaynberg schreef: > On 11/2/06, *Erik van Oosten* <[EMAIL PROTECTED] >

Re: [Wicket-user] Tabbed Panel

2006-11-02 Thread Igor Vaynberg
On 11/2/06, Erik van Oosten <[EMAIL PROTECTED]> wrote: > doesnt tabbedpanel already use that?You answered yourself here: it is all css :)If you want to use sliding doors, it is your own responsibility toprovide the right css.not entirely, sliding doors does require an ul list and certain divs as fa

Re: [Wicket-user] Tabbed Panel

2006-11-02 Thread Erik van Oosten
Igor Vaynberg wrote: > On 11/2/06, *Michael Welter* <[EMAIL PROTECTED] > > wrote: > > > > it is all css, so you might have to tweak that to the desired effect. > > On another note, is the "sliding doors" method of displaying tabs > going > to be implemented i

Re: [Wicket-user] Attribute of the http request

2006-11-02 Thread Marc-Andre Houle
thanks!On 11/2/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: no, getattribute on session retrieves session attributes not request attributes, i guess you are stuck doing it how you are doing now-igor On 11/2/06, Marc-Andre Houle <[EMAIL PROTECTED]> wrote: I all, I got a pretty simple question.  I

Re: [Wicket-user] Attribute of the http request

2006-11-02 Thread Igor Vaynberg
no, getattribute on session retrieves session attributes not request attributes, i guess you are stuck doing it how you are doing now-igorOn 11/2/06, Marc-Andre Houle <[EMAIL PROTECTED]> wrote: I all, I got a pretty simple question.  I got an attribute in the HttpServletRequest that is accessed th

[Wicket-user] Attribute of the http request

2006-11-02 Thread Marc-Andre Houle
I all, I got a pretty simple question.  I got an attribute in the HttpServletRequest that is accessed this way : RequestCycle rc  = getPage().getRequestCycle ();WebRequest req = (WebRequest)rc.getRequest (); Object o   = req.getHttpServletRequest ().getAttribute ("attribute");The documentation of w

Re: [Wicket-user] Tabbed Panel

2006-11-02 Thread Igor Vaynberg
On 11/2/06, Michael Welter <[EMAIL PROTECTED]> wrote: I have a tabbed panel that extends to two lines, the "upper" row of tabsand the "lower" row.When a tab from the upper row is selected, all the tabs in the lower rowshift to the right of the selected tab in the upper row. Is this the desired beha

[Wicket-user] Tabbed Panel

2006-11-02 Thread Michael Welter
I have a tabbed panel that extends to two lines, the "upper" row of tabs and the "lower" row. When a tab from the upper row is selected, all the tabs in the lower row shift to the right of the selected tab in the upper row. Is this the desired behavior? Shouldn't the tabs just stay in place w

Re: [Wicket-user] getVariation()

2006-11-02 Thread Eelco Hillenius
Yuck. As a dirty workaround you could create a custom request cycle that overrides onBeginRequest() { style = getRequest().getParameter("style"); } and then: getVariation() { return MyRequestCycle.get().getStyle(); } Haven't tested it, but that should work. Eelco On 11/2/06, Johan Compag

Re: [Wicket-user] Question about i18n

2006-11-02 Thread Igor Vaynberg
you need to create your own tagsee WicketMessageResolver-igorOn 11/2/06, Carfield Yim <[EMAIL PROTECTED] > wrote:A new question about tag, can I specific some standard postprocessing?I like to do that because the message may or may be use in _javascript_.In some language there may be contain singl

Re: [Wicket-user] popups

2006-11-02 Thread Igor Vaynberg
yeah, if you take a look at PopupCloseLink it does exactly that, and remove the page from the pagemap for you. so you might want to subclass that instead.-igorOn 11/2/06, Alex Parvulescu <[EMAIL PROTECTED]> wrote: Thaks a lot,Igor!it works very nice ;)one thing: the way it works for metarget.addJa

Re: [Wicket-user] session timeout listener,part 2

2006-11-02 Thread Eelco Hillenius
Yeah, that's a good one. Only works with stores that at least put the session object in the httpsession, but that's the default anyway. Eelco On 11/2/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > what you also can do is make your own wicket session object and implement: > HttpSessionBindingLi

Re: [Wicket-user] Programmatically/Dynamically change html

2006-11-02 Thread Eelco Hillenius
The ultimate breakout is custom markup reloading, of which we have an example in wicket-examples/wicket.examples.customresourceloading. Use is only recommended in 2.0, though you should consider just sticking with panels as that is how Wicket was set up. Eelco On 11/2/06, Juergen Donnerstag <[EM

Re: [Wicket-user] Customizing Paging Navigation

2006-11-02 Thread Scott Sauyet
>> Is there a simple example around of how PagingNavigation can be >> customized? > Could you be more specific as to what you want to customize? The PagingNavigation Javadocs say that I can give my own navigation markup and code by overwriting poplulateItem(ListItem). It seems that my own m

Re: [Wicket-user] Programmatically/Dynamically change html

2006-11-02 Thread Juergen Donnerstag
The question is how flexible you want to be. If the Components such as Label, Link etc stay the same and only the html markup changes, than you might use Component.setVariation(). It is similar to Locale and Style but it is a per component setting. The markup file name than become _.html. Juergen

Re: [Wicket-user] Customizing Paging Navigation

2006-11-02 Thread Martijn Dashorst
Could you be more specific as to what you want to customize? Martijn On 11/1/06, Scott Sauyet <[EMAIL PROTECTED]> wrote: > Is there a simple example around of how PagingNavigation can be customized? > > I can't figure out what I'm doing wrong. I *think* I'm following the > example in the Javadoc

Re: [Wicket-user] session timeout listener,part 2

2006-11-02 Thread Johan Compagner
what you also can do is make your own wicket session object and implement:HttpSessionBindingListenerthen you will get public void valueUnbound(HttpSessionBindingEvent event); callon your instance of your session. Then you can get the username of the wicket session. and then deregister that when App

Re: [Wicket-user] Programmatically/Dynamically change html

2006-11-02 Thread Shams Mahmood
Thanx I check it out and post here if I get any ideas. Shams -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik van Oosten Sent: Thursday, November 02, 2006 4:43 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Programmatically/Dynam

Re: [Wicket-user] Programmatically/Dynamically change html

2006-11-02 Thread Erik van Oosten
Hmm. I remember that more people asked for generated templates. Don't remember an answer though. Perhaps you can investigate the class WebMarkupContainerWithAssociatedMarkup or its super classes to see how Wicket loads the templates. Good luck, Erik. Shams Mahmood schreef: > I actually

Re: [Wicket-user] Programmatically/Dynamically change html

2006-11-02 Thread Shams Mahmood
I actually wanted to change the html source dynamically Rather than writing different panel which would limit all my variations :) Shams -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik van Oosten Sent: Thursday, November 02, 2006 4:24 PM To: wicket

Re: [Wicket-user] Programmatically/Dynamically change html

2006-11-02 Thread Erik van Oosten
Ah, I see. I think you'll have to create a panel (or a fragment) for each variation and then add the appropriate panel (fragment). Does that make sense? Erik. Shams Mahmood schreef: > Well I guess the main challenge lies here : > > >> [Wicket Contents] >> Click

Re: [Wicket-user] getVariation()

2006-11-02 Thread Johan Compagner
This is because the commomInit() method that is called in the constructor of WebPagealready also gets the markup to test for the body tag .But the strange thing is that this markup is not kept on to. So when rendered it should ask it again and then the variation is encountered. I dont know why that

Re: [Wicket-user] Programmatically/Dynamically change html

2006-11-02 Thread Shams Mahmood
Well I guess the main challenge lies here : > [Wicket Contents] > Click here > > I want to change this to: > > Click here > [Wicket Contents] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik van Oo

Re: [Wicket-user] Programmatically/Dynamically change html

2006-11-02 Thread Erik van Oosten
Oops, too quick. Red Label l = new Label("colorcomp", "Blue") add(l); l.add(new SimpleAttribyteModifier("color", "blue")); Erik. Shams Mahmood schreef: > Say I have something like this : > > Red > [Wicket Contents] > Click here > > I w

Re: [Wicket-user] Programmatically/Dynamically change html

2006-11-02 Thread Erik van Oosten
Red Shams Mahmood schreef: > Say I have something like this : > > Red > [Wicket Contents] > Click here > > I want to chane this to: > > Blue > Click here > [Wicket Contents] > > > Dynamically. > > Anyon

Re: [Wicket-user] Ajax autocompletion troubles

2006-11-02 Thread Erik van Oosten
Hi Matej, You can download a quickstart here: https://omelet.zapto.org/ajaxtrouble.zip (3Mb). Regards, Erik. Matej Knopp schreef: > Can you please provide a test case? > > Thanks. > -Matej > > Erik van Oosten wrote: > >> Hi, >> >> The release notes of 1.2.3 state that the Ajax header co

[Wicket-user] Programmatically/Dynamically change html

2006-11-02 Thread Shams Mahmood
Say I have something like this : Red [Wicket Contents] Click here I want to chane this to: Blue Click here [Wicket Contents] Dynamically. Anyone have idea how this can be done programmatically. I guess it has som

Re: [Wicket-user] session timeout listener,part 2

2006-11-02 Thread Alex Parvulescu
Hello,I decided to take Eelco's advice,and i added the Map.It works fine now,my only concern is with the number of users increasing the size of this Map.But I think its a small price to payfor this feature. One thing though: I made a minor change to this idea: i actually added the session in the ma

Re: [Wicket-user] little changes in markup - only via componentinheritance?

2006-11-02 Thread Shams Mahmood
I haven't used AjaxDefaultDataTable though I have used other Similar components. Why not use css ids and attribute modifiers to set the ids of the columns or rows you want. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Klochkov Sent: Thursd

Re: [Wicket-user] Question about i18n

2006-11-02 Thread Carfield Yim
A new question about tag, can I specific some standard postprocessing? I like to do that because the message may or may be use in Javascript. In some language there may be contain single quote that the original message don't have, which, break the javascript string. In order to prevent this I wo

Re: [Wicket-user] popups

2006-11-02 Thread Alex Parvulescu
Thaks a lot,Igor!it works very nice ;)one thing: the way it works for metarget.addJavascript("window.opener.location='"                            + urlFor(opener.getPageMap(), MyPage.class , null)                            + "'");and I came upon a funny thing:it's not enough to just close the pop

Re: [Wicket-user] getVariation()

2006-11-02 Thread Otan
How about this one?public class MyPage extends WebPage {String variant;public MyPage(PageParameters p) {variant = p.getString("var");System.out.println("constructor called. The variant is now " + variant);}public String getVariation() { System.out.println("getVariation(

Re: [Wicket-user] Problem of using border

2006-11-02 Thread Carfield Yim
thanks and in fact I just get confuse with the hierarchy of how should I initalized the component. At first I try to add that component at webpage level so it fail.Now it just solve after I press that component to the border component and add it at the border level then it work fine. On 11/1/06, K

[Wicket-user] little changes in markup - only via component inheritance?

2006-11-02 Thread Andrew Klochkov
Greetings! I't a beginner's question I think, but I didn't find any answers on the site. So I use AjaxFallbackDefaultDataTable component from wicket-extensions, it's a cool thing but I want to make little changes in markup - for example to make values of some columns centered while others right

Re: [Wicket-user] Ajax autocompletion troubles

2006-11-02 Thread Matej Knopp
Can you please provide a test case? Thanks. -Matej Erik van Oosten wrote: > Hi, > > The release notes of 1.2.3 state that the Ajax header contributions > should be gone. Since the 1.2.3 release is still not in Ibiblio I just > upgraded (1 Oct, 11:00 CET) my copy of the 1.x branch. I triple che