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 8868891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:21:44+00:00 2026-06-14T17:21:44+00:00

I have a property object called ixlTest which has a map . This map

  • 0

I have a property object called ixlTest which has a map. This map holds another maps which I need to bind the latter’s objects in my page’s template file. Pretty complex object graph.

I’m basically trying to do this:

ixlTest.parameterGroups{'testOptions'}{'serverIp'}.value

ixlTest is a property object in my page
parameterGroups is a member variable in ixlTest. This variable is a map.
parameterGroups has an entry with the key testOptions, which has another map with the key serverIp which is an object that has a variable called value that I need to bind within my template file.

I need to use tapestry’s native support for that and no other libraries and I also need not to use methods to abstract the operation as I’ve been through that road and it was pretty inefficient.

Thank you.

  • 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-14T17:21:45+00:00Added an answer on June 14, 2026 at 5:21 pm

    There are times when it is just better to put this in Java (or Groovy, or Scala) code on the page and reference that from the template.

    Tapestry’s property expression syntax doesn’t have an operator for de-referencing maps; but you can invoke the get() method … but there’s limits to Tapestry ability to figure out generics, which means you may get errors about missing properties.

    I would code this as:

    value="testValue"
    

    in the template, and:

    public String getTextValue() {
        return ixlTest.getParameterGroups().get("testOptions").get("serverId").getValue(); 
    }
    

    in the class.

    Since you can change Java code on the fly, this is often better than putting complex expressions into the template; refactoring things on the Java side can break complex expressions inside template, where the IDE is not aware of them.

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

Sidebar

Related Questions

I have an object with a property called name. This object has a sub
I have a hibernate object called User which has a many-to-many relationship with another
Say I have an object called Person which has the property socialSecurityNumber , and
Say I have an object called MyClass, which has a property defined as @property
I have things object called - bombObject, which has a float property called 'blastRadius'.
I have a class with a Property called 'Value' which is of type Object.
I have UIButton instance called card. I have an object called Representer, which has
I have an object called Result<T> that has a constructor which accepts an argument
I have a property called IsSecureConnection that is part of my object's interface. This
I have a type of object called Bin , which has a hashtable field

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.