Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 71864 invoked from network); 7 Jan 2011 23:14:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jan 2011 23:14:12 -0000 Received: (qmail 63580 invoked by uid 500); 7 Jan 2011 23:14:11 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 63547 invoked by uid 500); 7 Jan 2011 23:14:11 -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 63540 invoked by uid 99); 7 Jan 2011 23:14:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 23:14:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 23:14:09 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p07NDmIg024019 for ; Fri, 7 Jan 2011 23:13:48 GMT Message-ID: <27294128.223011294442028144.JavaMail.jira@thor> Date: Fri, 7 Jan 2011 18:13:48 -0500 (EST) From: "Jakob Korherr (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (MYFACES-3012) Allow f:param for In-Reply-To: <155717.212781294412626510.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MYFACES-3012?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12= 979018#action_12979018 ]=20 Jakob Korherr commented on MYFACES-3012: ---------------------------------------- I am not sure if this really =C2=BBshould=C2=AB work. At least I could not = find any documentation about it in the spec. IMO it is clear that this should work for UICommand components, because f:p= aram is associated with the command that this component triggers. But I don= 't know if this should be true for input components also, because on a non-= ajax JSF request this is also not supported by input components. However, looking at the javascript spec of jsf.ajax.request(source, event, = options) I found the following: options The set of available options that can be sent as request parameters to = control client and/or server side request processing. Acceptable name/value= pair options are: name =09value execute =09space seperated list of client identifiers render =09space seperated list of client identifiers onevent =09function to callback for event onerror =09function to callback for error params =09object containing parameters to include in the request The options argument is optional. --> you are able to specify custom params here, so why shouldn't it work vi= a the JSF tags f:param + f:ajax? Thus IMO we should ask the expert group about the expected behavior before = committing the patch. However, I think the behavior you're describing is NO= T expected in JSF 2.0 and 2.1, but it might be a cool feature for JSF 2.2. Furthermore it could support something like this: I'll write a mail to jsr-314-open about this! > Allow f:param for > ---------------------------------------- > > Key: MYFACES-3012 > URL: https://issues.apache.org/jira/browse/MYFACES-3012 > Project: MyFaces Core > Issue Type: Improvement > Components: JSR-314 > Affects Versions: 2.0.4-SNAPSHOT > Environment: myfaces trunk, shared svn. rev 1051469 > Reporter: Martin Ko=C4=8D=C3=AD > Priority: Minor > Attachments: MYFACES-3012.patch > > > I don't know what spec says but following should work: > > =20 > > > expected result is paramName =3D paramValue pair in request. > For h:command it works already. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.