Hi
I hope someone can point me in the right direction here. I've hit a minor
problem re: T5 templates: I am using eclipse to develop my templates and I have
set the .tml extension to open in the xml editor which is great BUT I've now
got myself in a bit of a mess because I'm trying to use the t
org/1999/xhtml";
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
and i have my *.tml files associated with the HTML content-type to use the
HTML
editor
g
kris
Toby Hobson <[EMAIL PROTECTED]>
28.04.2008 14:31
Bitte antworten an
"Tapestry users"
Hi guys,
Anyone know af any "gotchas" re: using this filter in T5? I'm trying to display
a collection of objects in my page but i'm getting hibernate LazyInitialization
errors. Here's the relevant code:
Start.tml
${photo.na
That fixed it! ... thanks Jonathan
Toby
- Original Message
From: Jonathan Barker <[EMAIL PROTECTED]>
To: Tapestry users ; Toby Hobson <[EMAIL PROTECTED]>
Sent: Wednesday, 30 April, 2008 6:18:46 PM
Subject: RE: Question about T5 and OpenSessionInViewFilter
You might
I have a strange problem with the pagelink component. I am trying to navigate
from the start page to the ViewPhoto page but I get an exception:
[ERROR] RequestExceptionHandler Processing of request failed withuncaught
exception: Exception in
methodcom.thc.web.pages.ViewPhoto.onActivate(java.lan
It seems if i change all the hrefs to /myapp/images/... or /myapp/styles/...
things work ok. Is there a tapestry version of ?
Thanks
Toby
- Original Message
From: Toby Hobson <[EMAIL PROTECTED]>
To: users@tapestry.apache.org
Sent: Thursday, 1 May, 2008 1:53:11 PM
Subject: T5 pa
I am trying to create my first tapestry component. Basically I want to take a
collection of keywords and for each keyword generate a link to a tapestry page.
I'd like to use the component in page templates like
I have written the component class and template:
public class Keywords {
@Param
Sorry ... that should read
"But tapestry is complaining because it can't find a property called home on
the ViewPhoto page "
- Original Message ----
From: Toby Hobson <[EMAIL PROTECTED]>
To: users@tapestry.apache.org
Sent: Thursday, 1 May, 2008 7:07:22 PM
Subject: T5 cu
Hi Rob ... which site are you referring to?
Cheers
Toby
- Original Message
From: Rob Smeets <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Friday, 2 May, 2008 10:03:38 AM
Subject: Tapestry users declined for the first time in 3 years, says this
researh site ...
Hi guys,
I don't mean t
I am developing a photo sharing application and i would like to display a photo
whose url is retrieved dynamically. I have a property "photo" on my ViewPhoto
page and my ViewPhoto.tml is:
but this causes the onActivate(Long) method to fall
over. I've also tried but this doesn't
work because
Tried that but no luck because it misses the context root ... what i really
need is something like
Toby
- Original Message
From: Josh Canfield <[EMAIL PROTECTED]>
To: Tapestry users ; Toby Hobson <[EMAIL PROTECTED]>
Sent: Friday, 2 May, 2008 11:34:48 PM
Subject: Re: D
Sorry ...
To: Tapestry users ; Toby Hobson <[EMAIL PROTECTED]>
Sent: Saturday, 3 May, 2008 1:05:52 AM
Subject: Re: Dynamic asset
I don't know what is.
How are you getting the url? what is it supposed to point to? A page?
an action? a static file on the server?
Josh
On Fri, May 2
Can anyone see anything which is wrong with this code:
EditPhoto.tml:
EditPhoto.java
public void onSubmitFromEditPhoto() {
...
}
my event handler is not being called, I have also tried
@OnEvent(value="submit", component="editPhoto")
public void update() {
...
}
but this doesn't wo
008 12:09:00
To:"Tapestry users" , "Toby Hobson" <[EMAIL
PROTECTED]>
Subject: Re: Form event handler not being called
On Sun, May 4, 2008 at 10:44 AM, Toby Hobson <[EMAIL PROTECTED]> wrote:
> public void onSubmitFromEditPhoto() {
> ...
> }
> @O
Fixed it! Our designer added a form to our border.tml so we had a nested form
which messed things up.
Btw ... I believe the form component fires onSuccess and onSubmit events,
onSuccess only fires if the form has passed validation
Toby
- Original Message
From: Toby Hobson <[EM
Hi
I have a simple problem which is probably due to my lack of understanding about
the Tapestry request cycle:
I am trying to implement a basic pagination system - I have a form with a
textfield called startIndex and a loop component which iterates through a list
of values. Basically I am tryi
I managed to get around this by using @Persist on the startIndex property but
this doesn't seem right - do I need to use the session for a single request?
Toby
- Original Message
From: Toby Hobson <[EMAIL PROTECTED]>
To: users@tapestry.apache.org
Sent: Saturday, 10 May, 2008
uld do this (probably @Persist("flash")). The redirect-after-post
removes the danger of things like double posts (from page refreshes, etc).
Toby Hobson wrote:
> I managed to get around this by using @Persist on the startIndex property but
> this doesn't seem right - do I ne
Hi
I have hit an interesting problem: basically I am trying to search for some
records and display them in a list - simple stuff. The problem is that Tapestry
uses a redirect-after-post design so I have to stick the search results in the
session:
@Persist("flash")
private SearchResults
Yeah I should have thought of that one!
Thanks Thiago!
Toby
- Original Message
From: Thiago HP <[EMAIL PROTECTED]>
To: Tapestry users ; Toby Hobson <[EMAIL PROTECTED]>
Sent: Saturday, 10 May, 2008 8:33:16 PM
Subject: Re: T5 @Persist with hibernate objects
On 5/10/08,
Do you want to change the value of a persistent property? Many methods are
called during the lifecycle of a page, see
http://tapestry.apache.org/tapestry5/tapestry-core/guide/rendering.html
Toby
- Original Message
From: haipeng du <[EMAIL PROTECTED]>
To: users@tapestry.apache.org
Sent:
Great article guys - well done!
Toby
- Original Message
From: Renat Zubairov <[EMAIL PROTECTED]>
To: Tapestry users
Cc: Igor Drobiazko <[EMAIL PROTECTED]>
Sent: Sunday, 11 May, 2008 7:58:50 PM
Subject: [ANN] New article about Tapestry 5
Hello All,
My self and Igor Drobiazko are proud t
I am trying to display list of enums in my select component and this works
well, but i would like to add a blank option and validate that the field has
been selected by a user (i.e. not the blank option). Reading through the docs
is seems T5 should support this but I can't seem to get it to disp
Hi
I was wondering if there is a way to display a localized date using an
expansion, my idea is something like this: tml contains an expansion which
references a Date object e.g. ${currentDate). Tapestry looks up the format for
a date in the messageCatalogue and spits out the nicely formatted
Hi guys,
I'm trying to show/hide an html element based on Robert's recent suggestion
(Re: how do we secure our views) but I've hit a minor problem. The mixin's
@BeforeRender method is being called but then tapestry complains that the
component (textArea) is unbalanced. I'm using the component a
I'm actually done this (albeit using Spring MVC but similar issues apply). In
general it's pretty easy - the new activation context makes it much easier to
point to tapestry pages from a non-tapestry base (or indeed a bookmark). For
example you can now call http://www.domain.com/app/showProduct/
phases (or at least the short circuiting) do not
work as i was expecting :).
maybe you can take a look at the problem description (it think
there are a lot of details in the comments) of the jira at
https://issues.apache.org/jira/browse/TAPESTRY-1805
and comment on it.
g,
kirs
Toby Hob
Something else i've noticed ... if i modify my mixin to always return true
during the @BeginRender phase I still get the exception!
- Original Message
From: Toby Hobson <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Tuesday, 13 May, 2008 4:52:33 PM
Subject: Re: Mixin render ph
ds should return void, to avoid unintentionally
short circuiting other methods for the same phase."
Robert
On May 13, 2008, at 5/1310:55 AM , Toby Hobson wrote:
> Something else i've noticed ... if i modify my mixin to always
> return true during the @BeginRender phase I still
I'm not sure I like the idea of a framework FORCING me to do something, IMHO
poorly structured code should be prevented by coding standards and peer
reviews, not a rigid framework. Just moving the logic from a JSP/Template to a
Java class doesn't necessarily mean it's cleaner. Sometimes it is ac
This may sound like a simple question but I can't work out how to change a
property programatically. Basically I'd like to disable a component from an
event handler. I know I can pass params in via TML or using annotations but I
can't find any setX() methods on the components
Thanks
Toby
e such interfaces.
chris
Toby Hobson wrote:
> This may sound like a simple question but I can't work out how to change a
> property programatically. Basically I'd like to disable a component from an
> event handler. I know I can pass params in via TML or using annotations but
nent:
@Parameter
boolean disabled;
...
The page or component that contains the component:
@Component(parameters={"disabled=disabled",...}
private SomeComponent comp;
@Property
@Persist
private boolean disabled;
public onActionFromSomewhere() {
return disabled=false;
}
Hello again :)
I've just added some validation to my custom component and I'm having trouble
with the regexp validator. As per the "forms" tutorial on the T5 site I've
placed a @Validate annotation on my getEmail() accessor:
@Validate("required,regexp")
public String getEmail() {
})
@Validate(...)
private TextField emailText;
Toby
- Original Message
From: Toby Hobson <[EMAIL PROTECTED]>
To: users@tapestry.apache.org
Sent: Tuesday, 13 May, 2008 8:37:57 PM
Subject: Regexp within a custom component
Hello again :)
I've just added some validation to my cus
I've just noticed something: If I have two validators and validation fails
twice, I only see one error message. E.g.
@Validator("required, regexp");
public String getEmail() {
return email;
}
message catalogue:
email-required=please enter your email
email-regexp=(\\w+)@(\\w+\\.)(\\w+)(\\.\\w+
Hi Guys,
I would like to define an area at the top of my border.tml to show messages
which may be "flashed" to the user. Ideally pages and nested components will be
able to set the message that will be displayed here. I was thinking of allowing
pages and components to fire a custom event, which
e a RuntimeException - it will keep moving
up until it's handled
Toby
- Original Message
From: Toby Hobson <[EMAIL PROTECTED]>
To: tapestry
Sent: Wednesday, 14 May, 2008 2:00:43 PM
Subject: Event bubbling
Hi Guys,
I would like to define an area at the top of my border.tml to
Is there a reason why there is no component to render a hidden field?
Thanks
Toby
You might want to look at Java's EnumSet.range() method for this.
Toby
- Original Message
From: Leon Derks <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Wednesday, 14 May, 2008 4:33:58 PM
Subject: T5: select + enum
Hello,
Is it possible to show a limited list of my enum values in the s
Is it possible to tell T5 to not perform client-side validation? For the moment
I'm happy to take the round-trip hit to get around the problems I'm having with
the Javascript stuff
Toby
- Original Message
From: babbler <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Thursday, 15 May, 200
If you look at the generated HTML do you see a link to your stylesheet?
Toby
- Original Message
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: users@tapestry.apache.org
Sent: Friday, 16 May, 2008 10:11:18 AM
Subject: T5: absolute beginner's question with CSS
Hi,
I try to enable my c
Hi
I am looking to achieve something similar to the way in which JSP custom tags
work - I would like to make a property of a component available to nested
components/markup e.g.
TestPage.tml:
hello ${container.user.name}
Container {
@Property
User user;
@PageAttached()
void atta
I've managed to achieve something by making the "container" a component AND a
property on my test page:
@Property
@Component(id="container")
private Container container;
but this seems like a bit of a hack, there must be a neater way of doing this!
Toby
- Origina
Tapestry 5 does not use ognl by default, there is a long running discussion on
this list about this. T5 uses the "prop:" binding which will look for a
property on your page or component class which must be either a javabean
property or a no-arguments method. So it is not possible to call a metho
a property available to nested components
Check out the environment service.
Robert
On May 16, 2008, at 5/169:23 AM , Toby Hobson wrote:
> I've managed to achieve something by making the "container" a
> component AND a property on my test page:
>
> @Property
> @Compo
atic final long serialVersionUID = 1L;
private int startIndex;
private int endIndex;
... getters/setters
}
Toby
- Original Message ----
From: Toby Hobson <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Friday, 16 May, 2008 6:09:19 PM
Subject: Re: Making a property available to n
kage (in this
case my *.model package) it worked as expected. To double check I moved it back
and got the old and unhelpful error.
Should I raise a JIRA for this?
Thanks
Toby
- Original Message
From: Toby Hobson <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Friday, 16 May, 2
Original Message
> From: Robert Zeigler <[EMAIL PROTECTED]>
> To: Tapestry users
> Sent: Friday, 16 May, 2008 3:32:00 PM
> Subject: Re: Making a property available to nested components
>
> Check out the environment service.
>
> Robert
>
> On May
Hi
I'm looking at the t5-components project and I am trying to use the PagedLoop
component. I've added the commons and contrib dependencies and the repo to my
pom.xml and they are now on my classpath. But when I try to use
${photo.name}
Tapestry complains that it
Hi
I was thinking of integrating the hibernate-validator with T5's validation
framework (or trying to!) so I can re-use the validation rules I have already
defined on my model (kinda like JBoss seam). Firstly is anyone else working on
anything like this? Secondly do you think this would be usef
Check your classpath - one of your dependencies (which may be nested) might be
putting something on the classpath which is conflicting with Tapestry's
classes. Have you upgraded all your other Tapestry dependencies e.g.
tapestry-spring etc?
Toby
- Original Message
From: Britske <[EMAI
@Property is certainly in 5.0.11, you can also achieve the same effect with
standard getters and setters - in fact this is probably a better idea because
it makes it easier to test your pages IMHO
Toby
- Original Message
From: Manuel Corrales <[EMAIL PROTECTED]>
To: Tapestry users
Sen
snap!
- Original Message
From: Filip S. Adamsen <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Sunday, 18 May, 2008 6:17:09 PM
Subject: Re: Little confused
Hi,
Bleeding edge 5.0.12-SNAPSHOT at the moment. @Property autogenerates
getters and setters so you can just specify getters and se
Can anyone recommend a suitable testing strategy for T5 components - I've
looked at PageTester which seems suitable but I'm injecting spring managed
beans into my components and PageTester is unable to see them. I tried to
Inject the beans manually using a setter on the component but PageTester
Given that a JSP is basically a servlet, why not do something like
<%
response.include(request.getContextPath() + "/MyTapestryErrorPage);
%>
from your jsp exception page
btw I can't remember - can you map an exception handler to a servlet in web.xml?
Toby
- Original Message
From:
I'm sure there are many ways of doing this but here is an idea:
Page.java
@Persist("flash")
private Card selectedCard // or you could use the primary key if your Object
has one
@Property
private Card card // this is the current card the loop is processing
void onActionFromSelectCard(Card card)
Hi
According to the T5 site:
"After the fields have done their processing, the Form emits a"validate" event.
This is a chance to perform cross-form validationthat can't be described
declaratively."
I understood this to mean that a validate event will be fired after the
individual fields have
Problem fixed ... it appears the form doesn't emit a "validate" event, it emits
a "validateForm" event!
Toby
- Original Message
From: Toby Hobson <[EMAIL PROTECTED]>
To: tapestry
Sent: Monday, 19 May, 2008 11:17:44 PM
Subject: T5 cross-form validatio
Yeah ... when he published his article I asked him for the stats to back it up
but no response!
Toby
- Original Message
From: Chris Lewis <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Tuesday, 20 May, 2008 3:16:02 PM
Subject: Re: Tapestry users declined for the first time in 3 years, sa
Hi
How do I change the default validation message for a validator i.e. I want to
change the message from "you must supply a value for is" to "x is required". I
know how to do it for each property i.e. email-required-message=x but I'd like
to change the default
Thanks!
Toby
Sorry ... I should have looked at the wiki first
Thanks Manuel
Tob
- Original Message
From: Manuel Corrales <[EMAIL PROTECTED]>
To: Tapestry users ; Toby Hobson <[EMAIL PROTECTED]>
Sent: Wednesday, 21 May, 2008 9:19:48 PM
Subject: Re: Overriding default validation messa
Funny you should ask that Dan ... I was just struggling with something very
similar:
BasePage.java
public abstract class BasePage {
@Inject
private Session session;
@Property
private List items
private Class entityClass;
public BasePage(Class entityClass) {
th
I have a slight problem using assets (images and css files) my app. within
Layout.tml I have:
This works fine when I access the app at http://localhost/app/start for
example. But when I try http://localhost/app/start/ the css and images are
screwed. I've noticed that in the generated html, T5
Yes, that works!
Thanks Thiago - I should have read your earlier post!
Toby
- Original Message
From: Thiago HP <[EMAIL PROTECTED]>
To: Tapestry users ; Toby Hobson <[EMAIL PROTECTED]>
Sent: Friday, 23 May, 2008 2:08:36 AM
Subject: Re: T5 assets and trailing slash on urls
What application server are you using?
Toby
- Original Message
From: zaxeer <[EMAIL PROTECTED]>
To: users@tapestry.apache.org
Sent: Friday, 23 May, 2008 1:40:54 PM
Subject: Tapestry Page Pool handling.
Hi All,
I am facing a problem in tapestry related to pages cache, when some html
pag
I'm pretty sure I got this error when I tried to use a newer version of
hibernate, but 3.2.2.ga worked ok.
Btw the tapestry-hibernate stuff works brilliantly ... well done to all the T5
and T5-Hibernate team!
Toby
- Original Message
From: János Jarecsni <[EMAIL PROTECTED]>
To: Tapestry
Sadly it's a bit more scary than that :( if you try
http://myserver/contextRoot/assets you will get a (not very nice) surprise!
I'm using acegi to block access to everything except *.css, *.js and images
under the assets path but I believe Robert has written a dispatcher which also
controls acc
I think that setting TapestryConstants.PRODUCTION_MODE_SYMBOL, "true" should
only allow clients to download *.css, *.js and *.jpg, *.gif etc. files from the
asset service
What do you guys think?
Toby
- Original Message ----
From: Toby Hobson <[EMAIL PROTECTED]>
To: Tape
05-25 16:28, Toby Hobson wrote:
> Sadly it's a bit more scary than that :( if you try
> http://myserver/contextRoot/assets you will get a (not very nice) surprise!
>
You mean a 404 Not Found or blank page depending on whether or not I put
a slash at the end?
AH ... maybe it has been fixed in 5.0.12 ... I hope so!
- Original Message
From: Filip S. Adamsen <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Sunday, 25 May, 2008 3:57:41 PM
Subject: Re: T5: prohibit directory listing
I'm on 5.0.12-SNAPSHOT.
-Filip
On 2008-05-25 16:55,
I'm trying to integrate a flash application with my T5 code. My flash app
(built using OpenLaszlo) will make various http get and post requests to the
server. Ideally I would like to write a custom component which will render the
flash swf on the page and also handle all the callbacks from the
Hi
I have a page which allows a user to update his profile. This includes a select
component to choose the user's state of residence:
public Enum State {
ALABAMA, ALASKA, ARIZONA ...
}
MyAccount.tml
// text fields etc.
User.java
public class User {
private State state;
pu
Problem solved ... a typo in my code!
Sorry!
Toby
- Original Message
From: Toby Hobson <[EMAIL PROTECTED]>
To: tapestry
Sent: Tuesday, 10 June, 2008 12:19:28 PM
Subject: T5 Setting selected option on Select component
Hi
I have a page which allows a user to update his profile
I am trying to add validation to a ratingField, I was assuming it bahaved
similar to a radioGroup but I can't seem to add validation to the field.
I have a property on my page with getters and setters:
private Integer rating;
@validate("required")
public Integer getRating() {
}
...
my templat
Hi
I have been experimenting with T5's ajax support which looks really nice! One
problem I have hit is when I use a nested component within a block, simple
properties are displayed but the nested components don't render e.g.
photo.tml
name: ${photo.name}
rating:
...
show details
photo.
It seems the problem is that I had wrapped my block inside a form, removing the
form fixed it!
Toby
- Original Message
From: Toby Hobson <[EMAIL PROTECTED]>
To: tapestry
Sent: Monday, 14 July, 2008 1:06:45 PM
Subject: T5 nested components within t:block
Hi
I have been experim
Hi
Is it possible to use ajax partial replace to include a component which also
uses ajax, as in this scenario:
I create a custom component which uses zones to perform a partial update, I
then use this custom component on a page:
MyComponent.tml
hello world
click me
MyComponent.java
@I
Hi
Could anyone tell point me to some docs about T5's component lifecycle? I know
there are methods like pageLoaded and onActivate available to pages, I wondered
if there was something similar for components
Thanks
Toby
Hi
I have noticed some strange behavior with the ratingField component - if i use
it within a block which is rendered inside a zone the star's no longer appear
and it defaults back to a regular radio group e.g.
show rating
@In
I've been using T5 and Flash (OpenLaszlo) successfully, I'm currently writing
a tutorial about it ... i'll let you know when i publish it. In the meantime if
you have any specific questions feel free to email me
Toby
- Original Message
From: Antonio Fernández - STAR Málaga <[EMAIL PR
I have written a component based on treemenu. I'll happily send you the code
but it comes with no warranty!!
Toby
- Original Message
From: Hugo Palma <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Friday, 25 July, 2008 6:41:02 PM
Subject: Explorer like tree component
I was wondering if
Hi Russel,
Have a look at
http://wiki.apache.org/tapestry/Tapestry5ObtainingHttpServletRequest
Toby
- Original Message
From: Russell Brown <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Monday, 28 July, 2008 12:17:25 PM
Subject: T5: HttpSession id. How to get it?
Hi,
I need to HttpSe
Hi Steve
We're actually trailing red5 at the moment. So far we've had mixed results but
these have been issues related to the server itself, nothing relating to T5
integration. OpenLaszlo is a pretty compelling alternative to Flex because it's
relatively mature and there is a large amount of do
Hi everyone,
I may have found a bug in 5.0.14 but I wanted to run it by everyone before
posting it:
If I have a component (lets call it component-a) which uses ajax zones to do a
partial refresh and I include it on a page or other component through an ajax
call the zones no longer work e.g.
M
Hi Guys,
I have just written an article re: T5-Adobe flash integration. It can be found
at http://knol.google.com/k/toby-hobson/tapestry5-flash-integration/
I would be grateful for any feedback
I'm planning to write a few more articles on this subject so I'll keep you all
informed!
Toby
Yes you can ... I think I will update the article to reflect that.
Thanks for your feedback
Toby
- Original Message
From: Jun Tsai <[EMAIL PROTECTED]>
To: Tapestry users ; Toby Hobson <[EMAIL PROTECTED]>
Sent: Friday, 1 August, 2008 2:40:18 AM
Subject: Re: New article
Hi Hugues,
Which version of Tapestry are you using?
Toby
- Original Message
From: Hugues Narjoux <[EMAIL PROTECTED]>
To: users@tapestry.apache.org
Sent: Friday, 1 August, 2008 9:00:48 AM
Subject: Updating a zone within a form ?
Hi,
I am trying to update a zone which is included in a
Sorry ... i don't fully understand your question. Could you explain a little
more
Thanks
Toby
- Original Message
From: luna_guo <[EMAIL PROTECTED]>
To: users@tapestry.apache.org
Sent: Saturday, 2 August, 2008 4:07:55 AM
Subject: t5 how to write response to file
how to use t5 to writ
I've just published the first article on this subject. You can find it at
http://knol.google.com/k/toby-hobson/tapestry-5-flash-integration/ The
second article (client-server interaction) is in progress!
Toby
Toby Hobson-2 wrote:
>
> I've been using T5 and Flash (OpenLasz
rwise, the component always will
> render the same id for his div, being able to create conflicts, right?
> Thanks again
>
>
> Toby Hobson wrote:
>
>> Hi Guys,
>>
>> I have just written an article re: T5-Adobe flash integration. It can be
>> found at
>
Hi Francisco,
Google have changed the link to my article - now I know whey their code is
beta! please see:
http://knol.google.com/k/toby-hobson/tapestry-5-flash-integration
Thanks
Toby
2008/8/3 Massimo Lusetti <[EMAIL PROTECTED]>
> On Sun, Aug 3, 2008 at 6:51 AM, Toby Hobso
There are still a few issues relating to AJAX which need to be sorted out. I
believe this is why T5 is still beta - although I think T5 beta is more
stable than many other production frameworks!
Toby
2008/8/4 Partogi, Joshua <[EMAIL PROTECTED]>
> As for me, I don't really care about the beta sta
Hello Peer,
Sure it can be done ... have a look at JSON.stringify() at
http://www.json.org/js.html, this will turn the Javascript object into JSON
text.
On the server-side you need to use JSONTokener and JSONObject see
http://www.json.org/java/index.html to convert back to a Java object
If you n
Sorry guys ... I'm writing it at the moment!
Toby
2008/8/4 Francisco Manzano <[EMAIL PROTECTED]>
> Yes, we are really waiting for it !!
>
> Thanks
>
> Hugo Palma wrote:
>
>> Hi again Toby,
>> please don't forget to add your code to the wiki.
>>
You don't actually need the underlying HttpServletRequest, you can use
Tapestry's abstraction org.apache.tapestry5.services.Request e.g.
@Inject
private Request request;
void method() {
String context = request.getContextPath();
}
There's nothing wrong with using the HttpServletRequest, but ke
Hi Everyone,
I have just written a draft article re: client-server communication between
flash applications and tapestry pages/components:
http://knol.google.com/k/toby-hobson/tapestry-5-flash-integration-part-2
As always feedback (positive and negative!) is welcomed
Toby
Does anyone know if something similar is available (or planned) for T5?
Toby
2008/8/5 Thiago Henrique de Carvalho <[EMAIL PROTECTED]>
> Hi,
>
> Take a look at @EventListener annotation. Docs show example of transmiting
> JSON from page to Tapestry.
>
> Thiago
>
> -Mensagem original-
> De
Hi
I use eclipse together with maven's jetty plugin - I dont have to compile
the files I just change the TML then refresh the page in my browser - easy!
Togy
2008/8/6 kace <[EMAIL PROTECTED]>
>
> Hi fellas,
>
> Do you have to compile .tml files if you want the changes to be picked up
> by
> jet
Hi Howard,
jetty:run seems to work pretty well for me. It can be configured for manual
or automatic reloading of the files. I run it from eclipse as an external
application and use remote debugging. The advantage I have found to this
approach is that I can configure maven lifecycle goals so for ex
1 - 100 of 163 matches
Mail list logo