Re: T3: CheckBox
You'll want to use the MultiplePropertySelection component: http://tapestry.apache.org/tapestry3/doc/api/org/apache/tapestry/contrib/form/MultiplePropertySelection.html If you need to change the rendering style you can just grab the source for the default renderer (which generates a table) and change it to output things differently. Cheers, Nick. Nick Westgate wrote: It depends how T3's method matching works, but you might need: public void formSubmit(IRequestCycle cycle) Note the I in IRequestCycle. Cheers, Nick. Nazmul Bhuiyan wrote: Hello, I’ve a list of objects displayed in a page. I want to collect ids of selected object by adding a check box for each of these objects. Then I’ll use another action event to do something with this collection of ids. But I’m getting the following error message: Unable to resolve expression 'formSubmit' for [EMAIL PROTECTED] binding:ExpressionBinding[InfringementsMaint formSubmit] location:context:/InfringementsMaint.html, line 10 Can any one please help me out on this? My code below: .html Infringement List Inf Type Tran Type Name Address Offence Reminder Edit/Delete Add to Batch selected="ognl:addToBatch"/> .page persistent="yes"/> .java public abstract boolean isAddToBatch(); public abstract void setAddToBatch(boolean value); public void formSubmit(RequestCycle cycle) { if (isAddToBatch()) { //Get all the infringement Id to add into Batch and add them into a collection } } - 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: T5 Server Side Scripting for CSS
Hi, here are some of my thoughts, For me, most of the times skinning application means changing css and few images, and the approach you are mentioning worked for me... you should definitely cache you css (force browser to cache it), or else it's same as if you inline it, even worse (extra http request). However, in this case I suggest you increment and record version for your css, then modify your code to include version number in the css url. This way you'll have both caching and immediate refresh of your css. Davor Hrg On 8/29/07, Daniel Jue <[EMAIL PROTECTED]> wrote: > > [Background: I am beginning to abstract/distill my current application > into > something more general, where the GUI can be customized through an > administrative interface without the admins having to touch GUI related > code.] > > There was a post a while back regarding OGNL parsing of assets like CSS. > This is along the same line, but with the parsing/generation done in Java > code and only done once in a while. The resulting textual data > representing > the CSS would be persisted in an ASO or static. > > I have been thinking about an approach to the issue of CSS not supporting > constants, which could be useful for things like colors, background > images, > user-driven style changes, etc. > > On this page > http://icant.co.uk/articles/cssconstants/ > the author notes SSI and server side scripting using languages like php, > jsp, etc. I'd prefer to have the variables for my CSS be set and > manipulated inside my Java code, which can possibly be changed on the fly. > (Though if the browser is able to cache the CSS "file", changes may not be > picked up immediately if the header does not expire) > > Are there real benefits for my application server (i.e. Tomcat) to serve a > concrete file, versus pulling a pre-baked one straight from RAM? > > Is there a way to fake the response for a CSS file request, so that the > CSS > comes from something like a Stream instead of an actual file? > (So the browser wouldn't know the difference, and would cache it, etc) > > Of course we wouldn't want to inline all the css text, because I expect a > couple hundred lines at least (My current optimized CSS has about 4000 > lines > across a few files) > > I guess this is a larger version of whatever issues we would have with the > rounded corner service in T4, which is said to handle caching issues > automagically. > > > http://tapestry.apache.org/tapestry4.1/developmentguide/hivemind/roundedcorners.html >
Re: T3: CheckBox
It depends how T3's method matching works, but you might need: public void formSubmit(IRequestCycle cycle) Note the I in IRequestCycle. Cheers, Nick. Nazmul Bhuiyan wrote: Hello, I’ve a list of objects displayed in a page. I want to collect ids of selected object by adding a check box for each of these objects. Then I’ll use another action event to do something with this collection of ids. But I’m getting the following error message: Unable to resolve expression 'formSubmit' for [EMAIL PROTECTED] binding:ExpressionBinding[InfringementsMaint formSubmit] location: context:/InfringementsMaint.html, line 10 Can any one please help me out on this? My code below: .html Infringement List Inf Type Tran Type Name Address Offence Reminder Edit/Delete Add to Batch .page .java public abstract boolean isAddToBatch(); public abstract void setAddToBatch(boolean value); public void formSubmit(RequestCycle cycle) { if (isAddToBatch()) { //Get all the infringement Id to add into Batch and add them into a collection } } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unit Test Cannot run correctly!
Thanks Korben Zhang I didn't write DAO Service,I directly inject DAO into t5 page like this: @Inject @SpringBean("IPublicDAO") private IPublicDAO pdao; it can work well in tomcat.but when I want to user Unit Test,I got the exception。 I must write DAO service ?? my code is learned from your tfan-dphrm project. 2007/9/3, Korben Zhang <[EMAIL PROTECTED]>: > > How did you inject DAO service? > if you use Spring to manage DAOs, usage like other service. > Spring will help you get right object instance. > > > On 8/31/07, 小司 <[EMAIL PROTECTED]> wrote: > > > > My Application use spring2+tapestry5+hibernate3 ,it can work well in me > > IE or FF > > > > so,I want to use Unit Test with testNG .I followed > > > > > http://tapestry.apache.org/tapestry5/tapestry-core/guide/unit-testing-pages.html > > > > configrate spring with > > http://wiki.apache.org/tapestry/Tapestry5SpringIntegration > > > > I want to test a tapestry page, but I got Exception .IPublicDAO is my > > spring > > class > > > > I didnot know wrong where I make. can anybody help me thanks a lot. > > > > Caused by: java.lang.RuntimeException: Error obtaining injected value > for > > field cn.crc.pjblog.pages.BlogPostOne.pdao: No service implements the > > interface cn.crc.model.impl.IPublicDAO. > > at org.apache.tapestry.internal.services.InjectWorker.inject( > > InjectWorker.java:84) > > at org.apache.tapestry.internal.services.InjectWorker.transform( > > InjectWorker.java:53) > > at > > > > > $ComponentClassTransformWorker_114ba61b606.transform($ComponentClassTransformWorker_114ba61b606.java) > > at > > > > > $ComponentClassTransformWorker_114ba61b603.transform($ComponentClassTransformWorker_114ba61b603.java) > > at > > > > > org.apache.tapestry.internal.services.ComponentClassTransformerImpl.transformComponentClass > > (ComponentClassTransformerImpl.java:131) > > ... 48 more > > Caused by: java.lang.RuntimeException: No service implements the > interface > > cn.crc.model.impl.IPublicDAO. > > at org.apache.tapestry.ioc.internal.RegistryImpl.getService( > > RegistryImpl.java:447) > > at org.apache.tapestry.ioc.internal.ObjectLocatorImpl.getService( > > ObjectLocatorImpl.java:45) > > at org.apache.tapestry.ioc.services.TapestryIOCModule$2.provide( > > TapestryIOCModule.java:132) > > at $ObjectProvider_114ba61b5d4.provide($ObjectProvider_114ba61b5d4.java) > > at $ObjectProvider_114ba61b5ce.provide($ObjectProvider_114ba61b5ce.java) > > at org.apache.tapestry.internal.services.InjectWorker.inject( > > InjectWorker.java:80) > > ... 52 more > > ... Removed 22 stack frames > > > > > > > > > > -- > > 得与失都是生活 > > > > > > -- > Korben Zhang http://korben-zhang.blogspot.com > Backup Blog: http://korbenzh.spaces.live.com > -- 得与失都是生活
T3: CheckBox
Hello, I’ve a list of objects displayed in a page. I want to collect ids of selected object by adding a check box for each of these objects. Then I’ll use another action event to do something with this collection of ids. But I’m getting the following error message: Unable to resolve expression 'formSubmit' for [EMAIL PROTECTED] binding:ExpressionBinding[InfringementsMaint formSubmit] location: context:/InfringementsMaint.html, line 10 Can any one please help me out on this? My code below: .html Infringement List Inf Type Tran Type Name Address Offence Reminder Edit/Delete Add to Batch .page .java public abstract boolean isAddToBatch(); public abstract void setAddToBatch(boolean value); public void formSubmit(RequestCycle cycle) { if (isAddToBatch()) { //Get all the infringement Id to add into Batch and add them into a collection } } -- View this message in context: http://www.nabble.com/T3%3A-CheckBox-tf4369817.html#a12455075 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unit Test Cannot run correctly!
How did you inject DAO service? if you use Spring to manage DAOs, usage like other service. Spring will help you get right object instance. On 8/31/07, 小司 <[EMAIL PROTECTED]> wrote: > > My Application use spring2+tapestry5+hibernate3 ,it can work well in me > IE or FF > > so,I want to use Unit Test with testNG .I followed > > http://tapestry.apache.org/tapestry5/tapestry-core/guide/unit-testing-pages.html > > configrate spring with > http://wiki.apache.org/tapestry/Tapestry5SpringIntegration > > I want to test a tapestry page, but I got Exception .IPublicDAO is my > spring > class > > I didnot know wrong where I make. can anybody help me thanks a lot. > > Caused by: java.lang.RuntimeException: Error obtaining injected value for > field cn.crc.pjblog.pages.BlogPostOne.pdao: No service implements the > interface cn.crc.model.impl.IPublicDAO. > at org.apache.tapestry.internal.services.InjectWorker.inject( > InjectWorker.java:84) > at org.apache.tapestry.internal.services.InjectWorker.transform( > InjectWorker.java:53) > at > > $ComponentClassTransformWorker_114ba61b606.transform($ComponentClassTransformWorker_114ba61b606.java) > at > > $ComponentClassTransformWorker_114ba61b603.transform($ComponentClassTransformWorker_114ba61b603.java) > at > > org.apache.tapestry.internal.services.ComponentClassTransformerImpl.transformComponentClass > (ComponentClassTransformerImpl.java:131) > ... 48 more > Caused by: java.lang.RuntimeException: No service implements the interface > cn.crc.model.impl.IPublicDAO. > at org.apache.tapestry.ioc.internal.RegistryImpl.getService( > RegistryImpl.java:447) > at org.apache.tapestry.ioc.internal.ObjectLocatorImpl.getService( > ObjectLocatorImpl.java:45) > at org.apache.tapestry.ioc.services.TapestryIOCModule$2.provide( > TapestryIOCModule.java:132) > at $ObjectProvider_114ba61b5d4.provide($ObjectProvider_114ba61b5d4.java) > at $ObjectProvider_114ba61b5ce.provide($ObjectProvider_114ba61b5ce.java) > at org.apache.tapestry.internal.services.InjectWorker.inject( > InjectWorker.java:80) > ... 52 more > ... Removed 22 stack frames > > > > > -- > 得与失都是生活 > -- Korben Zhang http://korben-zhang.blogspot.com Backup Blog: http://korbenzh.spaces.live.com
T5: which ajax?
Hi, As a total newbie to java/web application development(C++ in the past), it took me almost a month to try out quite a number of frameworks(Servlet, JSP, GWT, Struts, T4) before settling for T5, now again, I have to choose an Ajax framework to use with T5, I'd like to take a simpler approach by just asking gurus in this forum which one is right for T5? Thanks A.C. -- View this message in context: http://www.nabble.com/T5%3A-which-ajax--tf4369725.html#a12454789 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to define InitialValue for TextField?
Thanks very much!!! 2007/9/3, Nick Westgate <[EMAIL PROTECTED]>: > > You have at least two options. > > Tapestry pages/components are POJOs, so just use an instance variable: > private String textFieldValue = "xxx"; > > Read more about that option here: > > http://tapestry.apache.org/tapestry5/tapestry-core/guide/component-classes.html > > If you need more complicated initializations do them in onActivate. > > Cheers, > Nick. > > > Doublel wrote: > > How to define InitialValue for TextField? in T4 use @InitialValue in T5 > how > > to do?? for help. > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- 得与失都是生活
Rounded corners and mysterious backgrounds
Hi, I'm hoping someone can help me out with a little issue I'm having with using the rounded corners. I have a th element with a background-color set and a background using a generated rounded corner image. The idea is to position the rounded corner in the upper corner and let the background color fill in the rest of the cell. Since the cell's background color set that's the same as the rounded corner, I have to also set a background color on the rounded corner, otherwise the transparent portion gets filled in. So, I set the background color and the generated image looks fine. If I place the image in the upper right corner of the cell with no background-color set on the cell, everything is fine. The moment I apply a background-color to the the cell, however, things go bad. A mysterious 1px line is added to the image. The line is the same color as the background color of the image. It's almost as if the generated image is off-by-one. As an example: th#tr { background: url("/rounded?c=010068&bc=ff&w=20&h=20&shadow=false&a=tr&sw=0&o=.5") right top no-repeat; vertical-align: top; padding: 5px; background-color: rgb(1, 0, 104); color: rgb(255, 255, 255); } I can't see how this has anything to do with Tapestry per se, but I'm wondering if any other rounded corner users have come across this. The problem is reproducible in Safari, Opera, and Firefox, so if it's a rendering issue, it affects a lot of browsers. Am I perhaps just missing something from the CSS spec? Thanks, Kevin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: T5 on JDK 1.6 or newer
We moved our production app Savila from JDK 1.6 back to 1.5. That's now more than a week ago. Since we did no further hangs have shown up. Unfortunately I have not been able to investigate any further due to time constraints (the client project). But I'm planning on following the suggestions some people have suggested here. Joel, thanks for mentioning my blog. Say "hi' to Josh ;-) Stephan Joel Wiegman wrote: > > Hrm... I've been running a reasonably robust production app on T5.05 and > JDK 1.6 and haven't seen any "hangs". I develop on Jetty but deploy to > SJSAS, which runs Catalina (Tomcat's servlet container). Production is > Linux and development is Windows. I also have 92 integration tests and > unit tests that use the Tapestry-provided testing tools and haven't > experienced any problems there either. > > Can you be more specific with the problem? > > Also, I think I've been to your blog... my good friend Josh Hicks sent > me there one day when I was trying to decide if Tapestry a good choice > for a UI framework. :-) > > -Original Message- > From: Stephan Schwab [mailto:[EMAIL PROTECTED] > Sent: Friday, August 24, 2007 1:01 PM > To: users@tapestry.apache.org > Subject: T5 on JDK 1.6 or newer > > > We've been experiencing strange behaviour of our now growing application > Savila and as well with another project we are working on. Both use > Tapestry 5.0.5. Our development machines run with Mac OS X and we use > JDK 1.5 that comes with it. We deploy to Linux with Sun's JDK 1.6 and > Tomcat 6.0.10. > > Our application Savila ran fine on JDK 1.6 with Tapestry 5.x until last > week when we started to experience hangs. It seems that Tomcat accepts > the request, then our and Tapestry's code do something, but it never > finishes. > When we hit the stop button in the browser and look at the HTML we can > see that it's all there. I'm not talking about form submissions, but > regular pages. > > This behaviour either starts after the app has been idle for some time > or in the middle of user actions. There is no load - just one user > active. With a significantly smaller application we see the same > behaviour. > > Two days ago we switched to Sun JDK 1.5 for our large application and > since then there are no more hangs. > > There was a report here on the mailinglist about trouble with a > javassist and using a pre-release 3.6.0.CR1. At least on the Mac with > the pre-release JDK 1.6 that didn't not really solve the problem. It > just shows up later. > > At the moment I feel that Tapestry 5.0.5 requires JDK 1.5. > > Stephan > > -- > View this message in context: > http://www.nabble.com/T5-on-JDK-1.6-or-newer-tf4324659.html#a12316191 > Sent from the Tapestry - 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/T5-on-JDK-1.6-or-newer-tf4324659.html#a12452315 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: xml file location
> I tried your second approach: > requestGlobals.getHTTPServletRequest > ().getSession().getServletContext().getRealPath("app") > > it returns : /usr/local/apache-tomcat-5.5.23/webapps/my_app_context/app > > but I checked the running program, the file is here > /usr/local/apache-tomcat-5.5.23/webapps/ROOT/WEB-INF/info.xml > I don't have the time to figure this out right now. I would guess that it's either a bug in the way tomcat is figuring out the context or in how you are deploying. You could try passing "ROOT" instead of "app" but I don't know that it will work. You should search tomcat forums for how this works. Josh On 9/1/07, Angelo Chen <[EMAIL PROTECTED]> wrote: > > > Hi Josh, > > I tried your second approach: > requestGlobals.getHTTPServletRequest > ().getSession().getServletContext().getRealPath("app") > > it returns : /usr/local/apache-tomcat-5.5.23/webapps/my_app_context/app > > but I checked the running program, the file is here > /usr/local/apache-tomcat-5.5.23/webapps/ROOT/WEB-INF/info.xml > > if I set the application context to "/", i got > > /usr/local/apache-tomcat-5.5.23/webapps/app and the file still in the > same > place, seems difficult to link the real path to the actual WEB-INF, any > idea? Thanks, > > A.C. > > > > > > Josh Canfield-2 wrote: > > > > Since, I assume, you are deploying your web application into a servlet > > container you are not going to be able to use a relative path to get at > > the > > file. Tapestry isn't doing the loading of the file so using any Tapestry > > related path constructs is not going to work. > > > > Your best bet is putting your file in the classpath and using the > > classloader's getResource or getResourceAsStream methods to load it. > > > > You could also try to use the ServletContext to find where it's > physically > > loaded on the disk > > String path = request.getSession > ().getServletContext().getRealPath("app"); > > // app is the name of your servlet/filter > > But there are some significant caveats: > > If you are using a secure app server then you may or may not be allowed > to > > read the file from this location. > > If you have deployed into a WAR file then this also may not help (if the > > WAR > > isn't exploded). > > > > So, put it in the classpath and use the classloader to find it. > > > > Josh > > > > On 9/1/07, Angelo Chen <[EMAIL PROTECTED]> wrote: > >> > >> > >> Hi, > >> I have this info.xml file that I need to open, first I put it under > >> WEB-INF > >> and use : fr = new FileReader("info.xml"); got FileNotFoundException, I > >> put > >> it under images directory as the template was able to get the pictures > >> there, then I use FileReader("images/info.xml"), same exception. where > is > >> the better place to put xml files and what's the correct path to access > >> them? thanks. > >> > >> A.C. > >> -- > >> View this message in context: > >> http://www.nabble.com/T5%3A-xml-file-location-tf4364651.html#a12440650 > >> Sent from the Tapestry - User mailing list archive at Nabble.com. > >> > >> > >> - > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > -- > > -- > > TheDailyTube.com. Sign up and get the best new videos on the internet > > delivered fresh to your inbox. > > > > > > -- > View this message in context: > http://www.nabble.com/T5%3A-xml-file-location-tf4364651.html#a12445945 > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- -- TheDailyTube.com. Sign up and get the best new videos on the internet delivered fresh to your inbox.
Re: T5: date picker component updated!
Small update. The date picker component was refactored to an AbstractField to resolve Issue 3: Compatibility with BeanEditForm. 2007/9/2, Ted Steen <[EMAIL PROTECTED]>: > Hi again! > > A new version of the date picker component is released. > > Support for custom date format is now implemented, > the format is passed as a JsDateFormat to the component via the > parameter "dateFormat". > > Please feel free to check out the source and have a look - have fun! > > http://code.google.com/p/tapestry5-jscalendar/ > > -- > /Ted Steen > -- /ted - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: BeanEditFrom error-reporting
On 9/2/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > > and > > @Component > private BeanEditForm myForm; > > > If you use in the element, that implicitly defines the type there, > causing a conflict. In you example, you likely used two different ids (one > specified in the template, on in your class), thus the error message. Ok, thanks! Also, how should I report an error on a specific Field created by BeanEditForm using recordError(Field field, String errorMessage)? I can't unless I specified the field with myself? -- regards, Robin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T5: using DOJO?
Hi, I'm new to T5, and don't have any experience with DOJO neither, I got a question: since T5's templates are plain htmls, can we use Dojo with T5? example: an app might have a 'register' page which might require the page to verify zip code before accepting the submission, with Ajax approach we can avoid directing user to another page just to read the 'invalid zip code' message(of course T5's validation method can take care of that too), a servlet can coexist with T5's app to verify the zip code and send back some info to the page, possible? Thanks. A.C. -- View this message in context: http://www.nabble.com/T5%3A-using-DOJO--tf4368411.html#a12451071 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to define InitialValue for TextField?
You have at least two options. Tapestry pages/components are POJOs, so just use an instance variable: private String textFieldValue = "xxx"; Read more about that option here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/component-classes.html If you need more complicated initializations do them in onActivate. Cheers, Nick. Doublel wrote: How to define InitialValue for TextField? in T4 use @InitialValue in T5 how to do?? for help. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: BeanEditFrom error-reporting
and @Component private BeanEditForm myForm; If you use in the element, that implicitly defines the type there, causing a conflict. In you example, you likely used two different ids (one specified in the template, on in your class), thus the error message. On 9/2/07, Robin Helgelin <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a page which uses a BeanEditForm. On validation success I do > another few validations that can't be done with current validation. > However, I don't see an obvious way to report an error on a specific > input field. > > I've tried > @Component(id = "BeanEditForm") > private BeanEditForm form; > and > form.recordError("Passwords doesn't match."); > > which gives me an error, but on the same time tapestry gives me this: > [ERROR] Register Embedded component(s) BeanEditForm are defined within > component class nu.localhost.anopo.components.Register, but are not > present in the component template. > > so this can't be the right way either, any ideas? > > -- > regards, > Robin > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship Partner and Senior Architect at Feature50 Creator Apache Tapestry and Apache HiveMind
T5: date picker component updated!
Hi again! A new version of the date picker component is released. Support for custom date format is now implemented, the format is passed as a JsDateFormat to the component via the parameter "dateFormat". Please feel free to check out the source and have a look - have fun! http://code.google.com/p/tapestry5-jscalendar/ -- /Ted Steen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T5: BeanEditFrom error-reporting
Hi, I have a page which uses a BeanEditForm. On validation success I do another few validations that can't be done with current validation. However, I don't see an obvious way to report an error on a specific input field. I've tried @Component(id = "BeanEditForm") private BeanEditForm form; and form.recordError("Passwords doesn't match."); which gives me an error, but on the same time tapestry gives me this: [ERROR] Register Embedded component(s) BeanEditForm are defined within component class nu.localhost.anopo.components.Register, but are not present in the component template. so this can't be the right way either, any ideas? -- regards, Robin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] Usage of Grid component
Hi Ned, thanks for your link, I had some troubles with it, should probably read: http://blog.njl.us/blog/default/2007/09/01/Configurable-Grid Anyway, I will try this out. Maybe your enhancement will find its way into the standard Grid component? Best Regards, Christoph Ned Jackson Lovely wrote: > On Thu, Aug 30, 2007 at 08:06:54AM +0200, Christoph Jaeger wrote: >> A comma separated list of properties would be great. Then you can hide >> and sort columns as you like (didn't think about sorting yet). > > http://blog.njl.us/blojsom/blog/default/2007/09/01/Configurable-Grid > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]