First of all , thank you for your answers.
I thought that taking an action over other components when the radio is
clicked was a so common problem that a mixin or a similar component had been
already deveolped.
Well, i will do it using pure javascript.
If anyone has another idea, please write to
On Thu, 24 Feb 2011 04:58:26 -0300, Vjeran Marcinko
vjeran.marci...@email.t-com.hr wrote:
Hello all,
Hi!
I just wanted to hear if current state of page configuration and
activation is the desired one?
What do you mean by page configuration?
(this is the reason for one of my
Thanks, guys, both approaches works.
I went with Renderable, because wanted to render some other markup, not only
text.
Quick question to Cezary:
- why are you updating class fileds withing separate RenderCommand? Any
pitfalls?
In my experiments rendering and updating class state is working
Hi,
So I have the following:
window.onbeforeunload = function() {
return You will lose your changes.;
};
I have a number of actionlinks on my page, all of which update a zone.
Clicking these the beforeunload event is not fired (which is the
behaviour I want).
When I do a page refresh
Hi,
Sorry another question - I was under the impression that the
onActivate() method mas called for all pages and components?
However it seems never to be called for any of my components. Has this
behaviour changed in 5.2?
Thanks
No, the activate method is specific to pages. It didn't change.
On Thu, Feb 24, 2011 at 2:45 PM, Richard Hill r...@su3analytics.com wrote:
Hi,
Sorry another question - I was under the impression that the
onActivate() method mas called for all pages and components?
However it seems never
Ak ok thanks. For some reason I thought it was for components too.
On Thu, 2011-02-24 at 14:56 +0100, Igor Drobiazko wrote:
No, the activate method is specific to pages. It didn't change.
On Thu, Feb 24, 2011 at 2:45 PM, Richard Hill r...@su3analytics.com wrote:
Hi,
Sorry another
An eventLink tells the application to do something. The context says
what you want to do it to.
When you aren't in a loop it is easy to figure out what to do things
to and you don't need a context because the thing you are doing the
action to is the same for the entire rendering of the page.
Hi - again :)
I have a simple select component in a loop: each object has some
property which can be one of three possible states. The user can update
this state by changing the value in a drop down.
I am supplying select and option models, which seem to work fine. But
how how do I supply a
Hi,
public void contributeMetaDataLocator(
MappedConfigurationString,String configuration) {
configuration.add(MetaDataConstants.SECURE_PAGE, true);
}
didn't work for me either...
I 'm using tapestry 5.0.1.5,
can you confirm me if that configuration should work on this version?
On Thu, 24 Feb 2011 11:58:26 -0300, Richard Hill r...@su3analytics.com
wrote:
Hi - again :)
Hi!
I am supplying select and option models, which seem to work fine. But
how how do I supply a context? The t:select component does not appear to
take one. Without this I cannot know to what
Hello!
Is it possible to extend the BeanModel of an object dynamically for a
BeanEditForm?
I tried to create one with BeanModelSource.createEditModel using my own
propertyConduits. But when the BeanEditForm loads, the datatype of the
property is null and I am getting this error:
The data type
Hi Thiago,
Thanks for this. I think I understand better what ValueEncoder does now.
However, this doesn't answer my question: when I say context I mean
the loop context - not the option value that was selected. This I know
how to get, but I don't know for which loop item it refers.
Let's say I
On Thu, 24 Feb 2011 12:35:50 -0300, Stephan Windmüller
stephan.windmuel...@tu-dortmund.de wrote:
Hello!
Hi!
Is it possible to extend the BeanModel of an object dynamically for a
BeanEditForm?
Yes!
I tried to create one with BeanModelSource.createEditModel using my own
Thanks for this. I think I understand better what ValueEncoder does now.
However, this doesn't answer my question: when I say context I mean
the loop context - not the option value that was selected. This I know
how to get, but I don't know for which loop item it refers.
Let's say I have a list
On Thu, 24 Feb 2011 13:15:51 -0300, Richard Hill r...@su3analytics.com
wrote:
Thanks for this. I think I understand better what ValueEncoder does now.
However, this doesn't answer my question: when I say context I mean
the loop context - not the option value that was selected. This I know
how
On Thu, 24. Feb 2011, Thiago H. de Paula Figueiredo wrote:
I tried to create one with BeanModelSource.createEditModel using my own
propertyConduits. But when the BeanEditForm loads, the datatype of the
property is null and I am getting this error:
The data type for property 'name' of null:
On Thu, 24 Feb 2011 13:33:44 -0300, Stephan Windmüller
stephan.windmuel...@tu-dortmund.de wrote:
ListString valueTypes = dao.getValueTypes();
BeanModelTreatmentModel model =
beanModelSource.createEditModel(MyObject.class, messages);
for (String type : valueTypes) {
PropertyConduit
Yes agreed - I think t:select should take an optional context parameter.
I will file a JIRA.
As a work around I see two options:
1) In my case here I don't need to actually re-render a zone when the
user changes the selection. So I will probably just render the select
manually and attach my own
On Thu, 24. Feb 2011, Thiago H. de Paula Figueiredo wrote:
The resulting model contains properties with a null datatype.
That surely looks like something you shouldn't do. How can the component
know how edit an value which hasn't a data type? In this case, you either
define a custom
I'm using ChenilleKitMail and I want to let end users update the SMTP
settings from the application.
So right now my AppModule has a contributeApplicationDefaults that
hard code all the values like:
// Email Setup
configuration.add(ChenilleKitMailConstants.SMTP_HOST, smtp.a.com);
That's strange. Your PropertyConduit implementation and use looks correct
to me. Could you post the full stack trace please? The datatype is defined
by the DataTypeAnalyzer service, and its configuration provided by
Tapestry alread maps BigDecimal to the number datatype.
On Thu, 24 Feb
Tapestry-IoC symbols aren't updateable.
On Thu, 24 Feb 2011 14:17:10 -0300, Mark mark-li...@xeric.net wrote:
I'm using ChenilleKitMail and I want to let end users update the SMTP
settings from the application.
So right now my AppModule has a contributeApplicationDefaults that
hard code all
On Thu, 24. Feb 2011, Thiago H. de Paula Figueiredo wrote:
That's strange. Your PropertyConduit implementation and use looks correct
to me. Could you post the full stack trace please?
Of course:
org.apache.tapestry5.ioc.internal.util.TapestryException: The data type for
property 'myValue'
I wonder how we can turn this into a FAQ? The cause and symptoms are
pretty obscure!
On Wed, Feb 23, 2011 at 11:08 PM, Marek Matus marek.ma...@geisom.com wrote:
I had similar problem - the problem was that the class loader cannot load
sax parser. I had to explicit define which sax parser
Yes agreed - I think t:select should take an optional context parameter.
I guess it's a little late to second guess the wisdom of adding a
zone parameter to the Select component in the first place... I
hadn't noticed it until now. This functionality could have been
provided as a mixin and then
On Thu, 24 Feb 2011 16:12:10 -0300, Josh Canfield joshcanfi...@gmail.com
wrote:
Yes agreed - I think t:select should take an optional context parameter.
I guess it's a little late to second guess the wisdom of adding a
zone parameter to the Select component in the first place... I
hadn't
Hi Users;
How does tapestry do the pagination on a grid? Does it retrieve all the data
from the database and then does the pagination on the clientside or does it
retrieve a page at a time from the database?
I have used wicket before and all i did was implement something like
getIterator(first,
If you look at the source parameter of the Grid, it is a
GridDataSource object. You can bind a List to the source parameter,
and Tapestry takes care of converting the list to a GridDataSource,
but for large result sets from a database, you really want to use the
GridDataSource interface, because
What Tapestry version? Just checked with 5.3.0-SNAPSHOT and it works like a
charm.
BTW: SECURE_ENABLED is only needed when PRODUCTION_MODE is set to false. In
production mode, secure
is enabled by default.
Uli
On 23.02.2011 19:40, Matias Moran wrote:
Dear Tapestry users, how have you been?
Also have a look at Tapestry's Hibernate integration [1] which supplies a
HibernateGridDataSource
[2] that implements pagination and only fetches the necessary objects from the
database.
Uli
[1] http://tapestry.apache.org/hibernate.html
[2]
On Thu, 24 Feb 2011 17:00:33 -0300, Howard Lewis Ship hls...@gmail.com
wrote:
If you look at the source parameter of the Grid, it is a
GridDataSource object. You can bind a List to the source parameter,
and Tapestry takes care of converting the list to a GridDataSource,
but for large result
Thanks guys.
I will implement the GridDataSource. I didnt know it existed.
Thiago, for some personal reasons, i prefer using mybatis(formerly ibatis)
as opposed to hibernate (i had a very bad experience with hibernate in a
live environment, most of it caused by my limited understanding of
On Thu, 24 Feb 2011 17:16:27 -0300, Josh Kamau joshnet2...@gmail.com
wrote:
Thanks guys.
:)
I will implement the GridDataSource. I didnt know it existed.
It's in the Grid component reference as the type of the source parameter.
Thiago, for some personal reasons, i prefer using
If you look at the source parameter of the Grid, it is a
GridDataSource object. You can bind a List to the source parameter,
and Tapestry takes care of converting the list to a GridDataSource,
but for large result sets from a database, you really want to use the
GridDataSource interface, because
Thanks HLS , I appreciate the quick response. I have already implemented a
simple case and its working. I am reading the user guide to make sure that i
dont miss anything out.
Josh.
On Thu, Feb 24, 2011 at 11:46 PM, Howard Lewis Ship hls...@gmail.comwrote:
If you look at the source parameter
That's exactly why i asked the question about implementation
mixins in the dev list ( http://markmail.org/thread/ft755d4vbkfaip4v )
And there's no reason to restict it to onchange events - anyway, i'll
open some related jira issues tonight...
On Thu, Feb 24, 2011 at 21:12, Josh Canfield
Hi,
I created a Github project for an Akismet service for Tapestry 5 .
For those who doesn't know Akismet, is a service for detecting spam comments
(specially useful for blogs). Is a paid service, but there is also a free
and open source alternative called TypePad AntiSpam
On Thu, 24 Feb 2011 18:19:39 -0300, Andreas Andreou andy...@di.uoa.gr
wrote:
That's exactly why i asked the question about implementation
mixins in the dev list ( http://markmail.org/thread/ft755d4vbkfaip4v )
Cool!
And there's no reason to restict it to onchange events - anyway, i'll
open
Hi,
I'm having a hard time tracking down my issue at hand here. I have Form
components defined in a set of Block components in a Page class. The
entire set of Blocks is nested within a Zone that allows for navigation
between the Blocks without a page refresh.
Each form has supporting
I've been trying to figure out a weird bug today, and before I lose the
night over it I thought I'd ask the list. I'm using the cool new chained
select feature. One Select has a zone, and triggers an onValueChanged()
method that affects another Select. It works fine on my machine and when
most
Thank for your replies.
Finally ,I found TapestryFilter has put registry into servlet context,so I
do it like this,
MyHttpSessionListoner.java
@Override
public void sessionDestroyed(HttpSessionEvent se) {
//Get Tapestry IoC Registry
Registry registry = (Registry)
I met this problem before , I change the onActivatereturn type to void .
2011/2/17 Alessandro Badin jave...@gmail.com
Hello guys,
What about I have something like this:
Object onActivate() {
condition = service.findSomething();
return (condition == null) ?
Hi there,
Am looking for the best way to enable live class/template reloading when
using netbeans 6.9.1. Any help will be appreciated.
Josh.
44 matches
Mail list logo