You're right, the "id" attribute of the zone will not be "uniqueified" by
Tapestry, so you have to do the job yourself. Also, the "t:id" and "id"
attributes are not the same, they behave differently.
You could perhaps use something like this in your component class:
@Property
private String uniqu
Hello Friends,
I want to add header and footer in my web page .
But it is not working.
I have create my .java and .tml file in there appropriate "components"
folder.
Here is my component file called "HF.tml".
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
This Is Header F
if like this:
var myAjax = new Ajax.Request("poicenter.form", {
method :'post',
parameters :"c=c",
onComplete :null
});
tomcat will throw exception:Forms require that the request method be POST and
that the t:formdata query parameter have values.
if I just submit like this: form.submi
Better than exclude - re-declare the tapestry version in your own
application pom so Maven's "nearest" version resolution can work
properly (that way you don't have to exclude them for each dependency
that declares a specific version of Tapestry).
Kalle
On Mon, Aug 17, 2009 at 5:27 PM, Thiago H.
But the correct solution was in using prop: prefix to refer to
enclosing component.
Thanks for pointing. Work in progress.
On Tue, Aug 18, 2009 at 07:51, Andrey Larionov wrote:
> The only way i can achive result is ugly getSelf hack. Thru
> environmental service i can't access no component no wrap
The only way i can achive result is ugly getSelf hack. Thru
environmental service i can't access no component no wraped component.
On Tue, Aug 18, 2009 at 05:57, Andrey Larionov wrote:
> Thanks for good point. try it now.
>
> On Tue, Aug 18, 2009 at 05:51, Thiago H. de Paula
> Figueiredo wrote:
>>
Out of curiosity... is this due to some synchronized collection(s) that back
the cache?
they block until the RequestCycle is over in order to empty them as per the
org.apache.tapestry.disable-caching directive.. thus all other Page access
which can use the cache must wait?
On Sun, Aug 16, 2009 at
Thanks for good point. try it now.
On Tue, Aug 18, 2009 at 05:51, Thiago H. de Paula
Figueiredo wrote:
> Em Mon, 17 Aug 2009 22:12:13 -0300, Andrey Larionov
> escreveu:
>
>> One more question. How to pass enclosing component into nested. I mean
>> "self". In loop i render elements and i want to p
Em Mon, 17 Aug 2009 22:12:13 -0300, Andrey Larionov
escreveu:
One more question. How to pass enclosing component into nested. I mean
"self". In loop i render elements and i want to pass enclosing element
as parameter in template
For example: (start component template)
http://tapestry.apache.o
One more question. How to pass enclosing component into nested. I mean
"self". In loop i render elements and i want to pass enclosing element
as parameter in template
For example: (start component template)
http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";
xmlns:p="tapestry:parameter">
Thanks. I'll try it.
On Tue, Aug 18, 2009 at 04:20, Thiago H. de Paula
Figueiredo wrote:
> Em Mon, 17 Aug 2009 21:07:43 -0300, Andrey Larionov
> escreveu:
>
>> As i understand, i should in first component create a field of type of
>> second component and anotate this field as non required paramet
Em Mon, 17 Aug 2009 21:11:09 -0300, Joshua Martin
escreveu:
I never figured it out - although I believe that the Chenille Kit
handles this nicely. The problem was that Chenille Kit isn't
compatible with T5.1 and I need 5.1 - note here that the upcoming
version of CK will support T5.1
It is
Em Mon, 17 Aug 2009 21:07:43 -0300, Andrey Larionov
escreveu:
As i understand, i should in first component create a field of type of
second component and anotate this field as non required parameter?
Yes.
How do i inject second component in first? From template? Or on class
side?
From
I had the same problem with catching an event from a Select. I was
trying to update a Zone according to a selection in a Select.
I never figured it out - although I believe that the Chenille Kit
handles this nicely. The problem was that Chenille Kit isn't
compatible with T5.1 and I need 5.1 - note
As i understand, i should in first component create a field of type of
second component and anotate this field as non required parameter?
How do i inject second component in first? From template? Or on class side?
On Tue, Aug 18, 2009 at 03:53, Thiago H. de Paula
Figueiredo wrote:
> Em Mon, 17 Aug
Em Mon, 17 Aug 2009 20:44:55 -0300, Andrey Larionov
escreveu:
By linking i mean next:
When i perform (for example) select action on first component, second
should get selected value and display corresponding changes. But if
one of components is absent, then components should work standalone
w
By linking i mean next:
When i perform (for example) select action on first component, second
should get selected value and display corresponding changes. But if
one of components is absent, then components should work standalone
without interaction with each other.
On Tue, Aug 18, 2009 at 03:36,
Em Mon, 17 Aug 2009 20:05:41 -0300, Andrey Larionov
escreveu:
By "component" i mean Tapestry component.
Ok!
I try to understand how to place two components on page.
Just declare them in the template.
And make they optionaly linked.
What do you mean by linked in this scenario?
Anywa
Em Mon, 17 Aug 2009 20:19:26 -0300, xfile80303 escreveu:
Hi Thiago,
Hi!
Request.isXHR() returns 'false' as you expected...
Fist part of the problem solved: figuring out what went wrong . . . :)
So I'm not sure how to proceed... I'm far better at Java than
Javascript, so please pardon my
That would;t work if the component is inside a loop because the id of
zone is unique. in this case: aZone. The zone has to be created
dynamically.
On Tue, Aug 18, 2009 at 12:03 AM, Ted Steen wrote:
> Something like this?
>
> Index.tml
> http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";
>
Hi Thiago,
Request.isXHR() returns 'false' as you expected...
So I'm not sure how to proceed... I'm far better at Java than
Javascript, so please pardon my ignorance.
The ID of the radiobutton components are created as a result of the
loop iterator, so I'm not sure how I can use Even.observ
Hello, I'm a student as engineer and I have to make an application web with
Tapestry. It's a wonderful framework, but I'm finding many problems which I
spend too many time to solve and I've got very few time, so I decided to
suscribe to this mail-list.
My current problem now is finding
In the last couple of years, if you mention the term meta-programming,
people's ears perk up ... and they start looking around for Ruby.
That's fair; Ruby makes a lot of meta-programming concepts very, very
easy. However, that doesn't mean you can't do any meta-programming in
Java; you just are a b
By "component" i mean Tapestry component. I try to understand how to
place two components on page. And make they optionaly linked.
On Tue, Aug 18, 2009 at 02:02, Thiago H. de Paula
Figueiredo wrote:
> Em Mon, 17 Aug 2009 18:33:36 -0300, Andrey Larionov
> escreveu:
>
>> Actualy not. It's only a to
:)
Inge, I've recently noticed that this does not seem to work with the
MultiZoneUpdate return type (it just updates the first zone specified).
Any hope of an updated version which would support this?
See the section on Multiple Zone Updates at:
http://tapestry.apache.org/tapestry5/guide/aja
Em Mon, 17 Aug 2009 19:25:54 -0300, xfile80303 escreveu:
Can you suggest how I should activate the ajax refresh when the user
clicks on one of the radio buttons?
Please check first Request.isXHR() in your event handler to see whether
this really is the source of the problem.
Another hint:
Oops - apologies for the spam, that was meant to go to Ben directly!
On Mon, Aug 17, 2009 at 11:27 PM, Steve Cowx wrote:
> Hi Ben
>
> If I recall correctly, you recruited Peter off the Turbine mailing list :)
>
> It seems to be a good technique.
>
> I hope all is well at IOKO, please send my rega
Hi Ben
If I recall correctly, you recruited Peter off the Turbine mailing list :)
It seems to be a good technique.
I hope all is well at IOKO, please send my regards to everyone on the old
Kangaroo dev team.
Steve
On Mon, Aug 17, 2009 at 1:59 PM, Ben Gidley wrote:
> Apologies for using this
Can you suggest how I should activate the ajax refresh when the user clicks
on one of the radio buttons?
Levi
Thiago H. de Paula Figueiredo wrote:
>
> Em Mon, 17 Aug 2009 19:10:01 -0300, xfile80303
> escreveu:
>
>> Hi Thiago!
>
> Hi!
>
>> Yes, I'm sorry I should have mentioned this...
>> M
Em Mon, 17 Aug 2009 19:10:01 -0300, xfile80303 escreveu:
Hi Thiago!
Hi!
Yes, I'm sorry I should have mentioned this...
My form uses the zone attribute to indicate it should refresh a zone via
AJAX (or at lease that's my understanding of the attribute from the
documentation):
You still nee
Hi Thaigo!
Yes, I'm sorry I should have mentioned this...
My form uses the zone attribute to indicate it should refresh a zone via
AJAX (or at lease that's my understanding of the attribute from the
documentation):
${mainCategoryIterator.name}
Thanks,
Levi
Th
Something like this?
Index.tml
http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";
xmlns:p="tapestry:parameter">
A Zone!
A Block!
A link
Index.java
public class Index
{
@Inject
private Block aBlock;
@OnEvent(component = "anActionLink", valu
Em Mon, 17 Aug 2009 18:33:36 -0300, Andrey Larionov
escreveu:
Actualy not. It's only a tools.
But they're tools that make the task of implementing a master/detail form
easier. ;)
Solution outline:
* Create a Zone in your template with a Form inside it to edit the detail
object.
* Crea
Em Mon, 17 Aug 2009 18:23:40 -0300, xfile80303 escreveu:
Hi all,
Hi!
I'm trying to update two zones using the MultiZoneUpdate return type
from my onSuccessFrom method, but Tapestry gives me an error
saying the return type is not understood (see stack below).
You can only return MultiZo
Actualy not. It's only a tools. I'm asking advice on how to decompose
and interact between two components.
There is an explanation of this UI pattern
http://en.wikipedia.org/wiki/Master-detail
On Tue, Aug 18, 2009 at 01:07, Juan E. Maya wrote:
> if i understand u. Maybe what u need is just a
> Act
Hi all,
I'm trying to update two zones using the MultiZoneUpdate return type from my
onSuccessFrom method, but Tapestry gives me an error saying the return
type is not understood (see stack below).
I've read, and re-read the info on MultiZoneUpdate usage at
http://tapestry.apache.org/tapestry5.
I am not sure if i understand u. Maybe what u need is just a
ActionLink or EventLink that updates a zone containing the details.
U can see examples here:
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/javascript/ajax
or here:
http://tapestry.apache.org/tapestry5/tapestry-core/ref/
Hi, everyone
I start to explore world of Tapestry 5. It so exciting. But at first
time is very difficult to find simple elegant (maybe pattern-like)
solution. And i want to ask, can any point or give advice on creating
Master-Detail presentation. I want to have two independent component
but with po
I resolved this adding zones dynamically in the during the
setupRender. It looks something like this:
_clientBehaviorSupport.addZone(_assignedClientId, "show", "show");
Link link = _componentResources.createEventLink(EventConstants.ACTION,
_design.getId(), _assignedClientId);
_clientBehaviorSuppor
Well, you have proved your resource manager wrong. I live near York and
I use Tapestry at the BL. Sadly (err, happily!) I'm not looking to
change jobs just now.
;-)
-Original Message-
From: Ben Gidley [mailto:b...@gidley.co.uk]
Sent: 17 August 2009 13:59
To: Tapestry users
Subject: [Off
Mohan! Did u manage to resolve this problem? How do u do this?
On Fri, Jun 20, 2008 at 11:47 PM, Mohan
Zhang wrote:
>
> Anyone? This problem is bugging me a lot because it seems like it would be a
> common usecase...
>
>
>
> Mohan Zhang wrote:
>>
>> Hi everyone,
>>
>> I've been reading the mailing
Good idea,I had the same problem.
2009/8/17 Sergey Didenko
> Hi,
>
> What do you think about dedicated annotations that are alternative to
> buildXXX() and contributeXXX() name convention?
>
> I changed service names a few times and forgot to update my build and
> contribute methods.
>
> If I wo
Hi,
What do you think about dedicated annotations that are alternative to
buildXXX() and contributeXXX() name convention?
I changed service names a few times and forgot to update my build and
contribute methods.
If I would code it with annotations, say @Build( serviceId =
ServiceInterface.class
Hi Uli,
Thanks for the quick response, leaving it in XML is fine, problem is, the
xml file is packaged into a jar, can not find it under the 'ROOT' directory
for me to update, any idea putting that hibernate.cfg.xml somewhere else,
say WEB-INF?
Ulrich Stärk wrote:
>
> contribute a HibernateCo
contribute a HibernateConfigurer to the HibernateSessionSource service. Although I don't quite get
why putting the connection string into a properties file is any different than putting it in the xml
file...
Uli
On 17.08.2009 15:21 schrieb Angelo Chen:
Hi,
I use following in hibernate.cfg.xm
Hi,
I use following in hibernate.cfg.xml to connect to database:
< property
name="hibernate.connection.url">jdbc:mysql://localhost/stock?autoReconnect=true
This works very well, but it is hard coded, is there a way to put the
particular info in a property file, then pick it up when the t5 prog
Apologies for using this list as a recruitment board - but I thought some of
you may be interested.
ioko (www.ioko.com) are recruiting Java Developers at present in either York
UK (preferred) or London (possible but not as preferred) to work on a range
of projects with our existing clients. One of
Problem solved .. a javah incorrect creation :(
Hi guys.
I'm using a JNI library directly inside a service i have binded into
T5.1, but i can't get it to run because of a UnsatiesfiedLinkError.
I'll show you how my setup is :
( System is ubuntu 9.04 )
Library in /etc/lib/mylib.so
AppModule
Thanx, Uli!
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Yes there is, in the Chenille Kit.
See http://www.chenillekit.org/chenillekit-tapestry/messageformatbinding.html
Olle
2009/8/17 Radek Terber :
> Hi all.
>
> Is there any way how to pass parameter to message directly in TML file ?
>
> For example:
> I have component Example1 (resides in "Example
Hi folks,
I thought I'd try out a RequestExceptionHandler that could catch custom form
validation exceptions and render the response directly rather than use the
standard redirect response.
This means I can avoid using sessions entirely and in my limited testing it
works perfectly but was wondering
Hi guys.
I'm using a JNI library directly inside a service i have binded into
T5.1, but i can't get it to run because of a UnsatiesfiedLinkError.
I'll show you how my setup is :
( System is ubuntu 9.04 )
Library in /etc/lib/mylib.so
AppModule.java
public static void bind(ServiceBinder bind
Hi all.
Is there any way how to pass parameter to message directly in TML file ?
For example:
I have component Example1 (resides in "Example1.java") and in it's
"Example1.tml" is something like this:
in Example1.tml is
--
htt
Hi Angelo,
Maybe Lambda Probe (http://www.lambdaprobe.org/d/index.htm) will help?
Jérôme
On Mon, Aug 17, 2009 at 00:51, Angelo Chen wrote:
>
> Hi,
> Currently I use Tomcat's manager to monitor t5 apps, is there any other
> similar tools for this job?
> thanks,
> angelo
> --
> View this message
54 matches
Mail list logo