Re: [Wicket-user] Re: The other side of Wicket ...

2006-05-04 Thread Igor Vaynberg
On 5/4/06, Ashley Aitken <[EMAIL PROTECTED]> wrote: So the pages are only serialised when the session is serialised for replication.  I am not sure how Wicket (or if it is even within Wicket's scope) handles replication/clustering, but if one were using sticking sessions (sessions mapped to the sam

[Wicket-user] Re: The other side of Wicket ...

2006-05-04 Thread Ashley Aitken
Hello Igor (et al.),Thank you for your reply and explanations.the top container of components in wicket is the page. session keeps references to x number of pages for callbacks and backbutton support. so these are only serialized when replication of the session occurs. So the pages are only seriali

[Wicket-user] Re: The other side of Wicket ...

2006-05-04 Thread Ashley Aitken
Hi Vincent (et al.),I'm about 90% finished w/ a Wicket/EJB3 (JBoss) storefront solution for my company to start doing consumer web sales.  In my personal opinion, Wicket + EJB3 is the holy grail of Java web development...and I'm not being dramatic.  It would be hard to convince me to use another fr

Re: [Wicket-user] Re: Problem loading DatePicker inside Panel through AjaxLink

2006-05-04 Thread Bruno Borges
Looks like there's no problem adding styles. http://www.dynamicdrive.com/forums/archive/index.php/t-3459.htmlThis URL is not quite what it should be for, but demonstrates how CSS's can be changed without reloading a page. And I'm sure the same way new .js files can be added to a Head section dynami

Re: [Wicket-user] The other side of Wicket ...

2006-05-04 Thread Vincent Jenks
Oh yeah, just jokes, .NET is a pretty great technology...though it still requires far more work than the EJB3+Wicket combo. MS's tools are great, they have a snazzy IDE...but I still prefer Eclipse...perhaps because of its open nature and breadth of industry support both pro & amateur. The tools

Re: [Wicket-user] Re: The other side of Wicket ...

2006-05-04 Thread Igor Vaynberg
with all the talent in this thread its amazing how fast it can deteriorate :)-IgorOn 5/4/06, Nathan Hamblen < [EMAIL PROTECTED]> wrote:Timo Stamm wrote:> MVC is not Struts! (MVC is *much* older.) I wouldn't even say that > Struts is MVC.Yeah, but, it's a lost cause. The word anyway. The concept is

[Wicket-user] Re: The other side of Wicket ...

2006-05-04 Thread Nathan Hamblen
Timo Stamm wrote: > MVC is not Struts! (MVC is *much* older.) I wouldn't even say that > Struts is MVC. Yeah, but, it's a lost cause. The word anyway. The concept is enshrined in component based frameworks, so we can confidently roll our eyes whenever those Rails barbarians describe the activities

Re: [Wicket-user] The other side of Wicket ...

2006-05-04 Thread Eelco Hillenius
On 5/4/06, Vincent Jenks <[EMAIL PROTECTED]> wrote: I don't hear great things about Struts! My experience w/ Java/J2EE/Java EE before wicket was Servlets+JSP+Hibernate (and JDBC), and I've only been doing Java for about a year. I had made a living off of Microsoft technologies for years prior t

Re: [Wicket-user] The other side of Wicket ...

2006-05-04 Thread Eelco Hillenius
MVC is not Struts! (MVC is *much* older.) I wouldn't even say that Struts is MVC. You might even argue that Swing isn't the MVC as it was proposed. But yeah, that's why I try to keep calling those frameworks 'model 2' instead. Eelco --- Usin

Re: [Wicket-user] The other side of Wicket ...

2006-05-04 Thread Timo Stamm
Frank Silbermann schrieb: My great hope is that Wicket can provide great productivity and power to people who have a true mastery of object-oriented techniques, raising their pay and status above that of ordinary code-monkeys and API-memorizers. My great fear is that the market will reject Wicke

Re: [Wicket-user] The other side of Wicket ...

2006-05-04 Thread Timo Stamm
Johan Compagner schrieb: and doing all of this while training a new developer who just joined the company and is not familiar w/ Java, Wicket, or even web apps development in general. lucky you!!! because they are not completely infected by the mvc (struts) way of working! MVC is not Struts!

Re: [Wicket-user] Re: populating the second form in the page

2006-05-04 Thread Igor Vaynberg
it would help to see the code also.-IgorOn 5/4/06, Johan Compagner <[EMAIL PROTECTED]> wrote: are you saying that childeren of the secondform still use the old compoundpropertymodel? when you are setting a new compoundmodel in the second form?what you also could do is just do is secondForm.setModel

Re: [Wicket-user] Re: Problem loading DatePicker inside Panel through AjaxLink

2006-05-04 Thread Igor Vaynberg
basically what we are talking about is somehow capturing the componnet's header contribution and writing it out.so take datepicker, datepicker.html has a section. what we need to do is to somehow get that portion as a charsequence so that the ajax request target can dump it as part of component's

Re: [Wicket-user] Re: Problem loading DatePicker inside Panel through AjaxLink

2006-05-04 Thread Igor Vaynberg
i dont think this is cool at all because it requires components to provide an alternate output unless we parse the

RE: [Wicket-user] The other side of Wicket ...

2006-05-04 Thread Frank Silbermann
My great hope is that Wicket can provide great productivity and power to people who have a true mastery of object-oriented techniques, raising their pay and status above that of ordinary code-monkeys and API-memorizers. My great fear is that the market will reject Wicket because procedurally-orien

Re: [Wicket-user] The other side of Wicket ...

2006-05-04 Thread Vincent Jenks
I don't hear great things about Struts! My experience w/ Java/J2EE/Java EE before wicket was Servlets+JSP+Hibernate (and JDBC), and I've only been doing Java for about a year. I had made a living off of Microsoft technologies for years prior to that, specifically C# and the .NET framework. I gu

Re: [Wicket-user] Re: populating the second form in the page

2006-05-04 Thread Johan Compagner
are you saying that childeren of the secondform still use the old compoundpropertymodel?when you are setting a new compoundmodel in the second form?what you also could do is just do is secondForm.setModelObject (youreObject)johanOn 5/4/06, Aditya <[EMAIL PROTECTED]> wrote:   secondForm.setModel(new

[Wicket-user] Re: populating the second form in the page

2006-05-04 Thread Aditya
secondForm.setModel(new CompoundPropertyModel(myModel)); secondForm.setVisible(true) I can see the new loaded Model getting set in Component class but when it iterates over the children for populating the values then the previous model seems to be getting called. I am using CompoundPropertyModel

Re: [Wicket-user] The other side of Wicket ...

2006-05-04 Thread Johan Compagner
and doing all of this while training a new developer who just joinedthe company and is not familiar w/ Java, Wicket, or even web apps development in general.lucky you!!! because they are not completely infected by the mvc (struts) way of working!Because that would be much worse :)johan

Re: [Wicket-user] Re: Problem loading DatePicker inside Panel through AjaxLink

2006-05-04 Thread Johan Compagner
cool..var script = document. createElement('script'); script.type = 'text/_javascript_' ; script.src = 'snip.js'; document.getElementsByTagName('head' )[0].appendChild(script);  if that works.. that should be doable.johanOn 5/4/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:thanks bruno! i will try t

Re: [Wicket-user] Re: Problem loading DatePicker inside Panel through AjaxLink

2006-05-04 Thread Juergen Donnerstag
Not sure I understand what needs to be done. I guess I'll wait until tomorrow until the "that is how the output must look like" question is solved. Juergen On 5/4/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: i guess in this case we need to capture the head output of the component during ajax re

Re: [Wicket-user] The other side of Wicket ...

2006-05-04 Thread Vincent Jenks
> > > > I am just wondering how other frameworks handle this problem and why it seems more difficult in Wicket? Would Wicket fit in well as a Web presentation layer for an application using EJB3 (including JPA)? i believe Vincent is working with ejb3 so maybe he can tell you about his experience

Re: [Wicket-user] Model values not getting set properly

2006-05-04 Thread Johan Compagner
i am affraid that you really have to debug this yourself.Isn't there any exception/warning?johanOn 5/4/06, Dipu < [EMAIL PROTECTED]> wrote: Hi,   I updated the the wicket source tree from svn trunk and my application stopped functioning. For some reason the values are not getting set to th

Re: [Wicket-user] Localization

2006-05-04 Thread Juergen Donnerstag
On 5/4/06, Ralf Ebert <[EMAIL PROTECTED]> wrote: Hi Juergen, > please see WicketMessageTagHandler.java. It is experimental only and > disabled by default. Reason: it is realy ugly to have something like > wicket:example="tag=key". AttributeModifier are much more convinent > and far less ugly, IM

Re: [Wicket-user] auto-submit when done picking date

2006-05-04 Thread Johan Compagner
as eelco is saying. Dig into the _javascript_ of that datepicker.See how it works and if you can patch it to only set the date when you close it.the _javascript_ is not written by us. We only use it. and intergrated it into wicket. johanOn 5/4/06, Frank Silbermann <[EMAIL PROTECTED]> wrote: Well, i

Re: [Wicket-user] Initial date in DatePicker component

2006-05-04 Thread Johan Compagner
one way is let the model decide thatso if the date == null return a date that you want.johanOn 5/4/06, Bruno Borges < [EMAIL PROTECTED]> wrote:How to set up an initial Date in a DatePicker object? I want to use DatePicker for birthday property, but I want it to load with a date 10 years before curr

Re: [Wicket-user] DatePicker not work for 1.2RC3 ?

2006-05-04 Thread Johan Compagner
the datepickers picks the date of the java format string.So they should always be no in sync so how java formats the string this will also be how _javascript_ formats the string.johan On 5/4/06, Frank Silbermann <[EMAIL PROTECTED]> wrote: Apparently, my initial value in the old d

Re: [Wicket-user] BoundCompoundPropertyModel not setting values

2006-05-04 Thread Igor Vaynberg
no thats the compound one.basically IModel has a getObject(Component c) and setObject(Component c, Object value)notice the Component argument.the compoundpropertymodel does thisgetObject(Component c) {    return object's property with name c.id}and setter does the reversethe bound version lets you

Re: [Wicket-user] BoundCompoundPropertyModel not setting values

2006-05-04 Thread Eelco Hillenius
The idea is that you set a Compound/BoundCompoundPropertyModel on the parent (or further up the hierarchy) of these components. setModel(new (Bound)CompoundPropertyModel(userBean)); add(new TextField("name")); Bound and the normal CompoundPropertyModel do not differ much from each other, except

RE: [Wicket-user] auto-submit when done picking date

2006-05-04 Thread Frank Silbermann
Well, is there a configuration option only to change the date when a day is chosen, but not when shifting to a new month? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius Sent: Thursday, May 04, 2006 12:23 PM To: wicket-user@lists.sourceforg

Re: [Wicket-user] BoundCompoundPropertyModel not setting values

2006-05-04 Thread Bruno Borges
Ops... sorry Igor.But one question: the Javadoc says that the BoundCompoundPropertyModel uses the name (I understand here as the id) of a component as the property name it should use to set value on model. So, I understand as: add(new TextField("name", new BoundCompountPropertyModel(userBean)))

Re: [Wicket-user] setSelectedField in AutoCompleteTextField is not called

2006-05-04 Thread Igor Vaynberg
as far as i can see there are no getSelectedField()/setSelectedField() methods in the AutoCompleteTextField -IgorOn 5/4/06, Aditya Patel < [EMAIL PROTECTED]> wrote: I am using a AutoCompleteTextField with wicket1.2rc3 and have declared it likefinal TextField field1= new AutoCompleteTextField("field

Re: [Wicket-user] BoundCompoundPropertyModel not setting values

2006-05-04 Thread Igor Vaynberg
what you want is a CompoundPropertyModel not the bound variant. there is a searchbox on our wiki :)http://www.wicket-wiki.org.uk/wiki/index.php/Models -IgorOn 5/4/06, Bruno Borges <[EMAIL PROTECTED]> wrote: Isn't this code correct?class UserForm extends Form { User user = new User(); // POJO Bean

[Wicket-user] setSelectedField in AutoCompleteTextField is not called

2006-05-04 Thread Aditya Patel
I am using a AutoCompleteTextField with wicket1.2rc3 and have declared it likefinal TextField field1= new AutoCompleteTextField("field1",    new PropertyModel(this, "selectedField")) {    protected Iterator getChoices(String input) {                       return ... 

[Wicket-user] BoundCompoundPropertyModel not setting values

2006-05-04 Thread Bruno Borges
Isn't this code correct?class UserForm extends Form {User user = new User(); // POJO Bean {...BoundCompoundPropertyModel model = new BoundCompoundPropertyModel(user);add(new TextField("name", model)); add(new TextField("email", model)); // Can I do this? Use the same model object for different pro

Re: [Wicket-user] Re: autocompletetextfield problem

2006-05-04 Thread Igor Vaynberg
it is fixed, but not in rc3. i did not take aditya's question in the context of rc3.-IgorOn 5/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:Hi IgorI thought that this fix wasnt included in wicket1.2-rc3. If it isthen i agree with Aditya. The bug is still there :(Kind regards/MuratIgor Vaynber

Re: [Wicket-user] Re: autocompletetextfield problem

2006-05-04 Thread myu
Hi Igor I thought that this fix wasnt included in wicket1.2-rc3. If it is then i agree with Aditya. The bug is still there :( Kind regards /Murat Igor Vaynberg <[EMAIL PROTECTED]> wrote: > yep. > > -Igor > > > On 5/4/06, Aditya <[EMAIL PROTECTED]> wrote: > > > > > > Has this been fixed. I

[Wicket-user] Initial date in DatePicker component

2006-05-04 Thread Bruno Borges
How to set up an initial Date in a DatePicker object?I want to use DatePicker for birthday property, but I want it to load with a date 10 years before current year. How can I achieve this?Regards,-- Bruno Borges[EMAIL PROTECTED]Sun Certified Java Programmer for 1.4Sun Certified Web Component Devel

Re: [Wicket-user] Re: autocompletetextfield problem

2006-05-04 Thread Igor Vaynberg
yep.-IgorOn 5/4/06, Aditya <[EMAIL PROTECTED]> wrote:   Has this been fixed. I have the same problem with wicket1.2-rc3>> Thanks,will try to take a look tonight.-Igor>> On 5/1/06, myu mail.dk mail.dk> > wrote:Hi IgorWell maybe it was fixed in cvs :).I am currently running wicket> 1.2-rc2.I have

[Wicket-user] Re: autocompletetextfield problem

2006-05-04 Thread Aditya
Has this been fixed. I have the same problem with wicket1.2-rc3 > > Thanks,will try to take a look tonight.-Igor > > On 5/1/06, myu mail.dk mail.dk > > wrote:Hi IgorWell maybe it was fixed in cvs :). I am currently running wicket > 1.2-rc2.I have submitted a bug report at sf.net.Kind re

Re: [Wicket-user] dynamic html controls

2006-05-04 Thread Igor Vaynberg
sure you can do that, but then you yourself have to manage request parameters, yuck. the whole point of components is that they take care of all that messy stuff for you. if you still want to do that you override webcomponent.onrender () and do something like this: getResponse().write("blah");howev

Re: [Wicket-user] Re: Problem loading DatePicker inside Panel through AjaxLink

2006-05-04 Thread Igor Vaynberg
thanks bruno! i will try to take a look tonight and see if we can adapt these ideas.-IgorOn 5/4/06, Bruno Borges < [EMAIL PROTECTED]> wrote:I found some links that might be of great interest! dynamic load _javascript_ from _javascript_ http://www.activewidgets.com/_javascript_.forum.6114.15/dynami

Re: [Wicket-user] Re: Problem loading DatePicker inside Panel through AjaxLink

2006-05-04 Thread Bruno Borges
I found some links that might be of great interest!dynamic load _javascript_ from _javascript_ http://www.activewidgets.com/_javascript_.forum.6114.15/dynamic-load-_javascript_-from-_javascript_.htmlDojo Package System http://dojo.jot.com/WikiHome/Documents/DojoPackageSystem_javascript_ Includeshtt

Re: [Wicket-user] populating the second form in the page

2006-05-04 Thread Igor Vaynberg
just call secondForm.setModel(loaded model); secondForm.setVisible(true);-IgorOn 5/4/06, Aditya Patel < [EMAIL PROTECTED]> wrote:I have 2 forms in my wicket page. Only the first form is visible at the beginnning. The first form has a drop down and based on the selection of the drop down, there's a

Re: [Wicket-user] Re: Problem loading DatePicker inside Panel through AjaxLink

2006-05-04 Thread Timo Stamm
Ooops. I was wrong. I just checked some stubs with the w3 validator, and they pass without a hitch. Both XHTML 1.0 strict and transitional. XHTML 1.1 and 2.0 seem to be fine as well. Sorry. Timo Igor Vaynberg schrieb: in that case i dont see how you can ever make this work in xhtml unless

[Wicket-user] populating the second form in the page

2006-05-04 Thread Aditya Patel
I have 2 forms in my wicket page. Only the first form is visible at the beginnning. The first form has a drop down and based on the selection of the drop down, there's a database call and then the second form needs to be populated based on the model returned by the database call.  My problem is, in

RE: [Wicket-user] dynamic html controls

2006-05-04 Thread Rivka Shisman
Hi Igor,   I still don’t understand where is the servlet functionality of Wicket. What if I don’t want to hand code all my textboxes in the html and instead I want to dynamically add them with “out.print” like possibility from a collection with unknown size that comes from the database.

Re: [Wicket-user] Re: Problem loading DatePicker inside Panel through AjaxLink

2006-05-04 Thread Igor Vaynberg
i guess there can be a hidden iframe, but then the loaded js will not be part of the page because frames are isolated, no?-IgorOn 5/4/06, Rüdiger Schulz <[EMAIL PROTECTED]> wrote:> in that case i dont see how you can ever make this work in xhtml > unless you refresh the entire page.A twisted "solu

Re: [Wicket-user] auto-submit when done picking date

2006-05-04 Thread Eelco Hillenius
What I'd really like is to post back not when the texbox changes, but rather, when the datePicker closes. Any suggestions how? Would I need to associate the datePicker with something other than a tag? On which event would I put the "this.form.submit()" ? I'm afraid you'll have to dig deeper

Re: [Wicket-user] The other side of Wicket ...

2006-05-04 Thread Eelco Hillenius
like when you work with session replication in clusters, it is the HttpSession implementation that does this. Erm, not necesarily true, but at least something outside Wicket generally. Eelco --- Using Tomcat but need to do more? Need to sup

Re: [Wicket-user] The other side of Wicket ...

2006-05-04 Thread Eelco Hillenius
For the other questions, see Igor's reply. I've worked with WebObjects and therein a session is sent the awake() message before the request-response loop begins, and the sleep() message after the r-r loop finishes. I guess these inherited methods could include code to serialise the session, but

Re: [Wicket-user] Re: Problem loading DatePicker inside Panel through AjaxLink

2006-05-04 Thread Rüdiger Schulz
> in that case i dont see how you can ever make this work in xhtml > unless you refresh the entire page. A twisted "solution" using an invisible frame loading only JS comes to mind ;-) - Rüdiger --- Using Tomcat but need to do more? Need to s

RE: [Wicket-user] auto-submit when done picking date

2006-05-04 Thread Frank Silbermann
Apparently, when you click the datePicker’s link to change the month, it writes the change immediately to the associated textbox.  Since I have auto-postback _javascript_ on that input field, the postback is causing my datePicker to disappear, and the form to be submitted before the day of

Re: [Wicket-user] Re: Problem loading DatePicker inside Panel through AjaxLink

2006-05-04 Thread Igor Vaynberg
i guess in this case we need to capture the head output of the component during ajax render and dump it into the markup before the component.Juergen are you reading with us? do you think this is feasible?-Igor On 5/4/06, Rüdiger Schulz <[EMAIL PROTECTED]> wrote: > right, and that is the main proble

Re: [Wicket-user] Re: Problem loading DatePicker inside Panel through AjaxLink

2006-05-04 Thread Igor Vaynberg
in that case i dont see how you can ever make this work in xhtml unless you refresh the entire page.-IgorOn 5/4/06, Timo Stamm < [EMAIL PROTECTED]> wrote:Igor Vaynberg schrieb:> right, and that is the main problem to solve. is a

Re: [Wicket-user] The other side of Wicket ...

2006-05-04 Thread Igor Vaynberg
On 5/4/06, Ashley Aitken <[EMAIL PROTECTED]> wrote: Howdy All,I've been reading more about Wicket, particularly its integration with non-presentation aspects of an Enterprise application, e.g. the application and persistence layers.   I've read about the Wicket-Spring integration, and the LazyInitP

Re: [Wicket-user] Re: Problem loading DatePicker inside Panel through AjaxLink

2006-05-04 Thread Rüdiger Schulz
> right, and that is the main problem to solve. is a

Re: [Wicket-user] Re: Problem loading DatePicker inside Panel through AjaxLink

2006-05-04 Thread Timo Stamm
Igor Vaynberg schrieb: right, and that is the main problem to solve. is a

Re: [Wicket-user] Re: Problem loading DatePicker inside Panel through AjaxLink

2006-05-04 Thread Igor Vaynberg
right, and that is the main problem to solve. is a

Re: [Wicket-user] Localization

2006-05-04 Thread Igor Vaynberg
Something not localization related:- In my application I need to open a transaction for every request that's for a page (not for resources) and commit it (if sucessful) orrollback it (in case of an runtime exception). I also want to useWicket's exception handling mechanism, that's why I won't use a

RE: [Wicket-user] DatePicker not work for 1.2RC3 ?

2006-05-04 Thread Frank Silbermann
Apparently, my initial value in the old default value is confusing the DatePicker; if I reformat my initial value the DatePicker pops up the correct year and month.   Since the default format apparently changed, it may not be safe for me to rely on it.  What ifformat string, and how do I

Re: [Wicket-user] dynamic html controls

2006-05-04 Thread Igor Vaynberg
lets take your exact usecase, hiding and showing form components based on some condition.there are two basic strategies to do this:1) add all of them an then toggle visibilitythis means you add all possible formcomponents and then override isVisible() on them or call setVisible(false). this will te

[Wicket-user] Model values not getting set properly

2006-05-04 Thread Dipu
Hi,   I updated the the wicket source tree from svn trunk and my application stopped functioning. For some reason the values are not getting set to the resepective model object.   When i change the dependency from the wicket project to the wicket.jar ( which i build before updating the sourc

Re: [Wicket-user] date picker settings first day

2006-05-04 Thread Johan Compagner
it doesn't close at my place.I tested this in IE en FF i can press it quicly once so that it jumps one month at a time or hold it and scroll to the month i want and the release to select it.And then the datepicker still doesn't go away. johanOn 5/4/06, Frank Silbermann <[EMAIL PROTECTED]> wrote:

[Wicket-user] The other side of Wicket ...

2006-05-04 Thread Ashley Aitken
Howdy All,I've been reading more about Wicket, particularly its integration with non-presentation aspects of an Enterprise application, e.g. the application and persistence layers.  I've read about the Wicket-Spring integration, and the LazyInitProxy - where a Wicket session keeps an injected proxy

Re: [Wicket-user] date picker settings first day

2006-05-04 Thread Johan Compagner
fixed it.On 5/4/06, Lusebrink, Scott E CTR DISA GIG-CS <[EMAIL PROTECTED]> wrote: the datepickersettings.setFirstDate does not work.  this is due to a typo in the DatePickerSettings.toString if (getFirstDay() != 0) { b.append("\n\tfistDay : ").append(getFirstDay()).append(","); } this s

Re: [Wicket-user] DatePicker not work for 1.2RC3 ?

2006-05-04 Thread Johan Compagner
what is the ifformat string that is embedded in youre html file for that datepicker??And what does it say at first in the field itself? how is it formatted then?johan On 5/4/06, Frank Silbermann <[EMAIL PROTECTED]> wrote: I have a different problem.  It's popping up, but when I

Re: [Wicket-user] CSS error with Opera and wicket:border

2006-05-04 Thread Johannes Fahrenkrug
Btw, Opera 9.0beta doesn't have this problem anymore. Hi, It took me a while to track down why Opera makes my Wicket application look like crap. Here's why: when you use a css class like td.someclass and apply that class to a tag within a table that is surrounded by tags, Opera doesn't app

Re: [Wicket-user] Re: Problem loading DatePicker inside Panel through AjaxLink

2006-05-04 Thread Bruno Borges
Igor, I'm not sure if browsers support the "update head" thing (probably not), but one "first step" solution is to notify the component that it is been added through Ajax, so the component must generate a "load" function and return that function name to the Ajax call, so the Ajax JS can call that f

Re: [Wicket-user] Localization

2006-05-04 Thread Ralf Ebert
Hi Juergen, please see WicketMessageTagHandler.java. It is experimental only and disabled by default. Reason: it is realy ugly to have something like wicket:example="tag=key". AttributeModifier are much more convinent and far less ugly, IMO. if you have a page with like, say, 20 labels with sta

Re: [Wicket-user] CSS error with Opera and wicket:border

2006-05-04 Thread Johannes Fahrenkrug
Yes. See here: http://www.wicket-wiki.org.uk/wiki/index.php/Remove_wicket_markup Thank you. But your HTML is broken. There is no doctype declaration and the style tag is incomplete. I know, it's just a demostration, not the real thing. If you declare the document as XHTML, the wicke

RE: [Wicket-user] date picker settings first day

2006-05-04 Thread Frank Silbermann
Title: date picker settings first day Is there any way to prevent the DatePicker from closing when one clicks the link to change the month?  When my user wants to change the date from, say, May 5th to April 30th, he has to pop-up the DatePicker twice – once to change the month and once to

[Wicket-user] date picker settings first day

2006-05-04 Thread Lusebrink, Scott E CTR DISA GIG-CS
Title: date picker settings first day the datepickersettings.setFirstDate does not work.  this is due to a typo in the DatePickerSettings.toString if (getFirstDay() != 0) { b.append("\n\tfistDay : ").append(getFirstDay()).append(","); } this should read "firstDay :" also considering that t

Re: [Wicket-user] CSS error with Opera and wicket:border

2006-05-04 Thread Timo Stamm
Johannes Fahrenkrug schrieb: Hi, It took me a while to track down why Opera makes my Wicket application look like crap. Here's why: when you use a css class like td.someclass and apply that class to a tag within a table that is surrounded by tags, Opera doesn't apply the CSS class to the td

Re: [Wicket-user] CSS error with Opera and wicket:border

2006-05-04 Thread Johannes Fahrenkrug
Dave Schoorl wrote: BTW, as I understood from previous entries in this mailing list, as of Opera 9 (now in beta), Opera no longer is upset with the wicket-tags. Thank you, Dave. I just tried it with Opera 9 beta and came to the same conclusion :) - Johannes Regards, Dave Johannes Fahr

Re: [Wicket-user] CSS error with Opera and wicket:border

2006-05-04 Thread Johannes Fahrenkrug
Juergen, that did the trick! Thank you! - Johannes Juergen Donnerstag wrote: some where in the the settings. ISettings.setStripWicketTag(boolean) or something like that Juergen On 5/4/06, Johannes Fahrenkrug <[EMAIL PROTECTED]> wrote: Hi, It took me a while to track down why Opera makes

RE: [Wicket-user] DatePicker not work for 1.2RC3 ?

2006-05-04 Thread Frank Silbermann
To be more precise, with 1.2R3 my DatePicker is now popping up a calendar for the year 2170 instead of 2006.   Also, with no change in configuration it is now producing dates in the form DD/MM/ whereas before it gave me /MM/DD.   I don’t care which format it gives me, as long as

RE: [Wicket-user] DatePicker not work for 1.2RC3 ?

2006-05-04 Thread Frank Silbermann
I have a different problem.  It’s popping up, but when I select today’s date it gives me   02/05/2170 ^^   for today’s date.   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of smallufo Sent: Wednesday, May 03, 2006 11:20 PM To: w

Re: [Wicket-user] CSS error with Opera and wicket:border

2006-05-04 Thread Dave Schoorl
To disable wicket-tags in the generated HTML (in Wicket 1.1.1), you add in the init()-method of your webapplication the following line: getSettings().setStripWicketTags(true); For Wicket 1.2 this line will be: getMarkupSettings().setStripWicketTags(true); BTW, as I understood from previous entr

Re: [Wicket-user] CSS error with Opera and wicket:border

2006-05-04 Thread Juergen Donnerstag
some where in the the settings. ISettings.setStripWicketTag(boolean) or something like that Juergen On 5/4/06, Johannes Fahrenkrug <[EMAIL PROTECTED]> wrote: Hi, It took me a while to track down why Opera makes my Wicket application look like crap. Here's why: when you use a css class like td

[Wicket-user] CSS error with Opera and wicket:border

2006-05-04 Thread Johannes Fahrenkrug
Hi, It took me a while to track down why Opera makes my Wicket application look like crap. Here's why: when you use a css class like td.someclass and apply that class to a tag within a table that is surrounded by tags, Opera doesn't apply the CSS class to the td tag. If you define a general

Re: [Wicket-user] Localization

2006-05-04 Thread Juergen Donnerstag
On 5/4/06, Ralf Ebert <[EMAIL PROTECTED]> wrote: Hi, just tried the wicket localization features and got some questions: - usually i have in the html things like this: headline Is there a way that lets me write these like this: headline Which seems much more convenient... please see WicketMe

[Wicket-user] Localization

2006-05-04 Thread Ralf Ebert
Hi, just tried the wicket localization features and got some questions: - usually i have in the html things like this: headline Is there a way that lets me write these like this: headline Which seems much more convenient... - Is there an easy "markup only" way to get messages in attribute tags?

RE: [Wicket-user] dynamic html controls

2006-05-04 Thread Rivka Shisman
Hi Eelco, Do you mean that I should create a "panel" with a link to my own servlet that shows the dynamic content? Thanks Rivka -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius Sent: Thursday, May 04, 2006 10:21 AM To: wicket-user@lists.s

Re: [Wicket-user] dynamic html controls

2006-05-04 Thread Eelco Hillenius
You can do what is outlined here: http://wicket-wiki.org.uk/wiki/index.php/Create_dynamic_markup_hierarchies_using_panels Or - like the article says, add all visible components and use the isVisible property (or override the method) for turning them on or off. Or use Fragments, which work like p

[Wicket-user] dynamic html controls

2006-05-04 Thread Rivka Shisman
Hi   I have no experience with Wicket, but from what I read about it I don't understand where does the dynamic content part come in? If I have a pair of html file and a java file – how do I conditionally show/hide html form controls like I do in JSP?   For example, I have a JSP page th