<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: I can't get parameter from my PUT REST request in Webengine in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/i-can-t-get-parameter-from-my-put-rest-request-in-webengine/m-p/320844#M7845</link>
    <description>&lt;P&gt;I create a JIRA ticket with the answer on it:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://jira.nuxeo.com/browse/NXP-8778" target="test_blank"&gt;https://jira.nuxeo.com/browse/NXP-8778&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this will help a guy like me disturbed a time.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Feb 2012 12:51:27 GMT</pubDate>
    <dc:creator>Benjamin_Jalon1</dc:creator>
    <dc:date>2012-02-02T12:51:27Z</dc:date>
    <item>
      <title>I can't get parameter from my PUT REST request in Webengine</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/i-can-t-get-parameter-from-my-put-rest-request-in-webengine/m-p/320843#M7844</link>
      <description>&lt;P&gt;I create the following form (jquery change it as ajax request and do the put request) :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form action="/nuxeo/site/jersey-breaker/QueryFromJersey" method="put"&amp;gt;
      Value: &amp;lt;input type="text" name="value" /&amp;gt;&amp;lt;br /&amp;gt;
      &amp;lt;input type="submit" value="Submit" /&amp;gt;
    &amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And I try to get my parameters with JAXRS:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;@PUT
    public Object doPut(@QueryParam("value") String value) {
        return getView("result").arg("value", value);
    }
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;@PUT
    public Object doPut() {
        String value = (String) ctx.getRequest().getParameter("value");        
        return getView("result").arg("value", value);
    }
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I have value returned as null !!!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2012 12:49:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/i-can-t-get-parameter-from-my-put-rest-request-in-webengine/m-p/320843#M7844</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-02-02T12:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: I can't get parameter from my PUT REST request in Webengine</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/i-can-t-get-parameter-from-my-put-rest-request-in-webengine/m-p/320844#M7845</link>
      <description>&lt;P&gt;I create a JIRA ticket with the answer on it:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://jira.nuxeo.com/browse/NXP-8778" target="test_blank"&gt;https://jira.nuxeo.com/browse/NXP-8778&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this will help a guy like me disturbed a time.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2012 12:51:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/i-can-t-get-parameter-from-my-put-rest-request-in-webengine/m-p/320844#M7845</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-02-02T12:51:27Z</dc:date>
    </item>
  </channel>
</rss>

