Re: Free wicket from component hierarchy hell

2010-11-08 Thread Martin Makundi
Hi! Or should I say, "boldly go where no man has gone before" or "Do, or do not. There is no 'try.' ". ** Martin 2010/11/9 Martin Makundi : > Chicken. > > 2010/11/9 Eelco Hillenius : >>> But all really depends on your approach. Some people think

Re: Free wicket from component hierarchy hell

2010-11-08 Thread Martin Makundi
Chicken. 2010/11/9 Eelco Hillenius : >> But all really depends on your approach. Some people think dabbling in >> a swamp gives you a firm grip. I cosinder it the opposite: swamp has a >> firm grip on you. > > I consider it asking for trouble. Wicket would sacrifice > predictability and conceptual

Re: Free wicket from component hierarchy hell

2010-11-08 Thread Martin Makundi
> ...and that makes the queue method a candidate to replace the add method > without breaking anything. Yes :) ** Martin > > > Seb > > On 08.11.2010 18:03, Igor Vaynberg wrote: >> >> On Mon, Nov 8, 2010 at 8:58 AM, Martin Makundi >>  wrote: >>>&g

Re: Free wicket from component hierarchy hell

2010-11-08 Thread Martin Makundi
> as I understand the readme the queue method basically has only a slightly > different behavior compared to the add method in the way that it either adds > a component as a direct child to the parent or as a sub-child as defined in > the markup. So the markup is only used to determine the child's

Re: Free wicket from component hierarchy hell

2010-11-08 Thread Martin Makundi
> My only hope is that the solution you end up with will not make us > running some sort of script against all the sorces we have. We ended up with the requirement that it should 100% compatible with existing code and tests. ** Martin > > -

Re: Free wicket from component hierarchy hell

2010-11-08 Thread Martin Makundi
>> I'm sorry to say, but the whole discussion makes little sense to me and >> these attempts to fix something that is not broken actually scares me a bit. > > +1 It's maybe not broken for you. For me it's like dabbling in a swamp (http://kuvablogi.com/nayta/prev/img1483294.jpg, http://www.lansi-sa

Re: some thoughts on the "component hierarchy hell"

2010-11-07 Thread Martin Makundi
Hi! Thanks. The issue is not only "forgetting to refactor", but it is also difficult to make reusable components that only have fixed functionaltity but leave freedom for the designer to position components. Often when same functionality is needed on another page that has slightly different layout

Re: Free wicket from component hierarchy hell

2010-11-06 Thread Martin Makundi
Hi! >> +  private Map componentIdMapAidedComponent = new >> HashMap(); > > So, you just added a new Map to all markup containers that keeps components > in it?  Why would you do that? We need to wait until all components are added so that we can arrange them into correct hireracy before rendering.

Re: Free wicket from component hierarchy hell

2010-11-06 Thread Martin Makundi
Hi! >> I'm not scared that easily. Private members have a place and purpose. > Yes, please don't make us have to expose our private parts. ;) Here's a first attempt with few TODOs, however: ### Eclipse Workspace Patch 1.0 Index: src/main/java/org/apache/wicket/MarkupContainer.java =

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Martin Makundi
>> The security example is quite extreme and should be implemented in >> traditional way if there is no regression test for it. > > there is nothing extreme about it, it is a common use of containers > when implementing visibility/security. just the fact that this > "forces" the traditional approac

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Martin Makundi
Hi! > Please make sure that it passes all current test cases before submitting the > patch.  Also, it would be good to take the examples that have been given to > you in this thread and create tests from them that demonstrate that they all > work.  Particularly important will be demonstrating the

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Martin Makundi
>> We will provide a patch if possible. However, we might need some help >> onto our endevor. > > If it's not possible, why would you expect someone else to do it? > Step up and make it happen!  Avoid the misunderstandings, show what it should > do! > > If you are demonstrating progress on somethi

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Martin Makundi
>>> >>>   >>>   >>> >>> >>> now the developer takes the "salary" div and moves it out of the >>> "for-admins-only" div. guess what, your *designer* has just opened a >>> huge security hole in your application. who would use wicket if such >>> things were so easily possible? Traditional way can b

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Martin Makundi
>> Duh.. I think there can be _no_ excuse to not reduce manual work where >> it is really not needed. It's not like we are talking about airline >> autopilots here. > > So we don't need Wicket to work predictably and reliably all the time? We are only proposing a new way of doing things faster wit

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Martin Makundi
> because the designer delivers only part of the solution - the markup. I meant software designer. > >   >   > > > now the developer takes the "salary" div and moves it out of the > "for-admins-only" div. guess what, your *designer* has just opened a > huge security hole in your application. wh

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Martin Makundi
>> I don't think it is.  Keeping the two hierarchies in sync is not really that >> difficult.  The funny thing about the proposed approach is that it is in an >> effort to make things "simpler".  But, as you pointed out, the more complex >> things won't work with the proposed approach (without prob

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Martin Makundi
Hi! > As time and time again research shows is that the real cost is not in > the initial development, but in maintaining (which of course starts > often while you're still doing the initial development, as it also > includes refactoring on initial ideas etc). I believe poorly developed software

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Martin Makundi
Hi! > its not about the list *items* its about the components you add to them > > onpopuateitem(item item) { >  add(new label("name")); >  add(new label("email")); > } > > wont work Why should it? Won't make it any easier than: item.add(new label("name")); item.add(new label("email")); >> The d

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Martin Makundi
fficult, it's all about being efficient. Redundancy is waste. Waste is bad. "Intentional waste" is even worse. So let's lean it out ;] ** Martin > > On Thu, Nov 4, 2010 at 1:13 PM, Martin Makundi > wrote: >> I propose "Free Wicket" from component-hier

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Martin Makundi
Yeah, Panel always has id, so what you do is: add( new PanelA("id1", new Model1() ); add( new PanelA("id2", new Model2() ); add( new PanelA("id3", new Model3() ); All Panels would have their own namespace within themselves. ** Martin 2010/11/5 James Carman : > On Fri, Nov 5, 2010 at 8:36 AM,

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Martin Makundi
Hi! >> To be more precise: namespace would always be per each markupcontainer >> which has its own markup. >> > So the "hell" is still here. It is just moved one level up. > It seems you didn't think of all cases. I must have miscommunicated myself, this is not at all what I meant. ** Martin >

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Martin Makundi
> If the project gets complicated, I think there is no possible way to control > the uniqueness of the component in the page. The advantages of adding a > component wherever you cant along the hierarchy are true, I don't think that > your proposal gives the best of both worlds. This is a misunders

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Martin Makundi
s independent namespace. > Then your application has a page MyPage which includes both PanelA and > PanelB and the problem arises. MyPage defines new namespace. PanelA and PanelB are independent. No problems. ** Martin > > On Fri, Nov 5, 2010 at 10:29 AM, Martin Makundi &

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Martin Makundi
To be more precise: namespace would always be per each markupcontainer which has its own markup. ** Martin > Please give a concrete example of such situation. If names are panel > or page scope I cannot immagine many worthwile items that can be > imported onto panels and pages that cannot be refa

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Martin Makundi
> Let's say both libraries are "modern" (because private scope is old-fashion, > right) and export "message" with Page scope. > Then project X (Lombok, Bindgen) finds the problem at compile time and > explain you that both lib A and B export component with the same id. > What would you do now ? > T

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Martin Makundi
Hi! > If you have to use libraries A and B that provide Wicket components and both > of them use "message" or "feedback" as component id in any of their > components then how your application will deal with that ? You make decision: feedback is either private (traditional) or protected/panel-scop

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Martin Makundi
> I know that in this case (Jeremy wrote that) you must provide > uniqueness of components in whole page but it also can be resolved somehow +1 Also DOM requires id uniqueness according to spec so it is nothing new to web developers. ** Martin > >> I think if you find component hierarchies to b

Re: Free wicket from component hierarchy hell

2010-11-04 Thread Martin Makundi
Hi! We could also make so that "wicket:id" is old-school and "wicket:id:protected" is new-school. No need to refactor anything. Just pros without any cons. ** Martin 2010/11/5 Martin Makundi : > Hi! > >> Can you see how this would fail? >> >> >

Re: Free wicket from component hierarchy hell

2010-11-04 Thread Martin Makundi
Hi! > Can you see how this would fail? > > >   >     >   >   >     >   > That's old-school-wicket ;) This would not be allowed anymore. An application would have to be refactored (using an automated script) into: We would simply change wicket syntax: panels and pages requir

Re: Free wicket from component hierarchy hell

2010-11-04 Thread Martin Makundi
Can you see the matrix? ;) If you have: public class MyPage extends WebPage { public MyPage () { add(new Form("form")); add(new TextField("input", model)); // Wicket could automatically handle parse hierarchy from markup } } ** Mart

Re: Free wicket from component hierarchy hell

2010-11-04 Thread Martin Makundi
1. I want freedom inside panels. 2. Doubly defined hierarhices are redundant. Server-side hierarchy can be automatically deduced from markup hierarcy. Such tasks should be done by COMPUTER. Not coder. ** Martin 2010/11/5 Jonathan Locke : > > I think if you find component hierarchies to be "hell"

Free wicket from component hierarchy hell

2010-11-04 Thread Martin Makundi
I propose "Free Wicket" from component-hierarchy hell We have discussd before that Wicket has unnecessary binding to wicket:id and component hierarchy [http://www.mail-archive.com/users@wicket.apache.org/msg53941.html]. I think I found a simple solution: "wicket:id" should be allowed to be on any

Re: Problem with two users logging in two tabs of same browser window

2010-11-04 Thread Martin Makundi
gt;        return (MySession) Session.get(); >    } These seem just fine. ** Martin > > Martin Makundi wrote: >> >> Hi! >> Yeah, migrate ;) >> >> Apart from that.. session leak can occur for quite some reasons. It >> might be proxy bug or maybe you have static varia

Re: Problem with two users logging in two tabs of same browser window

2010-11-04 Thread Martin Makundi
Hi! Yeah, migrate ;) Apart from that.. session leak can occur for quite some reasons. It might be proxy bug or maybe you have static variables in places where they should not be. ** Martin 2010/11/4 Daniel Toffetti : > > Hi all, > >    I have a problem when two users log in the application from

RadioGroup bug?

2010-11-02 Thread Martin Makundi
Hi! Is there a resolution to this bug/issue listviews with setreuseitems=true but with radiochoice have some problems: * http://www.mail-archive.com/users@wicket.apache.org/msg06560.html * http://apache-wicket.1842946.n4.nabble.com/RadioGroup-test-fails-td1912239.html * http://stackoverflow.com

Re: Really basic help...

2010-11-01 Thread Martin Makundi
In my opinnion best way to learn is by trial and error ;) Not the most profitable way, though ;) ** Martin 2010/11/1 Brian Topping : > Adam, > > If you are just getting started, models are one of the most important and > underappreciated aspects of mastering Wicket.  It's really worth puttin

Re: Really basic help...

2010-11-01 Thread Martin Makundi
Look at https://cwiki.apache.org/WICKET/type-safe-testing-in-wicket.html to get rid of fragile string:component:paths. Also look at compoundpropertymodel (try avoid using it for suprisitivity) and propertymodel: * https://cwiki.apache.org/WICKET/working-with-wicket-models.html ** Martin 2010/11/

Re: Nested form submit and parent form input

2010-11-01 Thread Martin Makundi
heir values from input when nested form submits. > Anyway, good to know it's supposed to be. > > Regards, > > -- > Marek Šabo > > > On 11/01/2010 05:49 AM, Martin Makundi wrote: >> >> Hi! >> >> Yes. Every time form is processed the form com

Re: Nested form submit and parent form input

2010-10-31 Thread Martin Makundi
Hi! Yes. Every time form is processed the form component values are processed from rawinput. That is the normal usecase = you want to know what user has entered. However, if you want to explicitly dismiss user input, you can call clearInput or set a new model. Alternatively there are behaviors l

Re: On-demand component initialization

2010-10-30 Thread Martin Makundi
Hi! > Yeah, but then I would create new panel for every single click on that > link. I know it's a bit edge-case, but still... So I can't achieve this > without some own initialization logic? You don't need to create new panel, just use lazy initialization. modalWidnow.setContent(getContentPane

Re: On-demand component initialization

2010-10-30 Thread Martin Makundi
> then when I construct the page containing this modalwindow, I also will > construct the modalwindow content, but the user can just decide to not > to click on this link, so skip the modal, and then I have an unnecessary > constructed panel. Yeah.. you can construct panel in onClick before .show(

Re: Wicket product on set-top boxes

2010-10-28 Thread Martin Makundi
Hi! Yes, we did this kind of settop with wicket. We use ajax timer to update page and keep session alive. The "originating page" problem we had to resolve using a cookie because wicket does not support multi homing. ** Martin 2010/10/28 nino martinez wael : > Hi > > Im working on a product where

Re: Should nested form be multipart if parent is multipart?

2010-10-27 Thread Martin Makundi
t; multipart encoding should be used to transfer the "file" components > - when submitting the inner form then just its own form components are > submitted thus if at least one of the component is "file" then it needs > multipart encoding, otherwise there is no need > >

Re: Should nested form be multipart if parent is multipart?

2010-10-26 Thread Martin Makundi
I mean: should nested form internally return ismultipart=true if its parent form is a multipart form? ** Martin 2010/10/26 Martin Grigorov : > On HTML level nested form is just . > Give more details > > On Tue, Oct 26, 2010 at 2:05 PM, Martin Makundi < > martin.maku...@koodarip

Should nested form be multipart if parent is multipart?

2010-10-26 Thread Martin Makundi
Hi! Should nested form become multipart if parent is multipart? Because it is on html level... ** Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Sending data to a wicket form through a POST from an external site

2010-10-20 Thread Martin Makundi
Make normal stateless form and look what are the ids in the html and then you can send same parameters via post from external site. There is really nothing special about it. ** Martin 2010/10/20 ali : > > Hi Martin, > > Can you please come up with any example? > > Thanks > -- > View this message

Re: _extend48 - ring any bells?

2010-10-19 Thread Martin Makundi
Would you show the html of this mainpanel and also its super panel? ** Martin 2010/10/19 Wayne W : > Hi, > > I've got a problem in production whereby our application home page > throws a :Unable to find component with id 'mainPanel' in > [MarkupContainer [Component id = _extend48]] > > This only

Re: Sending data to a wicket form through a POST from an external site

2010-10-19 Thread Martin Makundi
Why not? ** Martin 2010/10/19 ali : > > Hi, > > I am a new user of Wicket. Is it possible that wicket Form (that intends to > receive the data posted from an external link) use the Model object(POJO) > that matches the expecting data fields/parameters? Actually I am thinking to > avoid PageParame

Re: ModalWindow question

2010-10-17 Thread Martin Makundi
Maybe you can clear the session object in the "previous" screen (the page that renders as result of Back button)? ** Martin 2010/10/17 drf : > > Does anyone have ideas on how to handle the following issue: > > During processing of a wizard, I store a boolean flag in the Session object > to indica

Re: Getting the html output of a wicket page

2010-10-13 Thread Martin Makundi
Hi! Try this: http://apache-wicket.1842946.n4.nabble.com/WebPage-geting-string-tp2993717p2993717.html ** Martin 2010/10/14 elesi : > > Hello guys, > > I'm trying to send a email with a body that is HTML-formatted...and I would > to use wicket to write it out... > > Is there a way that I could s

Re: WebPage: geting string

2010-10-13 Thread Martin Makundi
Here: /** * Renders given page * @param pageClass to render * @param pageParameters to render with * @param clean * @return String of HTML produced */ public static String renderPageToString( final Class pageClass, final PageParameters pageParameters, boolean clean

The proxy server received an invalid response from an upstream server.

2010-10-10 Thread Martin Makundi
Hi! I have this problem "Error reading from remote server" with Wicket<->Jetty<->Apache mod_proxy integration. It occurs only for page requests that take long time (couple of minutes) to process. Did anybody find a solution for it? http://serverfault.com/questions/185894/proxy-error-502-reason-

Re: Monitor external link clicks

2010-10-07 Thread Martin Makundi
()', > 'onComponentTag()' methods from the Link class. But, did not manage to > get it working. > > Thanks > > > > > On 7 October 2010 16:00, Martin Makundi > wrote: >> Add onclickbehavior? >> >> ** >> Martin >> >> 2010/10

Re: Monitor external link clicks

2010-10-07 Thread Martin Makundi
Add onclickbehavior? ** Martin 2010/10/7 Abid K : > Hi, > > I am using the ExternalLink class for external sites. I've noticed > this class does not implement the ILinkListener interface and I am not > able to monitor these clicks. > > I tried to implement the listener, but I did not get far. e.g

Re: Selenium Regex?

2010-10-04 Thread Martin Makundi
rtinez wael < >> nino.martinez.w...@gmail.com> wrote: >> >>> Hmm, it's pretty intrusive. I wanted to have a "simple" selenium test >>> running. I'll get back once we find a solution. >>> >>> regards Nino >>> >>&g

Re: [JOB] Developer with exceptional OO, Java, Wicket skills. Scala a plus.

2010-10-04 Thread Martin Makundi
"Impossible is nothing" ;] ** Martin 2010/10/4 Altuğ Bilgin Altıntaş : > +1 > > 2010/10/4 Cemal Bayramoglu > >> Ernesto, >> >> ... nothing is impossible. >> >> Regards - Cemal >> jWeekend >> Training, Consulting, Development >> http://jWeekend.com >> >> >> >> >> On 4 October 2010 10:55, Ernesto

Re: Selenium Regex?

2010-10-04 Thread Martin Makundi
Hi! Maybe you can integrate wickettester with selenium in a way that you can use live paths: https://cwiki.apache.org/WICKET/type-safe-testing-in-wicket.html ** Martin 2010/10/4 nino martinez wael : > Hi > > has anyone created a regex to find wicket paths to use with selenium? > I did search na

Re: Rendering at constructor?

2010-09-28 Thread Martin Makundi
) at com.view.TakpWebPage.(TakpWebPage.java:64) at com.view.AbstractStylePage.(AbstractStylePage.java:103) at com.view.AbstractStylePage.(AbstractStylePage.java:96) at com.view.application.MainPage.(MainPage.java:92) ... 36 more ** Martin 2010/9/28 Martin Makundi

Re: Rendering at constructor?

2010-09-28 Thread Martin Makundi
apps/tests/examples use this and this is first time I see such problem. > Can you create a ticket with a quickstart, please. > > On Tue, Sep 28, 2010 at 12:17 PM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > >> Hi! >> >> How is it p

Rendering at constructor?

2010-09-28 Thread Martin Makundi
Hi! How is it possible that this error occurs at page constructor? Caused by: org.apache.wicket.WicketRuntimeException: Cannot modify component hierarchy after render phase has started (page version cant change then anymore) at org.apache.wicket.Component.checkHierarchyChange(Component.ja

Re: using IOC in panels?

2010-09-23 Thread Martin Makundi
e are prettier way? I feel that calling > org.apache.wicket.injection.Injector.get().inject(Object object) > inside my panels sort of violates the IOC principle? > > 2010/9/23 Martin Makundi : >> What is your need exactly? >> >> ** >> Martin >> >> 201

Re: using IOC in panels?

2010-09-23 Thread Martin Makundi
What is your need exactly? ** Martin 2010/9/23 nino martinez wael : > Hi > > what should I do if I want to use IOC in my panels? In short I need a > sort of a provider injected into a panel, what's the prettiest way to > do it? > > regards Nino > >

Re: Replacing content in

2010-09-20 Thread Martin Makundi
>   @Override >   public String getObject() { >       return ".date_style {\n" + _get_css_string_here + "\n}"; >   }; > }; > Label label = new Label("style-container", styleModel); > label.setEscapeModelStrings(false); > > As you can see I've re

Re: Replacing content in

2010-09-20 Thread Martin Makundi
} }); ** Martin 2010/9/20 Bas Gooren : > Martin, > > Wicket tags need to be part of a valid (x)html tree. So what you want can be > achieved by giving the tag a wicket:id and generating the CSS > including the ".container { ... }" code. > > Sebastian >

Replacing content in

2010-09-20 Thread Martin Makundi
Hi! I am making a page that can be opened into office and equivalents. This seems to require all HTML and CSS is contained within a single file. I have a section in my WebPage and I would like to parametrize some css values "on the fly". However, the following does not seem to work: .cont

Re: Prevent guest session from expiring

2010-09-14 Thread Martin Makundi
You can set session timeout per-session: ((ServletWebRequest) request).getHttpServletRequest().getSession().setMaxInactiveInterval(seconds); ** Martin 2010/9/15 Jeremy Thomerson : > On Tue, Sep 14, 2010 at 10:51 PM, Alec Swan wrote: > >> Isn't there a way to instruct Wicket not to create a

Re: Trouble with ProxyPass and Wicket

2010-09-14 Thread Martin Makundi
Hi! Yeah, try something like this: RewriteEngine On RewriteCond %{SERVER_NAME} !^www\.mydomain\.com RewriteRule /(.*) http://www.mydomain.com/$1 [redirect=301L] * *Martin 2010/9/15 Igor Vaynberg : > it is most likely the servlet container. wicket passes in a relative > url

Re: IE Problem

2010-09-09 Thread Martin Makundi
Try stackoverflow.com 2010/9/9 arunarapole : > > Hi > > I have a IE Issues > > i have some css styles with images all the styles are displayed in Mozilla > Firefox perfectly > but in IE Some of the features are not supporting .if i change  CSS file it > is effecting in Mozilla. > is their any solu

Re: User current page

2010-09-05 Thread Martin Makundi
You can get it only at render phase... not in constructor for example. ** Martin 2010/9/5 Igor Vaynberg : > yes and yes > > -igor > > On Sun, Sep 5, 2010 at 9:21 AM, Ervis Zikas wrote: >> Hello guys, is there a way i can get which page is the user navigating?? >> I have a menu that i want to ch

Inconsistent wicket error mesage

2010-09-02 Thread Martin Makundi
Hi! Does this wicket error message make sense? To me it looks like renderhead: 2010-09-02 13:46:31,307 267219809 [18145...@qtp-23684178-2226] ERROR RequestCycle - Only methods that can be called on IHeaderResponse outside renderHead() are renderOnLoadJavascript and renderOnDomReadyJavascript org

Re: Listview remove columns on the fly

2010-08-31 Thread Martin Makundi
); 2010/8/31 Altuğ Bilgin Altıntaş : > Any code example ? > > Thanks. > > 2010/8/31 Martin Makundi > >> Re-render it before going to excel.. >> >> 2010/8/31 Altuğ Bilgin Altıntaş : >> > Hi all; >> > >> > How can i disable Listview'

Re: Listview remove columns on the fly

2010-08-31 Thread Martin Makundi
Re-render it before going to excel.. 2010/8/31 Altuğ Bilgin Altıntaş : > Hi all; > > How can i disable Listview's column/s while post it to excel on the fly. I > mean i don't want to post all columns into excel. > > Link linkExcel = new Link("linkExcel") { >            private static final long se

Re: Listview excel

2010-08-30 Thread Martin Makundi
Hi! Just change the mime type of the page to "application/vnd.ms-excel". ** Martin 2010/8/30 Altuğ Bilgin Altıntaş : > Hi all; > > Is it possible to export a ListView to excel. Should i use always Datatable > ? > > Thanks. > -

Re: Problem to replace panel

2010-08-22 Thread Martin Makundi
Quickstart is better. ** Martin 2010/8/22 zoran : > > Hi Martin, > > I was trying to make this quick start but it's very difficult to make this > works, as it is dependent on many Tuscany web services. Does it works for > you to send you the whole maven project or just a files containing the code

Re: Problem to replace panel

2010-08-21 Thread Martin Makundi
Can you make a wicket quickstart that repeats the problem? ** Martin 2010/8/21 zoran : > > Yes. Everything looks fine. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Problem-to-replace-panel-tp2333462p2333782.html > Sent from the Wicket - User mailing list ar

Re: Problem to replace panel

2010-08-21 Thread Martin Makundi
Do you see the markup-id (to be replaced) in firebug? ** Martin 2010/8/21 zoran : > > Firebug shows that there is an old version of panel, and there is no > indication of some problem in firebug. > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Problem-to-replace

Re: Problem to replace panel

2010-08-21 Thread Martin Makundi
Can you see it in html with firebug? ** Martin 2010/8/21 zoran : > > Wicket dialog first shows info about HTML code that indicates that this panel > is created, than afterward, there is error line pointed out that > setOutputMarkupId is not set to true. However, as you can see from my > previous

Re: Problem to replace panel

2010-08-21 Thread Martin Makundi
What does wicket debug dialog say? ** Martin 2010/8/21 zoran : > > Hi, > > I have one wicket page containing two different panel. Based on the same > event, these panels should be changed with new instances of the same panels. > The methods that performs change of these panels are called after th

Re: dialog

2010-08-17 Thread Martin Makundi
http://wicketstuff.org/wicket14/nested/?wicket:bookmarkablePage=:org.apache.wicket.examples.ajax.builtin.modal.ModalWindowPage 2010/8/18 james yong : > > Hi, > > Is there any suggestion on creating a dialog? > > I have look at the following: > 1. wiquery has little documentation on creating dialog

Re: Bug or feature/improvement/question?

2010-08-14 Thread Martin Makundi
Hi! It might (and does) depend on other form component values. ** Martin 2010/8/15 Jeremy Thomerson : > Why should the validation value be able to change?  Why should it be a > moving target? > > On Sat, Aug 14, 2010 at 11:29 PM, Martin Makundi < > martin.maku...@koodarip

Re: Bug or feature/improvement/question?

2010-08-14 Thread Martin Makundi
ug 14, 2010 at 11:58 AM, Martin Makundi > wrote: >> Ok. That's pretty much same as my inline override. Is there a way to >> adjust  mini/max value on the fly? >> >> ** >> Martin >> >> 2010/8/14 Igor Vaynberg : >>> it would mean add(new CachingDe

Re: Bug or feature/improvement/question?

2010-08-14 Thread Martin Makundi
Ok. That's pretty much same as my inline override. Is there a way to adjust mini/max value on the fly? ** Martin 2010/8/14 Igor Vaynberg : > it would mean add(new CachingDecorator(new MinimumValidator())); > > -igor > > On Sat, Aug 14, 2010 at 11:28 AM, Martin Makundi >

Re: Using up/down/remove links of ListView items clears text fields

2010-08-14 Thread Martin Makundi
ignoring browsers without JS! ** Martin 2010/8/14 Sebastian : > Hi Martin, > > how would I use this in my case? I am relatively new to Wicket. Also does it > have a graceful fallback for browsers having JS disabled? > > Seb > > On 14.08.2010 18:39, Martin Makundi wrote: >&g

Re: Bug or feature/improvement/question?

2010-08-14 Thread Martin Makundi
? ** Martin 2010/8/14 Igor Vaynberg : > You can create a validator decorator that does caching however you want > > -igor > > On Aug 14, 2010 9:16 AM, "Martin Makundi" < > martin.maku...@koodaripalvelut.com> wrote: > > Hi! > > Is it a necessary feature that

Re: Using up/down/remove links of ListView items clears text fields

2010-08-14 Thread Martin Makundi
link implementations based on the SubmitLink class. I am attaching all files > of my working example as reference. > > Generally I think it makes great sense to have this behaviour as part of the > ListView. At least I expected it to work this way in the first place. > > Rega

Re: Bug or feature/improvement/question?

2010-08-14 Thread Martin Makundi
Ah.. we need to ofcourse validate "first" time. ** Martin 2010/8/14 Martin Makundi : > Still.. if value not changed, what does it matter? > > 2010/8/14 James Carman : >> What if the validation criteria is

Re: Bug or feature/improvement/question?

2010-08-14 Thread Martin Makundi
Still.. if value not changed, what does it matter? 2010/8/14 James Carman : > What if the validation criteria is based on other fields too? > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

Bug or feature/improvement/question?

2010-08-14 Thread Martin Makundi
Hi! Is it a necessary feature that validation occurs on components whose values have not changed? We have quite heavy validation criteria so it would be nice to optimize initializing the validator only for cases where component value has actually changed. We can do this with !getModelComparator(

Re: Using up/down/remove links of ListView items clears text fields

2010-08-14 Thread Martin Makundi
Hi! You can solve this in a robust manner using reusemanager: http://osdir.com/ml/users-wicket.apache.org/2010-08/msg00161.html 2010/8/14 Sebastian : > Hi, > > I am trying to use a list view component on a page where rows with text > fields can be added, removed or moved around. I am using the r

Re: General question - business logic with Wicket, where to put it?

2010-08-13 Thread Martin Makundi
You can put your business logic "elsewhere". Say: 1. Project Wicket GUI 2. Project Business Logic Minimum business logic into wicket gui or gui constructors. ** Martin 2010/8/14 Brown, Berlin [GCG-PFS] : > What is the best practice for where to put business logic in Wicket. > > At first, I had

Phantom pagemap locked?

2010-08-12 Thread Martin Makundi
2010-08-13 00:09:08,581 41529562 [9113...@qtp-14820907-371] ERROR Session - Current stack trace of the thread that holds the lock follows: java.lang.Throwable 2010-08-13 00:09:08,610 41529591 [9113...@qtp-14820907-371] ERROR RequestCycle - org.apache.wicket.WicketRuntimeException: After 3 minut

Re: how to dinamically add a wicket property to the key in the properties file

2010-08-08 Thread Martin Makundi
Please use debugger and find out why it does not work. Should work. ** Martin 2010/8/8 zoran : > > Martin, > > I've tried this, but it doesn't work. > > Any other idea? > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/how-to-dinamically-add-a-wicket-property-to-t

Re: how to dinamically add a wicket property to the key in the properties file

2010-08-08 Thread Martin Makundi
Try getString("alertmessage", Model.ofMap(Collections.singletonMap("pagetitle", "My page title"))); ** Martin 2010/8/8 zoran : > > Hi, > > I want to use key from properties file with wicket page property added in > this > value. I tried this way, but it doesn't work. > > String js="alert('"+getS

Re: robots.txt

2010-08-08 Thread Martin Makundi
Not really... 2010/8/8 Nikita Tovstoles : > ..that assumes that the app's context path is "/". > > On Sun, Aug 8, 2010 at 3:03 AM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > >> Hi! >> >> You can insert static stuff in weba

Re: robots.txt

2010-08-08 Thread Martin Makundi
Hi! You can insert static stuff in webapp/. directory. ** Martin 2010/8/8 Sefa Irken : > This is a ridicilous question, I am pretty new to web and servlet world > (coming from  desktop java). I couldn't figure out, how to serve my > robots.txt under www.site.com/robots.txt. How can I do that in

Re: Wicket adds jsessionid to redirect onto external page

2010-08-06 Thread Martin Makundi
You don't lose for all fols if you check whether it is a bot or not... but the question remains.. what else do you strip by skipping super.encodeUrl except just jsessionid.. some other encoding happening there? ** Martin 2010/8/6 James Carman : > On Fri, Aug 6, 2010 at 1:06 PM,   wrote: >> Right

Re: Wicket adds jsessionid to redirect onto external page

2010-08-06 Thread Martin Makundi
ncodedUrl; Depends what you want to strip/not-strip... skipping encoding also strips but I am not sure if there is any other encoding happening... ** Martin > > > > > > Martin Makundi > 08/06/2010 11:32 AM > Please respond to > users@wicket.apache.org > >

Re: Wicket adds jsessionid to redirect onto external page

2010-08-06 Thread Martin Makundi
ribed before. ** Martin > > > > Martin Makundi > 08/04/2010 02:21 PM > Please respond to > users@wicket.apache.org > > > To > users@wicket.apache.org > cc > > Subject > Re: Wicket adds jsessionid to redirect onto external page > > > > > > > C

Re: Add/Remove Dynamic FormComponent In RepeatingView

2010-08-05 Thread Martin Makundi
Use a reusemanager that manages the rawinput values. public class FormComponentReuseManager implements Serializable { private final Map> idMapRow = new HashMap>(); /** * @param * @param * @param rowId * @param componentId * @param newComponent * @return FormComponent *

Re: A beginner's tutorial

2010-08-05 Thread Martin Makundi
Hi! Also use of compoundpropertymodel is confusing and misleading in a professional sense. In my opinnion it adds too much dependencies and it is not so transparent. Instead you should promote usage of bindgens, for example. http://wicketinaction.com/2009/11/removing-fragile-string-expressions-fr

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