On Mon, Jan 19, 2009 at 10:37 PM, Ville Virtanen
wrote:
>
> It sounds like an addition that would be good to have when implementing
> non-standard persistence strategies.
Thanks. Haven't heard from Howard but I'll open an issue anyway. I can get
this done without this enhancement, but it makes s
Hi,
It sounds like an addition that would be good to have when implementing
non-standard persistence strategies.
- Ville
Ps. I'm very interested in the results Kalle if you care to share? (Or
Kristian for that matter. Would it be possible to add a project to
tapestry.formos.com?)
Kalle Korh
Whoa nice. I missed the blankLabel parameter.
Gracias Thiago - thanks for being such an active member here.
-Luther
On Jan 19, 2009, at 7:41 PM, Thiago H. de Paula Figueiredo wrote:
Em Mon, 19 Jan 2009 21:23:45 -0300, luther.baker > escreveu:
Now concerning, the first or *blank*value - I'd
hi there,
i 've wondered how to change the background color of the element based
on data?
normally we just override the css, but on my case, when my data is
populated; one of my column is a fixed string. based on this column value i
will have a unique background color for it. so how do it i do
Nice post, I was just wondering what's the benefit of using Scala or Groovy
in a T5 app, T5 app seems very short in code, typing a little extra does not
mean too much to the developers, the only benefit i can see from using
Groovy(not so sure about Scala) is we can use closure in the code, anythin
Em Mon, 19 Jan 2009 21:23:45 -0300, luther.baker
escreveu:
Now concerning, the first or *blank*value - I'd like to replace it with
some text like "... choose one".
Try the blankLabel parameter:
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components
I would like to display an html select drop down based on an enum ... works
perfectly.
Now concerning, the first or *blank*value - I'd like to replace it with some
text like "... choose one".
So, if using , is there a way I can add an option
... and make sure it shows up at the top of the select
The first thing I would try is setting the z-index for the validation
popups:
http://www.w3schools.com/Css/pr_pos_z-index.asp
-james
On Mon, Jan 19, 2009 at 10:16 AM, Hugo Palma wrote:
> I'm getting erratic visual behaviors when using chenillekit window
> component
> and i was wondering if any
Em Mon, 19 Jan 2009 19:51:28 -0300, fan...@gmail.com
escreveu:
I just published a (fairly long) post where I explain how I setted up a
layout and basic CRUPD operation for the blog tool project I'm building
in T5 / Scala.
Nice post. :)
I don't really know Scale nor I plan right now, but
I just published a (fairly long) post where I explain how I setted up a
layout and basic CRUPD operation for the blog tool project I'm building
in T5 / Scala.
The post is rather long, but the total amount of code is really short.
The good new is all is going really good, and Scala begins to re
Hi List,
I am making extensive use of AppPropertyEditBlocks. Now I'd like to
extend the way the blocks are rendered. I'd like to provide somehow a
maxLenth value. Maxlenth being null the whole output should be
displayed. Maxlength being positive the output should be cut to
maxLenth. I have browsed
I think this would be quite difficult to implement in
tapestry-hibernate without parsing hibernate's metadata and storing it
in some kind of metadata container, which is what Trails is doing.
Alejandro.
On Tue, Jan 20, 2009 at 12:33 AM, Thiago H. de Paula Figueiredo
wrote:
> Em Mon, 19 Jan 2009
Em Mon, 19 Jan 2009 16:14:01 -0300, Kevin Monceaux
escreveu:
On Wed, 21 Nov 2007, Francois Armand wrote:
For now, BeanEditor (or BeanEditForm) is not really aware of collection
as a property. I think it's in the todo list (T5 still alpha, etc ;)
Tapestry 5.0.18 is not alpha nor beta: it's
The code above should be, as found by Immutability:
public BeanModel getBeanModel() {
BeanModel model = beanModelSource.createDisplayModel(YourClass.class,
messages);
if (disableSorting) {
PropertyModel nameColumn = model.getById("name");
nameColum
Now I explicitly set prop:defaultSource, get same result. The function
getDefaultSource() seems never get called.
Thanks,
Yunhua
On Mon, Jan 19, 2009 at 2:45 PM, Howard Lewis Ship wrote:
> What is the defaultSource parameter for? Are you using
> prop:defaultSource or inherit:defaultSource? The
Hey Kristian, thanks a lot for sending your project; it'll be interesting to
compare the implementations. Yes, of course there's a million different ways
of solving the problem but since the Tapestry architecture and services
offer a lot of functionality already for this, I tried to reuse most of i
On Mon, 19 Jan 2009, Ulrich Stärk wrote:
I'd still love to see this feature in the Tapestry core.
I'll second that motion. I found a post in 2007 suggesting it was on the
todo list:
On Wed, 21 Nov 2007, Francois Armand wrote:
For now, BeanEditor (or BeanEditForm) is not really aware of c
What is the defaultSource parameter for? Are you using
prop:defaultSource or inherit:defaultSource? The latter could cause
your NPE.
On Mon, Jan 19, 2009 at 8:22 AM, Yunhua Sang wrote:
> Hi Howard,
>
> I am sorry for this late message; source are as below:
>
> public class EntityGrid extends Gr
In Select.java:
ValueEncoder defaultEncoder()
{
return defaultProvider.defaultValueEncoder("value", resources);
}
In ComponentDefaultProvider.java:
/**
* Gets or creates a value encoder based on the type of
the named parameter. ValueEncoders are cached
* based on
I'd be surprised if I've overlooked it that long, but given how much the
framework and its docs have evolved, it's certainly possible. Thanks again!
Ulrich Stärk wrote:
I believe this was added back in 2007...
Uli
Chris Lewis schrieb:
Wow. Is that recent behavior? I've not been aware of the d
I believe this was added back in 2007...
Uli
Chris Lewis schrieb:
Wow. Is that recent behavior? I've not been aware of the default* method
convention before. Interesting indeed. Thanks for that!
Ulrich Stärk wrote:
IIRC from browsing through the source code this is done automagically
by type
Thanks again, now you got me started (finally)! It really seems to be a
better idea to just create the bean model for each request in this case. A
note for others who may be trying the code above - don't ever try to call
grid.getBeanModel within a getter for the model for the same grid - that
will
Em Mon, 19 Jan 2009 15:54:32 -0300, James Sherwood
escreveu:
Hello,
Hi!
Short answer: It is in a different package(base) so the override won't
work for a page class in the pages package(or so says my compiler:).
If you declared it package-private (no access modifiers), your compiler is
I'd still love to see this feature in the Tapestry core.
Cheers,
Uli
Kalle Korhonen schrieb:
This (representing entity relations) is one of the main features of Trails (
http://www.trailsframework.org/); Trails 2 for T5 is currently in
development.
Kalle
On Mon, Jan 19, 2009 at 2:27 AM, Ulr
Hello,
Short answer: It is in a different package(base) so the override won't work
for a page class in the pages package(or so says my compiler:).
Not so short answer: I really like this thanks!
Long answer: Looking into it but what is the advantage over just the more
simple 'activate'?
--Jame
This (representing entity relations) is one of the main features of Trails (
http://www.trailsframework.org/); Trails 2 for T5 is currently in
development.
Kalle
On Mon, Jan 19, 2009 at 2:27 AM, Ulrich Stärk wrote:
> Hi All,
>
> tapestry-hibernate in combination with the BeanEditForm is great,
Hi Howard,
if none of your co-committers can spare time, I will be happy to jump in for T5.
Cheers, nillehammer
- original Nachricht
Betreff: JavaLobby Web Framework Comparison
Gesendet: Mo, 19. Jan 2009
Von: Howard Lewis Ship
> JavaLobby is looking to create a comprehensive web fra
I'm getting erratic visual behaviors when using chenillekit window component
and i was wondering if anyone else has experienced the same or has any
suggestions.
I have a form rendered in the window with client validation turned on, and
it seems that some elements that are showed by triggering event
Em Mon, 19 Jan 2009 15:02:07 -0300, James Sherwood
escreveu:
My problem: Is there a way to override the onActivate (or a way around
it) in the page that extends SecurePage so I could perform additional
security checks?
Short answer: yes, ordinary inheritence works for Tapestry pages too
Hello,
I have a login only application and for the most part you just need to be
logged in to use it except for a couple of pages.
To enforce this I made a class:
Class SecurePage{
Object onActivate(){
If(!visitExists){
Return index.class;
}
Retur
Em Mon, 19 Jan 2009 14:27:35 -0300, immutability
escreveu:
Thiago, thank you for a quick response, I still have a lot to learn!
You're welcome! We all stilee need a lot to learn . . .
One way to do it is to nameColumn.sortable(false) the
the method that returns the BeanModel.
I'm confuse
Wow. Is that recent behavior? I've not been aware of the default* method
convention before. Interesting indeed. Thanks for that!
Ulrich Stärk wrote:
IIRC from browsing through the source code this is done automagically
by type coercing from your type to String
(TypeCoercedValueEncoderFactory o
IIRC from browsing through the source code this is done automagically by
type coercing from your type to String (TypeCoercedValueEncoderFactory
or something). The correspondig Encoder is selected by the Select
components defaultEncoder() method, when no encoder parameter is
provided (see the "C
Thiago, thank you for a quick response, I still have a lot to learn!
> One way to do it is to nameColumn.sortable(false) the
> the method that returns the BeanModel.
I'm confused at this point. I'm currently not returning the BeanModel
anywhere. When I was using BeanModel to add custom columns,
I am, but that's not my question. My question is how does the select
component get a default value encoder when one is not provided as a
parameter? The source suggests it comes from the ValueEncoderSource
service, to which modules like tapestry-hibernate contribute. But
nowhere in the select's
Em Mon, 19 Jan 2009 13:33:42 -0300, immutability
escreveu:
So I thought of the standard way of doing this - in the
onSuccessFromFormFilter handler I do the following:
As Tapestry uses redirect-after-post by default, it does not renders the
page in the same request it processes form submis
Em Mon, 19 Jan 2009 13:54:11 -0300, Chris Lewis
escreveu:
Hi list,
Hi!
I simply want to know how the Select component gets its encoder from the
ValueEncoderSource service, when an encoder isn't explicitly provided as
a parameter. Thanks!
Are you using tapestry-hibernate? If yes, it p
Hi list,
I simply want to know how the Select component gets its encoder from the
ValueEncoderSource service, when an encoder isn't explicitly provided as
a parameter. Thanks!
--
http://thegodcode.net
-
To unsubscribe, e-ma
JavaLobby is looking to create a comprehensive web framework comparison.
http://java.dzone.com/articles/javalobby-web-frameworks-compa
I'm hoping one or more people from the Tapestry community can step
forward and help out!
--
Howard M. Lewis Ship
Creator Apache Tapestry and Apache HiveMind
-
Hey guys, I have a very specific page where I need to disable/enable sorting
for a single-column grid - the grid is under a small form, and based on the
form input I need to disable or enable the sorting.
So I thought of the standard way of doing this - in the
onSuccessFromFormFilter handler I do
Hi Howard,
I am sorry for this late message; source are as below:
public class EntityGrid extends Grid {
@Inject
private EntityProvider entityProvider;
@Parameter(required = true, defaultPrefix = "literal")
private String ejbql;
@Parameter("defaultSource")
private GridD
Hi there!
Is it possible to implement the following datamodel in Tapestry5 for dynamic
form generation:
If so, how can you do this dynamically?
Category: The category to group values (e.g. Country, Language)
Value: Values...(e.g. USA, Spain, English, Spanish.whatever)
FormElement: Input val
On Mon, Jan 19, 2009 at 10:56 AM, Sid Ferreira wrote:
> Well, I used them much more as an example... Also, I was looking for more
> detailed articles.
The steps I suggested in my last message to this thread are still
valid. Instead of asking for generic things like "how to build a
complex compone
On Mon, Jan 19, 2009 at 10:51 AM, Otho wrote:
> Jumpstart is great, especially for looking some techniques up and see how
> certain details are done. But does it really suit as a single Tutorial
> application where you go from nil to something useable?
I think both are very important: a cookbook
Well, I used them much more as an example... Also, I was looking for more
detailed articles.
On Mon, Jan 19, 2009 at 10:50 AM, Thiago HP wrote:
> On Mon, Jan 19, 2009 at 7:48 AM, Sid Ferreira wrote:
> > Didn't checked yet, but, I meant build a beanEdit... I mean, make my own
> > grid...
>
> Ste
Jumpstart is great, especially for looking some techniques up and see how
certain details are done. But does it really suit as a single Tutorial
application where you go from nil to something useable?
2009/1/19 Peter Stavrinides
> I think Jumpstart covers a lot of ground, and is the quickest an
On Mon, Jan 19, 2009 at 7:48 AM, Sid Ferreira wrote:
> Didn't checked yet, but, I meant build a beanEdit... I mean, make my own
> grid...
Step 1: learn how to build simple components.
Step 2: if step 1 was not enough to do what you want, read the Grid,
BeanEditor, etc sources as a source of inspi
I was reading http://tapestry.apache.org/tapestry5/guide/assets.html(including
checking out the AssetFactory docs) but didn't found how to
generate a dynamic asset.
I need, for instance, that based on my client a different image is loaded,
but the name will always be the same.
Any tip about how to
hi kalle,
i've tried to solve this with another indirection :).
i encapsulate all conversation specific data in a ConversationContext
object.
if i want to invalidate a conversation i just remove this context.
i'm going to send you a zip with my experimental project
to your gmail address. maybe
Thanks for your hard work Geoff, great news that it now supports Jetty, I
noticed that this morning :-)
I will use it a lot more now, I tended to avoid Jumpstart because of JBoss.
Cheers
Peter
- Original Message -
From: "Geoff Callender"
To: "Tapestry users"
Sent: Monday, 19 January,
On Mon, Jan 19, 2009 at 8:38 AM, Sid Ferreira wrote:
> Im trying to forward or redirect the page programatically, for instance:
> Opens Start.tml, if the ID is TRUE, it goes to List.tml, else it goes to
> Login.tml. How to redirect?
Put this method in your Start class:
Object onActivate() {
Sid Ferreira schrieb:
Im trying to forward or redirect the page programatically, for instance:
Opens Start.tml, if the ID is TRUE, it goes to List.tml, else it goes to
Login.tml
How to redirect?
http://tapestry.apache.org/tapestry5/guide/pagenav.html
Uli
Im trying to forward or redirect the page programatically, for instance:
Opens Start.tml, if the ID is TRUE, it goes to List.tml, else it goes to
Login.tml
How to redirect?
--
Sidney G B Ferreira
Desenvolvedor Web - Tibox Innovations
Hi all,
JumpStart 4.0 is now available.
The big thing about version 4 is that now you develop and test with
Jetty! It's fast and you get the full benefit of live class reloading
and local debugging, even with EJB3! You can still deploy to JBoss,
but we swap in OpenEJB during development t
Hi All,
tapestry-hibernate in combination with the BeanEditForm is great, as it
allows for simple CRUD applications to be written in no time.
Unfortunately it takes quite some manual work to represent relations
like OneToMany, ManyToOne and ManyToMany in your application because
Tapestry does
Didn't checked yet, but, I meant build a beanEdit... I mean, make my own
grid...
On Mon, Jan 19, 2009 at 7:33 AM, Ulrich Stärk wrote:
> Sid Ferreira schrieb:
>
>> Is there any tutorial that, for example, teaches how to build a beanEdit
>> or
>> a Grid?
>>
>>
> There is the BeanEditForm guide (
>
Sid Ferreira schrieb:
Is there any tutorial that, for example, teaches how to build a beanEdit or
a Grid?
There is the BeanEditForm guide
(http://tapestry.apache.org/tapestry5/guide/beaneditform.html) and the
official tutorial (http://tapestry.apache.org/tapestry5/tutorial1/) also
deals wit
Is there any tutorial that, for example, teaches how to build a beanEdit or
a Grid?
--
Sidney G B Ferreira
Desenvolvedor Web - Tibox Innovations
I think Jumpstart covers a lot of ground, and is the quickest and most
efficient way to learn Tapestry (whats more useful than looking at actual
code), its been around for a while, ao its evolution means it documents best
practices. Now that it runs with Jetty, I say use Jumpstart and strip out
59 matches
Mail list logo