Hello All,
I have an list of String arrays that I want to diplay with an contrib table.
The list is the source, but I don't know how the define the columns parameter
for the arrays. Below is what I have tried, but it does not work:
Content comes here
Does someone knows how to define
Hello Yunfeng!
Do not you think its also make sense to annotate getter methods,needs
to be cached, in component class.
like this:
@Cached
public abstract void getFoo()
Regards,
Dima
YH> I add cached property support to tapestry. A cached
YH> property is actually a method in the form of a getter
Hi Adam,
So do you want me to submit the form when user clicks [Add Rows] ? I can try
that. But right now am adding new rows to the table (of users) on the client
side using javascript. Now I dont know how to get For component to
recongnize the existance of new users during the final submit. I can
I add cached property support to tapestry. A cached
property is actually a method in the form of a getter,
which will return an object could be used by page
components for several times, and worth cache it. For
example, a selection model containing data retrieved
from database, and the selection mo
Hi Frank, "selected" is deprecated, you should use "value" instead...
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Checkbox.html
http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/form/Checkbox.html
Best regards.
Raul.
Frank Russo wrote:
I'm in the pro
I'm in the process of upgrading from 3.0 to 4.0. I've replaced a lot of
items that have been deprecated, but I can't figure this one out. Here
is the warning message:
WARNING: Parameter selected (for component TokenType[OPEN], at
context:/WEB-INF/pages/bureau/BureauEntities.html, line 66)
I've read a few threads on the subject, but I'm still still confused.
Creating a simple inline page link as such...
List Page
//page html content
List Page section
...doesn't work since the base is defined by tapestry as:
http://localhost/appName/dir1/"/>
As a result, the link is "http://localho
The issue is that Hibernate tends to encourage the creation of
extremely complex and interrelated object graphs. As a practical matter that
means that trying to dump subsets of the data manually via JDBC is very
awkward because you have to determine all the relationships yourself e.g.
Hi!
I'm trying to use LDAP with my tapestry application, but I get an error:
Exception invoking listener method onLogin of component Login: Failure invoking
listener method 'public java.lang.String
com.ttdev.myapplication.Login.onLogin()' on [EMAIL PROTECTED]:
com/novell/ldap/LDAPSearchResults
well, i'm using the hibernatetool ant tasks which would pretty well for
printing the current schema (not the one on the server) and for
creating/updating tables. the only thing is that the update function is
not all that great and misses a lot of stuff. i think i've got a pretty
good solution based
Perhaps:
http://octopus.objectweb.org/
Patrick Casey <[EMAIL PROTECTED]> wrote:
Currently, I'm doing database dumps from my dev instance and loading
them into my test box (via the mysql dump utility). This is problematic
though as it's destructive vis-à-vis the test instance.
I thought at o
Currently, I'm doing database dumps from my dev instance and loading
them into my test box (via the mysql dump utility). This is problematic
though as it's destructive vis-à-vis the test instance.
I thought at one point I'd be able to use Hibernate's XML export
tools to dump relev
I have a testing server which runs locally and then a staging server
which actually gets tested on by other people and is updated after each
iteration. I use hibernate. Does anyone know of a way to update the
staging server database to sync up the schema with the test database
(the current schema)
Hi all,
We're using Tapestry with friendly URLs and the TableComponent.
The problem :
We have implemented J2EE security that restricts access to only friendly
URLs.
The TableComponent generates links that are based on unfriendly URLs
e.g.
/PhoneBook/?component=table.tablePages.linkPage&pag
Hi, I'm just starting off with Tapestry. I figured I'd go with 3 since who
knows when 4 is coming out and there seems to be more (relatively speaking)
resources then 4.
I'm trying to customize the border example from Tapestry tutorial 1.0.3.
Basically, all my links on the left are in a list wit
Doh! I did'nt include the dojo javascript file.. it seems to be working now :)
--- [EMAIL PROTECTED] wrote:
> Hi,
>
> I have a screen with many tabs, I would like the tabs to be populated when
> the
> user selects the tab asynchronously. The basic idea is that when a user
> clicks
> on a link,
We do have some .properties files with pages in a subdirectory as well,
so at least in 4.0 there's no requirement about .properties being in the
same directory.
jeff
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 06, 2005 10:22 AM
To: Tapestr
Our dir structure is a bit different, placing grouped .page & .properties
files into sub-dirs based on function. I'll try mimicing your dir
structure. Maybe there's an issue where the .properties files all need to
be in the same dir? But that seems odd to me
Thanks for your feedback!
-
Nope, no dupes. Just checked to make sure.
For the most part, I'm referencing these with the @Message annotation,
so there's really no code to show. I do have a couple of calls to
getMessages().format and getMessages().getMessage, but the surrounding
code is quite project specific. I'm basicall
Has anyone gotten this to work in 3.x??
Jeff, here's a somewhat silly question...do you have duplicate messages in
both the app & component properties files? I just want to be sure, in
case your code is picking up the component messages first, rather than the
app messages. I'd ask you for a s
Keeping the 'old' list in a persistent property of the page might help. Then on
the "updated" view you can addidtionaly check if there were any new posts if
you want to prevent outdated view.
Martin Strand <[EMAIL PROTECTED]> wrote: I've got form with a list of items and
a delete button. On for
Yes, subfolders work. Just make sure you list everything in your
.application file.
--- Pat
> -Original Message-
> From: Leon Pu [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 06, 2005 7:35 AM
> To: tapestry-user@jakarta.apache.org
> Subject: Html page structure in T
Hi,
I have a screen with many tabs, I would like the tabs to be populated when the
user selects the tab asynchronously. The basic idea is that when a user clicks
on a link, the tab gets populated.
I have looked at the tacos examples and I am having a hard time trying to
figure what I need to do.
On 12/5/05, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote:
>
> The same trick with deferred method execution would do the trick,
>
> http://article.gmane.org/gmane.comp.java.tapestry.user/19946/match=ignatyev+submit
> or simply set ID of the element to delete in the listener but perform
> actual de
In the listener have it check the status of Add Rows. If true have it create
further elements in an iteration that are added into the ListMap as a series
of empty strings.
Adam
On 06/12/05, karthik G <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I'm a tapestry beginner and I have a requirement simila
I've got form with a list of items and a delete button. On form submit, I
want to check the values of some checkboxes, delete the corresponding
items from a remote IMAP server, and then redisplay the page with the
updated list.
However, to prevent the "stale link" phenomenon, it seems I nee
I'm having a very wierd issue .
Using tapestry 4.0.13 and tacos . I'm not posting this on the tacos ml
however because it happends as i try to load the first page of the app
which has almost nothing to do with tacos .
I kept on writting some javaScript code in my Border component , and I
needed t
is there any way to use a template when creating a form component? I
have a textarea and then want to put a link after it.
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
Hi all,
are Html pages must be putted into the WEB-INF directory? Does sub
directory work in Taptestry?
I found if there are sub directories under Tapestry project, I cannot
use "Next page" to redirect to the
destination.
Best regards,
Leon
___
In 4.0 Submit, LinkSubmit, and ImageSubmit all have a "listener"
parameter for a listener that is notified immediately and an "action"
parameter for a listener that gets notified after all components have
updated their properties. This seems to have disappeared from the
LinkSubmit docs but I'm pret
Hello Raul,
Glad to have been able to provide you with some help.
Thanks a lot for your nice comments on HiveMind Utilities.
Regards
Jean-Francois
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Raul Raja Martinez
Sent: Tuesday, December 06, 2005 4:39 AM
To:
Hi Tony,
try defining the binding expression in .page or .jwc file wheter you're
using a component or page
"highlight(true,'" + auditInProgress.datasourceUniqueId + "');"
I have a component that uses this similar approach, below is the code:
"javascript:toggleLayer('" + cu
I have tried various combination of the below and to no avail.
Thanks anyhow.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 6 December 2005 7:42 p.m.
> To: 'Tapestry users'
> Subject: RE: Issue with Javascript and a ForEach loop
>
> Did you try
Hi All,
I'm a tapestry beginner and I have a requirement similar to the original
post.
My requirement is almost similar too except that I plan to add blank rows
when user clicks the button [Add Rows]..say 5 rows by default. Initially get
all users and display them. Later allow user to add / edit.
34 matches
Mail list logo