Re: CMS Integration
Hello, I work on the integration of Jackrabbit repository with Tapestry. So far, I have implemented the loading of localized assets from CMS and now I am working on the loading of message files from CMS. Igor -- View this message in context: http://www.nabble.com/OT%3A-Tacos-issues-tf1875199.html#a6148924 Sent from the Tapestry - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
two buttons in dynamic form
Hi All, I have a page that needs to list edit/save forms for elements contained in a collection. For every element we need to give save button and a button to mark it as complete, that contains a bit more logic. before the completion button was added to the page i just put everything in one form, and added a InvokeListener for every element that handled the saving (as in chapter 11 @ enjoyWebDevWithTapestry). For the completion button i tried addind a Submit component with an id as parameter, so i could add the completion logic, but for some reason it doesnt seem to get called at all. If it would, the life cycle would do the InvokeListener methods first and then the Submit listener, is this correct? I also tried to move the Form component to give every element own form with 2 different Submit components, with different listener methods, but when i click either of the buttons i get an exception from ognl, since the element object where a value was taken into the TextField, isnt there any more (it´s null). i tried to persist the collection in client and session but it doesnt help at all. i still get the same exception. Is there somewhere somekind of example how to do this? what am i doing wrong here? We´re using Tapestry 4.1
Re: Table component + OpenSessionInView problems
Do you have any persistent properties related to Evento on your page ? If somehow, you have a persistent Evento or if you have serialized an Evento somwhere in your page, this could explain your lazy instantiation exception. -- ERic On Monday 04 September 2006 21:31, Vinicius Carvalho wrote: Hello there! I have a page using a contrib:Table. So far it was working great. Until I decided to add a property that is a lazy proxy for an association: span jwcid=[EMAIL PROTECTED] condition=ognl:(components.tabelaEventos.tableRow.moderador.confirmado) The page is a master-detail page. The first time it is loaded it works great. Now comes the odd part, if I add a new master object, next time its load its ok, but suppose I click in a link anywhere in the page, and come back to this page of if I reload the page I get a lazy instantiation exception: the owning session was closed. To get the source I have this method: public List getEventos(){ return getEventoService().obterEventos(); } So every time it does search the database (I'm not using a tablemodel yet). The add listener: public IPage cadastrarEvento(IRequestCycle cycle){ ValidationDelegate delegate = (ValidationDelegate) getBeans().getBean(customDelegate); Evento evento = null; if(delegate.getHasErrors()){ return null; } try{ evento = getEventoService().cadastrarEvento(getEvento(),getPath(cycle)); }catch (ChatException e) { delegate.record(null,getMessages().getMessage(e.getMessage())); return null; } setEvento(new Evento()); return this; } If I take off that column (evento.moderador.confirmado) the problem goes away Any ideas? Regards - 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]
BORDER component encoding
I'm trying to make my border component to output HTML in the appropriate encoding. This is not the localization issue, just the matter of making my component output in Unicode. The template itself ( the one that is bordered by Border ) is outputting correct Unicode, but the border component itself outputs gibberish when working with non-English text. It's all looks very similar to my problems when I was trying to make ordinary Tapestry templates output Unicode. Back then I had to add -Dfile.encoding=UTF-8 to my jdk parameters and add following to my .application file : meta key=org.apache.tapestry.messages-encoding value=UTF-8/ meta key=org.apache.tapestry.template-encoding value=Cp1251/ meta key=org.apache.tapestry.output-encoding value=UTF-8/ Is there something similar for .jwc or .library file ? Does anyone have any clue as to how to make a component output Unicode ? Thank you. Environment : Tapestry 4.0 , Tomcat 5.5.16, jdk 1.6 -- ets.application -- **DOCTYPE omitted application name=ets engine-class=org.apache.tapestry.engine.BaseEngine descriptionadd a description/description meta key=org.apache.tapestry.page-class-packages value=ets,ets.base,ets.Search/ library id=contrib specification-path=/org/apache/tapestry/contrib/Contrib.library/ library id=tacos specification-path=/net/sf/tacos/Tacos.library/ library id=base specification-path=/ets/base/Base.library/ meta key=org.apache.tapestry.messages-encoding value=UTF-8/ meta key=org.apache.tapestry.template-encoding value=Cp1251/ meta key=org.apache.tapestry.output-encoding value=UTF-8/ /application -- Base.library -- **DOCTYPE omitted library-specification meta key=org.apache.tapestry.component-class-packages value=ets.base/ library id=contrib specification-path=/org/apache/tapestry/contrib/Contrib.library/ component-type type=Border specification-path=Border.jwc/ /library-specification -- ets.application -- **DOCTYPE omitted component-specification allow-body=yes allow-informal-parameters=no asset name=stylesheet path=css/ts.css/ /component-specification -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Urgent! How to remove base href generation?
Hello. I hate this kind of situations where I need urgently to do something that I haven't done before, and I cannot find documentation on how to do it either. Anyway, Tapestry 4.0.2 generates base href= as HTML headers, making me problems with accessing my application through some virtual host which has been mapped to my tomcat server containing Tapestry app. Generated base href forces all URLs having start with my internally known server name, and not by URL which was application accessed by. :-( How can I resolve this situation? I would like that all generated URLs are relative to the one that user entered in his browser, which is normal if there is no base href=... tag. Regards, Vjeran - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Urgent! How to remove base href generation?
Add renderBaseTag=false to your @Shell component. Richard. Vjeran Marcinko wrote: Hello. I hate this kind of situations where I need urgently to do something that I haven't done before, and I cannot find documentation on how to do it either. Anyway, Tapestry 4.0.2 generates base href= as HTML headers, making me problems with accessing my application through some virtual host which has been mapped to my tomcat server containing Tapestry app. Generated base href forces all URLs having start with my internally known server name, and not by URL which was application accessed by. :-( How can I resolve this situation? I would like that all generated URLs are relative to the one that user entered in his browser, which is normal if there is no base href=... tag. Regards, Vjeran - 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]
Custom Component - best solution?
Hi, I am trying to create a custom component that will create a menu and submenus to that menu on a completly dynamic web page. The entire site are build up with components and I get the entire structure from the database. In the web layer I have a Object called SiteDTO that looks like this: /* PRIVATE MEMBERS */ private ListRegionDTO regionDTOList = new ArrayListRegionDTO(); private ListLong menuIdList = new ArrayListLong(); private MapLong, MenuItem menuItemMap = new HashMapLong, MenuItem(); private MapLong, MenuDTO menuDTOMap = new HashMapLong, MenuDTO(); private MapLong, Article articleMap = new HashMapLong, Article(); private MapLong, ArticleListDTO articleListDTOMap = new HashMapLong, ArticleListDTO(); private MapLong, Portlet portletMap = new HashMapLong, Portlet(); all have getters and setters. My menuIdList contains the id value that is the key in my menuDTOMap. my MenuDTO.java is much simpler and looks like this /* PRIVATE MEMBERS */ private Menu menu; private ListLong menuItemIdList = new ArrayListLong(); each menuDTO have a menuItemIdList containing the id that is the key value in SiteDTO.menuItemMap. I need to iterate through the first menuIdList and for each menuId pull the MenuDTO from MenuDTOMap. For each menuDTO I need to take the menuItemList and iterate over that list to pull the MenuItem object that I need to desplay in the html page along with the corresponding menu object. How do I solve this the best way? I am thinking of creating a custom component for this but I am kind of new to Tapestry and I could really need some good pointers. Should I try to iterate through this structure in the page file or shall I do it in my component.java file? Is there any pros and cons for the different approach? Thanks Jacob -- View this message in context: http://www.nabble.com/Custom-Component---best-solution--tf2220888.html#a6152304 Sent from the Tapestry - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Hivemind is doing my nut. Override FactoryDefaults?
Hi all, hopefully a very quick one. Can someone please give me a pointer as to how to override a value in hivemind.FactoryDefaults? Its been holding me up for the last 2 hours and I'm about to pull out what's left of my hair. So far I think that I need to create my own SymbolSource contribution point and then add that to the hivemind.SymbolSources contribution, and then add my values to my symbol source. Is that right? Can someone point me in the direction of how to set up a SymbolSource? I've found something on HLS's website (http://howardlewisship.com/blog/2003_07_01_archive.html) but it could well be out of date. Any help would be very, very much appreciated. Thanks, Rob Cole --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Custom Component - best solution?
you might want to take a look at http://www.tapestrycomponents.org/Tassel/app?service=external/ViewComponentsp=SJSCookMenu for some existing menus and how this could be accomplished. On 9/5/06, jake123 [EMAIL PROTECTED] wrote: Hi, I am trying to create a custom component that will create a menu and submenus to that menu on a completly dynamic web page. The entire site are build up with components and I get the entire structure from the database. In the web layer I have a Object called SiteDTO that looks like this: /* PRIVATE MEMBERS */ private ListRegionDTO regionDTOList = new ArrayListRegionDTO(); private ListLong menuIdList = new ArrayListLong(); private MapLong, MenuItem menuItemMap = new HashMapLong, MenuItem(); private MapLong, MenuDTO menuDTOMap = new HashMapLong, MenuDTO(); private MapLong, Article articleMap = new HashMapLong, Article(); private MapLong, ArticleListDTO articleListDTOMap = new HashMapLong, ArticleListDTO(); private MapLong, Portlet portletMap = new HashMapLong, Portlet(); all have getters and setters. My menuIdList contains the id value that is the key in my menuDTOMap. my MenuDTO.java is much simpler and looks like this /* PRIVATE MEMBERS */ private Menu menu; private ListLong menuItemIdList = new ArrayListLong(); each menuDTO have a menuItemIdList containing the id that is the key value in SiteDTO.menuItemMap. I need to iterate through the first menuIdList and for each menuId pull the MenuDTO from MenuDTOMap. For each menuDTO I need to take the menuItemList and iterate over that list to pull the MenuItem object that I need to desplay in the html page along with the corresponding menu object. How do I solve this the best way? I am thinking of creating a custom component for this but I am kind of new to Tapestry and I could really need some good pointers. Should I try to iterate through this structure in the page file or shall I do it in my component.java file? Is there any pros and cons for the different approach? Thanks Jacob -- View this message in context: http://www.nabble.com/Custom-Component---best-solution--tf2220888.html#a6152304 Sent from the Tapestry - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ed Ross [EMAIL PROTECTED]
Re: Hivemind is doing my nut. Override FactoryDefaults?
I think to override a value you just simply define a new contribution configuration point for hivemind.FactoryDefaults no? Ie contribution configuration-id=hivemin.FactoryDefaults foo / /contribution (The code is made up and probably non functional, but you get the idea). On 9/5/06, Robert Cole [EMAIL PROTECTED] wrote: Hi all, hopefully a very quick one. Can someone please give me a pointer as to how to override a value in hivemind.FactoryDefaults? Its been holding me up for the last 2 hours and I'm about to pull out what's left of my hair. So far I think that I need to create my own SymbolSource contribution point and then add that to the hivemind.SymbolSources contribution, and then add my values to my symbol source. Is that right? Can someone point me in the direction of how to set up a SymbolSource? I've found something on HLS's website ( http://howardlewisship.com/blog/2003_07_01_archive.html) but it could well be out of date. Any help would be very, very much appreciated. Thanks, Rob Cole --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tapestry/Dojo/(and a dash of TestNG), team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
Re: Writing Tapestry 4 app while keeping in mind Tapestry 5 migration points?
Use services to handle lots of your redundant logicStuff like that. Your custom components will have to change no matter what you do, but the basic concept of IOC will still be there so going with that would be a start. On 9/5/06, Josh Joy [EMAIL PROTECTED] wrote: Hi All, Currently I'm writing a new Tapestry 4 app. I was wondering if there was some ways I should watch out for when I build my app that will help make the transition to Tapestry 5 smoother? For instance, I was reading through the email archives and it was mentioned to stay away from OGNL? (Though it wasn't stated what was the easiest / best approach since the prop: tag doesnt work for all situations). Thanks in advance, Josh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tapestry/Dojo/(and a dash of TestNG), team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
Re: Hivemind is doing my nut. Override FactoryDefaults?
I finally got it working. For reference, here's my solution: service-point id=MySettings interface=org.apache.hivemind.SymbolSource invoke-factory construct class=org.apache.hivemind.service.impl.DefaultSymbolSource set-configuration configuration-id=ApplicationProperties property=defaults/ /construct /invoke-factory /service-point configuration-point id=ApplicationProperties schema-id=hivemind.Defaults/ contribution configuration-id=ApplicationProperties default symbol=ignoreFailure value=true/ default symbol=newFilter value=com.db.csa.security.AFilter/ default symbol=tapestry.acegi.authenticationEntryPoint value=null/ /contribution Rob Cole Jesse Kuhnert [EMAIL PROTECTED] 05/09/2006 14:58 To
Re: two buttons in dynamic form
I made 2 Submit components with different listener methods and pass the selected element with selected / tag attributes and it works fine. On 9/5/06, Jani Lindqvist [EMAIL PROTECTED] wrote: Hi All, I have a page that needs to list edit/save forms for elements contained in a collection. For every element we need to give save button and a button to mark it as complete, that contains a bit more logic. before the completion button was added to the page i just put everything in one form, and added a InvokeListener for every element that handled the saving (as in chapter 11 @ enjoyWebDevWithTapestry). For the completion button i tried addind a Submit component with an id as parameter, so i could add the completion logic, but for some reason it doesnt seem to get called at all. If it would, the life cycle would do the InvokeListener methods first and then the Submit listener, is this correct? I also tried to move the Form component to give every element own form with 2 different Submit components, with different listener methods, but when i click either of the buttons i get an exception from ognl, since the element object where a value was taken into the TextField, isnt there any more (it´s null). i tried to persist the collection in client and session but it doesnt help at all. i still get the same exception. Is there somewhere somekind of example how to do this? what am i doing wrong here? We´re using Tapestry 4.1
RE: Hivemind is doing my nut. Override FactoryDefaults?
If I understand well the initial problem, ie overriding some value defined already in FactoryDefaults, then the normal, out-of-the-box, solution with HiveMind is to define the new value (with the same symbol name) as a contribution to the hivemind.ApplicationDefaults. That's exactly the idea behinf FactoryDefaults / ApplicationDefaults: module providers (like hivetranse, let's not be afraid of self-advertising;-)) would define FactoryDefaults that are supposed to cover the standard or most usual needs, but module users always have the possibility (not the obligation) to override these defaults through ApplicationDefaults. That's it! I believe your solution is a little bit complicated for this problem. My 2 cents Jean-Francois -Original Message- From: Robert Cole [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 10:10 PM To: Tapestry users Subject: Re: Hivemind is doing my nut. Override FactoryDefaults? I finally got it working. For reference, here's my solution: service-point id=MySettings interface=org.apache.hivemind.SymbolSource invoke-factory construct class=org.apache.hivemind.service.impl.DefaultSymbolSource set-configuration configuration-id=ApplicationProperties property=defaults/ /construct /invoke-factory /service-point configuration-point id=ApplicationProperties schema-id=hivemind.Defaults/ contribution configuration-id=ApplicationProperties default symbol=ignoreFailure value=true/ default symbol=newFilter value=com.db.csa.security.AFilter/ default symbol=tapestry.acegi.authenticationEntryPoint value=null/ /contribution Rob Cole Jesse Kuhnert [EMAIL PROTECTED] 05/09/2006 14:58 To Tapestry users users@tapestry.apache.org cc Please respond to Tapestry users users@tapestry.apache.org Subject Re: Hivemind is doing my nut. Override FactoryDefaults? I think to override a value you just simply define a new contribution configuration point for hivemind.FactoryDefaults no? Ie contribution configuration-id=hivemin.FactoryDefaults foo / /contribution (The code is made up and probably non functional, but you get the idea). On 9/5/06, Robert Cole [EMAIL PROTECTED] wrote: Hi all, hopefully a very quick one. Can someone please give me a pointer as to how to override a value in hivemind.FactoryDefaults? Its been holding me up for the last 2 hours and I'm about to pull out what's left of my hair. So far I think that I need to create my own SymbolSource contribution point and then add that to the hivemind.SymbolSources contribution, and then add my values to my symbol source. Is that right? Can someone point me in the direction of how to set up a SymbolSource? I've found something on HLS's website ( http://howardlewisship.com/blog/2003_07_01_archive.html) but it could well be out of date. Any help would be very, very much appreciated. Thanks, Rob Cole --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tapestry/Dojo/(and a dash of TestNG), team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. - 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: Table component + OpenSessionInView problems
Nope, I don't have any persistent anymore, I used to have but not anymore... Regards On 9/5/06, Eric Fesler [EMAIL PROTECTED] wrote: Do you have any persistent properties related to Evento on your page ? If somehow, you have a persistent Evento or if you have serialized an Evento somwhere in your page, this could explain your lazy instantiation exception. -- ERic On Monday 04 September 2006 21:31, Vinicius Carvalho wrote: Hello there! I have a page using a contrib:Table. So far it was working great. Until I decided to add a property that is a lazy proxy for an association: span jwcid=[EMAIL PROTECTED] condition=ognl:(components.tabelaEventos.tableRow.moderador.confirmado) The page is a master-detail page. The first time it is loaded it works great. Now comes the odd part, if I add a new master object, next time its load its ok, but suppose I click in a link anywhere in the page, and come back to this page of if I reload the page I get a lazy instantiation exception: the owning session was closed. To get the source I have this method: public List getEventos(){ return getEventoService().obterEventos(); } So every time it does search the database (I'm not using a tablemodel yet). The add listener: public IPage cadastrarEvento(IRequestCycle cycle){ ValidationDelegate delegate = (ValidationDelegate) getBeans().getBean(customDelegate); Evento evento = null; if(delegate.getHasErrors()){ return null; } try{ evento = getEventoService().cadastrarEvento(getEvento(),getPath(cycle)); }catch (ChatException e) { delegate.record(null,getMessages().getMessage(e.getMessage())); return null; } setEvento(new Evento()); return this; } If I take off that column (evento.moderador.confirmado) the problem goes away Any ideas? Regards - 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: Tap3 file system help
Peter, I believe it is built into Tapestry kinda sorta: public void download(IRequestCycle cycle) { if (getOkToDownload()) { HttpServletResponse response = getPage().getRequestCycle().getRequestContext().getResponse(); if (getNoCache()) { response.setDateHeader(max-age, 0); response.setDateHeader(Expires, 0); } response.setHeader(Content-transfer-encoding, binary); response.setContentType(getContentType()); response.setHeader(Content-disposition, attachment; filename= + getFilename()); response.setContentLength(getRawBytes().length); try { ServletOutputStream bytesOut = response.getOutputStream(); bytesOut.write(getRawBytes()); response.flushBuffer(); } catch (IOException io) { log.debug(getButtonText() + this file caused an IOException! + io); } } } This is part of a custom component. It also has a field for filename that is a string that is passed in. For Upload, there is @Upload in the component reference. regards, Mark -Original Message- From: Peter Dawn [mailto:[EMAIL PROTECTED] Sent: Mon 9/4/2006 7:07 PM To: tapestry-user@jakarta.apache.org Subject: Tap3 file system help guys, i am trying to implement a upload and download functionality within my web app. so for upload, the user selects a location they want to upload from, click upload and i upload the file and save it in my local server set directory. for download, they select the file they want to download and the folder they want to download to, click download and i download the file into their set local file system. can somebody help me out here. i am going to try and read about some java i/o and see if i can implement this. thanks. - 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: I'm trying to get the marvelous BeanForm component working with tap 4.1
Switch to Gentoo and have a current system. :-). -Original Message- From: Josh Long [mailto:[EMAIL PROTECTED] Sent: Sun 9/3/2006 1:44 AM To: Tapestry users Subject: Re: I'm trying to get the marvelous BeanForm component working with tap 4.1 ROFL! that's the best response ever!! I'm sorry about your awkward weekend though! So you get to upgrade linux and I'm stuck on SuSe 9.2 or 3. Seems like everyones updating without me. But I will not be jealous. It doesn't suit me. I finally uninstalled Red Hat 9 at best a year ago.. thought that was progress. OK, so I'm jealous. My coworker switched from kde to gnome of late and they've got some twisted OS X expose-style effects built in, now... I have alt+tab. OK, anyway, I will follow up with (the simialarly sainted, generous, and benevolent) Daniel and hopefully we'll resolve this. It'll be fun. I'll have ajax-ready, one-liner forms. I could provide a full-page editable form for an object with 20 properties using nothing more than div jwcid=mPojo / that works with ajax and validation if I get this working in 4.1! I can just imagine the hair that'll fall out when the web designer sees it.. Imagine it...! Thanks again, Josh On 9/3/06, Jesse Kuhnert [EMAIL PROTECTED] wrote: Horrible weekend so far...I've spent it working on anything but what I want. (which is tapestry obviously)..First client project, then fixing old wounds in maven2...Then happily upgraded to edgy eft (sweet!) . I think Daniel mentioned I broke his beanform at some point, but I don't remember how I did it...I do remember not feeling very bad about it after finding out why but that's as much of the details as I remember. I assumed it was working again when I didn't hear anything back from him. On 9/3/06, Josh Long [EMAIL PROTECTED] wrote: Hello all, I'm trying to get the marvelous tapestry 4.1 component working with tapestry 4.1. It seems to sucessfully create the form, but when I submit the form it errors out, saying: ... [ +/- ] Exception: Unable to read OGNL expression 'parsed OGNL expression' of [EMAIL PROTECTED]/Test/$BeanForm.rows]: properties org.apache.tapestry.BindingException Unable to read OGNL expression 'parsed OGNL expression' of [EMAIL PROTECTED]/Test/$BeanForm.rows]: properties binding:ExpressionBinding[search/Test/$BeanForm.rows properties] location: classpath:/net/sf/beanform/BeanFormRows.jwc, line 33, column 52 28 /description 29 30 parameter name=element default-value=literal:tr/ 31 32 component id=rows type=For 33 binding name=source value=properties/ 34 binding name=value value=property/ 35 binding name=index value=index/ 36 /component 37 38 component id=informal type=Any inherit-informal-parameters=yes :: ahem:: anyway, before I attempt to get in there and figure this out myself, has anyone cleared this path yet? Is there a reasonable/simple update that just needs to be applied or, is it possible tapestry has so changed from 4.0 (on which the samples are based) to 4.1 that the component could have broke? Thanks in advance for any help, and i hope your weekend is going well. Josh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tapestry/Dojo/(and a dash of TestNG), team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tapestry-acegi pom.xml
A little bit of cavaet emptor on using version ranges in maven2 dependencies. This is a feature that I hope all library writers start using! (including hivemind and tapestry) There is an issue with several projects in the repositories having bad maven-metadata.xml files. Also mvn install:install-file does really play well yet with this feature. I have filed bugs on this issue for people to watch and vote for so that we can start pressuring library writers to use version ranges in their pom's http://jira.codehaus.org/browse/MEV-441 http://jira.codehaus.org/browse/MEV-443 http://jira.codehaus.org/browse/MINSTALL-33 -Pat --- Patrick Moore [EMAIL PROTECTED] wrote: Hi James -- I think you said when you get a chance you are going to update the tapestry-acegi package. When you do you might wish to use this pom.xml. I discovered this neat feature of maven2 that allows you to specify the minimum version of a dependency. This allows users to upgrade their version of tapestry, spring, etc. without having tapestry-acegi look for older versions. I think I got this right: ?xml version=1.0? project modelVersion4.0.0/modelVersion groupIdcom.javaforge.tapestry/groupId artifactIdtapestry-acegi/artifactId nameTapestry Acegi Integration/name version0.1-20060609.153634-9/version inceptionYear2006/inceptionYear developers developer idJC/id nameJames Carman/name email[EMAIL PROTECTED]/email /developer /developers licenses license nameApache License, Version 2.0/name urlhttp://apache.org/licenses/LICENSE-2.0/url distributionrepo/distribution /license /licenses scm connectionscm:svn:http://svn.javaforge.com/svn/tapestry/tapestry-autowire/trunk/connection urlhttp://svn.javaforge.com/svn/tapestry/tapestry-autowire/trunk/url /scm organization namejavaforge/name urlhttp://javaforge.com/url /organization build plugins plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration /plugin /plugins /build repositories repository idcc-repo/id nameCarman Consulting/name urlhttp://www.carmanconsulting.com/mvn/url /repository /repositories dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version[3.8.1,)/version scopetest/scope /dependency dependency groupIdeasymock/groupId artifactIdeasymock/artifactId version[1.1,)/version scopetest/scope /dependency dependency groupIdcommons-logging/groupId artifactIdcommons-logging/artifactId version[1.0.4,)/version /dependency dependency groupIdhivemind/groupId artifactIdhivemind/artifactId version[1.1.1,)/version /dependency dependency groupIdhivemind/groupId artifactIdhivemind-lib/artifactId version[1.1.1,)/version /dependency dependency groupIdjavassist/groupId artifactIdjavassist/artifactId version[3.0,)/version /dependency dependency groupIdoro/groupId artifactIdoro/artifactId version[2.0.8,)/version /dependency dependency groupIdcom.javaforge.hivemind/groupId artifactIdhivemind-utils/artifactId version[0.1-SNAPSHOT,)/version /dependency dependency groupIdlog4j/groupId artifactIdlog4j/artifactId version[1.2.11,)/version /dependency dependency groupIdorg.acegisecurity/groupId artifactIdacegi-security/artifactId version[1.0.0,)/version /dependency dependency groupIdorg.acegisecurity/groupId artifactIdacegi-security-tiger/artifactId version[1.0.0,)/version /dependency dependency groupIdtapestry/groupId artifactIdtapestry/artifactId version[4.0.1,)/version /dependency dependency groupIdtapestry/groupId artifactIdtapestry-annotations/artifactId version[4.0.1,)/version /dependency dependency groupIdjavax.servlet/groupId artifactIdservlet-api/artifactId version[2.4,)/version scopeprovided/scope /dependency /dependencies distributionManagement repository idcc-repo/id urlscpexe://www.carmanconsulting.com/var/www/carmanconsulting/mvn/url /repository site idcc-site/id urlscp://carmanconsulting.com/var/www/carmanconsulting/tapestry-acegi//url /site statusdeployed/status /distributionManagement /project - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe,
Re: Custom Component - best solution?
Thank you Ed for your fast answer. This looks like it solve all my problems //Jacob -- View this message in context: http://www.nabble.com/Custom-Component---best-solution--tf2220888.html#a6156680 Sent from the Tapestry - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]