This is interesting because I will probably be doing the same thing soon to
integrate the DWR servlet with tapestry. I guess you will need to
instantiate the servlet and set the init-params on it. I was thinking of
configuring the values as http://tapestry.apache.org/symbols.html tapestry
symbols
hi,
i need advice on how to expand the tree node with eventlink, currently based
on the example from
http://jumpstart.doublenegative.com.au/jumpstart/examples/component/treebrowse
http://jumpstart.doublenegative.com.au/jumpstart/examples/component/treebrowse
it has only the collapse function.
I need advice how to execute my code during tapestry exception handling.
Current:
1. Something wrong has happen and tapestry shows exception page
2. error is logged in container' log
My use case:
1. Something wrong has happen and tapestry shows exception page
2. error is logged in container'
Try this:
http://tapestry.apache.org/overriding-exception-reporting.html
On Fri, May 11, 2012 at 3:21 PM, jeczmien jeczm...@podgorska.ddns.infowrote:
I need advice how to execute my code during tapestry exception handling.
Current:
1. Something wrong has happen and tapestry shows exception
Page.tml
t:tree t:id=tree t:model=treeModel /
Page.java
-
@InjectComponent Tree tree;
@Cached // use cached because this method may be called twice in a single
request
public TreeModel getTreeModel() {
...
}
public void onExpandAll() {
TreeExpansionModel expansionModel =
Hi All,
we want to rollout a Tapestry app very shortly, but we struggle with
load testing issues. We are currently load testing on one Tomcat 6.0.32:
- 500 worker threads, tapestry.production-mode=true
- Intel(R) Xeon(R) CPU X7460 @ 2.66GHz
- OpenJDK Runtime Environment (IcedTea6 1.7.10)
Hello,
We get this exception when using a t:grid.
ApplicationDevice has a 'Device device' property, which in turn has a
'String id' property.
I suppose t:reorder and t:exclude don't support property navigation. Is this
right?
Should we use a custom t:model then? Any tips/suggestions on that
On Fri, 11 May 2012 10:24:35 -0300, fmaylinch ferranmayli...@gmail.com
wrote:
Hello,
Hi!
We get this exception when using a t:grid.
ApplicationDevice has a 'Device device' property, which in turn has a
'String id' property. I suppose t:reorder and t:exclude don't support
property
That's an interesting result. Why, oh why, did I ever implement
render variables?
So the conventional thinking on synchronized methods is that they
where there is limited contention, and the method is short,
synchronized is the best way to go.
This method exists, and is synchronized, to avoid
Would it be better to put synchronized block inside null check block like:
if (renderVariables == null) { synchronized(this) { ...
If I'm not mistaken resetParametersConduits doesn't need to be synchronized it
should only change per thread value.
Denis
May 11, 2012 v 6:06 PM, Howard Lewis
That's a common mistake. Although I've heard that future JDK/JVM may
address this common case, it is not valid to read a shared variable
outside a synchronized block, even to check for null-ness. This was a
common mistake propagated in books and blogs in the early 2000's.
Another alternative
In case I wasn't clear; I'm waiting for a commitment that you will
retest with updated Tapestry code before I make the changes. I'm
willing to juggle my schedule to assist, if you're ready to do your
part.
On Fri, May 11, 2012 at 9:06 AM, Howard Lewis Ship hls...@gmail.com wrote:
That's an
Hi. I finally implemented a ValueEncoderFactory , so I can pass the full
object in the context, as I originally wanted.
Thanks for all the answers.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/getting-the-object-in-a-row-from-a-grid-component-tp5687588p5703516.html
Howard,
thank you very much for the quick and insightful response.
I haven't yet understood the code completely, why that many synchronized
methods are invoked like ( private synchronized void
resetParameterConduits() etc)
I would be really happy to test your shortly and crank out a
5.3.4-rc-1
On Fri, May 11, 2012 at 6:33 PM, Howard Lewis Ship hls...@gmail.com wrote:
That's a common mistake. Although I've heard that future JDK/JVM may
address this common case, it is not valid to read a shared variable
outside a synchronized block, even to check for null-ness. This was a
common
Hi T5 Users,
is it somehow possible to add an anchor-tag (example.com/#entry123) to a
page redirect? I should control this inside the POJO, not in the
template (there it's no problem).
The only way I found was by injecting the Link interface
(org.apache.tapestry5.Link) but then I can't use
On Fri, 11 May 2012 20:12:46 -0300, René Bernhardsgrütter
rene.bernhardsgruet...@cerder.com wrote:
Hi T5 Users,
Hi!
is it somehow possible to add an anchor-tag (example.com/#entry123) to a
page redirect? I should control this inside the POJO, not in the
template (there it's no
Forgot to mention that we are using Tapestry 5.3.3.
Regards
Robert
Am 11.05.2012 18:44, schrieb Robert Lentz:
Howard,
thank you very much for the quick and insightful response.
I haven't yet understood the code completely, why that many synchronized
methods are invoked like ( private
18 matches
Mail list logo