ICEpdf
  1. ICEpdf
  2. PDF-908

Form Submit and reset support

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.2 beta1
    • Fix Version/s: 6.0
    • Component/s: Forms, Viewer RI
    • Labels:
      None
    • Environment:
      PRO

      Description

      Form support is coming along quite well for individual widget support. However there are some special consideration around the submit and clear action associated with some button annotations.

      Reset should reset the form values to their default values. And the submit should post the form values to the specified url in the uri action. Still need to think about the API a bit a but it makes sense for it to go through the Annotation callback interface and leave final control with the RI.

        Activity

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 5.2 [ 10970 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #45948 Wed Sep 09 09:41:42 MDT 2015 patrick.corless PDF-908 addition of support for reset and some named actions. Numerous bug fixes for forms in general.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/annotations/ButtonWidgetAnnotation.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/acroform/InteractiveForm.java
        Commit graph ADD /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/actions/JavaScriptAction.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/acroform/FieldDictionaryFactory.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/actions/Action.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/AnnotationCallback.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/annotations/ChoiceWidgetAnnotation.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/annotations/TextWidgetAnnotation.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/acroform/AdditionalActionsDictionary.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/MyAnnotationCallback.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/acroform/ChoiceFieldDictionary.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/actions/SubmitFormAction.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/acroform/FieldDictionary.java
        Commit graph ADD /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/actions/NamedAction.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/actions/FormAction.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/actions/ResetFormAction.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/annotations/Annotation.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/Utils.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/annotations/AbstractAnnotationComponent.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/annotations/WidgetAnnotationComponent.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #45949 Wed Sep 09 10:07:21 MDT 2015 patrick.corless PDF-908 removed jdk 1.6 specific api call.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/actions/JavaScriptAction.java
        Hide
        Patrick Corless added a comment -

        Reset functionality is more or less complete and is working well for our test documents. On to submit support.

        Show
        Patrick Corless added a comment - Reset functionality is more or less complete and is working well for our test documents. On to submit support.
        Hide
        Patrick Corless added a comment -

        Also added support for the following named actions: NextPage, PrevPage, FirstPage, LastPage, Print and SaveAs.

        Show
        Patrick Corless added a comment - Also added support for the following named actions: NextPage, PrevPage, FirstPage, LastPage, Print and SaveAs.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #45977 Tue Sep 15 13:42:02 MDT 2015 patrick.corless PDF-908 addition of basic html post/get form support for submit action. Still quite a bit of work to do once we get more examples.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/actions/SubmitFormAction.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/acroform/InteractiveForm.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/actions/JavaScriptAction.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/annotations/AbstractWidgetAnnotation.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/annotations/WidgetAnnotation.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/actions/ResetFormAction.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/actions/FormAction.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/MyAnnotationCallback.java
        Hide
        Patrick Corless added a comment -

        Marking as fixed. There are still some code paths to fill out but we'll have to wait for some examples to come in via support.

        Show
        Patrick Corless added a comment - Marking as fixed. There are still some code paths to fill out but we'll have to wait for some examples to come in via support.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Patrick Corless added a comment -

        Marking as closed

        Show
        Patrick Corless added a comment - Marking as closed
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: