Re: [Wicket-user] url mounting and PageParameters
Hi There is already a jira issue here (1.2.x) : http://issues.apache.org/jira/browse/WICKET-400 2007/5/9, Igor Vaynberg <[EMAIL PROTECTED]>: still, the query string params should be merged. please file a jira issue if you are using 1.3 -igor On 5/9/07, Lowell Kirsh < [EMAIL PROTECTED]> wrote: > > I have figured this one out. Is seems that when my urls are mounted, > the parameters are passed in as "/param/value/" rather than as > "¶m=value". This is actually kind of nice :-) > > On 5/8/07, Lowell Kirsh <[EMAIL PROTECTED] > wrote: > > I have just started mounting my pages (for nice urls) and it seems > > that the PageParameters is always empty now. Before I had mounted the > > pages, I could manually append "&foo=bar" to my url and it would get > > into the PageParams, but not that they are mounted, I have been trying > > to append "?foo=bar" but it seems to vanish into the ether. What am I > > missing? > > > > Thanks, > > Lowell > > > > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket mailing lists no more archived ?
Hi will the wicket package name change in the future ? eg: org.apache.wicket.* ... 2007/3/12, Martijn Dashorst <[EMAIL PROTECTED]>: On 3/12/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote: > Having played with the nabble search engine I can already tell that it > rocks ! :) Yeah, it is pretty decent. > And the new Wicket website is really nice ! :) Thanks > When will it be the "official" new wicket website ? When we graduate. Then it will become: http://wicket.apache.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to getParameters() after using mountBookmarkablePage() ?
2007/3/12, Rüdiger Schulz <[EMAIL PROTECTED]>: Hello, you could pass the whole map to your components. Hello , this is what I want to avoid. I have a compoment : 'LanguageBar' , which 'appends' language=Chinese or language=English or...whatever to current ParameterMap is. So I wrote this : (In LanguageBar.java : ) Map parameterMap = getRequest().getRequestParameters().getParameters(); parameters.put("language", language); PageParameters pps = new PageParameters(parameters); after I use mountBookmarkablePage() , I get a zero-sized map. It seems I have to pass the PageParameters from Page to LanguageBar , but it is a little trouble to me , because the LanguageBar may be embedded very deeply. So I have to pass PageParameters from Page to PanelA to PanelB to PanelC to LanguageBar ... and the signatures of PanelA/PanelB/PanelC need to change . Any way to avoid this ? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to getParameters() after using mountBookmarkablePage() ?
2007/3/12, Rüdiger Schulz <[EMAIL PROTECTED]>: Use the constructor WebPage(wicket.PageParameters). There you get all parameters as a map, no matter if the page was mounted or not. Thank you But compoments seem still cannot direct get parameterMap from getRequest().getRequestParameters().getParameters(); It still returns zero-sized map; Do I need to pass the map from Page to the embedding compoments ? Any way to avoid this ? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] How to getParameters() after using mountBookmarkablePage() ?
Before using mountBookmarkablePage() , parameters are presented as ?var1=a&var2=b ... I can get a map of parameters by getRequest().getRequestParameters().getParameters(); After using mountBookmarkablePage() , parameters are translated to spider-friendly style : /var1/a/var2/b and getRequest().getRequestParameters().getParameters() returns empty map How do I solve this problem ? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Header contribution not always rendered
I got the same problem with 1.2.4 2006/11/11, Matej Knopp <[EMAIL PROTECTED]>: That's weird. Which wicket version are you using? Seems that Wicket 1.x has already become 1.3 and the latest revision is 473519. Wicket 1.2 has it's own branch now. Are you sure you're using the apache repository? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket + spring's OpenSessionInViewFilter still LazyInitializationException
2006/11/2, Johan Compagner <[EMAIL PROTECTED]>: yes don't hold objects in mem between requeststhat doesn't work. You have to reload them with the new hibernate session.Thats why we have LoadableDetachableModel (attach/detach on IModel)johan Thank you for so quickly response.I'll try to learn LoadableDetachableModel... ^_^ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket + spring's OpenSessionInViewFilter still LazyInitializationException
2006/11/2, Johan Compagner <[EMAIL PROTECTED]>: when was that object really loaded?In the outmost page... In the same request? Or was it hold on to it between a request?johanNo , it's not the same request. (pass to another page or PagingNavigator)Is it where the problem starts?Any way to solve this ? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] wicket + spring's OpenSessionInViewFilter still LazyInitializationException
HiI am using Wicket 1.2.2 + Spring 2.0 + Hibernate 3.2 (same problem with Spring 1.2.8 + Hibernate 3.0.5)I added OpenSessionInViewFilter in web.xml but still get LazyInitializationExceptionHere is my settings : web.xml : contextConfigLocation /WEB-INF/src/app.xml,classpath*:applicationContext-*.xml context org.springframework.web.context.ContextLoaderServlet 1 ... (skip) wicket /app/* OpenSessionInViewFilter org.springframework.orm.hibernate3.support.OpenSessionInViewFilter OpenSessionInViewFilter /app/* MyApplication extends WebApplication protected void init() { super.init(); addComponentInstantiationListener(new SpringComponentInjector(this)); }In the application initialization progress , I do see Filter 'OpenSessionInViewFilter' configured successfully : http listening to *:8080srun listening to 127.0.0.1:6802INFO - Initializing filter 'OpenSessionInViewFilter'INFO - Filter 'OpenSessionInViewFilter' configured successfully INFO - JDBC 3.0 Savepoint class is availableBut when I pass my object from one page to another page , and retrieve its set/list , I still get LazyInitializationException :WicketMessage: Error attaching this container for rendering: [MarkupContainer [Component id = pagable, page = foo.bar.ItemPage, path = 1:itemListPanel:pagable.ItemListPanel$1, isVisible = true, isVersioned = true]]Root cause:org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: foo.bar.Item.images, no session or session was closedat org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358)at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected (AbstractPersistentCollection.java:350)Can somebody tell me where goes wrong ?Thank you. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] mountBookmarkablePage not working ?
sorry , I found the problemIt's not related to wicket , it's related to eclipse for not compiling the latest version.Sorry for bother you :p2006/11/2, Igor Vaynberg < [EMAIL PROTECTED]>:not sure what to tell you, it works fine over here http://www.wicket-library.com/wicket-examples/niceurldont think resin has anything to do with it as wicket is responsible for encoding those urls. set a breakpoint on your mount call and make sure it is really being called and you are doing it in application's init() and not the constructor -igor - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] mountBookmarkablePage not working ?
Hi , I am using wicket 1.2.2 + Spring 2.0 + Hibernate 3.2 + Resin 2.1.16 + JavaEE5The code is as simple as any example.I don't know if it is Resin that cause this problem ...Anybody using Resin without this problem ??? 2006/11/2, Igor Vaynberg <[EMAIL PROTECTED]>: seems like that should work, what version of wicket are you using? can you produce a quickstart that replicates the problem? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] mountBookmarkablePage not working ?
Hi , I have a question about mountBookmarkablePage...I don't know why mountBookmarkablePage() not work on my application...I did add the code in my WebApplication : mountBookmarkablePage("/ViewItem" , ViewItem.class);But when I call add(new BookmarkablePageLink("link" , ViewItem.class , pps)...It still still generates /app?wicket:bookmarkablePage=:foo.bar.ViewItem&id=xxx Why ? Is there any factor that makes mountBookmarkablePage malfunction ?Here is my settings :web.xml wicket /app/* resin.conf (resin2.1.16) - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] VOTE: how should localized attributes work?
2[x] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Eclipse don't copy .html to output folder
Eclipse 3.2 Project -> Properties -> Java Compiler -> Building -> Enable project specific settings -> Output folder -> Filtered Resources remove *.html done! 2006/7/4, John Patterson <[EMAIL PROTECTED]>: > > This sounds like the problem I came across a few weeks ago: > > http://thread.gmane.org/gmane.comp.java.wicket.user/13599/focus=13605 > > I solved it by creating a new workspace and importing all my projects again. > > I reported this bug to Eclipse and they said that it was a problem with the > classpath format change but that they do not support workspace upgrades > between milestone releases. But they said that they do support upgrades > between versions. > > Are you using the latest 3.2 release? > > John > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Custom FormComponent or Panel with complex validation ?
Thanks. It seems I overlooked the findParent method... But I have another question. Is it a good idea to add the validator-binding-code in onBeforeRender() ? Yes , in Wicket 2 , the hierarchy is known at construction time . But in wicket 1.2 , is there any better way to solve it ? 2006/6/15, Eelco Hillenius <[EMAIL PROTECTED]>: > Why not use findParent(Form.class)? Or pointer.findParent(Form.class)? > > A method like onParentAssigned would only partially solve the problem, > as that gives no guarantees to the parents of the parents. It'll get > even messier probably. Furthermore, we don't need it in 2.0 anymore, > as in 2.0 the hierarchy is known at construction time. > > Eelco > > > > Hi , the below is the method that I thought , > > I think it can combine form.add(myDatePicker) and > > form.add(myDatePickerValidator) > > > > > > public class MyDatePicker extends Panel > > { > > private boolean validatorAdded = false; > > ... > > skipped... > > .. > > > >@Override > > protected void onBeforeRender() > >{ > > super.onBeforeRender(); > > > > if (!validatorAdded) > > { > >MarkupContainer pointer = this; > > while (pointer.getParent() != null) > > { > > MarkupContainer markupContainer = pointer.getParent (); > > if (markupContainer instanceof Form) > > { > > Form form = (Form) markupContainer; > >form.add(new MyDatePickerValidator(this)); > > validatorAdded=true; > >break; > > } > > pointer = pointer.getParent(); > > } //while > > } //if > > } //onBeforeRender() > > } //class > > > > By this way , other programmers just need form.add(myDatePicker) , doesn't > > need to know it needs other validators. > > I think it is a little tricky (and dumb) , but I cannot find other ways to > > solve this. > > > > Any better idea ? > > > > BTW , I suggest the following method : > > > > Compoment.onParentAssigned(Compoment parent); > > If there is this method , I can easily solve this problem , needn't to do > > the tricky onBeforeRender()... > > > > > > > > > > ___ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Custom FormComponent or Panel with complex validation ?
2006/6/13, Eelco Hillenius <[EMAIL PROTECTED]>: > I thought this way has some flaw , because it decoupled myDatePicker and> myDatePickerValidator ,> Other programmer may form.add(myDatePicker); and forget to> form.add(myDatePickerValidator); You can hide adding that validator in your component too. Of course,the idea is that you hide everything that has to do with thatcomponent in that component. Encapsulation, baby! Hi , the below is the method that I thought , I think it can combine form.add(myDatePicker) and form.add(myDatePickerValidator) public class MyDatePicker extends Panel{ private boolean validatorAdded = false; ... skipped... .. @Override protected void onBeforeRender() { super.onBeforeRender(); if (!validatorAdded) { MarkupContainer pointer = this; while (pointer.getParent() != null) { MarkupContainer markupContainer = pointer.getParent (); if (markupContainer instanceof Form) { Form form = (Form) markupContainer; form.add(new MyDatePickerValidator(this)); validatorAdded=true; break; } pointer = pointer.getParent(); } //while } //if } //onBeforeRender() } //classBy this way , other programmers just need form.add(myDatePicker) , doesn't need to know it needs other validators. I think it is a little tricky (and dumb) , but I cannot find other ways to solve this.Any better idea ?BTW , I suggest the following method : Compoment.onParentAssigned(Compoment parent);If there is this method , I can easily solve this problem , needn't to do the tricky onBeforeRender()... ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Custom FormComponent or Panel with complex validation ?
Thanks , this is exactly what I was doing...my first post in the thread , method 1 :1.Make MyDatePicker extends Panel ,and write MyDatePickerValidator implements IFormValidator so , I can use :form.add(myDatePicker);form.add(myDatePickerValidator);Is it correct ???If it is correct , it seems MyDatePickerValidator is decoupled withMyDatePickerI thought this way has some flaw , because it decoupled myDatePicker and myDatePickerValidator , Other programmer may form.add(myDatePicker); and forget to form.add(myDatePickerValidator);I think ...MyDatePickerValidator should be added to MyDatePicker , not to the form. That is , MyDatePicker should has its own validator , not depends on the form's validator. So , I found maybe I should make MyDatePicker extends FormComponentand write MyDatePickerValidator implements IValidatorIs this concept correct ?2006/6/13, Eelco Hillenius < [EMAIL PROTECTED]>:> > But , what is the "custom markup" ??> > Does that look like ??> > And if it is , is there any implemention example about custom markup ?? > > No, with custom markup I meant that you can provide the markup of a> custom component - your date picker - by providing a markup file for.> E.g.> > public class MyDatePicker extends Panel > > public MyDatePicker(String id) {> add(new TextField("date", ..));> }> ...> > would have> > MyDatePicker.html:> > ...> > ...> > > You would use this component (in your forms/ pages) like this:> > add(new MyDatePicker("datePicker"));> > and in HTML:> > [date picker will be rendered here]> > Something like that. > > > Eelco ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Custom FormComponent or Panel with complex validation ?
> > I think I shouldn't use FormValidator , because MyDatePicker is not a > > form ; MyDatePicker is embed in a form , with other fields included , > > such as username , password , title ...etc. > > The cool thing about how components are nested and form components > work in Wicket, is that you can nest any levels deep. > > So, if your date picker extends panel - easiest way to provide your > custom markup - and you nest some form components in that panel, and > embed the panel in a form, it will just work together nicely with that > form. > Thank you , it seems MyDatePicker extends Panel is correct... But , what is the "custom markup" ?? Does that look like ?? And if it is , is there any implemention example about custom markup ?? Thanks in advanced. ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Custom FormComponent or Panel with complex validation ?
Thank you. I did not really mean "DatePicker" I just take "MyDatePicker" for example , because it has cross-field validation ( If month==FEB , day <=28 for average year ; day<=29 for leap year) My custom object structure and validation is more complicated , not related to DatePicker. I just want to know , if there is a MyDatePicker , that year/month/day are all TextFields , how do I the cross-field validation ??? I didn't find any example about the cross-field validation. The validators in wicket.markup.html.form.validation.* are all per-field validator , can somebody give me an example of cross-field validator ?? I think I shouldn't use FormValidator , because MyDatePicker is not a form ; MyDatePicker is embed in a form , with other fields included , such as username , password , title ...etc. Again , as I mentioned , "MyDatePicker" is just an example , not related to wicket's DatePicker. I think it is a good example about cross-field validation... 2006/6/12, Johan Compagner <[EMAIL PROTECTED]>: > a validator needs to be added to a FormComponent. > You could do it with a FormValidator but that is more a validator that goes > over multiply formcomponents > (like equals input or check if you filled in one of the fields (required > over x number of fields not only one field) > > Is that validator always there for your DatePicker or is it a standalone > validator that > you sometimes use for a datepicker? > If you always want to have a validator with youre special datepicker > Then you just extend the datapicker and in the constructor add your > validator. > > Please make a but report about that javadoc that is out of sync so that we > can look at it. > ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Custom FormComponent or Panel with complex validation ?
I have an object that want to embed it in a form. My custom object has its complicated validation mechanism (not just validators in wicket.markup.html.form.validation.*) , what should I do ? For example : MyDatePicker , that will check if you pickup February , and it will check if 'day' is larger than 29 (leap year) or 28(average year) . MyDatePicker is not standalone , it may be embed in other forms. I thought there are two ways: 1. Make MyDatePicker extends Panel , and write MyDatePickerValidator implements IFormValidator so , I can use : form.add(myDatePicker); form.add(myDatePickerValidator); Is it correct ??? If it is correct , it seems MyDatePickerValidator is decoupled with MyDatePicker 2. Make MyDatePicker extends FormComponent and write MyDatePickerValidator implements IValidator , in the code : form.add(myDatePicker.add(myDatePickerValidator)); Is it correct ? Which is the better way ? BTW , is there any further documents about how to write custom FormComponent ? I tried to write class extends FormComponent , but it throws WicketRuntimeException : The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup ... I don't know why it happens , I am sure the components in code match the wicket:id in HTML template Another question , in the javadoc of IValidator , it says "if none satisfies your need, subclass CustomValidator" , but in javadoc of CustomValidator , it shows "Deprecated. Users should use StringValidator directly" . But I am not going to do String validation , what should I do ?? ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] 1.2rc4 --> 1.2 : Markup of type 'html' for component 'foo.bar' not found
sorry , after turn off "wicket=debug" , it works OK now... I don't know the reason... I am confused too. If it shows this message again , I'll dump the output here... 2006/5/26, Eelco Hillenius <[EMAIL PROTECTED]>: That sounds pretty weird. Coul you turn it off again and give us a stacktrace of your failure? Eelco On 5/25/06, smallufo <[EMAIL PROTECTED]> wrote: > Hi , after I updated my wicket libraries from 1.2rc4 to 1.2 , my app > shows this error message : > Markup of type 'html' for component 'foo.bar' not found , Enable debug > messages for wicket.util.resource to get a list of all filenames > tried: > [Page class = foo.bar.MyPage, id = 0] > > But when I added "wicket=debug , stdout" , in log4j.properties , > everything works fine. > Why ??? > > --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] 1.2rc4 --> 1.2 : Markup of type 'html' for component 'foo.bar' not found
Hi , after I updated my wicket libraries from 1.2rc4 to 1.2 , my app shows this error message : Markup of type 'html' for component 'foo.bar' not found , Enable debug messages for wicket.util.resource to get a list of all filenames tried: [Page class = foo.bar.MyPage, id = 0] But when I added "wicket=debug , stdout" , in log4j.properties , everything works fine. Why ??? --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] In markup inheritance , child surrounded by a Box
Hi I am learning Markup Inheritance . According to this article : http://www.javalobby.org/java/forums/t69357.html In the Base.html I want the child content surrounded by a BoxBorder , so I change to : and In the Base.java : add(new BoxBorder("bodyBorder")); But in child pages , how do I correctly add content ? If I use : ChildPage.html add(new Label("label1", "This is in the subclass Page1")); It will throw this Exception : WicketMessage: Unable to find component with id 'label1' in [MarkupContainer [Component id = _extend, page = ChildPage, path = 0:bodyBorder:_child:_extend.MarkupInheritanceResolver$TransparentWebMarkupContainer, isVisible = true, isVersioned = true]]. This means that you declared wicket:id=label1 in your markup, but that you either did not add the component to your page at all, or that the hierarchy does not match. How do I solve this ? --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Google Web Toolkit integration ?
Google Web Toolkit - Build AJAX apps in the Java language released on 5/16/2006 http://code.google.com/webtoolkit/ It seems powerful and slick Anybody has any idea to integrate it to wicket ? --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Custom component inheritance
Yes , I thought of markup inheritance before.But I feel it doesn't meet my requirement.It seems that in 'markup inheritence' , parent markup knows it will be inherited , so it will insert in parent.htmlBut in my requirement , parent component doesn't know it will be inherited , this is the difference...2006/5/13, Johan Compagner < [EMAIL PROTECTED]>:use markup inheritance for this. As far as i know this should work for panels also http://www.wicket-wiki.org.uk/wiki/index.php/Markup_inheritance johanOn 5/13/06, smallufo < [EMAIL PROTECTED]> wrote: HiI have a custom component (form) that extends PanelI want to extend my custom panel and add some field and overide the onSubmit() method.But I found I have to duplicate the whole HTML content.I feel this will increase the complexity of future maintaince. Is there a better way to handle this ?
[Wicket-user] Custom component inheritance
HiI have a custom component (form) that extends PanelI want to extend my custom panel and add some field and overide the onSubmit() method.But I found I have to duplicate the whole HTML content.I feel this will increase the complexity of future maintaince. Is there a better way to handle this ?
[Wicket-user] What's the purpose of PackageResource.bind in IInitializer ?
HiCan somebody explain the purpose of PackageResource.bind() in IInitializer ?I tried to remove PackageResource.bind(application , Foo.class , "bar.gif") in IInitializerand ... keeps the following code intact in Page/Panel add(new Image("myImage" , new PackageResourceReference(Foo.class, "bar.gif")));and the whole application works fine , images correctly shown. (I am sure the IInitializer.init() is executed) I just get confused. What is the purpose of PackageResource.bind in IInitializer ?In the JavaDoc , it says for some reason about sticky session or cluster ... But I am still not clear...If it is for the purpose of sticky session or cluster ... why do we need to duplicate some very similar code ? I think PackageResource.bind(application , Foo.class , "bar.gif") and ...new PackageResourceReference(Foo.class, "bar.gif")));seems violate the DRY rule...
[Wicket-user] DatePicker not work for 1.2RC3 ?
HiAnybody has problem about DatePicker on 1.2 RC3 ?It worked on 1.2 RC2 , but after I upgrade to 1.2 RC3 (both wicket and wicket-extensions) , it doesn't work , the calendar doesn't pop-up anymore...Anybody has this problem too ?
[Wicket-user] Re: DatePicker not work for 1.2RC3 ?
Sorry to bother you .It worked again .I don't know the reason , maybe browser's script loading problem2006/5/4, smallufo <[EMAIL PROTECTED] >:HiAnybody has problem about DatePicker on 1.2 RC3 ?It worked on 1.2 RC2 , but after I upgrade to 1.2 RC3 (both wicket and wicket-extensions) , it doesn't work , the calendar doesn't pop-up anymore...Anybody has this problem too ?
[Wicket-user] relative resources(css/images...) in HTML
Hi , I am new to Wicket.I learn Wicket from the three tutorials in JavaLobby .In the third tutorial : Let Components Contribute to the Header Section( http://www.javalobby.org/java/forums/t61002.html )The author added to PersonPanel.html