Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8507409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T02:51:48+00:00 2026-06-11T02:51:48+00:00

Continuing tutorial I have came across an error. previous problem seems to be fixed

  • 0

Continuing tutorial I have came across an error.
previous problem seems to be fixed.

tutorial says:
To make use of the created CelebritySource, add the following method to the ShowAll page class:

public GridDataSource getCelebritySource()
{
return new CelebritySource(dataSource);
}

Then change the source parameter of the Grid component in ShowAll.tml template:

<t:grid t:source="celebritySource" rowsPerPage="5"
row="celebrity" t:model="model">

Run the application. Log in to view the ShowAll page, and as soon as the table with celebrities is displayed, you should see the following output:

Preparing selection.
Index from 0 to 4
Property name is: null
Sorting order ascending: true
Getting value for row 0
Getting value for row 1
Getting value for row 2
Getting value for row 3
Getting value for row 4

page has error:

An unexpected application exception has occurred.

Exception assembling root component of page ShowAll: Could not convert
‘model’ into a component parameter binding: Exception generating
conduit for expression ‘model’: Class
org.apache.tapestry.pages.ShowAll does not contain a property (or
public field) named ‘model’.

After deleteing t:model=”model” from t:grid

page has error:

An unexpected application exception has occurred.

Render queue error in SetupRender[ShowAll:grid]: Index: 0

Anyone out there had this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T02:51:50+00:00Added an answer on June 11, 2026 at 2:51 am

    Seems the example was missing a bit of code. Try adding the following to the page ShowAll.java:

    @Inject
    private BeanModelSource beanModelSource;
    
    @Inject
    private Messages messages;
    
    public BeanModel<Celebrity> getModel() {
      return beanModelSource.createDisplayModel(Celebrity.class, messages);
    }
    

    From the T5 Grid Component Ref:

    The model used to identify the properties to be presented and the order of presentation.

    The above should create you a default BeanModel, based on public methods and properties.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A tutorial I have on Regex in python explains how to use the re
Continuing adopting my code to work with IE... I have a hidden div containing
Continuing on previous questions ( here , and here ), I implemented a basic
I am facing a continuing problem distinguishing delegation, composition and aggregation from each other,
I am continuing to enslave the MVC 2 thing: Areas... Now I have two
I am continuing on from a previous question relating to loading instances of plugins
I am following a tutorial for building a very simple rails app. I have
So I was able to make it work, nothing difficult however I have a
[Edit: The solution to this problem is in the routes.rb file. I have resource
I have a Facebook game titled Rails Across Europe. It is written in PHP/MySQL/Facebook

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.