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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T07:01:20+00:00 2026-05-14T07:01:20+00:00

My form has a custom element like below, created using custom ajax: <select jwcid=testtest

  • 0

My form has a custom element like below, created using custom ajax:

<select jwcid="testtest <at> Any">
<option value="x">California -- CA</option>
<option value="y">Colorado -- CO</option>
<option value="z">Connecticut -- CN</option>
</select>

After the form is submitted, how do I get the value of this custom html element?

cycle.getPage().getComponents().get("testtest") ?

  • 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-14T07:01:20+00:00Added an answer on May 14, 2026 at 7:01 am

    If I understand you correctly, you have a form element generated not by Tapestry, but by something else.

    First of all, jwcid has no place in your HTML code, it’s only used in Tapestry component templates. Second, the select element must have a name attribute or else your browser won’t submit it at all:

    <select name="name-of-element">
    ...
    </select>
    

    To get the submitted value on the server side, use cycle.getParameter("name-of-element") in your page/component class.

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

Sidebar

Related Questions

So I've created myself a custom form element which has a custom view helper.
I've got a strange problem. I created a custom form element. I created it
I have a javascript that has custom indexes, I created them like so: var
I'd like to detect when a new form has been created. Now I use
I am making a custom form object in Django which has an overrided __init__
If a form has same tag repeatedly, how to get its value in JavaScript?
I'm writing a custom form UI and currently building a select box replacement. The
I'm using the jqTransform plugin to style my form elements, which has led to
If I have a form element that has multiple validators attached to it (3
Using Visual Studio 2008, I need to create a custom web form that when

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.