Thank you, Robert and Matt, for you helpful hints.
I'll write some test cases (since I like TDD) and send them back to you.
Once I get this working, perhaps we could think about committing it so it
becomes a default "feature" of Tapestry. Seems to be that this should be
included in the platform.
Also keep in mind that the votes for these are in progress. So far the
codename vote has received 'underwhelming' support from the binding
voters (see dev list for discussion). However the 4.0 vote (also in
progress) has received overwhelming binding support.
Richard
Erik Hatcher wrote:
Keep
KovÃcs IstvÃn alarmix.net> writes:
> Challenge #1: it has to be possible to add new languages to the site on
> the fly.
In addition to what others have said, you also need to decide
what to do with the text input by your users. For example,
if at the moment only English and French are supported
Hi,
I use table component and ITableModel from contrib library to display the values
fetched from DB.
.page
List.java
tableModel not declared as an instance variable.
public ITableModel getTableModel(){
data = Get values from DB...
columns = Tablecolumn[]
ITableModel model = new ITableM
On Apr 12, 2005, at 2:52 PM, Patrick Yip wrote:
Is it possible to get property defined in the .application from within
the Global Object?
Only via the method you mentioned, passing it in from a
CustomEngine.createGlobal() method.
Since the instantiation of the Global object is done by the framewo
You could put the info into the visit object. I'd made a hash or a bean
and put it in Visit. I do this with a shopping cart-style object I use
in one of Darden's apps.
Jamie
On Apr 12, 2005, at 7:38 PM, JIM WEAVER wrote:
Hi,
We are developing a tapestry application that has an online
registratio
Hi,
We have a simple component (PasswordField) that contains a Valid Field
with an associated Validator. We saw where we were duplicating
validation information in the page specifications of several pages
that had password fields, so we decided to create a component for the
field.
This is workin
Hi,
We are developing a tapestry application that has an online
registration series of pages/forms (a wizard type deal, where info is
collected page by page and business transaction to register them
occurs at the end of the sequence).
I know that I can hand an object from page1 to page2 directly,
Hi,
it's time to deploy my first tapestry app and even though I've done some
googling, I ran into a problem I haven't seen on previous instalations
on intranets.
The problem seems to be the environment.
My target environment:
- a remote server
- vanilla tomcat 5.5.7 (no tapestry jars in either s
I've some comments:
1. There isn't a wml component for tag wml. You can't use wml tag with
ognl expressions. This is the reason you get
2. Hard to say what's wrong without template and specification.
Here is an example for Select component:
How much do you make?
Frncs,
This is only included in pages that use the Shell component. It's
very possible that this site doesn't use a Shell component.
Well, is the site really created with the Tapestry framework? Where is
the proof then?
There are only about a 100 Tapestry related service links on the Home
pa
Well, is the site really created with the Tapestry framework? Where is the
proof then? It is a characteristic of a typical Tapestry site that the
content attribute has as value the version of Tapestry you used for
development. For example at my site you have:
in the head tag.
There isn't anythi
The url generated by this script is specific to Tapestry's built-in
Direct and Action services. Since FURLs overrides the url
generation/parsing logic of these services, the script breaks.
If you ask me, it would have been a better decision to copy logic from
the getLink() method from Form rath
Hi,
Does anyone know why I have to reference them?
And is there any other way to turn them off?
I created a bunch of components in a seperate page and then reference them in
another page. I don't want to display them there in the template, but it seems
that I can't create components without us
yes - that's because the response was not served by the appropriate
service (it should have been PartialService, but it wasnt)... if you
are already using a patched version of Tapestry, and you have some
enthusiasm, please try the following:
modify tapestry's Form.java, and make private ILink
what I'm gleaning so far is that the service has to be extended to deal
with friendly URLs and your hack would have to be changed to create the
proper FURL URL.
I may try to make a FURL version of this tomorrow. Not sure if I can
justify the time.
Jamie
Viktor Szathmary wrote:
hi,
the PartialF
Hmm... the javascript error I get is:
Error: this.transport.responseXML has no properties
Source File:
http://localhost/registrar-student/asset.svc?sp=S%2Fnet%2Fsf%2Ftacos%2Fpartial%2FPartial.js&sp=S8304332074860f58113708089fb60cc3
Line: 112
Viktor Szathmary wrote:
hi,
the PartialForm relies on
I'm having a trouble with WML Selections.
The postfield allways posts an empty Strings, so when my
PropertySelectionModel translateValue() run, it can't transform the
value.
The final page, after parsing template looks like this:
Choose One
Option 1
Option2
Thanks.
---
Remove these unreferenced components from your .jwc or .page file.
Richard
-Original Message-
From: Mark Stang [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 12:27 PM
To: Tapestry users
Subject: How do I stop this from printing in the log?
Is there a way to turn this off?
SEV
Is there a way to turn this off?
SEVERE: Template for component APWizardPageHolder/apConnectionInfo does not
reference embedded components: labelConnName and labelDesc.
thanks,
Mark
hi,
I don't recommend that - the problem is the service link rendered by
PartialForm (extends Form). PartialService should be fine as is...
viktor
On Apr 12, 2005 3:01 PM, Jamie <[EMAIL PROTECTED]> wrote:
> Looks like I'll need to make a custom PartialService to work with FURLs...
>
> Jamie
>
Looks like I'll need to make a custom PartialService to work with FURLs...
Jamie
Jamie wrote:
PS: it works with JavaScript disabled (looks like it just reverts to a
normal form submission).
Jamie wrote:
Has anyone got these working in a Friendly URLs patch to 3.0.3? I've
tried the PartialForm on
hi,
the PartialForm relies on a nasty, evil hack, because i was lazy :)
overriding the base tapestry Form component's service link generating
behavior is not currently possible without copypasting the entire
sourcecode... so what i ended up doing is a dynamic substitution in
the javascript:
does your page implementation clear the contentProvider instance in
detach() (ie. is it recreated on every request)? if that's the case,
i'm a bit puzzled as to what the issue is.. here's current behavior
(as it's in CVS HEAD):
- if no binding for the "state" paremeter is supplied, the Tree
compon
Mystery solved. You must implement the IKeyProvider. Once I did that, things
began to work. Here's the change to the .page file:
...
...
John
On Apr 12, 2005 11:12 AM, John Gordon <[EMAIL PROTECTED]> wrote:
>
> Okay, I've made some modifications to my config and to the code and am no
> longe
Is it possible to get property defined in the .application from within
the Global Object?
Since the instantiation of the Global object is done by the framework
with a no argument constructor, I want to find a way to create Global
with some initial properties. I tried the createGlobal() via th
PS: it works with JavaScript disabled (looks like it just reverts to a
normal form submission).
Jamie wrote:
Has anyone got these working in a Friendly URLs patch to 3.0.3? I've
tried the PartialForm on a couple of my pages and nothing happens at
all (no errors, nothing logged, etc). I've got t
Has anyone got these working in a Friendly URLs patch to 3.0.3? I've
tried the PartialForm on a couple of my pages and nothing happens at all
(no errors, nothing logged, etc). I've got the Parts with IDs, and the
PartialForm--but no submission seems to take place and I'm getting no
errors. I've
Mark,
All 3.x version of tapestry support putting files into sub-directories, just
add explicit reference into your .application file. We use it all the time.
Richard
-Original Message-
From: Mark Stang [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 11:14 AM
To: Tapestry users
Yes, but you'll need to define their location relative to the WEB-INF
directory in your .application file.
e.g.
Paul
Mark Stang wrote:
Hi,
Does Tapestry 3.0.2 support putting files in sub-directories? I am starting to get a
lot of .jwc, .page, and .html files? It would be easier if
Hi,
Does Tapestry 3.0.2 support putting files in sub-directories? I am starting
to get a lot of .jwc, .page, and .html files? It would be easier if I could
"sort" them in directories.
regards,
Mark
-
To unsubscribe, e-mail:
Okay, I've made some modifications to my config and to the code and am no
longer getting any tapestry exceptions. The only problem I have now is that
nothing happens when I click the expansion icon of the root element in the
tree. The page posts but nothing expands.
I've put logging into my cus
I've had had the same problem. I found out it happens only with MS
Internet Explorer but not with Mozilla FireFox.
JAVIER SANCHEZ.
On Mar 24, 2005 2:52 PM, Hensley, Richard <[EMAIL PROTECTED]> wrote:
> I'm getting the following exception, and I don't really know what it means:
>
> Page recorder
When you submit a form via a submit button, the submit button's name and
value are posted along with the form data. The Submit component relies
on this information to determine whether or not to trigger its own
listener. In HTML, when a form element is disabled, its name and value
are not pos
hi,
interesting :) couple of things:
- the value binding should never be persistent.
- if you do supply the "state" parameter to the tree, you'll want to
make sure that the corresponding property in the page is
persistent="yes" and you have an initial-value.
for example, i'm using the following
Hey, Viktor,
I downloaded the head version of tacos from cvs and built it, but am still
getting the commit() error. I've tried various configurations for the
property-specifications, persistent="yes"; persistent="no", but with no
success. The results of trying your ideas follow:
1) no state pa
Here's one I wrote for my current project. Feel free to suggest
improvements.
Robert
/**
* Class that represents what we know about the client machine.
*/
public class Client {
public static final String WINDOWS = "windows";
public static final String MAC = "mac";
public static fi
Anyone else in Orlando, Florida (USA)?
Howard is scheduled to speak about Tapestry at our Java Users Group tonight.
I'm looking forward to this, since I've been working with Tapestry for a few
months now, and it will be great to chat with Howard about the future of
Tapestry. Anyone else going to
This is a recurring question.
You can use a normal DirectLink (or PageLink) but you have to define
org.apache.tapestry.contrib.link.PopupLinkRenderer as its renderer.
Regards
On Apr 12, 2005 3:06 AM, martin Holman <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I am very new to Tapestry so I apolog
Sorry, I agree.
I guess I am just getting frustrated.
Thanks
Frank
- Original Message -
From: "Andrus Adamchik" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, April 12, 2005 11:11 AM
Subject: Re: AW: Looking for a database tutorial
ok, I was thinking of learning Hibernate, but did not want to t
Depends... if you have the DB under your control and have a complex object
model that maps to a relational model then Tapestry is great. If however the DB
is under the control of a DB Administrator, then you would be better of to use
IBatis SQL Maps.
If you are new to all this stuff, I would s
> ok, I was thinking of learning Hibernate, but did not want to take on
> too much too soon.
> Is Hibernate the best way to work in Tapestry?
No, it is just one of the possible ways. Again - Tapestry (or JSP or
Struts) are all database agnostic.
> I coming from an ASP/.NET background where I rea
There are many ardent users of Cayenne (and the CayenneModeler) on this
list:
http://www.objectstyle.org/cayenne/index.html
Jamie
Frank wrote:
ok, I was thinking of learning Hibernate, but did not want to take on
too much too soon.
Is Hibernate the best way to work in Tapestry?
I coming from an
ok, I was thinking of learning Hibernate, but did not want to take on too
much too soon.
Is Hibernate the best way to work in Tapestry?
I coming from an ASP/.NET background where I really did not have to think of
all these things to get a web app running. I keep coming back to Java.
Regards,
Fr
Thanks for the advise.
I am trying to go through the "Tapestry in Action".
I joined the MyEclipse group, and am waiting on support for Tapestry. They
promised for 4.0
Regards,
Frank
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Tuesday, April 12, 2005 10:56 A
IMO it is a bad idea to bind an open ResultSet to a page directly. You'll
get all kind of leaks and unpredictable behavior. If you want to stick
with JDBC in your app, the simplest way to bind your results is to first
process the ResultSet in a page Java class, converting it to a List of
Maps. Then
On Apr 12, 2005, at 10:25 AM, Joey Gibson wrote:
On 4/12/2005 08:49, Erik Hatcher wrote:
2. Directly in the Page class, in this case, the page does not need
to
be abstract. I then have to write my own getter and setter.
And in this case you also need to clear the values in initialize()
(which get
hi frank,
I think you should do one or two tutorials without any database stuff, just
to get used to the way tapestry works. Don't try to make two steps at once
...
Remember Thomson's Rule for First-Time Telescope Makers: "It is faster to
make a four-inch mirror then a six-inch mirror than to ma
Magritte? Ceci n'est pas une Tapestry!
Couldn't resist,
Jonathan O'Connor
Archivierung fuer Lotus Notes
Lotus Notes Unterstuetzung fuer den Open Source basierten XCOM Archivkern:
http://lotus.xcom.de/archiv
Mobilize Your Business:
Machen Sie Ihren Applikationen Beine - auf PDA, SmartPhone und
ok, thanks
Can I simply return a jdbc resultset to a tapistry object?
Sorry I am so dense on this. I have done JSP websites,
I wish there were more Tapestry database examples like struts has. I learn
best by simple examples. I really want to learn Tapestry over struts. The
only other framework I
.
>
> So are you saying that if you implement a
> getter/setter yourself, and
> you have instance variables, you have to reset/unset
> these instance
> variables by overriding the initialize() method? I
> don't remember seeing
> that in Howard's book.
>
initialize() method is discussed on p305 i
Frank,
Then I think you need to realize that there is nothing database-specific
in Tapestry. Tapestry pages will work with any objects you give them. It
makes no difference whether such objects that were retrieved from the
database or created by your application.
So how about you split your probl
On Apr 12, 2005, at 9:51 AM, Viktor Szathmary wrote:
looks like private assets don't deliver any HTTP response headers that
would allow the browser to cache them... since the URLs now include a
content hash, I don't see why this shouldn't be done... the Date
header should be set to the timestamp of
On 4/12/2005 08:49, Erik Hatcher wrote:
>> 2. Directly in the Page class, in this case, the page does not need to
>> be abstract. I then have to write my own getter and setter.
>
>
> And in this case you also need to clear the values in initialize()
> (which gets called *after* the page is done a
Hello,
Thanks for the links.
I am new to this, and these tutorials seem too much for me.
I really just want a simple example for reading a database and displaying
records from within Tapestry.
Regards,
Frank
-
To unsubscribe, e
Keep in mind that the purpose of the codewords for releases is so that
a version number is _not_ yet tied to them.
But I agree that the next version of Tapestry should be 4.0 since
practically all Tapestry applications will require some adjustments to
work with it.
Erik
On Apr 12, 2005
hi,
looks like private assets don't deliver any HTTP response headers that
would allow the browser to cache them... since the URLs now include a
content hash, I don't see why this shouldn't be done... the Date
header should be set to the timestamp of asset load (since it's harder
to get the timest
Hi all,
I have a requirement that when the user clicks on the
submit button for a form that the button be disabled so
they won't/can't click it again before the next page
appears. Sounds simple enough. I put some javascript
like this:
function disable( input ) {
input.disable=true;
}
To te
I don't think this discussion has made it to the user list yet, so I
thought I'd post this.
On the dev list we had a discussion a few weeks ago about what to call
the next release of Tapestry. Howard liked the idea of using a codename
like so much other software does. After bantering about a bu
Hello,
István meant that his customer requires that for every
message 3 lookups should be carried out:
1) first for primary language
2) second for secondary language
3) third = default (i.e. English)
Since a set of internationalization constants is
sparse in his system, it is entirely possible t
On Apr 12, 2005, at 8:06 AM, Bruno Haas wrote:
I have written a "hello world" tapestry application that works fine.
Being new to the whole tapestry framework, I have a question that I
could not find an answer for in the user/developer's manual:
It looks like page properties can be defined two wa
On Apr 12, 2005, at 7:48 AM, Kovács István wrote:
Dear All,
I have been asked to develop an app which handles user's languages a
bit differently from the usual.
Challenge #1: it has to be possible to add new languages to the site
on the fly. That is, the site is originally fired up with one reso
hi,
this is probably not an issue with the contentProvider, but the
initialization sequence of the tree "state" binding. there was a small
bug in the tree component regarding this: the component tried to
default a persistent binding a bit too late - this should be fixed in
CVS head - try building
Hi,
I have written a "hello world" tapestry application that works fine.
Being new to the whole tapestry framework, I have a question that I
could not find an answer for in the user/developer's manual:
It looks like page properties can be defined two ways:
1. In the page spec using , in this cas
Dear All,
I have been asked to develop an app which handles user's languages a bit
differently from the usual.
Challenge #1: it has to be possible to add new languages to the site on
the fly. That is, the site is originally fired up with one resouce file,
defining keys and the English equivalen
Dear all,
The last version of my tooltip component has a bug
regarding to the positioning of the tooltip when there
is scrolling. This has been fixed. The position of the
tooltip is now in sync with the scrollbars.
The following features have been added.
1) A staticFlag parameter to indicate w
On Apr 11, 2005, at 6:38 PM, Howard Lewis Ship wrote:
It won't be perfectly backwards compatible, but I'm hoping the manual
intervention will be limited to advanced uses: extending BaseEngine, or
adding engine services.
From my experience, extending BaseEngine and adding engine services are
not un
Hi,
Saqib mentioned this component
http://equalitylearning.org/Tassel/app?service=direct/1/Browse/viewCompo
nent&sp=SrobertzNewWindowLink
Martin
-Original Message-
From: Bocko [mailto:[EMAIL PROTECTED]
Sent: 12 April 2005 10:05
To: Tapestry users
Subject: Re: Popups containing tapest
Hi,
I had similar problem. It's not popup, I activate new window on button
click. I solved this width help of JavaScript, like this:
hire /test/app is path to your tapestry application as you specified in
web.xml
I know that this is not very nice solution, but it works.
If someone has better
Hi Saqib,
That works great.
Thanks for the prompt response!!!
Martin...
-Original Message-
From: Saqib Rasul [mailto:[EMAIL PROTECTED]
Sent: 12 April 2005 09:43
To: Tapestry users
Subject: AW: Popups containing tapestry pages
In the Tapestry Wiki -> ExtraComponents -> Tassel which ha
In the Tapestry Wiki -> ExtraComponents -> Tassel which has a New Window Link
which is DirectLink that will open in a new window.
Perhaps easier (that's what we are doing) is to use the target attribute of the
tag. Since DirectLink renders an tag, and it allows for informal
parameters, you ca
Hello all,
I am very new to Tapestry so I apologies if the answer is obvious. What
I require is a popup to contain a Tapestry page from the same context as
the parent page. I've looked at PopupLink but this only seems to cater
for none Tapestry pages such as external website/ help pages etc.
Dire
Hi All,
I've been banging my head on this one: I keep running into the following
error in the rendering of a page when trying to use the tacos:Tree
component:
Page recorder for page [my page name] is locked after a commit()
I must be getting something confused between setting persistence on ab
73 matches
Mail list logo