yes, both.
Thanks,
DH
>
> onActivate(..) triggers on POST and GET, right?
>
>
>
> dhning-2 wrote:
>>
>> Sure you can, use page link.
>>
>> Like deleting a user:
>> or even
>> context="user" if you have defined coercier on user object.
>> Please remember that record/delete page should impl
onActivate(..) triggers on POST and GET, right?
dhning-2 wrote:
>
> Sure you can, use page link.
>
> Like deleting a user:
> or even
> context="user" if you have defined coercier on user object.
> Please remember that record/delete page should implmenet onActivate
> method.
> Delete.java
> v
hi,
now i know what you mean, because i had the same
problem and reported it as https://issues.apache.org/jira/browse/TAP5-230
:)
it is fixed in Tapestry 5.0.16
g,
kris
Imants Firsts <[EMAIL PROTECTED]>
27.11.2008 18:14
Bitte antworten an
"Tapestry users"
An
Tapestry users
Kopie
Th
If in a form, use linksubmit introduced in latest release 5.0.17.
If not, you can refer to OnEvent in t5components project
http://code.google.com/p/tapestry5-components/.
Thanks,
DH
- Original Message -
From: "inrila" <[EMAIL PROTECTED]>
To:
Sent: Friday, November 28, 2008 2:02 PM
S
Sure you can, use page link.
Like deleting a user:
or even context="user" if
you have defined coercier on user object.
Please remember that record/delete page should implmenet onActivate method.
Delete.java
void onActivate(int userid) { // or User user
// your deletion logic here.
}
Thanks,
DH
Hello again,
Both actionlink, pagelink - they do GET which is not very smart for the
let's say "delete" or some other state changing actions. Do we have an
option how we can do some "postbutton" or "postsomething"? :-) Or do we have
to do that manually? Like creating HTML form and then defining s
Question here :-)
I have on the "List" page ...
So I need to process it in "List" page as onActionFromDelete(...)
Is it possible to point it to some other page? Let's say special dedicated
page -- i.e. "record/delete", same as I have "record/create" or
"record/edit" ?
--
View this message in c
Use flash persistence.
A simple sample, user CRUD.
EditUser.java
public class EditUser {
@InjectPage
private UserList list;
onSuccess() {
list.setMessage("Your record was created succesfully!");
}
}
public class UserList {
@Persist("flash")
private String message;
Hi,
As I figured out @Persist will basically store the value in the
session/flash for _this_ specific page.
Let's say I created simple CRUD, where on the "List" page I am showing all
records.
When adding new record after onSuccess() I want to put some flash message
i.e. "Your record was created
Hi there,
I am trying out Tapestry 5, and have some minor (I guess) problem.
I have two different pages and each of them has:
..
@Persist
@Property
private String successMessage;
..
and each of the pages at some point writes something into it. Let's
say page1 writes "Hi page1", and page2 writ
Tapestry couldn't find your component's template and was forced to
assume it didn't exist. I'm beginning to wonder if we need an
annotation for components that don't have a template, since this can
be a bastard for newbies to track down.
Component templates are stored on the classpath, with the
Is the solution (volatile=true) still valid for 5.0.17?
Or maybe any new clarifications?
Can not make my loop update source :(
TYA
On Thu, Oct 23, 2008 at 10:15 AM, Andy Pahne <[EMAIL PROTECTED]> wrote:
>
> I am trying to edit the properties of objects contained in a list by using
> a loop in
i think you misunderstood:
2008/11/27 mad <[EMAIL PROTECTED]>
>
> The Layout component contains the tag:
>
>
>
> as shown below. (Maybe my ellipsis was confusing... sorry about that.)
>
>
>
> Sven Homburg wrote:
> >
> > is there no tag in your layout ?
> >
> > 2008/11/27 mad <[EMAI
Setting it to null will remove it from the session. See onGoHome() in http://localhost:8080/jumpstart/examples/state/sharingacrossmultiplepages1
.
On 28/11/2008, at 4:13 AM, wesleywj2 wrote:
hi there,
i'm currently implementing a project with T5 with spring2. i wonder
how do i
invalidate
The Layout component contains the tag:
as shown below. (Maybe my ellipsis was confusing... sorry about that.)
Sven Homburg wrote:
>
> is there no tag in your layout ?
>
> 2008/11/27 mad <[EMAIL PROTECTED]>
>
>>
>> Hi again,
>>
>> I hate to ask the same question twice. I did actuall
is there no tag in your layout ?
2008/11/27 mad <[EMAIL PROTECTED]>
>
> Hi again,
>
> I hate to ask the same question twice. I did actually have this working
> with a previous version of T5, but in 5.0.15, the tag is failing,
> like this:
>
> Render queue error in Text[ toto ]: This markup
Hi again,
I hate to ask the same question twice. I did actually have this working
with a previous version of T5, but in 5.0.15, the tag is failing,
like this:
Render queue error in Text[ toto ]: This markup writer does not have a
current element. The current element is established with the fir
Adding ids to my services does not help. The problem occurs when
HibernateModule is trying to contribute the default HibernateConfigurer, but is
unable to look it up, because it does not specify which one is the default.
This is the code from HibernateModule:
public static void
contributeHiber
hi there,
i'm currently implementing a project with T5 with spring2. i wonder how do i
invalidate a particular ASO object within a session? because in my session i
have few ASO on user transaction. until certain time, i want to invalidate
some specific ASO, how do i do that? i've tried using apps
not a bug. this is correct behavior!
if you declare multiple ioc services with the same interface you have
to qualifiy them with an id. otherwise the ioc container wont know which
service instance of the HibernateConfigurer interface to inject
in your use case you could also contribute the Hiber
Hi!
I am getting the following exception if I have a service in my application that
implements HibernateConfigurer and I contribute it to HibernateSessionSource.
org.apache.tapestry5.ioc.internal.OperationException
Service interface org.apache.tapestry5.hibernate.HibernateConfigurer is matched
Hi, glad to see the solution, I came up with something almost
identical, contributing my own RequestSecurityManager. I posted about
this issue a few weeks ago and was surprised no one responded, but I
figured I was explaining the problem weirdly, as I'm wont to do. In
my case the problem led to s
Ok I simplified my use-case and decided to try and call the javascript
function from a button instead of on dom-loaded (parhaps something there is
messing with it). Moreover I discovered that I mistakinly assumed that I
needed to include the t:zone as parameter to the url. Moreover I changed the
a
Hi,
I've created a zone which get's a couple of updates from various external
websites. The zone initally (on page load) contains some local info, but
needs to be dynamically extends with the sources extracted from these
websites. I want to call a server-side method (onActionFromRefreshZone)
whi
I have found a workaround from the following post in the archive.
http://www.nabble.com/How-to-inherit-or-have-a-dynamic-validate-to18127873.html#a18139604
Instead of passing something like required,min=0 as a FieldValidator to my
component, I need to pass it as a String and create the corresp
Anyone uses dojo data grid control with tapestry 4.1.6? If so, can you post
sample code?
thanks
--
View this message in context:
http://n2.nabble.com/Dojo-data-grid-tp1584616p1584616.html
Sent from the Tapestry Users mailing list archive at Nabble.com.
26 matches
Mail list logo