Hi,
is the actual content of your page, and the layout component is
just a wrapper.
This link would probably help you better understand:
http://wiki.apache.org/tapestry/Tapestry5Layoutcomponent
/Serge
aldana wrote:
>
> Hi,
>
> I had a look how to template things (header, footer, navigati
Hi,
You are mixing Tapestry 5 and Tapestry 4. From the snippet below, here are a
few problems:
- The templates in T5 have a .tml as extension
- There is no spec file.
- Your packages are incorrect (should be .pages)
- Pages are not abstract
- The BasePage you are extending doesn't exist in
Hi,
This seems to be related to this thread:
http://www.nabble.com/PageLinkTarget%2C-where-did-it-go--to21022001.html#a21022001
/Serge
Michał Jedynak wrote:
>
> Hi there,
>
> I've integrated spring security to my sample tapestry5 application
> (I'm using version 5.0.18) based on tapestry-spr
Hi,
This can help:
http://tapestry.apache.org/tapestry5/cookbook/lib.html
/Serge
Angelo Chen wrote:
>
> Hi,
>
> I have a project similar to this:
>
> 1) T5 web app
> 2) T5 IOC only app
>
> This has been working quite nicely, now I need to have some
> classes/services which should be used
Hi,
Take a look at the Login page in tapestry5-appfuse project here:
http://code.google.com/p/tapestry5-appfuse
There is an example of direct integration between T5 and Spring Security 2.
/Serge
Jean Luc wrote:
>
> Update: I can get the response with:
>
>@Inject
> private RequestGl
The issue here is described in this bug:
https://issues.apache.org/jira/browse/TAP5-414
/Serge
nille hammer wrote:
>
> Sorry I messed up the code example corrected version:
> public class Persion {
> ...
> @Id
> @GeneratedValue(strategy = GenerationType.AUTO)
> @NonVisual //<-- that exc
Hi,
I have a sample application supporting multiple languages which doesn't
exhibit this behavior:
http://code.google.com/p/tapestry5-appfuse/
You may have something else going on.
/Serge
bbcooper wrote:
>
> I found a bug. First entry in properties file is never used. I tried
> reordering en
Hi,
Version 1.0.1 of the tapestry5-appfuse project has been released.
It's built with Tapestry 5.0.18 and has several improvements and bug fixes.
See details here:
http://code.google.com/p/tapestry5-appfuse/
Feedback would be appreciated.
/Serge
--
View this message in context:
http://www.
Hi,
As a workaround, maybe this example could help:
http://code.google.com/p/tapestry5-appfuse/source/browse/trunk/src/main/java/org/appfuse/webapp/pages/admin/UserList.java
/Serge
Andy Pahne-6 wrote:
>
>
>
> https://issues.apache.org/jira/browse/TAP5-395
>
>
>
> Howard Lewis Ship schr
Hi,
This is documented here:
http://tapestry.apache.org/tapestry5/guide/reload.html
/Serge
aldana wrote:
>
> hi,
>
> class reloading works fine for pages, template and components. But it does
> not work for related class dependencies. For instance when I change the
> implementation of a Dao
Hi,
This has nothing to do with Tapestry.
You have 2 options:
1) Use the @Column annotation on the _id field
@Id @GeneratedValue @Column(name="id")
private Long _id;
2) Annotate the accessor methods
/Serge
Bill Holloway wrote:
>
> To use the simplified page activation context for a hiber
Hi,
You can use a block. Search for examples in the mailing list.
/Serge
thermus wrote:
>
> I currently have a very simple webapp. I have a form and return a
> pageable grid component based on the form parameters. Right now, I have
> the form and response as separate tml/Java classes. Ever
Hi,
Layouts are regular components that need to be created by you and are not
handled differently.
Make sure your Layout Java class is under
src/main/java//components and the associated tml is in
src/main/resources//components
/Serge
Joel Halbert-2 wrote:
>
> Hi,
>
> I'm having issues us
Hi,
I started documenting this for the migration from T4 to T5.
Please refer to the following project:
http://code.google.com/p/tapestry5-appfuse/
The code is updated. However, I haven't had a chance to update the steps
recently, but this is on my todo list.
/Serge
Matt Doran-3 wrote:
>
> Hi
Hi,
Please search the list. This has already been answered.
Cheers,
Serge
Ovidiu Hurducas-2 wrote:
>
> Greetings!
>
> I'm migrating a I18N enabled Tap3 application to Tap5. The current
> application is using a custom implementation of BaseEngine class
> (overriding
> createComponentStringsS
Hi,
I had a similar question a few weeks ago and didn't get any response.
Can someone else chime in?
It would be nice to have "real world" example in the documentation to
showcase TDD features of T5.
/Serge
Russell Brown-6 wrote:
>
> One more related question would be this: in the docs at
> h
Hi,
Yes, a few changes were introduced in 5.0.14 and are documented here:
http://tapestry.apache.org/tapestry5/upgrade.html
Use resources.getMessages() instead instead of resource.
/Serge
moritzgilsdorf-2 wrote:
>
>
> Hi,
>
> I'm trying to add an additional column to a grid following thi
Hi,
I've just released an early version of the tapestry5-appfuse project.
It is still alpha and the documentation will be finalized in the next few
days.
It is available via SVN on Google Code at:
http://code.google.com/p/tapestry5-appfuse/
Check it out!
Feedback would be really appreciated.
I'll be happy to participate!
/Serge
Thiago H. de Paula Figueiredo wrote:
>
> Em Mon, 25 Aug 2008 18:56:52 -0300, Hugo Palma <[EMAIL PROTECTED]>
> escreveu:
>
>> 2. I definitely think that this would have to be something new. Like you
>> say, they have different purposes and it should be ke
Hi,
This is non longer needed in 5.0.14.
Try upgrading if you can.
/Serge
Ulrich Stärk wrote:
>
> I believe http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding is still
> needed to convert form submissions from/to UTF-8.
>
> Uli
>
> Argo Vilberg schrieb:
>> Hello!
>>
>>
>> I have pos
Hey,
I am running into the same problem.
Since PageTester now accepts extra module classes, I tried using
SpringModuleDef.class but no dice.
Creating a separate module as shown in previous posts didn't work either :-(
Does anybody have a working example with T 5.0.13+?
Cheers,
/Serge
Toby H
Hi,
Try this:
in your template:
.
...
and your Java class:
public class MyPage {
@Component(parameters = {"event=clickButton1"})
private EventLink button1;
// Your event handler
// You can also use annotations
void onClickButton1() {
Hi,
Passing a dynamic values from the Java page to a JavaScript function
embedded in the .tml file works fine.
However, I need to pass that values to an external (basic) JavaScript
function.
The external javacript files is attached to the page using the
IncludeJavaScriptLibrary annotation:
@In
lass; this eliminates the ambiguity."
>
> So you can use
>
>
> I haven't tried this tho :)
>
> On 17/06/2008, SergeEby <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi,
>>
>> I am trying to use a mixin to decorate the label component based
Hi,
I am trying to use a mixin to decorate the label component based on the
embedded Field component.
Since that field is not accessible, I thought I could use a parameter (like
in the Label component) after reading the following:
"If the component and a mixin both define a parameter with the sa
Hi,
If you are using Maven, you should put your properties files under
src/main/resources/my/package/components
See details here:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/project-layout.html
/Serge
Russell Brown-6 wrote:
>
> Hi,
>
> I have created a couple of components and
Hi,
It seems obvious to me that you need to add any self-contained module such
as tapestry-spring, tapestry-hibernate or tapestry-upload to your
application only if you use it.
/Serge
TapestryBeast wrote:
>
> Hi,
>
> Just to say that I think the documentation here:
>
> http://tapestry.apach
Hey,
Assuming you are using version 5.0.11, you can add: blankoption="never" to
the component definition.
See details here:
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Select.html
/Serge
amebaliu wrote:
>
> Hi all, I have a question about se
Hi,
Read the tips on Geoff website:
http://files.doublenegative.com.au/jumpstart
/Serge
CG-6 wrote:
>
> Not sure whether this is the correct place to ask abt jumpstart or
> not, however, I really need some hints.
>
> Jumpstart is using the hsql embeded in JBoss, I would like to use
> m
Hi,
You can pass more than one parameter.
/Serge
Yura Tkachenko wrote:
>
> Hi All,
>
> I've been reading chapter about "Page Activation Context" here:
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html. And
> I
> have a question: can I pass using activation context more
Hi,
As the name indicates, this URL is for snapshots only. The official releases
are located on standard maven repositories.
So commenting out this repo should get you what you need.
/Serge
luna_guo wrote:
>
> i use maven plugin ,and add the following code to pom.xml
>
>
> ta
You are not alone :)
/Serge
Adam Zimowski wrote:
>
> I'd like to propose enhancement which makes it easier to define which
> columns are sorted.
>
> The grid component, as of 5.0.11, by default applies and enables
> sorting to all columns. If one wants to change it, one must give grid
> the m
Hey,
Just return a URL object
http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html
/Serge
Travis McLeskey wrote:
>
> For example, if one wanted to generate a complete URL (including
> protocol, server name, and port) and send it in an email.
>
> I tried ComponentResources
Not sure what you are doing but the following works fine for me in my
AppModule:
public class AppModule {
...
public static void contributeAliasOverrides (
Configuration aConfiguration,
@Inject @Service("LabelService") LabelService aService) {
..
Hey,
You can pass Spring Services as argument by using the @Inject @Service
annotations.
/Serge
MrclSchprs wrote:
>
> How to access the servlet context in AppModule? Tapestry's Spring
> integration does not work for the 'services' package. A Spring service is
> needed for a custom BindingFact
Hi Geoff,
I've seen this in past releases and I had to use the following as a
workaround in my AppModule to get my application to work:
...
configuration.add("tapestry.supported-locales", "en_us,fr_ca,zh_cn");
...
This didn't work:
configuration.add("tapestry.supported-locales", "en_US,fr_CA,
Hi,
Did you try the "literal:" binding prefix?
---
/Serge
Hans Jörg Hessmann wrote:
>
> Hi,
>
> I'd like to show a static text containing ${something} on a page. Is
> there a way to escape the "${"?
>
> Thanks,
> Hans Joerg Hessmann
>
> -
Hi,
This issue has been discussed in the past. Please search the list.
--
/Serge
Foror wrote:
>
> Some package "pages.articles" and page "Articles.java" in this package.
> URL
> "http://localhost/articles/";. When need context page="articles/" context="literal:param1">test then URL
> "http:/
Hi,
You can use the context parameter:
http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html#orgapachetapestrycorelibcomponentspagelink
--
/Serge
dalahoo wrote:
>
> dear friends,
>
> i want to set some value for may page properties, with pagelink compoent,
> is
> it p
; help.
>> > > >
>> > > > Kalle
>> > > >
>> > > > On 9/25/07, Howard Lewis Ship < [EMAIL PROTECTED]> wrote:
>> > > > >
>> > > > > I'm not sure how upto date the snapshots are.
>> >
Hi,
I tried to update my application from 5.0.5 to 5.0.6-SNAPSHOT. The main
change was the use of slf4j.
However, I am getting the following error when starting the application via
maven:
java.lang.AbstractMethodError
at
org.apache.tapestry.ioc.internal.RegistryImpl.(RegistryImpl.java:1
Looks like you missed an important section of the tutorial:
excerpt ---
We do need a basic GameOver page.
src/main/webapp/WEB-INF/GameOver.html:
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
Game Over!
Game Over
You guessed the secret number!
Hi,
T5 components are listed here:
http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html
/Serge
Fernando Padilla wrote:
>
> So I think I've read most if not all of the T5 documentation, and I
> don't see any mention of the old Component Libraries.. Could someone
> giv
Have you thought about using a null context?
/Serge
Thiago H de Paula Figueiredo-2 wrote:
>
> Em Fri, 31 Aug 2007 21:20:00 -0300, Fidel Chavarria
> <[EMAIL PROTECTED]> escreveu:
>
>> If you need a link that points to the same page, create a Pagelink
>> pointing the same page.
>
> I need
Do a search in the mailing list. This question was answered a while ago.
/Serge
Alex Shneyderman wrote:
>
> Hi, all!
>
> I am trying out tapestry and was going through the tutorial and
> noticed that in the section about Guess.java the following:
>
> Object onActionFromLink(int guess)
>
Hi,
You must contribute to AliasOverrides service:
Details are here:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/alias.html
/Serge
Ivan Luzyanin wrote:
>
> I need to change a behavior of a service provided by Tapestry's
> InternalModule. Is is possible? If so, how?
>
--
View
Hi.
I believe this patch is included in 5.0.5, therefore no longer needed.
For the redundant meta tags, you should remove them from the pages, not the
layout template.
/Serge
Nick Westgate wrote:
>
> Your templates must be UTF-8 encoded too.
>
> Cheers,
> Nick.
>
>
> Marcelo lotif wrote:
>
Hi,
The HTML templates should go either under the resources directory
or WEB-INF
Read this:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
/Serge
Moritz Gmelin wrote:
>
> Hi,
>
>
> I have created a T5 Application based on the "myapp" template with
> its pom.xml.
Hi,
Just import and inject the WAC in your page:
import org.springframework.web.context.WebApplicationContext;
class Foo {
...
@Inject
private WebApplicationContext wac;
...
}
/Serge
cyrille37 wrote:
>
> Fidel Chavarria a écrit :
>> Hi
>> I think this willhelp you,
>> http://tapest
Hi,
Try
and read the Component Elements section in this document:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
/Serge
texomaleo wrote:
>
> In a jar in a separate Eclipse probject I have
>
> package us.antera.t5.lib;
> import org.apache.tapestry.ioc.Configuration;
Hi,
The URL you mentioned is related to Tapestry 4, not T5.
Are you sure you strictly followed all steps mentioned in the tutorial?
There are several examples (Integration Tests) in the source code that might
be helpful.
/Serge
Leo Stefanesco wrote:
>
> Hello everybody,
> I'm reading the Tape
Hi,
You can provide your own implementation by contributing to aliasOverrides:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/alias.html
/Serge
Martin Dietze wrote:
>
> Hi,
>
> I need to use a particular localization backend for my
> project. As I understand, T5 provides its own
Hi,
This seems valid to me according to this: http://www.w3.org/TR/xhtml1/#h-4.6
/Serge
Jan Vissers wrote:
>
> Tapestry renders:
>
>
>
> And it 'should' render:
>
>
>
> Is this something we can workaround?
> I would have preferred Tapestry rendering the option correctly whenever
>
Hi,
I believe this is now available in 5.0.5-SNAPSHOT.
/Serge
Jason Lea wrote:
>
> I'm using Tapestry 5.0.4 and have some localized fields getting messages
> from message catalog for the page working correctly, but I cannot get an
> application wide message catalog to work
>
> In the page T
Hi,
This post might be helpful:
http://www.nabble.com/Inject-EJB-3-into-Tapestry-4-page-tf2841494.html#a8468544
/Serge
Heping Zhang wrote:
>
> hi, I use tapestry as web tier and want get a slsb in this tier. this is
> my
> code:
> public abstract class Home extends BasePage {
>
> // @EJB
>
Hi,
There is a new syntax with 5.0.4-SNAPSHOT and the URL
http://tapestry.apache.org/tapestry5/tapestry-spring/ was updated a while
ago. There is no more @Inject("spring:yourBean").
It works fine for me.
Here is an excerpt:
public class UserView {
@Inject
@SpringBean("userManager")
pr
This page is probably generated by Maven.
To find the actual dependencies, click each module on the left hand side
menu and select Project Information -> Dependencies.
/Serge
Jan Vissers wrote:
>
> I think this informational page:
> http://tapestry.apache.org/tapestry5/dependencies.html
> is
Hi,
You can access the form from the BeanEditForm component:
http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/org/apache/tapestry/corelib/components/BeanEditForm.html
/Serge
Massimo Lusetti wrote:
>
> On 3/4/07, Olivier Jacquet <[EMAIL PROTECTED]> wrote:
>
>> How can I record addit
Hi
I tried to override the default ComponentMessagesSource by creating a
contribution in my module (tapestry.ComponentMessagesSource) and a new
builder method, but it doesn't seem to work.
Am I missing something?
/Serge
--
View this message in context:
http://www.nabble.com/T5-Message-Catalog
Hi,
I posted the following page on wiki, not sure if that's the right place but
I thought it would be useful to others:
http://wiki.apache.org/tapestry/SpringIntegration
/Serge
--
View this message in context:
http://www.nabble.com/T5---Spring-tf3306589.html#a9197537
Sent from the Tapestry -
Hi,
I know Spring integration will be included later in T5, but was wondering if
someone has already figured out how to do that.
I am playing around converting an existing application to T5.
Thanks,
/Serge
--
View this message in context:
http://www.nabble.com/T5%3A-Spring-Integration-tf32530
Hi,
I am trying to convert my application to use the BeanForm library but I am
running into a problem:
My message catalog mapping keys are stored in a database and don't match to
beans' property names.
Is there a way to specify the keys (like in contrib:table)?
Thanks,
--
Serge
--
View this m
62 matches
Mail list logo