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

  • Home
  • SEARCH
  • 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 6190187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:32:32+00:00 2026-05-24T02:32:32+00:00

I am facing one problem in Tapestry. Problem – I am using a grid

  • 0

I am facing one problem in Tapestry.

Problem – I am using a grid to display the data. with each row i am displaying a Plus(+) button. when we click on the Plus(+) button then i’ll display the inner rows for that Row. I achieved this statically. Statically means, when Grid load the data at the same time i fetch the data for inner rows and store it into the Hidden fields. when i click on the Plus(+) button then i’ll call a JS function which use the Hidden Data field and draw the inner rows.

Now there is a twist. I have to do the same thing dynamically. It means on the click of Plus(+) button i have to fetch the data for hidden rows and then call the JS function to draw the inner rows. To achieve this i have used Zone & ActionLink to get the inner rows data dynamically. Zone contain the Hidden fields which contain the data for the Inner rows. when i click on the ActionLink, Zone get refreshed and fetch the data but after that i am not able to call the JS function.

Hope you guys understood the Problem. Need your help on urgent basis.

Regards,
Mahendra

  • 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-05-24T02:32:32+00:00Added an answer on May 24, 2026 at 2:32 am

    Problem is that you are not able to call the JS function on Zone refresh. so there is one solution.

    A Zone may be initially visible or invisible. When a Zone is updated,
    it is made visible if not currently so. This is accomplished via a
    function on the Tapestry.ElementEffect client-side object. By default,
    the show() function is used for this purpose. If you want Tapestry to
    call a different Tapestry.ElementEffect function when updates occur,
    specify its name with the zone’s show parameter.

    If a Zone is already visible, then a different effect function is used
    to highlight the change. By default, the highlight() function is
    called, which performs a yellow fade to highlight that the content of
    the Zone has changed. Alternatively, you can specify a different
    effect function with the Zone’s update parameter:
    To have Tapestry update a zone without the usual yellow highlight
    effect, just specify “show” for the update parameter:

    <t:zone t:id="myZone" t:update="show">
    

    You may also define and use your own JavaScript effect function (with
    lower-case names), like this:

        Tapestry.ElementEffect.myeffectname = function(element){
     YourJavascriptCodeGoesHere; };
    

    So in your case you can use like below code

    <t:zone t:id="zoneId" t:update="yourfunction" >
    // contain the your code                           
    </t:zone>
    

    so when Zone get refresh it will call yourfunction.

    for more info Zone Effect Functions

    Enjoy.

    Regards,
    Mahendra

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

Sidebar

Related Questions

We are facing one problem in managing test data (xmls which is used to
i am using toplink as ORM tool, i am facing one peculiar problem. I
i am using hibernate as ORM tool, i am facing one problem, i need
I start using WPF with PRISM and MVVM. One problem I am facing is
I am using C# language. I am facing one problem, please see the details
I'm facing a problem when using tapestry 5.2.0 : using multiple times a component
i am facing one problem.i have a class named ReportingService and it should be
We are facing one problem with facebook. we integrated FB in our web application,
I am working on one application, i am facing one problem on Internet Explorer
I am facing problem while aligning two text, one in center and other text

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.