hi,
I am making use of the tapestry For loop in my HTML to create a table (I'm
using this rather than a table due to the simplicity).
I have 3 columns of data, and 2 buttons per row. one button deletes the row,
and the other changes all fields to edit boxes so it can be amended.
At the
Zitat von Gareth [EMAIL PROTECTED]:
I have gotten around the problem by, in the listener for onDelete, I flag
the row for deletion, and then in the PageBeginRender method, I check to
see that it is not rewinding - i.e. it is about to start rendering the
response, and if the deletion flag is
Guys,
I am just testing out a simple @ShowMessages component that highlights text
whereby the *.html and *.jwc are located under my WEB-INF/proto/component/
directory
--- Here is the proto.library file
library-specification
descriptionPrototype Component library/description
library
Well i tried a couple of things finding out that contrib was named in two
places when it should haven't...
--- new *.application file
application name=tap.proto
!-- page name=Home specification-path=/Home.page/ --
meta key=org.apache.tapestry.page-class-packages value=proto/
meta
Well it is obviously in the *.application file
Here is the latest *.application file.. apologies for the slop
application name=tap.proto
meta key=org.apache.tapestry.page-class-packages value=proto/
meta key=org.apache.tapestry.component-class-packages
value=proto/component/
library
Ok, I have taken this to another level.
My package spec had slashes instead of dots. No indicator of such at runtime
though... although I have been operating dots/slashes for 20 years now.
--- Here is the latest library spec
library-specification
library id=contrib
Hi Ryan --
Eclipse can look for fully specified names but 'members/Navigation'
isn't fully specified.
The component specification looks like:
@Component(type=member/Navigation)
public Navigation getNavigation();
(FYI, in my example I was only giving the full flassname for illustration only)
... And I am having the time of my life being able to *use* your good
work to be able to reach higher than I thought I would be able to :-)
On 10/15/06, Jesse Kuhnert [EMAIL PROTECTED] wrote:
No need for thanks. I'm having the time of my life doing this stuff. I've
never had access to learning
Has anyone else experienced this?
As soon as I add the binding async=true to my ImageSubmit, it stops calling
the listener. If I remove the binding, it works as expected. When I try
changing ImageSubmit to LinkSubmit, it works with and without async=true.
Any ideas?
Here is the code I am
Err, that should read doImageSubmit() (the LinkSubmit pointed to that
listener.. but they both do the same thing)
From: Peter Beshai [EMAIL PROTECTED]
Reply-To: Tapestry users users@tapestry.apache.org
To: users@tapestry.apache.org
Subject: Async=true stops listener from being called in
I made a T4 page with a Contrib:Table and a form in it. In the form there is
a textbox and a submit button to add record to the table.If i was view the
3rd page of the table and then add a new record . After submitting the new
record was added and i was still at the 3rd page of the table.But the
Try the .reset() method on the table.
I've got a page with something like this (in the .java):
@InjectComponent( table )
public abstract Table getTable( );
void resetFields( ) {
...
setItemsPerPage( DEFAULT_PAGE_SIZE );
// Reset table, so that on next rendering it begins at
I'm trying to get a form to receive focus when a page loads but binding
the 'focus' parameter with 'true' in a form component doesn't seem to
have the intended effect. It seems to do nothing. Even when an error
occurs, the form doesn't receive focus on the field in error.
Am I doing something
I am interested in using the dojo progress bar discussed at
http://www.richardrodger.com/roller/page/richard/Weblog/dojo_progress, but I
can't figure out how to get it to work in Tapestry (4.1). I'm confused about
where to put the widget files and how to reference them. Do I have to add it
as
Patrick Moore wrote:
Hi Ryan --
Eclipse can look for fully specified names but 'members/Navigation'
isn't fully specified.
The component specification looks like:
@Component(type=member/Navigation)
public Navigation getNavigation();
(FYI, in my example I was only giving the full
Why define the components both in the library and in the app?
BTW, span jwcid=@tap.proto:ShowMessages/ should work.
Also, where is ShowMessages.jwc located? Do you also have a
ShowMessages.java somewhere?
Ken nashua wrote:
Ok, I have taken this to another level.
My package spec had slashes
I've seen some problems with this when using Tacos; it may be Tacos or Dojo
related.
On 10/16/06, Leo Sakhvoruk [EMAIL PROTECTED] wrote:
I'm trying to get a form to receive focus when a page loads but binding
the 'focus' parameter with 'true' in a form component doesn't seem to
have the
Hmm...This should be working correctly.
I went through the same thing the other day and found that there were
actually a few forms on the page, so I had to pick which one I wanted to
give higher default priority to using the @Form focus parameter.
If it really looks like a bug a JIRA issue
It looks like you are defining the contrib library ID twice, once to the
Tapestry contrib library and once to your proto library?
I think you shuold be doing something more like:
application name=tap.proto
meta key=org.apache.tapestry.page-class-packages value=proto/
meta
I only have a single form on one of the pages where it's not working and
several on another one where it's not working either. In fact, none of
them work in my application :( I'm using 4.1.1-SNAPSHOT but I believe
that this problem was even there in 4.0.2 I'll try to post in JIRA later
today
peter - the first step would be to isolate the issue
are you able to make this widget work without tapestry and with just plain
vanilla HTML and dojo?
if not, then that would be an excellent starting point.
On 10/17/06, Peter Beshai [EMAIL PROTECTED] wrote:
I am interested in using the dojo
Hi Patrick,
I was referring to the class resolution ambiguity you encountered in
your Navigation example. Had you specified the 'type' parameter, you
would be forced to indicate whether you meant 'Navigation' or
'members/Navigation'.
Specifically, I was talking about the ambiguity in the
Ok... oops .
Will be fixed in whatever makes it out tonight. (Should work on widgets +
normal fields equally well as an added bonus to make up for breaking it. )
On 10/16/06, Leo Sakhvoruk [EMAIL PROTECTED] wrote:
I only have a single form on one of the pages where it's not working and
Ouch. I'm really sorry about this. Either everyone else has been very kind
to me or you are the first portlet user using 4.1.1.
I will make this my top priority of things to do in my next available
multi hour segment of time. (Probably sometime during this week. )
On 10/16/06, Vitaly Baranovsky
I just tried upgrading Equinox (http://equinox.dev.java.net) from Tapestry
4.0.2 to 4.1 (b/c 4.1.1 isn't in the Maven repo) and I'm experiencing the
same issue. I tried changing from:
input jwcid=@DatePicker type=text size=11
value=ognl:user.birthday id=birthday
25 matches
Mail list logo