Re: [Wicket-user] cannot disable AjaxLink

2006-11-28 Thread Erik van Oosten
Looking in the code of AjaxLink I see no special code for enabled/disabled state. If it fits what you need, you could try AjaxFallBackLink. Otherwise try to extend AjaxLink and override the method renderComponentTag in which you remove the onclick attribute from the tag. (Don't forget to call s

Re: [Wicket-user] ajax replace using a fragment

2006-11-28 Thread karthik Guru
silly me - apologies! This is what I did. public class QuickStartPanel extends Panel { public QuickStartPanel(String id) { super(id); add(new AjaxFallbackLink("ajaxLink"){ @Override public void onClick(AjaxRequestTarget ajaxTarget) { Fragmen

[Wicket-user] Even if you choose the "right" specification, it still is likely to evolve over time.

2006-11-28 Thread Simpson Roy
If you disagree you are welcome to argue with me, but you are buying! This year's conference was littered with talk and demos on SOA, ESB, Web Services, orchestration etc. However, the real world is full of examples of asynchronous processes that deal successfully with exactly the same issues. I

Re: [Wicket-user] Interesting alternatives to Hibernate

2006-11-28 Thread Carfield Yim
On 11/28/06, cowwoc <[EMAIL PROTECTED]> wrote: > > Anyone ever look into Mr. Persister? Is it any good? > http://www.jenkov.com/mrpersister/introduction.tmpl > I have and think this is better than ibatis, but my boss like to stick with ibatis because of the large user base ---

[Wicket-user] cannot disable AjaxLink

2006-11-28 Thread De Soca
Hello, just wondering if this a bug or a feature. Using one of the AjaxLink samples included in the Wicket examples, it seems that the setEnabled flag is ignored for AjaxLinks. i.e ajaxLink.setEnabled(false); Seems to have no effect. Is this a feature or defect etc? Thanks. -- View this mes

Re: [Wicket-user] Adding onload event in Ajax border

2006-11-28 Thread James McLaughlin
Hi Alberto, I think a more elegant solution is being worked out in 2.0, but for now I've been doing something like this: public class MyJavascriptGizmo extends AbstractBehavior { public void bind (Component component) { component.getWebPage ().getBodyContainer().addOnLoadModifier(ge

[Wicket-user] Adding onload event in Ajax border

2006-11-28 Thread Alberto Bueno
My problem is that I want to call to a javascript method after the rendering of a page or after the rendering of the component with ajax. Now I have a border and I want to add in the component an onload event. For instance: The alert runs correctly if I use the border in the

Re: [Wicket-user] Component Render and FeedbackPanel

2006-11-28 Thread Igor Vaynberg
class MyPanel { private final FeedbackPanel fp; public boolean isvisible() { return fp.anymessage(); }} -igor On 11/28/06, Jonathan Sharp <[EMAIL PROTECTED]> wrote: I've developed a custom component (extends Panel) which wraps a FeedbackPanel. I want to show or hide my panel based upon w

[Wicket-user] Component Render and FeedbackPanel

2006-11-28 Thread Jonathan Sharp
I've developed a custom component (extends Panel) which wraps a FeedbackPanel. I want to show or hide my panel based upon whether feedback messages are present. I've tried implementing onComponentTag, onBeforeRender by: if (getSession().getFeedbackMessages().isEmpty()) { Add an attribute modif

Re: [Wicket-user] DropDownChoice . set selected choice automatically

2006-11-28 Thread Igor Vaynberg
this comes up very often choices set and read their selection from their model object so all you have to do is initialize the model object to the value you want selected -igor On 11/28/06, Vincent Renaville <[EMAIL PROTECTED]> wrote: Dear, I search a solution for this problem, I have store

[Wicket-user] DropDownChoice . set selected choice automatically

2006-11-28 Thread Vincent Renaville
Dear, I search a solution for this problem, I have store Dropdownchoice selected item into my database. If the user want he can retrieve the data from the DB, but how to set the selected choice of a Dropdownchoice , to the value that it stores into the DB. Hi hope you understand me :) Kind regar

Re: [Wicket-user] Ending up on the page that holds the Panel with the link I just clicked on (how about that for a catchy subject?)

2006-11-28 Thread Igor Vaynberg
or better yet pass a loadabledetachablemodel that can load the address to the panel instead of the address object directly. that way you dont need to mess with onattach. -igor On 11/28/06, Johannes Fahrenkrug <[EMAIL PROTECTED]> wrote: Marc, Thank you! I'll try that! - Johannes Marc-Andre

Re: [Wicket-user] ajax causes page to expire when 2 browser tabsareopen with bookmarkable pages

2006-11-28 Thread Igor Vaynberg
hmm, so it seems like when you paste a url into an already opened window the window.name attribute is not reset back to null. this is rather unfortunate because it is what we use to create an autopagemap. if you are talking about just pasting a url into another window there is no way to create it

Re: [Wicket-user] Ending up on the page that holds the Panel with the link I just clicked on (how about that for a catchy subject?)

2006-11-28 Thread Johannes Fahrenkrug
Marc, Thank you! I'll try that! - Johannes Marc-Andre Houle wrote: > Probably you init the panel in the constructor, maybe try to > initialize the panel in the onAttach() method. When using this > method, it reload the data every time the page is refreshed. > > Marc > > On 11/28/06, *Johann

Re: [Wicket-user] Question about StringResourceModel

2006-11-28 Thread Nick Heudecker
Got this sorted out. The problem was on my end - the model object was null. Apologies. On 11/28/06, Johan Compagner <[EMAIL PROTECTED]> wrote: please add an issue to our jira. On 11/27/06, Nick Heudecker <[EMAIL PROTECTED]> wrote: > > I just had a chance to test "notice.notice". Here's what

Re: [Wicket-user] Interesting alternatives to Hibernate

2006-11-28 Thread cowwoc
Anyone ever look into Mr. Persister? Is it any good? http://www.jenkov.com/mrpersister/introduction.tmpl Thanks, Gili signature.asc Description: OpenPGP digital signature - Take Surveys. Earn Cash. Influence the Fu

Re: [Wicket-user] Ending up on the page that holds the Panel with the link I just clicked on (how about that for a catchy subject?)

2006-11-28 Thread Marc-Andre Houle
Probably you init the panel in the constructor, maybe try to initialize the panel in the onAttach() method. When using this method, it reload the data every time the page is refreshed. Marc On 11/28/06, Johannes Fahrenkrug <[EMAIL PROTECTED]> wrote: Igor, Thank you for your help. I've tried

Re: [Wicket-user] Question about StringResourceModel

2006-11-28 Thread Johan Compagner
please add an issue to our jira. On 11/27/06, Nick Heudecker <[EMAIL PROTECTED]> wrote: I just had a chance to test "notice.notice". Here's what I got: java.util.MissingResourceException: Unable to find resource: notice for component: regInProgress On 11/26/06, Martijn Dashorst <[EMAIL PR

Re: [Wicket-user] Tapestry 5 instantaneous reloads

2006-11-28 Thread Johan Compagner
I just tried this jdk: http://www-128.ibm.com/developerworks/java/jdk/eclipse/ This is J9 from IBM which is java5 jdk as far as i can see. And what that jdk can do is method additions! In my first simple test i could rename a method in a class and re factor all the calls to it. And the next time

Re: [Wicket-user] Job in USA

2006-11-28 Thread Francis Amanfo
Hey, Was just curious and checked your site. One of the job requirements is: *Be able to repeatedly lift 5-20 pound boxes. *Note that people in this group can't lift hardware. We lift heavy duty software so we don't need muscles, just a reminder :-) On 11/28/06, Rhonda <[EMAIL PROTECTED]> wrote

[Wicket-user] Job in USA

2006-11-28 Thread Rhonda
Good day Sir/Madam, We inform you about new vacancies in eCommerce Internet Company. If you are interested in our offer, please, write an e-mail to our manager Eric Delisle and visit our website http://www.e-c0mmerce.us/jobs.html to receive a Representative Contract and detailed information about

Re: [Wicket-user] Problem disabling PageMaps

2006-11-28 Thread Johan Compagner
PageMaps don't write anything to an outputstream. Do you run your app in deployment or development mode? (in development the pages are tested for serialization) The qeustion is even with the settings you do there. Do you still really have more then one page in the session as an attribute? Debug t

[Wicket-user] Problem disabling PageMaps

2006-11-28 Thread A. Zwaan
Hi all, Our web-application is getting OutOfMemoryErrors and PageMaps seem to be the cause (they seem to be writing a lot to an outputstream), I've been trying to disable them, but they keep showing up with multiple instances of the same page in the session (which is not needed in our case). I'

Re: [Wicket-user] setResponsePage() with page map

2006-11-28 Thread Johan Compagner
RequestCycle.get().setRequestTarget(new BookmarkablePageRequestTarget(pagemal,clss,params); RequestCycle.get().setRedirect(true) johan On 11/28/06, Nili Adoram <[EMAIL PROTECTED]> wrote: Hi all, Component.setResponsePage(Class cls, PageParameters params) creates a bookmarkable page. However

[Wicket-user] setResponsePage() with page map

2006-11-28 Thread Nili Adoram
Hi all, Component.setResponsePage(Class cls, PageParameters params) creates a bookmarkable page. However I cannot determine in which page map it is created. How can I overload this method setResponsePage(String pageMapName, Class cls, PageParameters params) ? Thanks, -- Nili --

Re: [Wicket-user] Ending up on the page that holds the Panel with the link I just clicked on (how about that for a catchy subject?)

2006-11-28 Thread Johannes Fahrenkrug
Igor, Thank you for your help. I've tried exactly that already. The problem was that the address panel didn't show the new address when the "back"-Page was opened after editing the address. Any ideas how to make it show the updated address? - Johannes Igor Vaynberg wrote: > in the address pan

Re: [Wicket-user] ajax causes page to expire when 2 browser tabsareopen with bookmarkable pages

2006-11-28 Thread Nili Adoram
If 2 browser tabs are already open and I paste the same URL into both tabs they are both created in the same page map. WebPage.onNewBrowserWindow() hook is never called if the tabs are already open. Thus, after the first is refreshed by Ajax, the second fails to refresh by Ajax. How can I VERIF

Re: [Wicket-user] wicked wicket words :)

2006-11-28 Thread Johan Compagner
we could make the namespace a setting. Or maybe we could make all those statics a property... johan On 11/27/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: One of the ideas behind IRequestCodingStrategy was to enable this. Unfortunately, the default implementation of this, WebRequestCodingStr