I'm found this problem since in 5.1.0.5 (stable), in 5.0.0.18 LinkSubmit work
properly.
Linksubmit inside a form didn't fire events while no required property is
defined inside the form:
if you add
@Property
@Validate("required")
private String somefield;
in java and
Is JVM getting bloated with more programming concepts than just OOP?
Is OOP on decline and more mathematical programming concepts on the rise?
-Hari
--- On Wed, 5/13/09, Howard wrote:
> From: Howard
> Subject: [Tapestry Central] Clojure @ JavaWorld
> To: users@tapestry.apache.org
> Date: Wed
+1 for Official docs and User docs, and +1 for tapestry forum
2009/5/1 Otho
> I would suggest splitting the documentation.
>
> There should be the reference documentation by the creators/commiters of
> the
> project, whis is organized like a book covering all the different aspects
> of
> tapestr
The update parameter of the zone component can take one of the following
functions defined in Tapestry.ElementEffect object:
show
highlight
slidedown
slideup
fade
If you just want the zone to be updated with no effect use "show" like:
On Tue, May 12, 2009 at 00:15, Sean Bollin wrote:
> Hello
The update function should have a parameter
Tapestry.ElementEffect = {
doNothing: function(element){
alert('Yep, it works!');
}
}
Furthermore, if you use 5.0.18 you may need to set the symbol
SymbolConstants.html#SCRIPTS_AT_TOP to true. This symbol is deprecated in
5.1.0.5.
On W
Nope.. this doesn't work. Thanks though.
Any ideas?
Inge Solvoll wrote:
http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html
"The show and update parameters are the names of functions attached to
the Tapestry.ElementEffect object."
So,
Session or no, T5 still uses pooled pages; there's just an incremental
cost for each additional persisted field; since few pages have more
than a couple, this is rarely a problem. And it means that generally,
the values stored in the HttpSession are small immutables, such as
Integer or String. Not
You basically want to ensure that the same code path is executed both
during render and on rewind.
So, take a look at all your @If and @For components inside the form...
also checkout their volatile
parameter, .e.t.c.
On Tue, May 12, 2009 at 4:25 PM, oliverlee000 wrote:
> hi everyone!!
>
> i am u
Another nice introduction to Clojure is now online: Clojure: Challenge
your Java Assumptions at JavaWorld. An introductory Tapestry article is
due at JavaWorld shortly as well.
--
Posted By Howard to Tapestry Central at 5/12/2009 01:26:00 PM
>
>
> >
> > All of my page views were done without a session, and it seems that
> Wicket's
> > raw performance advantage will only increase when the session comes into
> > play. I understand that will come at the cost of scalability via
> clustering
> > and memory consumption, though. I do agree th
On Tue, May 12, 2009 at 1:00 PM, Neil Curzon wrote:
> Well, whether a page view is executed in one framework or another, the same
> calls into the service layer should be made, and the same persistence
> queries should be executed. As long as the frameworks' component lifecycles
> are co-operative
Well, whether a page view is executed in one framework or another, the same
calls into the service layer should be made, and the same persistence
queries should be executed. As long as the frameworks' component lifecycles
are co-operative with the design of your application (big if?), the load on
t
On May 12, 2009, at 2:47 PM, Neil Curzon wrote:
I think it should be possible to reason about the web framework
independently from the back end.
However it just ain't so. If the front-ends had equivalent
architectural impact, then sure. Or if everything were serial, then
sure. However
Thanks for your input everyone.
I don't exactly expect the web framework to be the bottleneck at 700+
requests per second, but I'm keeping these things in mind too. I think it
should be possible to reason about the web framework independently from the
back end. In our case it will be the exact sam
Hi Andy,
The same Encoder could indeed be used across multiple pages.
Some pointers:
You need to create one of these:
http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/ValueEncoder.html
Look at the source for one of the existing implementation for ideas,
e.g. StringEncoder
I've a
It would be helpful to see the Domain class. Perhaps there's an
overloaded method that's confusing the OGNL code. As you can see, it's
trying to generate bytecode for your expression, but failing for some
reason. Classloader issues can get very tricky inside this kind of
code.
On Tue, May 12, 2009
I'll look into all that.
On Tue, May 12, 2009 at 12:06 AM, Ben Gidley wrote:
> I think the wiki is a great idea
> I was just thinking of adding some notes to it but I can't figure out where
> to add them at http://tapestry.formos.com/wiki/dashboard.action.
>
> It could do with a home page helping
Hi,
check that the associated .tml is really named correctly and is part of the
correct package. The case matters, it must be same in .java as it is in
.tml. The tml file is not mandatory, if it is omitted then the component
outputs only what the java class writes directly to the writer.
- Vill
I have been facing this problem today and have found a solution to it.
I am using IntelliJ 8.1 EAP.
I have simply downloaded Maven 2.1.0, installed it locally.
When creating a Maven task, in the General tab, one can override the Default
Maven Home and that's where you put the location of your mave
Found the problem.
5.0.18 can't look up components of the form foo.fooSomeExtension
So my component was called
project.ProjectCompilerConfigView.(tml|java) under components, and
taps couldn't find the tml file. Called the java code, but the tml
file never rendered.
When I changed it to project.C
The component is in a subpackage projects under components,
I use it via wrote:
> I have a method in the java file annotated with @SetupRender. Debug
> statements show it should be rendering. The code is being called. But
> no content is emitted by the .tml
>
> http://tapestry.apache.org/schema/t
I have a method in the java file annotated with @SetupRender. Debug
statements show it should be rendering. The code is being called. But
no content is emitted by the .tml
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
${cName}
Hi
Ognl in 4.1.6 is behaving rather strangely(I believe this must be a bug)! We're
trying to upgrade from 4.0.2.
Here's a simplified version of what's happening in an insert component.
value="ognl:content.domain['startDate']" renders correctly however
value="ognl:content.domain[sharedPickerPro
Joel Halbert wrote:
> There was a jira feature request raised for named params some time ago:
> https://issues.apache.org/jira/browse/TAP5-264
>
>
> Andy - in the meantime, another alternative is to create a custom
> ValueEncoder for activation contexts which can encode and decode a map.
> You co
Robert Zeigler wrote:
> That should work.
> I think it could be interesting, though, if tapestry provided an
> additional persistence mechanism, ala:
>
> @Persist(PersistenceConstants.QUERY_PARAMETER)
> private String p;
>
> @Persist(PersistenceConstants.QUERY_PARAMETR)
> private Integer irn;
>
Thiago H. de Paula Figueiredo wrote:
> Em Fri, 08 May 2009 17:39:07 -0300, Andy Buckley
> escreveu:
>
>> So, is there a Tapestry meachnism for doing something like this? I can
>> do it right now, but I'd rather not have to fight the system. I would
>> expect Tapestry to do it a bit prettier than
hi everyone!!
i am using a cascading drop down component in my html form,but when i submit
form i got the exception like this,
Rewind of form test/TabTest$TablePage.$Form expected allocated id #3 to be
'parentId_0', but was 'childId'
(requested by component test/TabTest/$DynamicPropertySelecti
We're in a similar situation and the same history. Recently I did a little
work on mixing new Tap5 pages with an older Tap4 app. It works but it feels
a bit awkward and we haven't acid-tested it in production. I'd be
interested in your results if you try it.
Basically I deployed the new Tap5 pa
On Tue, May 12, 2009 at 12:46 AM, Angelo Chen
wrote:
> if i uncomment the script referring to jquery below, the two errors will go
> away, then, how to include jquery in the tml? thanks
Hi!
Both Prototype (used by Tapestry internally) and jQuery define a $()
function. To use both without jQuery
When creating sub-form components I find that a common case is composing
several form fields into a single object which is bound as a parameter back to
the parent.
For example a date component used on several forms that has drop downs for day
& month, and a text box for year. The parameter boun
There is no point in agreeing or disagreeing it basically depends on
your use case. I know applications staying 200 ms in the database layer,
in that case rendering is normally a non issue.
But if your database layer is using a cache and the data is available in
2 ms, then of course rendering
Borut Bolčina wrote:
So it is not AuthenticationProcessingFilter responsible for taking control
of the authentication because the form posts to j_spring_security_check url.
I misunderstood your initial posting. Because I set action to the
AuthenticationProcessingFilter URL Spring handles my au
You mentioned this, which threw me off:
>The key bottleneck is usually database access. So you tend to have to
>cache/optimise queries.
So I assumed you were referring to data as purely 'data' from a database.
Peter
- Original Message -
From: "Peter Stavrinides"
To: "Tapestry users"
S
> Um, data retrieval is usually made across a network connection, even
> to the localhost, it's still likely to add up more latency than
> rendering in-memory.
Apologies Ben, now I understand what you meant, you are inferring data to be =
resource retrieval (all assets etc.) with page and DO
How to trigger a client side event after ajax form submit?For example a ajax
login form,redisplay the form when failure .
thanks
/luna
--
View this message in context:
http://www.nabble.com/t5%3AHow-to-trigger-a-client-side-event-after-ajax-form-submit---tp23499985p23499985.html
Sent from the
On Tue, May 12, 2009 at 10:02 AM, Ben Gidley wrote:
> I do disagree :)
Very nice and very interesting work Ben! Thanks a lot for sharing.
Regards
--
Massimo
http://meridio.blogspot.com
-
To unsubscribe, e-mail: users-unsubscr
Um, data retrieval is usually made across a network connection, even
to the localhost, it's still likely to add up more latency than
rendering in-memory. Maybe not 99/1, but I think Howard was being a
bit hyperbolic, but in my experience, at least 2/1, and usually more
like 5/1. Otherwise
I do disagree :)
For example my tests are showing tapestry work taking (even on worst cases)
<20ms - however I can easily on production web apps get page renders in
300-500 ms. When you look what is happening it is all the data
loading/preparation done outside of the web framework.
My point was th
> 90% of the time will be spent in your code (e.g. accessing the db) and not in
> the framework.
Simply not true, Data retrieval is very fast, unless your are doing some
serious number crunching, more time is spent rendering (especially the DOM
which is notoriously slow).
Peter
- Origin
Hi,
warming up this thread again...
So it is not AuthenticationProcessingFilter responsible for taking control
of the authentication because the form posts to j_spring_security_check url.
How does your "Check" page look like? Are you using the authenticate method
of the AbstractUserDetailsAuthe
I think the wiki is a great idea
I was just thinking of adding some notes to it but I can't figure out where
to add them at http://tapestry.formos.com/wiki/dashboard.action.
It could do with a home page helping people find which space to use etc.
Would it also be possible to update the Apache wik
41 matches
Mail list logo