I know you can use them on the same field in pages/components, I was trying
to offer an alternate way of getting the instance of the service setup
correctly (by using IoC) instead of using a getter with side-effects as
suggested in an earlier post. ;)
--
Chris
On Wed, Jan 23, 2013 at 12:59 AM,
I'd write a mixin that just changes the method from POST to GET on the form
element. You might need to put in a different URL if Tapestry gets confused
about the form URL being a GET. Then just attach that mixin to the form
component. I've thought about this for searches but I just put
@ActivationR
On Tue, 22 Jan 2013 20:43:15 -0200, Chris Poulsen
wrote:
One could also @Inject CelebrityService into a @Property i suppose?
(Using Tapestry IoC to manage the licecycle of the service).
Yep. You can use @Inject and @Propert in the same field just fine. Of
course, @Property will only work
You said:
When rendering the AJAX response, Tapestry tries to evaluate an
expression on 'child' (*), but 'child' is null.Why does Tapestry need
the value of 'child'? How is it supposed to know?
The stack trace says the problem is elsewhere:
[ERROR] batch.ViewBatch Render queue error in
B
Ok. There are more nested components than necessary, though.
ExecutableRowPair.tml:
ExecutableRowPair.java:
Stack trace (actually the null pointer exception is in ExecutableRowPair):
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Null-pointer-exception-when-updat
One could also @Inject CelebrityService into a @Property i suppose? (Using
Tapestry IoC to manage the licecycle of the service).
--
Chris
On Tue, Jan 22, 2013 at 10:14 PM, Geoff Callender <
geoff.callender.jumpst...@gmail.com> wrote:
> setupRender() doesn't get called in an AJAX request.
>
>
>
setupRender() doesn't get called in an AJAX request.
http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/whatiscalledandwhen
so celebrityService was null. You can either:
- @Persist it. That makes the page stateful, which is best avoided.
- use Firebug or Web inspector to f
Ok, I got it working and my sanity is returning. I'm not sure I've done it
the best way and I welcome any comments.
My previous suppositions were on the right track. Tapestry wasn't getting
the correct GridDataSource. In fact, it wasn't finding one at all, so was
using NullGridDataSource.
In t
Full stack trace and ExecutableRowPair code component please.
On Tue, 22 Jan 2013 16:58:05 -0200, Peter Farkas
wrote:
I'm try to show a list of components with AJAX zones in a table:
An 'ExecutableRowPair' consists of a header row (that's always visible)
and
a details row, that's load
I'm try to show a list of components with AJAX zones in a table:
An 'ExecutableRowPair' consists of a header row (that's always visible) and
a details row, that's loaded through AJAX. The request is triggered by an
event link in the header row.
In ExecutablePair.java, I'm injecting the compon
I have a search form in my application and I'd like to use a since the form does not change serverside state. This is
perfectly legal in normal (non-tapestry) HTML.
The tapestry form component (and related field components) require that the
form submits via "POST" and also causes a redirect-after
It's not working at all and I'm getting close to running screaming from the
building. Following is more code. It is the current state of affairs.
With the code as displayed I get this error:
> Failure reading parameter 'model' of component
> misc/DataTableDemo:datatable: Unable to determine the
Sorry guys, I was not sure where to post.
My applogies.
Matías.
Saludos,
Matias.
On Tue, Jan 22, 2013 at 12:22 PM, Matías Blasi wrote:
> Hi everybody!
>
> I was just wondering how is Tapestry handling concurrent users asking for
> the same page (which I understand, is a singleton) where each u
Please, don't cross-post to both users and developers list. This is a
user-list questions.
Here is your answer:
http://tapestryjava.blogspot.com/2010/07/everyone-out-of-pool-tapestry-goes.html
On Jan 22, 2013, at 10:22 AM, Matías Blasi wrote:
> Hi everybody!
>
> I was just wondering how is Ta
Hi everybody!
I was just wondering how is Tapestry handling concurrent users asking for
the same page (which I understand, is a singleton) where each user has a
different value for a single persistent property (@Persist)
As far as I debbuged, I saw a PropertyConduit in the middle, I suppose it
is
Thank you for the reply. I've looked at the first one extensively, and
stolen . . . . er, borrowed . . . . code from it.
I think the second one may be the magic I'm looking for, though. I'll try
to implement something like it in my environment today.
Thanks again. I'll let you know how it goes
Hi,
Just follow the sample described here :
http://tapestry5-jquery.com/components/docsdatatables (see snippets in
"Example with Ajax Mode" tab).
You don't need to provide your own /datatableModel /nor the /hitThisMethod/
method
For the dataSource, you can take your inspiration from the jumpst
hi,
i have a problem to build following example page.
i have 3 select lists, which contains "COUNTRY", "CAR-BRAND", "CAR-MODEL".
With AJAX i want to build a kind of dynamic select.
* user selects "COUNTRY" - in the select list "CAR-BRAND" are some car brand
loaded.
* user selects "CAR-BRAND" - in
18 matches
Mail list logo