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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T06:39:13+00:00 2026-06-02T06:39:13+00:00

after updating to Tapestry 5.3.2, my @ActivationRequestParameter does not work anymore .. having a

  • 0

after updating to Tapestry 5.3.2, my @ActivationRequestParameter does not work anymore ..

having a form like this

<t:zone t:id="formZone" id="formZone" t:update="show">
    <form t:id="ajaxForm" t:type="form" t:zone="formZone" style="border: 2px solid #eee; padding: 15px">

        <input type="submit" id="sub" type="submit" value="Accept"/><br/><br/>

        <t:errors/>

        ${form}

    </form>
</t:zone>

trying to catch the input’s id like this

@ActivationRequestParameter("t:submit")
private String submitter;

void onSuccess() {
    logger.debug("onSuccess ," +submitter);

    if (request.isXHR()) {
        ajaxResponseRenderer.addRender(formZone);
    }
}

gives me the error

org.apache.tapestry5.runtime.ComponentEventException
Input string '["sub","sub"]' is not valid; the character '[' at position 1 is not valid.

org.apache.tapestry5.ioc.internal.OperationException
Input string '["sub","sub"]' is not valid; the character '[' at position 1 is not valid.

java.lang.IllegalArgumentException
Input string '["sub","sub"]' is not valid; the character '[' at position 1 is not valid.

Filter stack frames Stack trace

    org.apache.tapestry5.internal.services.URLEncoderImpl.decode(URLEncoderImpl.java:144)
    org.apache.tapestry5.internal.transform.ActivationRequestParameterWorker$2.handleEvent(ActivationRequestParameterWorker.java:128)
    org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl$TransformationSupportImpl$1$1.invoke(ComponentInstantiatorSourceImpl.java:443)

Desired Behavoir

actually my goal is to be able to get submit-inputs dynamically in the form via

<t:outputraw value="buttonHtml"/> 

like

public Object getButtonHtml(){

    ContentType contentType = new ContentType("text/plain");//responseRenderer.findContentType(this);
    MarkupWriter writer = factory.newPartialMarkupWriter(contentType);


    if(isFavorite){
        writer.element("input").attribute("type", "submit").attribute("class", "sButton")
        .attribute("id", ACTION_REMOVE).attribute("value", messages.get("button_removeFavorite"));
        writer.end();
    } else {
        writer.element("input").attribute("type", "submit").attribute("class", "sButton")
        .attribute("id", ACTION_ADD).attribute("value", messages.get("button_addFavorite"));
        writer.end();
    }


    return writer.toString();
}

any hints are warmly welcome 😀

  • 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-02T06:39:14+00:00Added an answer on June 2, 2026 at 6:39 am

    using the

    @Inject
    private Request request;
    ..request.getParameter("t:submit");
    

    did the trick for me

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

Sidebar

Related Questions

after updating to R 2.15, the alpha channel in ggplot does not seem to
This error happened after updating to latest may 2009 CTP. Sometimes I do not
After updating to WHM/cPanel 11.30.0, PHPMailer mails are now being rejected by exim. This
I came across this after updating my SDK tools from revision 15 to 17,
I have a remote form for updating one of my objects. However, after updating,
I am having troubles after updating to Xcode 4.2. Before I used the following
I have received this error after updating to Windows 7 64-bit and then running
After updating Ubuntu 10.4, I'm not able to build any projects with errno.h used
Getting this error after updating OmniAuth gem to 1.1: Started GET /users/auth/facebook for 127.0.0.1
i failed to update views of an ActivityList after updating SimpleAdapter object that holds

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.