Re: Urgent help needed. Feedback panel and multiline messages in it.

2009-08-26 Thread Martin Makundi
You got it right. 2009/8/26 JavaOleg them...@one.lv: Thanks for the response, I have downloaded the source for Feedback panel and it's not really obvious how to override it, I mean, there's Label used in the populateItem() method of the inner private final class, so I just copied the whole

Dump wicket rendered html

2009-08-27 Thread Martin Makundi
Hi! I need to dump a HTML page rendered by wicket into a file INSTEAD of rendering it to HTTPServletResponse. How can this be done? The reason why I need to do this is that the user wants to download the page as PDF. I want to dump it into file, convert html-pdf and then redirect the user to a

Re: Dump wicket rendered html

2009-08-27 Thread Martin Makundi
Tnx http://www.nabble.com/Generating-email-body-with-wicket-td14042459.html#a14042459 http://www.danwalmsley.com/2008/10/23/sending-html-email-with-wicket-part-ii-converting-links/ t. Martin 2009/8/27 Jeremy Thomerson jer...@wickettraining.com: search nabble for email wicket page - or

Re: Dump wicket rendered html

2009-08-27 Thread Martin Makundi
Which one is the right answer? http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/ 2009/8/27 Martin Makundi martin.maku...@koodaripalvelut.com: Tnx http://www.nabble.com/Generating-email-body-with-wicket-td14042459.html#a14042459 http://www.danwalmsley.com

Re: Testing ajax form behavior still confused me.

2009-08-31 Thread Martin Makundi
The simple question I have is, How do I invoke the behavior associated with an AjaxButton as well as the form processing logic, like validation? Clicking the button always results in form processing if you hae defaultFormProcessing=true. You can click the button via ajax using

Re: Form processing issues and questions (particularly related to Border and ListMultipleChoice)

2009-09-01 Thread Martin Makundi
However, on the second call to updateModel, one of the first things done is to call clear() on my model object, which clears the converted input as well (since they are the same collection).  This results in the loss of my converted input, which in turn, blanks out my model.  I have worked

Re: StackOverFlow (Start.java) Jetty

2009-09-06 Thread Martin Makundi
What is AjaxFallbackLinkExtension? ** Martin 2009/9/6 David Brown dbr...@sexingtechnologies.com: Hello, I have class (a.java) that extends WebPage and has the usual Wicket HTML counterpart (a.html). The extended WebPage class' constructor, a(), creates a WebMarkupContainer wrapper instance

Re: StackOverFlow (Start.java) Jetty

2009-09-07 Thread Martin Makundi
If you have any suggestions for how to replace just part of a WebPage (wicket:extend) with a whole new WebPage please advise. Regards, David. Why not use panels? Looks like what you need is panels. ** Martin - To unsubscribe,

Re: StackOverFlow (Start.java) Jetty

2009-09-07 Thread Martin Makundi
the markup. Is there a way to accumulate components and re-use them when needed to keep the hierarchy happy? Regards, David. - Original Message - From: Martin Makundi martin.maku...@koodaripalvelut.com To: users@wicket.apache.org Sent: Monday, September 7, 2009 12:03:39 PM GMT -06:00 US/Canada

Re: How test modal windows with wicket tester?

2009-09-08 Thread Martin Makundi
Hi! There is nothing special in testing modal windows. It is just a panel with a panel inside. You can use tester.assertVisible... THe only trick is if you have windowCloseCallbacks.. you need to invoke those manually using tester.executeBehavior... ** Martin 2009/9/8 Denis Kandrov

Re: Attaching a wicket generated page in a multipart MIME message

2009-09-08 Thread Martin Makundi
search nabble for email wicket page - or something similar. you should be able to find a thread that answers your question. There have been quite a few about dumping a Wicket page to a stream or string to email. http://www.nabble.com/Generating-email-body-with-wicket-td14042459.html#a14042459

Problem when submitting component is not a button

2009-09-09 Thread Martin Makundi
Hi! I have a dropdown choice which submits the form as IFormSubmittingComponent because I need to have the effect of IFormSubmittingComponent.getDefaultFormProcessing=false. However, Wicket ajax does the following: wicket-ajax: if (submitButton != null) { s +=

Re: How test modal windows with wicket tester?

2009-09-09 Thread Martin Makundi
);        ListIBehavior behaviors = window.getBehaviors();        for (IBehavior behavior : behaviors) {            if (behavior instanceof AbstractAjaxBehavior) {                tester.executeBehavior((AbstractAjaxBehavior) behavior);            }        }    } 2009/9/8 Martin Makundi

Re: ResourceModel and getting the key in it

2009-09-09 Thread Martin Makundi
Just extend it? ** Martin 2009/9/9 Fernando Wermus fernando.wer...@gmail.com: Hi all,    I use a resourceModel to show some titles in my menu bar. But, I also use this key as a way to construct new keys for another components information. For instance, menubar.client.title=this is a title

Re: ResourceModel and getting the key in it

2009-09-09 Thread Martin Makundi
is private On Wed, Sep 9, 2009 at 12:21 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Just extend it? ** Martin 2009/9/9 Fernando Wermus fernando.wer...@gmail.com: Hi all,    I use a resourceModel to show some titles in my menu bar. But, I also use this key as a way

Re: how to embed one wicket app into another

2009-09-09 Thread Martin Makundi
Use Iframe ** Martin 2009/9/10 Quan Zhou betoget...@gmail.com: sorry, i forget to say  this two apps are installed in different servers.each is a single standalone app. so i think i can't embed panelB into PageA. On Thu, Sep 10, 2009 at 11:58 AM, Jeremy Thomerson jer...@wickettraining.com

Re: How test modal windows with wicket tester?

2009-09-10 Thread Martin Makundi
, messageTabs:panel:company:commentForm:commentCreateModal is always visible.. Denis. Martin Makundi пишет: Hi! There is nothing special in testing modal windows. It is just a panel with a panel inside. You can use tester.assertVisible... THe only trick is if you have windowCloseCallbacks.. you need to invoke those manually

Re: How to hide html sections

2009-09-10 Thread Martin Makundi
How is it possible to do this in Wicket ? Is there a wicket tag that we can use for that ? If you want to hide a component just say component.setVisible(false); If you wnat to hide component and surrounding html markup, do the following: wicket:enclosure

Re: How to hide html sections

2009-09-10 Thread Martin Makundi
() {               return property == green contition           }        }); On Thu, Sep 10, 2009 at 7:38 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: How is it possible to do this in Wicket ? Is there a wicket tag that we can use for that ? If you want to hide a component just say

Re: DropDownChoice with Java Enum

2009-09-10 Thread Martin Makundi
Please use debugger to find out.. 2009/9/10 cmoulliard cmoulli...@gmail.com: You mean create something like this : add(new DropDownChoice(requestStatus, Arrays.asList(ProcessingStatusType.values()), new IChoiceRenderer() {                        public Object getDisplayValue(Object

Re: prevent browser from cahing my pages

2009-09-10 Thread Martin Makundi
but the browser is still caching the pages , I hit the back button or forward button the page is not refreshed , please tell me how   to prevent browser from chaching my pages. This has got nothing to do with CACHE. It is Wicket's pagemap. If you hit BACK it loadas the OLD page from PAGEMAP /

Re: CheckBoxMultipleChoice Component

2009-09-10 Thread Martin Makundi
You'd probably have to roll your own copy of CheckboxMultipleChoice because its method onComponentTagBody is final. There it would be pretty easy to individually make a checkbox enabled/disabled: // Add checkbox element

Re: how to embed one wicket app into another

2009-09-10 Thread Martin Makundi
Well.. that doesn't help if the other app is on other server and other db and live data should be viewed from the other app.. in that sad case you do need iframe. ** Martin 2009/9/10 John Armstrong siber...@siberian.org: My vote would be to create a common jar package that contains the

Re: how to embed one wicket app into another

2009-09-10 Thread Martin Makundi
application views into CMS systems using iframe... .. but when you have all the code in wicket .. don't go there, just refactor and make a modular wicket app on a single server ;) ** Martin John- On Thu, Sep 10, 2009 at 11:37 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Well

Re: Ajax Redirect with Busy Indicator

2009-09-11 Thread Martin Makundi
Why not include a script containing hideBusysign() On the page you are navigating to? Y If it is external page you cannot... say a link to outlook or hiihuu.. ** Martin On Fri, Sep 11, 2009 at 7:50 AM, Robert McGuinness robert.mcguinness@gmail.com wrote: I applied the busy indicator

Re: Ajax Redirect with Busy Indicator

2009-09-11 Thread Martin Makundi
://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html On Fri, Sep 11, 2009 at 7:57 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! Well.. you need to find out what is the cause. For example, if you redirect to external pages, you must skip

Re: Wicket integration with jQuery

2009-09-11 Thread Martin Makundi
Quoted: The 1.0-beta version should be downloadable around the 15 May 2009, it will integrate all features of WickeXt 0.9, plus a new behavior abstraction to ease integration of component like drag and drop, etc. Where can I ask some questions about the project ? We chosen to use google groups

Re: Prefill form not model?

2009-09-13 Thread Martin Makundi
Hi! having read the thread I didn't get why you can not modify the object itself. Now I remember the reason: modifying the object itself with default values, it will be reflected throughout the whole EntityManager (i.e., other users will see a prefilled value that has not been stored!!). That

Re: Selectively ignoring required fields

2009-09-15 Thread Martin Makundi
You can override isRequired for any component. ** Martin 2009/9/15 Phil Housley undeconstruc...@gmail.com: Hello, I'm currently working on a search interface, where the required-ness of some fields depends on the value of some other.  In particular, the form looks something like (+)

FYI: wicket multipart post pageparameters

2009-09-15 Thread Martin Makundi
Hi! If someone is looking for a quick way to handle multipart posts using pageparameters, the following is sufficient: ... public PostOrGetPage(PageParameters pageParameters) { if (pageParameters.size() = 0) { final WebRequest multipartWebRequest =

Re: Selectively ignoring required fields

2009-09-15 Thread Martin Makundi
2009/9/15 Phil Housley undeconstruc...@gmail.com: 2009/9/15 Martin Makundi martin.maku...@koodaripalvelut.com: You can override isRequired for any component. ** Martin Thanks, but I really don't want to have to make the individual fields context aware unless I have to.  We have quite a few

Re: Selectively ignoring required fields

2009-09-15 Thread Martin Makundi
      super.validate();   } } Regards, Bas - Original Message - From: Phil Housley undeconstruc...@gmail.com To: users@wicket.apache.org Sent: Tuesday, September 15, 2009 2:30 PM Subject: Re: Selectively ignoring required fields 2009/9/15 Martin Makundi martin.maku

Re: Shall we create a menu in wicket?

2009-09-16 Thread Martin Makundi
Hi guys, what's the difference of menu and tabbed panel? Apart from the css? ** Martin 2009/9/16 Ernesto Reinaldo Barreiro reier...@gmail.com: As far as I remember there was a YUI based Menu component on this project

Re: Shall we create a menu in wicket?

2009-09-16 Thread Martin Makundi
... but don't take me for granted as I'm far from been a CSS/JavaScript guru. Ernesto On Wed, Sep 16, 2009 at 12:30 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi guys, what's the difference of menu and tabbed panel? Apart from the css? ** Martin 2009/9/16 Ernesto

Re: Shall we create a menu in wicket?

2009-09-16 Thread Martin Makundi
difficult to achieve with tabbedpanel (unless you add a lot CSS/magic, which would not probably work for all browsers).  If you only want a one level menu  then I agree it is the same as tabbedpanel with a non tabs CSS. Ernesto On Wed, Sep 16, 2009 at 1:03 PM, Martin Makundi martin.maku

Re: Non-english UTF-8 characters in POSTed data

2009-09-16 Thread Martin Makundi
Hmm.. can't you fix this with encoding settings? getMarkupSettings().setDefaultMarkupEncoding(WebPageConstants.ISO_8859_1); Or something? I would assume a modified version wicket-ajax can be just accomplished by creating a new one in same package. However, if there is no setup for such

Re: Shall we create a menu in wicket?

2009-09-16 Thread Martin Makundi
I am just trying to learn something new here.. how is your menu different from tabbedpanel? Maybe I could leverage from that.. Do you have a live demo? ** Martin 2009/9/16 Ernesto Reinaldo Barreiro reier...@gmail.com: Well, that's what Wicket is about: it's so easy to roll out components that

Re: upload file content to textarea

2009-09-16 Thread Martin Makundi
You could ajax update the textarea after upload, with the content that you want? If you do not want to set the model object then you will have to fake raw input (reflection). ** Martin 2009/9/16 Sam Zilverberg samzilverb...@gmail.com: In one of my wizard's steps I have a upload form and a

Re: upload file content to textarea

2009-09-16 Thread Martin Makundi
://www.wicket-library.com/wicket-examples/ajax/clock.2 - This is timed update..but similarly just add the textarea into ajax target. ** Martin 2009/9/16 Sam Zilverberg samzilverb...@gmail.com: sounds good, but how do I do this? :) On Wed, Sep 16, 2009 at 9:45 PM, Martin Makundi martin.maku

Re: upload file content to textarea

2009-09-16 Thread Martin Makundi
. ** Martin On Wed, Sep 16, 2009 at 11:32 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: 1. You know how to upload file? http://www.wicket-library.com/wicket-examples/upload/single - or ajax upload http://blog.demay-fr.net/index.php/2007/12/07/93-simulate-ajax-file-upload-with-wicket

Re: upload file content to textarea

2009-09-16 Thread Martin Makundi
failed., e); } } where rawInputField = FormComponent.class.getDeclaredField(rawInput); rawInputField.setAccessible(true); 2009/9/17 Martin Makundi martin.maku...@koodaripalvelut.com: Hi! I currently solved this problem by filtering the input from the uploaded file and creating

Re: upload file content to textarea

2009-09-16 Thread Martin Makundi
();                            }                        }                    } } On Thu, Sep 17, 2009 at 12:29 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Ah.. forgot that crucial part, the reflection:  public static T extends FormComponent? void fakeRawInput(T formComponent, String value) {    try {      rawInputField.set

Re: wicket and livequery (jquery plugin)

2009-09-17 Thread Martin Makundi
Maybe you need to re-register it with wicket post/precallhandlers... I have had lots of difficulties with jquery and ajax because the markup added by jquery and the magic remains attached to the component that is replaced via ajax... and then the state is a mess. With pre/postcallhanlers you can

Re: What already redirecting error?

2009-09-19 Thread Martin Makundi
(NewPage.class); ** Martin 2009/7/18 Martin Makundi martin.maku...@koodaripalvelut.com: Hi! You could try setting step debugging on your IDE and step through your code. Production code again... hindsight. However, this type of error is not specific to wicket. Just the other day I was  securing my

Re: wicket menu

2009-09-21 Thread Martin Makundi
Hover menu or just static? If static then it is easy to just change the html/css of tabbed panel into vertical or horizontal menu. Probably you can roll a hover too. ** Martin 2009/9/21 Boydens Joeri (OZ) joeri.boyd...@oz.be: Hi, We are changing from Struts to Wicket, in our Struts

Re: wicket menu

2009-09-21 Thread Martin Makundi
bericht- Van: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] Verzonden: maandag 21 september 2009 11:06 Aan: users@wicket.apache.org Onderwerp: Re: wicket menu Hover menu or just static? If static then it is easy to just change the html/css of tabbed panel into vertical

Re: wicket menu

2009-09-21 Thread Martin Makundi
Is there also a up-to-date release for wicket 1.3 ? Forget already about 1.3... use 1.4+ ** Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Best way to handle circular references

2009-09-25 Thread Martin Makundi
Best solution is ignore circular dependencies ;) ** Martin 2009/9/25 Giovanni Cuccu giovanni.cu...@cup2000.it: I have no problem other than i dont like it, but since I don't like it I'd like to know if someone else had the same thoughts I had and what was the conclusion. Giovanni what is

Re: RefreshingView

2009-09-27 Thread Martin Makundi
It has getDefaultModelObject etc?? ** Martin 2009/9/27 g...@gmx.net: heyho, public abstract class RefreshingViewT extends RepeatingView has the typeparameter but no public IModelT getModel(). can someone add it please or let me add it, i would do it too, plus setModel(),

Re: avoid setters / getters by using ?

2009-09-27 Thread Martin Makundi
At least in wicket you can access the fields themselves using propertymodels. ** Martin 2009/9/27 David Chang david_q_zh...@yahoo.com: Hello, I have Wicket+Spring application. It has a service object which has a few DAO members. I can use Spring's autowiring to avoid mentioning the DAO

Re: avoid setters / getters by using ?

2009-09-27 Thread Martin Makundi
/09, Martin Makundi martin.maku...@koodaripalvelut.com wrote: From: Martin Makundi martin.maku...@koodaripalvelut.com Subject: Re: avoid setters / getters by using ? To: users@wicket.apache.org Date: Sunday, September 27, 2009, 3:55 PM At least in wicket you can access the fields themselves

Get converted value?

2009-09-28 Thread Martin Makundi
Hi! formComponent.getValue() allways gives you the latest user input OR the model value. This is useful for validation purposes, but is there a bluilt-in get converted value method? There is getConvertedInput -method, but that will only give you the user-submitted value if it has already been

Question about wicket validation

2009-09-29 Thread Martin Makundi
Hi! If a form validator depends on a nested form's components, it will assume they are valid because the nested form's components are validated after the parent form? ** Martin - To unsubscribe, e-mail:

Re: Get converted value?

2009-09-29 Thread Martin Makundi
formcomponents whose input has not been converted?? Sometimes the form component validation method will test himself and children for validations errors reported, before and after the user input get converted. On Tue, Sep 29, 2009 at 2:04 AM, Martin Makundi martin.maku...@koodaripalvelut.com

Re: Get converted value?

2009-09-29 Thread Martin Makundi
converted (convertInput must be called first). And furthermore, it might be null when the component is disabled. So getValue() seems to be the only reliable one? ** Martin On Tue, Sep 29, 2009 at 8:26 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Ah yes, but it does

Re: Question about wicket validation

2009-09-29 Thread Martin Makundi
So validateComponents() validates also nested components if current form depends on them? ** Martin 2009/9/29 Jonathan Locke jonathan.lo...@gmail.com:        protected final void validate()        {                if (isEnabledInHierarchy() isVisibleInHierarchy())                {        

Re: Rendered html to string

2009-09-30 Thread Martin Makundi
http://mail-archives.apache.org/mod_mbox/wicket-users/200811.mbox/%3c5de41c7d0811050222r5948a447r5fd68b5cefac5...@mail.gmail.com%3e 2009/9/30 Peter Arnulf Lustig u...@yahoo.de: getMarkupStream().toString(); maybe? - Ursprüngliche Mail Von: Luca Provenzani eufor...@gmail.com

Re: [ANN] wicket-dnd project

2009-10-03 Thread Martin Makundi
BTW, Why is the demo very slow? Is this what it is like in reality? ** Martin 2009/10/3 Ralf Eichinger ralf.eichin...@pixotec.de: Sven Meier wrote: I'm happy to announce wicket-dnd, a generic drag and drop framework for Wicket.    http://code.google.com/p/wicket-dnd/ I added it to the

Ajax submit timeout?

2009-10-04 Thread Martin Makundi
Hi! If we build an ajax GUI, we would like to detect network problems and give graceful errors and maybe retry (like gmail tries to do). How would it be possible to detect and set these network timeout limits with wicket, and probably allow invoking retry ('automatic' retry after notifying the

Re: Ajax submit timeout?

2009-10-04 Thread Martin Makundi
('Server down!'); + JavaScript to relaunch AJAX; } } Ernesto On Sun, Oct 4, 2009 at 12:10 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! If we build an ajax GUI, we would like to detect network problems and give graceful errors and maybe retry (like gmail tries to do). How

Re: how to map 2 html files to 1 class?

2009-10-05 Thread Martin Makundi
Hi! I did not exactly understand what you are after, but you can always do like this: CommonPage.html: blabla ... CommonPage.java: public class CommonPage extends WebPage { public CommonPage() { if (A-mode) { new PageVersionAContantHandler(this); } else { new

Re: how to map 2 html files to 1 class?

2009-10-05 Thread Martin Makundi
Meant to say if (A-mode) { new PageVersionAContantHandler(this); } else { new PageVersionBContantHandler(this); // B ofcourse } ** Martin 2009/10/6 Martin Makundi martin.maku...@koodaripalvelut.com: Hi! I did not exactly understand what you are after, but you can always do like

Re: how to map 2 html files to 1 class?

2009-10-05 Thread Martin Makundi
It's too late :) Apparently you wanted just the opposite. Well.. you could have: PageA.html: PageB.html: PageC.html: Page?.java: public class CommonPage extends WebPage { public CommonPage() { new PageContantHandler(this); } } ** Martin 2009/10/6 Martin Makundi martin.maku

Re: how to map 2 html files to 1 class?

2009-10-05 Thread Martin Makundi
AbstractPageWithDesiredCommonFunctionality And also the html would be Page1Design.html Page2Design.html : : : Page-n-Design.html ** Martin 2009/10/6 Martin Makundi martin.maku...@koodaripalvelut.com: It's too late :) Apparently you wanted just the opposite. Well.. you could have: PageA.html: PageB.html

Re: how to map 2 html files to 1 class?

2009-10-05 Thread Martin Makundi
PageHandler.java, that handles all 3. mountBookmarkablePage(/PageA.html, PageHandler.class); mountBookmarkablePage(/PageB.html, PageHandler.class); mountBookmarkablePage(/PageC.html, PageHandler.class); This is a bit confusing, you ar giving different aliases to the same page. Is that what

Re: how to map 2 html files to 1 class?

2009-10-05 Thread Martin Makundi
on there. -Original Message- From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] Sent: Monday, October 05, 2009 6:08 PM To: users@wicket.apache.org Subject: Re: how to map 2 html files to 1 class? PageHandler.java, that handles all 3. mountBookmarkablePage(/PageA.html

Re: how to map 2 html files to 1 class?

2009-10-05 Thread Martin Makundi
- From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] Sent: Monday, October 05, 2009 6:27 PM To: users@wicket.apache.org Subject: Re: how to map 2 html files to 1 class? What are you handling there ? ** Martin 2009/10/6 Alex Rass a...@itbsllc.com: PageA.html PageB.html

Re: how to map 2 html files to 1 class?

2009-10-05 Thread Martin Makundi
- From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] Sent: Monday, October 05, 2009 6:27 PM To: users@wicket.apache.org Subject: Re: how to map 2 html files to 1 class? What are you handling there ? ** Martin 2009/10/6 Alex Rass a...@itbsllc.com: PageA.html PageB.html

Re: Page expired stateless page?

2009-10-06 Thread Martin Makundi
No, I increased logging and it seems this is somehow related to googlebot visits (occurs simultaneously). Maybe they do not keep session properly. Is this possible in your case that it is a googlebot visit? ** Martin 2009/10/6 sparktronics sparktronics+bul...@gmail.com: I have the same

Re: Storing entity object in session - how to do it?

2009-10-07 Thread Martin Makundi
We have (some key) entities (successfully) in Session. But they are not lazy-load entities so they act like plain-old-java-beans. ** Martin 2009/10/7 Jeffrey Schneller jeffrey.schnel...@envisa.com: Looking through the archives I saw some posts that said you should not store entity objects [for

Re: vps hosting for wicket app

2009-10-07 Thread Martin Makundi
Hosted vps might give you backup and fail-over very cost-effectively. ** Martin 2009/10/7 John Armstrong siber...@siberian.org: I never found VPS to be cost effective (for my needs). For $100/month or so I have a core 2-duo dedicated box with 4GB RAM/120GB disk and 10mb/s throughput that can

Re: Open source Wicket blog

2009-10-14 Thread Martin Makundi
It would be nice to bundle a wicket app with a blog site yes! The challenge is how to make it open such that it is easy (=lightweight) to attach to any particular conventions (authentication, memberships, etc.) of the main site. ** Martin 2009/10/14 Daniel Frisk dan...@jalbum.net: Hi, we have

Re: Open Source projects using Wicket

2009-10-15 Thread Martin Makundi
Pushing definitely is more performance efficient - you know exactly when and where you push it and it's easy (happy-day-scenario) to optimize. Partly the ease of optimization results from difficulty of making complex relations. However, if you pull from models, you might end up with very complex

Re: Wicket pages development orgnization

2009-10-15 Thread Martin Makundi
http://blog.ehour.nl/index.php/archives/18 2009/10/16 Ding Zenberg zenberg.d...@gmail.com: Hi all,   We'll plan to use wicket in our application for one enterprise's information management system.   the app's portal layout is someting like this:   -

Re: Wicket pages development orgnization

2009-10-15 Thread Martin Makundi
And http://www.xaloon.org/tabs * http://www.xaloon.org/blog/advanced-wicket-tabs-with-jquery ** Martin 2009/10/16 Martin Makundi martin.maku...@koodaripalvelut.com: http://blog.ehour.nl/index.php/archives/18 2009/10/16 Ding Zenberg zenberg.d...@gmail.com: Hi all, Is there a nice way

Re: When NOT to use models ?

2009-10-23 Thread Martin Makundi
Hi! I have said that you might need to cache your model values, in some performance situations. If you do not use models, you do not need same kind of caching (because the value is fixed). Nevetheless, using models results in cleaner code, but I am dreaming of a centralized caching mechanism such

Re: When NOT to use models ?

2009-10-23 Thread Martin Makundi
evaluated only one time per render can be done with LoadableDetachedModel .. I do not mean LOADED once per render. I mean EVALUATED once per render. In my understanding LoadableDetachableModel does not guarantee reset in any particular stage. can you explain it a littly bit (a link to your

Re: When NOT to use models ?

2009-10-25 Thread Martin Makundi
What I found was that I was instantiating my LDM's as private variables in my custom components but that they were not being detached.  In this case you need to programatically register your non default models to participate in the detachment process.  See the Wiki here for an example:

Re: Multiple check box in a row in the ListView

2009-10-25 Thread Martin Makundi
Hi! Firstly, I would consider the 1st checkbox just a dymmy helper implemented using CheckGroupSelector. I would not really care if it reflects the two other checkboxes or not, that's an overkill. And if still necessary, I would simply do it with javascript. Anywyays. there is an example of

Re: When NOT to use models ?

2009-10-26 Thread Martin Makundi
;            }        }; since the cached value is transient, it will be null when it is deserialized. But during the requestCyclue, the evaluation will only happen once. (at least, if I'm not missing something...) On Sun, Oct 25, 2009 at 7:02 AM, Martin Makundi martin.maku...@koodaripalvelut.com

Re: Check(box) loses checked state after error

2009-10-27 Thread Martin Makundi
I'm using a CheckGroup together with a few Check in a repeater because the number of boxes displayed is dynamic. If you have a repeater the redraw event instantiates NEW checkboxes.. so ofcourse you lose the staete. I have built a reusemanager that copies the old state. Usage sould be quite

Re: Check(box) loses checked state after error

2009-10-27 Thread Martin Makundi
call ListView.setReuseItems(true) That will work too in simple cases... ** Martin On Tue, Oct 27, 2009 at 1:24 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: I'm using a CheckGroup together with a few Check in a repeater because the number of boxes displayed is dynamic

Re: Wicket HTML before graphics design with CSS ...

2009-10-27 Thread Martin Makundi
I would just give the artist the freedom to do what ever he wants... and then just refactor what's necessary afterwards. ** Martin 2009/10/27 Ashley Aitken mrhat...@mac.com: Hi All, Just a quick question. Can someone please provide some pointers to Wicket-specific or general CSS

How to render panel markup to string?

2009-10-30 Thread Martin Makundi
Hi! Can a wicket component be rendered to string in the following use case: 1. I have a table (multiple columns and rows). Each row corresponds to a person. The columns could represent for rexample a calendar for the person. Monda, tuesday, etc. 2. For each row, I have summary information. I

Re: How to render panel markup to string?

2009-10-30 Thread Martin Makundi
Martin Makundi martin.maku...@koodaripalvelut.com: Hi! Can a wicket component be rendered to string in the following use case: 1. I have a table (multiple columns and rows). Each row corresponds to a person. The columns could represent for rexample a calendar for the person. Monda, tuesday, etc

Re: How to render panel markup to string?

2009-10-30 Thread Martin Makundi
= -]] at org.apache.wicket.MarkupFragmentFinder.find(MarkupFragmentFinder.java:125) at org.apache.wicket.Component.locateMarkupStream(Component.java:3813) at org.apache.wicket.Component.renderComponent(Component.java:2547) ** Martin 2009/10/30 Martin Makundi martin.maku...@koodaripalvelut.com: Looking at AjaxRequestTarget, maybe

Problem with IFormsubmitting

2009-11-03 Thread Martin Makundi
Hi! I need to accomplish the following: 1. receive ajax onchange event from a formcomponent 2. receive defaultformprocesing=false style submit 3. repaint an area; I this is why I need the form to be really submitted (=rawinput but not validated). I have built a custom component

Re: Problem with IFormsubmitting

2009-11-03 Thread Martin Makundi
a change listener with ajax form submit? ** Martin 2009/11/3 Martin Makundi martin.maku...@koodaripalvelut.com: Hi! I need to accomplish the following: 1. receive ajax onchange event from a formcomponent 2. receive defaultformprocesing=false style submit 3. repaint an area; I this is why I

Re: Problem with IFormsubmitting

2009-11-03 Thread Martin Makundi
(AjaxRequestTarget target) { onSubmit(target); } /** * @param id */ public AjaxFormSubmittingChangeListenerCheckBox(String id) { this(id, null); } } 2009/11/3 Martin Makundi martin.maku...@koodaripalvelut.com: Hi! Maybe this is the solution:                        String

Re: Problem with IFormsubmitting

2009-11-03 Thread Martin Makundi
? getForm(); /** * @return CharSequence */ public abstract CharSequence getChangeListenerUrl(); } ** Martin 2009/11/3 Martin Makundi martin.maku...@koodaripalvelut.com: Hi! I hope I found a solution usin IOnChangeListener. Please try this out and let me know if it works for you

Re: Problem with IFormsubmitting

2009-11-03 Thread Martin Makundi
://www.wickettraining.com On Tue, Nov 3, 2009 at 12:22 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! One finishing touch is needed. The hidden field should be cleared after ajax submit. It seems to work now.. feel free to critisize. public abstract class

Re: Problems with displaying modal window

2009-11-03 Thread Martin Makundi
WHy not fix your doctype first? ** Martin 2009/11/4 Anders Sørensen aisz...@gmail.com: Hello everybody. I have a webpage under development where I use modal windows. This has so fare not caused any problems - but now I get an error on one of my pages. I have just added the modal window

Re: Problem with IFormsubmitting

2009-11-04 Thread Martin Makundi
Hi! The proposed solution does not work with Modal Windows!! * http://osdir.com/ml/users-wicket.apache.org/2009-11/msg00076.html Modal windws have a fake parent form: form style=border-width: 0px; margin: 0px; padding: 0px; background-color: transparent; position: static; .. and ofcourse it

Re: If IE comments

2009-11-04 Thread Martin Makundi
Hi! You can output them from code... at least. For example as a label ors omething. ** Martin 2009/11/4 Neil Curzon neil.cur...@gmail.com: Hi all, We're currently migrating some legacy HTML pages into a sexy Wicket app. Unfortunately, the pages use a few !--[if IE 7]![endif]-- sections for

Re: User count

2009-11-08 Thread Martin Makundi
Use some free statistics service like google analytics or similar. ** Martin 2009/11/8 sakthi vel vela@gmail.com: Hello, How to maintain the user hit (number of visitors) to the application without using the database.

Re: Scopes in Wicket Application

2009-11-08 Thread Martin Makundi
Wicket is built on servlet model so it should be the same. ** Matin 2009/11/8 sakthi vel vela@gmail.com: Hello, What are the scopes in wicket application much like four different scopes(request, page, session, application) in jsp.

Re: Wicket and JQuery

2009-11-08 Thread Martin Makundi
On Tue, Oct 27, 2009 at 11:38 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: ... and expect trouble with ajaxifying jquery plugins that skin html components. They will not work properly if you replace your components via ajax - or at least you might have to work hard

Re: User count

2009-11-09 Thread Martin Makundi
External analytics is much more simpler to manage. ** Martin 2009/11/9 vela vela@gmail.com: Hello again, can't we count it using the wicket application, some thing like this in jsp %! int i= 0;% % out.println(People visited +(++i)); % --

Re: Calling IN TO Wicket from JSP

2009-11-12 Thread Martin Makundi
If you were running the applications on the same server, I would just make a method in my wicket application...for example MyWicketApplication.getUrl() and call that from JSP code directly. Keep it simple. ** Martin 2009/11/12 Corbin, James jcor...@iqnavigator.com: So no responses???  Does that

Re: Calling IN TO Wicket from JSP

2009-11-12 Thread Martin Makundi
Hi! In my experience this can be accomplished using stateless form. We have a login form on another site and it sends the parameters to a stateless wicket form. ** Martin 2009/11/12 Corbin, James jcor...@iqnavigator.com: Thanks for the response, we are looking into doing something very

<    1   2   3   4   5   6   7   8   9   10   >