[T5.2.6] Testing File Upload with PageTester
Hi, Is there any way to perform / simulate a File Upload with tapestry-upload when using the tapestry PageTester (via Testify)? Looking around, I can't find a way to set the org.apache.tapestry5.upload.services.UploadedFile property. Steve. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: PageCatalog and ServiceStatus
On 30 September 2011 04:16, Howard Lewis Ship wrote: > Meanwhile, beta-14 includes the PageCatalog, and beta-15 (building > now) improves it by dealing better with pages that have problems. Looks like you need at least beta-14. On 9 October 2011 21:48, TG wrote: > It is beta 9. Which jar file(s) is it in? I do not use Maven. Thanks. > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/PageCatalog-and-ServiceStatus-tp4880131p4885211.html > Sent from the Tapestry - User 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
Beta 18 not starting properly
Hi, Just upgraded to beta 18 from beta 16 and now I get the following error on startup. Regards, Greg "C:\Program Files\Java\jdk1.6.0_21\bin\java" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:11443,suspend=y,server=n -Dclassworlds.conf=C:\development\apache-maven-3.0\bin\m2.conf -Dmaven.home=C:\development\apache-maven-3.0 -Dfile.encoding=UTF-8 -classpath "C:\development\apache-maven-3.0\boot\plexus-classworlds-2.2.3.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 10.5.1\lib\idea_rt.jar" org.codehaus.classworlds.Launcher --no-plugin-registry --fail-fast --no-plugin-updates --strict-checksums --update-snapshots -f C:\development\IntelliJ\liftyourgame\pom.xml org.mortbay.jetty:jetty-maven-plugin:7.0.0.1beta1:run -P dev Connected to the target VM, address: '127.0.0.1:11443', transport: 'socket' [WARNING] Command line option -npu is deprecated and will be removed in future Maven versions. [WARNING] Command line option -npr is deprecated and will be removed in future Maven versions. [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.liftyourgame:liftyourgame:war:1.0.18-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 235, column 12 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 224, column 12 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml Downloading: http://repo2.maven.org/maven2/org/eclipse/jetty/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml (563 B at 0.3 KB/sec) [INFO] [INFO] [INFO] Building Liftyourgame.com 1.0.18-SNAPSHOT [INFO] [INFO] [INFO] >>> jetty-maven-plugin:7.0.0.1beta1:run (default-cli) @ liftyourgame >>> Downloading: http://localhost:8081/artifactory/smi-dev/org/apache/tapestry/tapestry-core/5.3-beta-18/tapestry-core-5.3-beta-18.pom Downloading: http://repo1.maven.org/maven2/org/apache/tapestry/tapestry-core/5.3-beta-18/tapestry-core-5.3-beta-18.pom Downloading: http://tapestry.formos.com/maven-snapshot-repository/org/apache/tapestry/tapestry-core/5.3-beta-18/tapestry-core-5.3-beta-18.pom Downloading: http://repository.apache.org/snapshots/org/apache/tapestry/tapestry-core/5.3-beta-18/tapestry-core-5.3-beta-18.pom Downloading: http://tapestry.formos.com/maven-repository/org/apache/tapestry/tapestry-core/5.3-beta-18/tapestry-core-5.3-beta-18.pom Downloading: http://nexus.devlab722.net/nexus/content/repositories/releases/org/apache/tapestry/tapestry-core/5.3-beta-18/tapestry-core-5.3-beta-18.pom [WARNING] The POM for org.apache.tapestry:tapestry-core:jar:5.3-beta-18 is missing, no dependency information available Downloading: http://localhost:8081/artifactory/smi-dev/org/apache/tapestry/tapestry-upload/5.3-beta-18/tapestry-upload-5.3-beta-18.pom Downloaded: http://localhost:8081/artifactory/smi-dev/org/apache/tapestry/tapestry-upload/5.3-beta-18/tapestry-upload-5.3-beta-18.pom (2 KB at 0.0 KB/sec) Downloading: http://localhost:8081/artifactory/smi-dev/org/apache/tapestry/tapestry-test/5.3-beta-18/tapestry-test-5.3-beta-18.pom Downloaded: http://localhost:8081/artifactory/smi-dev/org/apache/tapestry/tapestry-test/5.3-beta-18/tapestry-test-5.3-beta-18.pom (3 KB at 0.1 KB/sec) Downloading: http://localhost:8081/artifactory/smi-dev/org/apache/tapestry/tapestry-hibernate/5.3-beta-18/tapestry-hibernate-5.3-beta-18.pom Downloaded: http://localhost:8081/artifactory/smi-dev/org/apache/tapestry/tapestry-hibernate/5.3-beta-18/tapestry-hibernate-5.3-beta-18.pom (2 KB at 0.0 KB/sec) Downloading: http://localhost:8081/artifactory/smi-dev/org/apache/tapestry/tapestry-hibernate-core/5.3-beta-18/tapestry-hibernate-core-5.3-beta-18.pom Downloaded: http://localhost:8081/artifactory/smi-dev/org/apache/tapestry/tapestry-hibernate-core/5.3-beta-18/tapestry-hibernate-core-5.3-beta-18.pom (3 KB at 0.1 KB/sec) Downloading: http://localhost:8081/artifactory/smi-dev/org/apache/tapestry/tapestry-ioc/5.3-beta-18/tapestry-ioc-5.3-beta-18.pom Downloaded: http://localhost:8081/artifactory/smi-dev/org/apache/tapestry/tapestry-ioc/5.3-beta-18/tapestry-ioc-5.3-beta-18.pom (2 KB at 0.1 KB/sec) Downloading: http://localhost:8081/artifactory/smi-dev/org/apache/tapestry/tapestry-func/5.3-beta-18/tapestry-func-5.3-beta-18.pom Downloaded: http://localhost:8081/artifactory/smi-dev/org/apache/tapestry/tapestry-
Re: Tapestry JPA question
5.3.0 is very old. Your problem may be that you need the later beta... tapestry-repo https://repository.apache.org/content/groups/staging and use beta-18 or later. On Oct 9, 2011, at 4:10 PM, Christine wrote: > Hi, > I read the messages from a month ago about getting the example app running as > explained here: http://tapestry.apache.org/integrating-with-jpa.html > > I have put version 5.3.0 in my pom, so it downloads Tapestry 5.3.0 including > jpa. I have added tapestry-jpa, ejb3 and eclipselink dependencies. I have a > persistence.xml, I have edited the web.xml, and everything as in the example. > I run my app with runjettyrun in Eclipse. I have tried with postgres and H2, > but that doesn't seem to make a difference. I don't see an eclipselink login > in the logs. > What I get is a null pointer exception on the EntityManager, it doesn't get > injected or it isn't created. > > Here's my persistence.xml, AppModule.java, tapestry startup log: > http://pastebin.com/QCg7Uj65 > > I'm sure there's something very basic that I have missed, but reading and > rereading both the tutorial page and the previous email conversation, I can't > find it. Would anyone care to have a quick look? Thanks! > > Christine > > > > - > 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
Tapestry JPA question
Hi, I read the messages from a month ago about getting the example app running as explained here: http://tapestry.apache.org/integrating-with-jpa.html I have put version 5.3.0 in my pom, so it downloads Tapestry 5.3.0 including jpa. I have added tapestry-jpa, ejb3 and eclipselink dependencies. I have a persistence.xml, I have edited the web.xml, and everything as in the example. I run my app with runjettyrun in Eclipse. I have tried with postgres and H2, but that doesn't seem to make a difference. I don't see an eclipselink login in the logs. What I get is a null pointer exception on the EntityManager, it doesn't get injected or it isn't created. Here's my persistence.xml, AppModule.java, tapestry startup log: http://pastebin.com/QCg7Uj65 I'm sure there's something very basic that I have missed, but reading and rereading both the tutorial page and the previous email conversation, I can't find it. Would anyone care to have a quick look? Thanks! Christine - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5.3 Grid - how to enable inPlace only if JavaScript is enabled?
I suspected something related to the request object. I think I was reading about something else then :) Thanks. On Sun, Oct 9, 2011 at 9:55 PM, Lenny Primak wrote: > I have a custom JavaScript event that sets a variable if javascript is > enabled, > on the login page. Very much a hack. Obviously, if JS is disabled, > the event will not be called and the variable will not be set :) > > On Oct 9, 2011, at 3:52 PM, Muhammad Gelbana wrote: > > > Good to know you solved it. Too bad you didn't tell how :) > > So how did you check if JS is enabled ? > > > > > > On Sun, Oct 9, 2011 at 9:28 PM, Lenny Primak > wrote: > > > >> Yes, I actually wound up doing this, > >> but I think there is a better solution, since this solution is a hack. > >> Basically, the problem lies with the Grid's pager, which does not work > >> if inPlace = true and JavaScript is disabled. > >> There links in the pager probably could be gracefully degraded > >> if JS is disabled, but they are not currently. > >> I know this is probably not as easy as it might appear, > >> that's why I raised the issue and if it was easy it would probably > >> be done by now :) > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- *Regards,* *Muhammad Gelbana Java Developer*
Re: T5.3 Grid - how to enable inPlace only if JavaScript is enabled?
I have a custom JavaScript event that sets a variable if javascript is enabled, on the login page. Very much a hack. Obviously, if JS is disabled, the event will not be called and the variable will not be set :) On Oct 9, 2011, at 3:52 PM, Muhammad Gelbana wrote: > Good to know you solved it. Too bad you didn't tell how :) > So how did you check if JS is enabled ? > > > On Sun, Oct 9, 2011 at 9:28 PM, Lenny Primak wrote: > >> Yes, I actually wound up doing this, >> but I think there is a better solution, since this solution is a hack. >> Basically, the problem lies with the Grid's pager, which does not work >> if inPlace = true and JavaScript is disabled. >> There links in the pager probably could be gracefully degraded >> if JS is disabled, but they are not currently. >> I know this is probably not as easy as it might appear, >> that's why I raised the issue and if it was easy it would probably >> be done by now :) - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5.3 Grid - how to enable inPlace only if JavaScript is enabled?
Good to know you solved it. Too bad you didn't tell how :) So how did you check if JS is enabled ? On Sun, Oct 9, 2011 at 9:28 PM, Lenny Primak wrote: > Yes, I actually wound up doing this, > but I think there is a better solution, since this solution is a hack. > Basically, the problem lies with the Grid's pager, which does not work > if inPlace = true and JavaScript is disabled. > There links in the pager probably could be gracefully degraded > if JS is disabled, but they are not currently. > I know this is probably not as easy as it might appear, > that's why I raised the issue and if it was easy it would probably > be done by now :) > > On Oct 9, 2011, at 3:19 PM, Muhammad Gelbana wrote: > > > The grid component is generated server-side, so on server-side, you have > to > > know if the client has JS enabled. I have no idea how to do this but I > > "think" I read something similar here on the list lately, something about > > checking the request object I suppose. > > > > Anyway if that's possible, bind the inPlace attribute to your page using > a > > prop prefix: > > *t:inPlace="prop:yourDecision"* > > * > > * > > And obviously using a *public boolean getYourDecision()* will solve the > > situation...I think :D..didn't try this before but done something > similar. > > > > On Tue, Sep 20, 2011 at 3:50 AM, Lenny Primak >wrote: > > > >> When I have inplace set for a grid, and JavaScript is disabled, the > pager > >> buttons do nothing. > >> How do I make it turn on only when JavaScript is available? > >> Thanks! > >> > >> > >> > >> > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >> For additional commands, e-mail: users-h...@tapestry.apache.org > >> > >> > > > > > > -- > > *Regards,* > > *Muhammad Gelbana > > Java Developer* > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- *Regards,* *Muhammad Gelbana Java Developer*
Re: T5.3 Grid - how to enable inPlace only if JavaScript is enabled?
Yes, I actually wound up doing this, but I think there is a better solution, since this solution is a hack. Basically, the problem lies with the Grid's pager, which does not work if inPlace = true and JavaScript is disabled. There links in the pager probably could be gracefully degraded if JS is disabled, but they are not currently. I know this is probably not as easy as it might appear, that's why I raised the issue and if it was easy it would probably be done by now :) On Oct 9, 2011, at 3:19 PM, Muhammad Gelbana wrote: > The grid component is generated server-side, so on server-side, you have to > know if the client has JS enabled. I have no idea how to do this but I > "think" I read something similar here on the list lately, something about > checking the request object I suppose. > > Anyway if that's possible, bind the inPlace attribute to your page using a > prop prefix: > *t:inPlace="prop:yourDecision"* > * > * > And obviously using a *public boolean getYourDecision()* will solve the > situation...I think :D..didn't try this before but done something similar. > > On Tue, Sep 20, 2011 at 3:50 AM, Lenny Primak wrote: > >> When I have inplace set for a grid, and JavaScript is disabled, the pager >> buttons do nothing. >> How do I make it turn on only when JavaScript is available? >> Thanks! >> >> >> >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > > -- > *Regards,* > *Muhammad Gelbana > Java Developer* - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5.3 Grid - how to enable inPlace only if JavaScript is enabled?
The grid component is generated server-side, so on server-side, you have to know if the client has JS enabled. I have no idea how to do this but I "think" I read something similar here on the list lately, something about checking the request object I suppose. Anyway if that's possible, bind the inPlace attribute to your page using a prop prefix: *t:inPlace="prop:yourDecision"* * * And obviously using a *public boolean getYourDecision()* will solve the situation...I think :D..didn't try this before but done something similar. On Tue, Sep 20, 2011 at 3:50 AM, Lenny Primak wrote: > When I have inplace set for a grid, and JavaScript is disabled, the pager > buttons do nothing. > How do I make it turn on only when JavaScript is available? > Thanks! > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- *Regards,* *Muhammad Gelbana Java Developer*
T5.1.0.5 problem with a grid
Hi I have a problem with a grid, i did a custom grid in a Form when i sort the grid there isn't problem but i use a button in my form after sorting grid after i have an exception : java.lang.NullPointerException org.apache.tapestry5.corelib.components.Grid$DefaultGridSortModel.getSortConstraints(Grid.java:346) org.apache.tapestry5.corelib.components.Grid.setupDataSource(Grid.java:463) In my .java // List to fill the grid @Persist private List listGrid; public Object onActivate() { /* fill list for the grid / listGrid = (List) userManager.findString("select u from Users u inner join fetch u.role inner join fetch u.shop w"); } // sent list to the grid public List getList() { return (List) listGrid; } @SetupRender void initializeValue() { i=((grid.getCurrentPage()-1) * (grid.getRowsPerPage())+1); // Grid model this.model = beanModelSource.createDisplayModel(Users.class,messages); this.model.add("shop",pcSource.create(Users.class, "shop.shoCode")).sortable(false); this.model.add("role",pcSource.create(Users.class, "role.rolDesignation")).sortable(false); this.model.add("count",null); this.model.add("remove",null); this.model.exclude("useDateCreat","useDateModif","useId","usePassword"); this.model.reorder("count","useReference","useFirstname","useName","useLogin","useEmail","shop","role","useActive","remove"); } tml page : ${getCount()} ${user.useReference} ${user.shop.shoCode} Is somebody can help me to solve this problem? I have tried lot of things. Thanks in advance -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-1-0-5-problem-with-a-grid-tp4885091p4885091.html Sent from the Tapestry - User 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: T5.3 beta 18: java.net.URISyntaxException: Illegal character in path at index 33
Obviously, there's a bug here. You may be able to work around this by turning off service reloading (see the documentation for more information). You should have seen a list of operations in addition to the stack trace; this would also be helpful. Finally, you truncated the nested exceptions ... that's where the error really is. It's much harder to figure out the actual problem without the *deepest* exception (you only included the *shallowest* exception). On Sun, Oct 9, 2011 at 8:14 AM, TG wrote: > I tried T5.3 beta 18, I can not load the app without getting this exception - > > Caused by: java.lang.RuntimeException: Error invoking service contribution > method > org.apache.tapestry5.services.TapestryModule.productionModeOverrides(MappedConfiguration, > boolean): Exception constructing service 'ApplicationDefaults': Failure > reading bytecode for class app.services.AppModule: Illegal character in path > at index 33: file:/Users/tg/Workspaces/Eclipse 3.7 > Java/Light/war/WEB-INF/classes/app/services/AppModule.class > at > org.apache.tapestry5.ioc.internal.ContributionDefImpl.invokeMethod(ContributionDefImpl.java:134) > at > org.apache.tapestry5.ioc.internal.ContributionDefImpl.contribute(ContributionDefImpl.java:88) > at > org.apache.tapestry5.ioc.internal.RegistryImpl$7.run(RegistryImpl.java:549) > at > org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:51) > at > org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:48) > at > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) > at > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTrackerImpl.java:47) > at > org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.run(PerThreadOperationTracker.java:76) > at > org.apache.tapestry5.ioc.internal.RegistryImpl.addToMappedConfiguration(RegistryImpl.java:545) > at > org.apache.tapestry5.ioc.internal.RegistryImpl.getMappedConfiguration(RegistryImpl.java:499) > at > org.apache.tapestry5.ioc.internal.ServiceResourcesImpl$3.invoke(ServiceResourcesImpl.java:126) > at > org.apache.tapestry5.ioc.internal.ServiceResourcesImpl$3.invoke(ServiceResourcesImpl.java:123) > at > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) > at > org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87) > at > org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1010) > at > org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getMappedConfiguration(ServiceResourcesImpl.java:121) > at > org.apache.tapestry5.ioc.internal.AbstractServiceCreator.getMappedConfiguration(AbstractServiceCreator.java:144) > at > org.apache.tapestry5.ioc.internal.AbstractServiceCreator.access$300(AbstractServiceCreator.java:35) > at > org.apache.tapestry5.ioc.internal.AbstractServiceCreator$1.findResource(AbstractServiceCreator.java:107) > at > org.apache.tapestry5.ioc.internal.util.DelegatingInjectionResources.findResource(DelegatingInjectionResources.java:38) > at > org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateInjection(InternalUtils.java:226) > at > org.apache.tapestry5.ioc.internal.util.InternalUtils.access$000(InternalUtils.java:48) > at > org.apache.tapestry5.ioc.internal.util.InternalUtils$2.invoke(InternalUtils.java:267) > at > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) > at > org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87) > at > org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1010) > at > org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:271) > at > org.apache.tapestry5.ioc.internal.util.InternalUtils$20.invoke(InternalUtils.java:1401) > at > org.apache.tapestry5.ioc.internal.util.InternalUtils$20.invoke(InternalUtils.java:1396) > at > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) > at > org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87) > at > org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1010) > at > org.apache.tapestry5.ioc.internal.util.InternalUtils.createConstructorConstructionPlan(InternalUtils.java:1393) > at > org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.getPlan(ConstructorServiceCreator.java:52) > at > org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:61) > at > org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45) >
T5.3 beta 18: java.net.URISyntaxException: Illegal character in path at index 33
I tried T5.3 beta 18, I can not load the app without getting this exception - Caused by: java.lang.RuntimeException: Error invoking service contribution method org.apache.tapestry5.services.TapestryModule.productionModeOverrides(MappedConfiguration, boolean): Exception constructing service 'ApplicationDefaults': Failure reading bytecode for class app.services.AppModule: Illegal character in path at index 33: file:/Users/tg/Workspaces/Eclipse 3.7 Java/Light/war/WEB-INF/classes/app/services/AppModule.class at org.apache.tapestry5.ioc.internal.ContributionDefImpl.invokeMethod(ContributionDefImpl.java:134) at org.apache.tapestry5.ioc.internal.ContributionDefImpl.contribute(ContributionDefImpl.java:88) at org.apache.tapestry5.ioc.internal.RegistryImpl$7.run(RegistryImpl.java:549) at org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:51) at org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:48) at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTrackerImpl.java:47) at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.run(PerThreadOperationTracker.java:76) at org.apache.tapestry5.ioc.internal.RegistryImpl.addToMappedConfiguration(RegistryImpl.java:545) at org.apache.tapestry5.ioc.internal.RegistryImpl.getMappedConfiguration(RegistryImpl.java:499) at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl$3.invoke(ServiceResourcesImpl.java:126) at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl$3.invoke(ServiceResourcesImpl.java:123) at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87) at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1010) at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getMappedConfiguration(ServiceResourcesImpl.java:121) at org.apache.tapestry5.ioc.internal.AbstractServiceCreator.getMappedConfiguration(AbstractServiceCreator.java:144) at org.apache.tapestry5.ioc.internal.AbstractServiceCreator.access$300(AbstractServiceCreator.java:35) at org.apache.tapestry5.ioc.internal.AbstractServiceCreator$1.findResource(AbstractServiceCreator.java:107) at org.apache.tapestry5.ioc.internal.util.DelegatingInjectionResources.findResource(DelegatingInjectionResources.java:38) at org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateInjection(InternalUtils.java:226) at org.apache.tapestry5.ioc.internal.util.InternalUtils.access$000(InternalUtils.java:48) at org.apache.tapestry5.ioc.internal.util.InternalUtils$2.invoke(InternalUtils.java:267) at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87) at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1010) at org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:271) at org.apache.tapestry5.ioc.internal.util.InternalUtils$20.invoke(InternalUtils.java:1401) at org.apache.tapestry5.ioc.internal.util.InternalUtils$20.invoke(InternalUtils.java:1396) at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87) at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1010) at org.apache.tapestry5.ioc.internal.util.InternalUtils.createConstructorConstructionPlan(InternalUtils.java:1393) at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.getPlan(ConstructorServiceCreator.java:52) at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:61) at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45) at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87) at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1010) at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49) at org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29) at org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createOb
Re: PageCatalog and ServiceStatus
It is beta 9. Which jar file(s) is it in? I do not use Maven. Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/PageCatalog-and-ServiceStatus-tp4880131p4885211.html Sent from the Tapestry - User 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: JavascriptStack
The User-Agent header is very unreliable (unless this is for an intranet) and you would also need to add "Vary: User-Agent" to defeat caching by shared proxies. It's probably better to use two stacks instead, and include the IE stack with a conditional comment. For example, I use this "IERepair" component to add ifixpng for <=IE6 and selectivizr/css3pie for <=IE8 : public class IERepair { @Inject private JavaScriptStackPathConstructor stackPathConstructor; boolean beginRender(MarkupWriter writer) { writer.writeRaw(""); writer.writeRaw(""); return false; } private void renderStack(MarkupWriter writer, String stack) { List paths = stackPathConstructor.constructPathsForJavaScriptStack(stack); for (String path : paths) { writer.element("script", "type", "text/javascript", "src", path); writer.end(); } } } On Sun, 09 Oct 2011 12:40:52 +0200, François Facon wrote: Hi Dimitris, Perphas a perThread service could detect with the useragent header if the browser used by the client is IE. by injecting this service to stack, you could use it to verify if you have to add the js when the method getJavaScriptLibraries get called . Regards François 2011/10/9 Dimitris Zenios : Hi guys.I have a javascript stack which includes two javascript files. One should be always added and the other only when internet explorer. Is there a possibility to append the internet explorer javascript file only when needed or it should be always added? Dimitris Zenios - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
[ANN] Tapestry and JAX-WS (Metro)
I read the recent threads about integrating JAX-WS and Tapestry. One of our projects is using JAX-WS (Metro) with Tapestry for 3 years now, so I extracted the relevant code and put in on github. Here's the result: Tapestry JAX-WS Integration https://github.com/derkoe/tapestry-jaxws Features: * Using Tapestry services as web services * JAX-WS API 2.2 * SOAPLoggingHandler for easy logging of requests/responses I plan to add other JAX-WS supporting web service stacks as CXF. Usage: You can easily add a contribution to the MetroHttpServletRequestFilter: public static void contributeMetroHttpServletRequestFilter(OrderedConfiguration configuration, TestWebservice testWebservice) { configuration.add("testws", new Webservice(TestWebservice.class, testWebservice, "TestWebservice", "/testws", new SOAPLoggingHandler("testws"))); } The Webservice constructor takes the following parameters: * the web service class (containing the JAX-WS annotations) * the web service instance (or Tapestry service, since this will be a proxy) * the name used in * the URL pattern like "/webservice" or "/ws/myws" * and a list of handlers to be added -- Chris -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-Tapestry-and-JAX-WS-Metro-tp4884925p4884925.html Sent from the Tapestry - User 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: Flowlogix tapestry utility module released
Hi Lenny, Great job!. Thanks for sharing. Best Regards François 2011/10/9 Lenny Primak : > Hi guys, > if anyone cares, I have released the utility module for Tapestry, > it's on google code at: > http://code.google.com/p/flowlogix/ > > It contains integrations with JEE components mostly, as well as some utility > classes. > Documentation is scant, but it will improve with 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: JavascriptStack
Hi Dimitris, Perphas a perThread service could detect with the useragent header if the browser used by the client is IE. by injecting this service to stack, you could use it to verify if you have to add the js when the method getJavaScriptLibraries get called . Regards François 2011/10/9 Dimitris Zenios : > Hi guys.I have a javascript stack which includes two javascript files. > One should be always added and the other only when internet explorer. > Is there a possibility to append the internet explorer javascript file > only when needed or it should be always added? > > Dimitris Zenios > > - > 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
JavascriptStack
Hi guys.I have a javascript stack which includes two javascript files. One should be always added and the other only when internet explorer. Is there a possibility to append the internet explorer javascript file only when needed or it should be always added? Dimitris Zenios - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org