Hi all,
I've got the following in my Init.html:
${subdirectory}
which nicely generates a list of links. The subdirectory parameter is
a string (i.e. directory.options is a List, a list of
subdirectories).
In Init.java I have
public void onActionFromSubdir(final String subdirectory) {
System
Can anybody give some suggestion?
Allen Guo 写道:
> Hi All,
>
> If I use loop component in html template like this
>
> ${_sort.name}
>
>
> I have to define the property in corresponding page class like this
> public class SortList {
> .
> private Sort sort;
> private List sorts;
> public Sort
I tried it.But it still don't work.
Even it can work, I think this is also not good.
Becuase it make writting javascript in html template becomes so complex.
I remember in T4, I can add a same .script file with page class then
write javascript in it.
Can I do it like above in T5?
Timo Hillerns
If you specify a doctype in your templates (like XHTML 1.0 Strict), you can
use entities like ©
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml"; xmlns:t="
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
Copyright © Me
On 6/8/07, Steven Coco <[EMA
Does this enable us to use hibernate validator in our business layer
that is completely independent from tapestry?
Hibernate validator is right now our favorite option for validation,
but it might be that we have to use an own implementation - we're still
evaluating.
What we're sure about is that
That's true ... though I expect to make Tapestry smarter about
recognizing the Hibernate annotations and producing automatic client-
and server-side validation for them.
On 6/9/07, Martin Grotzke <[EMAIL PROTECTED]> wrote:
We want to do validation in the business layer (with hibernate
validator)
Here we go again ...
Tapestry pages a very structured, in effect, static. This is core to
Tapestry's approach towards scalability and maintenance of server side
state.
However, even though the page structure is static, the order in which
components render is really under your control. Further,
That's great to hear. I agree that the documentation needs a little
work about layout, we're relying on the crutch of saying "use the
standard Maven layout". Of course, there's nothing in Tapestry that
requires that exact layout.
There has certainly been some interest from a few different direc
One thing I did in Struts is decide which tile to load for of my users
into their layout.
How do I in T5 have different layouts and different components load?
Normally in session I from DB load layout name and what components
(formerly tiles) go into each "zone" of the layout.
I would do an e
I did 1st book on Struts, @ 2 years ahead of any other.
Today I tried T5 and I want to say it rocks and is much simpler then
other frameworks.
I will do my new projects in it.
I saw the videos, and my only are of improvement is that the T5 Videos
are Maven centric and alien to us Ant folk. Ho
We want to do validation in the business layer (with hibernate
validator) and get back an exception with a list of invalid values,
where each invalid value provides the property path.
Then we want to have a mapping of the property path to the element
name and record an error for this on the tapest
I don't see the value ... how would you obtain the element name
without getting the field itself; and if you've injected the field (to
invoke getElementName() ), then why wouldn't you just pass the field
to the tracker?
Convince me there's something actually missing.
On 6/9/07, Martin Grotzke <[
Hello,
right now there's a recordError(Field,String) method for storing
errors for elements of the page.
We would like to have also a method recordError(String,String) where
the first parameter is the element name.
The ValidationTrackerImpl seems to use only the elementName of the
Field:
pr
hi allen,
replace your '<' character with '<' in line 19 should fix it.
regards,
timo
Allen Guo wrote:
> Hi All,
>
> I use javascript in my html template file like this.
> 15
Hi All,
I use javascript in my html template file like this.
15
Oooo.. Thank you Howard. I've looked in the wrong place.
On 6/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
The text is a function of the Errors component (which is embedded
inside the BeanEditForm).
On 6/9/07, Adam Zimowski <[EMAIL PROTECTED]> wrote:
> No answer? I guess at least it'd be
The text is a function of the Errors component (which is embedded
inside the BeanEditForm).
On 6/9/07, Adam Zimowski <[EMAIL PROTECTED]> wrote:
No answer? I guess at least it'd be good to know if this isn't
implemented in T5. Anyway, as a work around I've spit out the
unexpected error below the
No answer? I guess at least it'd be good to know if this isn't
implemented in T5. Anyway, as a work around I've spit out the
unexpected error below the form without using form error mechanism.
On 6/7/07, Adam Zimowski <[EMAIL PROTECTED]> wrote:
Hello,
Is there a way to customize the default bann
Hi Marcus,
It's just a JavaBean, representing a building or room, and some getters and
setters.
Cheers
Erik
On 6/9/07, Marcus <[EMAIL PROTECTED]> wrote:
Hi Erik,
what about (nl.tno.secureit2.data.PhysicalObject)?
Thanks
Marcus
19 matches
Mail list logo