Hi Thiago,
Thanks for your suggestion.
Yes, the CSS is included correctly.
The problem goes away when I use an Integer rather than an int.
p.
Quoting "Thiago H. de Paula Figueiredo" :
Check if the Tapestry CSS file is being correctly included in your
pages, because that's the one who hides
Quoting Borut BolĨina :
First, calm down :-)
:-)
Try with fresh maven tapestry 5 project.
Thanks, although everything in my project is working and I'd rather
understand how the class reloading works and how I can fix my
non-working version than start from scratch.
Perhaps
http://
I have an input box that accepts an int. It is enabled/disabled by a
selection from a combobox. Whenever it is enabled it shows a red
border and red X next to it, even though the value in the box is
correct (and is initialised with a value when the page is initially
shown).
Here is my m
A while ago I had a problem with Maven deciding to wreck my Eclipse
environment.
I managed to fix all the problems, but I noticed class reloading no
longer works.
It's beginning to drive me insane, having to restart Jetty all the time...
Where abouts should I look to get class reloading wo
Please ignore previous posting.
Problem (2) was caused by further problems courtesy of Maven screwing
up my Eclipse environment. All fixed now.
Apologies!
p.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.or
0)
at org.apache.tapestry5.corelib.components.Form.onAction(Form.java)
Quoting Andy Pahne :
Sounds interesting somehow.
Do you have some code to see?
tapestryphoto schrieb:
Hi,
I'm using Jetty/T5/Eclipse.
Earlier this-afternoon I made the mistake of doing a Maven &qu
Hi,
I'm using Jetty/T5/Eclipse.
Earlier this-afternoon I made the mistake of doing a Maven "Update
Project Configuration" and Maven anihilated my build setup.
I have set the classpath back to what it was and everything compiles
and the application works as expected EXCEPT:
1) I no longe
nType");
model.add("parentOrganization");
}
public BeanModel getModel() { return model; }
- Ville
tapestryphoto wrote:
My grid data required a model. In copying this in from an example I had:
@SuppressWarnings("unchecked")
@Property
ain rather than @Persist, where should I be
initialising my model?
thanks,
p.
Quoting tapestryphoto :
Further investigation reveals this is happening due to the page timing
out and being returned to the pool by the timeout specified by the
configuration option:
tapestry.page-pool.active
pool.
Unfortunately I'm not very knowledgable about this - even after
reading the relevant info on page lifecycles. Can someone please shed
some light on this?
p.
Quoting tapestryphoto :
Hi!
I have a form and a grid component on one of my pages (the grid is
outside the form). Al
Hi!
I have a form and a grid component on one of my pages (the grid is
outside the form). All operates normally (using Jetty) unless I leave
it for 10 minutes. If I then attempt to perform a submit I get the
Null Pointer Exception listed below. It only happens on pages with the
grid comp
I need to be able to reset everything when the user logs out.
Currently @Persist objects are still available if the user logs in
again with the same browser instance. This isn't very optimal.
I have searched the mail archive and found some comments on this issue
made at the end of 2007. I'm
Hi,
I have a template component that is used by all my pages. I'd like to
be able to specify for one of those pages.
Unfortunately it doesn't seem to matter what way I try I cannot get it
to work.
I can't include a in the page because then there will be two
such tags (Firefox doesn'
public InputStream getStream() throws IOException {
return new ByteArrayInputStream(pdf);
}
public void prepareResponse(Response response) {
}
}
TestPage.tml:
Open a PDF
J
On Dec 15, 2008, at 7:59 AM, tapestryphoto wrote:
Thanks Olle,
However, reading the docs I see that t
eamResponse applies to
Components only.
Hmmm. !
p.
Quoting Olle Hallin :
Yes, there is.
Let your handler method return a StreamResponse object.
See http://tapestry.apache.org/tapestry5/guide/pagenav.html
and
http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/StreamRespo
Hi,
possibly not Tapestry specific and I'm not knowledgable enough on this
subject, so apologies.
I would like to be able to display a PDF that I obtain from a database
using Hibernate via Tapestry. Is there a way to stream the data?
thanks,
p.
se visit
http://www.albourne.com/email.html for important additional terms
relating to this e-mail.
- Original Message -
From: "tapestryphoto" <[EMAIL PROTECTED]>
To: users@tapestry.apache.org
Sent: Wednesday, 3 December, 2008 1:42:53 PM GMT +02:00 Athens,
Beirut, Bucharest, Ista
Hi,
I am trying to deal with session timeouts in T5.
Rather than extend a base class I was hoping I might be able to use an
Annotation. However, I find that when the user activates a link or
presses a button on a timed-out session that the dispatcher is not
being called early enough to det
Hi,
I've just moved from 5.0.15 to 5.0.17. I now find I get this:
Render queue error in BeginRender[Administration:pagelink_1]: Error
persisting field SearchMetadata:allKeywords: Persistent fields may not
be updated until after the page has finished loading. This may be due
to a persisten
maven on my
laptop simply by extracting it into a directory as my user, then adding the
bin directory to my user's path..
tapestryphoto wrote:
Quoting Olle Hallin <[EMAIL PROTECTED]>:
Does it work from the command line?
Olle
I tried mvn war:war from the project directory.
Biza
Quoting Olle Hallin <[EMAIL PROTECTED]>:
Does it work from the command line?
Olle
I tried mvn war:war from the project directory.
Bizarrely it gives even more problems. I find Maven very frustrating...
[INFO] Failed to resolve artifact.
Missing:
--
1) org.apache.maven:maven-archi
ot familiar with Jetty):
http://markmail.org/message/csnnytlurso7b3ut
--James
-----Original Message-
From: tapestryphoto [mailto:[EMAIL PROTECTED]
Sent: November-06-08 10:19 AM
To: users@tapestry.apache.org
Subject: Tapestry 5, WAR files and deployment
Hi,
Having gone through the Tapestry t
Hi,
Having gone through the Tapestry tutorials, got to grips with it,
developed a small application and have got it running well I'd like to
actually deploy it.
I notice there are no documents, examples or tutorials (as far as I
can see) that address how to do this. Even the "Tapestry 5"
By chance I used one for the first time this-morning.
I have:
t:rowIndex="rowIndex" t:empty="There are currently no search results"
t:model="mymodel" t:row="listItem">
...
>
--
viewMetadata.tml
More on Assets: http://tapestry.apache.org/tapestry5/guide/assets.html
- Tobias
tapestryphoto schrieb:
I have a PageLink thus:
>
and code thus:
public void onActivate(long
I have a PageLink thus:
>
and code thus:
public void onActivate(long metadataId)
{
System.out.println("METADATA ID = "+metadataId);
this.metadata = repository.getMetaDataById(metadataId);
}
Although every time I click on the link I get taken to the correc
Ok, after some experimentation I can see that I can do this by
providing a BeanModel.
p.
Quoting tapestryphoto <[EMAIL PROTECTED]>:
If the source for a grid is a collection which has a generic type of
an abstract class and the list contains concrete classes which are not
all of th
Quoting Andy Pahne <[EMAIL PROTECTED]>:
tapestryphoto schrieb:
I think you might find (as I did - see my 2nd original posting on
this issue) that the objects being updated in the loop are
different instances to the ones that are specified. It seems to be
a serialization proble
If the source for a grid is a collection which has a generic type of
an abstract class and the list contains concrete classes which are not
all of the same subclass then it throws:
Render queue error in BeginRender[SearchByTag:grid_0.rows.gridcell]:
ConcreteB cannot be cast to ConcreteA
Quoting Andy Pahne <[EMAIL PROTECTED]>:
That were our web designers. But it worked that way in many other form
components. So I did not think about it any further.
Anyway, I tried . There's no difference in the
behaviour, regardless of which type of Submit is used.
I think you might find (
form control element components (TextField, etc.) work
inside loops. However, some additional configuration is needed to make
this work efficiently. "
Unfortunatly it does not say what "additional configuration" is needed
to make that work.
Andy
tapestryphoto wrote:
This looks s
This looks similar to my problem (see both of my posts from a day or
so ago). It appears Loops in a Form do not update the properties.
Perhaps this is broken in Tapestry. I guess it must be a bug.
Unfortunately I'm not knowledgeable enough about Tapestry to provide
an answer and I await so
Am I correct in thinking that the default BeanModel only recognises
the standard property types (String, double, etc, etc)?
I have a bean with several properties, one of which is one of my own
types. When I attempt to use this bean in Grid I am unable to specify
the property in the includ
must be being created by the serialization mechanism.
Any further thoughts appreciated as this has me stumped.
p.
Quoting tapestryphoto <[EMAIL PROTECTED]>:
Hi,
Bit of a simple query. I'm not sure what I'm doing wrong as I've
followed the example given in the T5 component
Hi,
Bit of a simple query. I'm not sure what I'm doing wrong as I've
followed the example given in the T5 component reference (bar using an
encoder - my values are strings so I don't see why I should need one).
I'm trying to implement a dynamic form where a user can add extra
keyword fie
35 matches
Mail list logo