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

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: