[jira] [Issue Comment Deleted] (TAP5-2597) Session: Duplicate method name
[ https://issues.apache.org/jira/browse/TAP5-2597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sven Homburg updated TAP5-2597: --- Comment: was deleted (was: same as here: {noformat} openjdk version "11.0.6" 2020-01-14 OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1) OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed mode, sharing){noformat} Tapestry 5.5.0 Hibernate 4 and also 5 {noformat} java.lang.ClassFormatError: Duplicate method name "close" with signature "()V" in class file $Session_14ee86ffd373bjava.lang.ClassFormatError: Duplicate method name "close" with signature "()V" in class file $Session_14ee86ffd373b at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:877) at org.apache.tapestry5.internal.plastic.PlasticClassLoader.defineClassWithBytecode(PlasticClassLoader.java:63) at org.apache.tapestry5.internal.plastic.PlasticClassPool.realize(PlasticClassPool.java:160) at org.apache.tapestry5.internal.plastic.PlasticClassPool.realizeTransformedClass(PlasticClassPool.java:139) at org.apache.tapestry5.internal.plastic.PlasticClassImpl.createInstantiator(PlasticClassImpl.java:650) at org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager.java:289) at org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager.java:262) at org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager.java:229) at org.apache.tapestry5.ioc.internal.services.PlasticProxyFactoryImpl.createProxy(PlasticProxyFactoryImpl.java:83) at org.apache.tapestry5.ioc.internal.services.PropertyShadowBuilderImpl.build(PropertyShadowBuilderImpl.java:59) at $PropertyShadowBuilder_14ee86ffd371e.build(Unknown Source){noformat} ) > Session: Duplicate method name > > > Key: TAP5-2597 > URL: https://issues.apache.org/jira/browse/TAP5-2597 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-hibernate >Affects Versions: 5.5.0, 5.4.4 >Reporter: Nickolay Semendyaev >Priority: Major > > Hello. > *Setup:* > tapestry 5.4.4/5.5.0+ with https://issues.apache.org/jira/browse/TAP5-2582 > hibernate: 5.2.x.Final. > When i trying access Session via @Inject annotation, i get this error: > {quote}Caused by: java.lang.ClassFormatError: Duplicate method name > in class file $Session_6fccc7e0bdd > {quote} > StackTrace: https://pastebin.com/P0rBL6fr -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (TAP5-2597) Session: Duplicate method name
[ https://issues.apache.org/jira/browse/TAP5-2597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17072105#comment-17072105 ] Sven Homburg commented on TAP5-2597: same as here: {noformat} openjdk version "11.0.6" 2020-01-14 OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1) OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed mode, sharing){noformat} Tapestry 5.5.0 Hibernate 4 and also 5 {noformat} java.lang.ClassFormatError: Duplicate method name "close" with signature "()V" in class file $Session_14ee86ffd373bjava.lang.ClassFormatError: Duplicate method name "close" with signature "()V" in class file $Session_14ee86ffd373b at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:877) at org.apache.tapestry5.internal.plastic.PlasticClassLoader.defineClassWithBytecode(PlasticClassLoader.java:63) at org.apache.tapestry5.internal.plastic.PlasticClassPool.realize(PlasticClassPool.java:160) at org.apache.tapestry5.internal.plastic.PlasticClassPool.realizeTransformedClass(PlasticClassPool.java:139) at org.apache.tapestry5.internal.plastic.PlasticClassImpl.createInstantiator(PlasticClassImpl.java:650) at org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager.java:289) at org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager.java:262) at org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager.java:229) at org.apache.tapestry5.ioc.internal.services.PlasticProxyFactoryImpl.createProxy(PlasticProxyFactoryImpl.java:83) at org.apache.tapestry5.ioc.internal.services.PropertyShadowBuilderImpl.build(PropertyShadowBuilderImpl.java:59) at $PropertyShadowBuilder_14ee86ffd371e.build(Unknown Source){noformat} > Session: Duplicate method name > > > Key: TAP5-2597 > URL: https://issues.apache.org/jira/browse/TAP5-2597 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-hibernate >Affects Versions: 5.5.0, 5.4.4 >Reporter: Nickolay Semendyaev >Priority: Major > > Hello. > *Setup:* > tapestry 5.4.4/5.5.0+ with https://issues.apache.org/jira/browse/TAP5-2582 > hibernate: 5.2.x.Final. > When i trying access Session via @Inject annotation, i get this error: > {quote}Caused by: java.lang.ClassFormatError: Duplicate method name > in class file $Session_6fccc7e0bdd > {quote} > StackTrace: https://pastebin.com/P0rBL6fr -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (TAP5-2594) Tapestry doesn't clear page values, even if they are not persistent?
[ https://issues.apache.org/jira/browse/TAP5-2594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16302233#comment-16302233 ] Sven Homburg commented on TAP5-2594: therefor use @CleanupRender like this {code} @CleanupRender void cleanupRender(){ pagelist.clear(); } {code} > Tapestry doesn't clear page values, even if they are not persistent? > > > Key: TAP5-2594 > URL: https://issues.apache.org/jira/browse/TAP5-2594 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core >Affects Versions: 5.4.1 >Reporter: Luca Arzeni >Priority: Minor > Attachments: Start.java, Start.tml > > > If I add a list to a page, even if the list is not persistent, its values are > persisted on the page, and are shown even to different users and session > (they are in the global) > Steps to reproduce: > biuld an app with the start page and start tml attached. > 1) invoke the start page with no parameter on the activation context (eg, > simply calling "start") > the page will show "empty" > 2) invoke the start page with some parameter (eg, calling "start/a/b") > the page will show "filled" > 3) from now on, the page will no more show "empty", even if invoked with no > parameters > Regards, > larzeni -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (TAP5-2593) nested AjaxFormLoops not working correct
[ https://issues.apache.org/jira/browse/TAP5-2593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sven Homburg updated TAP5-2593: --- Description: if we use nested ajaxformloops the addRow-event method ignored by second (nested) ajaxformloop. {code:title=Page.html|borderStyle=solid} add item to inner loop add item to outter loop {code} {code:title=Page.java|borderStyle=solid} @InjectComponent private AjaxFormLoop outterLoop @InjectComponent private AjaxFormLoop innerLoop @InjectComponent private AddRowLink outterLoopAddRowLink @InjectComponent private AddRowLink innerLoopAddRowLink @OnEvent( component = "outterLoop", value = EventConstants.ADD_ROW ) OutterObject onAddRowFromOutterLoop() { return new OutterObject(); } @OnEvent( component = "innerLoop", value = EventConstants.ADD_ROW ) InnerObject onAddRowFromInnerLoop() { return new InnerObject (); } {code} in this case, whatever wich add row link is clicked, always the method "onAddRowFromOutterLoop" executed was: if we use nested ajaxformloops the addRow-event method ignored by second (nested) ajaxformloop. {code:title=Page.html|borderStyle=solid} add item to inner loop add item to outter loop {code} {code:title=Page.java|borderStyle=solid} @InjectComponent private AjaxFormLoop outterLoop @InjectComponent private AjaxFormLoop innerLoop @InjectComponent private AddRowLink innerLoopAddRowLink @InjectComponent private AddRowLink outterLoopAddRowLink @OnEvent( component = "outterLoop", value = EventConstants.ADD_ROW ) OutterObject onAddRowFromOutterLoop() { return new OutterObject(); } @OnEvent( component = "innerLoop", value = EventConstants.ADD_ROW ) InnerObject onAddRowFromInnerLoop() { return new InnerObject (); } {code} in this case, whatever wich add row link is clicked, always the method "onAddRowFromOutterLoop" executed > nested AjaxFormLoops not working correct > - > > Key: TAP5-2593 > URL: https://issues.apache.org/jira/browse/TAP5-2593 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core >Affects Versions: 5.4.3 >Reporter: Sven Homburg > > if we use nested ajaxformloops the addRow-event method ignored by second > (nested) > ajaxformloop. > {code:title=Page.html|borderStyle=solid} > > > > add item to > inner loop > > > > add item to > outter loop > > > {code} > {code:title=Page.java|borderStyle=solid} > @InjectComponent > private AjaxFormLoop outterLoop > @InjectComponent > private AjaxFormLoop innerLoop > @InjectComponent > private AddRowLink outterLoopAddRowLink > @InjectComponent > private AddRowLink innerLoopAddRowLink > @OnEvent( component = "outterLoop", value = EventConstants.ADD_ROW ) > OutterObject onAddRowFromOutterLoop() { > return new OutterObject(); > } > @OnEvent( component = "innerLoop", value = EventConstants.ADD_ROW ) > InnerObject onAddRowFromInnerLoop() { > return new InnerObject (); > } > {code} > in this case, whatever wich add row link is clicked, > always the method "onAddRowFromOutterLoop" executed -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (TAP5-2593) nested AjaxFormLoops not working correct
Sven Homburg created TAP5-2593: -- Summary: nested AjaxFormLoops not working correct Key: TAP5-2593 URL: https://issues.apache.org/jira/browse/TAP5-2593 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4.3 Reporter: Sven Homburg if we use nested ajaxformloops the addRow-event method ignored by second (nested) ajaxformloop. {code:title=Page.html|borderStyle=solid} add item to inner loop add item to outter loop {code} {code:title=Page.java|borderStyle=solid} @InjectComponent private AjaxFormLoop outterLoop @InjectComponent private AjaxFormLoop innerLoop @InjectComponent private AddRowLink innerLoopAddRowLink @InjectComponent private AddRowLink outterLoopAddRowLink @OnEvent( component = "outterLoop", value = EventConstants.ADD_ROW ) OutterObject onAddRowFromOutterLoop() { return new OutterObject(); } @OnEvent( component = "innerLoop", value = EventConstants.ADD_ROW ) InnerObject onAddRowFromInnerLoop() { return new InnerObject (); } {code} in this case, whatever wich add row link is clicked, always the method "onAddRowFromOutterLoop" executed -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TAP5-2562) remove periodic job from PeriodicExecutor by name
[ https://issues.apache.org/jira/browse/TAP5-2562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15466965#comment-15466965 ] Sven Homburg commented on TAP5-2562: yes, i share your demur. my suggestion; public void removeJob(String name) throws RemoveJobException so we can raise an exception if there more than one job with the same name or one, if there no job with the given name. what do you think about? > remove periodic job from PeriodicExecutor by name > - > > Key: TAP5-2562 > URL: https://issues.apache.org/jira/browse/TAP5-2562 > Project: Tapestry 5 > Issue Type: Wish > Components: tapestry-ioc >Affects Versions: 5.4.1 >Reporter: Sven Homburg >Priority: Minor > > it would nice to let us remove a periodic job from executor by the name of > the job. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TAP5-2562) remove periodic job from PeriodicExecutor by name
[ https://issues.apache.org/jira/browse/TAP5-2562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15466860#comment-15466860 ] Sven Homburg commented on TAP5-2562: here my idea: {code:title=PeriodicExecutorImpl.java|borderStyle=solid} public void removeJob(String name) { Job jobToRemove = null; for(Job job : jobs) { if (name.equals(job.getName()) { jobToRemove = job; break; } } if (jobToRemove != null) removeJob(jobToRemove); } {code} > remove periodic job from PeriodicExecutor by name > - > > Key: TAP5-2562 > URL: https://issues.apache.org/jira/browse/TAP5-2562 > Project: Tapestry 5 > Issue Type: Wish > Components: tapestry-ioc >Affects Versions: 5.4.1 >Reporter: Sven Homburg >Priority: Minor > > it would nice to let us remove a periodic job from executor by the name of > the job. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (TAP5-2562) remove periodic job from PeriodicExecutor by name
Sven Homburg created TAP5-2562: -- Summary: remove periodic job from PeriodicExecutor by name Key: TAP5-2562 URL: https://issues.apache.org/jira/browse/TAP5-2562 Project: Tapestry 5 Issue Type: Wish Components: tapestry-ioc Affects Versions: 5.4.1 Reporter: Sven Homburg Priority: Minor it would nice to let us remove a periodic job from executor by the name of the job. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (TAP5-2501) AjaxFormLoop doesn't work well inside a table tag
Sven Homburg created TAP5-2501: -- Summary: AjaxFormLoop doesn't work well inside a table tag Key: TAP5-2501 URL: https://issues.apache.org/jira/browse/TAP5-2501 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg this issue still exists in 5.4-beta36 description look [here|https://issues.apache.org/jira/browse/TAP5-2274] -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TAP5-2448) Asset.getClientURL() throws NPE if the Asset is a Folder within a SubModule JAR file
[ https://issues.apache.org/jira/browse/TAP5-2448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14487345#comment-14487345 ] Sven Homburg commented on TAP5-2448: Sorry, but the latest fix doesn't working form me Caused by: java.lang.RuntimeException: Unable to read message catalog from classpath:org/apache/tapestry5/core.properties: java.io.IOException: Cannot open a steam for a resource that references a directory inside a JAR file (jar:file:/home/sven/Development/sts-intranet/target/exploded/sts-intranet/WEB-INF/lib/tapestry-core-5.4-beta-31.jar!/org/apache/tapestry5/core.properties). {code} if (jar.equals(url.getProtocol())){ // TAP5-2448: make sure that the URL does not reference a directory if (new URL(url.toString() + /) != null) { throw new IOException(Cannot open a steam for a resource that references a directory inside a JAR file ( + url + ).); } } {code} i think {{new URL(url.toString() + /)}} is never null ;) Asset.getClientURL() throws NPE if the Asset is a Folder within a SubModule JAR file Key: TAP5-2448 URL: https://issues.apache.org/jira/browse/TAP5-2448 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Martin Papy Assignee: Jochen Kemnade Fix For: 5.4 Attachments: NPE_Stack_Trace.txt, folder.zip If you inject in a Field an Asset and if this Asset is actually a Folder that is embedded into a JAR SubModule used by the main Tapestry WebApp then the method toClientURL() returns a NPE. The issue does not happen when the SubModule is not yet a JAR file. Exemple : when you are running Tomcat from Eclipse and let Eclipse manage the dependency ( I am using the Sysdeo plugin to add dependencies to the source folders of the SubModule instead of the JAR file. ). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (TAP5-2465) dependency in module not needed
Sven Homburg created TAP5-2465: -- Summary: dependency in module not needed Key: TAP5-2465 URL: https://issues.apache.org/jira/browse/TAP5-2465 Project: Tapestry 5 Issue Type: Task Components: tapestry-hibernate Affects Versions: 5.4 Reporter: Sven Homburg Priority: Trivial i think that this dependency not needed. {code} dependency groupIdorg.jboss.logging/groupId artifactIdjboss-logging/artifactId version3.1.0.GA/version scopecompile/scope /dependency {code} the hibernate's pom refers to his own version of jboss-logging -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (TAP5-2463) ResponseWrapper dont work correctly in dom,js
[ https://issues.apache.org/jira/browse/TAP5-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sven Homburg updated TAP5-2463: --- Attachment: patch.diff here my patch ResponseWrapper dont work correctly in dom,js - Key: TAP5-2463 URL: https://issues.apache.org/jira/browse/TAP5-2463 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg Attachments: patch.diff since beta-29 if javascript calls instantiate the ResponseWrapper class there is thrown an exception, that jqxhr is unknown -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (TAP5-2463) ResponseWrapper dont work correctly in dom,js
Sven Homburg created TAP5-2463: -- Summary: ResponseWrapper dont work correctly in dom,js Key: TAP5-2463 URL: https://issues.apache.org/jira/browse/TAP5-2463 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg since beta-29 if javascript calls instantiate the ResponseWrapper class there is thrown an exception, that jqxhr is unknown -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TAP5-2463) ResponseWrapper dont work correctly in dom,js
[ https://issues.apache.org/jira/browse/TAP5-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14351617#comment-14351617 ] Sven Homburg commented on TAP5-2463: actual git source of t5-core-dom.coffee {code} constructor: (@jqxhr, data) - @status = @jqxhr.status @statusText = jqxhr.statusText @json = data # Mostly right? Need a content type check? @text = jqxhr.responseText {code} should: {code} constructor: (@jqxhr, data) - @status = @jqxhr.status @statusText = @jqxhr.statusText @json = data # Mostly right? Need a content type check? @text = @jqxhr.responseText {code} ResponseWrapper dont work correctly in dom,js - Key: TAP5-2463 URL: https://issues.apache.org/jira/browse/TAP5-2463 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg since beta-29 if javascript calls instantiate the ResponseWrapper class there is thrown an exception, that jqxhr is unknown -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (TAP5-2450) component If dont work correct since TAP5-2445 chnage
Sven Homburg created TAP5-2450: -- Summary: component If dont work correct since TAP5-2445 chnage Key: TAP5-2450 URL: https://issues.apache.org/jira/browse/TAP5-2450 Project: Tapestry 5 Issue Type: Bug Reporter: Sven Homburg -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (TAP5-2450) component If dont work correct since TAP5-2445 changes
[ https://issues.apache.org/jira/browse/TAP5-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sven Homburg updated TAP5-2450: --- Component/s: tapestry-core Description: since michaels performance changes , the if component dont work as in the past like the bottom example. {code:title=Page.java} @Component(parameters = {test=condition} private If ifSomethingWrong {code} {code:title=Page.tml} span t:id=ifSomethingWrong blabla /span {code} if i use this code, tapestry throws an exception means markup is unbalanced. Affects Version/s: 5.4 Summary: component If dont work correct since TAP5-2445 changes (was: component If dont work correct since TAP5-2445 chnage) component If dont work correct since TAP5-2445 changes Key: TAP5-2450 URL: https://issues.apache.org/jira/browse/TAP5-2450 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg since michaels performance changes , the if component dont work as in the past like the bottom example. {code:title=Page.java} @Component(parameters = {test=condition} private If ifSomethingWrong {code} {code:title=Page.tml} span t:id=ifSomethingWrong blabla /span {code} if i use this code, tapestry throws an exception means markup is unbalanced. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TAP5-2450) component If dont work correct since TAP5-2445 changes
[ https://issues.apache.org/jira/browse/TAP5-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14311944#comment-14311944 ] Sven Homburg commented on TAP5-2450: if i roll back the changed code in AbstractConditional.java before 01/31/15 so the component works like excepted component If dont work correct since TAP5-2445 changes Key: TAP5-2450 URL: https://issues.apache.org/jira/browse/TAP5-2450 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg since michaels performance changes , the if component dont work as in the past like the bottom example. {code:title=Page.java} @Component(parameters = {test=condition} private If ifSomethingWrong {code} {code:title=Page.tml} span t:id=ifSomethingWrong blabla /span {code} if i use this code, tapestry throws an exception means markup is unbalanced. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TAP5-2450) component If dont work correct since TAP5-2445 changes
[ https://issues.apache.org/jira/browse/TAP5-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14311992#comment-14311992 ] Sven Homburg commented on TAP5-2450: i cant reproduce the exception. please feel free to close this issue, sorry for distrubtion component If dont work correct since TAP5-2445 changes Key: TAP5-2450 URL: https://issues.apache.org/jira/browse/TAP5-2450 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg since michaels performance changes , the if component dont work as in the past like the bottom example. {code:title=Page.java} @Component(parameters = {test=condition} private If ifSomethingWrong {code} {code:title=Page.tml} span t:id=ifSomethingWrong blabla /span {code} if i use this code, tapestry throws an exception means markup is unbalanced. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (TAP5-2450) component If dont work correct since TAP5-2445 changes
[ https://issues.apache.org/jira/browse/TAP5-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sven Homburg updated TAP5-2450: --- Attachment: sts-intranet.log component If dont work correct since TAP5-2445 changes Key: TAP5-2450 URL: https://issues.apache.org/jira/browse/TAP5-2450 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg Attachments: sts-intranet.log since michaels performance changes , the if component dont work as in the past like the bottom example. {code:title=Page.java} @Component(parameters = {test=condition} private If ifSomethingWrong {code} {code:title=Page.tml} span t:id=ifSomethingWrong blabla /span {code} if i use this code, tapestry throws an exception means markup is unbalanced. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TAP5-2450) component If dont work correct since TAP5-2445 changes
[ https://issues.apache.org/jira/browse/TAP5-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14312111#comment-14312111 ] Sven Homburg commented on TAP5-2450: I can't reproduce it by a smal sample. i trace to code where the exception occures (ComponentPageElementImpl line 441) and get variable content of current and expectedElementAtCompletion {code:title=content of current} div class=btn-group button data-toggle=dropdown type=button class=btn btn-default btn-xs dropdown-toggle Aktionen span class=caret/span /button ul style=z-index: 1000; role=menu class=dropdown-menu li a target=_blank href=/sts-intranet/shipment/order/browse:printshipmentsticker/121381 i class=fa fa-print/iPalettenschein /a /li /ul /div {code} {code:title=content of expectedElementAtCompletion} ul style=z-index: 1000; role=menu class=dropdown-menu li a target=_blank href=/sts-intranet/shipment/order/browse:printshipmentsticker/121381 i class=fa fa-print/iPalettenschein /a /li /ul {code} hope that helps component If dont work correct since TAP5-2445 changes Key: TAP5-2450 URL: https://issues.apache.org/jira/browse/TAP5-2450 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg Attachments: sts-intranet.log since michaels performance changes , the if component dont work as in the past like the bottom example. {code:title=Page.java} @Component(parameters = {test=condition} private If ifSomethingWrong {code} {code:title=Page.tml} span t:id=ifSomethingWrong blabla /span {code} if i use this code, tapestry throws an exception means markup is unbalanced. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TAP5-2440) mixin autocomplete work not correct if user input is rquired
[ https://issues.apache.org/jira/browse/TAP5-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14275576#comment-14275576 ] Sven Homburg commented on TAP5-2440: hint: the generated html code look like this. you see that the input tag is generated twice (i think, one tag is cloned by [typeahead|http://twitter.github.io/typeahead.js]) {code:html} span class=twitter-typeahead style=position: relative; display: inline-block; direction: ltr; input autocomplete=off maxlength=30 data-required-message=Sie müssen einen Wert für Name 1 angeben. data-optionality=required data-validation=true value=homburg Softwaretechnik class=form-control form-control input-sm tt-hint type=text readonly= spellcheck=false tabindex=-1 style=position: absolute; top: 0px; left: 0px; border-color: transparent; box-shadow: none; opacity: 1; background: none 0% 0% / auto repeat scroll padding-box padding-box rgb(255, 255, 255); input autocomplete=off maxlength=30 data-required-message=Sie müssen einen Wert für Name 1 angeben. data-optionality=required data-validation=true value=homburg Softwaretechnik id=inputName1 class=form-control form-control input-sm tt-input name=inputName1 type=text spellcheck=false dir=auto style=position: relative; vertical-align: top; background-color: transparent; pre aria-hidden=true style=position: absolute; visibility: hidden; white-space: pre; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; word-spacing: 0px; letter-spacing: 0px; text-indent: 0px; text-rendering: auto; text-transform: none; /pre span class=tt-dropdown-menu style=position: absolute; top: 100%; left: 0px; z-index: 100; display: none; right: auto;div class=tt-dataset-inputName1 /div /span /span {code} mixin autocomplete work not correct if user input is rquired Key: TAP5-2440 URL: https://issues.apache.org/jira/browse/TAP5-2440 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg [beta-26] if mixin autocomplete is used for textfield component that requires an user input, the required validation message displayed even if user has fill the textfield. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (TAP5-2440) mixin autocomplete work not correct if user input is rquired
Sven Homburg created TAP5-2440: -- Summary: mixin autocomplete work not correct if user input is rquired Key: TAP5-2440 URL: https://issues.apache.org/jira/browse/TAP5-2440 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg [beta-26] if mixin autocomplete is used for textfield component that requires an user input, the required validation message displayed even if user has fill the textfield. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (TAP5-2440) mixin autocomplete work not correct if user input is required
[ https://issues.apache.org/jira/browse/TAP5-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sven Homburg updated TAP5-2440: --- Summary: mixin autocomplete work not correct if user input is required (was: mixin autocomplete work not correct if user input is rquired) mixin autocomplete work not correct if user input is required - Key: TAP5-2440 URL: https://issues.apache.org/jira/browse/TAP5-2440 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg [beta-26] if mixin autocomplete is used for textfield component that requires an user input, the required validation message displayed even if user has fill the textfield. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (TAP5-2417) email validator is case sensetiv
[ https://issues.apache.org/jira/browse/TAP5-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sven Homburg updated TAP5-2417: --- Summary: email validator is case sensetiv (was: email validator is not case sensetiv) email validator is case sensetiv Key: TAP5-2417 URL: https://issues.apache.org/jira/browse/TAP5-2417 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg Attachments: ignore_case.patch if user input like john@test.com the validator returns an error -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (TAP5-2417) email validator is not case sensetiv
Sven Homburg created TAP5-2417: -- Summary: email validator is not case sensetiv Key: TAP5-2417 URL: https://issues.apache.org/jira/browse/TAP5-2417 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg if user input like john@test.com the validator returns an error -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (TAP5-2418) wrong german error string for email validator
Sven Homburg created TAP5-2418: -- Summary: wrong german error string for email validator Key: TAP5-2418 URL: https://issues.apache.org/jira/browse/TAP5-2418 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg there is a wrong validator message inside the german translation properties wrong: invalid-email='%1$s' ist keine gültige E-Mail Adresse should: invalid-email=Keine gültige E-Mail Adresse -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (TAP5-2418) wrong german error string for email validator
[ https://issues.apache.org/jira/browse/TAP5-2418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sven Homburg updated TAP5-2418: --- Attachment: adjust_some_translations.patch here the path for some german translations and one for french translation wrong german error string for email validator - Key: TAP5-2418 URL: https://issues.apache.org/jira/browse/TAP5-2418 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg Attachments: adjust_some_translations.patch there is a wrong validator message inside the german translation properties wrong: invalid-email='%1$s' ist keine gültige E-Mail Adresse should: invalid-email=Keine gültige E-Mail Adresse -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TAP5-2417) email validator is not case sensetiv
[ https://issues.apache.org/jira/browse/TAP5-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14214670#comment-14214670 ] Sven Homburg commented on TAP5-2417: this error occures only if using javascript validation i think the validation pattern should change to: [A-Za-z0-9!#$%'*+/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%'*+/=?^_`{|}~-]+)*@(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])? email validator is not case sensetiv Key: TAP5-2417 URL: https://issues.apache.org/jira/browse/TAP5-2417 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg if user input like john@test.com the validator returns an error -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (TAP5-2417) email validator is not case sensetiv
[ https://issues.apache.org/jira/browse/TAP5-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14214670#comment-14214670 ] Sven Homburg edited comment on TAP5-2417 at 11/17/14 2:05 PM: -- this error occures only if using javascript validation i think the validation pattern should change to: {noformat} [A-Za-z0-9!#$%'*+/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%'*+/=?^_`{|}~-]+)*@(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])? {noformat} was (Author: homburgs): this error occures only if using javascript validation i think the validation pattern should change to: [A-Za-z0-9!#$%'*+/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%'*+/=?^_`{|}~-]+)*@(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])? email validator is not case sensetiv Key: TAP5-2417 URL: https://issues.apache.org/jira/browse/TAP5-2417 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg if user input like john@test.com the validator returns an error -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (TAP5-2417) email validator is not case sensetiv
[ https://issues.apache.org/jira/browse/TAP5-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sven Homburg updated TAP5-2417: --- Attachment: ignore_case.patch here a possible patch email validator is not case sensetiv Key: TAP5-2417 URL: https://issues.apache.org/jira/browse/TAP5-2417 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg Attachments: ignore_case.patch if user input like john@test.com the validator returns an error -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (TAP5-2397) AjaxFormLoop / DateField not operable if added by addRow event
Sven Homburg created TAP5-2397: -- Summary: AjaxFormLoop / DateField not operable if added by addRow event Key: TAP5-2397 URL: https://issues.apache.org/jira/browse/TAP5-2397 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg After i add a new row to the ajaxformloop, the datefield-component is not operable. No action if i click the calander-button but also no javascript error in console. All other rows, that injected by the source parameter of ajaxformloop work as expected with the datefield component. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (TAP5-2312) Add Ok and Cancel button label parameters to Confirm Mixin
[ https://issues.apache.org/jira/browse/TAP5-2312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sven Homburg updated TAP5-2312: --- Attachment: TAP5-2312__Add_Ok_and_Cancel_button_label_parameters_to_Confirm_Mixin.patch here the patch file for this issue Add Ok and Cancel button label parameters to Confirm Mixin -- Key: TAP5-2312 URL: https://issues.apache.org/jira/browse/TAP5-2312 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-core Affects Versions: 5.4 Reporter: Balázs Palcsó Priority: Minor Attachments: TAP5-2312__Add_Ok_and_Cancel_button_label_parameters_to_Confirm_Mixin.patch At the moment it is not possible to localize the text of Ok and Cancel button on the Confirm dialog created by org.apache.tapestry5.corelib.mixins.Confirm mixin. Ok and Cancel button label parameters should be added as component parameters. The default for Cancel button label should be: message:core-cancel-label -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (TAP5-2354) Confirm mixin should have parameters like cancelLabel and okLabel
Sven Homburg created TAP5-2354: -- Summary: Confirm mixin should have parameters like cancelLabel and okLabel Key: TAP5-2354 URL: https://issues.apache.org/jira/browse/TAP5-2354 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg Priority: Minor this mixin should have two more parameters like this: {code} @Parameter(value = message:private-default-confirm-ok-label, defaultPrefix = BindingConstants.LITERAL) private String okLabel; @Parameter(value = message:private-default-confirm-cancel-label, defaultPrefix = BindingConstants.LITERAL) private String cancelLabel; {code} for localizing the buttons -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (TAP5-2287) Autocomplete mixin change display width of field
[ https://issues.apache.org/jira/browse/TAP5-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14030664#comment-14030664 ] Sven Homburg commented on TAP5-2287: i think that is a typeahead.js problem the wrapper style set to display:inline-block here the snippet {code:javascript} ... var TypeaheadView = function() { var html = { wrapper: 'span class=twitter-typeahead/span', hint: 'input class=tt-hint type=text autocomplete=off spellcheck=off disabled', dropdown: 'span class=tt-dropdown-menu/span' }, css = { wrapper: { position: relative, display: inline-block }, ... {code} Autocomplete mixin change display width of field Key: TAP5-2287 URL: https://issues.apache.org/jira/browse/TAP5-2287 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg Priority: Minor the Autocomplete mixin override the field css, so the field displayed shorter than declared in template or class code here my template code div class=form-group label class=col-sm-2 control-labelName/label div class=col-sm-10 input type=text class=form-control input-sm t:id=inputPickupName t:mixins=Autocomplete/ /div /div -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (TAP5-2345) implement stopwatch in method prepare of class HibernateGridDataSource
Sven Homburg created TAP5-2345: -- Summary: implement stopwatch in method prepare of class HibernateGridDataSource Key: TAP5-2345 URL: https://issues.apache.org/jira/browse/TAP5-2345 Project: Tapestry 5 Issue Type: Wish Components: tapestry-hibernate Affects Versions: 5.4 Reporter: Sven Homburg Priority: Trivial i think for an debug output (slf4j) let me know how time query consumed -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (TAP5-2274) AjaxFormLoop dont work well inside a table tag
[ https://issues.apache.org/jira/browse/TAP5-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14001655#comment-14001655 ] Sven Homburg commented on TAP5-2274: testing with TAP54-6beta here the page class {code:title=Test.java|borderStyle=solid} public class Test { @Property private ListString phoneList; @Property private String phoneNumber; } {code} ... and here the page template {code:title=Test.tml|borderStyle=solid} html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_4.xsd; xmlns=http://www.w3.org/1999/xhtml; body form t:type=form class=form-horizontal role=form table thead tr thPhone/th /tr /thead tbody tr t:type=AjaxFormLoop source=phoneList value=phoneNumber tdinput t:type=TextField value=phoneNumber//td /tr /tbody /table input t:type=submit type=submit/ /form /body /html {code} AjaxFormLoop dont work well inside a table tag -- Key: TAP5-2274 URL: https://issues.apache.org/jira/browse/TAP5-2274 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg if i use AjaxFormLoop inside a table tag, like this: t:form table thead tr thName 1/th thName 2/th /tr /thead tbody tr t:type=AjaxFormLoop source=personHolderList encoder=personHolderEncoder value=personHolder tdinput t:type=TextField value=personHolder.person.name1//td tdinput t:type=TextField value=personHolder.person.name2//td /tr /tbody /table /t:form there is no javascript error thrown. here the code rendered by tapestry: form data-validate=submit action=/tap54test/start.form method=post id=form input value=cYCR+e8VnfSZyMMIKGcs2cKU1F0=:H4sIAFvzloEVAN3OqfcE name=t:formdata type=hidden div data-inject-row-url=/tap54test/start.ajaxformloop:injectrow?t:formcomponentid=Start:formamp;t:formid=form data-remove-row-url=/tap54test/start.ajaxformloop:triggerremoverow data-container-type=core/AjaxFormLoop /div a class=btn btn-default btn-sm data-afl-trigger=add href=# span class=glyphicon glyphicon-plus-sign/spanAdd row /a table thead tr thName 1/th thName 2/th thBirthday/th /tr /thead tbody tr data-afl-behavior=insert-before data-container-type=core/ajaxformloop-fragment/tr /tbody /table /form -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (TAP5-2287) Autocomplete mixin change display width of field
Sven Homburg created TAP5-2287: -- Summary: Autocomplete mixin change display width of field Key: TAP5-2287 URL: https://issues.apache.org/jira/browse/TAP5-2287 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg Priority: Minor the Autocomplete mixin override the field css, so the field displayed shorter than declared in template or class code -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (TAP5-2287) Autocomplete mixin change display width of field
[ https://issues.apache.org/jira/browse/TAP5-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sven Homburg updated TAP5-2287: --- Description: the Autocomplete mixin override the field css, so the field displayed shorter than declared in template or class code here my template code div class=form-group label class=col-sm-2 control-labelName/label div class=col-sm-10 input type=text class=form-control input-sm t:id=inputPickupName t:mixins=Autocomplete/ /div /div was: the Autocomplete mixin override the field css, so the field displayed shorter than declared in template or class code Autocomplete mixin change display width of field Key: TAP5-2287 URL: https://issues.apache.org/jira/browse/TAP5-2287 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg Priority: Minor the Autocomplete mixin override the field css, so the field displayed shorter than declared in template or class code here my template code div class=form-group label class=col-sm-2 control-labelName/label div class=col-sm-10 input type=text class=form-control input-sm t:id=inputPickupName t:mixins=Autocomplete/ /div /div -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Created] (TAP5-2286) DateField icon don't consider the bootstrap style class input-sm
Sven Homburg created TAP5-2286: -- Summary: DateField icon don't consider the bootstrap style class input-sm Key: TAP5-2286 URL: https://issues.apache.org/jira/browse/TAP5-2286 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg Priority: Minor here a snippet from my code div class=form-group label class=col-sm-3 control-labelAbhol- / Zustelldatum/label div class=col-sm-4 input type=text class=form-control input-sm t:id=inputPickupDate/ /div div class=col-sm-4 input type=text class=form-control input-sm t:id=inputDeliveryDate/ /div /div -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (TAP5-2286) DateField icon don't consider the bootstrap style class input-sm
[ https://issues.apache.org/jira/browse/TAP5-2286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sven Homburg updated TAP5-2286: --- Description: here a snippet from my code div class=form-group label class=col-sm-3 control-labelAbhol- / Zustelldatum/label div class=col-sm-4 input type=text class=form-control input-sm t:id=inputPickupDate/ /div div class=col-sm-4 input type=text class=form-control input-sm t:id=inputDeliveryDate/ /div /div was: here a snippet from my code div class=form-group label class=col-sm-3 control-labelAbhol- / Zustelldatum/label div class=col-sm-4 input type=text class=form-control input-sm t:id=inputPickupDate/ /div div class=col-sm-4 input type=text class=form-control input-sm t:id=inputDeliveryDate/ /div /div DateField icon don't consider the bootstrap style class input-sm -- Key: TAP5-2286 URL: https://issues.apache.org/jira/browse/TAP5-2286 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg Priority: Minor here a snippet from my code div class=form-group label class=col-sm-3 control-labelAbhol- / Zustelldatum/label div class=col-sm-4 input type=text class=form-control input-sm t:id=inputPickupDate/ /div div class=col-sm-4 input type=text class=form-control input-sm t:id=inputDeliveryDate/ /div /div -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (TAP5-2274) AjaxFormLoop dont work well inside a table tag
[ https://issues.apache.org/jira/browse/TAP5-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13878754#comment-13878754 ] Sven Homburg commented on TAP5-2274: Lance, the ajaxformloop component don't need the p:addRow.../p:addRow, it is optional (by default the component add the addRow by it self). But, for sure, i tested you suggestion, with the same result. The real reason for this problem might be that the table not wrapped by the {code:html} div data-inject-row-url=/tap54test/start.ajaxformloop:injectrow?t:formcomponentid=Start:formamp;t:formid=form data-remove-row-url=/tap54test/start.ajaxformloop:triggerremoverow data-container-type=core/AjaxFormLoop {code} so the onClick-selector inside the ajaxformloop.js {code:JavaScript} dom.onDocument(click, + AFL_SELECTOR + [data-afl-behavior=insert-before] [data-afl-trigger=add] ...) {code} never find its target AjaxFormLoop dont work well inside a table tag -- Key: TAP5-2274 URL: https://issues.apache.org/jira/browse/TAP5-2274 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg if i use AjaxFormLoop inside a table tag, like this: t:form table thead tr thName 1/th thName 2/th /tr /thead tbody tr t:type=AjaxFormLoop source=personHolderList encoder=personHolderEncoder value=personHolder tdinput t:type=TextField value=personHolder.person.name1//td tdinput t:type=TextField value=personHolder.person.name2//td /tr /tbody /table /t:form there is no javascript error thrown. here the code rendered by tapestry: form data-validate=submit action=/tap54test/start.form method=post id=form input value=cYCR+e8VnfSZyMMIKGcs2cKU1F0=:H4sIAFvzloEVAN3OqfcE name=t:formdata type=hidden div data-inject-row-url=/tap54test/start.ajaxformloop:injectrow?t:formcomponentid=Start:formamp;t:formid=form data-remove-row-url=/tap54test/start.ajaxformloop:triggerremoverow data-container-type=core/AjaxFormLoop /div a class=btn btn-default btn-sm data-afl-trigger=add href=# span class=glyphicon glyphicon-plus-sign/spanAdd row /a table thead tr thName 1/th thName 2/th thBirthday/th /tr /thead tbody tr data-afl-behavior=insert-before data-container-type=core/ajaxformloop-fragment/tr /tbody /table /form -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Created] (TAP5-2245) select component: selected option is not listed in the model.
Sven Homburg created TAP5-2245: -- Summary: select component: selected option is not listed in the model. Key: TAP5-2245 URL: https://issues.apache.org/jira/browse/TAP5-2245 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg @Component private Zone previewZone; @Component(parameters = {value=previewMonth, model=[1,3,6], zone=previewZone}) private Select previewSelect; After selecting a value in select component the following error message occoures: Selected option is not listed in the model. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (TAP5-2245) select component: selected option is not listed in the model.
[ https://issues.apache.org/jira/browse/TAP5-2245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sven Homburg updated TAP5-2245: --- Attachment: ScreenDump.pdf browser screen dump select component: selected option is not listed in the model. - Key: TAP5-2245 URL: https://issues.apache.org/jira/browse/TAP5-2245 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg Attachments: ScreenDump.pdf @Component private Zone previewZone; @Component(parameters = {value=previewMonth, model=[1,3,6], zone=previewZone}) private Select previewSelect; After selecting a value in select component the following error message occoures: Selected option is not listed in the model. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (TAP5-2245) select component: selected option is not listed in the model.
[ https://issues.apache.org/jira/browse/TAP5-2245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sven Homburg updated TAP5-2245: --- Description: @Component private Zone previewZone; @Component(parameters = {value=previewMonth, model=[1,3,6], zone=previewZone}) private Select previewSelect; @OnEvent(component = previewSelect, value = EventConstants.VALUE_CHANGED) void onValueChangedFromPreviewSelect(long result) { if (selectedDate == null) selectedDate = LocalDate.now(); selectedDate = selectedDate.plusMonths((int) (result - 1)); ajaxResponseRenderer.addRender(previewZone, previewZone); } After selecting a value in select component the following error message occoures: Selected option is not listed in the model. was: @Component private Zone previewZone; @Component(parameters = {value=previewMonth, model=[1,3,6], zone=previewZone}) private Select previewSelect; After selecting a value in select component the following error message occoures: Selected option is not listed in the model. select component: selected option is not listed in the model. - Key: TAP5-2245 URL: https://issues.apache.org/jira/browse/TAP5-2245 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.4 Reporter: Sven Homburg Attachments: ScreenDump.pdf @Component private Zone previewZone; @Component(parameters = {value=previewMonth, model=[1,3,6], zone=previewZone}) private Select previewSelect; @OnEvent(component = previewSelect, value = EventConstants.VALUE_CHANGED) void onValueChangedFromPreviewSelect(long result) { if (selectedDate == null) selectedDate = LocalDate.now(); selectedDate = selectedDate.plusMonths((int) (result - 1)); ajaxResponseRenderer.addRender(previewZone, previewZone); } After selecting a value in select component the following error message occoures: Selected option is not listed in the model. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] Commented: (TAPESTRY-2767) DatePicker : problem with the time
[ https://issues.apache.org/jira/browse/TAPESTRY-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12898211#action_12898211 ] Sven Homburg commented on TAPESTRY-2767: Hey Dude ;-) This component is part of the chenillekit project, please add an issue at http://jira.codehaus.org/browse/CHEN DatePicker : problem with the time -- Key: TAPESTRY-2767 URL: https://issues.apache.org/jira/browse/TAPESTRY-2767 Project: Tapestry Issue Type: Bug Environment: Eclipse, Windows XP Reporter: Anthony HERVE Hello, I have a problem with DatePicker with format 24hours. In fact when I pick up a time, it selects good time in the input, but not in the DatePicker. Here you can see my Component code in class Java : @Component(parameters = { value=startDate,datePattern=dd-MM- HH:mm, timePicker=true, use24hrs=true,timePickerAdjacent=true }) Do you see any problem in this ? If not do you know how to resolve the problem ? Thanks you. Anthony -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-1025) SetupRender phase method is invoked inconsistently from request to request
[ https://issues.apache.org/jira/browse/TAP5-1025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12837863#action_12837863 ] Sven Homburg commented on TAP5-1025: please close this issue. it was my fault. I'm sorry SetupRender phase method is invoked inconsistently from request to request -- Key: TAP5-1025 URL: https://issues.apache.org/jira/browse/TAP5-1025 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.2 Reporter: Sven Homburg If i access a page the first time, the pageloaded method NOT executed. if i access the same page the second time, the pageloaded method executed. if i access the same page the third time, the pageloaded NOT method executed. if i access the same page the fourth time, the pageloaded method executed. and so on -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-1026) since revision 911470 behavior of @IncludeJavaScriptLibrary breaks previous rule
[ https://issues.apache.org/jira/browse/TAP5-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12837866#action_12837866 ] Sven Homburg commented on TAP5-1026: Same behavior if i use @CommitAfter inside an abstract class. since revision 911470 behavior of @IncludeJavaScriptLibrary breaks previous rule Key: TAP5-1026 URL: https://issues.apache.org/jira/browse/TAP5-1026 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.2 Reporter: Sven Homburg since revision 911470 behavior of @IncludeJavaScriptLibrary breaks previous rule If i create a component that included some javascript code via @IncludeJavaScriptLibrary i must tell @IncludeJavaScriptLibrary the complete package name to read the javascript file even if that file resist in the same package as the component. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (TAP5-1026) since revision 911470 behavior of @IncludeJavaScriptLibrary breaks previous rule
[ https://issues.apache.org/jira/browse/TAP5-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sven Homburg updated TAP5-1026: --- Comment: was deleted (was: Same behavior if i use @CommitAfter inside an abstract class. ) since revision 911470 behavior of @IncludeJavaScriptLibrary breaks previous rule Key: TAP5-1026 URL: https://issues.apache.org/jira/browse/TAP5-1026 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.2 Reporter: Sven Homburg since revision 911470 behavior of @IncludeJavaScriptLibrary breaks previous rule If i create a component that included some javascript code via @IncludeJavaScriptLibrary i must tell @IncludeJavaScriptLibrary the complete package name to read the javascript file even if that file resist in the same package as the component. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-1026) since revision 911470 behavior of @IncludeJavaScriptLibrary breaks previous rule
[ https://issues.apache.org/jira/browse/TAP5-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12837531#action_12837531 ] Sven Homburg commented on TAP5-1026: I think, that th exception thrown because Component CustomerAutoTextField extends the abstract class AbstractAutoTextField. AbstractAutoTextField resists in an other library. java.lang.RuntimeException Unable to locate asset 'classpath:de/hsofttec/masterdata/components/AutoTextField.js' (the file does not exist). Hide uninteresting stack frames Stack trace * org.apache.tapestry5.internal.services.AssetSourceImpl.getLocalizedAssetFromResource(AssetSourceImpl.java:128) * org.apache.tapestry5.internal.services.AssetSourceImpl.getAssetInLocale(AssetSourceImpl.java:93) * org.apache.tapestry5.internal.services.AssetSourceImpl.getAsset(AssetSourceImpl.java:83) * $AssetSource_126fd3c3b82.getAsset($AssetSource_126fd3c3b82.java) * org.apache.tapestry5.internal.transform.AbstractIncludeAssetWorker.convertPathsToAssets(AbstractIncludeAssetWorker.java:158) * org.apache.tapestry5.internal.transform.AbstractIncludeAssetWorker.access$100(AbstractIncludeAssetWorker.java:43) * org.apache.tapestry5.internal.transform.AbstractIncludeAssetWorker$2.advise(AbstractIncludeAssetWorker.java:125) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.AbstractIncludeAssetWorker$2.advise(AbstractIncludeAssetWorker.java:121) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeParameterDefaultMethod.advise(ParameterWorker.java:82) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeParameterDefaultMethod.advise(ParameterWorker.java:82) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeParameterDefaultMethod.advise(ParameterWorker.java:82) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * de.hsofttec.tapestry.components.AbstractAutoTextField.containingPageDidLoad(AbstractAutoTextField.java) * de.hsofttec.masterdata.components.CustomerAutoTextField._$advised$containingPageDidLoad_2(CustomerAutoTextField.java) *
[jira] Issue Comment Edited: (TAP5-1026) since revision 911470 behavior of @IncludeJavaScriptLibrary breaks previous rule
[ https://issues.apache.org/jira/browse/TAP5-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12837531#action_12837531 ] Sven Homburg edited comment on TAP5-1026 at 2/23/10 11:59 PM: -- @IncludeJavaScriptLibrary({${yahoo.yui}/yahoo-dom-event/yahoo-dom-event.js, ${yahoo.yui}/datasource/datasource-min.js, ${yahoo.yui}/connection/connection-min.js, ${yahoo.yui}/json/json-min.js, ${yahoo.yui}/autocomplete/autocomplete-min.js, ${yahoo.yui}/animation/animation-min.js, AutoTextField.js}) @IncludeStylesheet(${yahoo.yui}/autocomplete/assets/skins/sam/autocomplete.css) @SupportsInformalParameters abstract public class AbstractAutoTextFieldT extends AbstractField I think, that th exception thrown because Component CustomerAutoTextField extends the abstract class AbstractAutoTextField. AbstractAutoTextField resists in an other library. java.lang.RuntimeException Unable to locate asset 'classpath:de/hsofttec/masterdata/components/AutoTextField.js' (the file does not exist). Hide uninteresting stack frames Stack trace * org.apache.tapestry5.internal.services.AssetSourceImpl.getLocalizedAssetFromResource(AssetSourceImpl.java:128) * org.apache.tapestry5.internal.services.AssetSourceImpl.getAssetInLocale(AssetSourceImpl.java:93) * org.apache.tapestry5.internal.services.AssetSourceImpl.getAsset(AssetSourceImpl.java:83) * $AssetSource_126fd3c3b82.getAsset($AssetSource_126fd3c3b82.java) * org.apache.tapestry5.internal.transform.AbstractIncludeAssetWorker.convertPathsToAssets(AbstractIncludeAssetWorker.java:158) * org.apache.tapestry5.internal.transform.AbstractIncludeAssetWorker.access$100(AbstractIncludeAssetWorker.java:43) * org.apache.tapestry5.internal.transform.AbstractIncludeAssetWorker$2.advise(AbstractIncludeAssetWorker.java:125) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.AbstractIncludeAssetWorker$2.advise(AbstractIncludeAssetWorker.java:121) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeParameterDefaultMethod.advise(ParameterWorker.java:82) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeParameterDefaultMethod.advise(ParameterWorker.java:82) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99) * org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) * org.apache.tapestry5.internal.transform.ParameterWorker$InvokeLoadOnParmeterConduit.advise(ParameterWorker.java:99) *
[jira] Commented: (TAP5-1025) PageLoaded-Method executed only after every second page load
[ https://issues.apache.org/jira/browse/TAP5-1025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12836728#action_12836728 ] Sven Homburg commented on TAP5-1025: Yes, I know the proposed logic, so i wondering about the curious new logic ;-) PageLoaded-Method executed only after every second page load Key: TAP5-1025 URL: https://issues.apache.org/jira/browse/TAP5-1025 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.2 Reporter: Sven Homburg If i access a page the first time, the pageloaded method NOT executed. if i access the same page the second time, the pageloaded method executed. if i access the same page the third time, the pageloaded NOT method executed. if i access the same page the fourth time, the pageloaded method executed. and so on -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-1025) PageLoaded-Method executed only after every second page load
[ https://issues.apache.org/jira/browse/TAP5-1025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12836825#action_12836825 ] Sven Homburg commented on TAP5-1025: shame on me! i wrote pageLoaded but i mean setupRender i don't see the forrest because there are so many trees! PageLoaded-Method executed only after every second page load Key: TAP5-1025 URL: https://issues.apache.org/jira/browse/TAP5-1025 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.2 Reporter: Sven Homburg If i access a page the first time, the pageloaded method NOT executed. if i access the same page the second time, the pageloaded method executed. if i access the same page the third time, the pageloaded NOT method executed. if i access the same page the fourth time, the pageloaded method executed. and so on -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (TAP5-1025) PageLoaded-Method executed only after every second page load
PageLoaded-Method executed only after every second page load Key: TAP5-1025 URL: https://issues.apache.org/jira/browse/TAP5-1025 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.2 Reporter: Sven Homburg If i access a page the first time, the pageloaded method NOT executed. if i access the same page the second time, the pageloaded method executed. if i access the same page the third time, the pageloaded NOT method executed. if i access the same page the fourth time, the pageloaded method executed. and so on -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (TAP5-1026) since revision 911470 behavior of @IncludeJavaScriptLibrary breaks previous rule
since revision 911470 behavior of @IncludeJavaScriptLibrary breaks previous rule Key: TAP5-1026 URL: https://issues.apache.org/jira/browse/TAP5-1026 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.2 Reporter: Sven Homburg since revision 911470 behavior of @IncludeJavaScriptLibrary breaks previous rule If i create a component that included some javascript code via @IncludeJavaScriptLibrary i must tell @IncludeJavaScriptLibrary the complete package name to read the javascript file even if that file resist in the same package as the component. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.