IMG SRC URL in iframe - part 2.

2008-12-08 Thread Graeme Knight
Hi. I recently had a question which I put to the forum here: http://www.nabble.com/IMG-SRC-URL-in-iframe.-td20805408.html Generating IMG SRC to replace CIDs. I believe I have found the answer (thanks to Ernesto's help) which I would like some verification of if possible (not sure if it needs a

Re: Component with id [[feedback]] a was not found while trying to perform markup update. Make sure you called component.setOutputMarkupId(true) on the component whose markup you are trying to update.

2008-12-08 Thread James Carman
I believe you also have to make sure you call setOutputMarkupId(true) so that you make sure wicket spits out the markup id (so that it can select it as part of the Ajax update). On Mon, Dec 8, 2008 at 9:51 PM, Jeremy Thomerson <[EMAIL PROTECTED]> wrote: > That should do it! > > Jeremy Thomerson >

RE: Component with id [[feedback]] a was not found while trying to perform markup update. Make sure you called component.setOutputMarkupId(true) on the component whose markup you are trying to update.

2008-12-08 Thread Jeremy Thomerson
That should do it! Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original Message- From: James Carman <[EMAIL PROTECTED]> Sent: Monday, December 08, 2008 8:27 PM To: users@wicket.apache.org Subject: Re: Component with id [[feedback]] a was not found while

Re: Component with id [[feedback]] a was not found while trying to perform markup update. Make sure you called component.setOutputMarkupId(true) on the component whose markup you are trying to update.

2008-12-08 Thread James Carman
How about setOutputMarkupPlaceholderTag(true)? On Mon, Dec 8, 2008 at 9:20 PM, Jeremy Thomerson <[EMAIL PROTECTED]> wrote: > > There's another method that you need to set true on construction - I can't > remember the exact name now, but it's something like > setTransparentPlaceholder or somethin

RE: Component with id [[feedback]] a was not found while trying to perform markup update. Make sure you called component.setOutputMarkupId(true) on the component whose markup you are trying to update.

2008-12-08 Thread Jeremy Thomerson
There's another method that you need to set true on construction - I can't remember the exact name now, but it's something like setTransparentPlaceholder or something. Basically it's because the feedback panel isn't visible on the first rendering because there's no messages. Therefore, it's no

Component with id [[feedback]] a was not found while trying to perform markup update. Make sure you called component.setOutputMarkupId(true) on the component whose markup you are trying to update.

2008-12-08 Thread novotny
Hi, I have a modal dialog (a stateless form) with a feedback panel. The code looks like: public final class SignInForm extends StatelessForm { private FeedbackPanel feedback; public SignInForm(final String id) { // sets a compound model on this form, every component without an

Re: Job Opening

2008-12-08 Thread Karl M. Davis
By the way, the address I mentioned is for our admin. lady-- she just collects the resumes, schedules interviews, etc. If you have any questions or are curious about the job feel free to shoot me an email. - Original Message - From: "Karl M. Davis" <[EMAIL PROTECTED]> To: users@wicke

Re: LoadableDetachableModel in Listview

2008-12-08 Thread James Carman
You make a good point. A Wicket model is inherently tied to Wicket (it has to implement IModel). Perhaps I am a little too anal sometimes :) On Mon, Dec 8, 2008 at 4:44 PM, Martijn Dashorst <[EMAIL PROTECTED] > wrote: > Why? The model is nothing more than a locator, a bridge if you like > betwe

Re: Monitor session size in Tomcat

2008-12-08 Thread David Ojeda
Hello, any new findings on this matter? I am interested too in monitoring session size David On Monday 01 December 2008 14:15:20 Adriano dos Santos Fernandes wrote: > So does that mean there is nothing already made to monitor session size > at container level instead of application level? > >

Re: LoadableDetachableModel in Listview

2008-12-08 Thread Martijn Dashorst
Why? The model is nothing more than a locator, a bridge if you like between your data stuff and the view layer. There is no reason why it shouldn't be able to work with the view component. There is absolutely no reason why one should get all anal about separating classes that live in the user inter

Re: LoadableDetachableModel in Listview

2008-12-08 Thread James Carman
Does anyone use a custom validator to implement this type of stuff? I'm not crazy about a model implementing this functionality, especially during a "get" operation. Also, your model has to be aware of your view (the call to the form's clearInput() method). I don't know. Something about it just

Re: LoadableDetachableModel in Listview

2008-12-08 Thread James Carman
Using this, you have to make sure this model gets reset on form submit, too, right? With this, you have to make sure you reset the model's cached version value upon successful form submit, too, right? On Mon, Dec 8, 2008 at 4:13 PM, Martijn Dashorst <[EMAIL PROTECTED] > wrote: > something like:

Job Opening

2008-12-08 Thread Karl M. Davis
We're looking to hire a software engineer here in Tucson, AZ. The "official" posting isn't up yet but I wanted to try the Wicket community first anyways. That aside, we're working on some interesting stuff and looking for someone who writes clean, object-oriented, and well-tested code. Here are

Re: LoadableDetachableModel in Listview

2008-12-08 Thread Martijn Dashorst
something like: protected Object load() { Entity entity = ...; if(entity.getVersion() != version) { Session.get().warn("Someone else modified the foo in the database, please review these changes and re-enter your data."); version = entity.getVersioni(); form.clearIn

Re: TabbedPanel#addTab

2008-12-08 Thread alexander.elsholz
hi, thanks a lot. regards alex Thies Edeling wrote: > > I don't understand your question :) the tab list is just a list with > AbstractTabs. Retrieve the list (getTabs() on TabbedPanel), add a new > AbstractTab et voila. > > alexander.elsholz wrote: >> hi, >> >> i don't understand your sol

Re: LoadableDetachableModel in Listview

2008-12-08 Thread James Carman
Somehow you have to reset the cached version value (assume you'd use a validator for this I guess), since it's not the same as the one in the db, right? On Mon, Dec 8, 2008 at 3:34 PM, Martijn Dashorst <[EMAIL PROTECTED] > wrote: > The user doesn't have to refresh, because she already gets the ne

Re: Google Chrome & Wicket

2008-12-08 Thread Joel Halbert
I've just updated to 1.4rc1, and it works. On Mon, 2008-12-08 at 20:40 +, Joel Halbert wrote: > Hi, > > Just picking up on this thread: > > http://www.nabble.com/Google-Chrome---Wicket-td19277005.html > > and this chrome bug report: > > http://code.google.com/p/chromium/issues/detail?id=10

Google Chrome & Wicket

2008-12-08 Thread Joel Halbert
Hi, Just picking up on this thread: http://www.nabble.com/Google-Chrome---Wicket-td19277005.html and this chrome bug report: http://code.google.com/p/chromium/issues/detail?id=1085 Has anyone had any luck getting Wicket ajax to work in 1.4m3 (or greater). I've not been able to get it working

Re: LoadableDetachableModel in Listview

2008-12-08 Thread Martijn Dashorst
The user doesn't have to refresh, because she already gets the new values... that is why there's optimistic locking in place. One solution would be to clear the user input and have them re-enter the data. Martijn On Mon, Dec 8, 2008 at 9:23 PM, James Carman <[EMAIL PROTECTED]> wrote: > Right, you

Re: LoadableDetachableModel in Listview

2008-12-08 Thread James Carman
Right, you'll have to figure out what you want to do at that point. You could set an error message telling them to refresh the screen I guess (as long as it's a bookmarkable URL and it will actually refresh stuff)? On Mon, Dec 8, 2008 at 3:15 PM, Martijn Dashorst <[EMAIL PROTECTED] > wrote: > Wh

Re: LoadableDetachableModel in Listview

2008-12-08 Thread Martijn Dashorst
Why? There's nothing keeping you from storing the version too, and checking that against the newly loaded entity... The question is... what do you do when the version is modified from your original object? Martijn On Mon, Dec 8, 2008 at 9:11 PM, James Carman <[EMAIL PROTECTED]> wrote: > There ar

Re: LoadableDetachableModel in Listview

2008-12-08 Thread James Carman
There are many ways to skin a cat. LDMs pretty much throw optimistic locking out the window, agreed (since they just go get a "fresh" copy of the object each time typically)? So, if you want to use optimistic locking, then you shouldn't be using LDMs in the first place. On Mon, Dec 8, 2008 at 2:

Re: Clustering Problems / java.lang.StackOverflowError

2008-12-08 Thread Jeremy Levy
Bruno, I'm working on reproducing it, it did not happen during any of our testing. I'm working on modifying our scripts so that we can reproduce it locally. My gut is that it's related to deserializng a replicated value in the session. I'm thinking of disabling clustering in tomcat and restarti

Contract opportunity: San Francisco Bay Area

2008-12-08 Thread JulianS
We are a startup company in Mountain View with lots of Wicket code to build. I need a contractor to work with me to get it done. Must be able to come into the Mountain View office at least several days a week. Julian -- View this message in context: http://www.nabble.com/Contract-opportunity%3

Re: TinyMCE init method rendering twice

2008-12-08 Thread Pointbreak
You seem to be using an old version of tinymce. AFAIK, the latest version does not use "mode: specific_textareas", but "mode: exact" in the tinyMCE.init call. Update to the latest version, and you should be fine I guess. You can remove the statusbar via TinyMceSettings.setStatusbarLocation(null) (

Re: LoadableDetachableModel in Listview

2008-12-08 Thread Erik van Oosten
So I guess you're not levering the optimistic locking of Hibernate. Regards, Erik. James Carman wrote: It would work the same way, since it grabs its stuff up-front. Behind the scenes, you use a LDM as the actual model. On Mon, Dec 8, 2008 at 1:56 PM, Daan van Etten <[EMAIL PROTECTED]> w

Re: Wicket and Jetty Persistent Sessions not playing together

2008-12-08 Thread Will Jaynes
mmm. I'm developing with the maven jetty plugin (jetty 6.1.14). I stop and start jetty quite often without losing the http session, but I don't see any exception. Will On Mon, Dec 8, 2008 at 5:40 AM, Joel Halbert <[EMAIL PROTECTED]> wrote: > The jetty team have opened up an issue to look at fixin

RE: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-08 Thread Graeme Knight
Gotya. I'll get to it as soon as I can (perhaps a few days). Thanks for your help. I hope I can give back to the community! Rgds, Graeme. Bruno Cesar Borges wrote: > > Just go to http://cwiki.apache.org/WICKET > > The website is self explanatory. ;-) > > Good luck! > > -Original Messa

Re: LoadableDetachableModel in Listview

2008-12-08 Thread James Carman
It would work the same way, since it grabs its stuff up-front. Behind the scenes, you use a LDM as the actual model. On Mon, Dec 8, 2008 at 1:56 PM, Daan van Etten <[EMAIL PROTECTED]> wrote: > Hi James, > > How does this work with a Hibernate-managed object? Did you test it with > Hibernate? > >

RE: Clustering Problems / java.lang.StackOverflowError

2008-12-08 Thread Bruno Cesar Borges
Jeremy, could you please try to debug and see which class Wicket is trying to resolve at class IObjectStreamFactory, line 70? org.apache.wicket.util.io.IObjectStreamFactory$1.resolveClass(IObjectStreamFactory.java:70) Thanks, Bruno -Original Message- From: Jeremy Levy [mailto:[EMAIL PRO

Re: LoadableDetachableModel in Listview

2008-12-08 Thread Daan van Etten
Hi James, How does this work with a Hibernate-managed object? Did you test it with Hibernate? Op 8 dec 2008, om 19:45 heeft James Carman het volgende geschreven: Sorry for the delay. A shadow model basically grabs the actual model's value in the beginning and caches it. You actually edit

RE: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-08 Thread Bruno Cesar Borges
Just go to http://cwiki.apache.org/WICKET The website is self explanatory. ;-) Good luck! -Original Message- From: Graeme Knight [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 4:02 PM To: users@wicket.apache.org Subject: Re: Populate IFRAME innerHTML on AJAX load of panel.

TinyMCE init method rendering twice

2008-12-08 Thread jchappelle
I have a TinyMCE component in one of my pages and I am trying to remove the "Path:" toolbar at the bottom. I have noticed that the init method renders on my page twice. I only have one textarea on my page and I am adding a custom TinyMceBehavior to it. I am trying to disable the visualaid button(i

Re: LoadableDetachableModel in Listview

2008-12-08 Thread James Carman
Sorry for the delay. A shadow model basically grabs the actual model's value in the beginning and caches it. You actually edit the shadowed model. Then, when you're done with all of your edits you call "commit" on all of your shadow models to write back into the originals. So, I don't think you'

Re: spring proxy for my model causes notSerializable exception

2008-12-08 Thread jWeekend
Miro, Your ReassignGrantsOfficerPage obviously _implements_ Serializable (since Component does, as you correctly say) but that does not mean that the subclasser can't break the contract himself by, usually inadvertently, giving his sub-class non-serialisable state! It seems that other people ha

Re: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-08 Thread Graeme Knight
Hi Bruno. I WILL create a Wiki page soon. How do I do this - is there a process? Rgds, Graeme. Bruno Cesar Borges wrote: > > Well done Graeme! > > =) > > Now, please create a Wiki page with all this information, for God's sake! > > cheers, > bruno > > -Original Message- > From: G

Clustering Problems / java.lang.StackOverflowError

2008-12-08 Thread Jeremy Levy
We have recently moved our application over to using clustering, we are running JBoss 4.2.3 with Tomcat 6 bundled using two nodes. After a few seconds with both nodes active and receiving traffic we start to see StackOverFlow exceptions. They don't originate from within our code and I'm a bit at

Re: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-08 Thread Bruno Cesar Borges
Well done Graeme! =) Now, please create a Wiki page with all this information, for God's sake! cheers, bruno -Original Message- From: Graeme Knight [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 3:46 PM To: users@wicket.apache.org Subject: RE: Populate IFRAME innerHTML on AJ

RE: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-08 Thread Graeme Knight
Yahhhyahhh! The answer appears to be a HeaderContributor with a call to renderOnLoadJavascript. Bruno - you're a star! I will respond with a more sensible sentence than above as soon as I have proven it (so far it works). Rgds, Graeme. Bruno Cesar Borges wrote: > > Try the setTimeout('myfun

RE: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-08 Thread Bruno Cesar Borges
Try the setTimeout('myfunction()', 100); function. The second argument is the timeout (in miliseconds) to wait before evaluating the first argument. There's also a way to execute your javascript function only after body is fully loaded. Google for that. Maybe that's your answer. cheers, Bruno (

Re: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-08 Thread Graeme Knight
Not sure about this solution. The content of the iframe is visible then disappears... Hhm. Graeme Knight wrote: > > Hi guys, > > I'm making some progress. wicketGlobalPostCallHandler doesn't seem to be > working for me, but I can do something like this after the iframe: > > StringBuil

Re: TabbedPanel#addTab

2008-12-08 Thread Thies Edeling
I don't understand your question :) the tab list is just a list with AbstractTabs. Retrieve the list (getTabs() on TabbedPanel), add a new AbstractTab et voila. alexander.elsholz wrote: hi, i don't understand your solution. int i counter=0; ... AjaxTabbedPanel() tab = new AjaxTabbedPanel("tab

Re: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-08 Thread Graeme Knight
Hi guys, I'm making some progress. wicketGlobalPostCallHandler doesn't seem to be working for me, but I can do something like this after the iframe: StringBuilder buffer = new StringBuilder( "" ); buffer.append( "IFrameArea.populateContent( false, true, 'hello world' );" );

Re: spring proxy for my model causes notSerializable exception

2008-12-08 Thread miro
is ReassignGrantsOfficerPage Serializable? Do you want it to be serialised in the page store? Yes ReassignGrantsOfficerPage is Serializable because all wicket components are serializable, yes. ReassignGrantsOfficerDTO represents the user entered form values and no lookup values so I dont

Re: Best way to implement OSIV (open session in view) pattern in Wicket

2008-12-08 Thread shetc
See http://www.jroller.com/cardsharp/entry/open_session_in_view_pattern -- View this message in context: http://www.nabble.com/Best-way-to-implement-OSIV-%28open-session-in-view%29-pattern-in-Wicket-tp20871924p20896684.html Sent from the Wicket - User mailing list archive at Nabble.com. --

Re: TabbedPanel#addTab

2008-12-08 Thread alexander.elsholz
hi, i don't understand your solution. int i counter=0; ... AjaxTabbedPanel() tab = new AjaxTabbedPanel("tabs", new ArrayList()) add(tab); add(new AjaxLink("link") { public void onClick(AjaxRequestTarget target) { tab.add(new AbstractTab(new Model("t

Re: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-08 Thread Graeme Knight
Hi Ernesto, No - I didn't solve this problem as yet. However, this is part of the process of parsing the HTML prior to insertion on the innerHTML. If I can get that bit working I'm going to get back to our thread on the CIDs very soon! Cheers, Graeme. Graeme Knight wrote: > > Hi Bruno, > > N

Re: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-08 Thread Graeme Knight
Hi Bruno, No I didn't try this the Label idea... I'll give it a go! Thanks for the link I'll let you know how it works out ... watch this space! Bruno Cesar Borges wrote: > > Did you try to add a Label with CSS hidden attribute that executes your > script? Something like this: > > > myJa

Re: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-08 Thread Ernesto Reinaldo Barreiro
Hi, Did you solve the problem of servicing image contents of a previous post? Cheers, Ernesto Graeme Knight wrote: > Hi Bruno, > > Right, that far I DID get. I have a Javascript file that contains the > required Javascript for my editor. > > (Sorry, I don't have the code now): > > When the use

Re: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-08 Thread Bruno Cesar Borges
Did you try to add a Label with CSS hidden attribute that executes your script? Something like this: myJavascriptMethod(); I'm really not sure if this actually works, but you could also check this Wiki page (yeah, it exists) http://cwiki.apache.org/WICKET/howto-do-javscript-call-after-each

Re: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-08 Thread Graeme Knight
Hi Bruno, Right, that far I DID get. I have a Javascript file that contains the required Javascript for my editor. (Sorry, I don't have the code now): When the user hits the tab and the panel goes into another context I create the panel, add a HeaderContributor that adds the Javascript file.

Re: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-08 Thread Bruno Cesar Borges
Put that code into some .js file and add it to your panel as a HeaderContributor. Then you are ready to go. -Original Message- From: Graeme Knight [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 11:48 AM To: users@wicket.apache.org Subject: Re: Populate IFRAME innerHTML on AJAX

RE: AjaxSelfUpdatingBehavior problem with HttpSessionStore

2008-12-08 Thread Mikko Pukki
Created JIRA issue WICKET-1971 and attached quickstart to it. https://issues.apache.org/jira/browse/WICKET-1971 -Original Message- From: Mikko Pukki [mailto:[EMAIL PROTECTED] Sent: 4. joulukuuta 2008 22:49 To: users@wicket.apache.org Subject: RE: AjaxSelfUpdatingBehavior problem with Ht

Re: Populate IFRAME innerHTML on AJAX load of panel.

2008-12-08 Thread Graeme Knight
Hey Bruno, Perhaps my ramblings with myself didn't make myself clear. I am simply wanting to populate the innerHTML with content. I have it working wonderfully with Tapestry but not with Wicket as I'm not sure of the correct way of doing it. Essentially my component will be a wysiwyg editor. I

Re: LoadableDetachableModel in Listview

2008-12-08 Thread Benjamin Ernst
Hi James, thanks for your help. I think "shadow" models could work, when I only access non-lazy fields. Otherwise I would get a LazyInitializationException. Or what do you exactly mean by "shadow" models? - Benjamin On Mon, Dec 8, 2008 at 1:32 PM, James Carman <[EMAIL PROTECTED]>wrote: > Woul

Re: TabbedPanel#addTab

2008-12-08 Thread Thies Edeling
Yes you can add a new or replace existing tabs. Just add the MultiTabbedPanel to an ajaxrequesttarget to update the tabs. alexander.elsholz wrote: Hi, exists a possibility to add a new tab to an ajax-tabbed-pane without replacing existing instance? the reason, because of i wont replace my tab

TabbedPanel#addTab

2008-12-08 Thread alexander.elsholz
Hi, exists a possibility to add a new tab to an ajax-tabbed-pane without replacing existing instance? the reason, because of i wont replace my tab is to hold the component-state of the other tabs. regards alex -- View this message in context: http://www.nabble.com/TabbedPanel-addTab-tp2089513

Re: Changing appearance of ModalWindow?

2008-12-08 Thread James Carman
Yes, Firebug can be very helpful. I especially like the feature they have where you can "turn off" certain CSS rules to see what happens. This is very useful when you want to learn what certain CSS rules do. On Mon, Dec 8, 2008 at 7:22 AM, Eyal Golan <[EMAIL PROTECTED]> wrote: > You are most we

Re: LoadableDetachableModel in Listview

2008-12-08 Thread James Carman
Would "shadow" models help? On Mon, Dec 8, 2008 at 7:06 AM, Benjamin Ernst <[EMAIL PROTECTED]>wrote: > Hi everybody, > > I have a little Problem with LDMs: > > I have a page with a ListView and for each item in the ListView the user > can > open a modalWindow to edit the item. > > My Problem is,

Re: Changing appearance of ModalWindow?

2008-12-08 Thread Eyal Golan
You are most welcome. I would suggest you use Firefox, add Firebug and start researching by yourself. Just "Inspect element' with Firebug and see the calsses names. This is what I did. BTW, Wicket provides two basic "themes" for the modal window. You can put in the modal's constructor: setCssClass

Re: LoadableDetachableModel in Listview

2008-12-08 Thread Bruno Cesar Borges
Put your object into user's session, just like a shopping chart. :-) -Original Message- From: Benjamin Ernst [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 10:06 AM To: users@wicket.apache.org Subject: LoadableDetachableModel in Listview Hi everybody, I have a little Problem

LoadableDetachableModel in Listview

2008-12-08 Thread Benjamin Ernst
Hi everybody, I have a little Problem with LDMs: I have a page with a ListView and for each item in the ListView the user can open a modalWindow to edit the item. My Problem is, that I don't want to persist the item to the DB from the modalWindow. Only after the User confirms the changes in the

Re: Changing appearance of ModalWindow?

2008-12-08 Thread Ashis
Thank you very much it worked. I am very grateful to you. As you said w_captionText is for header part. Can you give me other property like changing modal window borders etc. Once again thanks Eyal Golan -- View this message in context: http://www.nabble.com/Changing-appearance-of-ModalWindow

Re: Changing appearance of ModalWindow?

2008-12-08 Thread Eyal Golan
why do you add modal1.setCssClassName("w_caption"); ? Wicket adds all classes to the DOM objects (for example: the header, which is called w_captionText). The only thing you need is something like: add(HeaderContributor.forCss("myCustomizedCss.css")); - in your panel / page. (view source to check i

Re: Changing appearance of ModalWindow?

2008-12-08 Thread Ashis
Actually i mean i have added css class name as: modal1.setCssClassName("w_caption"); and added property in it as: span .w_caption{ color: red; . ... } But it does not work.No any change in modal window? -- View this message in context: http://www.nabble.com/Changing-appearance-of-ModalWind

Re: Wicket and Jetty Persistent Sessions not playing together

2008-12-08 Thread Susan Liebeskind
Joel Halbert wrote: OK, thanks for the reply. I'm at least glad to hear that this appears to be a 'known issue', rather than some local quirk of my setup. I'll liase with the Jetty team to see if there is a workaround and will keep this thread updated. Joel On Fri, 2008-12-05 at 10:28 -0800,

Re: Is there any way to mount an action

2008-12-08 Thread Vitaly Tsaplin
I have a base page. As I said it's perfectly ok if the link is unique. If not and it jumps to an existing page (so you don't have to create a new one + markup) all links that you drop on your pages have to have paired Java objects instantiated and added to the wicket hierarchy (+ wicket:id in the

Re: Is there any way to mount an action

2008-12-08 Thread Martijn Dashorst
You already need the link in the markup and you need the action in the javacode. What are you complaining about? You don't use base pages? Martijn On Mon, Dec 8, 2008 at 11:55 AM, Vitaly Tsaplin <[EMAIL PROTECTED]> wrote: >I just called it "action". I have never used any action based > frame

Re: Is there any way to mount an action

2008-12-08 Thread Vitaly Tsaplin
I just called it "action". I have never used any action based framework before wicket :) You can think about an action I mentioned as about a method that can be mounted. If you create a link as was proposed you have to create a Java object with onClick () implemented that is referencing to

Re: Wicket and Jetty Persistent Sessions not playing together

2008-12-08 Thread Joel Halbert
The jetty team have opened up an issue to look at fixing this issue: http://jira.codehaus.org/browse/JETTY-821 On Mon, 2008-12-08 at 10:35 +, Joel Halbert wrote: > OK, thanks for the reply. I'm at least glad to hear that this appears to > be a 'known issue', rather than some local quirk of

Re: Is there any way to mount an action

2008-12-08 Thread Martijn Dashorst
Wicket is not an action framework. There won't be any mount action thingies if I can help it. Why not just create a LogoutLink extends Link which does this? Think components, not actions. Martijn On Mon, Dec 8, 2008 at 11:29 AM, Vitaly Tsaplin <[EMAIL PROTECTED]> wrote: > Hi Martijn, > > Than

Re: Embedding advanced flash object

2008-12-08 Thread Maarten Bosteels
Maybe this wiki page can help you, it does something very similar: http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html Maarten On Sun, Dec 7, 2008 at 10:53 PM, Jeremy Thomerson <[EMAIL PROTECTED] > wrote: > Well, your email has a typo "wicked" - it might be that. I've never seen >

Re: Wicket and Jetty Persistent Sessions not playing together

2008-12-08 Thread Joel Halbert
OK, thanks for the reply. I'm at least glad to hear that this appears to be a 'known issue', rather than some local quirk of my setup. I'll liase with the Jetty team to see if there is a workaround and will keep this thread updated. Joel On Fri, 2008-12-05 at 10:28 -0800, Igor Vaynberg wrote:

Re: Is there any way to mount an action

2008-12-08 Thread Vitaly Tsaplin
Hi Martijn, Thank you for your help. I meant that defining logic at the mounting point sometimes is a better idea then to do it at the point where we instantiate an anonimous link for instance. Regarding your example we have to have a page class + associated markup which is not necessary esp

Re: Is there any way to mount an action

2008-12-08 Thread Martijn Dashorst
public class LogoutPage extends WebPage { public LogoutPage() { add(new Label("msg", "You have been logged out.")); getSession().invalidate(); } } mountBookmarkablePage("/logout", LogoutPage.class); Martijn On Mon, Dec 8, 2008 at 10:28 AM, Vitaly Tsaplin <[EMAIL PROTECTED

Re: Changing appearance of ModalWindow?

2008-12-08 Thread Eyal Golan
you're welcome :) what is exactly the problem with adding a CSS property? I'm not a CSS / HTML expert but maybe I can help. Eyal Golan [EMAIL PROTECTED] Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it'

Is there any way to mount an action

2008-12-08 Thread Vitaly Tsaplin
Hi there, Something like: mountAction ("/logout", new Action () { public void perform () { doLogout (); } ); Is is somehow possible? Vitaly - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: Changing appearance of ModalWindow?

2008-12-08 Thread Ashis
Thanks again Eyal Golan Header contribution really worked but i have problem in adding css property. Would you please give me further details on css part Thanks -- View this message in context: http://www.nabble.com/Changing-appearance-of-ModalWindow--tp20880252p20891255.html