Re: Can't build from source
I think you must run maven with the option : -cpu or -U to install the plugins. Daniel Meza escreveu: After run "mvn install" get : "[ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-plugin-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch" then try to run "mvn -e install" and get: "[INFO] Building Simple Tapestry Archetype [INFO]task-segment: [install] [INFO] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-plugin-plugin' does not exist or no valid version could be found [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-plugin-plugin' does not exist or no valid version could be found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1286) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1522) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1016) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:980) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) 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: org.apache.maven.plugin.version.PluginVersionNotFoundException: The plugin 'org.apache.maven.plugins:maven-plugin-plugin' does not exist or no valid version could be found at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:228) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:90) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:166) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1257) ... 18 more [INFO] [INFO] Total time: 2 minutes 13 seconds [INFO] Finished at: Tue Sep 18 09:54:42 GMT-05:00 2007" If someone could help me, thanks in advance. Date: Tue, 18 Sep 2007 00:08:07 +0300 From: [EMAIL PROTECTED] To: users@tapestry.apache.org Subject: Re: Can't build from source The instruction there are for the 4.0 branch which is located at https://svn.apache.org/repos/asf/tapestry/tapestry4/branches/4.0/ The url specified in that page contains now the trunk of 4.1 which is maven2 based so, upon svn checkout you do mvn install Daniel Meza wrote: Hi everyone I've been following the steps on the wik i"HowToSetupEclipseWtp" (http://wiki.apache.org/tapestry/HowToSetupEclipseWtp?highlight=%28eclipse%29) but unfortunately I'm stuck. In the prerrequisites section says "Install and build Tapestry 4.0. See BuildingTapestry" . After following the instructions at http://wiki.apache.org/tapestry/BuildingTapestry,when try to run "ant install" got the next error message: "[EMAIL PROTECTED] tapestry-trunk]#ant install Buildfile: build.xml does not exist! Build failed" Any idea? Thanks in advance. _ Prueba Live.com
Re: Acegi
Thanks, but probably i don't explain well. I already have Acegi with that configuration. My problem isn't the login page but the response of the form in the login page. This form is do a "post" to direct.svc and i cant give access to anonymous user to the url: /direct.svc** Paulo Ramos Martino Piccinato escreveu: you have to configure your FilterSecurityInterceptor with something like this /login.html**=ROLE_ANONYMOUS,ROLE_AUTHENTICATED /**=ROLE_AUTHENTICATED and add an AnonymousFilter to your filterchain, e.g.: CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON PATTERN_TYPE_APACHE_ANT /**=httpSessionContextIntegrationFilter,casProcessingFilter,logoutProcessingFilter,exceptionTranslationFilter,filterSecurityInterceptor anon anonymous,ROLE_ANONYMOUS This way non authenticated request will get a ROLE_ANONYMOUS by default and will be able to see the login page. It doesn't have much to do with Tapestry though, acegi is quite "orthogonal" ;-) On 8/3/07, Paulo Ramos <[EMAIL PROTECTED]> wrote: Hi, I have 3 projects and i decide group commons components and pages in one library. One of the pages is the Acegi login. I have friendly url's and secure pages with Acegi. When i try to login, the form is sent by "post" to direct.svc and fail because this url is protected. How i can open the login response sent to direct.svc without expose other direct services. Thanks for your time - 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: Acegi
smime.p7s Description: S/MIME Cryptographic Signature
Acegi
Hi, I have 3 projects and i decide group commons components and pages in one library. One of the pages is the Acegi login. I have friendly url's and secure pages with Acegi. When i try to login, the form is sent by "post" to direct.svc and fail because this url is protected. How i can open the login response sent to direct.svc without expose other direct services. Thanks for your time smime.p7s Description: S/MIME Cryptographic Signature
Re: Pages Library
Thanks How do i call the pages?? What prefix?? Paulo Ramos - Portugal Renat Zubairov escreveu: That's quite a fancy feature of Tapestry, I didn't expected to find it but it's actually there and woking See http://bookie.googlecode.com/svn/trunk/bookie-framework/src/main/java/org/bookie/framework/BookieMail.library You can put pages in the library declaration. Reference to the page should be done with prefix Renat On 19/07/07, Paulo Ramos <[EMAIL PROTECTED]> wrote: Hi all, I have a group of Tapestry pages that are equal in 3 different projects. I have created a Library with some shared components, but there is a way to do the same with the pages? Thank's for your time. Paulo Ramos - Portugal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] smime.p7s Description: S/MIME Cryptographic Signature
Pages Library
Hi all, I have a group of Tapestry pages that are equal in 3 different projects. I have created a Library with some shared components, but there is a way to do the same with the pages? Thank's for your time. Paulo Ramos - Portugal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: upgrade to 4.1.1
This example may help you. Paulo Ramos Test.html: estadoactual onclick="this.disabled = true"/> onclick="this.disabled = true"/> --- Test.page: value="ognl:{'AjaxEstadoActual'}" /> value="ognl:!estadoActual.equals('Stop')" /> value="ognl:{'AjaxEstadoActual'}" /> value="ognl:!estadoActual.equals('Start')" /> --- Test.java public String getEstadoActual() { System.out.println("getEstadoActual()"); if(estadoActual.equals("")) { estadoActual="Stop"; } return estadoActual; } public void setEstadoActual(String EstadoActual) { System.out.println("setEstadoActual()"); estadoActual=EstadoActual; } public IPage onStart(IRequestCycle ciclo) { setEstadoActual("Start"); return null; } public IPage onStop(IRequestCycle ciclo) { setEstadoActual("Stop"); return null; } smime.p7s Description: S/MIME Cryptographic Signature
Re: upgrade to 4.1.1
Hi, Why you dont use ajax to do this? Paulo Ramos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tables, Forms and Ajax
My original code: --- Html : jwcid="accaoColumnValue"> More Info --- Page : value="'MoreInfoAjax'+components.Tabela.tableRow.id"/> value="'MoreInfoAjax'+components.Tabela.tableRow.id" /> --- When i click "More Info" from line 2 it render like that: More Info Paulo Ramos smime.p7s Description: S/MIME Cryptographic Signature
Re: Tables, Forms and Ajax
Thanks, but i just want to update data within a td element. The "tr update " is just an example. I tried update data within a div inside a td element and it didn't work. Any ideas? Paulo Ramos Jesse Kuhnert escreveu: Even if you were somehow able to make it work the way you wanted that particular application would never work in IE. IE won't allow you to update tr elements like that - you can update data within a td element but that's about it. On 5/30/07, Paulo Ramos <[EMAIL PROTECTED]> wrote: Hi, I have a table with a DirectLink's that must get more information from the corresponding line and show them in that line. I am trying to do that with ajax but the response is rendered inside the corresponding tag and the id is incremented. Example: when i try to update the tag with id=2 from line 2 this is rendered like that: bla bla bla When i tried something more simple that i found in a previous post i get the same problem. When i click the second line the response is rendered inside the tag including another like this: 8330 href="/eLoja/tables/TesteAjaxFor,$DirectLink.sdirect?sp=2&updateParts=therow_1"> Update "therow_1" Can anyone help me? Thaks, Paulo Ramos My example code: TesteAjaxFor.html : Teste Tabela Listagem updateComponents="ognl:components.therow.clientId "> Update " " TesteAjaxFor.java : --- public abstract class TesteAjaxFor extends BasePage implements PageBeginRenderListener { @Persist public abstract String[] getRows(); public abstract void setRows(String[] rows); public abstract String getRow(); public abstract int getTheIndex(); public void pageBeginRender(PageEvent e) { if (getRows() == null){ setRows(new String[] {"foo", "bar", "baz"}); } } public void aListener(IRequestCycle cycle, int idx) { getRows()[idx] = "" + (int)(Math.random()*1); } } smime.p7s Description: S/MIME Cryptographic Signature
Tables, Forms and Ajax
Hi, I have a table with a DirectLink's that must get more information from the corresponding line and show them in that line. I am trying to do that with ajax but the response is rendered inside the corresponding tag and the id is incremented. Example: when i try to update the tag with id=2 from line 2 this is rendered like that: bla bla bla When i tried something more simple that i found in a previous post i get the same problem. When i click the second line the response is rendered inside the tag including another like this: 8330 Update "therow_1" Can anyone help me? Thaks, Paulo Ramos My example code: TesteAjaxFor.html : Teste Tabela Listagem index="ognl:theIndex"> Update "value="ognl:components.therow.clientId"> " TesteAjaxFor.java : --- public abstract class TesteAjaxFor extends BasePage implements PageBeginRenderListener { @Persist public abstract String[] getRows(); public abstract void setRows(String[] rows); public abstract String getRow(); public abstract int getTheIndex(); public void pageBeginRender(PageEvent e) { if (getRows() == null){ setRows(new String[] {"foo", "bar", "baz"}); } } public void aListener(IRequestCycle cycle, int idx) { getRows()[idx] = "" + (int)(Math.random()*1); } } smime.p7s Description: S/MIME Cryptographic Signature
Re: BeanForm Caching Problems
Thank´s. You save my day. Andreas Andreou escreveu: http://beanform.sourceforge.net/component-reference.html the cacheProperties parameter On 5/18/07, Paulo Ramos <[EMAIL PROTECTED]> wrote: Hello everyone. I'm using BeanForm to generate dynamic forms like this: I'm setting different Pojo to objectForm to get different forms. The objectForm.propertiesList returns a String with the Form properties and validations. When i have Tapestry cache disabled this works right, but when it is enabled the propertiesList is only loaded one time. When i access this page, with a different Pojo i get errors because it keeps the properties from the first Pojo. Can anyone help me? Thank's in advance. smime.p7s Description: S/MIME Cryptographic Signature
BeanForm Caching Problems
Hello everyone. I'm using BeanForm to generate dynamic forms like this: value="objectForm.propertiesList" /> I'm setting different Pojo to objectForm to get different forms. The objectForm.propertiesList returns a String with the Form properties and validations. When i have Tapestry cache disabled this works right, but when it is enabled the propertiesList is only loaded one time. When i access this page, with a different Pojo i get errors because it keeps the properties from the first Pojo. Can anyone help me? Thank's in advance. smime.p7s Description: S/MIME Cryptographic Signature
BeanForm Caching Problems
Hello everyone. I'm using BeanForm to generate dynamic forms like this: value="objectForm.propertiesList" /> I'm setting different Pojo to objectForm to get different forms. The objectForm.propertiesList returns a String with the Form properties and validations. When i have Tapestry cache disabled this works right, but when it is enabled the propertiesList is only loaded one time. When i access this page, with a different Pojo i get errors because it keeps the properties from the first Pojo. Can anyone help me? Thank's in advance. smime.p7s Description: S/MIME Cryptographic Signature
Service finalize
Hi, I need to delete a temp file in the end of a request to a Service. I'm using IEngineService and i try to implement PageEndRenderListener and PageDetachListener but this doesn't work. There is another way to do that? Thanks, Paulo Ramos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Tapestry 4.1.2-SNAPSHOT
I am using javassist 3.0 Peter Schröder escreveu: does your server contain the javassist lib in the expected version? -Ursprüngliche Nachricht- Von: Paulo Ramos [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 6. März 2007 12:49 An: users@tapestry.apache.org Betreff: Tapestry 4.1.2-SNAPSHOT Hello, I am using Tapestry 4.1.2-SNAPSHOT and yesterday, when i deployed my aplication the server throw this error: java.lang.NoSuchMethodError: javassist.CtClass.toClass(Ljava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class; Can anyone help me? Thanks Paulo Ramos - 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] smime.p7s Description: S/MIME Cryptographic Signature
Tapestry 4.1.2-SNAPSHOT
Hello, I am using Tapestry 4.1.2-SNAPSHOT and yesterday, when i deployed my aplication the server throw this error: java.lang.NoSuchMethodError: javassist.CtClass.toClass(Ljava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class; Can anyone help me? Thanks Paulo Ramos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]