This type of bleed can occur when you initialize fields in their
declaration
eg:
@Persist
@Property
private Filter filter = new Filter(); // BAD!!
Tapestry's property expressions are deliberately simple to keep your
templates focused on layout, not logic. The less you do in a property
expression, the better.
Create another method / getter on your page / component and call that
instead. With tapestry's live class reloading it's quick to do.
O
I use substiotutions like ${someFunc()} to output some code. This is used for
dynamically adding some partner scripts on the site (counters, marketing tools,
etc.).
The issue is that I need raw output, but some symbols are replaced. For example
">" is replaced with ">".
Also, I can't use other
Hi Tapestry Users,
I quickly knock up a prototype using tapestry-hibernate and have recently
injected tapestry services into page classes. The page class therefore
doesn't have to change when shifting to JEE env.
I'm moving it now to glassfish and replaced my hibernate queries with
simple @EJB s
Hello everybody,
I have a form and I would like to validate some of its fields server-side
without waiting for the user to submit the form (so f.ex I would validate a
field when it loses the focus, or something like that; this is not important).
I can manually code Ajax calls myself, to make th
You could use the observe mixin here:
http://tapestry-stitch.uklance.cloudbees.net/observedemo
> You could use the observe mixin here:
> http://tapestry-stitch.uklance.cloudbees.net/observedemo
Thanks a lot, it looks great, I'll definitely try to use it.
Cheers
Lance, wouldn't that require updating zones within the Form. Doesn't that cause
problems?
On 16 Sep 2014, at 10:09 pm, Lance Java wrote:
> You could use the observe mixin here:
> http://tapestry-stitch.uklance.cloudbees.net/observedemo
I'm looking forward to taking it for a spin.
On 13 Sep 2014, at 6:48 pm, françois facon wrote:
> Hello All,
>
> Please find a new version of
> http://tapestryangular-frafac.rhcloud.com/#/phones
> at https://github.com/ffacon/tapestry5-angular-demo/tree/V0.2
>
> In this version:
>
> A Tapestr
It's no different to a normal zone update (eg via EventLink)
I was assuming he was just wanting to show validation errors in zones. This
shouldn't cause any problems. If he wants to add dynamic fields to the
form, he'll need to use the FormInjector instead.
On 16 Sep 2014 13:40, "Geoff Callender"
That is right, I just want to show validation errors. I do not need to add
dynamic fields to the form.
-Original Message-
From: Lance Java [mailto:lance.j...@googlemail.com]
Sent: Tuesday, September 16, 2014 14:46
To: Tapestry users
Subject: Re: Server-side validation without submit
It'
On Mon, 15 Sep 2014 19:25:21 -0300, Boris Horvat
wrote:
Hi all,
Hi!
Answering the question in the subject:
Short answer: no.
Long answer: noo! :p
On the other hand, you can @Persist a field which is used as a parameter
to a component or mixin. This is ve
On Mon, 15 Sep 2014 19:25:21 -0300, Boris Horvat
wrote:
Reading a tapestry documentation I get that page only has one instance,
so does this mean that once I place something in the component's
parameter it is unable to determine in which session it should be place?
No. Tapestry itself ne
On Tue, 16 Sep 2014 06:06:55 -0300, Chris Mylonas
wrote:
Hi Tapestry Users,
Hi!
Is there a limitation to how/where to use @EJB?
It depends on how your project handles it.
All my tapestry services
and their implementation are in the services package - is this one of
those special pac
Hi all,
I wanted to know how can we make a component restrictive within an another
component.
As the best example for my situation here would be the jumpstart's tabs
component.
http://jumpstart.doublenegative.com.au/jumpstart7/examples/navigation/tabs
.
We have a
and I want to make
Hello Tapestry users & devs,
I have a component which does lots of ajax requests. Parameters setted at
the first render are not available upon ajax requests so I decided to
persist them in specific properties.
One of those parameter is a database entity (I use tapestry-jpa) so I
decided to use the
Hi!
@Inject
private ComponentResources resources;
...
// getting the child component instance ids
List embeddedIds =
resources.getComponentModel().getEmbeddedComponentIds();
for (String id : embeddedIds) {
// get the component instance
Component component = resources.getEmb
As for now, I solved my problem using a new PersistentFieldStrategy and I
want your opinion about it:
public class MultiplePersistentFieldStrategy implements
PersistentFieldStrategy {
private final Logger logger;
private final List delegates;
public MultiplePersistentFieldStrategy(f
Hi,
I have a T5 webapp which I am currently running using jetty on windows
which works as expected. I am building the project using maven and
running it using mvn jetty:run. However, I can (and have) tried
installing jetty and building it into a .war and deploying it that
way.
Whichever way I do
I'm not sure that's a good idea. This will mean you can't use ,
or any other components which generate might help in rendering tabs.
On 16 Sep 2014 14:46, "Sumanth" wrote:
> Hi all,
>
> I wanted to know how can we make a component restrictive within an another
> component.
>
> As the best examp
Linux file system is case sensitive whereas windows is not. I'm guessing
you have a tml file where the case of the tml filename does not match the
class name.
On 16 Sep 2014 17:27, "Stephen Nutbrown" wrote:
> Hi,
>
> I have a T5 webapp which I am currently running using jetty on windows
> which
Thanks Lance - I will check that first. I did fix one occurrence of
that already but think I got them.
I also wonder if this exception is could actually caused when I try to
show an error message on the password field of the login form like
this:
loginForm.recordError(passwordField,
"Invalid user
Oh, I see. I found it. It took me nearly 3 or 4 hours.
Lessons learnt:
- Always look at the full log from jetty, not just what is shown on the page.
- Make sure filenames are capitalised correctly (Thanks Lance).
- Check that somebody else hasn't changed the required security manager using:
System
ahh ok, now I get it, why it is not necessary.
On Tue, Sep 16, 2014 at 6:29 PM, Lance Java
wrote:
> I'm not sure that's a good idea. This will mean you can't use ,
> or any other components which generate might help in rendering tabs.
> On 16 Sep 2014 14:46, "Sumanth" wrote:
>
Thank you,
S
Brilliant, thanks Thiago. I'm spending a month doing mainly tapestry stuff
luckily and will put some workflow R&D in.
I have nonetheless created a branch in my project doing the monkey business
of manual transformation because I'm deadlining on multiple projects and
will go with proven tech.
On 1
Hi Stephen,
Another thing to note, are you running as a non-root user? On linux,
opening a port < 1024 requires higher permissions. I noticed your log said
jetty starting on port 80.
CM
On Wed, Sep 17, 2014 at 3:05 AM, Stephen Nutbrown
wrote:
> Oh, I see. I found it. It took me nearly 3 or 4
Actually I found a cheap workaround.
In my Tapestry Service Implementation class constructor, do a jndi lookup
for the session/business layer interface. I might switch back to my master
branch now :)
public TapestryUserServiceImpl() {
try {
_initialContext = new Initial
27 matches
Mail list logo