Making proper form component

2011-05-09 Thread Joseph Pachod
Hi A while ago, we needed to do heavily reused form components and we ended going for the FormComponentPanel through a dedicated DecoratedEdit. However, we had some issues with it, which are: - some methods one would have wanted to override, like clearInput or getConvertedInput, are final. For

Re: Display component feedback message once: safety net renders them always before

2011-01-04 Thread Joseph Pachod
For additional commands, e-mail: users-h...@wicket.apache.org -- Joseph Pachod IT THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 506 F + 49 761 3 85 59 550 E joseph.pac...@thomas-daily.de www.thomas-daily.de Geschäftsführer/Managing Directors: Wendy Thomas, Susanne

Re: nested form in FormComponentPanel validation issue

2010-12-07 Thread Joseph Pachod
On 12/05/2010 09:21 AM, Igor Vaynberg wrote: the problem is in DecoratedEdit classs, the tmp variable is not updated with converted input of the inner textfield, so composeConvertedInput() incorrectly returns null when it should return the converted input of the inner text component. hi

Re: nested form in FormComponentPanel validation issue

2010-12-02 Thread Joseph Pachod
On 11/26/2010 05:41 PM, Igor Vaynberg wrote: quickstart, jira issue. -igor hi igor I've created a quickstart for it (cf attachement) however, it may be linked to self made DecoratedEdit/TextFieldEdit classes (cf attachement again). As such, I'm not sure if it's a wicket bug or not, so I

Display component feedback message once: safety net renders them always before

2010-12-02 Thread Joseph Pachod
;) best -- Joseph Pachod IT THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 506 F + 49 761 3 85 59 550 E joseph.pac...@thomas-daily.de www.thomas-daily.de Geschäftsführer/Managing Directors: Wendy Thomas, Susanne Larbig Handelsregister Freiburg i.Br., HRB 3947

Re: nested form in FormComponentPanel validation issue

2010-11-26 Thread Joseph Pachod
On 11/25/2010 08:26 PM, Igor Vaynberg wrote: addressedit should be composing itself in its convertinput() method based on the converted input of the subcomponents. thanks igor it did so but the nested form was validating after the FormComponentPanel, so the converted inputs of the nested

Re: nested form in FormComponentPanel validation issue

2010-11-26 Thread Joseph Pachod
On 11/26/2010 05:41 PM, Igor Vaynberg wrote: quickstart, jira issue. thanks, I wasn't sure about creating an issue I will do then, but since I moved on (removing the nested form), so it could take a little while (+ we are on 1.4.9, so maybe latest versions are better there, no clue) ++

nested form in FormComponentPanel validation issue

2010-11-25 Thread Joseph Pachod
converted its own input I tried various workaround, but none was good enough to my taste. What would you suggest ? ++ -- Joseph Pachod IT THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 506 F + 49 761 3 85 59 550 E joseph.pac...@thomas-daily.de www.thomas-daily.de

Re: AW: Header requiring to be contributed through page load and not ajax...

2010-09-10 Thread Joseph Pachod
Stefan Lindner wrote: I use onDomReady functionality at many places in my jWicket jQuery-integration. I don't know of any general problem (no guarantee that there isn't one) with jQuery and Wickets onDomReady. Of course you have to ensure that the library (and perhaps additional files) is

Re: AW: Header requiring to be contributed through page load and not ajax...

2010-09-10 Thread Joseph Pachod
Stefan Lindner wrote: I use onDomReady functionality at many places in my jWicket jQuery-integration. I don't know of any general problem (no guarantee that there isn't one) with jQuery and Wickets onDomReady. Of course you have to ensure that the library (and perhaps additional files) is

Re: Header requiring to be contributed through page load and not ajax...

2010-09-10 Thread Joseph Pachod
Igor Vaynberg wrote: dunno then, you may want to talk to jquery people and see what they recommend. we cant really fire the onload event again because some scripts may have already been executed...like i said, see what jquery folks say. thanks anyway as jquery integration is fairly common I

Re: Wicket Ajax integration

2010-09-10 Thread Joseph Pachod
Rodolfo Hansen wrote: Nice, I implemented something very similar to that actually; and now I actually also need to send json from the client... I didn't try client - json - wicket yet, but i guess it should be doable. The main question is how you provide the json content. If it's through the

Re: Wicket Ajax integration

2010-09-09 Thread Joseph Pachod
-- Joseph Pachod IT THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 506 F + 49 761 3 85 59 550 E joseph.pac...@thomas-daily.de www.thomas-daily.de Geschäftsführer/Managing Directors: Wendy Thomas, Susanne Larbig Handelsregister Freiburg i.Br., HRB 3947 Registrieren

Header requiring to be contributed through page load and not ajax...

2010-09-09 Thread Joseph Pachod
hi It looks like the jquery files need to be included through a normal page load. Contributing these headers through Ajax doesn't work, I guess it's due to the use of $(document).ready(function(), which isn't triggered on ajax refresh. I tried to find a jquery workaround for that but without

Re: Header requiring to be contributed through page load and not ajax...

2010-09-09 Thread Joseph Pachod
instead of $(document).ready(function() use wicket's iheadercontributor's response.writeondomreadyjavascriptthanks for the answer I do so for my own stuff, but jquery plugin don't. similarly, the core jquery file import won't work when added through ajax.

Re: How to run some JS only once after Ajax rendering is done ?

2010-09-08 Thread Joseph Pachod
Hi have you tried invoking AjaxRequestTarget's method appendJavascript? Inside if statement try to write AjaxRequestTarget.get().appendJavascript(jQuery.initEdit();); I had a similar problem some weeks ago and it worked. It won't be run only once even if added multiple time (for

Re: How to run some JS only once after Ajax rendering is done ?

2010-09-08 Thread Joseph Pachod
Fabrice BUQUET wrote: Maybe you can try IHeaderResponse.renderOnDomReadyJavascript Thanks a lot, it did it :) It wasn't too obvious that Wicket checks in this given method for not rendering twice the same javascript. Great anyway, thanks again :) ++ joseph

Re: How to run some JS only once after Ajax rendering is done ?

2010-09-08 Thread Joseph Pachod
Bernhard Schauer wrote: I think you could do it as follows. The js function 'bindYourEvent()' is called after the the components that are added to the AjaxRequestTarget are 're-painted'. form.add(new AjaxButton(set) { @Override protected void onSubmit(final

How to run some JS only once after Ajax rendering is done ?

2010-09-07 Thread Joseph Pachod
) { if ((AjaxRequestTarget.get() != null)) { response.renderJavascript(jQuery.initEdit();, ID + response.hashCode()); } } })); } (...) thanks in advance best -- Joseph Pachod IT THOMAS DAILY GmbH

Re: FormComponentPanel and list edit

2010-08-06 Thread Joseph Pachod
hi ListContact convertedInput ; public void convertInput(){ ListContact list= new ArrayListContact() // how to compose the list ? listeditor.convertinput(); setConvertedInput(listeditor.getconvertedinput()); -igorlisteditor isn't a FormComponent, so there's no

Re: FormComponentPanel and list edit

2010-08-04 Thread Joseph Pachod
Igor Vaynberg wrote: visit all the children, check if they are a FormComponent and call convertinput() followed by getconvertedinput() -igor hi thanks igor we thought of that, but the issue is that we need to handle the getconvertedinput For example, if I've a ContactListEdit, with

Re: FormComponentPanel and list edit

2010-08-04 Thread Joseph Pachod
Igor Vaynberg wrote: why not? convertinput() will cascade down to all components that need them. -igor I feel like the issue is not with the components in the list item, but with the wrapper around the list item. For example (pseudo code): public class ContactListEdit extends

FormComponentPanel and list edit

2010-08-03 Thread Joseph Pachod
hi IF we're heavily reusing the edit components we do, and as such we wanted them to behave as good form citizen. On our way, we spotted the FormComponentPanel, which seems to achieve our goal. Yet, a question has popped up: how to deal with List edit ? Indeed, none of the class extending

Re: IVisitorT extends Component and IFormModelUpdateListener not extending Component

2010-07-28 Thread Joseph Pachod
that IFormModelUpdateListener (and lot of other I guess) would extend ? And in fact it's quite the same for FormComponent. It would be handy to have an IFormComponent which could be used there and there. For example in the ListEditor's igor did, which really is a FormComponent but has to extend Repeater. ++ -- Joseph

Re: IVisitorT extends Component and IFormModelUpdateListener not extending Component

2010-07-28 Thread Joseph Pachod
Johan Compagner wrote: having IComponent for me means that there are more then 1 Component.. (there are multiply implementations possible then) So then we have to use IComponent everwhere instead of Component That means again that it will be a quite large interface, and do we also then get

IVisitorT extends Component and IFormModelUpdateListener not extending Component

2010-07-26 Thread Joseph Pachod
to get it running. However, for wicket 1.5 I guess, shouldn't there be an IComponent interface that IFormModelUpdateListener would implement ? IVisitor would then be of T extends IComponent and I could do an IVisitorIFormModelUpdateListener. What's your pick on that ? ++ -- Joseph Pachod

Re: IVisitorT extends Component and IFormModelUpdateListener not extending Component

2010-07-26 Thread Joseph Pachod
avrahamr wrote: You can still visit all components and manually check if it is an instanceof IFormModelUpdateListener that's what I did , dumping generics info on the way - To unsubscribe, e-mail:

Re: IVisitorT extends Component and IFormModelUpdateListener not extending Component

2010-07-26 Thread Joseph Pachod
Johan Compagner wrote: you can use: public final S extends Component Object visitChildren(final Class? clazz, final IVisitorS visitor) then you have to cast yes, but you can cast safely. johan I don't get it, sorry. How could I cast safely there ?

Re: IVisitorT extends Component and IFormModelUpdateListener not extending Component

2010-07-26 Thread Joseph Pachod
Joseph Pachod wrote: Johan Compagner wrote: you can use: public final S extends Component Object visitChildren(final Class? clazz, final IVisitorS visitor) then you have to cast yes, but you can cast safely. johan I don't get it, sorry. How could I cast safely

Re: Why is Component.setDefaultModelObject() checking for equality before setting ?

2010-07-23 Thread Joseph Pachod
Igor Vaynberg wrote: the added value is that if wicket detects that the set is a noop because the objects are the same it doesnt need to create a new version of the page. ok, makes more sense :) I was quite a surprised though, I had not heard of it at all even read all these wicket books

Why is Component.setDefaultModelObject() checking for equality before setting ?

2010-07-21 Thread Joseph Pachod
, why it it this way ? thanks in advance ++ -- Joseph Pachod IT THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 506 F + 49 761 3 85 59 550 E joseph.pac...@thomas-daily.de www.thomas-daily.de Geschäftsführer/Managing Directors: Wendy Thomas, Susanne Larbig

Re: inconsistency in property expression when using . for self reference

2010-06-18 Thread Joseph Pachod
Jeremy Thomerson wrote: Please attach to a JIRA [https://issues.apache.org/jira/browse/WICKET] so that it doesn't get lost. done : https://issues.apache.org/jira/browse/WICKET-2919 ++ - To unsubscribe, e-mail:

inconsistency in property expression when using . for self reference

2010-06-17 Thread Joseph Pachod
hi Let's consider this class : class Container { String string = foo; ListString strings = Arrays.asList(new String[]{test}); } This would work: new PropertyModelString(container, .string).getObject() = returns foo but this doesn't: new PropertyModelString(container,

Re: Dialog involving multiple pages and a VO: some best practices?

2010-06-07 Thread Joseph Pachod
Igor Vaynberg wrote: obviously you have to know what you are passing around. you shouldnt pass around objects that link to page instances, such as anonymous classes of models. -igor if that's all, then all fine for me quite different from what I had in mind about different references to

Re: SV: Dialog involving multiple pages and a VO: some best practices?

2010-06-04 Thread Joseph Pachod
Wilhelmsen Tor Iver wrote: I've recently been wondering about the following use case: an instance of Foo class, used as a detached value object, is edited in a FooEditPage. For some reasons, let's say this page then needs to launch dialogs spanning over different pages. Each of these pages could

Re: Dialog involving multiple pages and a VO: some best practices?

2010-06-04 Thread Joseph Pachod
Mauro Ciancio wrote: Hi, On Wed, Jun 2, 2010 at 7:43 PM, Joseph Pachod josephpac...@thomas-daily.de wrote: I've recently been wondering about the following use case: an instance of Foo class, used as a detached value object, is edited in a FooEditPage. For some reasons, let's say

Re: Dialog involving multiple pages and a VO: some best practices?

2010-06-04 Thread Joseph Pachod
Igor Vaynberg wrote: usually i simply allow pages to take models of whatever it is they need, just like any other component. in case of a dto being passed around you can simply use the default model: new ModelDto(new Dto()); and pass that to any page. that way the page does not need to worry

Re: Why does SerializableChecker throw WicketNotSerializableException on guice injected non Serializable class ?

2010-06-02 Thread Joseph Pachod
Martijn Dashorst wrote: Then we could use a longer trace from the serialization exception... Plus some code to go with it. The best way would be to create a minimal setup using a quickstart exhibiting the problem. hi here is the attached demo reproducing the issue it was harder than I

Re: Why does SerializableChecker throw WicketNotSerializableException on guice injected non Serializable class ?

2010-06-02 Thread Joseph Pachod
Forget it, the inner class being part of the injected class wasn't in fact static... that the reason for this issue sorry for the noise best joseph Joseph Pachod wrote: Martijn Dashorst wrote: Then we could use a longer trace from the serialization exception... Plus some code to go

Re: Why does SerializableChecker throw WicketNotSerializableException on guice injected non Serializable class ?

2010-06-02 Thread Joseph Pachod
And that is why quickstarts are a godsend! Not only does it make it easier for us to solve a bug and distill a test case from it, it also makes it trivial to find bugs in one's own code (and often solving the question automatically) Martijn Indeed ! It'll teach thinking I've cornered the

Dialog involving multiple pages and a VO: some be st practices?

2010-06-02 Thread Joseph Pachod
hi I've recently been wondering about the following use case: an instance of Foo class, used as a detached value object, is edited in a FooEditPage. For some reasons, let's say this page then needs to launch dialogs spanning over different pages. Each of these pages could then change some

Why does SerializableChecker throw WicketNotSerializableException on guice injected non Serializable class ?

2010-06-01 Thread Joseph Pachod
: com.softculture.core.dataseries.morphia.wicket.DefaultDecoratorFactory I was assuming that such a class wouldn't need to be Serializable, since it was never serialized done thanks to guice injection... Am I wrong ? thanks in advance best regards -- Joseph Pachod IT THOMAS DAILY GmbH Adlerstraße 19 79098

Re: Why does SerializableChecker throw WicketNotSerializableException on guice injected non Serializable class ?

2010-06-01 Thread Joseph Pachod
nino martinez wael wrote: did you mark it transient? I didn't expect it to be necessary since the wicket guice proxy is still serializable (in the way that it handles serialization of its own) but could be done yes best joseph

Re: Why does SerializableChecker throw WicketNotSerializableException on guice injected non Serializable class ?

2010-06-01 Thread Joseph Pachod
Martijn Dashorst wrote: You need to use the Wicket injector for guice. That will create a serializable proxy for the service. Guice itself doesn't know about Wicket, so you can't expect it to magically work. Martijn sorry, I didn't provide enough context: I'm using wicket-guice (on 1.4.9). So

Re: Why does SerializableChecker throw WicketNotS erializableException on guice injected non Seria lizable class ?

2010-06-01 Thread Joseph Pachod
I just went to check 1.4.9 change list and I didn't see anything related to the way IOC works (at least from 1.4.8 which is what I'm using right now), or did I miss something in this thread or there in the release notes ? :)I don't think it has changed: I tested again 1.4.3, 1.4.7 and 1.4.9,

AjaxFormComponentUpdatingBehavior breaking wicket 's convention ? Which alternatives then?

2010-04-28 Thread Joseph Pachod
hi I was quite surprised, recently, by the AjaxFormComponentUpdatingBehavior, which directly updates the model. At the time it seemed pretty odd but I moved on. then I recently read this article from Igor, Building a ListEditor form component

Re: is there some Ajax behavior updating only a component internal state/data ?

2010-04-26 Thread Joseph Pachod
) hiddenFieldGetter.invoke(root); } catch (Exception e) { throw new RuntimeException(e); } } } 2010/4/23 Joseph Pachod j...@thomas-daily.de: Igor Vaynberg wrote: there is ajaxformsubmitting behavior which will update the entire form -igor thanks however, that's

is there some Ajax behavior updating only a component internal state/data ?

2010-04-23 Thread Joseph Pachod
details, it means the user writes something in one of the listitem's textfield, then click on add new item = I want the textfield's state to be known and preserved, whereas the whole form shouldn't be submitted yet. Thanks in advance best regards -- Joseph Pachod IT THOMAS DAILY GmbH Adlerstraße

Re: is there some Ajax behavior updating only a component internal state/data ?

2010-04-23 Thread Joseph Pachod
Igor Vaynberg wrote: there is ajaxformsubmitting behavior which will update the entire form -igor thanks however, that's not exactly my need, being just recording the user input (not to loose it) without validating. Is there no way around, like a hook from Ajax to act only on some

Re: is there some Ajax behavior updating only a component internal state/data ?

2010-04-23 Thread Joseph Pachod
Martin Makundi wrote: Here: (..) looks promising, thanks a lot I'll test it on Monday (week end calling soon and.. urgent stuff to do in between) thanks again :) ++ joseph - To unsubscribe, e-mail:

Re: meaning of stricken item in Wicket 1.5 Wish List on the wiki ?

2010-04-22 Thread Joseph Pachod
Martijn Dashorst wrote: striken through means: 1) already happened 2) already happened elsewhere 3) never gonna happen Most items fall in categories 1 and 2 thanks I updated the wiki accordingly best joseph - To

an interface for page ?

2010-04-21 Thread Joseph Pachod
for wicket 1.5) to have an interface for page, which would be used as well in setResponse(..) ? thanks in advance best regards -- Joseph Pachod IT THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 506 F + 49 761 3 85 59 550 E joseph.pac...@thomas-daily.de www.thomas

meaning of stricken item in Wicket 1.5 Wish List on the wiki ?

2010-04-21 Thread Joseph Pachod
hi Could someone enlighten me with the meaning of stricken items in the Wicket 1.5 Wish List of the wiki (https://cwiki.apache.org/WICKET/wicket-15-wish-list.html ) ? thanks in advance best regards -- Joseph Pachod IT THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761

Re: an interface for page ?

2010-04-21 Thread Joseph Pachod
Martin Grigorov wrote: It is already: (..) thanks for this info :) is there any known estimation of wicket 1.5 release date ? ++ joseph - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: What happens after browser's 'back' button?

2010-04-12 Thread Joseph Pachod
Johan Compagner wrote: yes we didnt do that by default because it is quite annoying behavior Back button should be quick and shouldnt load it from the server again at least not by default. You can configure it for you application the way you like. But for many others back should really be

RE: What happens after browser's 'back' but ton?

2010-04-07 Thread Joseph Pachod
Regarding the commented out no-store, any idea why the wicket core developers didn't used it directly ? Having a consistent behavior across browser + ajax and back button working seem rather good. I wonder why it isn't included currently. joseph _ From: Craig McIlwee

Re: What about an onInitialRender method ?

2010-04-03 Thread Joseph Pachod
Another reason is that the components hierarchy isn't built yet in the constructor. Indeed, when writing add(new MyComponent(id));, the component is first constructed and then added. As such, using methods like getPage() or getForm() in the constructor results in exceptions being thrown at

What about an onInitialRender method ?

2010-04-02 Thread Joseph Pachod
hi The other day, I was busy creating reusable components. To make them safe, I used what I believe is a wicket good practices: adding the components in onBeforeRender. In fact, it's not just in onBeforeRender, it's rather : @Override protected void onBeforeRender() {

Re: What about an onInitialRender method ?

2010-04-02 Thread Joseph Pachod
*/ protected void onInitialize() { } -igor On Fri, Apr 2, 2010 at 2:03 PM, Joseph Pachod josephpac...@thomas-daily.de wrote: hi The other day, I was busy creating reusable components. To make them safe, I used what I believe is a wicket good practices: adding

Guice LazyInitProxyFactory : NPE when calling, first, public fields

2010-02-17 Thread Joseph Pachod
waits for the first method call to do the actual injection. So, currently, when calling directly some members on guice injected bean in wicket, I get a NPE. I fear I've missed something obvious, but I don't find an easy way out... Any suggestion ? thanks in advance -- Joseph Pachod

Re: AW: get set attribute wicket session

2010-01-21 Thread Joseph Pachod
Giambalvo, Christian wrote: Hi, with getSession() you will always get the session attached to the current request. So yes it is session specific. Greets chris I would add that, in order to save this nasty cast all over the place, you could create your own getMySessionImpl this way : class

Escaping variable declaration/resolution in properties files

2010-01-18 Thread Joseph Pachod
to avoid it ? thanks in advance -- Joseph Pachod IT THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 310 F + 49 761 3 85 59 550 E joseph.pac...@thomas-daily.de www.thomas-daily.de Geschäftsführer/Managing Directors: Wendy Thomas, Susanne Larbig Handelsregister

Re: Escaping variable declaration/resolution in properties files

2010-01-18 Thread Joseph Pachod
kirillkh wrote: VariableInterpolator.java says: $ is the escape char. Thus $${text} can be used to escape it (ignore interpretation). Thanks a lot, it works fine. -- Joseph Pachod IT THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 310 F + 49 761 3 85 59 550

Re: Help with Wicket Adoption Numbers

2010-01-08 Thread Joseph Pachod
wicket (and hence the Seam support for it) ? It may help to convince about wicket's credibility. hope it helps ++ -- Joseph Pachod IT THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 310 F + 49 761 3 85 59 550 E joseph.pac...@thomas-daily.de www.thomas-daily.de

Re: Help with Wicket Adoption Numbers

2010-01-08 Thread Joseph Pachod
Ernesto Reinaldo Barreiro wrote: Do you mean this post? http://in.relation.to/Bloggers/HowToStartLearningJavaEE6 Ernesto On Fri, Jan 8, 2010 at 11:40 AM, Joseph Pachod j...@thomas-daily.de wrote: For example yes Gavin said so as well on others occasions (I kind of remember having read

Re: When NOT to use models ?

2009-10-26 Thread Joseph Pachod
Martin Makundi wrote: Hmm, maybe I'm missing something, but if you want to have EVALUATED once per request, I think the following should be sufficient. (unless I'm missing somtething) I want a generic centrally managed solution. I don't want to cache every model manually. From what I

When NOT to use models ?

2009-10-23 Thread Joseph Pachod
Hi Recently, on the mailing list, I read quite some people saying basically than using models all over the place was a bad idea. Can someone explain it a bit more ? Indeed, I was kind of agreeing until recently, when I had an issue with a (self made) Behavior taking a string. I needed

Re: Is it the best way to code a Link depending on a condition

2009-09-18 Thread Joseph Pachod
cmoulliard wrote: (...) I think that this is a general remark that some users make about Wicket. It is very difficult to reuse part of the code. Here is another example : I have a label called id which is used in different page. The way proposes by Wicket to code it is Page Request

Re: Is it the best way to code a Link depending on a condition

2009-09-18 Thread Joseph Pachod
cmoulliard wrote: What I have done to avoid to repeat the creation of the labels is to define and use static method private Label labelTitle; public static Label getLabelTitle(String title) { return new Label(title,new Model( title )); } I personally

Re: Usage of Servlets in Wicket, How ?

2009-09-08 Thread Joseph Pachod
Jeremy Thomerson wrote: servlets are totally separate from Wicket - write a servlet and add it to your web.xml. See any servlet example on the web (non-Wicket related) for assistance. I wouldn't say so, cf Igor sentence in this discussion :

Re: Design of components utilizing JS, was: Wicket and JQuery - lavalamp

2009-08-17 Thread Joseph Pachod
m a totally newbie in the JS domain so your ramark really helps me learning this stuff. Have a look at http://docs.jquery.com/Plugins/Authoring It provides lot of interesting hints on how to write jQuery plugins :) ++ -

Re: Form : should it be possible to call validate() onBeforeRender ?

2009-07-08 Thread Joseph Pachod
the form to validate at any time. thanks again joseph Fernando Wermus wrote: Joseph, I think it is. For instance, If you need to validate some items from a Palette which is not a FormComponent, how do you achieve it? On Tue, Jul 7, 2009 at 7:01 AM, Joseph Pachod j...@thomas-daily.de wrote

Form : should it be possible to call validate() onBeforeRender ?

2009-07-07 Thread Joseph Pachod
Hi I just had some issue because I was calling validate() in some form onBeforeRender() : it was working with some components but not all of them. However, the question now arises whether it was a good idea at all : should validate() work if called in onBeforeRender ? Thanks in advance

Form : should it be possible to call validate() onBeforeRender ?

2009-07-07 Thread Joseph Pachod
Hi I just had some issue because I was calling validate() in some form onBeforeRender() : it was working with some components but not all of them. However, the question now arises whether it was a good idea at all : should validate() work if called in onBeforeRender ? Thanks in advance

list of components/settings... not working with Ajax ? == setGatherExtendedBrowserInfo doesn't work with Ajax

2009-07-06 Thread Joseph Pachod
Hi When looking at the mailing list archive for some info, I found that setGatherExtendedBrowserInfo doesn't work with Ajax in this discussion : http://www.nabble.com/Odd-behaviour-after-setGatherExtendedBrowserInfo(true)-td15457880.html#a15464392 As I was affected by this issue, it