Perhaps the code can still be in the form and the form can have
knowledge of the subform's defaultCommand so the form needs only to
determine if the component is in a subform or just in the form?

On Tue, Mar 4, 2008 at 5:35 AM, Martin Marinschek
<[EMAIL PROTECTED]> wrote:
> Hi Matthias,
>
>  it would certainly make sense, but the way the defaultCommand
>  currently works, it exchanges the onkeypress-handler of the form. In
>  the case of subforms, there is no HTML-element for which the
>  default-command can be registered.
>
>  regards,
>
>  Martin
>
>
>
>  On 3/3/08, Mathias Walter <[EMAIL PROTECTED]> wrote:
>  > Hi,
>  >
>  > does it make sense to have a defaultCommand attribute on a tr:subform?
>  >
>  > For the subforms, I'm using PPR only.
>  >
>  > --
>  > Kind regards,
>  > Mathias
>  >
>  >
>
>
>  --
>
>  http://www.irian.at
>
>  Your JSF powerhouse -
>  JSF Consulting, Development and
>  Courses in English and German
>
>  Professional Support for Apache MyFaces
>

Reply via email to