Modal Window onSubmit prevent closing

2008-04-10 Thread Cristi Manole
cannot use .setDefaultFormProcessing(false)); (am I wrong?) Whenever I press upload, it will ask me if I want to continue and if I press yes, it will close my modal window. I want to stay on that page for as long as the upload takes place. Thanks, Cristi Manole

Re: Promotion

2008-04-06 Thread Cristi Manole
Thanks, Martin :)) On Sun, Apr 6, 2008 at 10:25 PM, Martin Grigorov <[EMAIL PROTECTED]> wrote: > Congrats Cristi, > > I like the styling of the "sign in" modal window! > > Really cool (self-documenting) ids ;-) > > > On Sun, 2008-04-06 at 21:03 +0300, Cri

Promotion

2008-04-06 Thread Cristi Manole
re will be added soon. Of course, your feedback would be more than welcome. Thanks, Cristi Manole

Re: IE 6 & 7 Ajax Refresh Issue

2008-04-04 Thread Cristi Manole
7 it didn't... all i did is change "onchange" with "*onclick*" and now it works in both. I think that FF handles onchange for the *newly selected item* while IE7 does it for the *element which gets deselected*. I'm not 100% sure, anyways, maybe somebody can say for ce

Re: Default selection in radio group?

2008-04-04 Thread Cristi Manole
meradio1radio", new Model("selectthis"))); radioGroup.add(someradio2Radio = new Radio("someradio2radio", new Model(""))); radioGroup.add(someradio3Radio = new Radio("someradio3radio", new Model(""))); I hope this helps, Cristi Manole On Fri

IE 6 & 7 Ajax Refresh Issue

2008-04-03 Thread Cristi Manole
updated correctly. Any ideas what's wrong with IE and how i could update the dropdowns correctly? I use just setEnabled(true/false) and target.addComponent(...). Thanks, Cristi Manole

I cannot understand why would a panel have the getparent null

2008-04-03 Thread Cristi Manole
ther* browser page and point to the application's url, i get a org.apache.wicket.WicketRuntimeException because TodayPanel's getParent() returns null. Question is: why?... i could understand it if it were consistent... meaning it will get me null on the first login too. I tested in Firefox tabs. Tks in advance, Cristi Manole

Re: Dynamic link wicket:id

2008-03-29 Thread Cristi Manole
thing like this... more dynamic? Tks, Cristi Manole On Fri, Mar 28, 2008 at 7:29 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > what is the usecase? > > -igor > > > On Fri, Mar 28, 2008 at 10:08 AM, Cristi Manole <[EMAIL PROTECTED]> > wrote: > > Hello, &

Dynamic link wicket:id

2008-03-28 Thread Cristi Manole
Hello, Is there a possibility dynamically link a wicket:id to a java object at runtime? I'm looking for something similar to this: Label label = new Label("someid","some text "); label.setEscaped(false); I didn't manage to find a way. Tks, Cristi Manole

Re: Unable to display modal windows

2008-03-22 Thread Cristi Manole
/localhost:9080/theworld/javascript/modal.js > > modal.js shouldn't be in there i think? Or did you extract it somehow? > > On Thu, Mar 20, 2008 at 12:18 PM, Cristi Manole <[EMAIL PROTECTED]> > wrote: > > > Hello, > > > > I just upgraded to 1.3.2 from 1.3.1. &g

Re: Getting client's date and time

2008-03-21 Thread Cristi Manole
class: getRequestCycleSettings().setGatherExtendedBrowserInfo(true); Thanks again, James :) Cristi On Fri, Mar 21, 2008 at 2:32 PM, James Carman <[EMAIL PROTECTED]> wrote: > On 3/21/08, James Carman <[EMAIL PROTECTED]> wrote: > > On 3/21/08, Cristi Manole <[EMAIL PROTECTED]> wrote: &

Re: Getting client's date and time

2008-03-21 Thread Cristi Manole
21 PM, James Carman <[EMAIL PROTECTED]> wrote: > On 3/21/08, Cristi Manole <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I'm looking for a quick solution to get the client's date and time in a > > wicket modal, without a post > > > > I ca

Getting client's date and time

2008-03-21 Thread Cristi Manole
Hello, I'm looking for a quick solution to get the client's date and time in a wicket modal, without a post I can have a wicket component, like a label and I can use js functions to set it in a span for example. The question is... how can i read that value I set in js in wicket? Is it possible?

Unable to display modal windows

2008-03-20 Thread Cristi Manole
Hello, I just upgraded to 1.3.2 from 1.3.1. Also, i don't know if it makes a difference, spring from 2.0.6 to 2.5.2. Now, when i try to display a modal window just like I used to, it fails. All the code I modified is for the constructor of the authwebsess which got depricated public TheWorl

"Multiple panels" like behaviour

2008-03-20 Thread Cristi Manole
ed the places in the base page. For only one panel, I can use tag. If I need more than one panel inserted, how do I do that? Thanks, Cristi Manole

Re: Wicket ModalWindow vs Other

2008-03-18 Thread Cristi Manole
Hi, I'm also using the ModalWindow, with some very small enhancements. Regards, Cristi Manole On Mon, Mar 17, 2008 at 10:39 PM, jeredm <[EMAIL PROTECTED]> wrote: > > I am using the ModalWindow. > > mnwicket wrote: > > > > Just out of curiosity, are most peopl

Re: Prevent Ajax from expiring

2008-03-11 Thread Cristi Manole
it expired way earlier than that.. .that's why i figured it was something inside wicket... any ideas? Cristi On Tue, Mar 11, 2008 at 8:39 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > session time out is controlled in web.xml > > -igor > > > On Tue, Mar 11, 20

Prevent Ajax from expiring

2008-03-11 Thread Cristi Manole
Hello, I'm experiencing a strange behavior from regular ajax components (those included in wicket like, for example, the tree component) : on a page containing one (or more) such components and using it, after some time it will stop working, meaning it will not do anything (for example clicking on

Odd behaviour after setGatherExtendedBrowserInfo(true)

2008-02-13 Thread Cristi Manole
Hello, I wanned to be able to get the browser client size, so I followed the examples and put getRequestCycleSettings().setGatherExtendedBrowserInfo(true) in my Application init method. I can get the parameters without any problem, but now on the login page, after I submit, for a few seconds I ge

Re: Applet problem

2008-02-09 Thread Cristi Manole
I know it works that way but I didn't want to deploy applets separately, but what a hell i can leave with that. Tks a lot :) On Feb 8, 2008 6:01 PM, Maeder Thomas <[EMAIL PROTECTED]> wrote: > > ... > > > > How should i set the codebase in this situation? I guess code > > is still com.someapplic

Re: Autocomplete on a modal window

2008-02-08 Thread Cristi Manole
complete popup > div will still be in the original text field spot even though the text > field > has moved. > > Have not found workable solution for that issue either related to > autocompletes in modals. > > > Dmitry Kandalov wrote: > > > > > > Cristi

Applet problem

2008-02-08 Thread Cristi Manole
odebase in this situation? I guess code is still com.someapplication.somepackage.AppletClass I still get com.someapplication.somepackage.AppletClass not found exception. Any ideas how the applet tag should be written? Thank you very much in advance, Cristi Manole

Re: wicket success stories

2007-11-27 Thread Cristi Manole
Hello, the link you posted doesn't work for me... but we can't find the iWeb page you've requested. It's possible that: · The address was entered incorrectly. Check your spelling and try again. · The .Mac member of this name has either created a page and removed it o

Re: Autocomplete on a modal window

2007-11-12 Thread Cristi Manole
Don > > > > > igor.vaynberg wrote: > > > > css it with a higher zindex then the window? > > > > -igor > > > > > > On Nov 9, 2007 12:07 AM, Cristi Manole <[EMAIL PROTECTED]> wrote: > >> Hello, > >> > >> I am tryin

Autocomplete on a modal window

2007-11-09 Thread Cristi Manole
Hello, I am trying to make a modal window with an autocomplete text field using regular wicket classes. The problem is the autocomplete list gets rendered behind the modal window so it is not visible. Is there a way to make it appear on top of it? Tks in advance, Cristi ---

Re: AjaxCheckBox label appears twice when...

2007-11-05 Thread Cristi Manole
is was because of this :Toggle Check All changed to this : Toggle Check All [although question remains... why would it display toggle check all twice?] On Nov 5, 2007 9:16 PM, Cristi Manole <[EMAIL PROTECTED]> wrote: > Hello, > > Any ideas why adding the ajaxcheckbox

AjaxCheckBox label appears twice when...

2007-11-05 Thread Cristi Manole
Hello, Any ideas why adding the ajaxcheckbox component to an ajaxrequesttarget would make its label be displayed twice? Is there any other way to update an ajaxcheckbox without adding it to required target? Maybe i'm missing something here. Tks in advance. -

Re: Is Beta5 coming soon? Beta4 has caused these issues for us....

2007-11-03 Thread Cristi Manole
This is what i use : log4j-1.2.15.jar slf4j-api-1.4.3.jar slf4j-log4j12-1.4.3.jar with wicket 1.3.0beta4. I got the same annoying exception before upgrading to those log4j/slf4 versions. On Nov 3, 2007 1:24 PM, Erik van Oosten <[EMAIL PROTECTED]> wrote: > > And what is the version of your slfj-

Re: Two forms on the same page

2007-11-01 Thread Cristi Manole
i think that's what i called imbricated :)) On 11/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > wait until you discover we support embedded forms, that will really > screw with your mind... > > -igor > > > On 11/1/07, Cristi Manole <[EMAIL PROTECTED]&g

Re: Two forms on the same page

2007-11-01 Thread Cristi Manole
; Martijn > > On 11/1/07, Cristi Manole <[EMAIL PROTECTED]> wrote: > > thanks for your quick answer. here goes the problem details :) > > > > > http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";> > > http://www.w3.org/1999/xhtml";> > > > >

Re: Two forms on the same page

2007-11-01 Thread Cristi Manole
oEndpoint$Worker.run(JIoEndpoint.java :447) at java.lang.Thread.run(Unknown Source) On 11/1/07, Dipu Seminlal <[EMAIL PROTECTED]> wrote: > > yes its possible to have two forms in the same page. > > if you could provide some more details, you are likely to get > more hel

Two forms on the same page

2007-11-01 Thread Cristi Manole
Hello, Simple question :) : Is it possible to have two forms on the same page, without having them imbricated? ... ... I'm asking because I get errors saying i did not add markup for form2 when it is indeed in html code... (and added to the page) Tks a lot

Re: Dynamically changing CSS

2007-10-31 Thread Cristi Manole
works perfectly. tks a mill. On 10/31/07, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > > On Wed, 31 Oct 2007, Cristi Manole wrote: > > Tks a lot for your reply, but how do I do "get wicket to change the > style > > color" of that speciffic row, exactly? that

Re: Dynamically changing CSS

2007-10-30 Thread Cristi Manole
bject: Re: Dynamically changing CSS You could use CSS. Set the class for the table row to be highlighted (eg ..tr class="trcolor"), add a style to the page to set the color of the table row class (eg .trcolor {color: red} ). Then get wicket to change the style color through CSS when t

Dynamically changing CSS

2007-10-30 Thread Cristi Manole
Hello, I have a checkbox in an Ajax table (wrote by Igor). On one column i add a panel which contains a checkbox and a link. When the user selects the checkbox I would like that specific table row to be displayed with a different background color. How am I to do that? I didn't manage to underst

ModalWindow does not close

2007-10-30 Thread Cristi Manole
from closing (by removing the script from html) and it's this javascript: http://www.moneyrulz.com:9080/theworld/javascript/ssm.js [which is called by http://www.moneyrulz.com:9080/theworld/javascript/ssmItems.js] Any ideas why? Tks in advance. Cristi Manole

Re: Javascript call on AjaxFallbackDefaultDataTable

2007-10-24 Thread Cristi Manole
venItem(id, index, model); } } - Original Message - From: Cristi Manole To: users@wicket.apache.org Sent: Tuesday, October 23, 2007 11:23 PM Subject: Javascript call on AjaxFallbackDefaultDataTable Hello, I am wondering how I could make a javascript call each time the AjaxFallbackDefaultDataTable is refreshed. Thanks in advance.

Javascript call on AjaxFallbackDefaultDataTable

2007-10-23 Thread Cristi Manole
Hello, I am wondering how I could make a javascript call each time the AjaxFallbackDefaultDataTable is refreshed. Thanks in advance.

Store the generated HTML

2007-10-20 Thread Cristi Manole
Hello, I have a BasePage class which has a basicpage.html output. In that page i define a wicket:child to extend it in all the pages. So then I have a page1 class with page1.html which contains the wicket:extend tag. What I was wondering is how I could get the html that wicket generates for pag

Re: Double "intercept"

2007-10-19 Thread Cristi Manole
my mistake. one intercept is enough. i tried to call redirectToInterceptPage() in Sign In and in WhatEver. Tks again. - Original Message - From: "Cristi Manole" <[EMAIL PROTECTED]> To: Sent: Friday, October 19, 2007 10:58 PM Subject: Re: Double "intercept&q

Re: Double "intercept"

2007-10-19 Thread Cristi Manole
with just one intercept. By using this little construct in your sign-in page after signing in. if (!getPage().continueToOriginalDestination()) { setResponsePage(WhatEverPage.class); //or new WhatEverPage(complex constructor); } Maurice On 10/19/07, Cristi Manole <[EMAIL PROTECTED]> wrote:

Double "intercept"

2007-10-19 Thread Cristi Manole
Hello, I was wondering if the following use case can be implemented in wicket: -> a page requires authentification (@AuthorizeInstantiation()) -> if it's not authentif, it will be intercepted by a SignIn.class -> based on a rule, i want to send the user to another page. -> that page will redirect

Re: (OT) Calendar UI?

2007-10-18 Thread Cristi Manole
Great. I for one like it. On 10/18/07, Ivo van Dongen <[EMAIL PROTECTED]> wrote: > > Hi, > > We're working on a wicket based calendar atm. It's not just a UI but > rather > a whole calendar application. Still, perhaps it can be of use to you. Our > UI > is currently being redesigned and should be

Re: Custom rendering

2007-10-16 Thread Cristi Manole
actReadOnlyModel(){ > >> > >> public Object getObject(){ > >> > >> User u = ...; > >> if(u==null){ > >> > >> return ""in order to sign in please click"; > >> } > >>

Re: Custom rendering

2007-10-16 Thread Cristi Manole
quot;"in order to sign in please click"; > } > else{ > return hello u.; > > } > > } > }); > > Similarly for link. just change the action in onClick for example > > -swaroop > > > On 10/16/07, Cristi Manole <[EMAIL PROTECTED]&g

Custom rendering

2007-10-15 Thread Cristi Manole
Hello, I was wondering if it is possible to do custom rendering in wicket. What i need is something like a panel in which -> if the user is not logged in, there will be a text with "in order to sign in please click <>" and then the link and -> if the user is logged in, the same text component wou

DetachableContactModel question

2007-09-06 Thread Cristi Manole
Hello, In the repeteater samples, the one with ajax capability you have DetachableContactModel. My question is why protected Object load() { // loads contact from the database return getContactsDB().get(id); } does not just return the Contact object? It is already determined by the co

Thank you note

2007-09-04 Thread Cristi Manole
I guess it's not that appropriate to write a "thank you note" on this address, but i just couldn't help myself. What you guys did with this framework is trully amaizing. I've been ... playing with it in the couple of weeks and it fits just like a glove. Not to mention the support the users get

Re: Dojo maximize button

2007-09-04 Thread Cristi Manole
lot! On 9/4/07, Vincent Demay <[EMAIL PROTECTED]> wrote: > > Hi, > Cristi Manole wrote: > > Hello, > > > > I don't know if this is the right place to submit this and if it isn't > i'm really sorry... please let me know... > > > Yes it is

Dojo maximize button

2007-09-03 Thread Cristi Manole
Hello, I don't know if this is the right place to submit this and if it isn't i'm really sorry... please let me know... When I click to maximize the dojo floating pane (not modal), it moves to the top of the browser's client window and resizes to something less than what it was originally. Ho

Re: Trying to make a singleton out of session

2007-09-03 Thread Cristi Manole
Subject: Re: Trying to make a singleton out of session On 9/3/07, Cristi Manole <[EMAIL PROTECTED]> wrote: Hello, I'm trying to make WebSession as a singleton available to all wicket applications in order to provide single sign on. That won't work just like that. If you

Trying to make a singleton out of session

2007-09-03 Thread Cristi Manole
Hello, I'm trying to make WebSession as a singleton available to all wicket applications in order to provide single sign on. Authorisation is being performed with Spring JDBC. The problem is this: SEVERE: Servlet.service() for servlet default threw exception java.lang.IllegalStateException:

<    1   2