Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 39295 invoked from network); 9 Dec 2005 19:53:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Dec 2005 19:53:35 -0000 Received: (qmail 3285 invoked by uid 500); 9 Dec 2005 19:53:34 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 3230 invoked by uid 500); 9 Dec 2005 19:53:33 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 3217 invoked by uid 99); 9 Dec 2005 19:53:33 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2005 11:53:31 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 9318F18C for ; Fri, 9 Dec 2005 20:53:10 +0100 (CET) Message-ID: <950090441.1134157990503.JavaMail.jira@ajax.apache.org> Date: Fri, 9 Dec 2005 20:53:10 +0100 (CET) From: "Olexandr Zakordonskyy (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (MYFACES-924) REST Support In-Reply-To: <616112168.1134140648348.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/MYFACES-924?page=comments#action_12359934 ] Olexandr Zakordonskyy commented on MYFACES-924: ----------------------------------------------- Partly - yes, but mostly no, because I have to create new url while rendering. For example: > REST Support > ------------ > > Key: MYFACES-924 > URL: http://issues.apache.org/jira/browse/MYFACES-924 > Project: MyFaces > Type: Improvement > Components: Tobago > Reporter: Olexandr Zakordonskyy > > On the action controls we need submitURL attriute. > This url means the URL where the request should be send. > You may add new function: > function submitActionWithURL(formId, actionId, actionURL) { > setAction(formId, actionId); > var form = document.getElementById(formId); > if (form) { > form.action = actionURL; > form.submit(); > } > } > First 2 parameters will be as in submitAction functions. > actionURL - the url where to send request to execute action. > This function may be rendered if actionURL is not null instead of submitAction. > We need this functionality to support REST-style navigation. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira