I don't think that grid emits "prepare" events (as far as i read its
javadocs). Isn't the "prepare" event related to forms?
--
Chris
On Sun, Nov 4, 2012 at 5:55 PM, membersound wrote:
> Hi,
>
> can I specify a onPrepareFromGrid() method somehow?
>
> I tried
>
> onPrepareFromMygrid() {
>sys
Sorry, BasePage is our internal class, the root class for all our pages. I
assumed you'd replace it with something similar of your own. It could be
only an interface. If you don't have such a thing, don't add a cast at
all... componentResources.getPage() returns a Component and that should be
g
What in this case should represent BasePage? When I put Page instead
BasePage, it gives me following error:
Render queue error in SetupRender[AareEuroFalzu668:listaare.pagedloop]:
ro.aare.pages.AareEuroFalzu668 cannot be cast to
org.apache.tapestry5.internal.structure.Page
@Thiago, could you giv
Hi,
can I specify a onPrepareFromGrid() method somehow?
I tried
onPrepareFromMygrid() {
sysout("never gets called");
}
Can't I assign a onPrepare method only to a specific grid?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/onPrepare-from-grid-tp5717639.html
Sen
Ok even though I provide an BeanModel now, still having issues with this:
On one page, I display a t:grid list of Users, and if I click on one of the
users I display an additional t:grid below. I make use of 2 different
BeanModels here which works fine now.
BUT when I come from another page by a
Ok, but as I already have another BeanModel for another entity within the
same page, it seems as if I cannot create additional beanmodels like:
@Inject
@Property
private BeanModel userModel;
@Inject
@Property
private BeanModel orderModel;
void setupRender() {
If you do not supply a GridDataModel, the Grid component generates one from
the first object in its source. I believe this is documented in its
JavaDoc..
On Sunday, November 4, 2012, membersound wrote:
> Can a list for a t:grid contain several implementations of an object? I
> just
> want to make
Can a list for a t:grid contain several implementations of an object? I just
want to make sure the following is in general possible?
class Fruit;
class Apple extends Fruit
class Banana extends Fruit
class Page {
List fruits;
Foo fruit;
}
Result atm:
Render queue error in Begin
Done
https://issues.apache.org/jira/browse/TAP5-2025
Please vote the bug
On Sat, Nov 3, 2012 at 7:38 PM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Sat, 03 Nov 2012 12:47:51 -0200, Dimitris Zenios <
> dimitris.zen...@gmail.com> wrote:
>
> I managed to fix it by overriding