Order of rendering of page versus components in page?
I have a datagrid that is embedded in a page. Its datasource is built by a method in the page, and the grid component references it through a property that calls that method. It seems that method is getting called before the page's OnActivate is ever called, and the data needed to initialize that datasource is not entirely available yet.. Are components rendered/setup first before a page is ever activated? IF so, why? Wouldn't it make more sense for the OnActive to be run first, to ensure all the passed values are ready, before rendering components that may depend on them? -Daniel - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Java support added to Google AppEngine
Well, I did, but I wasn't allowed to say anything. ;p Christian. On 16-Apr-09, at 23:58 , Thiago H. de Paula Figueiredo wrote: Em Fri, 17 Apr 2009 00:42:45 -0300, Alex Kotchnev escreveu: I'm not sure about everyone else, but for me this is a BIG issue and is one of the reasons holding me back from moving my app to the 5.1 beta. Most likely I'll hold off on upgrading to 5.1 final if it doesn't support GAE. The funny side of this situation is that it didn't even exist until some days ago, before Java support in GAE was released. Unless Alex knew this before everyone . . . :) -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org Christian Edward Gruber e-mail: christianedwardgru...@gmail.com weblog: http://www.geekinasuit.com/ - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Java support added to Google AppEngine
Em Fri, 17 Apr 2009 00:42:45 -0300, Alex Kotchnev escreveu: I'm not sure about everyone else, but for me this is a BIG issue and is one of the reasons holding me back from moving my app to the 5.1 beta. Most likely I'll hold off on upgrading to 5.1 final if it doesn't support GAE. The funny side of this situation is that it didn't even exist until some days ago, before Java support in GAE was released. Unless Alex knew this before everyone . . . :) -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Java support added to Google AppEngine
I'm not sure about everyone else, but for me this is a BIG issue and is one of the reasons holding me back from moving my app to the 5.1 beta. Most likely I'll hold off on upgrading to 5.1 final if it doesn't support GAE. Howard was asking earlier about any showstoppers preventing 5.1 from moving forward - this is one for me. Maybe this would be a good feature for 5.2, who knows. Is anyone else holding off on taking up 5.1 for this reason ? Other reasons ? Cheers, Alex Kotchnev On Thu, Apr 16, 2009 at 3:44 PM, Christian Köberl wrote: > > > I grepped over the tapestry-core sources for "javax.xml.stream" and only > found them imported in TemplateParser and StaxTemplateParser. > Would it then be sufficient to just contribute another TemplateParser which > isn't using Woodstox (maybe the one from 5.0.1.8)? > > > I just tried to eliminate Woodstox and to use "pure" Stax API for template > parsing. This wasn't that difficult (see > http://derkoe.wordpress.com/2009/04/16/tapestry-51-woodstox/). > > With plain Stax I still get the same error in TemplateParser. Maybe I will > try to switch back to the 5.0.18 one when I have time. > > Cheers, > Chris > -- > View this message in context: > http://n2.nabble.com/Java-support-added-to-Google-AppEngine-tp2605876p2643391.html > Sent from the Tapestry Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [REQUEST] Live T5 web sites, quotes, marketting
sorry,I had test on IE and firefox.I will fix the bug.thanks. 2009/4/17 akira > Hi, Jun, Have you tested the site on Safari, Mac OS X? In safari 4, your > index page flash div is pushing other elements out of place. > Other than that, is very responsive. > > >http://www.1king1.com > >From China. using Tapestry5.0. > >-- >regards, >Jun Tsai > > Wilson Ikeda > Diverso - Development & Design > http://www.diverso.jp -- regards, Jun Tsai
Re: How to prevent formatting of HTML comments?
Another option is to put the FOOBAR into your .properties file: ... or write a single-line component: public class Cout { @Parameter(...) private String value; boolean beginRender(MarkupWriter writer) { writer.writeRaw(""); return false; } } On Thu, Apr 16, 2009 at 12:37 PM, Borut Bolčina wrote: > Hi, > > funny thing. This > > > > gives me > > org.xml.sax.SAXParseException > The value of attribute "value" associated with an element type > "t:OutputRaw" must not contain the '<' character. > > while > > > > renders ok as > > > > So, character > is permited, while < is not??? Of course > > > > works as well. > > I am using 5.0.18. > > Thanks for the tip Howard. > > -Borut > > > 2009/4/16 Howard Lewis Ship : >> Use the OutputRaw component? >> >> On Thu, Apr 16, 2009 at 8:03 AM, Borut Bolčina >> wrote: >>> Hi, >>> >>> maybe this will sound very obscure, but if I write a html comment in a >>> tml file, for example: >>> >>> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> >>> >>> >>> >>> the rendered HTML is: >>> >>> >>> >>> Notice the space before F and space after R. >>> >>> Some external software is checking for presence of and >>> is failing because additional spaces are rendered in the HTML. >>> >>> Any hints before I start creating a component that renders what I want? >>> >>> Cheers, >>> Borut >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >> >> >> >> -- >> Howard M. Lewis Ship >> >> Creator of Apache Tapestry >> Director of Open Source Technology at Formos >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator of Apache Tapestry Director of Open Source Technology at Formos - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry 4.1 long sql execution causes tapestry engine ints
That's going to be a challenge; have you thought about addressing this either at the database end (optimize your database, indexes, etc.) or at the client end (javascript to prevent re-submits)? On Thu, Apr 16, 2009 at 2:35 PM, Bogdan Stojkovic wrote: > Hi all, > > I have small problem, if anyone can help > I'm using tapestry 4.1, in one page I have link in witch I go to DB, execute > sql and this result set is displayed in table. This sql execution takes > >10sec. If in that time I click on link again -> tapestry engine init is > happend, but old sql is still executing in background as zombi proces, as I > think. With many users maniacly clicking on same button several times (with > no reason to do that :-) ) or other links on page, I face resource problem, > it takes more memory and in my log I see a lots of engine inits, application > is starting to work mutch slower. > > Anyone have idea how to solve problem with clicking on other links on page > while long sql execution is in progress? (maybe to intercept this engine > inits and check for current page status - but i do not know how?) > > Thanks, > Bogdan -- Howard M. Lewis Ship Creator of Apache Tapestry Director of Open Source Technology at Formos - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Tapestry 4.1 long sql execution causes tapestry engine ints
Hi all, I have small problem, if anyone can help I'm using tapestry 4.1, in one page I have link in witch I go to DB, execute sql and this result set is displayed in table. This sql execution takes >10sec. If in that time I click on link again -> tapestry engine init is happend, but old sql is still executing in background as zombi proces, as I think. With many users maniacly clicking on same button several times (with no reason to do that :-) ) or other links on page, I face resource problem, it takes more memory and in my log I see a lots of engine inits, application is starting to work mutch slower. Anyone have idea how to solve problem with clicking on other links on page while long sql execution is in progress? (maybe to intercept this engine inits and check for current page status - but i do not know how?) Thanks, Bogdan
Re: [REQUEST] Live T5 web sites, quotes, marketting
Hi, today we are launching an OpenID provider. Currently we have 150K unique visitors/day and gradually we expect "some of them" to register an account on T5 id server. The functionality will be somehow similar to myopenid.com but augmented with facebook connect principle of authentication. I will write some more in weeks to follow. Cheers, Borut 2009/4/15 Howard Lewis Ship : > I'm putting together some new presentations about Tapestry and I could > use the help of the Tapestry community. > > I need more pictures of live T5 sites. Just send me a URL and I can > do a screen grab. This is all about answering the question: "is it > mature?" > > I make a number of reasonable observations about Tapestry 5, but would > love quotes to back it up: > - Fast and easy to develop > - Helps with big teams > - Great performance > - Great internationalization / localization > - Live class reloading gives "almost scripting language productivity" > > > so quotes along the lines of "we were able to quickly put together > xyz" or "we found qrstuv much easier than our last framework" or > "would have been a failure without Tapestry". Don't let me put words > in your mouth, however! > > -- > Howard M. Lewis Ship > > Creator of Apache Tapestry > Director of Open Source Technology at Formos > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [REQUEST] Live T5 web sites, quotes, marketting
Hi, Jun, Have you tested the site on Safari, Mac OS X? In safari 4, your index page flash div is pushing other elements out of place. Other than that, is very responsive. http://www.1king1.com From China. using Tapestry5.0. -- regards, Jun Tsai Wilson Ikeda Diverso - Development & Design http://www.diverso.jp
Re: Java support added to Google AppEngine
I grepped over the tapestry-core sources for "javax.xml.stream" and only found them imported in TemplateParser and StaxTemplateParser. Would it then be sufficient to just contribute another TemplateParser which isn't using Woodstox (maybe the one from 5.0.1.8)? I just tried to eliminate Woodstox and to use "pure" Stax API for template parsing. This wasn't that difficult (see http://derkoe.wordpress.com/2009/04/16/tapestry-51-woodstox/). With plain Stax I still get the same error in TemplateParser. Maybe I will try to switch back to the 5.0.18 one when I have time. Cheers, Chris -- View this message in context: http://n2.nabble.com/Java-support-added-to-Google-AppEngine-tp2605876p2643391.html Sent from the Tapestry Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: maven jetty:run problems
Hi, try mvn clean install from the parent project and the mvn jetty:run from the child war project, but then again seeing your POMs would help. -Borut 2009/4/16 Andy Pahne : > > Has anybody ever seen this? > > After making a maven multi module project from a few seperate modules, I > cannot start my apps anymore with mvn jetty:run. > > Everything else (initializing a spring context from a filter defined in > web.xml or locating classes from our business object packages) works fine. > > I verified that the dependency (tapestry-ioc) is there by both > 1) mvn depenency:tree and > 2) mvn war:war and inspecting the generated war > > I have no idea. Do you? > > D**n maven > > Andy > > > java.lang.NoClassDefFoundError: > org/apache/tapestry5/ioc/services/LazyAdvisor > at java.lang.Class.getDeclaredMethods0(Native Method) > at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) > at java.lang.Class.privateGetPublicMethods(Class.java:2547) > at java.lang.Class.getMethods(Class.java:1410) > at > org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.grind(DefaultModuleDefImpl.java:137) > at > org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.(DefaultModuleDefImpl.java:106) > at > org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:122) > at > org.apache.tapestry5.internal.TapestryAppInitializer.addModules(TapestryAppInitializer.java:128) > at > org.apache.tapestry5.internal.TapestryAppInitializer.(TapestryAppInitializer.java:90) > at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:74) > at > org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) > at > org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:620) > at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) > at > org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1234) > at > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) > at > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:460) > at > org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:124) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) > at > org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) > at > org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) > at > org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) > at > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) > at org.mortbay.jetty.Server.doStart(Server.java:222) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) > at > org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132) > at > org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:379) > at > org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:321) > at > org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:205) > at > org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.cla
Re: How to prevent formatting of HTML comments?
Hi, funny thing. This gives me org.xml.sax.SAXParseException The value of attribute "value" associated with an element type "t:OutputRaw" must not contain the '<' character. while renders ok as So, character > is permited, while < is not??? Of course works as well. I am using 5.0.18. Thanks for the tip Howard. -Borut 2009/4/16 Howard Lewis Ship : > Use the OutputRaw component? > > On Thu, Apr 16, 2009 at 8:03 AM, Borut Bolčina > wrote: >> Hi, >> >> maybe this will sound very obscure, but if I write a html comment in a >> tml file, for example: >> >> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> >> >> >> >> the rendered HTML is: >> >> >> >> Notice the space before F and space after R. >> >> Some external software is checking for presence of and >> is failing because additional spaces are rendered in the HTML. >> >> Any hints before I start creating a component that renders what I want? >> >> Cheers, >> Borut >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > > > -- > Howard M. Lewis Ship > > Creator of Apache Tapestry > Director of Open Source Technology at Formos > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: message that i do not understand
Jorge, We ran into this exact same problem. For us, we would get this error at random upon deployment. Sometimes when we would deploy, this error would occur. On other times we wouldn't experience this error at all. Today we realized that we weren't actually using anything from Equanda and took it out of our pom.xml file. (We then had to add the chenillekit dependency because the removal of equanda took away our chenille libraries) After we made this change, we haven't seen the issue come up again. Hope this helps! I'm not sure how much your project relies on Equanda, so I don't know if the removal of it's libraries is even an option for you... Jorge Saridis wrote: > > Howard, I use chenillekit and equanda. > At the bottom of the js script generated by tapestry, I found this: > > Tapestry.init({"validate":[["descripcionAperturaExportacion",[["string","[[missing > key: string-format-exception]]"],["required","Debe ingresar la descripción > adicional"]]],["talle",[["required","Tiene que ingresar un valor para > Talle."]]],["moneda",[["required","Tiene que ingresar un valor para > Moneda."]]],["nombreProducto",[["decimalnumber","'Nombre Producto' tiene > que ser un valor numérico."],["required","Tiene que ingresar un valor para > Nombre Producto."]]],["precio",[["decimalnumber","'Precio' tiene que ser > un valor numérico."],["required","Tiene que ingresar un valor para > Precio."]]],["color",[["required","Tiene que ingresar un valor para > Color."]]],["codigoAperturaExportacion",[["string","[[missing key: > string-format-exception]]"],["required","Debe ingresar el > código"]]],["porcentajePrecio",[["decimalnumber","'Porcentaje Precio' > tiene que ser un valor numérico."],["required","Debe ingresar el > porcentaje del precio"]]],["codigoProducto",[["string","[[missing key: > string-format-exception]]"],["required","Debe ingresar el código del > producto","zone":["zoneProducto","zoneAperturaExportacion","zonePrecioSugerido","rubrosAlternativosZone","zoneDialogoEdicionProducto","zoneDialogoEliminacionProducto","zoneDialogoAperturaExportacion","zoneDialogoEliminacionAperturaExportacion","zoneDialogoPrecioSugerido","zoneDialogoEliminacionPrecioSugerido","dialogoRubroAlternativo","zoneResultadoBusquedaNombre"],"linkZone":[["nuevoProducto","zoneDialogoEdicionProducto","/iMartina/comercial/productos/edicion.nuevoproducto"],["nuevoAperturaExportacion","zoneDialogoAperturaExportacion","/iMartina/comercial/productos/edicion.nuevoaperturaexportacion"],["nuevoPrecioSugerido","zoneDialogoPrecioSugerido","/iMartina/comercial/productos/edicion.nuevopreciosugerido"],["nuevoRubroAlternativo","dialogoAperturaExportacion","/iMartina/comercial/productos/edicion.nuevorubroalternativo"],["edicionProducto","zoneProducto","/iMartina/comercial/productos/edicion.edicionproducto"],["eliminacionProducto","zoneProducto","/iMartina/comercial/productos/edicion.eliminacionproducto"],["edicionAperturaExportacion","zoneAperturaExportacion","/iMartina/comercial/productos/edicion.edicionaperturaexportacion"],["eliminacionAperturaExportacion","zoneAperturaExportacion","/iMartina/comercial/productos/edicion.eliminacionaperturaexportacion"],["edicionPrecioSugerido","zonePrecioSugerido","/iMartina/comercial/productos/edicion.edicionpreciosugerido"],["eliminacionPrecioSugerido","zonePrecioSugerido","/iMartina/comercial/productos/edicion.eliminacionpreciosugerido"],["edicionRubroAlternativo","rubrosAlternativosZone","/iMartina/comercial/productos/edicion.edicionrubroalternativo"],["busquedaNombre","zoneResultadoBusquedaNombre","/iMartina/comercial/productos/edicion.busquedanombre"]]}); > > the first field mentioned in the template looks like this: > > t:type="TextField" t:value="aperturaExportacion.descripcion" > validate="required"/> > > the messages are set in the .properties file are: > > descripcionAperturaExportacion-label=Descripción adicional > descripcionAperturaExportacion-required-message=Debe ingresar la > descripción adicional > > Thanks in advance > Jorge > > > On Thu, 2009-03-26 at 14:59 -0700, Howard Lewis Ship wrote: > >> Are you using any special libraries, one that would add a Validator >> named "string"? That message would tend to indicate that a Validator >> emitted some initialization logic, but there was no >> Tapestry.Validator.string function to match. A dump of the rendered >> page and the pertintent details about your field would make it easier >> to understand. >> >> >> On Thu, Mar 26, 2009 at 2:07 PM, Jorge Saridis >> wrote: >> > Hello >> > I'm getting this message: "Function Tapestry.Validator.string() does >> not >> > exist for field 'XXX'." >> > What does it mean? The field mentioned in the message, is set in >> > the .properties file with the label and required-message. >> > Thanks in advance. >> > Jorge >> > >> >> >> > > -- View this message in context: http://www.nabble.com/message-that-i-do-not-understand-tp22731178p23084495.html Sent from the Tapestry - User mailing list archive at Na
Re: @Inject @Symbol doesn't appear to work in pages?
Seems to me it should work for boolean or Boolean. I'm not sure why it doesn't. On Thu, Apr 16, 2009 at 5:35 AM, Thiago H. de Paula Figueiredo wrote: > On Thu, Apr 16, 2009 at 1:31 AM, daniel joyce > wrote: >> This doesn't seem to work in a page model file >> >> �...@inject >> �...@symbol(value=SymbolConstants.PRODUCTION_MODE) >> private Boolean productionMode; >> I get a nullpointerexception when I try and use it. > > Try boolean instead of Boolean. > >> Also, is the magic method name onPageLoad() for setting up vars at >> page instance load time? > > It's onPageLoaded(). Or you can use any method name, but annotate it > with @PageLoaded. The documentation of page events is here: > http://tapestry.apache.org/tapestry5/guide/lifecycle.html. > > -- > Thiago > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator of Apache Tapestry Director of Open Source Technology at Formos - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: @Inject @Symbol doesn't appear to work in pages?
http://tapestry.formos.com/nightly/tapestry5/guide/lifecycle.html has The annotations / method names are: * PageLoaded annotation, or method name "pageLoaded" * PageAttached annotation, or method name "pageAttached" * PageDetached annotation, or method name "pageDetached" I'll try your annotation suggestion. On Thu, Apr 16, 2009 at 11:31 AM, Borut Bolčina wrote: > Hi, > > I am doing this and it works: > > �...@inject @Symbol(SymbolConstants.PRODUCTION_MODE) > private boolean productionMode; > > -Borut > > 2009/4/16 daniel joyce : >> This doesn't seem to work in a page model file >> >> �...@inject >> �...@symbol(value=SymbolConstants.PRODUCTION_MODE) >> private Boolean productionMode; >> >> I get a nullpointerexception when I try and use it. >> >> Also, is the magic method name onPageLoad() for setting up vars at >> page instance load time? >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: @Inject @Symbol doesn't appear to work in pages?
Hi, I am doing this and it works: @Inject @Symbol(SymbolConstants.PRODUCTION_MODE) private boolean productionMode; -Borut 2009/4/16 daniel joyce : > This doesn't seem to work in a page model file > > �...@inject > �...@symbol(value=SymbolConstants.PRODUCTION_MODE) > private Boolean productionMode; > > I get a nullpointerexception when I try and use it. > > Also, is the magic method name onPageLoad() for setting up vars at > page instance load time? > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: @CommitAfter
Whats the best way to manually acquire and manage a session/transaction in tapestry? You can inject HibernateSessionManager (see http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/hibernate/HibernateSessionManager.html) -- View this message in context: http://n2.nabble.com/%40CommitAfter-tp2626098p2643229.html Sent from the Tapestry Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
maven jetty:run problems
Has anybody ever seen this? After making a maven multi module project from a few seperate modules, I cannot start my apps anymore with mvn jetty:run. Everything else (initializing a spring context from a filter defined in web.xml or locating classes from our business object packages) works fine. I verified that the dependency (tapestry-ioc) is there by both 1) mvn depenency:tree and 2) mvn war:war and inspecting the generated war I have no idea. Do you? D**n maven Andy java.lang.NoClassDefFoundError: org/apache/tapestry5/ioc/services/LazyAdvisor at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.privateGetPublicMethods(Class.java:2547) at java.lang.Class.getMethods(Class.java:1410) at org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.grind(DefaultModuleDefImpl.java:137) at org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.(DefaultModuleDefImpl.java:106) at org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:122) at org.apache.tapestry5.internal.TapestryAppInitializer.addModules(TapestryAppInitializer.java:128) at org.apache.tapestry5.internal.TapestryAppInitializer.(TapestryAppInitializer.java:90) at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:74) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:620) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1234) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:460) at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:124) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:222) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132) at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:379) at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:321) at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:205) at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: java.lang.ClassNotFoundException: org.apache.tapestry5.ioc.services.Lazy
Re: How to pass multiple parameters to the next page
>Thiago has the right solution; inject the target page, configure it > and return it. I use both, but if you maintain that is the best way then I can't argue the contrary... nevertheless, flash persistence has its failings, I prefer using the onActivate and onPassivate patten which is more reliable, besides injecting the correct page is also not always an option... If you look at the link example below, simply attach a parameter tag to it then you have a generic callback component, so any page can activate it and then you can return the user to the calling page, how would you achieve that by injecting a page? Peter - Original Message - From: "Howard Lewis Ship" To: "Tapestry users" Sent: Thursday, 16 April, 2009 18:32:13 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: How to pass multiple parameters to the next page Peter; Thiago has the right solution; inject the target page, configure it and return it. Thiago's approach was to store the data inside persistent fields, using the flash strategy. I would tend, instead, to use a page activation context; like any event context, it allows multiple values, returned as an array or list. On Thu, Apr 16, 2009 at 7:25 AM, Peter Stavrinides wrote: > There is no best way, but you have a few of options: > > You can simply return a link object: > > @Inject > private ComponentResources _resources; > private Class _callback; > private Object[] _context; > > > Object onSuccess() { > Link link = _resources.createPageLink(_callback, true, _context); > return link; > } > > > Or you can inject, activate and return the page object > @InjectPage > private Message messagePage_; > > /** a submit event */ > Object onSuccess() { > messagePage_.onActivate( > "Thankyou, your message has been sent > successfully!",100021551); > > return messagePage_; > } > > Peter > > - Original Message - > From: "Anton Marchenkov" > To: users@tapestry.apache.org > Sent: Thursday, 16 April, 2009 17:04:35 GMT +02:00 Athens, Beirut, Bucharest, > Istanbul > Subject: How to pass multiple parameters to the next page > > Hello! > > What is the best way to pass multiple parameters to the next page on > OnSubmit event in Tapestry 5.1? > > -- > Best Regards, > Anton Marchenkov. > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator of Apache Tapestry Director of Open Source Technology at Formos - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: How to pass multiple parameters to the next page
On Thu, Apr 16, 2009 at 12:32 PM, Howard Lewis Ship wrote: > I would tend, instead, to use a page activation context; like any > event context, it allows multiple values, returned as an array or > list. I didn't suggest that because he wanted to pass the parameters at a form submission. Anyway, my approach could be improved by using the activation context in addition to what I had already suggested. Adding an onActivate() and an onPassivate() would do it. By the way, I consider invoking onActivate() directly (except in unit tests) is a bad practice. It is a method meant to be an event handler and it should only be used as such. -- Thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: How to pass multiple parameters to the next page
Peter; Thiago has the right solution; inject the target page, configure it and return it. Thiago's approach was to store the data inside persistent fields, using the flash strategy. I would tend, instead, to use a page activation context; like any event context, it allows multiple values, returned as an array or list. On Thu, Apr 16, 2009 at 7:25 AM, Peter Stavrinides wrote: > There is no best way, but you have a few of options: > > You can simply return a link object: > > @Inject > private ComponentResources _resources; > private Class _callback; > private Object[] _context; > > > Object onSuccess() { > Link link = _resources.createPageLink(_callback, true, _context); > return link; > } > > > Or you can inject, activate and return the page object > @InjectPage > private Message messagePage_; > > /** a submit event */ > Object onSuccess() { > messagePage_.onActivate( > "Thankyou, your message has been sent > successfully!",100021551); > > return messagePage_; > } > > Peter > > - Original Message - > From: "Anton Marchenkov" > To: users@tapestry.apache.org > Sent: Thursday, 16 April, 2009 17:04:35 GMT +02:00 Athens, Beirut, Bucharest, > Istanbul > Subject: How to pass multiple parameters to the next page > > Hello! > > What is the best way to pass multiple parameters to the next page on > OnSubmit event in Tapestry 5.1? > > -- > Best Regards, > Anton Marchenkov. > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator of Apache Tapestry Director of Open Source Technology at Formos - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: How to prevent formatting of HTML comments?
Use the OutputRaw component? On Thu, Apr 16, 2009 at 8:03 AM, Borut Bolčina wrote: > Hi, > > maybe this will sound very obscure, but if I write a html comment in a > tml file, for example: > > http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> > > > > the rendered HTML is: > > > > Notice the space before F and space after R. > > Some external software is checking for presence of and > is failing because additional spaces are rendered in the HTML. > > Any hints before I start creating a component that renders what I want? > > Cheers, > Borut > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator of Apache Tapestry Director of Open Source Technology at Formos - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
How to prevent formatting of HTML comments?
Hi, maybe this will sound very obscure, but if I write a html comment in a tml file, for example: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> the rendered HTML is: Notice the space before F and space after R. Some external software is checking for presence of and is failing because additional spaces are rendered in the HTML. Any hints before I start creating a component that renders what I want? Cheers, Borut - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: How to pass multiple parameters to the next page
There is no best way, but you have a few of options: You can simply return a link object: @Inject private ComponentResources _resources; private Class _callback; private Object[] _context; Object onSuccess() { Link link = _resources.createPageLink(_callback, true, _context); return link; } Or you can inject, activate and return the page object @InjectPage private Message messagePage_; /** a submit event */ Object onSuccess() { messagePage_.onActivate( "Thankyou, your message has been sent successfully!",100021551); return messagePage_; } Peter - Original Message - From: "Anton Marchenkov" To: users@tapestry.apache.org Sent: Thursday, 16 April, 2009 17:04:35 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: How to pass multiple parameters to the next page Hello! What is the best way to pass multiple parameters to the next page on OnSubmit event in Tapestry 5.1? -- Best Regards, Anton Marchenkov. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: How to pass multiple parameters to the next page
On Thu, Apr 16, 2009 at 11:04 AM, Anton Marchenkov wrote: > Hello! > > What is the best way to pass multiple parameters to the next page on > OnSubmit event in Tapestry 5.1? One way to do it: class Page1 { @InjectPage private Page2 page2; public Object onSubmit() { page2.setParameter1(parameter1value); page2.setParameter2(parameter2value); ... return page2; } } class Page2 { @Persist("flash") private Parameter1 parameter1; @Persist("flash") private Parameter2 parameter2; // setters for parameter1, parameter2, ... } -- Thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
How to pass multiple parameters to the next page
Hello! What is the best way to pass multiple parameters to the next page on OnSubmit event in Tapestry 5.1? -- Best Regards, Anton Marchenkov. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: message that i do not understand
Howard, I use chenillekit and equanda. At the bottom of the js script generated by tapestry, I found this: Tapestry.init({"validate":[["descripcionAperturaExportacion",[["string","[[missing key: string-format-exception]]"],["required","Debe ingresar la descripción adicional"]]],["talle",[["required","Tiene que ingresar un valor para Talle."]]],["moneda",[["required","Tiene que ingresar un valor para Moneda."]]],["nombreProducto",[["decimalnumber","'Nombre Producto' tiene que ser un valor numérico."],["required","Tiene que ingresar un valor para Nombre Producto."]]],["precio",[["decimalnumber","'Precio' tiene que ser un valor numérico."],["required","Tiene que ingresar un valor para Precio."]]],["color",[["required","Tiene que ingresar un valor para Color."]]],["codigoAperturaExportacion",[["string","[[missing key: string-format-exception]]"],["required","Debe ingresar el código"]]],["porcentajePrecio",[["decimalnumber","'Porcentaje Precio' tiene que ser un valor numérico."],["required","Debe ingresar el porcentaje del precio"]]],["codigoProducto",[["string","[[missing key: string-format-exception]]"],["required","Debe ingresar el código del producto","zone":["zoneProducto","zoneAperturaExportacion","zonePrecioSugerido","rubrosAlternativosZone","zoneDialogoEdicionProducto","zoneDialogoEliminacionProducto","zoneDialogoAperturaExportacion","zoneDialogoEliminacionAperturaExportacion","zoneDialogoPrecioSugerido","zoneDialogoEliminacionPrecioSugerido","dialogoRubroAlternativo","zoneResultadoBusquedaNombre"],"linkZone":[["nuevoProducto","zoneDialogoEdicionProducto","/iMartina/comercial/productos/edicion.nuevoproducto"],["nuevoAperturaExportacion","zoneDialogoAperturaExportacion","/iMartina/comercial/productos/edicion.nuevoaperturaexportacion"],["nuevoPrecioSugerido","zoneDialogoPrecioSugerido","/iMartina/comercial/productos/edicion.nuevopreciosugerido"],["nuevoRubroAlternativo","dialogoAperturaExportacion","/iMartina/comercial/productos/edicion.nuevorubroalternativo"],["edicionProducto","zoneProducto","/iMartina/comercial/productos/edicion.edicionproducto"],["eliminacionProducto","zoneProducto","/iMartina/comercial/productos/edicion.eliminacionproducto"],["edicionAperturaExportacion","zoneAperturaExportacion","/iMartina/comercial/productos/edicion.edicionaperturaexportacion"],["eliminacionAperturaExportacion","zoneAperturaExportacion","/iMartina/comercial/productos/edicion.eliminacionaperturaexportacion"],["edicionPrecioSugerido","zonePrecioSugerido","/iMartina/comercial/productos/edicion.edicionpreciosugerido"],["eliminacionPrecioSugerido","zonePrecioSugerido","/iMartina/comercial/productos/edicion.eliminacionpreciosugerido"],["edicionRubroAlternativo","rubrosAlternativosZone","/iMartina/comercial/productos/edicion.edicionrubroalternativo"],["busquedaNombre","zoneResultadoBusquedaNombre","/iMartina/comercial/productos/edicion.busquedanombre"]]}); the first field mentioned in the template looks like this: the messages are set in the .properties file are: descripcionAperturaExportacion-label=Descripción adicional descripcionAperturaExportacion-required-message=Debe ingresar la descripción adicional Thanks in advance Jorge On Thu, 2009-03-26 at 14:59 -0700, Howard Lewis Ship wrote: > Are you using any special libraries, one that would add a Validator > named "string"? That message would tend to indicate that a Validator > emitted some initialization logic, but there was no > Tapestry.Validator.string function to match. A dump of the rendered > page and the pertintent details about your field would make it easier > to understand. > > > On Thu, Mar 26, 2009 at 2:07 PM, Jorge Saridis wrote: > > Hello > > I'm getting this message: "Function Tapestry.Validator.string() does not > > exist for field 'XXX'." > > What does it mean? The field mentioned in the message, is set in > > the .properties file with the label and required-message. > > Thanks in advance. > > Jorge > > > > >
Re: @Inject @Symbol doesn't appear to work in pages?
On Thu, Apr 16, 2009 at 1:31 AM, daniel joyce wrote: > This doesn't seem to work in a page model file > > �...@inject > �...@symbol(value=SymbolConstants.PRODUCTION_MODE) > private Boolean productionMode; > I get a nullpointerexception when I try and use it. Try boolean instead of Boolean. > Also, is the magic method name onPageLoad() for setting up vars at > page instance load time? It's onPageLoaded(). Or you can use any method name, but annotate it with @PageLoaded. The documentation of page events is here: http://tapestry.apache.org/tapestry5/guide/lifecycle.html. -- Thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Get Value from For-loop
Hi all. I have a for loop(Tapestry 4.1.1) in a component and now i want to implement something like AJAX. The for-loop has a article-number(Textfield), description(Insert), and a price(Insert) 5 times... At the beginning all the fields are empty. I set a method in the component-class with a @Eventlistener annotation with target to the article-number and the event "onkeyup". Now my question: How can i get the Value, which the user typed in in the "article-number" textfield? After, if I have the value, i will set the other fields which are among to the article-number... Please help me... Thankn you Here is the code: DirectOrderForm.java: public abstract class DirectOrderForm extends BaseComponent { /** * Logger */ Log log = LogFactory.getLog( DirectOrderForm.class ); public abstract Object getIterationValue(); public abstract Integer getIterationIndex(); public abstract List getItemsStore(); public abstract void setItemsStore(List items); /** * Hivemind service: document logic. * * @return DocumentLogic */ public abstract DirectOrderLogic getDirectOrderLogic(); public abstract DocumentLogic getDocumentLogic(); public List getItems() throws Exception { if(getItemsStore() != null) { return getItemsStore(); } List list = new ArrayList(); list = getDirectOrderLogic().getDirectOrderItems(5); setItemsStore(list); return list; } @EventListener(events = "onkeyup", targets = {"articleNr"}, async = true) public void getArticleNumber(IRequestCycle cycle, BrowserEvent event) { String id = event.getTarget().get("id").toString(); log.info("PUT "+id+" "); } } DirectOrderForm.html: Atrikel-nr Description price value="ognl:iterationValue" index="ognl:iterationIndex" volatile="true"> jwcid="articl...@textfield" value="ognl:iterationValue.articleNr" /> value="ognl:iterationValue.description" /> value="ognl:iterationValue.unitPrice" /> - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
T5: Customizing validation messages
Hi! In our existing app, we always used the following pattern for the standard validation messages: validation.message.required = The field {0} is required. Please enter a value and try again. validation.message.date = You need to enter a valid date in the {0} field. You probably get the pattern here. We provide generic messages that only needs to know the name/label for the field. The background is that we have thousands of messages in our message catalogue, with translations to many languages. It just doesn't scale well for us to tailor the validation message for every form and form field we create. One sweet feature for us would be to gain access to the body of the component to input that string into our generic validation messages. I don't like having to do this for every time I specify validation on a field. Is it possible to advise a Tapestry service about this? The service would do the following: 1. Get the static message key for a validation type 2. Get the field name from the label component, if any. 3. Calculate the message based on the key and the field name as a parameter. Thanks for any input! Inge
Re: t5: forwarding in index
no I do not have any information, sadly. I had to ditch the concept of having tapestry form together with tapestry-spring-security. Perhaps I misunderstand what you are trying to do but I do have a Tapestry form that uses Spring security to authenticate the user. My form looks like: Name Your user name Password required Login in spring.xml I'm not sure whether tapestry-spring-security supports this but using Spring security directly does. Regards, Martijn Brinkers -- Djigzo open source email encryption www.djigzo.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: t5: forwarding in index
On Thu, Apr 16, 2009 at 9:58 AM, Peter Stavrinides wrote: > I hope Howard will reconsider. You could look at the archives and look for something like "server side redirect/forward" where Howard say to fire a Jira issue to have this feature, he also hypothesize the name of the API. Regards -- Massimo http://meridio.blogspot.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: t5: forwarding in index
>I was quite disappointed as this issue was closed so quickly Yes, its a pity, the two types of redirects are distinctly different and equally important. RequestDipsatcher.forward() is the preferred redirection approach for many banking sites / payment gateways etc because redirection is performed at the server (so no need to use a session or querystring parameters). Furthermore, you always deal with the same request/response and have the ability to set attributes in the request which can be retrieved even after redirecting... for example a simple page refresh will update both redirect source and target (nice for a wizard type UI), whereas with a sendRedirect() a new request/response is generated each time. I hope Howard will reconsider. cheers, Peter - Original Message - From: "Borut Bolčina" To: "Tapestry users" Sent: Wednesday, 15 April, 2009 22:55:12 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: t5: forwarding in index Hi, no I do not have any information, sadly. I had to ditch the concept of having tapestry form together with tapestry-spring-security. I was quite disappointed as this issue was closed so quickly. -Borut 2009/4/15 Francois Armand : > Borut Bolčina wrote: >> >> It is now: https://issues.apache.org/jira/browse/TAP5-607 >> > > This bug was closed without real solution nor bypass, do you had some more > information about it ? > > -- > Francois Armand > Etudes & Développements J2EE > Groupe Linagora - http://www.linagora.com > Tél.: +33 (0)1 58 18 68 28 > --- > http://fanf42.blogspot.com > InterLDAP - http://interldap.org FederID - http://www.federid.org/ > Open Source identities management and federation > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org