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
That would be great On 2/22/07, James McLaughlin [EMAIL PROTECTED] wrote: Unfortunately, it would be a pain to separate out the examples I have, but there are some unit tests under wicket.markup.outputTransformer that I'm pretty sure will get you going. hth, jim On 2/20/07, Carfield Yim

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

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

2007-02-20 Thread Carfield Yim
. 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, I try to use it before but fail as I cannot find any example show how to work with this, could you point

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 flag for

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 get this email. Thanks a lot On 2/7/07, Eelco

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

2007-02-13 Thread Carfield Yim
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 ? Eelco On 2/6/07, Carfield Yim [EMAIL PROTECTED] wrote

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 page,

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 to do

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

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 Qwerty http://caraldi.com/jbq

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? How it is related to modal

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 that most uses

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 loggedin

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

2007-02-08 Thread Carfield Yim
(); createRequestCycle(); this line should make sure that the touch works... getWicketSession().touch(page); if (page != last) { getWicketSession().touch(last); } return last; } but it can be that it is purely 1.3 johan On 1/5/07, Carfield Yim

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

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

2007-02-07 Thread Carfield Yim
I try to put a br/ at record but it really show that br/ 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

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 br/ at record but it really show that br/ to the screen. Can I tell DataTable not to escape HTML

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=42id=169359sty=3age=0 On 2/6/07, Zhang Hailong [EMAIL PROTECTED] wrote: Hi all,

[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. However,

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

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

2007-02-06 Thread Carfield Yim
/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 this into a quickstart project or test case? I still need time to figure out how to work with maven

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,

[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] 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 activate message is something like

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 add the

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

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

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

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

2007-02-02 Thread Carfield Yim
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 2007 10:15 To: wicket-user@lists.sourceforge.net Subject: [Wicket

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

2007-02-02 Thread Carfield Yim
) { super.detach(component); message.detach(); } } -igor On 2/2/07, *Carfield Yim* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: For some delete link, I've add a confirm() javascript for Link.getOnClickScript() . However I found that even I click

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 make AjaxFallbackDefaultDataTable not able

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 asked this several day before

[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

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 - Using

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 some

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

[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] 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: form wicket:id=

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 from

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 software

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

[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] How do I add custom javascript to wicket application

2007-01-30 Thread Carfield Yim
: getRequestCycleSettings().setGatherExtendedBrowserInfo(true); in your application's init method. === if you set gatherextendedbrowserinfo(true) that will also give you the window size in clientinfo properties -igor On 1/30/07, Carfield Yim

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

2007-01-30 Thread Carfield Yim
for 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: I can get the SCREEN_HEIGHT value using http

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(true);

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 people

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 to

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
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 On 1/28/07, Ivo van Dongen [EMAIL PROTECTED] wrote: Hi

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

2007-01-28 Thread Carfield Yim
as CssTemplate and JavasScriptTemplate. have a look. -igor On 1/26/07, Carfield Yim [EMAIL PROTECTED] wrote: 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

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

2007-01-28 Thread Carfield Yim
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({ inputField : \+dateField.getMarkupId()+\, ifFormat : \%d-%b-%Y %H:%M\, button : \trigger

[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

[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

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? input id=timeField wicket:id=startTime ... 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

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

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 form? Is it a completely different

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

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-extensions/apidocs/wicket/extensions/ajax

[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: Actually I

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(true);

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

2007-01-11 Thread Carfield Yim
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 as true? On 1/12/07, Martijn Dashorst [EMAIL PROTECTED

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

[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] Can I show a drop down choice list at tabs?

2007-01-07 Thread Carfield Yim
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 like http://sourceforge.net/index.php one? - Take

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 PROTECTED] wrote: you click

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 problem is still there. And I've double verify

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 the

[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

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

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

[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

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

2007-01-03 Thread Carfield Yim
); } } }); } } On 1/3/07, Martijn Dashorst [EMAIL PROTECTED] wrote: You can't. You have to submit the form using ajax. Martijn On 1/3/07, Carfield Yim [EMAIL PROTECTED] wrote: If I have a form inside a ModalWindow, submit the form

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

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?

[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] Unit test fail probably cause by authenication

2006-12-27 Thread Carfield Yim
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 strategy is redirecting, thus the test fails But for the unit test session, I already did below

[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

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 of

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

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 always return true

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

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

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

2006-12-20 Thread Carfield Yim
PROTECTED] wrote: that is pretty weird, what is your servlet mapping? -igor On 12/19/06, Carfield Yim [EMAIL PROTECTED] wrote: 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

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 mountBookmarkablePage(/signup, Registration.class); If I go

[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
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 really cannot be done

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

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 forward

[Wicket-user] ajax component caching

2006-12-18 Thread Carfield Yim
look like there is strangle browser cache for ajax component (modalwindow is the one I get this problem) . Even if I setup HTTP to no-cache: response.setHeader(Pragma, no-cache); response.setHeader(Cache-Control, no-cache); //response.setHeader(Cache-Control, private);

Re: [Wicket-user] ajax component caching

2006-12-18 Thread Carfield Yim
are mentioning? Because request that fetches css (and other resources) is different than request for a page / ajax request and wicket treats it differently. What's the reason of not caching css? -Matej Carfield Yim wrote: look like there is strangle browser cache for ajax component (modalwindow

Re: [Wicket-user] ajax component caching

2006-12-18 Thread Carfield Yim
Where do you put the code you are mentioning? Because request that Forget to mention about this, I put this block of code at onBeginRequest() of my custom IRequestCycleFactory.newRequestCycle() . Which, I suppose the CSS put at class will change the HTTP response header when somebody request it.

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

[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

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); If

  1   2   >