Re: [Wicket-user] Can templates have an extension other than .html?

2007-02-28 Thread Carfield Yim
Should be just override WebPage. getMarkupType() http://wicket.sourceforge.net/apidocs/wicket/markup/html/WebPage.html#getMarkupType() On 3/1/07, Matt Welch <[EMAIL PROTECTED]> wrote: > I'd like my template files to have an extension other than .html. Is that > possible? > > > > -

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

2007-02-21 Thread Carfield Yim
h, > jim > > > On 2/20/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > > > > Could you give me an example to show how it work? > > > > On 2/21/07, James McLaughlin <[EMAIL PROTECTED]> wrote: > > > Probably the thing that makes it difficult to u

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

2007-02-20 Thread Carfield Yim
also submit the full path and file name to the > XsltTransformerBehavior's constructor. > > Other than that, it couldn't be easier to use. Just add(new > XsltTransformerBehavior()) > > On 2/20/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > > Not really related to the original question,

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

2007-02-20 Thread Carfield Yim
Not really related to the original question, I try to use it before but fail as I cannot find any example show how to work with this, could you point some resource to me to take a look? On 2/21/07, James McLaughlin <[EMAIL PROTECTED]> wrote: > There is also XsltTransformerBehavior (in wicket.marku

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

2007-02-17 Thread Carfield Yim
> 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 just my personal suggestion if this is not possible

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

2007-02-15 Thread Carfield Yim
On 2/16/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > you shouldnt be calling setresponsepage inside constructors > > try RestartResponseException > > -igor > Other than setresponsepage(), there are also methods like getMarkupId() , which are not work properly in constructor. May be we can add fl

Re: [Wicket-user] Simple CSS Link

2007-02-13 Thread Carfield Yim
I just put CSS and JS under classpath and use HeaderContributor.forCss(clazz, path); and HeaderContributor.forJavaScrpt(clazz, path); The benefit for me is not only simple and work, but that also allow me to pack everything into a jar and build up some libraries to share among difference projects.

Re: [Wicket-user] low wicket performance - intensive file system usage

2007-02-13 Thread Carfield Yim
On 2/13/07, Andrew Klochkov <[EMAIL PROTECTED]> wrote: > I think I found the cause of our performance problems - we map wicket > servlet to /*. If I change it to "/app", things become much much faster. Interesting... > The problem is that our customer doesn't want to have redirect on the > main p

Re: [Wicket-user] Issue of using HeaderContributor.forCss [was Re: Problem of clicking a wicket link]

2007-02-13 Thread Carfield Yim
oint to create a testcase to reproduce the bug really, for me I just leave the testcase as a document for future reference. Hope the information help wicket team somehow On 2/7/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > How about using WicketTester#assertContains ? > > Eel

Re: [Wicket-user] Issue of using HeaderContributor.forCss [was Re: Problem of clicking a wicket link]

2007-02-13 Thread Carfield Yim
Sorry for latest reply but it is fixed On 2/7/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Could you confirm whether it is fixed in the new version please? > > Eelco > > > On 2/6/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > > Don't know why I just ge

Re: [Wicket-user] Question about using RedirectPage in a modalwindow

2007-02-10 Thread Carfield Yim
On 2/10/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > i remember there was a discussion about this...embedding wicket pages in > iframes. and i believe the deal was that IE doesnt pass the cookies to the > iframe so it cannot find the session on a submit. you have to enable url > rewriting i guess

Re: [Wicket-user] Question about using RedirectPage in a modalwindow

2007-02-10 Thread Carfield Yim
On 2/10/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > Hi. > > The major problem is (amongst other problems) that you have page from > another host in modal window. Generally, this is going to cause some > trouble, because it's cross site scripting. The browsers are trying to > prevent that. > I have

Re: [Wicket-user] writing unit tests

2007-02-09 Thread Carfield Yim
WicketTester is good for me for most case... may be you can share the complications you have? On 1/31/07, Nino Wael <[EMAIL PROTECTED]> wrote: > > > > > Hi > > > > I've been wondering about best practices for writing unit tests with wicket? > > > > Looking around the source of wicket, I can see th

Re: [Wicket-user] Question about using RedirectPage in a modalwindow

2007-02-09 Thread Carfield Yim
Still have problem with this issue... I 've to include the page in a iframe but still not working. On 1/26/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > On 1/26/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > Is that a wicket form? Is it a completely different application

Re: [Wicket-user] How can I add some javascript to make sure the main page will occupy whole browser?

2007-02-09 Thread Carfield Yim
Thanks! On 2/9/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote: > * Carfield Yim: > > > How can I add that javascript to onload event of that main page? > > Use getBodyContainer().addOnLoadModifier() > -- > Jean-Baptiste Quenot > aka John Banana

Re: [Wicket-user] how to unescape markup of the feedbackpanel's model

2007-02-08 Thread Carfield Yim
On 2/9/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > see feedbackmessage.setescapemessages() > > not sure why that is different from setescapemodelstrings... any other devs > think it should be the same? probably more intuitive that way > I personally feel the intuitive way is not the escape by de

Re: [Wicket-user] When will RequestCycle.detach() being called?

2007-02-08 Thread Carfield Yim
> getWicketSession().touch(last); > } > return last; > } > > but it can be that it is purely 1.3 > > johan > > > On 1/5/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > > > > On 12/28/06, Carfield Yim <[EMAIL PROTECT

Re: [Wicket-user] How can I have difference HomePage for difference role?

2007-02-08 Thread Carfield Yim
On 2/9/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > a couple of ways > > like you said have a dummy homepage, but use restartresponse exception to > redirect to another page > Haven't try this one, thanks. > or override gethomepageclass in application and return a different one based > on the lo

[Wicket-user] How can I have difference HomePage for difference role?

2007-02-08 Thread Carfield Yim
I would like to direct difference user to difference homepage, one way I can think of is having a dummy homepage and use redirectToInterceptPage(arg0) to suitable page in the constructor of that dummy homepage. However wicket fail, can anyone recommend a better solution? -

Re: [Wicket-user] Can I tell DataTable not to escape HTML?

2007-02-07 Thread Carfield Yim
Oh, just get it , I can use Component.setEscapeModelStrings() for this issue On 2/7/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > I try to put a at record but it really show that "" to the > screen. Can I tell DataTa

[Wicket-user] Can I tell DataTable not to escape HTML?

2007-02-07 Thread Carfield Yim
I try to put a at record but it really show that "" to the screen. Can I tell DataTable not to escape HTML? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrate

Re: [Wicket-user] Issue of using HeaderContributor.forCss [was Re: Problem of clicking a wicket link]

2007-02-06 Thread Carfield Yim
On 2/7/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Could you confirm whether it is fixed in the new version please? > Look like 1.2.5 not yet release? - Using Tomcat but need to do more? Need to support web services, secu

Re: [Wicket-user] Issue of using HeaderContributor.forCss [was Re: Problem of clicking a wicket link]

2007-02-06 Thread Carfield Yim
for 1.2.5. > > Eelco > > > On 2/6/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > > > > The project I'm working on uses mounted pages and header contributions > > > > all over the place, without any problems. Any chance you can isolate > > > >

Re: [Wicket-user] Issue of using HeaderContributor.forCss [was Re: Problem of clicking a wicket link]

2007-02-06 Thread Carfield Yim
Just post a issue at tracker, see if that helpful. By the way, I would like to create a test case for this issue. Just wonder can I get the render HTML from WicketTester so that I can assert if the CSS link exist or not if I render twice? On 2/7/07, Carfield Yim <[EMAIL PROTECTED]>

[Wicket-user] Issue of using HeaderContributor.forCss [was Re: Problem of clicking a wicket link]

2007-02-06 Thread Carfield Yim
> > The project I'm working on uses mounted pages and header contributions > > all over the place, without any problems. Any chance you can isolate > > this into a quickstart project or test case? > > I still need time to figure out how to work with maven and setup the repository, may be later. Ho

Re: [Wicket-user] How to do redirect in wicket?

2007-02-06 Thread Carfield Yim
This blog probably help - http://spatula.net/blog/2006/11/adding-generic-authorization-to-wicket.html If you prefer reading Chinese, may be this message help more : http://www.javaworld.com.tw/jute/post/view?bid=42&id=169359&sty=3&age=0 On 2/6/07, Zhang Hailong <[EMAIL PROTECTED]> wrote: > Hi all

Re: [Wicket-user] Problem of clicking a wicket link

2007-02-05 Thread Carfield Yim
On 2/6/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > Yes , it is, and if I remove the mount and just use the long > > bookmarkable link, it work ok. > > > > The other issue I just found is after I click this link, whatever long > > or mounted one, the add(HeaderContributor.forCss()) fail to ad

Re: [Wicket-user] Problem of clicking a wicket link

2007-02-05 Thread Carfield Yim
On 2/6/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > On 2/5/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > > The application I work with will send a email to user to activate his > > account after registration. The activat

[Wicket-user] Problem of clicking a wicket link

2007-02-05 Thread Carfield Yim
The application I work with will send a email to user to activate his account after registration. The activate message is something like == Registration completed, here is your login detail: username: carfield password: carfield Please go to [

Re: [Wicket-user] How do I add custom javascript to wicket application

2007-02-04 Thread Carfield Yim
Sorry of get back late, I geuss I know why. For my application there are some authentication logic, some pages can view before login, some pages cannot. For the pages that can only view after login, that investigation code work properly. But for the pages that can view before login, that code loo

Re: [Wicket-user] Is there easy way to make AjaxFallbackDefaultDataTable non-sortable?

2007-02-02 Thread Carfield Yim
This work very nice, thx On 2/1/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > Use other Column constructors (one parameter less). > > Martijn > > On 2/1/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > > There is some table we don't want user to sort, can I

Re: [Wicket-user] Problem of adding confirm javascript to link

2007-02-02 Thread Carfield Yim
end("')) {return false;} "); > > > > String script = tag.getAttributes().getString( event.getEvent()); > > if (script != null) { > > handler.append(script); > > } > > > > tag.put(event.getEvent(), handler.to

Re: [Wicket-user] Problem of adding confirm javascript to link

2007-02-02 Thread Carfield Yim
false;} "); > > String script = tag.getAttributes().getString( event.getEvent()); > if (script != null) { > handler.append(script); > } > > tag.put(event.getEvent(), handler.toString()); > } > > @Override > public void detach(C

Re: [Wicket-user] How can I add some javascript to make sure the mainpage will occupy whole browser?

2007-02-02 Thread Carfield Yim
hack. > > As Web developer tool bar reports it as access denied in FF. > > Looking forward to hear about some other ideas.. > > > -Nino > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carfield Yim > Sent: 2. februar

[Wicket-user] Problem of adding confirm javascript to link

2007-02-02 Thread Carfield Yim
For some delete link, I've add a confirm() javascript for Link.getOnClickScript() . However I found that even I click cancel at the javascript popup wicket will still execute the link. (delete the record in my case) How can I press the cancel message to wicket? ---

[Wicket-user] How can I add some javascript to make sure the main page will occupy whole browser?

2007-02-02 Thread Carfield Yim
We have a small version of login windows which exist within an iframe. After the user login we need to make the main page occupy the whole browser windows. How can I add that javascript to onload event of that main page? - Us

Re: [Wicket-user] Question about using RedirectPage in a modalwindow

2007-02-01 Thread Carfield Yim
> you'd need to use some distributed session mechanism. Just a guess... > Might be, Can I just include the sessionid as hidden field / url to fix that? I probably cannot have too complicate distributed session mechanism - Usin

[Wicket-user] Is there easy way to make AjaxFallbackDefaultDataTable non-sortable?

2007-02-01 Thread Carfield Yim
There is some table we don't want user to sort, can I make AjaxFallbackDefaultDataTable not able to sort or I have to create my DataView? - Using Tomcat but need to do more? Need to support web services, security? Get stuff do

Re: [Wicket-user] Question about using RedirectPage in a modalwindow

2007-02-01 Thread Carfield Yim
On 1/26/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > The target of the RedirectPage is another wicket form running at > difference host. In firefox it work ok but in IE it always show page > expire after I submit the form. Does anybody experience this also? > Hi, have aske

Re: [Wicket-user] MultipartForm

2007-01-31 Thread Carfield Yim
On 2/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > yes, we already do enough "hacking" to allow users to nest forms eventhough > it is not allowed in the html spec. what wicket does is turn all inner form > tags into divs and use its magic to route the values/call events. but when > it comes to

Re: [Wicket-user] ui framework choice

2007-01-31 Thread Carfield Yim
On 2/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > you are free to write your own if the one we provide doesnt fit your needs > :) we didnt use any api you dont have access to to create this one. > Sure, no offence, in fact I am happy to use ModalWindow. I just say what we expect for our softwar

Re: [Wicket-user] ui framework choice

2007-01-31 Thread Carfield Yim
On 2/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > one thing to keep in mind is that the modalwindow was _not meant_ to be very > customizable. it was meant to be a dropin component that you would use as However, people like every component to be very customizable, that is what client expect fr

Re: [Wicket-user] MultipartForm

2007-01-31 Thread Carfield Yim
I think we are not suppose to have form inside anyother form. On 1/31/07, Matthes Rieke <[EMAIL PROTECTED]> wrote: > Hi everybody, > > i've got a problem with multipart-forms. i have a form with some input-field > and inside this form there is another form for uploading an image: > > > > >

[Wicket-user] Problem of try to prevent startTransaction and commit

2007-01-31 Thread Carfield Yim
As most of the webpages does not need transaction support, thus I have a marker interface to prevent transaction start and commit for those webpage, which work like follow: @Override protected void onBeginRequest() { super.onBeginRequest();

Re: [Wicket-user] How do I add custom javascript to wicket application

2007-01-31 Thread Carfield Yim
On 1/31/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > I see, as I only override the IRequestCycleFactory but not the > > setting, I guess that investigation code should work anyway? But I > > cannot make it work... How can I gather more information to debug? > > Set a break point in WebRequest

Re: [Wicket-user] How do I add custom javascript to wicket application

2007-01-31 Thread Carfield Yim
> By default, IRequestCycleSettings gatherExtendedBrowserInfo setting is > false, resulting in the ClientProperties object to be initialized from > just the user agent string that the browser sends with the request. > This is ok for basic stuff, but for most interesting stuff, you really > need som

Re: [Wicket-user] How do I add custom javascript to wicket application

2007-01-30 Thread Carfield Yim
On 1/31/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > It's probably null, in which case it returns 800 (the second parameter > you provide which is the default value in case the property wasn't > found. > > You probably still have to do: > > getRequestCycleSettings().setGatherExtendedBrowserInfo

Re: [Wicket-user] How do I add custom javascript to wicket application

2007-01-30 Thread Carfield Yim
all browse (I am using 1400x1050), am I using wrong method? On 1/31/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > this has been added in svn today > > see the wicket-1.x branch > > -igor > > > > On 1/30/07, Carfield Yim <[EMAIL PROTECTED] > wrote: >

Re: [Wicket-user] How do I add custom javascript to wicket application

2007-01-30 Thread Carfield Yim
== > > > > if you set gatherextendedbrowserinfo(true) that will also give you the > > window size in clientinfo properties > > > > -igor > > > > > > > > On 1/30/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > > >

[Wicket-user] How do I add custom javascript to wicket application

2007-01-30 Thread Carfield Yim
My boss like me to add some script to detect browser dimensions and set better height / width to modalwindow, there is some site telling me how to get the dimensions. The only way I know is adding hidden fields to webpages and update those fields using javascript. However, if something changed at

Re: [Wicket-user] Modal Window Bug (important)

2007-01-29 Thread Carfield Yim
Where can I get more information about this bug? I use ModalWindow for a few place and this look fine to me, how can I trigger this bug? By the way, should I remove this line once I update wicket library? On 1/30/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > Hi, > > It seems that quite a lot of pe

Re: [Wicket-user] How to set a markup ID of a HTML element to javascript

2007-01-28 Thread Carfield Yim
o their parents > > -igor > > > > On 1/28/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > > > > Thanks, just try it today, I have code like: > > > > dateField.setOutputMarkupId(true); > > final String javascript="Calendar.setup({ input

Re: [Wicket-user] How to set a markup ID of a HTML element to javascript

2007-01-28 Thread Carfield Yim
st way for very simple javascript stings > > there is also PackagedTextTemplate for more complex stings that require > variable replacement, as well as CssTemplate and JavasScriptTemplate. have a > look. > > -igor > > > > On 1/26/07, Carfield Yim <[EMAIL PROTECTE

Re: [Wicket-user] in-progress indicator

2007-01-28 Thread Carfield Yim
r, but that would mean that it must be added to each > component that makes an ajax call. I was wondering if somebody had an easier > idea. > > > On 1/28/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > > I personally think gmail presentation is simple and user friendly > >

Re: [Wicket-user] external request response - best approach

2007-01-28 Thread Carfield Yim
Are you refer to something like verisign payflow pro API? For me I will just have a form and open an HTTP connection at onSubmit() method just like the example they've given. On 1/28/07, De Soca <[EMAIL PROTECTED]> wrote: > > Hello, > > I have a requirement to validate credit card via an external

Re: [Wicket-user] in-progress indicator

2007-01-28 Thread Carfield Yim
I personally think gmail presentation is simple and user friendly On 1/28/07, Ivo van Dongen <[EMAIL PROTECTED]> wrote: > Hi, > > We're adding some Ajax support to our pages and some of the components can > take a long time to load. To the user it is not clear if anything is > happening so we want

Re: [Wicket-user] Question about using RedirectPage in a modalwindow

2007-01-26 Thread Carfield Yim
By the way, I just deploy the application of another host to my localhost and test, it work ok. Does anyone know the reason of this happening? On 1/26/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > On 1/26/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > Is that a wicket for

Re: [Wicket-user] Question about using RedirectPage in a modalwindow

2007-01-26 Thread Carfield Yim
On 1/26/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > Is that a wicket form? Is it a completely different application? How it > is related to modal window? > Yes, it is wicket form at completely difference application (difference host). One application call that page through ModalWindow and Redirect

Re: [Wicket-user] How to set a markup ID of a HTML element to javascript

2007-01-26 Thread Carfield Yim
> 1) Why don't just just set the markup id in your markup? > > > Then you can access it normally with JavaScript. Wicket will > honour HTML ids set in the HTML template. > Because that component will use mulitple time in same page, if I do so that the ID will be confilct each other > 2) I don'

[Wicket-user] Question about using RedirectPage in a modalwindow

2007-01-26 Thread Carfield Yim
The target of the RedirectPage is another wicket form running at difference host. In firefox it work ok but in IE it always show page expire after I submit the form. Does anybody experience this also? - Take Surveys. Earn Cash

[Wicket-user] How to set a markup ID of a HTML element to javascript

2007-01-26 Thread Carfield Yim
I found a datetime picket with is more suitable for my application and I would like to integrate that javascript to my application. I can get the markup id using getMarkId() method of Component. However I don't know how to press it to that javascript. I have talk of look of http://www.mail-archive

Re: [Wicket-user] How to close ModalWindow?

2007-01-24 Thread Carfield Yim
Sorry, I get it, I have to create some ajax button or link to work with this On 1/24/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > Look like I need a AjaxRequestTarget, but how can I get it? Or I can > just create one? > > http://wicketframework.org/wicket-extensi

[Wicket-user] How to close ModalWindow?

2007-01-24 Thread Carfield Yim
Look like I need a AjaxRequestTarget, but how can I get it? Or I can just create one? http://wicketframework.org/wicket-extensions/apidocs/wicket/extensions/ajax/markup/html/modal/ModalWindow.html#close(wicket.ajax.AjaxRequestTarget) ---

[Wicket-user] Issue of ModalView in firefox

2007-01-18 Thread Carfield Yim
The top bar with close button are missing, is it a know bug or only my problem? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT

Re: [Wicket-user] skandinavian characters encoding lost...

2007-01-15 Thread Carfield Yim
Appearancely , tomcat 5.5 don't get this problem for me, at least for Chinese character On 1/16/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > http://cwiki.apache.org/WW/how-to-support-utf-8-uriencoding-with-tomcat.html > > Juergen > > On 1/15/07, Nino Wael <[EMAIL PROTECTED]> wrote: > > Actu

Re: [Wicket-user] [AjaxFormComponentUpdatingBehaviour] updating a component

2007-01-11 Thread Carfield Yim
designers > or client side javascript. Defaulting to true would complicate or even > make it impossible to write your own javascript/css. > > Martijn > > On 1/11/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > > Just wonder, why don't make default of outputMarkupid a

Re: [Wicket-user] [AjaxFormComponentUpdatingBehaviour] updating a component

2007-01-11 Thread Carfield Yim
Just wonder, why don't make default of outputMarkupid as true? On 1/12/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > add the second line here: > final Label usernameValidation= new Label("username_validation", new > PropertyModel(this, usernameValid)); > usernameValidation.setOutputMarkupId(tr

Re: [Wicket-user] modal window is closed when form inside content panel is submitted

2007-01-09 Thread Carfield Yim
I just get the problem, solved by using ajax form button, you can see how I solve it at http://www.nabble.com/Submit-a-form-at-ModalWindow-cause-the-ModalWindow-close.-tf2912895.html#a8139020 On 1/9/07, Nili Adoram <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a panel (named AdvancedSearchPanel

[Wicket-user] Stateless wicket [was] Re: Wicket2 and Wicket 1.2.x

2007-01-08 Thread Carfield Yim
I just setup a tool call MessAdmin to check the size of httpsession, and I found that single login consume 14.6 MB , well, may be MessAdmin give me a wrong number. However, if that is the fact, I think I need to find some way to reduce the session memory consumption. If I use the stateless support

Re: [Wicket-user] Can I show a drop down choice list at tabs?

2007-01-07 Thread Carfield Yim
existing > TabbedPanel as a base and instead of just using a list as the tab title use > a link and some javascript popup menu. > > -igor > > > On 1/7/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > > Just

[Wicket-user] Can I show a drop down choice list at tabs?

2007-01-07 Thread Carfield Yim
Just like http://sourceforge.net/index.php one? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief

Re: [Wicket-user] When will RequestCycle.detach() being called?

2007-01-05 Thread Carfield Yim
> but it can be that it is purely 1.3 > So I need to wait for version 1.3 you mean? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on

[Wicket-user] Question about wicket-auth-roles

2007-01-05 Thread Carfield Yim
According to the example AnnotationsPanelsPage.java , look like I just setup the role at user object and it will read the Annotations for the permission. Just wonder is the Annotations only for the class extending wicket API like WebPage and Panel or it will work for all objects running at that VM

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-05 Thread Carfield Yim
On 1/5/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > Navigating to different page is a bit tricky unfortunately. There is no > easy way of disabling the alert. This should be addressed in future > version. For now I'd suggest you to try to close the window > (ModalWindow.close(...)) and navigate to

Re: [Wicket-user] When will RequestCycle.detach() being called?

2007-01-05 Thread Carfield Yim
On 12/28/06, Carfield Yim <[EMAIL PROTECTED]> wrote: > On 12/27/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > > which version of wicket is that? > > That should be fixed. > > Wicket 1.2.3, may be I should upgrade to 1.2.4 > Just upgrade to 1.2.4 and this pro

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-05 Thread Carfield Yim
page of that account ) . It work ok but wicket will popup an alarm box about ModalWindows closing, can I suppress this warning? On 1/5/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > On 1/4/07, Carfield Yim <[EMAIL PROTECTED]> wrote: > > On 1/4/07, Igor Vaynberg <[EMAIL PROT

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-04 Thread Carfield Yim
On 1/4/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > you click on the wicket ajax debug link at the bottom of the page and it > should open. then look for errors in the output. > There is not error, just info, and I don't understand the meaning of those info message, do you know if there reference

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-03 Thread Carfield Yim
On 1/4/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > http://woogle.billen.dk/search/q/listview%20ajax > Have tried http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html but fail. How can I use the AJAX debug window to see what going wrong? ---

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-03 Thread Carfield Yim
My gmail crop my message but I can see it at sourceforge archive... I don't know why. So I just resend my message again in case another people only see an empty message I have refer to http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.FormPag

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-03 Thread Carfield Yim
target.addComponent(userListView); } } catch (SQLException e) { throw new RuntimeException(e); } } }); } } On 1/3/07, Martijn Dashorst <[EMAIL PR

[Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-03 Thread Carfield Yim
If I have a form inside a ModalWindow, submit the form will cause the ModalWindow close. Can I prevent this behaviour? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get t

[Wicket-user] What is the meaning of versioned?

2007-01-01 Thread Carfield Yim
>From the javadoc of setVersioned: Parameters: isVersioned - True to turn on versioning for this component, false to turn it off for this component and any children. But what is the meaning of versioned? What is the result if I turn it on or off? -

Re: [Wicket-user] Architectural issues using Borders for page layout

2006-12-27 Thread Carfield Yim
I feel using Markup interitance over Border is more similar to using interitance over composition of code reuse. Markup interitance is more convenience to use but if you like to do something more dynamice, like change layout according to role, I think Border is more flexible for that? Please correc

Re: [Wicket-user] When will RequestCycle.detach() being called?

2006-12-27 Thread Carfield Yim
On 12/27/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > which version of wicket is that? > That should be fixed. Wicket 1.2.3, may be I should upgrade to 1.2.4 > And it is not strange becuase in that startPage we did call touch on the > page/session Strangle is I have several other unit test o

[Wicket-user] When will RequestCycle.detach() being called?

2006-12-27 Thread Carfield Yim
I just get another exception from the unit test, this is kind of strangle that complaint about No RequestCycle available: wicket.WicketRuntimeException: Can not set the attribute. No RequestCycle available at wicket.Session.setAttribute(Session.java:933) at wicket.PageMap.put(PageM

Re: [Wicket-user] Unit test fail probably cause by authenication

2006-12-27 Thread Carfield Yim
bug in there > > -igor > > > On 12/26/06, Carfield Yim < [EMAIL PROTECTED]> wrote: > > > > On 12/27/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote: > > > well looks like you are expecting main page but getting a login? so your > > > auth strateg

Re: [Wicket-user] Unit test fail probably cause by authenication

2006-12-26 Thread Carfield Yim
On 12/27/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > well looks like you are expecting main page but getting a login? so your > auth strategy is redirecting, thus the test fails > But for the unit test session, I already did below: public static class Tester extends WicketTester { @

[Wicket-user] Logging issue at tomcat

2006-12-26 Thread Carfield Yim
I already have wicket.util.resource= Info wicket.util.thread.Task = Info But I still getting a lot of log message related at tomcat stdout.log. For jetty and resin it will not do that . Anybody know how to make tomcat don't log those information? -

Re: [Wicket-user] Unit test fail probably cause by authenication

2006-12-26 Thread Carfield Yim
Anyone have any idea? On 12/22/06, Carfield Yim <[EMAIL PROTECTED]> wrote: > The unit test is just create a WebPage and assert it, stacktrace as > below and look like the authenication will forward to Logon page if it > is not authenication . However, in the session I have set it

[Wicket-user] Unit test fail probably cause by authenication

2006-12-21 Thread Carfield Yim
The unit test is just create a WebPage and assert it, stacktrace as below and look like the authenication will forward to Logon page if it is not authenication . However, in the session I have set it always return true if it is unit test. Anybody have any idea? junit.framework.ComparisonFailure: n

[Wicket-user] Is there any event like onTabChangeEvent?

2006-12-21 Thread Carfield Yim
I have a page form which contain a TabbedPanel(), I would like the form show submit button or not depend which tab is clicked. How can I do that? Is there any event like onTabChangeEvent so that I can show or hidden submit button once user click difference tab -

Re: [Wicket-user] How can I do URL mapping in wicket?

2006-12-20 Thread Carfield Yim
order to doing that I need to do that otherwise it will complaint about resource not found. On 12/20/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > that is pretty weird, what is your servlet mapping? > > -igor > > > On 12/19/06, Carfield Yim <[EMAIL PROTECTED] > wrote:

Re: [Wicket-user] How can I do URL mapping in wicket?

2006-12-19 Thread Carfield Yim
On 12/20/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > no, you shouldnt, its really funny that it forwards to your logon page, is > that your homepage? > No, my homepage is other class. And eventually I found the solution, If I do mountBookmarkablePage("/signup", Registration.class); Then it for

Re: [Wicket-user] How can I do URL mapping in wicket?

2006-12-19 Thread Carfield Yim
On 12/20/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > working fine over here, make sure your auth strategy really is skipping that > class > The strangle thing is that even if I remove the auth. logic, It still forward to http://192.168.1.79:8080/wicket/app/signup?wicket:bookmarkablePage=:com.xx

Re: [Wicket-user] How can I do URL mapping in wicket?

2006-12-19 Thread Carfield Yim
On 12/19/06, Carfield Yim <[EMAIL PROTECTED]> wrote: > I have, but in the AbstractPageAuthorizationStrategy, I have skip the > registration.class already. In fact, I need the uri mapping work with > authorization scheme, is it not possible? > Just wonder, is it rea

[Wicket-user] Directly map a bean to HTML form

2006-12-19 Thread Carfield Yim
This look really cool, I just define the bean and the framework determine HTML input type for me, is that similar support from wicket for this? http://beanform.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future

Re: [Wicket-user] How can I do URL mapping in wicket?

2006-12-19 Thread Carfield Yim
Oosten <[EMAIL PROTECTED]> wrote: > Perhaps you made Registration protected with some kind of authorization > scheme? > > Erik. > > Carfield Yim schreef: > > I don't know why but I cannot get it to work, > > > > After I add the map, say > >

Re: [Wicket-user] How can I do URL mapping in wicket?

2006-12-18 Thread Carfield Yim
On 12/19/06, Nick Heudecker <[EMAIL PROTECTED]> wrote: > Are you talking about page mounting? Take a look at > mountBookmarkablePage(...) in the Application class. > I don't know why but I cannot get it to work, After I add the map, say mountBookmarkablePage("/signup", Registration.class)

[Wicket-user] How can I do URL mapping in wicket?

2006-12-18 Thread Carfield Yim
This is much more complicate than what I thought, I try to add some code to isPageAuthorized() method when the user login as also change the onBeginRequest() method, but it does work and it is hard to figure out what going wrong. Is there already any support of URL mapping that say map http://loc

Re: [Wicket-user] ajax component caching

2006-12-18 Thread Carfield Yim
On 12/18/06, Erik van Oosten <[EMAIL PROTECTED]> wrote: > There is indeed a good case for not caching css in development mode. It > is a mortal sin in deployment mode. > Exactly, but look like it is hard to not cache CSS for AJAX request, and I just double confirmed that for normal webpage, it work

  1   2   3   >