On Tue, May 21, 2013 at 7:29 AM, Ken in Nashua wrote:
> ok good answers guys... thanks...
>
> I cant say I am happy about it.
>
> I have to write a component just to embed a page ?
>
>
No, you don't have to. You can use HTML or to embed pages.
> Shouldn't there be a generic tapestry component
Hi Ken,
On Tue, May 21, 2013 at 7:25 AM, Ken in Nashua wrote:
> tHANKS gEOFF...
>
> bUT it tell sme I have a serious problem onmy hands
>
> the output is not matching the input
>
> I dont know what to do
>
>
Just make the output match the input:
Here's your output:
@OnEvent(EventConstants.PA
cant I use the
?
ok good answers guys... thanks...
I cant say I am happy about it.
I have to write a component just to embed a page ?
Shouldn't there be a generic tapestry component to already do this ?
░▒█▓░
░░░▓██▒░░
░▒
tHANKS gEOFF...
bUT it tell sme I have a serious problem onmy hands
the output is not matching the input
I dont know what to do
I have seen this months ago tryign to create CRUD pages.
Maybe it has to do with the routing features of tynamo? I dont know...
Here is the routing feature
@At("/{2
Here is my old test case
click OK
click test
@InjectComponent
@Property
private org.apache.tapestry5.corelib.components.Zone clickZone;
@Inject
private Logger logger;
@OnEvent(value="click")
The output of onPassivate becomes the input of onActivate. It goes out to the
URL and in from the URL. They should match.
http://jumpstart.doublenegative.com.au/jumpstart/examples/navigation/onactivateandonpassivate/3
Cheers,
Geoff
On 21/05/2013, at 4:04 AM, Ken in Nashua wrote:
> I tried the
Thanks Thiago...
The usage of THIS... is because I am operating exclusively out of
RosterQuery.JAVA and RosterQuery.tml
This module renders ...
=
| criteria form GO |
=
| table|
=
I select my criteria and hit GO. The
On Mon, 20 May 2013 17:56:28 -0300, Cezary Biernacki
wrote:
You can't render a page in another page. And you probably should not.
I'd say "You should *not* render pages in other pages. Period. Write a
component instead.".
But you can move reusable part of one page to a component and use
You can't render a page in another page. And you probably should not.
But you can move reusable part of one page to a component and use this new
component on as many pages as you want just by writing
. It is the main feature of Tapestry - components
as a way to reuse template and code.
On Mon,
you might be thinking I am inside my layout.tml... or my home.tml...
almost... the case...
My block is within my home.tml... which is already being laid thru to
layout.tml and is used in layout.tml
my issue is just a surrogate tab block inside my home.tml
all I want to do is embed the renderi
Guys,
I stillk dont get it though...
if I have a block like
How do I get a page rendered inside this block?
I mean I have a page called RosterQuery.tml RosterQuery.java
there is
How do i put this together...
I still dont know how to reference my page into the above block so it will
em
On Mon, 20 May 2013 15:04:35 -0300, Ken in Nashua
wrote:
I tried the context specified below but clazz during activation always
comes in as null.
is this a tapestry bug ?
No. If you wan to get the class as the first page activation context
value, it should be the first value in the Lis
component does not work because of table tag works without it.
On Mon, May 20, 2013 at 9:45 AM, Nikola Vulovic wrote:
> behaviour is completely the same with and with out
> (PersistenceConstant.FLASH)
>
>
> On Sun, May 19, 2013 at 11:10 PM, Nikola Vulovic wrote:
>
>> formfragment is shown when
This seems to help me stay on the same page...
/*
@OnEvent(EventConstants.ACTIVATE)
Object onActivate(Class clazz) {
if (clazz == null)
return Utils.new404(messages);
this.beanType = clazz;
return null;
}
*/
@OnEvent(EventConstants.PASSIVATE)
I tried the context specified below but clazz during activation always comes in
as null.
is this a tapestry bug ?
@OnEvent(EventConstants.ACTIVATE)
Object onActivate(Class clazz) {
if (clazz == null)
return Utils.new404(messages);
this.beanType = clazz;
Did anyone used this?
I cant use the example in the tapestry5-jquery as it complains that slider
is not a mixin, so I guess that the example is old as slider is now a
component. Still I have tried to use
${textZone}
@Property
@Persist
private String te
Hi Ben,
Do you have any form fields in the zone? Those will steal focus (causing a
'jump' in scroll location) unless you specify autofocus="false" on the form.
Thanks,
Peter
- Original Message -
From: "Ben Titmarsh"
To: users@tapestry.apache.org
Sent: Monday, 20 May, 2013 4:41
Subscribe
To: tapestry...@hotmail.com
Subject: Re: User requested authorization to join users@tapestry.apache.org
Mailing List Archives
Date: Mon, 1 Apr 2013 08:24:39 -0300
From: thiag...@gmail.com
Hi!
You need to subscribe to the Tapestry users mailing list. It was never a forum
to begin wi
A bit more detail on this, I've found that the reason for the scroll is because
it is focussing on a form field (a select component) above the grid when the
zone is updated. I have quite a few form fields inside this zone, is there a
way to turn off autofocus for all of them?
> From: ben.titma
Hi Tapestry Pro's...
Good morning..
I was wondering about my page.
Here is the link to my page... its basically a prototype I will retrofit in
later.
http://localhost:8080/pphl/rosterquery
My page renders and everything is good. I select my criteria and hit GO
(submit).
My tabel list gets p
Thanks Joakim... I noticed that. I didnt believe the error... but its good to
have a confirmation.
I will try it again in that pages dir.
On Mon, 20 May 2013 10:47:06 -0300, Ben Titmarsh
wrote:
Sounds like what you want is a layout component which uses t:body.
Just a reminder that any component can use and that a Layout
component is something like a design patter in Tapestry, as all components
are treated in the exact sa
Sounds like what you want is a layout component which uses t:body.
For example:
Layout.tml
add INFORMATION description here
ROSTERS please select a team
MyPage.tml
Page content
This page provides further documentation:
http://tapestr
Hi All,
I have a grid and a form inside a zone. The grid can contain hundreds of rows
and values can be updated with Ajax resulting in a zone refresh. I have a bit
of a UX problem in that when the user changes a value in the grid, the zone is
refreshed and the browser scrolls back up to the t
stick them in the base package, extend the class and it works great
- Original Message -
From: "Barry Books"
To: "Tapestry users"
Sent: Monday, 20 May, 2013 2:31:18 PM
Subject: Re: trying to avoid code bloat
I would not use an Abstract page for this purpose. The first problem is
I would not use an Abstract page for this purpose. The first problem is
protected will not work because the pages will not have the same package. I
would create a service with these services and just inject that. So your
page would just have
@Inject
private Services services;
and your service wil
behaviour is completely the same with and with out
(PersistenceConstant.FLASH)
On Sun, May 19, 2013 at 11:10 PM, Nikola Vulovic wrote:
> formfragment is shown when checkox "renew" is not checked
>
>
>
> On Sun, May 19, 2013 at 5:28 PM, Nikola Vulovic wrote:
>
>> tml file
>> > xmlns:t="htt
28 matches
Mail list logo