Hi there,
Do you have a copy of "Tapestry in Action" gathering cobwebs on your
shelf? Do you remember when a .page file wasn't just a good idea, it
was the law? Have you had to supply IoC to Tapestry the old-fashioned
way -- via Spring?
If so, I may have a job for you.
For three years, I've been
Thanks for this Howard. Following from your reply I believe is reasonably
safe to assume that the final release of T5 will be no later than March or
April 2008.
Thanks again for your prompt reply
Petros
Howard Lewis Ship wrote:
>
> Unfortunately, I'm going to only be working on Tapestry part
Hi!
Tonight I upgraded a project, which uses heavily Spring beans, to Tapestry
5.0.6. Dutifully I updated the imports to the now one and only @Inject from
Tapestry IoC. But ... NPEs are now showing up all over the place, because
somehow the Spring beans don't get inject anymore.
Has something in
Hi,
Where can I find documentation on ComponentResources? Thanks.
A.C.
--
View this message in context:
http://www.nabble.com/T5%3A-Doc-for-ComponentResources-tf4694900.html#a13420092
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
Bingo - worked like a charm. IMO this should be core functionality in
Tapestry; it is part of the Servlet spec after all. My web.xml contains:
--
tapestry.app-package
com.myapp.web.tapestry
Tapestry doesn't cache the value, so every link (one for the form, plus one
for each PageLink or ActionLink component that renders) will re-invoke
onPassivate().
On 10/25/07, Nick Westgate <[EMAIL PROTECTED]> wrote:
>
> Depends on what's in your page.
>
> onPassivate is called to build the context
I solved this problem by changing from an OpenSessionInViewInterceptor to an
OpenSessionInViewFilter. There is negligible performance impact because the
filter doesn't open a DB connection unless it needs to, as pointed out
elsewhere in this post.
--
View this message in context:
http://www.nabb
Maybe just change the line in appmodule to:
public RequestFilter buildTimingFilter(final Logger log)
and then add the import
import org.slf4j.Logger;
Personally I just downloaded a quick new quickstart archetype and copied
the new AppModule.java accross.
jblier wrote:
Hi Mike!
Before
Hi Mike!
Before your message I tried all your steps.
When starting the application in my browser, it did not find the root /myapp
and gave a 404 error. Although all my files were moved and renamed *.tml,
all inject annotations redone, etc.
By telling Maven to update the source folder, now I get
Hi,
What I had to do:
- change tapestry version in pom.xml from 5.0.5 to 5.0.6
- rename all pages and components to tml
- move pages (not components) to context root (the dir below WEB-INF)
- delete all Inject annotation import statements and let eclipse import the
new Inject
- upgrade log4j to
Having a real hard time trying out Tapestry 5, using some different
configuration as is mentioned on the website.
Anyone having some experience with the above mentioned combo?
Thx.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
This question may look simple for you but I ask it anyway.
What are the steps to upgrade a project from 5.0.5 to 5.0.6?
Do I just need to modify my web.xml file or the pom.xml file?
Yes, I know, once upgraded, I'll have to rename my pages .html files to .tml
and move them in webapp.
Thanks in
On Thu, 25 Oct 2007 17:35:15 -0200, Howard Lewis Ship <[EMAIL PROTECTED]>
wrote:
Unfortunately, I'm going to only be working on Tapestry part time until
Q1, when I finally (keep fingers crossed) will be working on Tapestry
at least part of the time on salaried, not personal, time.
Mental
Unfortunately, I'm going to only be working on Tapestry part time until Q1,
when I finally (keep fingers crossed) will be working on Tapestry at least
part of the time on salaried, not personal, time.
Mentally, I'm deferring a number of things into the followon release, 5.1.
When will thing finali
Hello everyone,
When we try to do a logout by doing a RESTART of Service, by default
"_servletPath" goes to /app .
What is the way to over-ride this to simply "/" ?
Thanks,
Sunil
--
View this message in context:
http://www.nabble.com/Restart-goes-to-path-%22-app%22-tf4692935.html#a13413701
S
hi,
I am using Tapestry 4.0.2 and Tacos 4.0.1
I would like to know if there is a way to do auto refresh on some of the
components on a page and not the whole page. I want some data to be updated
on its own periodically. Any help will be appreciated.
Thanks.
--
View this message in context:
htt
OK. As promised. Here is the code that I believe is required to
support what you want. Be aware that I have not actually used this nor
tested this, but did double check everything against eclipse as I went.
Two classes, and a contribution to the Ioc Module of your choosing.
Then whenever you r
Just for record, I have a similar issue using null Date values inside the
Grid component using 5.0.7-SNAPSHOT. In my case, the value must be null and
when this happens i get an unintelligible tapestry exception saying that it
"Cannot format given Object as a Date" somewhere inside the tapestry code
Hi there,
components collection release 0.4.0 is accessable now
at http://code.google.com/p/tapestry5-components/
(requiers tapestry 5.0.6)
more information at
http://code.google.com/p/tapestry5-components/wiki/ChangeLog
--
with regards
Sven Homburg
You are right Alejandro, it's the bug you report for this problem.
Then I have another problem I've written in another message and
still another one having to do with polimorphism: apparently passing a
concrete class implementing an interface A to a binding accepting A
objects throws a ClassCastExc
Michael Gerzabek wrote:
+1
Created a jira entry: https://issues.apache.org/jira/browse/TAPESTRY-1859
--
Ognen Ivanovski | [EMAIL PROTECTED]
phone +389 -2- 30 64 532 | fax +389 -2- 30 79 495
Netcetera | 1000 Skopje | Macedonia | http://netcetera.com.mk
---
Michael Gerzabek wrote:
+1
Walking through a custom written component in T5 is like a day in
Alice's world. Magic where ever you look. From user perspective there
needs to be a little support in debugging.
:) Exactly!
--
Ognen Ivanovski | [EMAIL PROTECTED]
phone +389 -2- 30 64 532 | fax
I really need to know the realistic T5 final release. I don't mind if the
answer is the end of 2008 but I need to have an answer. I still believe that
T5 is the BEST framework out there, but in my case this is not the most
important factor. The answer to my question above will assist me to manage
So the answer is: No Tapestry does not support that case out of the box yet.
http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html
You can see there how Tapestry handles different return types, and it
doesn't list what you are talking about. Myself, I like to call it
server-si
Is there already a solution to this, as I now have the very same problem (a
Double value that must be null if the value is empty and not 0 - but if
value is empty, an exception is thrown).
Btw, I just startet to use T5 and I'm realy blown away! It's amazing how
simple most things can be done! Ver
please see:
http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#transactions
Angelo Chen <[EMAIL PROTECTED]>
25.10.2007 15:52
Bitte antworten an
"Tapestry users"
An
users@tapestry.apache.org
Kopie
Thema
T5: Tapestry-Hibernate Concurrency management
Hi,
I hope my questio
Hi,
I hope my question is Tapestry related, in the C/S application we can open a
transaction, keep it there until commit, if two users are updating the same
record, one transaction will fail and program simply roll back the
transaction, easy to handle concurrency issue. in the Tapestry-Hibernate'
Hi,
I have a layout component that serves as the basic framework of my
application, now I'd like to render it in code , example, I'd like to
enclose "< a href=>Thanks you, click here to go back " in the layout's body
and the result can be returned to the browser thru return new
TextStreamResponse
I had a typo in my suggestion - happens with such long expressions I
guess ;)
I meant
selected="ognl:getTab().getSearchCriteriaSelections().get(currentFilterGroupIndex)[currentFilterIndex]"
Dom Couldwell wrote:
Tried Andy's work around but no joy (stack track below). Have raised another
JI
Tried Andy's work around but no joy (stack track below). Have raised another
JIRA (http://jira.opensymphony.com/browse/OGNL-131) yell if you need more
details.
Dom
2007-10-25 09:09:57,763, ERROR, [com.db.rdq.web.tapestry.html.RDQException],
line 22, org.apache.tapestry.BindingException
2007-10-25
hi angelo,
the ValidationTracker within the Form component stores field
values and error messages if a validation error occurs. this tracker
has the @Persist annotation applied and therefore saves
the field data with the error messages in the session. the data from
the tracker is then used to r
Hi Kristian,
Thanks for the reply, but why this one is retained:
> it is because of the way tapestry handles component requests!
>
>
--
View this message in context:
http://www.nabble.com/T5%3A-Select-won%27t-retain-value-when-it-rejects-by-the-server-tf4689919.html#a13405947
Sent from th
it is because of the way tapestry handles component requests!
if a component fires an action (from a submit or link or...) tapestry
will first resolve the action methods and invoke them. after the action
methods have been invoked tapestry determines the page the
component is located in and genera
+1
That's the same impression I have. My skills come from good old Java 1.4
days. These days I was able to solve any problem due to Eclipse and the
proper use of the debugger.
Walking through a custom written component in T5 is like a day in
Alice's world. Magic where ever you look. From use
if you return a StreamResponse from your action method
tapestry will not do a redirect. you can render your page manually
and return its result.
i once posted some code snippets you might find useful
http://www.nabble.com/T5-selective-rendering-tf3815678.html#a10849354
g,
kris
Christian Gorba
You need to inject the IEngineService that you're intertested in
(page or external in your case) and call getLink on it
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/engine/IEngineService.html
@InjectObject("engine-service:page")
public abstract IEngineService getPageS
Hi,
I have a simple form as follows, if it can not pass onValidate, errors were
shown, and the value in the 'Name' field was retained, but the 'Gender' will
not retain the selected value, always goes back to blank unless I declare
gender field @Persist, why? Thanks.
Hi all,
I am trying to create a link to another page through a component. The
problem is that i'm trying to achieve this programmatically, from the
renderComponent method of the component. I couldnt' figure out so far how to
create this in an html page and render it. So the thing is: how to create
it's indeed a redirect. so it seems no real serverside page delegation is
possible without custom contributions.
Stephan Schwab wrote:
>
>
> Christian Gorbach wrote:
>>
>> is it possible to implement a dispatcher/delegate page which is able to
>> forward to another known page class if busines
Hi,
New to this form editing in T5, would like to have some ideas from other
gurus in the list:)
I observe that when page is displayed first time, onActivate and getters of
attribute are called, when form is submitted, onActivate is called again and
setters are called as well, onSuccess follows,
I've got the rounded service encoded to the path /rounded by contributing
to the tapestry.url.ServiceEncoder configuration-id. The exact line in my
hivemodule.xml is . I now want to get the path the service is encoded to
programmatically in a component class but I can't see how. Any ideas?
Uli
-
I've got the rounded service encoded to the path /rounded by contributing
to the tapestry.url.ServiceEncoder configuration-id. The exact line in my
hivemodule.xml is . I now want to get the path the service is encoded to
programmatically in a component class but I can't see how. Any ideas?
Uli
-
Depends on what's in your page.
onPassivate is called to build the context for a link.
Cheers,
Nick.
Angelo Chen wrote:
Hi,
I did a test, when a page with a form is displayed, it has one onActivate
call but more than 10 onPassivate call in my test case, why?
A.C.
-
Hi,
I did a test, when a page with a form is displayed, it has one onActivate
call but more than 10 onPassivate call in my test case, why?
A.C.
--
View this message in context:
http://www.nabble.com/T5%3A-Multiple-onPassivate-tf4689187.html#a13401834
Sent from the Tapestry - User mailing list
Thanks very much Alejandro. I will go and try it.
Thanks very much :)
On 10/25/07, Alejandro Scandroli <[EMAIL PROTECTED]> wrote:
> Hi Joshua
>
> You can do something like this:
>
>public void click(IRequestCycle cycle)
>{
>Locale locale = [YOUR LOCALE HERE]
>
Hi Joshua
You can do something like this:
public void click(IRequestCycle cycle)
{
Locale locale = [YOUR LOCALE HERE]
getPage().getEngine().setLocale(locale);
// pages already loaded stay in the old locale, so to show that the
locale has changed th
46 matches
Mail list logo