change @Import(module = { "mymodule.js",}) to @Import(module = {
"mymodule"})
--
Chris
On Fri, Jul 1, 2016 at 4:31 AM, Claude Andrew wrote:
> I just upgraded to 5.4.1 from 5.3. I am switching my js libraries to
> requirejs modules. Following the guide at
> http://tapestry.apache.org/javascri
check mvn dependency:tree to see what is actually resolved
--
Chris
On Thu, Jun 30, 2016 at 10:52 PM, Qbyte Consulting <
qbyteconsult...@gmail.com> wrote:
> Here are the effective dependencies:
>
>
>
> org.apache.tapestry
> tapestry-core
> 5.4.1
> compile
>
assets are usually in a specific path (resources/META-INF/assets/...) -
Could it be that your file is not an asset and that it should be loaded
using normal methods (classloader.getResourceAsStream or similar)
--
Chris
On Thu, Jun 30, 2016 at 8:23 PM, Thiago H de Paula Figueiredo <
thiag...@gmai
The tapestry sources are tested using selenium.
On Thu, Jun 30, 2016 at 5:31 PM, Qbyte Consulting wrote:
> Hi,
>
> Are there any Tapestry sample projects around with Selenium and/or Cucumber
> tests?
>
> thanks,
> John
>
I just upgraded to 5.4.1 from 5.3. I am switching my js libraries to
requirejs modules. Following the guide at
http://tapestry.apache.org/javascript-modules.html, I placed my module
files in 'src/main/resources/META-INF/modules' and included one in a page's
java class:
@Import(module = { "mymodul
I just upgraded to 5.4.1 from 5.3. I am switching my js libraries to
requirejs modules. Following the guide at
http://tapestry.apache.org/javascript-modules.html, I placed my module
files in 'src/main/resources/META-INF/modules' and included one in a page's
java class:
@Import(module = { "mymodul
Here are the effective dependencies:
org.apache.tapestry
tapestry-core
5.4.1
compile
org.testng
testng
5.14.10
test
org.easymock
easymock
3.0
test
org.apache.tapestry
tapestry-te
On Thu, 30 Jun 2016 13:13:23 -0300, Qbyte Consulting
wrote:
Hi,
Hi!
I've changed my project deps to T5.4. After fixing some depricated page
link methods my app compiles. However when I run I get exceptions from a
menu loading service:
is = assetSource.getClasspathAsset("menu.properties")
On Thu, 30 Jun 2016 13:47:31 -0300, Qbyte Consulting
wrote:
I got jetty:run to launch the app, but when requesting the home page:
HTTP ERROR 500
Problem accessing /audit/. Reason:
Server Error
Caused by:
java.lang.AbstractMethodError
This very probably means you have mixed Tapestry
I got jetty:run to launch the app, but when requesting the home page:
HTTP ERROR 500
Problem accessing /audit/. Reason:
Server Error
Caused by:
java.lang.AbstractMethodError
at
org.apache.tapestry5.internal.services.ajax.JavaScriptSupportImpl.getModuleNameToStackName(JavaScriptSupportImpl.j
Hi,
I've changed my project deps to T5.4. After fixing some depricated page
link methods my app compiles. However when I run I get exceptions from a
menu loading service:
is = assetSource.getClasspathAsset("menu.properties").getResource()
.openStream();
} catch (RuntimeException e) {
final String
Hi,
Are there any Tapestry sample projects around with Selenium and/or Cucumber
tests?
thanks,
John
Ok, thanks for the heads-up, I added it to the constraint.
Nathan
On 30/06/16 17:10, Chris Poulsen wrote:
btw the modules path can be both "modules" and "modules.gz" depending
on various things.
On Thu, Jun 30, 2016 at 4:35 PM, Nathan Quirynen
mailto:nat...@pensionarchitects.be>> wrote:
btw the modules path can be both "modules" and "modules.gz" depending on
various things.
On Thu, Jun 30, 2016 at 4:35 PM, Nathan Quirynen <
nat...@pensionarchitects.be> wrote:
> Hey Chris,
>
> Yeah, that's the only option I've found until now using following check as
> you said:
>
> if( ! (path.s
Hey Chris,
Yeah, that's the only option I've found until now using following check
as you said:
if( ! (path.startsWith("/assets/") || path.startsWith("/modules.gz/")) ) {
// add headers
}
Hope I got everything covered by this, but it's at least an improvement
as how it was before (cach
check the path? (asset paths usually contains "/asset/" and module paths
contains "/modules/")
On Thu, Jun 30, 2016 at 11:55 AM, Nathan Quirynen <
nat...@pensionarchitects.be> wrote:
> Is there any way to know in a Request filter if it is a page request (not
> a request to some asset).
>
> I thou
Is there any way to know in a Request filter if it is a page request
(not a request to some asset).
I thought doing the following:
PageRenderRequestParameters parameters =
linkEncoder.decodePageRenderRequest(request);
if (parameters == null) {
// not a page request
}
But it seems that
I guess using t:add is OK as long as the grid is not performing operations
where it needs to access the property in the data source (for operations
like sorting/filtering).
Generally speaking we (@work) almost always end up using bean models,
except in the most simple cases.
--
Chris
On Thu, Ju
Thanks for the pointers, creating a BeanModel and adding my extra columns to it
sounds like the right way to go. As an emergency solution for now I'm just
going through all grids and adding the t:add columns into t:excludeSort in
order to avoid the crashes on sorting. Then I will work on the act
19 matches
Mail list logo