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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:16:32+00:00 2026-05-25T13:16:32+00:00

I’ve been trying to do this for some time now but nothing worked. I

  • 0

I’ve been trying to do this for some time now but nothing worked. I searched through this list and I still can’t figure it out !!

Here is my case, I draw a table using dimensions provided in the page activation context. So I can’t predict how many rows or columns I may have.
Each header in the columns have a select field and so does each row at it’s left most cell.
Each select field should update the whole row or column, depending on which select field had it’s value changed.

Here is a portion of my page’s tml file to elaborate more. The “???” are just to not that I need the select to update zones but I just don’t know what to put here !

<t:form>
    <div style="overflow: auto;">
        <table class="contentpane skyTable" width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
            <tr>
                <td bgcolor="lightgray"/>
                <td t:type="loop" t:source="1 .. width" t:value="widthIndex">
                    ${widthIndex} - <t:select t:id="toNode" model="toProbesModel" zone="???"/>
                </td>
            </tr>
            <tr t:type="loop" t:source="1 .. height" t:value="heightIndex">
                <td>${heightIndex} - <t:select t:id="fromNode" model="fromProbesModel" zone="???"/></td>
                <t:loop t:source="1 .. width" t:value="widthIndex">
                    <td row="${heightIndex}" col="${widthIndex}" from="" to="" style="background-color: #BDBDBD;">
                        <t:zone id="${widthIndex}-${heightIndex}">
                            N/A
                        </t:zone>
                    </td>
                </t:loop>
            </tr>
        </table>
    </div>
</t:form>

The whole idea is to add more info to the XHR request, this will most probably aid to fix my problem.

If this is kinda not possible at the moment. May be someone can help me to request fragments of pages to load in these using prototype ajax calls rather that using tapestry’s capabilities although I’d hate that !! I wanna be good using tapestry 🙂

Also I need to modify the cells being updated “style” attribute to add an image as it’s background and remote that attribute when a cell is fully updated. Just to show a loader gif.

In addition, Assuming a column will be updated due to a select value is changed, each cell in this column should have a specific attribute in it, changed to the new value of the select field. And the same story with rows. Each cell about to update in a row, needs to have a specific attribute in it to be changed to the value of the select field. These attribute will be within the “td” element.

To summer this up, I need to collect some parameters from the page at the client side and add the to the zone’ activation context which is the same as the page’s, but I can detect if it’s an XHR request from there.

I already have this working using servlets but I’d LOVE to use tapestry instead 🙂

Thanks a lot.

  • 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-25T13:16:32+00:00Added an answer on May 25, 2026 at 1:16 pm

    The zone you specify should just be any zone that exists. Which one does not really matter as you will need to specify server side in your event method which zone’s to update with what content using the MultiZoneUpdater. Have a look at this example on how.

    On a different note, if you create a table header, you might want to use the THEAD, TH and TBODY tags in stead of using a regulair old TR TD combo.

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

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
Does anyone know how can I replace this 2 symbol below from the string
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am trying to loop through a bunch of documents I have to put
I have some data like this: 1 2 3 4 5 9 2 6
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and

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.