warning with enclosure
hello all, I have an enclosure tag with two inner ones. Whenever I go to the page with the panel that has this enclosure, I get a warning message: 2008-04-06 18:35:49,670 WARN [org.apache.wicket.Page] - Component [Component id = allSelectedLabel, page = comweb.entitybrowserBrowserPage, path = 5:tabs:browserTabbedPanel:panel:allSelectedLabel.Label, isVisible = true, isVersioned = false] wasn't rendered but most likely it has a transparent parent: [MarkupContainer [Component id = enclosure-165, page = com..web.entitybrowserBrowserPage, path = 5:tabs:browserTabbedPanel:panel:enclosure-165.Enclosure, isVisible = false, isVersioned = false]] I know it's no problem, but it's a bit annoying. Is there a way removing this warning? Thanks -- Eyal Golan [EMAIL PROTECTED] Visit: http://jvdrums.sourceforge.net/
Re: Promotion
Thanks, Martin :)) On Sun, Apr 6, 2008 at 10:25 PM, Martin Grigorov <[EMAIL PROTECTED]> wrote: > Congrats Cristi, > > I like the styling of the "sign in" modal window! > > Really cool (self-documenting) ids ;-) > > > On Sun, 2008-04-06 at 21:03 +0300, Cristi Manole wrote: > > Hi, > > > > Please excuse me for taking 2 minutes of your time, but I would like to > > promote a website developed with Wicket: www.sssmoking.com > > > > It's a very simple site, developed in a few hours, so not much to say > about > > it... it's purpose is to keep track of your daily smoking. And a lot > more > > will be added soon. > > > > Of course, your feedback would be more than welcome. > > > > Thanks, > > Cristi Manole > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Question regarding navigation with the browser's back button
Another option - this might be a better first line of defence. Perhaps we look at implementing the other solution if the problem still exists. On Fri, Nov 9, 2007 at 2:42 AM, Christian Alejandro Marquez Grabia < [EMAIL PROTECTED]> wrote: > Well...after trying on different things, what I did was override the > "onAttach" method, and there I regenerate the tree. > > Don't know if this is the better way, but it's working so far. > > Thanks for your help, > Chris > > On Nov 5, 2007 4:35 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > maybe your tree model caches more then it should, not sure. if you > > want regen the page then its url has to be bookmarkable, but the tree > > doesnt work with that really without some extra work... > > > > -igor > > > > > > On 11/5/07, Christian Alejandro Marquez Grabia <[EMAIL PROTECTED]> > wrote: > > > Thanks Igor. > > > > > > Indeed, the browser now reloads the page, but the Internal Error > occurs > > now, > > > instead of watching the cached page. It seems that the Java page is > > > somewhere cached, and the tree is attempted to be reloaded, and since > > some > > > of the methods use the objects in the tree, it brings up the internal > > error. > > > > > > Is there anyway to make the Java web page to be regenerated, instead > of > > > using the previous one? So that the tree is re-drawn without the item. > ( > > in > > > the address bar the url ends with :4::. after deleting it becomes > :5::, > > but > > > when I press the back button, the :4:: appears, and so does the > internal > > > error. > > > > > > any ideas on how to make it re-draw the tree, using real data? > > > > > > Chris > > > > > > On 11/5/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > > > > > > override webpage#setheaders() and instead of no-cache set a no-store > > > > header. that should force the browser to reload the page on > > > > backbutton... > > > > > > > > -igor > > > > > > > > > > > > On 11/5/07, Christian Alejandro Marquez Grabia <[EMAIL PROTECTED]> > > wrote: > > > > > I am using Wicket version 1.2.6 > > > > > > > > > > I have been looking for this or related issues in the list, but > > couldn't > > > > > find any to solve my problem. > > > > > > > > > > I have a page that show a Tree with many items. These items can be > > > > deleted > > > > > using a link. When the item is deleted the page is reloaded using > > > > > SetResponsePage(). Then if I click the browser's back button, I go > > to > > > > the > > > > > previous page in which this item was not deleted, causing an > > > > inconsistence > > > > > between the tree and the real thing, that will eventually cause an > > > > internal > > > > > error leading the user to the internal error page. > > > > > > > > > > Is there a way to tell wicket that if the back button is pressed, > to > > > > reload > > > > > the page fully, i.e. rebuild it, not using cache? > > > > > > > > > > Thanks in advanced, > > > > > Chris > > > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > >
Re: Strange behaviour with autocomplete
Yep, that fix works for me. Thanks! On Fri, 2008-04-04 at 21:00 +0200, Erik van Oosten wrote: > This may be related to the bug I reported in > https://issues.apache.org/jira/browse/WICKET-1355. Maybe the attached > fix works for you. > > Regards, > Erik. > > > -- > Erik van Oosten > http://www.day-to-day-stuff.blogspot.com/ > > > David Leangen wrote: > > Hi, > > > > Using the standard wicket autocomplete widget, I just noticed that I am > > getting some strange behaviour. > > > > When I mouseover or scroll the list via the keyboard, the entire screen > > jumps to the bottom. I never noticed before because there wasn't enough > > content to cause the page to scroll and therefore for this bug to > > manifest itself. > > > > > > Has anybody else ever dealt with this problem? > > > > > > Thanks! > > David > > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Picnik components
Hello everbody, I finally had the time to finish a first beta release of the picnik components, boldly named wicketstuff-picnik (I will apply for wicketstuff access soon). You can download the files from my blog for now: http://www.2rue.de/wicket/integrate-picnik-into-your-wicket-powered-website/ There are passive components for enabling push and pull export, a OO-mapping of the Picnik-API, an IModel to create links to make API calls and a page with examples on how to use all of this. A Picnik-API key is required and certainly/hopefully not included :) Greetings, and have fun with it, Rüdiger 2008/3/22, Roland Huss <[EMAIL PROTECTED]>: > > > Hi Ruediger, > > > > Rüdiger_Schulz wrote: > > > > I'm sure some of you heard about picnik.com, this awesome online image > > editor. As I'm in the process of integrating this in my website via > their > > API, I wanted to implement this as a collection of reusable Wicket > > components. Has anyone already started with this? If not - I'm going to, > > and > > I'd be very happy to release this under Apache License 2.0, e.g. as a > > wicketstuff project. > > > > > I'm very interested in such components, so when you have something to look > at, I would be happy to give it a try ... > > ...roland > > -- > View this message in context: > http://www.nabble.com/Picnik-components-tp16218381p16221631.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- greetings from Berlin, Rüdiger Schulz www.2rue.de www.indyphone.de - Coole Handy Logos einfach selber bauen
[Amsterdam meetup] Program for tuesday
I would like to propose the following program for our get-to-gether coming tuesday in Amsterdam: We have the venue starting at 3pm, until 9pm (but that can be extended a bit) 15:00 - 16:00 Hackathon/ask a committer 16:00 - 16:30 Java monitoring with JaMon - Lars Vonk 16:30 - 16:45 Wicket 2.0 - Martijn Dashorst 17:00 - 18:00 Qi4J and Wicket - Nicklas Hedhman 18:00 - 19:30 Dinner at your own leisure 19:30 - 20:00 Elephas: the future of Blogging Software - Gerolf Seitz 20:00 - 20:30 Groovy/Grails integration - Erik Pragt 20:30 - end Hackathon/ask a committer Due to travel arrangements Gerolf can't present in the afternoon, and Nicklas' presentation will be quite interesting but demanding of our brains: Qi4j is a radical new concept. I've made arrangements with Nicklas that his presentation will be at 5pm. He'll need roughly an hour or so. Unfortunately we don't have a sponsor for a dinner. We take a 90 minute break so people can make their own dinner arrangements. How does this schedule look? Can everybody live with this? Martijn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: java.io.StreamCorruptedException: invalid type code: 29
Dont know if the stream corrupt has the same root problem as the stackoverflow But that is just fixed. johan On Sat, Mar 29, 2008 at 11:22 PM, Daniel Wu <[EMAIL PROTECTED]> wrote: > > I've updated my wicket application to Wicket 1.3.2, but now, when I try to > switch between my application tabs (my tabs extend > org.apache.wicket.extensions.markup.html.tabs.AbstractTab) I'm getting > this > error: > > ERROR RequestCycle () - Could not deserialize object using > > `org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory` > object factory > java.lang.RuntimeException: Could not deserialize object using > > `org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory` > object factory >at > org.apache.wicket.util.lang.Objects.byteArrayToObject(Objects.java:411) >at > > org.apache.wicket.protocol.http.pagestore.AbstractPageStore.deserializePage(AbstractPageStore.java:228) >at > > org.apache.wicket.protocol.http.pagestore.DiskPageStore.getPage(DiskPageStore.java:706) >at > > org.apache.wicket.protocol.http.SecondLevelCacheSessionStore$SecondLevelCachePageMap.get(SecondLevelCacheSessionStore.java:311) >at org.apache.wicket.Session.getPage(Session.java:751) > ... > Caused by: java.io.StreamCorruptedException: invalid type code: 29 >at java.io.ObjectInputStream.readObject0(Unknown Source) >at java.io.ObjectInputStream.defaultReadFields(Unknown Source) >at java.io.ObjectInputStream.readSerialData(Unknown Source) >at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) >at java.io.ObjectInputStream.readObject0(Unknown Source) >at java.io.ObjectInputStream.readObject(Unknown Source) >at > org.apache.wicket.util.lang.Objects.byteArrayToObject(Objects.java:393) > > I've already downloaded and used the latest wicket 1.3 snapshot, which was > suggested to me here: https://issues.apache.org/jira/browse/WICKET-1445 , > but I'm still having this error. > > I'm still using an old release of wicket-extensions. Since I updated to > wicket 1.3, I'm also having this warning: > > WARN AbstractTextComponent () - Couldn't resolve model type of > Model:classname=[...], please set the type yourself. > > Could any of these be related to the Serialization error? Does anyone have > any idea of what is causing it? > > Daniel > > -- > View this message in context: > http://www.nabble.com/java.io.StreamCorruptedException%3A-invalid-type-code%3A-29-tp16374745p16374745.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: java.io.StreamCorruptedException: invalid type code: 29
On Wed, Apr 2, 2008 at 10:03 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > SPEED! Awesome. I don't give a rats ass about the unit tests performance. Is it really worth having different environment for running unit tests than the the environment the application runs within? -Matej > > > > On 4/2/08, Matej Knopp <[EMAIL PROTECTED]> wrote: > > I'm affraid we won't be able to help here without a testcase. We > > already have a tests for this they pass, so it must be something we > > didn't cover. > > > > Also that reminds me, there's problem with wicket tester, the page > > reference serialization test (don't remember the exact name now) is > > not running properly because wicket tester has been switched to > > httpsessionstore. WHY? Why do we use http sessionstore with tests when > > noone really uses httpsessionstore in production?! > > > > -Matej > > > > > > On Wed, Apr 2, 2008 at 9:38 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > yes very complex code but found it > > > PageSerializer also adds it to the used pages again.. > > > > > > > > > On Wed, Apr 2, 2008 at 9:36 PM, James Carman <[EMAIL PROTECTED]> > > > wrote: > > > > > > > > > > > > > Doesn't the code remember what it has already taken care of during > > > > serialization? I seem to remember something like that in the code. > > > > > > > > On Wed, Apr 2, 2008 at 3:34 PM, Johan Compagner <[EMAIL PROTECTED]> > > > > wrote: > > > > > that method is only called when you have page references inside > your > > > > page > > > > > that is going to be (or was) serialized. > > > > > It holds the page info so that it can get it from the session > also. > > > > > > > > > > Maybe in here we have a cycle that we dont really catch > > > > > so Page A <-> Page B are both pointing to each other. > > > > > > > > > > i am not quickly looking at the code but dont immediately see how > we > > > > handle > > > > > that > > > > > > > > > > johan > > > > > > > > > > > > > > > > > > > > > > > > > On Wed, Apr 2, 2008 at 9:26 PM, Daniel Wu <[EMAIL PROTECTED]> > wrote: > > > > > > > > > > > > > > > > > I don't have a reproduceable testcase because the architecture > that > > > > I'm > > > > > > using > > > > > > is a little bit different, it uses Wicket together with OSGi, > running > > > > as > > > > > > an > > > > > > Eclipse plugin. > > > > > > > > > > > > I've noticed that this > > > > > > java.io.StreamCorruptedExceptionStreamCorruptedException happens > > > > after a > > > > > > java.lang.StackOverflowError. The line 363 of AbstractPageStore > > > > class, > > > > > > inside the readResolve() method, is being called several times, > > > > causing > > > > > > the > > > > > > java.lang.StackOverflowError. This is weird, because I've > another > > > > screen > > > > > > which never calls this readResolve() method. > > > > > > > > > > > > When this method should be called? > > > > > > > > > > > > > > > > > > Johan Compagner wrote: > > > > > > > > > > > > > > No that warning doesnt anything todo with serialization. > > > > > > > > > > > > > > But do you have a reproduceable testcase? That would be very > nice > > > > to > > > > > > > have, can you attach that to the jira (there is already one > > > > > > > describing this i think) > > > > > > > > > > > > > > On 3/29/08, Daniel Wu <[EMAIL PROTECTED]> wrote: > > > > > > >> > > > > > > >> I've updated my wicket application to Wicket 1.3.2, but now, > when > > > > I try > > > > > > >> to > > > > > > >> switch between my application tabs (my tabs extend > > > > > > >> org.apache.wicket.extensions.markup.html.tabs.AbstractTab) > I'm > > > > getting > > > > > > >> this > > > > > > >> error: > > > > > > >> > > > > > > >> ERROR RequestCycle () - Could not deserialize object using > > > > > > >> > > > > > > > > > > > `org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory` > > > > > > >> object factory > > > > > > >> java.lang.RuntimeException: Could not deserialize object > using > > > > > > >> > > > > > > > > > > > `org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory` > > > > > > >> object factory > > > > > > >> at > > > > > > >> > > > > > org.apache.wicket.util.lang.Objects.byteArrayToObject(Objects.java:411) > > > > > > >> at > > > > > > >> > > > > > > > > > > > org.apache.wicket.protocol.http.pagestore.AbstractPageStore.deserializePage(AbstractPageStore.java:228) > > > > > > >> at > > > > > > >> > > > > > > > > > > > org.apache.wicket.protocol.http.pagestore.DiskPageStore.getPage(DiskPageStore.java:706) > > > > > > >> at > > > > > > >> > > > > > > > > > > > or
Re: Promotion
Congrats Cristi, I like the styling of the "sign in" modal window! Really cool (self-documenting) ids ;-) On Sun, 2008-04-06 at 21:03 +0300, Cristi Manole wrote: > Hi, > > Please excuse me for taking 2 minutes of your time, but I would like to > promote a website developed with Wicket: www.sssmoking.com > > It's a very simple site, developed in a few hours, so not much to say about > it... it's purpose is to keep track of your daily smoking. And a lot more > will be added soon. > > Of course, your feedback would be more than welcome. > > Thanks, > Cristi Manole - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Promotion
Hi, Please excuse me for taking 2 minutes of your time, but I would like to promote a website developed with Wicket: www.sssmoking.com It's a very simple site, developed in a few hours, so not much to say about it... it's purpose is to keep track of your daily smoking. And a lot more will be added soon. Of course, your feedback would be more than welcome. Thanks, Cristi Manole
Re: Have any DynamicByteArrayResource sample?
take a look at DynamicImageResource.. It should give some hints. rosen jiang wrote: Hi all, I want use DynamicByteArrayResource class download Excel(ByteArray Resource not File) from jexcelapi. Does DynamicByteArrayResource class fit for me? thx! best regards, osen jiang -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Have any DynamicByteArrayResource sample?
Hi all, I want use DynamicByteArrayResource class download Excel(ByteArray Resource not File) from jexcelapi. Does DynamicByteArrayResource class fit for me? thx! best regards, osen jiang -- View this message in context: http://www.nabble.com/Have-any-DynamicByteArrayResource-sample--tp16525712p16525712.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Indicating on another componanet
On Sun, 06 Apr 2008, Rami Sass wrote: > I have a button click which has heavy (10-20+ seconds) computation before > replacing a panel with a new panel containing the results of the > computation. In the waiting time i would like to have an indication where > the old panel resides on the screen (I wouldn't mind blocking the entire > page for that matter). > > Does anyone know of a solution? > > note: the page is longer then a single screen so having a div with > height:100% doesn't cover all the page. Search this forum on Nabble with IAjaxIndicatorAware, in a couple of threads the different possibilities are presented pretty well. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations Oyhttp://www.ri.fi/ > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: warning: [deprecation] AuthenticatedWebSession(AuthenticatedWebApplication,Request)
AuthenticatedWebApplication used the deprecated constructor, this should be fixed in wicket 1.3.3 see https://issues.apache.org/jira/browse/WICKET-1423 Maurice On Sun, Apr 6, 2008 at 3:55 PM, rosen jiang <[EMAIL PROTECTED]> wrote: > > Hi all, > > I encounter the same problem, how to resolve it? > > thx! > -rosen jiang > > > > > Johnnie wrote: > > > > Hi, > > > > I'm using Wicket 1.3.2, had a piece of code that read like this: > > > > public MySession(final AuthenticatedWebApplication application, > > final Request request) { > > > > super(application, request); > > > > } > > > > and was getting the following warning: > > > > warning: [deprecation] > > > AuthenticatedWebSession(org.apache.wicket.authentication.AuthenticatedWebApplication,org.apache.wicket.Request) > > in org.apache.wicket.authentication.AuthenticatedWebSession has been > > deprecated > > > > so I tried to use the form of the constructor that takes only one argument > > - Request, like so: > > > > public ElectronicaSession(final AuthenticatedWebApplication > > application, > > final Request request) { > > > > super(request); > > > > } > > > > and now I get: > > > > org.apache.wicket.WicketRuntimeException: Unable to instantiate web > > session class my.package.MySession > > > > > org.apache.wicket.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:120) > > org.apache.wicket.Session.findOrCreate(Session.java:228) > > org.apache.wicket.Session.findOrCreate(Session.java:211) > > org.apache.wicket.Session.get(Session.java:250) > > org.apache.wicket.Application$1.onInstantiation(Application.java:276) > > > > > org.apache.wicket.Application.notifyComponentInstantiationListeners(Application.java:974) > > org.apache.wicket.Component.(Component.java:866) > > org.apache.wicket.MarkupContainer.(MarkupContainer.java:105) > > org.apache.wicket.Page.(Page.java:236) > > org.apache.wicket.markup.html.WebPage.(WebPage.java:184) > > > > > org.apache.wicket.markup.html.pages.ExceptionErrorPage.(ExceptionErrorPage.java:55) > > > > > org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:163) > > org.apache.wicket.RequestCycle.step(RequestCycle.java:1280) > > org.apache.wicket.RequestCycle.steps(RequestCycle.java:1330) > > org.apache.wicket.RequestCycle.request(RequestCycle.java:493) > > > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:358) > > > > > org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:194) > > > > How do I avoid both the warning and the error? > > > > Best regards, > > > > Johnny > > > > > > > > > > -- > View this message in context: > http://www.nabble.com/warning%3A--deprecation--AuthenticatedWebSession%28AuthenticatedWebApplication%2CRequest%29-tp16329498p16524401.html > > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: warning: [deprecation] AuthenticatedWebSession(AuthenticatedWebApplication,Request)
Hi all, I encounter the same problem, how to resolve it? thx! -rosen jiang Johnnie wrote: > > Hi, > > I'm using Wicket 1.3.2, had a piece of code that read like this: > > public MySession(final AuthenticatedWebApplication application, > final Request request) { > > super(application, request); > > } > > and was getting the following warning: > > warning: [deprecation] > AuthenticatedWebSession(org.apache.wicket.authentication.AuthenticatedWebApplication,org.apache.wicket.Request) > in org.apache.wicket.authentication.AuthenticatedWebSession has been > deprecated > > so I tried to use the form of the constructor that takes only one argument > - Request, like so: > > public ElectronicaSession(final AuthenticatedWebApplication > application, > final Request request) { > > super(request); > > } > > and now I get: > > org.apache.wicket.WicketRuntimeException: Unable to instantiate web > session class my.package.MySession > > org.apache.wicket.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:120) > org.apache.wicket.Session.findOrCreate(Session.java:228) > org.apache.wicket.Session.findOrCreate(Session.java:211) > org.apache.wicket.Session.get(Session.java:250) > org.apache.wicket.Application$1.onInstantiation(Application.java:276) > > org.apache.wicket.Application.notifyComponentInstantiationListeners(Application.java:974) > org.apache.wicket.Component.(Component.java:866) > org.apache.wicket.MarkupContainer.(MarkupContainer.java:105) > org.apache.wicket.Page.(Page.java:236) > org.apache.wicket.markup.html.WebPage.(WebPage.java:184) > > org.apache.wicket.markup.html.pages.ExceptionErrorPage.(ExceptionErrorPage.java:55) > > org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:163) > org.apache.wicket.RequestCycle.step(RequestCycle.java:1280) > org.apache.wicket.RequestCycle.steps(RequestCycle.java:1330) > org.apache.wicket.RequestCycle.request(RequestCycle.java:493) > > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:358) > > org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:194) > > How do I avoid both the warning and the error? > > Best regards, > > Johnny > > > > -- View this message in context: http://www.nabble.com/warning%3A--deprecation--AuthenticatedWebSession%28AuthenticatedWebApplication%2CRequest%29-tp16329498p16524401.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RadioButton inside DataTable
Hi, I was actually looking for integrating RadioButton with DefaultDataTable component available in Wicket. My requirement is, i need to show a row of data's with one column being a RadioButton. I use DataTable component for showing list of Data's. The number of columns is known only at runtime. This radioButton is used to select that particular row of Data. How do i specify the name of the component in my html. i.e The name of the above radio button is selected. This same named (id =selected) radio button cannot be added again to the RadioGroup has i loop thro... Is there a way to dynamicaly name component at runtime. I think this is just a problem of naming the Radiobutton as the records are know only at runtime. Hoover, William wrote: > > see http://cwiki.apache.org/WICKET/using-radiogroups.html > > -Original Message- > From: Sathish Gopal [mailto:[EMAIL PROTECTED] > Sent: Sunday, April 06, 2008 6:07 AM > To: users@wicket.apache.org > Subject: RadioButton inside DataTable > > > > Hi all, > > I'm trying to build DataTable using the Wickets DefaultDataTable > component. > One of the column in the list is a RadioButton component, which is used to > select a particular row. > > I'm using wicket fragment feature. > > My html looks like this... > > > > > > > > > > > > My fragment looks like this.. > > public class FlightSelectionFragment extends Fragment { > private RadioGroup radioGroup; > > public FlightSelectionFragment(String id, String markupId, > MarkupContainer markupProvider) { > super(id, markupId, markupProvider); > radioGroup.add(new Radio("selected", new Model("")) { > }); > } > > How do i add the same Radio button component (id=selected) to RadioGroup > (id=radioChoicegroup) for multiple rows. i.e Assuming there are three rows > in table. So i need 3 radio buttons which will be added to the same radio > group (id=radioChoicegroup). But the component id (id=selected) cannot be > the same for all the three rows. This gives Runtime Exception. How to > handle > this issue? > > > > > > -- > View this message in context: > http://www.nabble.com/RadioButton-inside-DataTable-tp16522717p16522717.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/RadioButton-inside-DataTable-tp16522717p16524398.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Indicating on another componanet
See Indication* components from extensions, and the IIndicatorAware interface. For blocking the screen, see the Veil from wicketstuff minis Martijn On 4/6/08, Rami Sass <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a button click which has heavy (10-20+ seconds) computation before > replacing a panel with a new panel containing the results of the > computation. In the waiting time i would like to have an indication where > the old panel resides on the screen (I wouldn't mind blocking the entire > page for that matter). > > Does anyone know of a solution? > > note: the page is longer then a single screen so having a div with > height:100% doesn't cover all the page. > > Thanks, > > --Rami > > > -- > View this message in context: > http://www.nabble.com/Indicating-on-another-componanet-tp16523524p16523524.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.2 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.2 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using twice wicket:message in element
super, thanks -igor On Sun, Apr 6, 2008 at 4:56 AM, Martin Grigorov <[EMAIL PROTECTED]> wrote: > Thanks! It's a comma. > > I'll update http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html with > this usecase. > > Regards > Martin > > > > On Sun, 2008-04-06 at 04:50 -0700, Igor Vaynberg wrote: > > > > wicket:message="alt:aPanel.buttons.equals.alt,title:aPanel.buttons.equals.title"/> > > > > cant remember if its a comma or semicolon though... > > > > -igor > > > > On Sun, Apr 6, 2008 at 4:19 AM, Martin Grigorov > > <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > I want to internationalize both 'alt' and 'title' attributes of > > > element: > > > > > >> > wicket:message="title:aPanel.buttons.equals.title"/> > > > > > > But Wicket complains with that: > > > > > > Caused by: java.text.ParseException: Same attribute found twice: > > > wicket:message > > > at > > > > org.apache.wicket.markup.parser.XmlPullParser.parseTagText(XmlPullParser.java:637) > > > at > > > > org.apache.wicket.markup.parser.XmlPullParser.next(XmlPullParser.java:288) > > > at > > > > org.apache.wicket.markup.parser.XmlPullParser.nextTag(XmlPullParser.java:423) > > > . > > > > > > Is there a way to do that without adding as a component in the > > > hierarchy ? > > > > > > Regards > > > Martin > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using twice wicket:message in element
Thanks! It's a comma. I'll update http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html with this usecase. Regards Martin On Sun, 2008-04-06 at 04:50 -0700, Igor Vaynberg wrote: > wicket:message="alt:aPanel.buttons.equals.alt,title:aPanel.buttons.equals.title"/> > > cant remember if its a comma or semicolon though... > > -igor > > On Sun, Apr 6, 2008 at 4:19 AM, Martin Grigorov > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I want to internationalize both 'alt' and 'title' attributes of > > element: > > > > > wicket:message="title:aPanel.buttons.equals.title"/> > > > > But Wicket complains with that: > > > > Caused by: java.text.ParseException: Same attribute found twice: > > wicket:message > > at > > > > org.apache.wicket.markup.parser.XmlPullParser.parseTagText(XmlPullParser.java:637) > > at > > org.apache.wicket.markup.parser.XmlPullParser.next(XmlPullParser.java:288) > > at > > > > org.apache.wicket.markup.parser.XmlPullParser.nextTag(XmlPullParser.java:423) > > . > > > > Is there a way to do that without adding as a component in the > > hierarchy ? > > > > Regards > > Martin > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using twice wicket:message in element
cant remember if its a comma or semicolon though... -igor On Sun, Apr 6, 2008 at 4:19 AM, Martin Grigorov <[EMAIL PROTECTED]> wrote: > Hi, > > I want to internationalize both 'alt' and 'title' attributes of > element: > >wicket:message="title:aPanel.buttons.equals.title"/> > > But Wicket complains with that: > > Caused by: java.text.ParseException: Same attribute found twice: > wicket:message > at > > org.apache.wicket.markup.parser.XmlPullParser.parseTagText(XmlPullParser.java:637) > at > org.apache.wicket.markup.parser.XmlPullParser.next(XmlPullParser.java:288) > at > org.apache.wicket.markup.parser.XmlPullParser.nextTag(XmlPullParser.java:423) > . > > Is there a way to do that without adding as a component in the > hierarchy ? > > Regards > Martin > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Indicating on another componanet
Hi, I have a button click which has heavy (10-20+ seconds) computation before replacing a panel with a new panel containing the results of the computation. In the waiting time i would like to have an indication where the old panel resides on the screen (I wouldn't mind blocking the entire page for that matter). Does anyone know of a solution? note: the page is longer then a single screen so having a div with height:100% doesn't cover all the page. Thanks, --Rami -- View this message in context: http://www.nabble.com/Indicating-on-another-componanet-tp16523524p16523524.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using twice wicket:message in element
Just like wicket:link, wicket:message is a convenience. In this case, you probably should just make it a ContextImage and add the appropriate attribute modifiers to it. That said, you can file a RFE in jira for this. I think it is a limitation that should be lifted. However, you'll be quicker to just create a component... Martijn On 4/6/08, Martin Grigorov <[EMAIL PROTECTED]> wrote: > Hi, > > I want to internationalize both 'alt' and 'title' attributes of > element: > >wicket:message="title:aPanel.buttons.equals.title"/> > > But Wicket complains with that: > > Caused by: java.text.ParseException: Same attribute found twice: > wicket:message > at > > org.apache.wicket.markup.parser.XmlPullParser.parseTagText(XmlPullParser.java:637) > at > org.apache.wicket.markup.parser.XmlPullParser.next(XmlPullParser.java:288) > at > org.apache.wicket.markup.parser.XmlPullParser.nextTag(XmlPullParser.java:423) > . > > Is there a way to do that without adding as a component in the > hierarchy ? > > Regards > Martin > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.2 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.2 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Using twice wicket:message in element
Hi, I want to internationalize both 'alt' and 'title' attributes of element: But Wicket complains with that: Caused by: java.text.ParseException: Same attribute found twice: wicket:message at org.apache.wicket.markup.parser.XmlPullParser.parseTagText(XmlPullParser.java:637) at org.apache.wicket.markup.parser.XmlPullParser.next(XmlPullParser.java:288) at org.apache.wicket.markup.parser.XmlPullParser.nextTag(XmlPullParser.java:423) . Is there a way to do that without adding as a component in the hierarchy ? Regards Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RadioButton inside DataTable
see http://cwiki.apache.org/WICKET/using-radiogroups.html -Original Message- From: Sathish Gopal [mailto:[EMAIL PROTECTED] Sent: Sunday, April 06, 2008 6:07 AM To: users@wicket.apache.org Subject: RadioButton inside DataTable Hi all, I'm trying to build DataTable using the Wickets DefaultDataTable component. One of the column in the list is a RadioButton component, which is used to select a particular row. I'm using wicket fragment feature. My html looks like this... My fragment looks like this.. public class FlightSelectionFragment extends Fragment { private RadioGroup radioGroup; public FlightSelectionFragment(String id, String markupId, MarkupContainer markupProvider) { super(id, markupId, markupProvider); radioGroup.add(new Radio("selected", new Model("")) { }); } How do i add the same Radio button component (id=selected) to RadioGroup (id=radioChoicegroup) for multiple rows. i.e Assuming there are three rows in table. So i need 3 radio buttons which will be added to the same radio group (id=radioChoicegroup). But the component id (id=selected) cannot be the same for all the three rows. This gives Runtime Exception. How to handle this issue? -- View this message in context: http://www.nabble.com/RadioButton-inside-DataTable-tp16522717p16522717.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RadioButton inside DataTable
Hi all, I'm trying to build DataTable using the Wickets DefaultDataTable component. One of the column in the list is a RadioButton component, which is used to select a particular row. I'm using wicket fragment feature. My html looks like this... My fragment looks like this.. public class FlightSelectionFragment extends Fragment { private RadioGroup radioGroup; public FlightSelectionFragment(String id, String markupId, MarkupContainer markupProvider) { super(id, markupId, markupProvider); radioGroup.add(new Radio("selected", new Model("")) { }); } How do i add the same Radio button component (id=selected) to RadioGroup (id=radioChoicegroup) for multiple rows. i.e Assuming there are three rows in table. So i need 3 radio buttons which will be added to the same radio group (id=radioChoicegroup). But the component id (id=selected) cannot be the same for all the three rows. This gives Runtime Exception. How to handle this issue? -- View this message in context: http://www.nabble.com/RadioButton-inside-DataTable-tp16522717p16522717.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Add attribute to specific cell in DataTable
Hello all, I have a DataTable. I want to add to a specific table an attribute using AttributeAppender. I override the newCellItem method and add there this appender. I don't want to add this to ALL cells, but only to those that their Header is "Description". I tried getModel and when debugging I saw that there is "displayModel" but could not get it. Here's the code snippet: entityDataTable = new MyDataTable("entitiesList", columnsArray, entitiesProvider, paging) { private static final long serialVersionUID = -8134843643478428936L; @Override protected Item newCellItem(String id, int index, IModel model) { Item item = super.newCellItem(id, index, model); *// This is where I need to check the title. item.add(new AttributeAppender("class", true, new Model("descriptionCell"), " "));* return item; } }; Any ideas? Thanks -- Eyal Golan [EMAIL PROTECTED] Visit: http://jvdrums.sourceforge.net/
Re: AjaxEditableLabel && default type
what kind of model? can it be auto resolved? is it a property model or something that can give the type back (by looking at the setXxx method or something like that) If not then you have to set it yourself. johan On Sun, Apr 6, 2008 at 10:31 AM, Jan Kriesten <[EMAIL PROTECTED]> wrote: > > Hi Johan, > > Thats how all formcomponents work. > > If you dont set a type and it cant resolve it themselfs or the type is > > resolved to a string then convertValue() is used and not the > > converter. If you want a converter to be called on a string you have > > to set the type yourself. > > > > I don't think you got my point: > > I have an AjaxEditableMultiLineLabel that gets an org.jdom.Document in the > provided Model. There is an IConverter for this registered with the > ConverterLocator. > > My problem is: without setType( orj.jdom.Document.class ) the AEL tries to > save a String back to the Model! Since it doesn't get a String in the Model, > why trying to save one to it?! > > > Best regards, --- Jan. > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: AjaxEditableLabel && default type
Hi Johan, Thats how all formcomponents work. If you dont set a type and it cant resolve it themselfs or the type is resolved to a string then convertValue() is used and not the converter. If you want a converter to be called on a string you have to set the type yourself. I don't think you got my point: I have an AjaxEditableMultiLineLabel that gets an org.jdom.Document in the provided Model. There is an IConverter for this registered with the ConverterLocator. My problem is: without setType( orj.jdom.Document.class ) the AEL tries to save a String back to the Model! Since it doesn't get a String in the Model, why trying to save one to it?! Best regards, --- Jan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AjaxEditableLabel && default type
Thats how all formcomponents work. If you dont set a type and it cant resolve it themselfs or the type is resolved to a string then convertValue() is used and not the converter. If you want a converter to be called on a string you have to set the type yourself. On 4/5/08, Jan Kriesten <[EMAIL PROTECTED]> wrote: > > hi erik, > > > Regardless of the reason (I don't know it), you can use a model wrapper > > to circumvent this. > > you don't need a wrapper if you set the type on the ael - that's why i'm > curious > why the converterlocator isn't used in the first place. > > best regards, --- jan. > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]