Hi,
I have a component A that calls a component B like this:
and in B, I want to iterate over 'source' and for each value
render the block that is defined by parameter 'test'.
My question: it seems that when the block (in this case
something val="foo"/>) is evaluated, 'foo' is eva
Hi,
I have created a custom layout component and also a .tml page for it.
Tapestry 5 allows me to keep the tml in the component folder only, but i
want to use it out side of the components folder.
it shows a binding error.
Please tell me the solution,
Thanks in Advance.
--
View this message
Hi,
I m using zone with block but i have some problem with it as it gives me js
error as "reply is null".
if any body had solution please tell me its urgent.
Thanks in advance
--
View this message in context:
http://www.nabble.com/Reply-is-Null-tp19949630p19949630.html
Sent from the Tapestry
Geoff Callender wrote:
> Hi Joel,
>
> The activation context is great for passing object ids (or entity
> ids), and with database backed applications that is exactly what you'd
> be doing most of the time. The notion behind REST is that each URL
> represents a resource, which is pretty much what i
Joel,
I'd use application state objects to share state between them. This
is a nicely decoupled solution. See
http://tapestry.apache.org/tapestry5/guide/appstate.html
Bill
On Sun, Oct 12, 2008 at 12:48 PM, Joel Halbert <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm not sure what the correct T5 patte
The tapestry5-components project on Google code features a Hidden
field component. See: http://code.google.com/p/tapestry5-components/
Bill @ peoplepad
On Sun, Oct 12, 2008 at 1:51 PM, Argo Vilberg <[EMAIL PROTECTED]> wrote:
> hello
>
> How to make hidden field in Tapestry5.
>
>
>
>
>
>
> thi
hello
How to make hidden field in Tapestry5.
this textfield does not work.
Wich tapestry component i must use to use hidden form field?
Argo
Hi,
I'm not sure what the correct T5 pattern to apply to the following page
composition situation:
I have a typical scenario - a page with 3 elements a "top nav", a "side
nav" and a "content pane".
I wish to reuse the code for "topNav" and "sideNav" but i want the
content pane to vary (i.e
Hi Angelo,
It looks like I forgot one piece of info...each descendent of HENJob
should be registered as a service in AppModule, just like your other
services:
// Jobs that are scheduled by Quartz
binder.bind( SendMailJob.class, SendMailJobImpl.class );
It is actually the Tapestry IoC framewo
I'm guessing the answer to question 1 is related to the docs here:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/rendering.html
"Currently, methods are sorted alphabetically. Methods with the same
name are sorted by number of parameters. Even so, this is not a great
idea ... just defi
Hi,
2 questions re: the activation context:
1. Why is onActivate called multiple times?
If I have two onActivate methods:
void onActivate(int inventoryId)
void onActivate(int inventoryId, Map params)
then for a link which presents both arguments in it's activation context
I see that the meth
Hi,
Is it possible to configure T5 to remove all t: tags from markup before
rendering?
Thx
Joel
--
SU3 Analytics Ltd
61b Oxford Gardens
W10 5UJ
London
Tel: +44 20 8960 2634
Mob: +44 75 2501 0825
www.su3analytics.com
SU3 Analytics Ltd is a company registered in England and Wales under compan
Now I get it, that's quite neat. Thanks.
Carl Crowder wrote:
The Layout component is not a special component, it's just the same as
any other component. You can reference any component as the root element
of a page, or any HTML element. All you need to do is include the
namespace, for example:
The Layout component is not a special component, it's just the same as
any other component. You can reference any component as the root element
of a page, or any HTML element. All you need to do is include the
namespace, for example:
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
Hi Serge,
Thanks, that worked - I didn't realise that the Layout.java and tml
files had to be in a directory named /component.
May I ask one more question, which is how to support layout files of an
arbitrary name? Say I want to have Layout2.java and Layout2.tml
Thx
Joel
SergeEby wro
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'm having issues using layouts (T5 5.0.15), with a tml, something like
this:
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
etc
However, I get the exception,
*Caused by: java.lang.IllegalArgumentException: Unable to resolve
'layout' to a component class na
Hi Joel,
The activation context is great for passing object ids (or entity
ids), and with database backed applications that is exactly what you'd
be doing most of the time. The notion behind REST is that each URL
represents a resource, which is pretty much what ids represent too.
I agree
I'm a new T5 user so wasn't familiar with the pattern below for adding
params to links, I'll definitely try it out.
However, If you go down the route you suggest below for passing
parameters between page, then what is the true value in the activation
context in the first place other than for t
EagerLoad'ing a service means that the service is instantiated when the
registry is started. Non-eagerloaded services are instantiated when the
service is used for the first time. Because you want you Quartz service
to be running at the start you can add the EagerLoad annotation to make
sure that t
Hi Martijn,
I use public static void contributeRegistryStartup, and it works.
I just discover this EagerLoad, is it correct that either of one works, no
need to use both?
Angelo
Martijn Brinkers (List)-2 wrote:
>
> You can flag the service to eager load (see @EagerLoad)
>
> Martijn Brinkers
Hi Lubor,
Your approach works, thanks.
Lubor Gajda wrote:
>
> Angelo,
>
> How are you instantiating scheduler in your application? Are you using
> tapestry IOC module?
>
> /lubor
>
> On Sat, Oct 11, 2008 at 10:55 AM, Angelo Chen
> <[EMAIL PROTECTED]>wrote:
>
>>
>> Hi Lubor,
>>
>> Thanks fo
The SlidingPanel (as it currently is), expects an Array of Strings that contain
the contents of the SlidingPanel:
E.g.:
public String[] getDetails(){
return new String[]{"Content A","Content B","Content C"};
}
Assuming, I want to return components instead of Stri
23 matches
Mail list logo