- Original Message -
From: "Kevin Menard" <[EMAIL PROTECTED]>
To:
Sent: Thursday, November 15, 2007 10:01 PM
Subject: Re: [T5] Removing page name shortening?
going away. So long as you always use one of the link components, you
really shouldn't worry that much about how Tapestry na
ok thankyou, i've extended the servlet.
Renat Zubairov wrote:
Another way to extend Application servlet from tapestry and with your
implementation and then just replace ApplicationServlet declaration inside
web.xml with your new class.
Logic is more or less the same.
On 15/11/2007, Jili Lv <[EM
Do you have error messages ?
TNO a écrit :
Hi,
I want to create a very simple select list from an enum.
But in a select component, the model (org.apache.tapestry.SelectModel)
is required, I try to use EnumSelectModel but it did not work...
I can't have my enum list...
please help, thanks
T
I've tried it
It works, got to understand my errors now.
Thanks a lot.
Josh Canfield a écrit :
Hey Michael,
I didn't get to it last night, but here you go, a very simple example:
** Start.tml
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
Form Test
MyObject:
Dear all,
How do I customize the Grid component since if I use it as such:
it will generate and display default list of data.
I want to add one more column in the Grid with header Action
Thanks in advance
--
What you want today, may not exist tommorrow
Blog: http://joshuajava.wordpress.com/
Generally, what you want to do is replace setupRender() with
onPrepareFromForm().
void onPrepareFromForm()
{
if (_myObject == null) _myObject = new MyObject();
}
"Prepare" means the prepare event, fired from your Form component.
Prepare event is triggered when the form starts to render AND when
I eventually found a situation where I needed this and it worked like a
charm! Thanks Andreas.
Jim
Andreas Andreou wrote:
>
> I've always had such direct links after their updateComponents
> and used updateComponents="clientId:componentWrapper"
> (though nowadays updateComponents="componentWr
That's right. Thanks for you suggestion!
Cheers,
Jeffrey Ai
nirvdrum wrote:
>
> Couldn't you just provide your own stylesheet? The header and cell class
> names are predictable.
>
> --
> Kevin
>
>
> On 11/15/07 1:26 PM, in article [EMAIL PROTECTED], "jeffrey
> ai"
> <[EMAIL PROTECTED]> w
I tried to upgrade at some prior point, and found that version of
Selenium unstable. I may give it another try at some point.
On Nov 15, 2007 10:22 AM, Tobias Wehrum <[EMAIL PROTECTED]> wrote:
> Hi Howard,
>
> then 0.8.0 is my version of choice?
> (Will AbstractIntegrationTestSuite be upgraded at
Couldn't you just provide your own stylesheet? The header and cell class
names are predictable.
--
Kevin
On 11/15/07 1:26 PM, in article [EMAIL PROTECTED], "jeffrey ai"
<[EMAIL PROTECTED]> wrote:
>
> I do noticed that the Grid component is not defined as "final" like some
> other components.
Hi Vjeran,
I just want to clarify. I'm not against name shortening in general. I
actually think it's a very good idea. In T4, all of my page names
essentially match my class names (although, this was configurable via the
page spec and I do take advantage of that on occasion) and the result is
b
Hello.
I can really speak from position of someone who just is learning Tapestry 5
for first time, and from what Kevind Menard mentioned in few mails before, I
can really see page name shortening as nothing but confusion and
complication.
Referencing pages is quite straightforward, and one j
Hi,
Try this :
in your Page.html :
-
in Page.java :
EnumType enumVar;
---
in your EnumeType.java
public enum EnumeType{
val1,Val2,Val3;
}
TNO wrote:
>
> Hi,
>
> I want to create a very simple select list from an enum.
>
>
>
> But in a sel
Dear all,
I need to make an editable select box : i.e the user can either chose one of
the option in the select box or type a custom String. Is it possible to make
something like this with Tapestry 5?
Thanks,
Martin
--
View this message in context:
http://www.nabble.com/T5-%3A-Editable-Select
Hey Michael,
I didn't get to it last night, but here you go, a very simple example:
** Start.tml
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
Form Test
MyObject:
Name: ${myObject.name}
Number: ${myObject.number}
Well, there's your problem ... AbstractIntegrationTestSuite is coded
against a specific version of Selenium. As a convenience, it
implements all the methods of the Selenium interface (buts adds
improved exception reporting). That interface has changes since
0.8.1.
On Nov 15, 2007 10:08 AM, Tobias
Thanks a lot Josh
I'm going to try it now
Josh Canfield a écrit :
Hey Michael,
I didn't get to it last night, but here you go, a very simple example:
** Start.tml
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
Form Test
MyObject:
Name: ${myObject.name}
Ok thanks.
I need to work on this component anyway. But things are not totally
clear in my mind of the state of @Persist objects during the phase
request. I 'm going to work on this as well.
Ezra Epstein a écrit :
Is it that the user object is null on page load?
If so, see the BeanEditForm's
I am looking for the answer of the same question too.
The template of the Grid component doesn't embed a element.
- Quated from Grid.tml
-
It seems to me that the only way to add column width
Hi Howard,
then 0.8.0 is my version of choice?
(Will AbstractIntegrationTestSuite be upgraded at a later time?)
Thanks for your answer. :)
Regards,
Tobias
Howard Lewis Ship schrieb:
Well, there's your problem ... AbstractIntegrationTestSuite is coded
against a specific version of Selenium. As
I do noticed that the Grid component is not defined as "final" like some
other components.
I guess we could just inherit it and add a new template to extend its
feature.
Jeffrey Ai
jeffrey ai wrote:
>
> I am looking for the answer of the same question too.
> The template of the Grid component
Hi there,
I have a problem including the AbstractIntegrationTestSuite in my little
tapestry application. Maybe the solution is easy, but being a newbie to
java development in general and Tapestry as well as Selenium in
particular doesn't help at all to solve it - so I ask you.
The code is as
I understand the potential confusions of doing this kind manipulation.
The application that I'm talking about is not a tapestry application, it's
an already existent application in which you can add modules as jar files as
there were plugins.
My intention was to add some tapestry applications. I've
Is the HoneyComb site back up and running again? I can't seem to find it on
JavaForge.
If it is not running is there any other way I can get the code?
Thank you,
Ehren
Marcus.Schulte wrote:
>
> I've put together a new release of honeycomb (
> http://honeycomb.javaforge.com/index.html
>
It works ! thanks
but the Component Reference says that parameter "model" is required...
lasitha a écrit :
> Tom, try it without specifing a select model.
>
> The following is working for me:
>
>
> Where the page class has just the report property and accessors.
>
> Also note that you don't need
Tom, try it without specifing a select model.
The following is working for me:
Where the page class has just the report property and accessors.
Also note that you don't need to use expansions (the ${..}s) on these.
Cheers,
lasitha.
On Nov 15, 2007 10:00 PM, Michael Courcy <[EMAIL PROTECTED]>
No error message, but in the HTML page :
instead of my enum value...
My java code :
public EnumSelectModel getReportModel() {
return new EnumSelectModel(Report.class, _resources.getMessages());
}
Michael Courcy a écrit :
> Do you have error messages ?
>
> TNO a écrit :
>> H
Why @Component of course
(aka, nevermind)
Ezra Epstein <[EMAIL PROTECTED]> wrote: Speaking of which, how does one get a
reference to a contained component in T5?
Marcelo Lotif wrote: The grid component have a method called
setSortColumnId(), but for use it,
you got to have a reference to th
Is it that the user object is null on page load?
If so, see the BeanEditForm's implementation of void onPrepareFromForm()
Michael Courcy <[EMAIL PROTECTED]> wrote: You're right
here it is, I remove the "offending input"
and use this instead
${user}-- ${user.name}
And I get
[EMAIL PROTE
Hi,
I want to create a very simple select list from an enum.
But in a select component, the model (org.apache.tapestry.SelectModel)
is required, I try to use EnumSelectModel but it did not work...
I can't have my enum list...
please help, thanks
Tom
---
Antivirus avast! : message Sortant s
Folks,
Given the integration happenings with T-4.1, I wanted to get feedback on
decision on Component extension.
I would like to get as much bang for the buck when developing a Component ...
Is it more practical to develop a Component as an extension of DojoWidget ?
Your feedback and isi
Is there a version number or deadline already planned for this
functionality ?
Thiago H de Paula Figueiredo a écrit :
> On Wed, 14 Nov 2007 08:13:53 -0200, Stephane Decleire
> <[EMAIL PROTECTED]> wrote:
>
>> I've tried without success to add an "onchange" event on a select box
>> without firing th
Nope, the default Tapestry expression language can only read
properties, not do higher order things the way OGNL can. Because you
can change your Java class on the fly, there isn't a pressing need. I
suspect a later release of Tapestry will expand the power of the
expression language.
On Nov 15,
Hi Bastian
Two suggestions that might help
1) In ognl you don't necesarily need to ask if something is null using "==null"
you can use "ognl:!user"
http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/coercion.html
"ognl:!user or (!user.hasPermission(@theClass.THE_PERMISSION))"
2) Given t
Another way to extend Application servlet from tapestry and with your
implementation and then just replace ApplicationServlet declaration inside
web.xml with your new class.
Logic is more or less the same.
On 15/11/2007, Jili Lv <[EMAIL PROTECTED]> wrote:
>
> 1. Add a filter class :
>
> package co
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
just upgraded to Tapestry 4.1.3 I have the following problem:
I am using an @If component with the following conditional expression:
"ognl:user==null or (!user.hasPermission(@theClass.THE_PERMISSION))"
which should evaluate to true, if there is
Hi,
Is there a way to set the grid's column's width to a fixed size? without
that, the grid changes its width from page to page. Thanks.
A.C.
--
View this message in context:
http://www.nabble.com/T5%3A-grid%27s-column%27s-width-tf4811010.html#a13765107
Sent from the Tapestry - User mailing li
Hi... i tried simple autocompletion using scriptaculous in tapestry 3
but it doesn't work
Home.html
script.aculo.us Autocompleter functional test file
inside
//
Hi
It's off course possible (thanks to Howard and his Hivemind ideas :) ) You
can actually write something like
BLAH BLAH
More examples you
The title property of the video object is updated, I don't have a title
property on my page class.
I can't compile anything right now, but I'll try to put together a small
example tonight, if someone else hasn't posted something by then.
Josh
Josh It would be really really nice !!!
If you do
Just to say her problem is fixed since she's my collegue.
The Eclipse we use here is a custom (crap) Eclipse and jetty and maven
plugins do not work "normally". She used a normal Eclipse 3.2 WTP with the
regular plugins (plus some proxy configuration) and it now it works.
2007/11/14, Jeffrey ai <
41 matches
Mail list logo