hi, ok, i will try to understand more tapestry, maybe i can help.
On 6/1/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
Just wanted to inject a simple reminder: Tapestry 5 is still an
alpha-level
product. It's still evolving. There are gaps in the functionality and in
the documentation.
I
BTW, i'm using Tapestry 4.0
On 6/1/07, Asim Khaja <[EMAIL PROTECTED]> wrote:
Hello,
I'm trying to write a generic dynamic property selection component
(specifically based on what country the user selects i want to with
javascript populate the states selection box). Is there already something
Hello,
I'm trying to write a generic dynamic property selection component
(specifically based on what country the user selects i want to with
javascript populate the states selection box). Is there already something
out there that does this?
My approach has been to basically work off of the Pro
Oh yeah, I had to manually install Itext into my repository using a
maven command. I am using it to write PDFs and it is not a required
Tapestry thing.
I have used maven 2.0.5 and 2.0.6 with great success. 2.0.6 was the
first version I had ever used.
One other thing, I have stopped using the m
I have tried to install 2 different Tapestry 5 examples using maven.
Always when I do the final mvn jetty:run I get:
Missing:
1) org.apache.tapestry:tapestry-core:jar:5.0.4-SNAPSHOT
Why is it missing and where do I get it from ?
Toby
---
you have to add the following maven repository:
true
tapestry-snapshots
http://people.apache.org/~hlship/tapestry-snapshot-repository/
On 6/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I have tried to install 2 different Ta
Daniel,
That's great. This works on my own machine. Haven't tested at work.
I actually edited your pom to conform with the package name
org.example.myapp.
Although I thought I might need maven 2.0.6 this actually failed with a
stack trace complaining about the settings class I think. I reverted to
I have tried to install 2 different Tapestry 5 examples using maven.
Always when I do the final mvn jetty:run I get:
Missing:
1) org.apache.tapestry:tapestry-core:jar:5.0.4-SNAPSHOT
Why is it missing and where do I get it from ?
Toby
---
Try simply
@Inject private UserAuthenticator _authenticator;
Also use the bind method instead of the buildUserAuthenticator.
I did it and explained it in this thread if you read it completely ;)
It's not more documented because it's an alpha project, as explained Howard
Lewis Ship in his last m
I used to use the InlineEditBox from tacos in 4.0 and have recently
upgraded to 4.1
The tacos component had a listener binding where I could update
changes to a persist property in my database. How is this
accomplished with the new InlineEditBox component in tap 4.1?
I am also using java 1.4 so
Joshua Jackson-3 wrote:
>
> On 6/1/07, vidrilon <[EMAIL PROTECTED]> wrote:
>>
>> Did i understood well?? Could you make it work?
>>
>> I'm also having the same problem, i have created another module,
>> UserAuthenticatorModule for validating
>> a login form, but have the same message:
>>
>> No
Just wanted to inject a simple reminder: Tapestry 5 is still an alpha-level
product. It's still evolving. There are gaps in the functionality and in
the documentation.
I'm very heartened by so many people wanting to preview Tapestry 5 but just
remember it is a preview and an early one. It's com
Hey,
I just tried to reload my old Tapestry 3.0.3
application onto Tomcat5.5. Everything is working
except for some javascript components like Palette and
DatePicker. I get the following error:
org.apache.tapestry.ApplicationRuntimeException
Unable to parse script
classpath:/org/apache/tapestr
Perfect. I guess I should have figured that out on my
own. Thanks!
--- Jacob Bergoo <[EMAIL PROTECTED]> wrote:
>
> Hi Robert,
>
> try using:
> throw new PageRedirectException(YourPageName);
>
> cheers,
> Jacob
>
>
>
> Robert Breidecker-2 wrote:
> >
> > In the pagebeginerender event of a
Hi Robert,
try using:
throw new PageRedirectException(YourPageName);
cheers,
Jacob
Robert Breidecker-2 wrote:
>
> In the pagebeginerender event of a page I would like
> to redirect to another Tapestry page. I am trying to
> do this by getting a page and activating it, however,
> this doesn'
In the pagebeginerender event of a page I would like
to redirect to another Tapestry page. I am trying to
do this by getting a page and activating it, however,
this doesn't work and I end up on the original page
that was being rendered in the first place.
Has anyone tried to do this?
Thanks,
Rob
My intention is a bit different from user specific needs.
What I want is to create a single page application and changing the
shape of it putting jars into the war (more or less as a portal)!
Anyway I'm wrong it's not impossible (at least in Tap4).
Despite the fact that the code is very dirty what
Hi there ...
Finally gotten around to try and make this work.
For me it is important that in cycle.getPage(pageName)
the "pageName" is actually a parameter to the component. I've been
trying this (below) but that doesn't work.
I do not quite understand why, and would like somebodies view on thi
Hi Adam,
You shouldn't have to manually touch your repository for the tapestry
required libraries.
Your sentence about "after creating a directory and pom under
tapestry-core --> 5.0.5-SNAPSHOT" leads me to believe you did.
What you will have to do is modify the POM in your project's
directory,
On 6/1/07, Blackwings <[EMAIL PROTECTED]> wrote:
Thanks!
I read the doc 2 or 3 times completely, but sometimes my english make the
thing difficult to understand well, especially when first example start
with
MyModule... I focused on this and didn't pay attention enought to the
SubModule part.
Thanks!
I read the doc 2 or 3 times completely, but sometimes my english make the
thing difficult to understand well, especially when first example start with
MyModule... I focused on this and didn't pay attention enought to the
SubModule part.
I hope this thread will help other like me ;)
20
Ci Cesar,
I am using the JTA Transaction Manager. For me that was easier to use JBoss
JTA then to try to turn it of and instead use the one Hibernate is
providing. I am not an expert on the Transaction Manager, but I assume that
they are pritty much the same.
In my applicationContaxt-persisten
You can do this, if you want, by constructing the Link instance via
ComponentResources.createActionLink(); But the intent of having different
event types was to support different types of requests (such as Ajax) or
different types of operations within a request (such as validation and other
lifec
Actually, Howard doesn't have to confirm this as the code confirms this, and
the comments, capturing Howard's thoughts, confirm this.
On 6/1/07, Blackwings <[EMAIL PROTECTED]> wrote:
/cry...
Does Howard confirm this?
2007/6/1, Joshua Jackson <[EMAIL PROTECTED]>:
>
> I think you can only have o
Please read the documentation. It explicitly states whats going on, how
Tapestry decides on the name of the class it will load.
There's no particular advantage to having multiple modules; espcially with
ServiceBinder (new in 5.0.4) your module classes tend to be very small.
There's a @SubModule
You have to inject your ComponentResources.
There are methods for generating page render links and component action
links as part of the ComponentResources interface.
On 6/1/07, Martin Dietze <[EMAIL PROTECTED]> wrote:
Hi,
I'm trying to create a component for a navigation element
which contai
it is missing, and there's an open bug to fix it.
On 6/1/07, Dan Adams <[EMAIL PROTECTED]> wrote:
What is it?
--
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Ultimately, the control over exception reporting is in the hands of the
ValidationDecorator. It is responsible for decorating Label components and
the form control element components, so it can choose do whatever you want.
There's a lot of nice built in support, that coordinates the
ValidationDe
Nope; being able to modify the component hierarchy is forbidden in any and
all versions of Tapestry. You very rarely need to and when you do, there
are other techniques besides creating components dynamically.
Tapestrys pooling approach to scalability and state persistence (and a
number of other
What is it?
--
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I didn't think about SubModule... so I just added the line before AppModule
class declaration this :
@SubModule({UserModule.*class*})
*public* *class* *AppModule* {
And that's it, my UserModule is loaded and the build is normally called.
Thanks a lot!
2007/6/1, Kristian Marinkovic <[EMAIL PROT
Hmm .I can't pinpoint the exact problem but if it were up to me I would
start out by changing things to look more like:
public void setUp() {
...
webRequest = createMock(WebRequest.class);
expect(webRequest.getSession(true)).andReturn(webSession);
...
}
public void testGetSaving
The dojo dialog control moves the rendered dialog around in the DOM so
it's just inside the closing tag. They do this so it's in a
known place and they can make some assumptions about (lack of) nesting
when it renders. However, this effectively moves it outside any forms.
Use firebug to ins
Hi,
Thanks for you quick reply.
Sorry, my fault, I must have deleted these while removing my sysouts for
this post.
I have tried using these but unfortunately receive the same exception. I
have also done several searches on google, which seems to suggest the
exception is caused by the omiss
Hi Jacob, it´s wonderful,
my infrastructure is almost identical.
I wanted to use the versions of the most recent products
I have done this:
I tried with declaring a TransactionManager of type JTA, but it removed
problems with JBoss, due to a ClassCastException, then proving I tried with
the Trans
So if I understand there is no way to dynamically inject components into a page.
Is this possible in Tap 5 ?
On 6/1/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
It's done that way to prevent people from trying to modify the component
structure. There's no telling what will happen if you try to
You still need to call the replay() / verify() easymock methods, which can
be examined further here:
http://easymock.org/EasyMock2_2_Documentation.html
I think getSession(boolean) also returns a value - so you'd have to define
what that return value is with a statement like:
expect(webRequest.g
It's done that way to prevent people from trying to modify the component
structure. There's no telling what will happen if you try to modify it
somehow. Almost assuredly it will break something.
On 6/1/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote:
Can anybody tell me why getComponents is a
Hi All,
We have recently upgrading one of our apps to Tapestry 4.1 and I have
been asked to write some unit tests for the existing components.
I am new to Tapestry, TestNG and Easymock, so please bear with me.
I am trying to get the test to run through an if statement, but I keep
getting the
Hi Cesar,
I am working with Tapestry 4.0.2, Spring 2.0.5 Hibernate 3.2 and JBoss 4.0.4
GA, Acegi 1.0.3
I am happy to answer any questions you have on how we did our
configuration...
Jacob
César Augusto Mateus wrote:
>
> Hi all, I´m beginning with Tapestry 4.0
> Now i´m developing a project in
Can anybody tell me why getComponents is an immutable Map and what
shold happen is this map is overridden with a mutable one ?
Thx,
kiuma
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
On Fri, 2007-06-01 at 12:02 +0200, Katarzyna Marszalek wrote:
> From looking at the component reference for Tapestry 5, I'm a bit
> puzzled by the presence on the Errors component (which displays all
> errors in a form as a list - rather exotic case, if you ask me,) but no
> means of fine-contr
Hi,
I'm trying to create a component for a navigation element
which contains page links for all of my pages but renders the
currently loaded page differently (i.e. not a href, different
font etc.).
It seems to me like the best way to do this is have my
component's java code write the lines conta
hi, i don't know but look
http://wiki.apache.org/tapestry/Tapestry4Spring
http://howardlewisship.com/tapestry-javaforge/tapestry-spring/
alvaro
On 5/31/07, César Augusto Mateus < [EMAIL PROTECTED]> wrote:
Hi all, I´m beginning with Tapestry 4.0
Now i´m developing a project in my work, and i
Hi and thanks.
I am not quite there yet.
I guess maybe simplest would be to delete anything todo with
5.0.5-SNAPSHOTin my local maven repo.
At the moment what I have found after creating a directory and pom under
tapestry-core --> 5.0.5-SNAPSHOT I get the following (truncated to end) when
I run mv
Jesse recently fixed
https://issues.apache.org/jira/browse/TAPESTRY-1245
Did you get a chance to try the dirty form checker again?
[EMAIL PROTECTED] wrote:
Ok, now I got it right, almost ;).
Somehow tapestry tapestry.form.onFormSubmit is not called, when you use
tapestry.form.submit to subm
Hmm... I just test this again & was able to build with no problems.
I am using maven 2.0.5 and I updated both pom.xml and parent-pom.xml to
change 5.0.4-SNAPSHOT to 5.0.5-SNAPSHOT.
What version of maven are you using?
Are you able to build the Tapestry core project?
regards,
Ben
> -Origina
From looking at the component reference for Tapestry 5, I'm a bit
puzzled by the presence on the Errors component (which displays all
errors in a form as a list - rather exotic case, if you ask me,) but no
means of fine-controlling where the error message for a particular field
should be disp
if you look at the code in TapestryAppInitializer you'll
see that only ONE module is loaded automatically. Tapestry
"guesses" the module class by using the filter name as a prefix
and "Module" as a postfix
public TapestryAppInitializer(SymbolProvider appProvider, String appName,
String aliasMod
Hi guys,
in T4 there was this nice feature to call form.event.refresh() which
triggered the listener method specified with the @Form component's refresh
attribute.
I want to have the following behaviour: When I change a checkbox's value,
all the values the user supplied with the form shall be stor
i assume you have used the tapestry archetype :)
with the SubModule annotation you can have other module classes
loaded with the AppModule without putting them into the manifest.
as an alternative you can put your module into your manifest as
well (comma separated)
org.apach
/cry...
Does Howard confirm this?
2007/6/1, Joshua Jackson <[EMAIL PROTECTED]>:
I think you can only have one Module loaded by Filter (CMIIW). Last
time I tried I only can load AppModule, and the other Module entries
are ignored.
On 6/1/07, Blackwings <[EMAIL PROTECTED]> wrote:
> So, I created
I think you can only have one Module loaded by Filter (CMIIW). Last
time I tried I only can load AppModule, and the other Module entries
are ignored.
On 6/1/07, Blackwings <[EMAIL PROTECTED]> wrote:
So, I created my own Module in the same package than AppModule, following
the naming convention :
I've seen in previous conversations that build process can fail for certain
versions of maven,
I use maven 2.0.4
I don't know a solution to your problem but I belive that others
that are familiar with it would like to know the version you use.
you can try using 2.0.4, not saying it will solve an
So, I created my own Module in the same package than AppModule, following
the naming convention :
public final class UserModule {
public UserService buildUserService() {
return new UserServiceImpl();
}
}
And I still have the error, the same others have, "No service implements the
interface
Of course you can create your own Module, but AppModule it the ones
automatically loaded because it is configured in your web.xml
On 6/1/07, Blackwings <[EMAIL PROTECTED]> wrote:
Still the same question... Are we force to use only the AppModule? Can we
create our own module? This is the question
I had a problem building it:
[INFO]
[ERROR] BUILD ERROR
[INFO]
[INFO] Failed to resolve artifact.
GroupId: org.apache.maven.plugins
ArtifactId: maven-
If you initialise the objects in either of those methods then
you shouldn't need default values anymore.
i.e no assignment in constructor or field init
Otherwise if you are @Persisting those variables in the page
(not the compound object) then you values should be retained.
If you are doing a
That download should still work... the only thing that you should
need to change is the tapestry versions in the pom files
(replace all 5.0.4 references with 5.0.5)
If you run into problems drop me an email & I will try to help.
cheers
Ben
> -Original Message-
> From: Jason Lea [mailto
On Thu, May 31, 2007, Ben Sommerville wrote:
> For a form I'd say the best place to create those compound objects
> is in the onPrepare method. This will be invoked before any processing/
> rendering occurs. (see the Form component subsection of
> http://tapestry.apache.org/tapestry5/tapestry-c
In this thread a file upload component is mentioned:
http://www.nabble.com/T5-Upload-component--tf3373673.html#a9849252
and the download from here:
https://issues.apache.org/jira/browse/TAPESTRY-1354
Joshua Jackson wrote:
Dear all,
Does anybody know where is the component or what is the name
61 matches
Mail list logo