Well I got the gallery component wrapped in a form so I think I need to
probably actually perform a submit...
So I rigged up my handlers and did the submit...
Still no luck... select keep reverting back to default on refresh
@Persist("session")
@Property(read = true, write = true)
//@Parameter(required = true, cache = true, defaultPrefix = "50")
private int itemsPerPage;
This is what I have so far...
Nothing gets persisted...
blue in the face
Any suggestions ?
Thank You
Home.java:
@Property
@Persist
private int itemsPerPage;
Gallery.java:
@Parameter(required=true, cache=true, value="50")
@Property
private int itemsPerPage
Gallery.tml:
You've got "defaultPrefix" set as "50". Default prefix refers to the default
interpretation of a bound value. The defau
Well I got rid of defaults and ran it...
My home page contains a gallery component
I have a button rigged on my browser set to
http://localhost:8080/Home
I clock the launch button set to the above URL
The page comes up... and I see the first element in the visible
So I change the value of th
Also wondered why @Parameter could not do the job...
way I see it is components take parameters... and I wanted to adhere to that...
but every time I hit refresh button I lose my state.
Thanks Steve...
I am trying that...
There is no way to set default value though...
Error persisting field Home:gallerywidget:itemsPerPage: Persistent
fields may not be updated until after the page has finished loading.
This may be due to a persistent field with a default value. The default
Is tapestry-yuicompressor on the classpath?
On Tue, Sep 13, 2011 at 4:28 PM, Joe Klecko wrote:
> Hi All,
>
> When my app is running in production mode, I don't see my scripts/css being
> combined/minified. They are still included as individual files. Oddly, I do
> see the tapestry scripts being
I have updated the wiki with the information on how to use Stateful session
beans within Tapestry. @EJB annotation will not work correctly with Statefull
session beans. Only stateless ones.
On Sep 13, 2011, at 7:38 PM, Chris Mylonas wrote:
> Thanks a lot Geoff!
>
> As soon
Thanks a lot Geoff!
As soon as I can sort out my little bugs atm (in EJB3 stuff) I can't wait to
give the new @EJB support in tapestry.
A few months ago I was having some jndi lookup problems with using your old
business services locator way and didn't end up sorting it out.
Ye
Sorry for accidentally hijacking the thread. I thought changing the subject
would be enough to disassociate from the thread - it seems not.
Tks for the pointer,
Szemere
On 13 Sep 2011, at 22:21, Geoff Callender wrote:
> ...and please try not to hijack threads - start a new thread when changin
Hi All,
When my app is running in production mode, I don't see my scripts/css being
combined/minified. They are still included as individual files. Oddly, I do
see the tapestry scripts being combined/minified though.I tried manually
configuring this in my AppModule with no luck with the follo
...and please try not to hijack threads - start a new thread when changing the
subject :-)
On 14/09/2011, at 7:17 AM, Geoff Callender wrote:
> Sure. The JumpStart site is hosted on JBoss. See:
>
> http://jumpstart.doublenegative.com.au/jumpstart5.4/tips.html
>
> and see "Running Tapestry
Sure. The JumpStart site is hosted on JBoss. See:
http://jumpstart.doublenegative.com.au/jumpstart5.4/tips.html
and see "Running Tapestry on JBoss" in:
http://wiki.apache.org/tapestry/Tapestry5HowTos
Cheers,
Geoff
On 13/09/2011, at 10:49 PM, Szemere Szemere wrote:
> Has anyon
What are you building with ... if the Maven pom.xml files are still
present, they are not being maintained and may have issues.
On Tue, Sep 13, 2011 at 10:14 AM, Jon Williams
wrote:
> Hi Y'all,
>
> I am trying to build the Tapestry trunk in Idea and am running into 2
> issues.
>
> 1. Compile time
Lucky gradle user :)
I had this problem with the beta5.
with beta6 from the trunk, it works well.
Regards
François
2011/9/12 Steve Eynon :
> Oh, you mean my "build.gradle" !!? :)
>
> Actually, where I am right now it's the ivy.xml - it looks like:
>
> rev="5.3-beta-5" conf="compile"/>
>
> But it
On Tue, 13 Sep 2011 15:06:46 -0300, Alfonso Quiroga
wrote:
Just one thing to add, now I'm using spring integration, be carefoul
with objects in the "base" package, I think Tapestry treats this
package in a special manner. I've tried to instantiate this objects
via spring, I could, but then I
You should probably take a look at the following section of the docs:
http://tapestry.apache.org/component-classes.html#ComponentClasses-ComponentPackages
--
Regards Chris
On Tue, Sep 13, 2011 at 8:06 PM, Alfonso Quiroga wrote:
> Just one thing to add, now I'm using spring integration, be care
Has anyone got a tapestry app working successfully on JBoss7?
We've been trying to port our Tapestry app that works nicely on JBoss4. Or
current issue is that browser request seem to make it through to Tapestry (we
can see TimingFilter results in the log) but nevertheless we get a JBoss style
4
IT WORKS now!! Thanks Steve, that was the problem, my old declaration:
app
org.apache.tapestry5.TapestryFilter
app
org.apache.tapestry5.spring.TapestrySpringFilter
that is WRONG, it was neccesary only the last one.
Thanks!!
On Tue, Sep 13, 2
Just one thing to add, now I'm using spring integration, be carefoul
with objects in the "base" package, I think Tapestry treats this
package in a special manner. I've tried to instantiate this objects
via spring, I could, but then I had some cast problems.
On Tue, Sep 13, 2011 at 2:51 PM, Alfonso
Um, it's not about changing the filter name - just ensure this filter
(and only this filter) is defined:
app
org.apache.tapestry5.spring.TapestrySpringFilter
app
/*
Delete any references to the normal 'TapestryFilter'.
(I would send over our web.xml for comp
I can't resist...
http://vincnetas.tumblr.com/post/1130542373/stack-trace-or-gtfo
:)
Steve.
On 14 September 2011 01:34, Thiago H. de Paula Figueiredo
wrote:
> On Tue, 13 Sep 2011 12:50:44 -0300, Alfonso Quiroga
> wrote:
>
>> "No service implements the interface
>> org.springframework.contex
I changed the name but the error is the same:
[ERROR] TapestryModule.ApplicationInitializer Construction of service
ApplicationInitializer failed: Error invoking service builder method
org.apache.tapestry5.services.TapestryModule.buildApplicationInitializer(Logger,
List) (at TapestryModule.java:14
On Tue, 13 Sep 2011 12:50:44 -0300, Alfonso Quiroga
wrote:
"No service implements the interface
org.springframework.context.ApplicationContext"
Full stack trace please.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructo
Unless I'm mistaken I'm seeing you define both T5 filters in the
web.xml with the name 'app'. You only need / should define the Spring
one.
Steve.
On 14 September 2011 01:13, Alfonso Quiroga wrote:
> Hi, yes, I followed that guide, with no results. My web.xml is this:
>
> PUBLIC "-//Sun
Hi Y'all,
I am trying to build the Tapestry trunk in Idea and am running into 2
issues.
1. Compile time checking can't find selenium.getCssCount method.
2. There is a circular dependency between tapestry-ioc and taperstry-json.
thanks
Jon
Hi, yes, I followed that guide, with no results. My web.xml is this:
http://java.sun.com/dtd/web-app_2_3.dtd";>
example Tapestry 5 Application
tapestry.app-package
ar.lifia
contextConfigLocation
/WEB-INF/mySpring.xml
Muhammad Gelbana wrote:
>
> I solved the situation using a workaround. But I still couldn't
> efficiently run javascript when the block zone is updated.
> I tried using the javascriptsupport service but couldn't find a way to
> use it as it needs to be used in the "afterrender" event of the zone
Fortunately? EJB 3.1 is excellent and a pleasure to use.
On Sep 13, 2011, at 3:54 AM, Massimo Lusetti wrote:
> On Tue, Sep 13, 2011 at 12:30 AM, Geoff Callender
> wrote:
>
>> Thanks Francois. Always nice to hear that someone finds it useful.
>
> Never used EJB fortunately but Jumpstart is
Are you using the TapestrySpringFilter in your web.xml as described in:
http://tapestry.apache.org/integrating-with-spring-framework.html
???
We're using Spring (much to my dismay, mind) with Tapestry T5.2.6 (the
latest endorsed stable build) without a hitch. For us, everything
plugs together se
Well,
For me it works (Tap 2.5.6 Spring 3.0.6). Here is the relevant part of my
web.xml
log4jConfigLocation
/WEB-INF/log4j.properties
contextConfigLocation
/WEB-INF/applicationContext.xml
org.springframework.web.util.Log4jConfigListener
Decorating the RequestExceptionHandler service is not nearly as
elegant as writing an onException() handler for you loose the ability
to use ComponentEventResultProcessors. Instead you have to handle the
whole response yourself.
To differentiate between the different types of handlers seems
incon
Hi! I'm using tapestry 2.5.2, and tapestry-spring 2.5.2 too. I did the
few steps posted in the documentation. When I initialize the web
application I get this:
"No service implements the interface
org.springframework.context.ApplicationContext"
I've seen at least 3 threads in markmail and nobody
Geoff I find it really usefull the jumpstart, as I'm newbie in
tapestry I'm consulting it every time. really thanks
On Tue, Sep 13, 2011 at 9:15 AM, Muhammad Gelbana wrote:
> François and Massimo left nothing for me to say.
>
> Thanks a lot Geoff :)
>
> On Tue, Sep 13, 2011 at 9:54 AM, Massimo Lu
François and Massimo left nothing for me to say.
Thanks a lot Geoff :)
On Tue, Sep 13, 2011 at 9:54 AM, Massimo Lusetti wrote:
> On Tue, Sep 13, 2011 at 12:30 AM, Geoff Callender
> wrote:
>
>> Thanks Francois. Always nice to hear that someone finds it useful.
>
> Never used EJB fortunately but
Sorry,
I suppose this is the way in my module:
public void contributeIgnoredPathsFilter(Configuration conf) {
conf.add("{MY REGEXP PATTERN}");
}
thanks
On 09/13/2011 12:04 PM, Taha Hafeez wrote:
> Hi Nicola
>
> Have you looked into
>
> http://tapestry.apache.org/current/apidocs
It's an internal service class, is safe to use it? how do you configure
it in your module?
n.
On 09/13/2011 12:04 PM, Taha Hafeez wrote:
> Hi Nicola
>
> Have you looked into
>
> http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/internal/services/IgnoredPathsFilter.html
>
> You can p
You could try this code, someone else was ask this question.
$('yourZoneId').observe(**Tapestry.ZONE_UPDATED_EVENT, function() {
...
});
On Tue, Sep 13, 2011 at 3:53 AM, Muhammad Gelbana wrote:
> I solved the situation using a workaround. But I still couldn't
> efficiently run javascript
Thanks Christian,
In my subsequent reply that become separate thread, it was already corrected
by Thiago, still got the same result (still use US locale instead of what I
change in PersistentLocale). I give up with solution #2 and try solution #1
with success.
Thanks again Christian for your help
Hi Nicola
Have you looked into
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/internal/services/IgnoredPathsFilter.html
You can pass the patterns to be ignored by the tapestry filter.
On Tue, Sep 13, 2011 at 3:28 PM, Nicola Buso wrote:
> Hi all,
>
> is there a way in t5 to e
Hi all,
is there a way in t5 to exclude some resources from tapestry filter?
I have cases where I do not want tapestry to serve some resources,
because are resources not requested directly from tapestry pages.
Any suggestion? or can someone point me to the documentation where this
is explained?
On Tue, Sep 13, 2011 at 12:30 AM, Geoff Callender
wrote:
> Thanks Francois. Always nice to hear that someone finds it useful.
Never used EJB fortunately but Jumpstart is a must!... Thanks Geoff
--
Massimo
http://meridio.blogspot.com
Hi,
Not sure what it is exactly you want to achieve, for there a lot of
unnessacery annotations floating around in your code. To simply
persist the int variable from the select, the following works fine:
@Persist
@Property
private int itemsPerPage;
Items Per Page
Steve.
On
43 matches
Mail list logo