Changing appearance of ModalWindow?

2008-12-07 Thread Ashis
Dear all, How can i change the appearance of ModalWindow.Especially i want to change the font colour of modalwindow title. Thank you, Ashis -- View this message in context: http://www.nabble.com/Changing-appearance-of-ModalWindow--tp20880252p20880252.html Sent from the Wicket -

Re: Changing appearance of ModalWindow?

2008-12-07 Thread Eyal Golan
Hi, Looking at the source (inspect element in Firebug I saw that the caption's class name is w_captionText and it's in a span object. Anyway, in modal.css (Wicket's css file) it is set: *span.**w_captionText*{...} So I guess you need to override it in your own CSS file. Don't forget to add it to

spring proxy for my model causes notSerializable exception

2008-12-07 Thread miro
I am creating a spring proxy for my model before attaching it to the form and i get notserializable exception here is the code protected Object getproxy(){ ProxyFactory factory = new ProxyFactory(new ReassignGrantsOfficerDTO()); factory.addAdvisor(new

Re: spring proxy for my model causes notSerializable exception

2008-12-07 Thread jWeekend
Miro, Your use of the ProxyFactory looks fine (although you could also do the Spring configuration in your application context and use @SpringBean to inject your proxy in a Wicket-safe way). Anyway ... is ReassignGrantsOfficerPage Serializable? Do you want it to be serialised in the page store?

Re: spring proxy for my model causes notSerializable exception

2008-12-07 Thread jWeekend
Miro, [Edited ... wrapped myProxyModelInstance in a CompoundPropertyModel (typo fixed below) so it works in the same way as you probably intended.] Your use of the ProxyFactory looks fine (although you could also do the Spring configuration in your application context and use @SpringBean to

Re: Embedding advanced flash object

2008-12-07 Thread Ekengren
Hello Jeremy, Thank you for your help, I'm now over the second bump. However the third problem is still hunting me. The flash app requests slides.xml that looks like this: slideshow slide image url='images/foo.jpg'/ /slide slide image url='images/bar.jpg'/ /slide /slideshow I

RE: Embedding advanced flash object

2008-12-07 Thread Jeremy Thomerson
Well, your email has a typo wicked - it might be that. I've never seen that - maybe you need the proper XML declaration also. Where do you get that error? Stacktrace? Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original Message- From: Ekengren

Calling Javascript on AJAX load of panel.

2008-12-07 Thread Graeme Knight
Hi. I have a panel that loads different content depending on a context (i.e. clicking on a tab moves it to another view, etc). One of the views is an iframe which will have content populated by Javascript. I have something like this as a header contributor, which populates 'hello world' into

Populate IFRAME innerHTML on AJAX load of panel.

2008-12-07 Thread Graeme Knight
Hi. I have an application with links that switch panels using AJAX: : private Panel currentPanel; : ContactsListPanel manageContactsPanel = new ContactsListPanel(); currentPanel.replaceWith( manageContactsPanel ); currentPanel = manageContactsPanel; : One of my

Re: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-07 Thread Graeme Knight
Hi. Perhaps AbstractAjaxBehavior may help - I will have a look. Anyone with any experience with this please let me know. It would be appreciated! Rgds, Graeme. Graeme Knight wrote: Hi. I have an application with links that switch panels using AJAX: : private Panel

Re: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-07 Thread Graeme Knight
Hi. I'm making some progress by using an IPageLink to a page that might contain (if I can) the rendered content... HHmm... Cheers, Graeme. Graeme Knight wrote: Hi. I have an application with links that switch panels using AJAX: : private Panel currentPanel; :

Re: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-07 Thread Bruno Borges
With all that conversation with yourself, how about writing a Wiki page after you succeed ?! :-D Cheers, Bruno Borges blog.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire it. - Francois de La Rochefoucauld On Sun, Dec

Re: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-07 Thread Graeme Knight
Bruno! I absolutely would love to write a wiki page on this if I can make it work - and you are right - conversation with myself *might* help others who perhaps have a similar problem. I'm not quite there yet :-( - perhaps tomorrow! Cheers, Graeme. Bruno Borges wrote: With all that

Re: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-07 Thread Bruno Borges
I've just read your thread and looks like what you want to do is quite... invalid. Iframes are just like normal frames, or even, a separate window/tab. If you think that way, you will notice that what you want to do is not possible. From a Javascript developer's perspective, of course. This has

Re: Changing appearance of ModalWindow?

2008-12-07 Thread Ashis
Thanks, Eyal Golan But adding header contibution does not work. I have following css and code. CSS span .interVeil{ background-color:fuchsia; color:lime; **CODE*** public void onClick(AjaxRequestTarget target) { application = (Application)

Re: Changing appearance of ModalWindow?

2008-12-07 Thread Eyal Golan
Hmm... You need to add your HeaderContributor in the panel / page that is the content of your modal window. (I'm not sure, but maybe you can also put it in the modal's constructor). Not in the onClick method. As for setting CSS class name, I would start by using in the CSS the wicket classes