Hi,
If I am writing a service which does not require any other tapestry modules,
I can simply use TestNG to do some testing on the class, but if the service
requires Tapestry-hibernate, then how can I test it? I have to start from a
page then goes to the service using pageTester? thanks for shar
I'm running into a problem with validators in T4. I have a situation where I
sometimes need to validate a field on a form, but only if another field on
the same form has a certain set of values. For example, a "ship quantity"
field on an order form is only required if the order delivery method is
"
in the step 3 if the specific page would to render the next link, what
is the purpose of the WEBFLOW?
isn't the WEBFLOW'S responsibility to take care of the page navigation??
well i guess the purpose of having such a concept of WEBFLOW is to
decouple the Page presentation from the page navigat
Dear all,
Is there a message component in T5? Usually I use this in struts to
display message after succession upon one process. What I've found is
only the t:errors component.
Thanks in advance.
--
I'm a coder not a drag-n-dropper
Blog: http://joshuajava.wordpress.com/
--
Hi Jeffrey,
do you meant the third party URLRewriter, http://tuckey.org/urlrewrite/
this one?
jeffrey ai wrote:
>
> Angelo,
>
> You could use URLRewriter to do this job for you. For details, pls see my
> post at the following thread:
> http://www.nabble.com/url-rewriting-in-Tapestry-5-to128
Martin,
I agree with you...I think I initially tried gcj, but quickly gave up
and switched to sun's jdk. I've used jdk 1.5 and 1.6 both, and haven't
noticed issues with either one.
Andy
On Thu, 2007-12-20 at 17:39 +0100, Martin Ågren wrote:
> > I'm on Debian Lenny also, and I haven't had any i
Hello all,
is it possible to contribute a TypeCoercer at runtime for a class
generated with ClassFactory?
And another question: Could some please give me an extended example
how to use the Strategy Pattern. (i already read http://tapestry.formos.com/nightly/tapestry5/tapestry-ioc/strategy.h
I like the idea of web-flow like yours. It's not as complicated as
Spring Webflow which involves a helluava xml. I hope tapestry5 would
adopt your idea.
Cheers.
On 12/21/07, jeffrey ai <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> As you may know or not, T5 doesn't have a web flow framework like the
On 12/20/07 5:51 PM, in article
[EMAIL PROTECTED], "Jesse Kuhnert"
<[EMAIL PROTECTED]> wrote:
> In theory it will take all the arguments to the client side function
> (including the javascript event, which should have a
> target/relatedTarget/etc attribute attached to it) and serialize them
> in
Yeah, I'm not convinced either. Also, ApplicationState for instance should
probably be stored outside of the context of a conversation as well...
Josh
On Dec 20, 2007 2:03 PM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> you are right, that is more usefull.
>
> instead introducing conversation to fiel
Really, please. I try to stay as nice/professional as I can here
but this is getting silly.
Please post just "ONE" email message per topic if at all possible.
Obviously there are normal circumstances where it makes sense to do it
but almost always replying to your own email with two or more fol
Heh...If it were correctly not submitting the form I'm still not sure
if you'd be able to figure out what the value bound to the checkbox
is.
Marcus did add something semi - recently that may actually give you
what you want. If your BrowserEvent object has a
getMethodArguments() method then you
I found this...
http://www.nabble.com/-jira--Created-3A--28TAPESTRY-1914-29-Nightly-build-broken-inside-quickstart-module-to13777115.html
Someone too lazy to update the tags?
Best regards Ken in nashua
From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: T-4.1.3 build failure...mojo
descriptors found
Any help appreciated...
O reset my local repo and checked out fresh T-4.1.3 tag branch and attempted to
build.
[INFO] [plugin:descriptor][INFO] Using 2 extractors.[INFO] Applying extractor
for language: java[INFO] Extractor for language: java found 0 mojo
descriptors.[INFO] Applying extract
Hi,
I've just finally gotten back around to messing with the T4 async stuff.
The first thing I wanted to try was a simple shipping/billing info wizard
where clicking a checkbox labeled "same shipping info" would grab the
shipping info and populate the form on the billing info page.
Generally I ha
you are right, that is more usefull.
instead introducing conversation to field level,
it should be set at page/component level.
flash is I suppose already session specific and should be
also conversation specific,
but I'm still not convinced that something should be done to
those that explicitly
Thanks Howard!
Even when didn't understand my explantion ;) your hint for
ClassFactory worked. Before i created the bean class with plain
javassist and so bypassed the tapestry classloader i think. With
ClassFactory it works.
I think i have to take a much deeper look in to the docs then i
Hi,
will it be possible to use in this case BeanEditForm with component
Select ?
Something like this:
Sylwek
--
View this message in context:
http://www.nabble.com/T5-%3A-select-component-in-a-form-didn%27t-show-the-selected-value--EDIT-MODE--tp14414479p14445453.html
Are you running inside an application server?
You want need to configure javassist to use the context classloader.
See http://blog.progs.be/?p=52
Kind regards,
Joachim
Tandel Sascha <[EMAIL PROTECTED]> wrote:
> Hello all,
>
>
> First of all i'm using Tapestry 5.0.7.
>
> In a project i have
I'm having trouble getting a handle on what you are trying to
accomplish, and where you have gone wrong. Generally, when creating
entirely new classes, you do this by injecting the @ComponentLayer
ClassFactory service.
On Dec 20, 2007 10:58 AM, Tandel Sascha <[EMAIL PROTECTED]> wrote:
> Hello al
Hi Kaspar,
you are right OGNL bytecode compilation is enabled in all Tapestry-versions
>= 4.1.2.
As far as I can see, the performance improvements will be substantial for
high-volume public sites where server-cpu load is a performance-bottleneck.
If you are not satisfied with rendering times in sin
Hello all,
First of all i'm using Tapestry 5.0.7.
In a project i have to generate beans for use in grid and beanEditor
on the fly because the underlying class ist not a bean. The with
javassist generated bean simply delegates all calls. To use this bean
as source for the grid component i
Congratulation Andy, I still think tacos is a must for tapestry users
and look forward for tapestry 4.1.4/dojo 1.0 upgrade
On Dec 19, 2007 8:10 PM, andyhot <[EMAIL PROTECTED]> wrote:
> Hi,
> the new tacos release (4.1.1) is already deployed at maven's central repo.
>
> Details are at http://taco
Hi All,
As you may know or not, T5 doesn't have a web flow framework like the Spring
one yet. Howard mentioned he may add it in the next release. However, our
project cannot wait for that, therefore I have created a simple one on T5.
Here is the general idea, your comments are **GREATLY APPRECIAT
Hi Alex,
A delegate component is used to render a block component.
I don't believe you are going to be able to find a general way to grab any
component from your project and dynamically stick it in the page. Read
Principle 1 -- Static Structure, Dynamic Behavior on
http://tapestry.formos.com/nigh
Hello,
I think Flash persistence would also want to be in the context of the
conversation, otherwise couldn't messages show up in the second window that
were intended for the first (perhaps with a slow connection to the server?)
Without having spent much time thinking about this (and never having
Angelo,
You could use URLRewriter to do this job for you. For details, pls see my
post at the following thread:
http://www.nabble.com/url-rewriting-in-Tapestry-5-to12823397.html#a12823397
Cheers,
Jeffrey Ai
Angelo Chen wrote:
>
> Hi,
>
> T5's url is nice looking, however I have a need to ha
Homburg,
I noticed the same problem too. If you have a normal cancel button in a T5
form as your save button, a post request will be sent back to the page to
go through the validation method and even onSuccess() method.
My solution to this problem is to create an ActionLinkButton component. It
> > I suppose your page implements IExternalPage?
>
> You mean that I create a single Tapestry class implementing
> IExternalPage, right? All my (variably many) pages use this
> class. Correct?
Yes.
>
> > If you seed you page/app with external parameters which you
> need later
> > on, in s
congratsOnTheNewRelease++;
Thank you Andreas, excellent work.
--
Alejandro Scandroli
Amneris: We build process-driven web applications.
http://www.amneris.es
On Dec 20, 2007 3:22 AM, Kalle Korhonen <[EMAIL PROTECTED]> wrote:
> Congrats on the new release, excellent job once again!
>
> Kalle
>
>
> I'm on Debian Lenny also, and I haven't had any issues. Although I
> believe I was on T5.0.5 when I installed the quickstart, not 5.0.6.
>
> Andy
>
> On Wed, 2007-12-19 at 17:38 +0100, Martin Ågren wrote:
> > Hi,
> >
> > It surprises me not having heard about this yet, so I might be doing
> > s
goto Project Settings
and add a new "Web Resource Directory"
best regards
S.Homburg
[EMAIL PROTECTED] schrieb:
During development I would like to access/use images that are on a network
drive (e.g. f:\images) as I dont have enough space on my harddisk.
How can I tell Tapestry that it fin
try:
public static void contributeMasterDispatcher(...)
{
configuration.add("LocaleDispatcher",
localeDispatcher,"before:PageRender");
configuration.add("anotherserviceid",anotherservice,"before:LocaleDispatcher");
}
this is the reason why you have to provide an id... then you can apply
be
Hi Howard,
If I want to add another Dispatcher before the one I just added, how to do
that? I already have this:
public static void
contributeMasterDispatcher(OrderedConfiguration configuration,
@InjectService("LocaleDispatcher") Dispatcher
localeDispatcher) {
System.ou
Thanks Peter and Marcelo,
your tip works, for the intended page, it is request.getPath().
A.C.
Peter Stavrinides wrote:
>
> response.sendRedirect(arg0), a redirect should not be used for an error
>
>
--
View this message in context:
http://www.nabble.com/T5%3A-redirect-page-in-a-Dispatch
I can certainly look in to it some but I don't think that this is the same
problem. The class in question is another generated class that should
theoretically have been generated by the same javassist instance pool that
everything else is done in. This has come up before but I've never been
abl
Hi Andy
The issue It's not the "caching" mechanism, it's the ognl to bytecode compiler.
Don't worry it's easy to fix.
Create a common "interface" with the "getSomeProperty" method and make
all your pages implement that interface.
That should be all.
--
Alejandro Scandroli
Amneris: We build proces
The following example is clear:
Baz
But what about the Java code? How do you get a list of selected objects back?
The checkboxes are not mapped to anything ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
Hi Angelo,
I use the sendRedirect, like peter said, instead of throw a
RuntimeException:
response.sendRedirect(request.getContextPath() + "/start");
if you want to execute a method on the page, you should try something like
"/start.init/STRING_VALUE". You must have a init(String arg) waiting on t
Dear Marcus,
First of all, thanks a lot for your reply!
I am not sure whether I understand what you say. I have a variable
(and huge)
number of actual pages. (In fact, each is coming from a DB entry.)
Because the
number is variable, I chose to implement a *single* Tapestry page
class for t
Hi Angelo,
You already have the request and response object what else would you
need? the Dispatcher example is great, but a changed a few lines, for
errors I use: response.sendError(401, "Authentication failed") instead
of the exception which I feel is not appropriate,for a redirect you
coul
Hi Andreas,
On 20.12.2007, at 11:36, Andreas Pursian wrote:
How can I use a DirectLink on a page that depends on a parameter, for
instance of, on a page like this
http://my.org/app?page=Article&id=27
So if i got the point, you just want to create a link that refers to a
special article wic
Dear list,
I am confused about the status of OGNL that comes with Tapestry 4.1.3.
I read on
http://blog.opencomponentry.com/2007/01/14/new-ognl-release-on-the-
horizon-its-faster
that bytecode compilation has been implemented for OGNL and that this
is in Tapestry 4.1.2 already.
* Is this t
Hello,
I would like to render a component that would be chosen from it's name
(a String).
Something like:
In the enclosing component I would have:
public String getMyComponentName()
Which returns the name of a component in my project. It would be
instantiated and the parameters (param1
I have a compomen "ItemDetails" which is used in many pages. In the
component's template there is an ognl expression like
"ognl:page.someProperty".
Unfortunatly this expression is cached (I think). page always evaluates
to the first page that I opened after deployment. On the other pages a
During development I would like to access/use images that are on a network
drive (e.g. f:\images) as I dont have enough space on my harddisk.
How can I tell Tapestry that it finds "localhost:8080/images/image.gif"
here "f:\images\image.gif" ?
---
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Kasper,
> How can I use a DirectLink on a page that depends on a parameter, for
> instance of, on a page like this
>
> http://my.org/app?page=Article&id=27
So if i got the point, you just want to create a link that refers to a
special article w
Hello,
I have noticed that, when i refresh portlet page from browser, the render
event is not fired. How can i force portlet to rerender. My portlet view is
dependant on database information which is changed constantly so i need
somehow to render portlet every time the database information is
Kristian Marinkovic wrote:
hi davor,
Hi,
Sorry I jump in the thread,
you're right... "flash" will be an excpetion :)... the problem is that if
you use components (libraries) of other teams or third party components that
persist values in the session you still want to be able to use it in a
I suppose your page implements IExternalPage?
If you seed you page/app with external parameters which you need later
on,
in subsequent requests, store them in page/component properties marked
as
@Persist-ent.
> -Original Message-
> From: Kaspar Fischer [mailto:[EMAIL PROTECTED]
> Sent: We
hi davor,
you're right... "flash" will be an excpetion :)... the problem is that if
you use
components (libraries) of other teams or third party components that
persist
values in the session you still want to be able to use it in a
conversation without
changing the component.
making it easy
It seems you are trying too hard to fix user mistakes,
a developer using the conversation persistence strategy must be aware of it
and code accordingly. Forcing a specific persistence strategy can also cause
undesired behaviours (for example error messages that use @Persist("flash"))
these are ju
hi filip,
@Meta("tapestry.persistence-strategy=conversation") only works if the
@Persist annotation does not specify a strategy. I want to override the
strategy even if
the developer has set it to a specific strategy so whenever a
conversation is started
the values of all persistent fields
53 matches
Mail list logo