Re: DatePicker creates lots of duplicate javascript

2008-02-26 Thread Gerolf Seitz
Hi Harro, the javascript is for 2 things. 1) dynamic loading of yui libraries. 2) configuration for the datepicker, because you can have datepickers with different configuration on one page. however, if you find a better way, please submit a patch to jira. cheers, Gerolf On Tue, Feb 26, 2008

Re: Outdated Javadoc referenced on wicket.apache.org

2008-02-26 Thread Gerolf Seitz
can we remove the old website? or do we still need it for the 1.2.x releases? Gerolf On Wed, Feb 27, 2008 at 2:47 AM, Kevin Murphy <[EMAIL PROTECTED]> wrote: > Igor Vaynberg wrote: > > and now its assigned...most of the core team is away on holiday... > > > > > On the same theme of "Wicket web

Re: Basic Knowledge on Wicket - reload content of a panel

2008-02-27 Thread Gerolf Seitz
changes inline: public class MyPage extends WebPage { > >public Model model = new Model("initial value"); >public Panel panel2 = new PanelTwo("two",model); > >public MyPage() { >add(new PanelOne("one")); >panel2.setOutputMarkupId(true); //needed to call renderComponent

Re: Mounting dynamic URLs

2008-02-27 Thread Gerolf Seitz
in MyWebApplication.init() { mount(new IndexedParamUrlCodingStrategy("bla", MyPage.class)); } Gerolf On Wed, Feb 27, 2008 at 8:46 PM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > eh... an extra question. > > How do I enable the IndexedParamUrlCodingStrategy for only one page? > According to

Re: wicket-datetime 1.3.1 css problem

2008-02-28 Thread Gerolf Seitz
this should be fixed in trunk. Gerolf On Thu, Feb 28, 2008 at 9:21 AM, Andrew Moore <[EMAIL PROTECTED]> wrote: > > I've just upgraded to wicket 1.3.1 and seem to be having a problem getting > the calendar to display correctly. > It works, but it's not picking up calendar css. > > From having a

Re: Test failures due to "incorrect" order of attributes

2008-03-01 Thread Gerolf Seitz
Yes, this is a known issue, because the ordering of HashMaps(?) changed in java6 (or something like that). the tests should pass fine with java5. Gerolf On Sat, Mar 1, 2008 at 5:45 PM, Henrik Lundahl <[EMAIL PROTECTED]> wrote: > Hi > > When building wicket-1.3-SNAPSHOT I get some test failure

Re: Localized error()

2008-03-04 Thread Gerolf Seitz
myComponent.error(getString("my.localized.key")); Gerolf On Wed, Mar 5, 2008 at 2:20 AM, Kaspar Fischer <[EMAIL PROTECTED]> wrote: > What is the easiest way to make Component's error() method output a > localized error message? I need a feedback panel with localized errors. > Thanks in advance

Re: ajaxified dynamic lists as parts of bigger forms

2008-03-06 Thread Gerolf Seitz
Wojtek, using nested forms, there's always exactly one form tag. submitting a nested form results in submitting the entire form, but only processing (converting, validating, updating models) the nested form on the server side. bringing in a fileupload field basically takes away the ability to sub

Re: wicket-datetime

2008-03-06 Thread Gerolf Seitz
off the top of my head, i'd say we could skip the localization part for Locale.ENGLISH (and the like), as it's the default language in YUI. couple of YUI releases, we switched to using the YUILoader to dynamically load the needed .js files. and now that you've mentioned it, it may not be an ideal

Re: wicketstuff-jmx-panel: can't find a repository

2008-03-06 Thread Gerolf Seitz
application with JMX, Spring & Wicket. > Among other things I'm using the JmxPanel component by Gerolf Seitz. > which I checked out here: > > https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-jmx-panel/ > > The JmxPanel component works like a c

Re: Confine feedback messages to a panel

2008-03-10 Thread Gerolf Seitz
Construct the feedbackpanels with and IFeedbackMessageFilter. Gerolf On Mon, Mar 10, 2008 at 12:22 PM, atul singh <[EMAIL PROTECTED]> wrote: > hi, > I have an ajax checkbox, which when checked, i show a feedback at the top > of > the panel. Due to this event another panel on the same page is r

Re: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Gerolf Seitz
> > My goal is to show an image icon next to each erroneous input field :D > see FormComponentFeedbackBorder or FormComponentFeedbackIndicator Gerolf

Re: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Gerolf Seitz
FI.html: Gerolf > > Thanks again to everybody > > > > -----Mensaje original- > De: Gerolf Seitz [mailto:[EMAIL PROTECTED] > Enviado el: martes, 11 de marzo de 2008 12:10 > Para: users@wicket.apache.org > Asunto: Re: How can i Customize the style of Feedback

Re: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Gerolf Seitz
you're welcome. Gerolf On Tue, Mar 11, 2008 at 12:44 PM, Alonso Sanchez, Daniel < [EMAIL PROTECTED]> wrote: > Fantastic! Sorry for disturbing :P Thanks again > > -Mensaje original- > De: Gerolf Seitz [mailto:[EMAIL PROTECTED] > Enviado el: martes, 11 de

Re: Disable ajaxbutton until process is done

2008-03-11 Thread Gerolf Seitz
override getAjaxCallDecorator (or something like this) and return a new IAjaxCallDecorator which appends javascript like "this.disabled=true" in decorateScript() and maybe activates the button with js returned in decorateSuccessScript() and/or decorateFailureScript. Gerolf On Tue, Mar 11, 2008

Re: Default Focus Behavior?

2008-03-11 Thread Gerolf Seitz
the behavior would have to be temporary. On Tue, Mar 11, 2008 at 3:14 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > and a behavior is really the wrong thing > Because who says if you render the page again that it has to again set the > focus on that one? > > MyPage() > { > textField1.add(new

Re: Default Focus Behavior?

2008-03-11 Thread Gerolf Seitz
how about boolean WebPage#isAutoFocusEnabled and the possibility to provide several IFocusStrategy instances with different priority? this would allow to eg only set the focus on the first formcomponent of the first form if no other formcomponent has an error... On Tue, Mar 11, 2008 at 3:36 PM, Ja

Re: Disable ajaxbutton until process is done

2008-03-11 Thread Gerolf Seitz
instead of referencing the id 'create' hardcoded, rather use getMarkupId(). Gerolf On Tue, Mar 11, 2008 at 9:11 PM, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Thanks! I got it to work now. Is it really a good idé to access html like > this in javacode? > > @Override >

Re: Dynamic Forms

2008-03-11 Thread Gerolf Seitz
see Button#setDefaultFormProcessing(boolean), which skips the form processing. Gerolf On Tue, Mar 11, 2008 at 10:09 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote: > I found this: > http://cwiki.apache.org/WICKET/forms-with-dynamic-elements.html > > Problem with it, for me, is that it fails to menti

Re: DateTime.setLabel() issue and a related (but general) setLabel() question

2008-03-12 Thread Gerolf Seitz
you can override newDateTextField(..) and call .setLabel() directly on the DateTextField in there. Gerolf On Wed, Mar 12, 2008 at 10:26 PM, Phil Grimm <[EMAIL PROTECTED]> wrote: > Hey Guys, > I'm building my first Wicket app and, so far, am really loving Wicket! > > I've built my first form an

Re: Hide "Wicket AJAX Debug" window

2008-03-12 Thread Gerolf Seitz
this window only shows up when you start your wicket application in development mode. it won't show up in production mode. Gerolf On Wed, Mar 12, 2008 at 11:14 PM, hjuturu <[EMAIL PROTECTED]> wrote: > > Hi All > i have a label on my webpage on which i do a in line edit using > AjaxEditableLabe

Re: Support for

2008-03-17 Thread Gerolf Seitz
afaik, it's not (easily) possible with DropDownChoice. Take a look at the Select, SelectOption, SelectOptions classes in wicket-extensions, as they give you more power over the single options. Gerolf On Mon, Mar 17, 2008 at 10:43 AM, Kaspar Fischer <[EMAIL PROTECTED]> wrote: > Is there an easy

Re: Pretty DataView urls

2008-03-17 Thread Gerolf Seitz
the following works for me: // in your callback method PageParameters params = new PageParameters(); params.put("page", getPageNumber()); setResponsePage(MyPage.class, params); setRedirect(true); where MyPage.class would typically be the same page the component is on. to make it more "generic", y

Re: Pretty DataView urls

2008-03-17 Thread Gerolf Seitz
yes, unfortunately, one would have to live with that. should've mentioned that ;) On Mon, Mar 17, 2008 at 7:30 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > Creating new page version every time... > > -Matej > > On Mon, Mar 17, 2008 at 7:17 PM, Gerolf Seitz <[EMAIL

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-18 Thread Gerolf Seitz
+1 On Mon, Mar 17, 2008 at 9:13 AM, Martijn Dashorst < [EMAIL PROTECTED]> wrote: > This thread is for voting only. Use the [discuss] thread for voicing > your opinion or asking questions. This makes counting the votes much > easier. > > The discussion on our development list makes it clear that a

Re: Amsterdam Community meeting 2008

2008-03-18 Thread Gerolf Seitz
On Tue, Mar 18, 2008 at 4:56 PM, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote: > Or a "Wicket Antipatterns" would be cool as well, > i.e., how NOT to do things in Wicket and then show the right way to do > them (standard example is not using a model which causes constructor > time binding and peop

Re: "Multiple panels" like behaviour

2008-03-20 Thread Gerolf Seitz
you can provide factory methods in your base page like protected abstract Component newHeader(String id, IModel model); in the constructor of base page do: add(newHeader("header", someModelOrNull)); and just override/implement the factory method in your concrete page classes. hth, Gerolf On T

Re: "Multiple panels" like behaviour

2008-03-20 Thread Gerolf Seitz
i agree with you. i had to fight similar problems and came up with similar (ugly) work arounds. let's see how the post-1.4 solution works out ;) Gerolf On Thu, Mar 20, 2008 at 10:12 AM, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote: > Gerolf Seitz wrote: > > you can provid

Re: Javadoc problem ?

2008-03-20 Thread Gerolf Seitz
these are just the javadocs for the wicket core project. you can find the classes for wicket-extensions here, in case you missed one of the classes in there: http://wicket.apache.org/docs/wicket-1.3.2/wicket-extensions/apidocs/index.html more projects (datetime, spring, ...) will follow soon. G

Re: Panel setVisible() in Ajax call

2008-03-21 Thread Gerolf Seitz
if you set the panel to be invisible on first render, you also have to call panel.setOutputMarkupPlaceholderTag(true) so that a "hidden" placeholder is rendered, which gets replaced with the real panel once you set it to visible and add it to the ajaxrequestarget. Gerolf On Fri, Mar 21, 2008 at

Re: Display of own message in FeedbackPanel

2008-03-21 Thread Gerolf Seitz
because it's getValue() - capital V Gerolf On Fri, Mar 21, 2008 at 11:49 AM, Fabien D. <[EMAIL PROTECTED]> wrote: > > O_o sorry for this mistake I try this : > >email.add(new IValidator() { >public void validate(IValidatable v) { > if ( !CDataVe

Re: Multipart-form with nested ajaxform throws exception in 1.3.1

2008-03-22 Thread Gerolf Seitz
it's fixed for 1.3.3 see https://issues.apache.org/jira/browse/WICKET-1442 Gerolf On Wed, Mar 12, 2008 at 11:14 PM, albert.brand <[EMAIL PROTECTED]> wrote: > > > > Michael Sparer wrote: > > > > I have a multipart-enabled form, inside this form there is a nested form > > with ajaxsubmitbehavior

Re: Links, getting values from form text field

2008-03-24 Thread Gerolf Seitz
SubmitLink seems useful in this case. Gerolf On Tue, Mar 25, 2008 at 2:03 AM, BretChampoux <[EMAIL PROTECTED]> wrote: > > I've got a log on screen, ie user name and password with a submit button. > That part works fine. > > I want to have a link on the screen that can be clicked on to email a

Re: Problem with DatePicker

2008-03-26 Thread Gerolf Seitz
this is fixed in 1.3.2 Gerolf On Wed, Mar 26, 2008 at 11:42 AM, Fabien D. <[EMAIL PROTECTED]> wrote: > > Hi, > > I try to use a DatePicker like this : > >TextField date_version = new TextField("date_version", > model_date_version, Date.class); >date_version.setRequired(true); >

Re: using PropertyModel in abstract class

2008-03-27 Thread Gerolf Seitz
> org.apache.wicket.WicketRuntimeException: No get method defined for class: > class com.domain.Child expression: filed > looks like you mispelled the property name in the propertymodel constructor? Gerolf

Re: Setting text content of component

2008-03-27 Thread Gerolf Seitz
you can also roll your own TextLink very easily: class textlink extends link { public textlink(id, model) { super(id, model); } protected void onComponentTagBody(...) { replaceComponentTagBody(..., getModelObjectAsString()); } } this way you don't need a label inside the link.

Re: Adding new Link() to an tag = weird default behavior

2008-03-27 Thread Gerolf Seitz
that's because Link only adds the onclick event handler for non anchor tags and browser only do the cursor and status bar thing for anchor tags by default. you already fixed the cursor issue and you can write text to the status bar via window.status = "foo", although this doesn't work in IE7 and o

Re: creating dynamic text in web page

2008-03-28 Thread Gerolf Seitz
Or, if you need to parameterize a larger portion of javascript, you can use TextTemplates. (see DatePicker in wicket-datetime as an example) Gerolf On Fri, Mar 28, 2008 at 11:46 AM, Martijn Dashorst < [EMAIL PROTECTED]> wrote: > Another option: > > add(new Label("js", " > type=\"text/javascrip

Re: JavaScript Frameworks

2007-09-05 Thread Gerolf Seitz
i'm not able to give you a deep insight answer on this, but rather what i picked up on this topic: @choosing one major JS framework: i guess the core-devs didn't want to bet all their money on a single horse (except maybe if it's their own ;) ). then also some have a preference for a specific JS f

Re: JavaScript Frameworks

2007-09-05 Thread Gerolf Seitz
> > > So for those specific issues are we to say: > > > http://martijndashorst.com/blog/2007/04/16/javascript-animation-libraries-compared/ > > Is the future?? in this case, take a look at http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-animator ;) gerolf Matej Knopp-2 wrote: >

Re: Howto use AttributeModifier

2007-09-06 Thread Gerolf Seitz
you used the constructor AttributeModifer(String, String, Model), which only modifies the attribute if it's already there. if you use Attribute Modifier(String, String, boolean, Model), the attribute will be added to the tag in case it does not exist yet. gerolf On 9/6/07, Per Newgro <[EMAIL PROT

Re: Calling all translators - UrlValidator translation

2007-09-07 Thread Gerolf Seitz
hi al, here are all missing german translations: StringValidator.exact='${input}' ist nicht exakt ${exact} Zeichen lang. CreditCardValidator=Die Kreditkartennummer ist ung\u00fcltig. UrlValidator='${input}' ist keine g\u00fcltige URL. i guess you could use that for the swiss translation too. ge

Re: wicket extension examples site down?

2007-09-09 Thread Gerolf Seitz
hi ed, as an alternative, you can find the examples for wicket at the following locations: http://wicketstuff.org/wicket12/ -> Wicket 1.2.x http://wicketstuff.org/wicket13/ -> Wicket 1.3.0 gerolf On 9/10/07, Ed _ <[EMAIL PROTECTED]> wrote: > > > Hi, > > Trying to access the wicket exten

Re: wicket extension examples site down?

2007-09-09 Thread Gerolf Seitz
hm, i can see the modal window examples for both versions: Wicket 1.3.0-SNAPSHOT: http://wicketstuff.org/wicket13/ajax/modal-window Wicket 1.2.x: http://wicketstuff.org/wicket12/ajax/?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.modal.ModalWindowPage gerolf On 9/10/07, Ed _ <[EMAIL

Re: Param = null

2007-09-10 Thread Gerolf Seitz
On 9/10/07, chickabee <[EMAIL PROTECTED]> wrote: > > These strategies are pretty nice, but the question remains why the > decoder() > method pukes out when there is mismatch of key value pairs. Hacker will be > very happy with the current state of implementation. only if you deploy your applicati

Re: modal window question - opening a modal window on page load

2007-09-10 Thread Gerolf Seitz
> > I assume you have to be developer to make changes to the change history. you mean to the jira issue? you don't have to be a developer to add a comment. just sign up and you're ready to go. gerolf -ed > > > From: [EMAIL PROTECTED] > > Subject: Re: modal window question - opening a modal w

Re: First Day Disgust!

2007-09-10 Thread Gerolf Seitz
On 9/11/07, Arinté <[EMAIL PROTECTED]> wrote: > > chickabee wrote: > > Hi Wicketers, > > > > I tried wicket today and the example application was up and running on > > tomcat in no time, so that was the good part, after that if I like to > create > > a sample application on my own then I found no e

Re: First Day Disgust!

2007-09-10 Thread Gerolf Seitz
On 9/10/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > > I haven't used an Eclipse plugin for maven since the command line > version works really well and my previous experiences with mevenide > were less than ok (talking about 2 years ago!) > > Martijn there seem to be a new maven-eclipse

Re: JavaZone presentation follow up

2007-09-12 Thread Gerolf Seitz
hi xavier, nice presentation. plz let us know how it went, how many attendees, etc... hf at javazone, gerolf On 9/12/07, Jan Kriesten <[EMAIL PROTECTED]> wrote: > > > hi xavier, > > > I've just finished my presentation on Wicket at JavaZone! > > congrats! and thanks for providing the ppt - i'l

Re: JavaZone presentation follow up

2007-09-12 Thread Gerolf Seitz
On 9/12/07, Xavier Hanin <[EMAIL PROTECTED]> wrote: > > It went pretty well, people seemed interested, well, at least those who > were > awake :-) It's difficult to say how many attendees there was, I'd say > about > 150 or 200, but I'm not very good to evaluate an audience size. The room > was > a

Re: Two small questions

2007-09-12 Thread Gerolf Seitz
hi sebastiaan, what you could do instead of having the beforeDisabledLink and afterDisabledLink properties as members of the class, let the methods get(Before|After)DisabledLink return "" and "". in case the user wants to provide different before/after tags, they just override the methods and let

Re: PageLink and markup inheritance problem

2007-09-12 Thread Gerolf Seitz
i tried the example you attached to the issue, but there is no exception thrown. i tried it with beta3 and latest trunk. both work as expected. gerolf On 9/13/07, Carlos Pita <[EMAIL PROTECTED]> wrote: > > Sorry for the delay Igor, not exactly what you asked for but I have > filed a new bug wit

Re: Two small questions

2007-09-12 Thread Gerolf Seitz
g like CustomLinkDisableBehavior or some such (especially > since you would probably would use such a customization over an entire > site). I'm still split on the issue though. :-) > > Anyway, I decided for now to take your approach. > > Here's the new class. > > Regards, and

Re: Two small questions

2007-09-13 Thread Gerolf Seitz
On 9/13/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote: > > Hi, > > Gerolf Seitz wrote: > > sebastiaan, > > > > sorry for not saying that in my first post: thank you for your > contribution. > > could you also attach this file to the issue WIC

Re: updating form component models when a link is clicked

2007-09-13 Thread Gerolf Seitz
On 9/13/07, Erik van Oosten <[EMAIL PROTECTED]> wrote: > > Hi, > > If you are using links, the browser won't submit the values. You should > use buttons. you could use SubmitLink or AjaxSubmitLink... gerolf Regards, > Erik. > > > tbt schreef: > > Hi > > > > I'm a newbie to wicket and I h

Re: Howto customize yui datepicker

2007-09-13 Thread Gerolf Seitz
hi per, you could copy the calendar.css file change it according to your needs. to get your customized css rules to overrule the default calendar css rules, you'd have to provide rules with a higher specificty. example for higher specificity: [original-calendar.css] .yuicalendar { display: block

Re: Howto customize yui datepicker

2007-09-13 Thread Gerolf Seitz
On 9/13/07, Per Newgro <[EMAIL PROTECTED]> wrote: > > Hi gerolf, > > could you file a RFE, so that we can provide the facilities for that? > Could you please tell me what you mean with RFE? I never heared of it. it's a Request For Enhancement. please file a new issue at https://issues.apache.org

Re: Palette header

2007-09-14 Thread Gerolf Seitz
you can either provide localized strings for the keys "palette.selected" and "palette.available" (preferred), or override the methods newAvailableHeader/newSelectedHeader. gerolf On 9/14/07, fero <[EMAIL PROTECTED]> wrote: > > > Hi, > simple question: How to set model Palette header ("Avaiable

Re: wicket datetime / YUI calendar

2007-09-14 Thread Gerolf Seitz
from the top of my head i'd say it's not yet possible. yould you please file a RFE? thanks. gerolf On 9/14/07, Nino.Martinez <[EMAIL PROTECTED]> wrote: > > > Hi > > Im trying to setup the calendar to: > > Not being a popup > Being multipage (2 pages) > > Like this: > http://developer.yahoo.com/

Re: wicket datetime / YUI calendar

2007-09-14 Thread Gerolf Seitz
uld I make a patch if I can? > > regards Nino > > > Gerolf Seitz wrote: > > > > from the top of my head i'd say it's not yet possible. > > yould you please file a RFE? thanks. > > > > gerolf > > > > On 9/14/07, Nino.Martinez <[EMAIL

Re: Palette header

2007-09-15 Thread Gerolf Seitz
of my head whether this is already done or not. gerolf Gerolf Seitz wrote: > > > > you can either provide localized strings for the keys "palette.selected" > > and > > "palette.available" (preferred), > > or override the methods newAvailableHeader/ne

Re: Any interest in a Wicket User Group meeting in The Netherlands?

2007-09-15 Thread Gerolf Seitz
On 9/15/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > because it seems there can be quite a lot of people > i have to look around where to do it. and also what kind of day > because this many people then 2,3 hours in the evening is maybe a bit to > little time. what about a WicketOne (obviou

Re: DropDownChoice.setSelected(Object object)

2007-09-16 Thread Gerolf Seitz
you have to set the model of the dropdownchoice. let's say you initiated the drowdownchoice with a list of strings (eg. "a", "b", "c") and you want to pre-select "b", you call: choice.setModelObject("b"); that's it... the same concept applies if you have "complex" datatypes (eg a pojo). hth, ger

Re: DropDownChoice.setSelected(Object object)

2007-09-16 Thread Gerolf Seitz
to state the obvious (after the replies of eelco and martijn): you'd only use the approach i mentioned before if you don't use CompoundPropertyModel or PropertyModel. gerolf On 9/16/07, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > > you have to set the model of the dropdownc

Re: wicket datetime / YUI calendar

2007-09-17 Thread Gerolf Seitz
> > Try using AbstractCalendar instead, that should display a regular > calendar. It is not nearly as well maintained as DatePicker - I > actually wanted to delete it a few weeks ago, but Igor objected - but > I think it should work. Patches are welcome to bring it more in line > with DatePicker if

Re: wicket datetime / YUI calendar

2007-09-17 Thread Gerolf Seitz
> > > nino filed WICKET-979 and i've attached a patch that should allow what > nino > > wants to achieve. > > basically it adds two new "options" for configuring the datepicker: > > boolean hideOnSelect() and boolean renderOnLoad() > > Ah, that sounds fantastic! heh, i'm thinking about a "detecti

Re: Dojo floating panel

2007-09-17 Thread Gerolf Seitz
i've never used wicketstuff-dojo (or dojo at all), so i maybe totally wrong about it. you can probably add an InlineFrame which loads the webpage to the DojoFloatingPane. gerolf On 9/17/07, Federico Fanton <[EMAIL PROTECTED]> wrote: > > Hi everyone! > I need a floating panel such as the one pr

Re: wicket beta 1.3 DateTextField not working with ajaxformcomponentupdatebehavior?

2007-09-17 Thread Gerolf Seitz
what's wrong with it? On 9/17/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > > Hi > > Seems to me this does not work? > > > regards Nino > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional com

Re: Regarding Wicket Session

2007-09-17 Thread Gerolf Seitz
hi edi, typically, you would subclass from WebSession and provide your own typesafe getters and setters: public class MySession extends WebSession { private String myString; public String getMyString() { return myString; } public void setMyString(String myString) { this.myString = myString

Re: Dojo floating panel

2007-09-18 Thread Gerolf Seitz
> > button.add(new AjaxEventBehavior("onclick"){ > @Override > protected void onEvent(AjaxRequestTarget target) { > target.prependJavascript("window.close();"); > } > }); > > but nothing happens, even though in "Wicket ajax debug" I can see that the > window.

Re: Dojo floating panel

2007-09-18 Thread Gerolf Seitz
you could pass a reference to the dojofloatingpane to Page2 gerolf On 9/18/07, Federico Fanton <[EMAIL PROTECTED]> wrote: > > On Tue, 18 Sep 2007 15:09:40 +0200 > Federico Fanton <[EMAIL PROTECTED]> wrote: > > > I see, but since the closing button is *inside* an iframe, I don't have > any means t

Re: DatePicker NaN

2007-09-18 Thread Gerolf Seitz
no, it's not intentional. could you please file a bug report? thanks... gerolf On 9/18/07, Ivana Cace <[EMAIL PROTECTED]> wrote: > > Hi > I have a problem with the DatePicker. It works fine if the input is a > valid date or if the input is very wrong, for example: ''xxx". > But when the input c

Re: DatePicker NaN

2007-09-18 Thread Gerolf Seitz
On 9/18/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > Yes please. What do we want here? The date picker not showing up in > the first place? hm, maybe use the previously correct date? another question eelco: what is the hidden input right after the .yui-container span for? iirc, it doesn't

Re: Wicket consulting/contracting/outsourcing

2007-09-18 Thread Gerolf Seitz
there is a wiki page dedicated to that topic: http://cwiki.apache.org/WICKET/companies-that-provide-services.html gerolf On 9/18/07, skatz <[EMAIL PROTECTED]> wrote: > > > Hi, > > Can anyone provide me with pointers to individuals or companies providing > Wicket consulting/contracting or outsou

Re: DatePicker NaN

2007-09-19 Thread Gerolf Seitz
ivana filed an issue today (WICKET-989) and i already attached a patch to it. so either you persuade any of the committers to apply the patch and commit it, or you do an svn checkout and apply the patch to your local copy of wicket-datetime. Gerolf On 9/19/07, Philip Köster <[EMAIL PROTECTED]>

Re: Dojo floating panel

2007-09-19 Thread Gerolf Seitz
;" + dojoPane.getMarkupId() + "\");"); } hope it works this time ;) Gerolf On 9/19/07, Federico Fanton <[EMAIL PROTECTED]> wrote: > > On Tue, 18 Sep 2007 16:19:59 +0200 > "Gerolf Seitz" <[EMAIL PROTECTED]> wrote: > > > you could pass

Re: Dojo floating panel

2007-09-20 Thread Gerolf Seitz
sure, you're welcome On 9/20/07, Federico Fanton <[EMAIL PROTECTED]> wrote: > > On Wed, 19 Sep 2007 20:00:46 +0200 > "Gerolf Seitz" <[EMAIL PROTECTED]> wrote: > > > hope it works this time ;) > > It works

Re: scaffolding in wicket

2007-09-21 Thread Gerolf Seitz
there is a crud panel in the wicketstuff repository made by igor. you can checkout the source here: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-crud/ Gerolf On 9/21/07, Otan <[EMAIL PROTECTED]> wrote: > > Many frameworks have this feature because it truly spe

[podcast] Wicket talk at JavaZone 2007

2007-09-22 Thread Gerolf Seitz
for those of you couldn't attend JavaZone 2007 (probably most of you) and haven't already listened to the podcast, here we go: http://www4.java.no/presentations/javazone/2007/podcast/5301.mp3 the rss-feed for all podcasts can be found here: http://www4.java.no/web/show.do?page=141 Xavier, thank

Re: [podcast] Wicket talk at JavaZone 2007

2007-09-24 Thread Gerolf Seitz
gest a list with the following information : > * authors > * original target (ex: javazone 2007), first presentation date > * wicket version (1.3.0) > * attachament (slides, src...) > * agenda/toc > > /david > > Xavier Hanin wrote: > > On 9/22/07, Gerolf Seitz <[EMAIL

Re: Using Resource to provide background attribute to td-tag?

2007-09-25 Thread Gerolf Seitz
hi, i'd say either: myTd.add(new AttributeModifier("style", true, "background-image:url(" + RequestCycle.urlFor(myImage) + ");")); // use an AttributeAppender if you want to preserve an existing style attribute or override onComponentTag of myTd and put it in the tag like: tag.put("style", "backgr

Re: Form Feedback

2007-09-25 Thread Gerolf Seitz
in your case (appending star to the label) i would do the following: // html [label]* // java TextField input = new TextField("input", new Model("")); FormComponentFeedbackIndicator inputIndicator = new FormComponentFeedbackIndicator("inputIndicator"); inputIndicator.setIndicatorFor(input); notic

Re: Using Resource to provide background attribute to td-tag?

2007-09-25 Thread Gerolf Seitz
On 9/25/07, wfaler <[EMAIL PROTECTED]> wrote: > > I want to use a ResourceReference (or something comparable) apparently, the words in parenthesis are sometimes more important than the rest, so yes: keep it simple... gerolf

Re: Form Feedback

2007-09-25 Thread Gerolf Seitz
to work > properly? > > This is all setup in a QuickStart project, using Java 1.4 > > Thanks for any help. > > -Clay > > -Original Message- > From: Gerolf Seitz [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 25, 2007 11:31 AM > To: users@wicket.ap

Re: Wicket-stuff Animator JavascriptSubject

2007-09-28 Thread Gerolf Seitz
, 1000);"); } thanks again for the (informal) bug report and let me know if you have any more questions... gerolf On 9/28/07, NickCanada <[EMAIL PROTECTED]> wrote: > > > Thanks Gerolf Seitz for adding animator.js functionality to wicket-stuff. > &

Re: Wicket-stuff Animator JavascriptSubject

2007-09-28 Thread Gerolf Seitz
he examples at berniecode.com using your library. > > This is nice code to learn from. > > Thanks again > > Nick > > > > > > > Gerolf Seitz wrote: > > > > hi nick, > > > > thanks for the feedback. there was indeed an error with the genera

Re: Help - Best Practice - Mapping Database Constraint Violation to User Interface

2007-09-29 Thread Gerolf Seitz
there is something for hibernate in the wicketstuff svn repository: wicketstuff-hibernate-behavior https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-hibernate-behavior/ haven't used it myself and i also don't know if there's a wiki page for this. hope it still helps

Re: wicket datetime / YUI calendar

2007-10-01 Thread Gerolf Seitz
hi nino, @ your problem: if there is no model which can be updated (ie with an AjaxFormComponentUpdatingBehavior), so wicket doesn't know what happened on the client side. as a consequence the calendar is initialized with the default dates. are we talking about a standalone calendar with an invisi

Re: wicket datetime / YUI calendar

2007-10-01 Thread Gerolf Seitz
> param.add("addRenderer("2/29", > YAHOO.example.calendar.cal1.*renderCellStyleHighlight1)*"); > > This approach however requires that the user of the component are aware > that its a YUI calender, we could also just encapsulate the things and > make java met

Re: wicket datetime / YUI calendar

2007-10-01 Thread Gerolf Seitz
he property. i would rather take the first route, as it doesn't expand the api. i also think that's what Eelco would prefer, right? ;) gerolf On 10/1/07, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > > if you set a model for the textfield, the datepicker sho

Re: wicket datetime / YUI calendar

2007-10-02 Thread Gerolf Seitz
@Override > protected void onUpdate(AjaxRequestTarget target) { > log.debug("event fired"); > target.addComponent(ajaxRequiredTable); > > target.addComponent(dateLabel); > > } >

Re: wicket datetime / YUI calendar

2007-10-02 Thread Gerolf Seitz
fault > one in the YUI extension? > > How does your dateconverter look like? > > regards Nino > > > Gerolf Seitz wrote: > > you should use org.apache.wicket.datetime.markup.html.form.DateTextFieldin > > wicket-datetime, not the one from wicket-extensions ;) > &

Re: TextField rounds doubles, why?

2007-10-02 Thread Gerolf Seitz
you can override the method getConverter(Class) and return customized converter. i use a "DoubleLabel" to always show 2 fraction digits: private static class DoubleLabel extends Label { // constructors public IConverter getConverter(Class clazz) { DoubleConverter

Re: wicket datetime / YUI calendar

2007-10-02 Thread Gerolf Seitz
On 10/1/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > > Multipage calendar > http://developer.yahoo.com/yui/examples/calendar/calgrp.html > Calendar dates marked with bold > http://developer.yahoo.com/yui/examples/calendar/render.html > Nino, have a look at WICKET-1030 and

Re: wicket datetime / YUI calendar

2007-10-03 Thread Gerolf Seitz
ould be in. gerolf regards Nino > > Gerolf Seitz wrote: > > On 10/1/07, Nino Saturnino Martinez Vazquez Wael < > [EMAIL PROTECTED]> > > wrote: > > > >> Multipage calendar > >> http://developer.yahoo.com/yui/examples/calendar/calgrp.html > >

Re: Session size is constantly increasing on setResponsePage(getPage())

2007-10-03 Thread Gerolf Seitz
i think johan already fixed it in trunk. gerolf On 10/3/07, Martin2 <[EMAIL PROTECTED]> wrote: > > > Hi, > > thanks for the quick response. Should I open a JIRA issue for this or is > it > to minor to justify the overhead? > > bw, > Martin > > > > > > Johan Compagner wrote: > > > > ok found it, W

Article about Wicket on javamagazin.de

2007-10-03 Thread Gerolf Seitz
for all those who are capable of reading german, here is an article about wicket on javamagazin.de http://javamagazin.de/itr/online_artikel/psecom,id,933,nodeid,11.html i'll add a link to it in the wiki gerolf

Re: Article about Wicket on javamagazin.de

2007-10-03 Thread Gerolf Seitz
it's also on the frontpage of the magazine. see http://javamagazin.de/itr/ausgaben/pspic/bildgross/66/big4700f14df0a73.gif the second smaller heading right below the jruby heading oh, and the authors of the article will have a talk at the conference w-jax07 in germany. gerolf On 10/3/07, G

Re: Update of datepicker value with ajax

2007-10-04 Thread Gerolf Seitz
Per, a temporary fix for now would be to instead of adding the DateTextField to the AjaxRequestTarget, add text.getParent() i'll fix this "misbehavior" with something similar what matej did with the IndicatingAjaxButton Gerolf On 10/4/07, Per Newgro <[EMAIL PROTECTED]> wrote: > > Hi *, > > I

Re: Decouple parts of a form

2007-10-09 Thread Gerolf Seitz
i agree with martin, ditch the form and let CaptchaPanel extend FormComponentPanel. for the captcha and do a check for the form in onBeforeRender (since it's not yet added to the hierarchy in the constructor). just use "getForm();" to check for the existence of an ancestor form. this method throws

<    1   2   3   >