You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Piyush Hari (JIRA)" <ad...@incubator.apache.org> on 2006/09/17 23:31:23 UTC

[jira] Updated: (ADFFACES-178) Fix 'panelTabbed' component for PDAs

     [ http://issues.apache.org/jira/browse/ADFFACES-178?page=all ]

Piyush Hari updated ADFFACES-178:
---------------------------------

    Attachment: patch_sept16_06_40PM.patch

panelTabbed on PDA would not submit the form on being clicked. This was because formName was passed in as 'null' in the JS _submitForm() method which in turn was because for PDA getSubmitformName() method is called  that checks to see if formSubmitted attribute is set to true. If its set to false it returns null else it returns getParentFormName. Since formSubmitted attribute seems to be deprecated, this is null for a panelTabbed component. Therefore , the returned value for formName is 'null'
Calling getParentFormName instead of calling getSubmitFormName solves the problem.

> Fix 'panelTabbed' component for PDAs
> ------------------------------------
>
>                 Key: ADFFACES-178
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-178
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>         Environment: PDA
>            Reporter: Piyush Hari
>            Priority: Minor
>         Attachments: patch_sept16_06_40PM.patch
>
>
> The panelTabbed control can be used to display a group of contents that
> belongs to a showDetailItem that is shown. Tab bar(s) with tabs representing
> the showDetailItem children is displayed. The tab for the showDetailItem
> that is selected to be shown is highlighted and contents from the selected
> showDetailItem is displayed. If none of the showDetailItem children are
> selected, the first showDetailItem that is enabled is considered to be
> selected.
> This component is currently not supported on PDAs but works fine for desktop
> applications. Clicking the Tab does not do anything.
> Thus, I propose to fix it.

-- 
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