Re: IntegerConverter cannot parse or display locale specific format like 999,999

2008-04-08 Thread Johan Compagner
It is disabled i think because else all the numbers that we display get by default grouping, thats not something most want for integers So yes installing your own is the right thing to do On 4/8/08, Matthew Young [EMAIL PROTECTED] wrote: I don't see any good reason to call

Re: warning with enclosure

2008-04-08 Thread Eyal Golan
anyone ?? On Mon, Apr 7, 2008 at 9:52 AM, Eyal Golan [EMAIL PROTECTED] wrote: hello all, I have an enclosure tag with two inner ones. wicket:enclosure child=allChecked input type=checkbox wicket:id=allChecked / label wicket:id=allSelectedLabel/label /wicket:enclosure

Re: IntegerConverter cannot parse or display locale specific format like 999,999

2008-04-08 Thread Igor Vaynberg
maybe in string-object we can try both? first with grouping off and then with groupin on? that way it should cover all possible usecases... -igor On Mon, Apr 7, 2008 at 11:39 PM, Johan Compagner [EMAIL PROTECTED] wrote: It is disabled i think because else all the numbers that we display get

Wicket and Existing Strut application

2008-04-08 Thread xdirewolfx
Hi, I'm thinking of migrating the current strut web app to wicket. However, the application is pretty large in size. Is there any pointer to migrate page by page or section by section? (2 web app existing at the same time and behaving as a single web app) Thank you in advance -- View this

Re: Problems with cookie

2008-04-08 Thread Fabien D.
Thank you for your response... But it's possible to explain me a little more??? I have tried : ((WebResponse)getRequestCycle().getResponse()).addCookie(cookieUser); ((WebResponse)getRequestCycle().getResponse()).addCookie(cookiePassword); But i Think the problem comes from the method in my

@SpringBean in init

2008-04-08 Thread Mathias P.W Nilsson
Hi! I have extended the SpringWebApplication and the init method looks like addComponentInstantiationListener(new SpringComponentInjector(this)); I want to access my @SpringBean in the init method but it fails. How can I do this? I need to cache all users from a webservice in application

Re: Problems with cookie

2008-04-08 Thread Igor Vaynberg
like i said change your code to ((WebResponse)RequestCycle.get().getResponse()).addCookie(... -igor On Tue, Apr 8, 2008 at 12:48 AM, Fabien D. [EMAIL PROTECTED] wrote: Thank you for your response... But it's possible to explain me a little more??? I have tried :

localizer and variables

2008-04-08 Thread Mathias P.W Nilsson
Hi! In my property file i can do this email.subject=Hi {name}! Here is your confirmation. How can I use this in my wicket page? I have looked at getLocalizer() but there is no were to set the name variable. How can I use this in wicket? -- View this message in context:

Re: @SpringBean in init

2008-04-08 Thread Korbinian Bachl - privat
Hi Mathias, in short: you cant; the @SpringBean injection is usually done before the class is really created so at a time wicket and spring aren't registered yet; What you could do (not 100% sure) would be to call a simple proxy-pojo that gets you the data (even maybe a LoadableDetachable

Re: localizer and variables

2008-04-08 Thread Korbinian Bachl - privat
Hi, How can I use this in my wicket page? I have looked at getLocalizer() but there is no were to set the name variable. How can I use this in wicket? you could start using the search function on the mailinglist or browisng the wicket wiki as we had this question just 23 hours ago

Re: @SpringBean in init

2008-04-08 Thread Daniel Stoch
Hi, I think he can :). SpringWebApplication is not a Component so this: addComponentInstantiationListener(new SpringComponentInjector(this)); doesn't matter here. Before you want to use this @SpringBean in your init() method you should call: InjectorHolder.getInjector().inject(this); But then

Re: localizer and variables

2008-04-08 Thread Mathias P.W Nilsson
This is what I got so far new StringResourceModel( email.forgotlogin.body , Login.this, new Model(), new Object[]{ user.getUserName(), user.getPassWord() } ).getString(); must I really do this for every string? -- View this message in context:

Re: @SpringBean in init

2008-04-08 Thread Korbinian Bachl - privat
Ah, shame on me! youre right - in case of extending SpringWebApplication it works; in case of ext. WebApplication it wont work - thats what I mixed up - but only if not using @SpringBean but the get direct; thx for info Daniel, Regards, Korbinian Daniel Stoch schrieb: Hi, I think he can

Re: localizer and variables

2008-04-08 Thread Korbinian Bachl - privat
well, in your case its not an easy string, but one with 2 parameters - in case you have a plain string you can also use the wicket:message method that is quite better suited for this (e.g: 2 message blocks - 1 before, 1 after and in middle a simple label that spews out the user data); if you

Re: @SpringBean in init

2008-04-08 Thread Tormod Øverlier
You should do it in the init method before you use the @SpringBean Mathias P.W Nilsson wrote: Where should I do that? I have done this right now and it worked (Application)Application.get()).getSpringContextLocator().getSpringContext().getBean( setting ) but it is not pretty! --

Re: @SpringBean in init

2008-04-08 Thread Tormod Øverlier
Try using InjectorHolder.getInjector().inject(this); Mathias P.W Nilsson wrote: Hi! I have extended the SpringWebApplication and the init method looks like addComponentInstantiationListener(new SpringComponentInjector(this)); I want to access my @SpringBean in the init method but

Form submit button localization

2008-04-08 Thread Milan Křápek
Hi, I have just this simply questin. I am trying to localize my web pages to different languages. Because my pages are mainly composed by fomrs and I have not much texts I want to make the localization just by .properties files. All works good until I want to change the text in submit button.

Re: Form submit button localization

2008-04-08 Thread Erik van Oosten
Hi Milan, You can use the wicket:message attribute as described on the Wicket wiki (search for xhtml). Regards, Erik. Milan Křápek wrote: Hi, I have just this simply questin. I am trying to localize my web pages to different languages. Because my pages are mainly composed by fomrs

Re: @SpringBean in init

2008-04-08 Thread lars vonk
You could also define your WicketApplication in your spring config by setting the applicationFactoryClassName property of the WicketFilter to org.apache.wicket.spring.SpringWebApplicationFactory. This way you don't have to manually inject your dependencies via the InjectorHolder. The only thing is

Re: @SpringBean in init

2008-04-08 Thread Mathias P.W Nilsson
Where should I do that? I have done this right now and it worked (Application)Application.get()).getSpringContextLocator().getSpringContext().getBean( setting ) but it is not pretty! -- View this message in context: http://www.nabble.com/%40SpringBean-in-init-tp16548410p16553797.html Sent

Re: localizer and variables

2008-04-08 Thread Erik van Oosten
I thought that something like this would work also: email.subject=Hi {userName}! Here is your confirmation. getLocalizer().getString(email.subject, Login.this, new Model(user)); Regards, Erik. Mathias P.W Nilsson schreef: This is what I got so far new StringResourceModel(

How to Create a link in a treeview

2008-04-08 Thread ouss
Hi, I created a treeview in a panel component and I wondered how to use the link proprieties to be able to open a new page when a node is clicked on. My class: public class PanelTreeView extends Panel { public PanelTreeView(String id) { super(id); [

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-08 Thread Erik van Oosten
Hi, Is there a jira issue in which the topic is tracked? Regards, Erik. Edvin Syse wrote: (I wrote this email earlier this evening but forgot to send it it seems. Here it is:) When I ran with 1.3.0 I also had 1.3.3 on the classpath. I reverted to 1.3.2 30 minutes ago and still haven't

Re: warning with enclosure

2008-04-08 Thread Michael Sparer
I tried, but I can't reproduce this warning using your code ... Eyal Golan wrote: anyone ?? On Mon, Apr 7, 2008 at 9:52 AM, Eyal Golan [EMAIL PROTECTED] wrote: hello all, I have an enclosure tag with two inner ones. wicket:enclosure child=allChecked input type=checkbox

Re: @SpringBean in init

2008-04-08 Thread Mathias P.W Nilsson
That worked like a charm! Thanks! -- View this message in context: http://www.nabble.com/%40SpringBean-in-init-tp16548410p16558424.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe,

Re: Tomcat Problem

2008-04-08 Thread Tormod Øverlier
Did you find a solution to this problem? I've got the same problem. Soniya wrote: yes I am running it development mode. -- View this message in context: http://www.nabble.com/Tomcat-Problem-tp15607207p16558427.html Sent from the Wicket - User mailing list archive at Nabble.com.

menu localization

2008-04-08 Thread Milan Křápek
Hi, I have another problem with localization. I have stored some names in database. And I need to get them from database localize them and then render as some tab menu. here is the code: HTML: div id=navigation table border=0 tr td wicket:id=navigationlist a id=link

Re: Form submit button localization

2008-04-08 Thread Nick Heudecker
IIRC, the Button constructor takes a Model that's used as the label text. You could easily use a StringResourceModel or ResourceModel here. On Tue, Apr 8, 2008 at 6:05 AM, Milan Křápek [EMAIL PROTECTED] wrote: Hi, I have just this simply questin. I am trying to localize my web pages to

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-08 Thread Edvin Syse
Erik van Oosten wrote: Hi, Is there a jira issue in which the topic is tracked? No, not yet. I want to be sure that this is a wicket bug first. I have now confirmed that I get the same behaviour in 1.3.2, and I'm about to put on some more logging as suggested to try to give you guys more

Facebook Wicket Integration

2008-04-08 Thread TH Lim
Hi, I have been following the tip in the Wiki, http://cwiki.apache.org/WICKET/facebook-integration.html and ran into NullPointerException. The Login class is exactly the class mentioned in the Wiki. java.lang.NullPointerException at org.thlim.sample.wicket.Login.init(Login.java:23) at

Page loads too slow

2008-04-08 Thread Sergey Podatelev
Hello, I have this problem which is hard to debug, perhaps you guys will give me some pointers. The page is a registration page, so it has a form with a number of inputs and select-s, one of which is pretty huge -- it contains about sixty countries, and a captcha. The actual problem is -- this

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-08 Thread Edvin Syse
I have now redeplyed with the following log4j ConversionPattern: %d{ABSOLUTE} %-5p [%c{1}] [%t] %m%n I've started saving the ip of the user that creates a new session, and then before returning the current mailuser from the session I do: public MailUser getCurrentMailuser() { String

AutoCompleteTextField type mismatch in line 227

2008-04-08 Thread Niels Bo
Hi I just swithed from 1.3.2 to 1.3.3 and that resultet in a javascript error type mismatch in line 227, wich is this line in wicket-autocomplete.js: menu.style.zIndex=index==auto?index:Number(index)+1; Only in IE (6.0) - firefox works fine. Does anyone else see this problem? Niels --

Re: Wicket and Existing Strut application

2008-04-08 Thread Michael Laccetti
Page by page would be messier than section by section, especially if one page references another and you have to jump from the Struts app to the Wicket app. Mike xdirewolfx wrote: Hi, I'm thinking of migrating the current strut web app to wicket. However, the application is pretty large

Re: CSS not working

2008-04-08 Thread James Carman
Have you tried using wicket:link around your link tag for your CSS? On Tue, Apr 8, 2008 at 11:22 AM, Michael Laccetti [EMAIL PROTECTED] wrote: For some reason the CSS links that I have embedded in my HTML are not working. The HTML validates perfectly, the CSS URL is available as I can

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-08 Thread Edvin Syse
I think I have something... Look at the attached stacktrace. It seems I get an NPE on the line where I do: log.error(Session.get().getId() + + Session.get().hashCode() + + currentIp + C: + currentCustomer != null ? currentCustomer.getFullName() : nocustomer); I think that

CSS not working

2008-04-08 Thread Michael Laccetti
For some reason the CSS links that I have embedded in my HTML are not working. The HTML validates perfectly, the CSS URL is available as I can browse to it, and yet the CSS is not being rendered by the browser, nor does Firebug even show it as being requested. For something so simple, I'm

Re: menu localization

2008-04-08 Thread Enrique Rodriguez
The call to new StringResourceModel#getString will use a localized value in the construction of the NavigationItem. The NavigationItem constructor needs to allow an IModel so the localization occurs dynamically. There is a quote in Working with Wicket models [1] that is essentially what that

jQuery sortables

2008-04-08 Thread Scott Sauyet
Has anyone had experience using jQuery's Sortables [1] with Wicket? These allow the user to reorder lists, even nested lists, by dropping and dragging them in the browser. The main interface back to Wicket would probably come in the serialize method, which returns a String representing the new

jQuery sortables

2008-04-08 Thread Scott Sauyet
Has anyone had experience using jQuery's Sortables [1] with Wicket? These allow the user to reorder lists, even nested lists, by dropping and dragging them in the browser. The main interface back to Wicket would probably come in the serialize method, which returns a String representing the

Re: jQuery sortables

2008-04-08 Thread Edvin Syse
Has anyone had experience using jQuery's Sortables [1] with Wicket? These allow the user to reorder lists, even nested lists, by dropping and dragging them in the browser. The main interface back to Wicket would probably come in the serialize method, which returns a String representing the

Re: jQuery sortables

2008-04-08 Thread Scott Sauyet
Edvin Syse wrote: Has anyone had experience using jQuery's Sortables [1] with Wicket? These allow the user to reorder lists, even nested lists, by dropping and dragging them in the browser. The main interface back to Wicket would probably come in the serialize method, which returns a String

Question on component hierarchy

2008-04-08 Thread Eric Rotick
I thought I understood the component hierarchy but then I started to tell the guys about it and now I'm not so sure. If the markup defines a hierarchy as A contains B contains C, in effect, this means that C is added to B which is added to A. If we expand B to be more complex we can use maybe a

a transparent conversion of a CheckBoxMultipleChoice value

2008-04-08 Thread Vitaly Tsaplin
Hi everyone, Lets say I am going to use a single integer value as a model object for the component CheckBoxMultipleChoice packing the selected choices somehow to this value as bits. Where can I do such a conversion? The method getConvertor is not called... the methods getConvertedInput and

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-08 Thread Matthew Young
log.error(Session.get().getId() + + Session.get().hashCode() + + currentIp + C: + currentCustomer != null ? currentCustomer.getFullName() : nocustomer); You should put parent around ?:. The '+' op is evaluated before !=. Your statement is effectively this: (C: + currentCustomer)

Re: Page loads too slow

2008-04-08 Thread Matthew Young
this page takes about 2-5 seconds to load, but this only happens when it's loaded for the first time I observe the same thing and this has to do with Captcha. I think it's because it uses Java graphic stuff and it take time to load and initialize. On Tue, Apr 8, 2008 at 7:48 AM, Sergey

Re: Request based DataProvider

2008-04-08 Thread Ritz123
Its probably not required for pure wicket applications - but when wicket is used with legacy or some other applications, it may be required. My particular usecase is actually for Ofbiz(http://ofbiz.apache.org). There is information on HttpSession/HttpRequest attributes that Ofbiz stores that I

Re: Page loads too slow

2008-04-08 Thread Sergey Podatelev
On Tue, Apr 8, 2008 at 9:05 PM, Matthew Young [EMAIL PROTECTED] wrote: this page takes about 2-5 seconds to load, but this only happens when it's loaded for the first time I observe the same thing and this has to do with Captcha. I think it's because it uses Java graphic stuff and it take

RE: CSS not working

2008-04-08 Thread Michael Laccetti
{\rtf1\ansi\ansicpg1252\fromtext \deff0{\fonttbl {\f0\fswiss Arial;} {\f1\fmodern Courier New;} {\f2\fnil\fcharset2 Symbol;} {\f3\fmodern\fcharset0 Courier New;}} {\colortbl\red0\green0\blue0;\red0\green0\blue255;} \uc1\pard\plain\deftab360 \f0\fs20 Yeah, I have. The link is generated

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-08 Thread Edvin Syse
Matthew Young wrote: log.error(Session.get().getId() + + Session.get().hashCode() + + currentIp + C: + currentCustomer != null ? currentCustomer.getFullName() : nocustomer); You should put parent around ?:. The '+' op is evaluated before !=. Your statement is effectively this:

Re: Page loads too slow

2008-04-08 Thread Ryan Gravener
http://recaptcha.net/ On Tue, Apr 8, 2008 at 1:21 PM, Sergey Podatelev [EMAIL PROTECTED] wrote: On Tue, Apr 8, 2008 at 9:05 PM, Matthew Young [EMAIL PROTECTED] wrote: this page takes about 2-5 seconds to load, but this only happens when it's loaded for the first time I observe the

Re: CSS not working

2008-04-08 Thread Michael Laccetti
Would you believe it but it was AdblockPlus blocking access to the CSS? Ugh. I blew the last eight hours on this. Thanks for the help. :) jwcarman wrote: Have you tried using wicket:link around your link tag for your CSS? - -- Michael Laccetti

Re: a transparent conversion of a CheckBoxMultipleChoice value

2008-04-08 Thread John Krasnay
On Tue, Apr 08, 2008 at 06:41:20PM +0200, Vitaly Tsaplin wrote: Hi everyone, Lets say I am going to use a single integer value as a model object for the component CheckBoxMultipleChoice packing the selected choices somehow to this value as bits. Where can I do such a conversion? The

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-08 Thread Edvin Syse
Here goes the other one I think there might be a problem with, since it deals with PageMaps etc, and I'm not all that familiar with them. I didn't write much of this code, just changed what I needed to get it to work the way I wanted: /** * Url coding strategy for pages that encode number

Re: Question on component hierarchy

2008-04-08 Thread Igor Vaynberg
you dont need a panel for the repeater itself. as for variable component hierarchy inside the repeater itself, you are correct: you have to either use a panel or a fragment. -igor On Tue, Apr 8, 2008 at 9:37 AM, Eric Rotick [EMAIL PROTECTED] wrote: I thought I understood the component

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-08 Thread Edvin Syse
This wasn't it. I found out that IndexedParamUrlCodingStrategy did the same thing so I changed to that one and still get the error.. sigh... -- Edvin Edvin Syse skrev: Here goes the other one I think there might be a problem with, since it deals with PageMaps etc, and I'm not all that

Re: Request based DataProvider

2008-04-08 Thread Igor Vaynberg
well, you can access the request from the dataprovider using requestcycle.get().getrequest() -igor On Tue, Apr 8, 2008 at 10:10 AM, Ritz123 [EMAIL PROTECTED] wrote: Its probably not required for pure wicket applications - but when wicket is used with legacy or some other applications, it

Re: Question on component hierarchy

2008-04-08 Thread Eric Rotick
Many thanks for the clarification. As I am about to start teaching the rudiments of Wicket to a project team I guess the teacher should know what they are talking about. On Tue, Apr 8, 2008 at 6:50 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: you dont need a panel for the repeater itself. as for

Re: Question on component hierarchy

2008-04-08 Thread Eric Rotick
One more thing that was suggested in class. Is it possible to define a Panel which had all suitable and appropriate sub components and then to no-op the ones that were not needed? So in the earlier example there could be a panel wicket:panel span wicket:id=link span wicket:id=text/ img

Re: a transparent conversion of a CheckBoxMultipleChoice value

2008-04-08 Thread Vitaly Tsaplin
Thanks John, It was the idea that came to my mind first. The question is where I can create such a wrapper? I need to have it compatible with CompountPropertyModel... That's the sticking point. Since I cannot store an array in my mysql database anyway I am going to implement a subclass of

Re: AjaxSubmitLink accessing model object non-existent property

2008-04-08 Thread Tim Squires
I have read it - a few times over the last 3 years of using Wicket and even bought the book ;) It says To use a CompoundPropertyModel, simply set one as the model for a container, such as a Form or a Page. Create the contained components with no model of their own. Insure that the component

Re: LinkTree Node Refresh

2008-04-08 Thread adenosine
I have worked on this a bit, and I think I know the cause of the problem. Jered is making inserts into the tree. The way this is handled, is that the tree first prepends javascript to create a new placeholder in the tree for the new node, and then it relies on the wicket ajax to replace the node

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-08 Thread Edvin Syse
The problem is still there and now it is getting serious for my business. Would any of the core committers be willing to look at my application? I'll pay USD 2500 as a onetime fee for looking at this.. (Or name your hour-price) -- Edvin

Re: AjaxSubmitLink accessing model object non-existent property

2008-04-08 Thread Igor Vaynberg
you said it yourself: Insure that the component identifier names match the appropriate property names. what that says is that the model you get is the property of the model object that is in the cpm with the name of component id. so since your links id is foo it will try to pull out the model

Re: a transparent conversion of a CheckBoxMultipleChoice value

2008-04-08 Thread Vitaly Tsaplin
Yep. It looks simple and efficient. But it's quite a repetitive task. As I already mentioned I am going to create a component. And a data conversion should be its direct responsibility. The model wrapper cannot be provided from outside. It would be conceptually wrong in this case. I think this

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-08 Thread Johan Compagner
we can look at somehow, but what do you have in mind? is it something that we can test/debug somehow easily? johan On Tue, Apr 8, 2008 at 10:53 PM, Edvin Syse [EMAIL PROTECTED] wrote: The problem is still there and now it is getting serious for my business. Would any of the core committers

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-08 Thread Matej Knopp
Hi, We (Johan and me - wicket committers) can look at your application as this problem seems to be quite serious. What would be the best way to get the application running so that we can see it also we would need to see some source code. -Matej On Tue, Apr 8, 2008 at 10:53 PM, Edvin Syse [EMAIL

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-08 Thread Matej Knopp
sorry, this was supposed to go off the list, please don't reply here :) -Matej On Tue, Apr 8, 2008 at 11:19 PM, Matej Knopp [EMAIL PROTECTED] wrote: Hi, We (Johan and me - wicket committers) can look at your application as this problem seems to be quite serious. What would be the best way

Wicket Amsterdam Meetup recap

2008-04-08 Thread Martijn Dashorst
I just came back from a very successful Wicket meetup. I really enjoyed meeting you all and listening to the great presentations! I have taped all the sessions, but I have to look at the quality and convert them to web format. It will take a while before I'm able to post them online somewhere.

Re: Submit a form and ignore nested forms

2008-04-08 Thread AshleyAbraham
Hi everyone, I have a question regarding IFormVisitorParticpant, I implement IFormVisitorParticpant in a panel where my nested form resides, the form has formcomponents which are set to required. When the processChildren() is set to return false everything works as normall, none of the

Best way to tie a link to a checkbox?

2008-04-08 Thread Michael Mehrle
I need to sync a link to a checkbox. Meaning, that clicking on the checkbox or clicking on the link should select/deselect the checkbox. I was thinking on adding an AbstractBehavior to the link and then do it manually with Javascript in the onComponentTag method. Alternatively, I might be able to

A few Wicket Questions

2008-04-08 Thread mraible
1. Is it possible to load templates from a remote server/url/jar? 2. Is it possible to set breakpoints in templates and debug them using an IDE? 3. Does Wicket have any support for REST? 4. Does Wicket declare OSGi meta-data in its JARs? 5. Can I write a Wicket application that spans several

Localizer - reasonable feature request?

2008-04-08 Thread Ned Collyer
Hi, I was hoping to get the Localizer interface to be able to accept and translate based on Class in addition to Component. Basically I have in my non wicket jar I'd like to have Country.java and Country.properties country.EN=England country.AU=Australia country.JA=Japan In wicket, I

RE: A few Wicket Questions

2008-04-08 Thread Michael Mehrle
Regarding the debugging: Debugging is very easy in Wicket since most of the meat is in Java (instead of tags). What do you mean by setting breakpoints in templates? I assume that it 'might' be possible to debug the component tag rendering process, but then one would have to skip the jars and load

RE: A few Wicket Questions

2008-04-08 Thread mraible
Michael Mehrle wrote: Regarding the debugging: Debugging is very easy in Wicket since most of the meat is in Java (instead of tags). What do you mean by setting breakpoints in templates? I assume that it 'might' be possible to debug the component tag rendering process, but then one

Re: Best way to tie a link to a checkbox?

2008-04-08 Thread Igor Vaynberg
input type=checkbox id=foo/a href=# onclick=var c=document.getelementbyid('foo'); c.checked=!c.checked;click/a -igor On Tue, Apr 8, 2008 at 4:32 PM, Michael Mehrle [EMAIL PROTECTED] wrote: I need to sync a link to a checkbox. Meaning, that clicking on the checkbox or clicking on the link

Re: A few Wicket Questions

2008-04-08 Thread Igor Vaynberg
On Tue, Apr 8, 2008 at 5:08 PM, mraible [EMAIL PROTECTED] wrote: 1. Is it possible to load templates from a remote server/url/jar? yes. you will have to roll your own IResourceStreamLocator 2. Is it possible to set breakpoints in templates and debug them using an IDE? no. but why would

Re: How to save pages in the database?

2008-04-08 Thread freak182
Hello, What i mean here is that i want to save the exact image of the page (the main concern here is that i want to capture the user inputed text, the selected radios and checkboxes and list, basically the html part but the updated one). I already the try some URLCodingStrategy i found on wicket

LoadableDetachableModel load() question

2008-04-08 Thread Warren
I have a page with a form that uses a LoadableDetachableModel nested in a CompoundPropertyModel. The form has a lot of labels and one text field. The page is refreshed thru an AjaxFormSubmitBehavior so load only gets called once. The problem is that I need the value of the text field in order to

Re: LoadableDetachableModel load() question

2008-04-08 Thread Igor Vaynberg
bind the textfield to some property, and then reference the property in load() -igor On Tue, Apr 8, 2008 at 10:06 PM, Warren [EMAIL PROTECTED] wrote: I have a page with a form that uses a LoadableDetachableModel nested in a CompoundPropertyModel. The form has a lot of labels and one text