There are several ways to pass data between pages in T5. They're all
demonstrated here:
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/state/passingdatabetweenpages1
The one you want is labelled "Request Parameters". Does that help?
Geoff
On 02/05/2009, at 6:15 PM,
Hi,
If you add a script with an external url then script combining is disabled.
>From DocumentLinkerImpl :
public void addScriptLink(String scriptURL) {
...
// If a script with an external URL is added, we can't combine the
scripts after all.
if (combineScripts && !scriptURL.startsWith(f
2009/4/24 Blower, Andy :
>> Any time a message, of any category, is added, Blackbird will popup (by
>> design).
>
> This surprises me, I also assumed that (since it's a development/debugging
> tool) the console would be disabled in production mode. I'd be very
> interested to hear other people's
Do you mean javascript validation? The beanform seems to support using things
like scriptalicious to implement client-side validation (of the declarative
constraints specified at the page level). I didn't see any evidence that the
"leaf" core components support this.
I did find some info at:
http
Thiago H. de Paula Figueiredo wrote:
>
> Have you done any profiling to know exactly how much time your application
> is spending rendering? Most of the time bottlenecks are in other places
> (specially in the database).
>
It's not really the rendering that I'm concerned about but rather
The error seems to be in your template.
[INFO] [talledLocalContainer]
org.apache.tapestry5.ioc.internal.util.TapestryException: Failure reading
parameter 'value' of component Login:outputraw: Could not convert 'type'
into a component parameter binding: java.lang.NoClassDefFoundError:
org/appfuse/w
Have you done any profiling to know exactly how much time your application
is spending rendering? Most of the time bottlenecks are in other places
(specially in the database).
By the way, Tapestry does not have a rendering tree, but a rendering
queue. No recursion is used when rendering a p
I don't exactly get what you mean. You can validate for example textfield by passing a validator to
the validate parameter of some of the components. For example validate="required /> would make sure that someProperty actually has a value. See
http://tapestry.apache.org/tapestry5.1/guide/validati
> Is someone still using own mail to receive these :)
Yes... that means normally there should be a lists@ alias for sending mails to
the lists - need to check whats wrong with my smtp setup.
> I've used nabble for a while, and it really rocks. Try it out
>
> http://www.nabble.com/Tapestry-f302.h
The hibernate config is there (before using palette component I had a
working tapestry-hibernate module integration).
I thought it is a bug from the hibernate-tapestry module?
HibernateModule's contributeValueEncoder(...) interferes with the one of
the standard TapestryModule.
Maybe I just s
Is it possible to do validation declaratively, or rather - only at the web
tier? AFAIK, I can only do validation with 1) annotations on the model
object or 2) manually with if (blank) logic in my Page.
Thanks,
Matt
--
View this message in context:
http://www.nabble.com/Tapestry-5-Validation-t
FWIW, The error seems to happen in my Login.java class in the following
method:
public String getSignup() {
String link = resources.createPageLink("Signup",
false).toAbsoluteURI();
return MessageFormat.format(messages.get("login.signup"), link);
}
Full source for Login.ja
Are there instructions for upgrading to 5.0.18. I tried and I see the
following error when I try to run integration tests with Canoo WebTest:
[INFO] [talledLocalContainer] DEBUG [btpool0-0] ServiceFacade.create(234) |
Creating service 'ServiceFacade'.
[INFO] [talledLocalContainer] ERROR [btpool0-
Thanks for the response Ville,
Caching the component wont always work well since these are dynamically
rendered. Certainly we will consider caching when appropriate but, for
example, sometimes it's specialized by the user.
Also, much of this content is provided by non-Tapestry sources (we have
Just realized I need to clarify something... the future would be making an
HTTP request to retrieve the raw HTML (aka the "guts") of the component and
that would get inserted into the final DOM verbatim.
--
View this message in context:
http://www.nabble.com/Using-%22futures%22-to-parallelize-re
Hi,
Don't really understand the question, but if you're having perfomance
problems then caching would be the way to go?
You can use blocks to separate what ever you wish to wrap as T5 components
and place them to one central page, from which those blocks can be used.
T5 caches all pages and com
Is someone still using own mail to receive these :)
I've used nabble for a while, and it really rocks. Try it out
http://www.nabble.com/Tapestry-f302.html
- Ville
Piero Sartini-4 wrote:
>
> On Freitag, 1. Mai 2009 19:04:53 Otho wrote:
>> The perfect solution and topping cream would be a for
Provide the hibernate configuration if it is missing.
If not, please attach the stack trace so we can take a look at it.
- Ville
aldana wrote:
>
> hi,
>
> I am facing problem described in
> http://www.nabble.com/Hi-Lo-tutorial,-HIbernate-cfg-errors-td22230480.html.
>
> In my app I am usin
Forgot to mention that the PageRenderLinkSource is not part of T5.0.18, It
was introduced later.
- Ville
Ville Virtanen wrote:
>
> Hi,
>
> Two solutions:
>
> 1. Use PageLink in tml. (And supply the context to it from the java class)
>
> 2. Use PageRenderLinkSource (return
> PageRenderLinkS
Em Sun, 03 May 2009 01:25:04 -0300, mraible
escreveu:
I'm using Tapestry 5.0.14. You can download the project from
http://static.raibledesigns.com/downloads/basic-tapestry.zip.
Why 5.0.14? It's quite old. The last stable version is 5.0.18 and many
improvements were made since 5.0.14. 5.1.
Hi,
Two solutions:
1. Use PageLink in tml. (And supply the context to it from the java class)
2. Use PageRenderLinkSource (return
PageRenderLinkSource.createPageRenderLinkWithContext(WriteMsg.class,
Object... context);)
Neither requires injected page.
- Ville
Angelo Chen wrote:
>
> Hi,
>
hi,
I am facing problem described in
http://www.nabble.com/Hi-Lo-tutorial,-HIbernate-cfg-errors-td22230480.html.
In my app I am using palette component and tapestry-hibernate, so the
ValueEncoder contribution is interfering with each other.
Is there another alternative/workaround as removin
Hi,
I have a page called WriteMsg, in another page I use follow code to inject
the page
@InjectPage
private WriteMsg writeMsg
Ojbect onActionFromWrite() {
return writeMsg;
}
but how to pass a context to the instance of page without using @Persist
instances?
Thanks,
public class
On Freitag, 1. Mai 2009 19:04:53 Otho wrote:
> The perfect solution and topping cream would be a forum/community system
> written in Tapestry of course, as a showcase and demonstration of its
> capabilities as well as a solid starting point for Tapestry apps. But I am
> aware of the effort and time
I just downloaded Spring 3.0 M2 and ran into some strange dependency issues
when I tried to use it together with T5.1. It seems that T5.1 requires Antlr
3.1.1 and doesn't work with 3.0.1, but Spring 3.0 requires Antlr 3.0.1 and
doesn't work with 3.1.1.
Did anybody else run into this issue? Is the
Are the integration test-apps (app1-app5) of tapestry-core placed
somewhere live on a public place?
I think the integration tests could greatly be reused to document how to
use tapestry features:
-they are quite isolated (most of pages test one particular feature)
-you see live how things work
Hi,
I had a similar needs before, what I did is, write a scheduler using Quarts,
then initialize it at time of IOC start up:
// Start the SMSScheduler from IOC
public static void
contributeRegistryStartup(OrderedConfiguration
configuration, final SMSScheduler scheduler) {
sodium schrieb:
Just few quick questions. I've skim through the documentation as well as the
only Tap5 book i recently bought and i didn't find any reference to this.
Is it possible to bind some sort of services using Tap5 when the container
init the Tap5 application?
Yes, absolutely. Have
Just few quick questions. I've skim through the documentation as well as the
only Tap5 book i recently bought and i didn't find any reference to this.
Is it possible to bind some sort of services using Tap5 when the container
init the Tap5 application? Also, is it possible to have those servic
We have an app that's an aggregation of several 'components' (not yet written
in Tapestry... using an older in-house framework). Although each component
is not very expensive to create, the aggregate cost can get kinda high
sometimes.
I've been poking around Tapestry for the past couple of days t
30 matches
Mail list logo