I have no form. You can see my whole hello world app in my reply to Robert.
Norbert
Ulrich Stärk wrote:
>
> If you are using the property inside a form it can be accessed 3 times:
> first time when the page
> renders, second time when the form gets submitted and is rewinding and
> third time
- Home.html --
Tutorial: HelloWorld
HelloWorld Tutorial
The current data and time is:
June 26 2005
- Home.page ---
http://tapestry.apache.org/dtd/Tapestry_4_0.dtd";>
Which dependencies were you missing?
sparqle wrote:
>
> I figured it out. I was missing some dependencies. It works now.
>
>
--
View this message in context:
http://www.nabble.com/T5-tapestry-hibernate-tp17591952p18539517.html
Sent from the Tapestry - User mailing list archive at Nabble.co
oh ok, now I get it.
Too bad the "component" approach doesn't work. Creating a component makes
more sense to me, I wonder if it can be fixed by the framework..
thx for clearing this up!
Ronald
Harald Geritzer-2 wrote:
>
>> So what do you mean by letting the page to render the image? Do you
So what do you mean by letting the page to render the image? Do you mean
that every page will have the two functions above?? And what the poster
component needs to do then??
instead of having a component providing the image you could have a page:
public class Preview {
public
If you are using the property inside a form it can be accessed 3 times: first time when the page
renders, second time when the form gets submitted and is rewinding and third time when the result
page (if it's the same page) gets rendered. Is this your case?
You might want to have a look at the
Hi Josh,
I don't quite understand what you mean...
My component is called "Poster" which renders an image. The TML of this
component is like this:
.
${userPosterImageLink}
.
And the component code has a function "getUserPosterImageLink" return a
link:
public Link getUserPoster
It sounds like you are using an action to render the image. What I did was
had my image rendered by page instead of the component. The component just
puts the img element into the page.
consider using expires instead or/in addition to cache-control
in your StreamResponse.
public
Hi,
In my StreamResponse class I set the header like this:
arg0.setHeader("Cache-Control", "max-age=3600, must-revalidate");
I created a component responsible to render this StreamResponse, and this
component is being used in multiple pages. It appears that even though the
function in my compon
Can't explain without more information about your page.
That said, you can always throw a @Cached annotation on there if needed.
Robert
On Jul 18, 2008, at 7/182:20 PM , MBBert wrote:
Hi!
I set up a new environment with Hibernate, Spring and Tapestry.
After the
first tests I wondered why
Hi!
I set up a new environment with Hibernate, Spring and Tapestry. After the
first tests I wondered why each DB access was done 3 times.
For verification I set up a simple Hello World App and there is this strange
behaviour also. When I set a break point in the getter method, I can see
that it w
Hi there,
still developing my tree component, now I have a new problem.
My tree consists of a recursive list, each entry is a rendered block.
While this works great while being in the rendering phase (by returning
the correct block from my beginRender method, and looping said method by
return
The demo source code uses this code in the WindowPage.tml
function showWindow2()
{
${window2.componentResources.id}.setTitle("This is Window 2")
${window2.componentResources.id}.setHTMLContent("... here come some
senseless content ...")
${window2.componentResources
A block is not a component afaik but a Tapestry element
See:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
Martijn
On Fri, 2008-07-18 at 15:22 +0200, Andy Pahne wrote:
> I looked for the component refernece of Block at:
> http://tapestry.apache.org/tapestry5/tapestry-co
Hi Oliver,
Any chance that Java 6 is being used? Please re-check steps 4 and 10
of http://files.doublenegative.com.au/jumpstart/installation.html
If that doesn't fix it, what OS are you using? Which version of
Eclipse?
Cheers,
Geoff
On 18/07/2008, at 1:04 AM, Oliver Lee wrote:
hi,al
I looked for the component refernece of Block at:
http://tapestry.apache.org/tapestry5/tapestry-core/ref/index.html
It's not there, but in T5 there still is a Block component (at least I
expect one, as the component reference of Grid references Blocks)
Andy
16 matches
Mail list logo