Actions and Forms Struts

Anybody help me about as know how to developer using Actions and Form with JDeveloper.
Thank´s
Carlos Magno
[email protected]

What specifically are you looking for?
If you are looking for a basic Struts Form that calls a Struts Action check out the JDeveloper Reviewer Guide
http://otn.oracle.com/products/jdev/collateral/papers/10g/reviewer/reviewerguide.html
Look at the Struts sample of a login form.

Similar Messages

  • Actions and form beans

    1. i have a jsp page that maps to a form bean
    2. the form bean extends action form
    3. i have 4 drop downs in my form
    4. on form load two drop downs are populated (no issues so far)
    5. on changing the selection in one of the forms i have to go back to the database fetch the values for the next drop down
    6. i have written a separate action class for this.
    7. This action class makes my input (what ever done on the form so far) as null and does not even retain the value of the drop down.
    8. An alternate method i tried out was to just call the form submit so that the same action class is called multiple times.
    9. however this fires the validator written in the form bean.
    10. i need to be able to fire the validator only after my form has been filled.
    11. Any ideas

    you can specify the submit 'property' for example you can have different submit values in different names
    than you can use validwher or requiredif validation case depending on the submit button checked.

  • JSF Actions and ActionListeners with Tiles and forms

    I�m having a problem trying to use the Tiles functionality in Struts 1.1 with JSF and was wondering if anyone could help me.
    I have defined a very simple header, menu, content Tile that doesn�t involve nesting of tiles (ExampleTile_content1Level.jsp).
    I have 3 JSP pages, the first testHarness.jsp is NOT built using Tiles and is just used to load some test data into a session scoped bean using an actionListener and then forward to a Tile generated page (ExampleTile3.jsp) using a hard-coded action �applicationSummary� when a commandLink is pressed. This works fine for both the action and actionListener.
    ExampleTile3.jsp contains another commandLink that is meant to forward to another tile ExampleTile2.jsp. This also works until I try to add the <h:form> � </h:form> tag around the outside of the <h:panelGrid> tags in ExampleContent1.jsp when the action and actionListener then fail to fire and I get an �Error on Page� message in Explorer the detail of which says �Error �com_sun_rave_web_ui_appbase_renderer_CommandLinkRendererer� is null or not an object�.
    However I need a form so that I can bind UI controls to data from the bean stored in the session scope. This is only a problem when I use Tiles to define the pages. Does anyone know what I am doing wrong?
    Any help would be much appreciated.
    Tiles.xml
       <definition name="example3" path="/pages/exampleTile_content1Level.jsp" >
              <put name="headerClass" value="someStyle"/>
              <put name="menuClass" value="someStyle"/>
              <put name="contentClass" value="someStyle"/>
              <put name="header-title" value="/pages/exampleHeader.jsp" />
              <put name="menu" value="/pages/exampleMenu.jsp" />
              <put name="content" value="/pages/exampleContent1.jsp" />
       </definition>
       <definition name="example2" path="/pages/exampleTile_content1Level.jsp" >
              <put name="headerClass" value="someStyle"/>
              <put name="menuClass" value="someStyle"/>
              <put name="contentClass" value="someStyle"/>
              <put name="header" value="/pages/exampleHeader.jsp" />
              <put name="menu" value="/pages/exampleHeader.jsp" />
              <put name="content" value="/pages/exampleContent2.jsp" />
       </definition>ExampleTile3.jsp
    <f:view>
         <h:form>
              <tiles:insert definition="example3" flush="false" />
         </h:form>
    </f:view> ExampleTile2.jsp
    <f:view>
         <h:form>
              <tiles:insert definition="example2" flush="false" />
         </h:form>
    </f:view> Faces-config.xml
    <navigation-rule>
        <from-view-id>/pages/testHarness.jsp</from-view-id>
           <navigation-case>
                <from-outcome>applicationSummary</from-outcome>
                <to-view-id>/pages/exampleTile3.jsp</to-view-id>
              <redirect/>
           </navigation-case>
    </navigation-rule>
    <navigation-rule>
        <from-view-id>/pages/exampleTile3.jsp</from-view-id>
           <navigation-case>
                <from-outcome>nextPage</from-outcome>
                <to-view-id>/pages/exampleTile2.jsp</to-view-id>
                <redirect/>
           </navigation-case>
    </navigation-rule> ExampleTile_content1Level.jsp
    <tiles:importAttribute scope="request"/>
    <h:panelGrid columns="1" >
         <f:subview id="header-title">
              <tiles:insert name="header-title" flush="false" />
         </f:subview>
         <f:subview id="menu">
              <tiles:insert name="menu" flush="false" />
         </f:subview>
         <f:subview id="content">
              <tiles:insert name="content" flush="false" />
         </f:subview>
    </h:panelGrid> ExampleHeader.jsp / ExampleMenu.jsp
    <tiles:importAttribute scope="request"/>
    <h:panelGrid columns="1" columnClasses="someSyle">
         <h:outputFormat value="This is the {0}.">
              <f:param value="Header / Menu as appropriate "/>         
         </h:outputFormat>
    </h:panelGrid> ExampleContent1.jsp
    <tiles:importAttribute scope="request"/>
    <h:form>     <----- Fails with this tag included but works without it.
    <h:panelGrid columns="1" >
              <h:outputFormat value="This is the {0}.">
                   <f:param value="Content on the FIRST page"/>
              </h:outputFormat>
              <h:commandLink action="nextPage" immediate="false">
                   <h:outputText value="Click to go to next page"/>
              </h:commandLink>
    </h:panelGrid>
    </h:form> ExampleContent2.jsp
    <tiles:importAttribute scope="request"/>
    <h:panelGrid columns="1" >
         <h:outputFormat value="This is the {0}.">
              <f:param value="Content on the SECOND page"/>
         </h:outputFormat>
    </h:panelGrid>

    jezzica85 wrote:
    Hi everybody,
    I want to overload a method so it can take either 2 Actions, 2 ActionListeners, or one of each. The issue with this is that I'd have to make 4 overloaded signatures and almost identical methods, like this:
    method( action, action )
    method( action, listener )
    method( listener, action )
    method( listener, listener )
    Well, if you want to support that then you are just going to have to do suffer through it, the only shortcut I can recommend is that your method(action, listener) and method(listener, action) are the same so you only have to implement 1 and just use the other as a entry point to call the one you wish to contain the code.

  • Unable Submit Form Value to Action when running struts-portlet in OracleAS

    Hi,I have develop a portlet using struts & pdk, after that deploy it by OC4J and register the
    provider at Oracle Application Server 10g 10.1.2.2.
    However the formbean value is unable passing to action after clicking submit button,this problem
    doesn't comeout when i run my code as stand alone application.
    here is my application code:
    1. Action Class:
    public class ZoneAction
      extends DispatchAction
      public ActionForward display(ActionMapping mapping, ActionForm form,
                                   HttpServletRequest request,
                                   HttpServletResponse response)
        throws IOException, ServletException
        ZoneHibernate zh = new ZoneHibernate();
        List list = zh.retrieveAllZone();
        ZoneForms zf = new ZoneForms();
        ZoneForm blankForm = new ZoneForm();
        list.add(blankForm);
        zf.setZoneForms(list);
        request.setAttribute("zoneForms", zf);
        return mapping.findForward("success");
    2.Provider.xml:
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
       <session>true</session>
       <passAllUrlParams>true</passAllUrlParams>
       <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
          <id>1</id>
          <name>irmsPortlet</name>
          <title>iRMS Portlet</title>
          <description></description>
          <timeout>40</timeout>
          <showEditToPublic>false</showEditToPublic>
          <hasAbout>false</hasAbout>
          <showEdit>false</showEdit>
          <hasHelp>false</hasHelp>
          <showEditDefault>false</showEditDefault>
          <showDetails>false</showDetails>
          <renderer class="oracle.portal.provider.v2.render.RenderManager">
             <renderContainer>true</renderContainer>
             <renderCustomize>true</renderCustomize>
             <autoRedirect>true</autoRedirect>
             <contentType>text/html</contentType>
             <showPage class="oracle.portal.provider.v2.render.http.StrutsRenderer">
             <defaultAction>/jsp/zone_maintenance.jsp</defaultAction>
             </showPage>
          </renderer>
       </portlet>
    </provider>
    3. Action Mapping in struts-cofig.xml:
      <action-mappings>
        <action path="/ZoneMaintenance"
                type="my.com.irms.action.ZoneAction"
                name="zoneForms"
                scope="request"
                parameter="action"
                input="/jsp/zone_maintenance.jsp">
          <forward name="success" path="/jsp/zone_maintenance.jsp"/>
        </action>
      </action-mappings>
    4.jsp:
    <pdk-html:form action="/ZoneMaintenance.do">
    -div id="action"-<pdk-html:hidden name="zoneForms" property="action"/>-/div-
    <logic:notEmpty name="zoneForms" property="zoneForms">
    <table border="1">
    <thead>
                <tr>
                    <th><bean:message key="zone.zone"/></th>
                    <th><bean:message key="zone.disc"/></th>
               </tr>
    </thead>
    <tbody>
    <logic:iterate id="zone" name="zoneForms" property="zoneForms" indexId="i">
                <tr id="tr${i}">   
                    <td>
                      <pdk-html:hidden name="zoneForms"
                                      property="zoneForms[${i}].rowStatus" value=""/>
                      <pdk-html:hidden name="zoneForms" property="zoneForms[${i}].id"/>
                      <input type="checkbox" onclick="update()">
                    </td>
                    <td><pdk-html:text name="zoneForms"
                                           property="zoneForms[${i}].zone" size="10"       
                                           onchange="rowDataChanged('tb1',${i})"/></td>
                    <td><pdk-html:text name="zoneForms"
                                           property="zoneForms[${i}].disc" size="30" 
                                           onchange="rowDataChanged('tb1',${i})"/></td>
                </tr>
    </logic:iterate>
    </tbody>
    </table>
    <input type="button" value="Submit" onclick="submitForm('save')"/>
    </logic:notEmpty>
    <input type="button" value="Display" onclick="submitForm('display')"/>
    </pdk-html:form>
    5.javascript for submitForm():
      function submitForm(param)
            document.getElementById("action")
           .getElementsByTagName("input")[0].value = param;
            document.forms[0].submit();
    6.web.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app>
      <description>Empty web.xml file for Web Application</description>
      <servlet>
        <servlet-name>action</servlet-name>
        <servlet-class>
              org.apache.struts.action.ActionServlet
        </servlet-class>
        <init-param>
          <param-name>config</param-name>
          <param-value>
               /WEB-INF/struts-config.xml
          </param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet>
        <description>Extended Portal
                     SOAP  Server</description>
        <servlet-name>SOAPServlet</servlet-name>
        <servlet-class>
               oracle.webdb.provider.v2.adapter.SOAPServlet
        </servlet-class>
        <init-param>
          <param-name>resourceServletMapping</param-name>
          <param-value>/pdkresource</param-value>
        </init-param>
      </servlet>
      <servlet>
        <description>Image resource server</description>
        <servlet-name>ResourceServlet</servlet-name>
        <servlet-class>
             oracle.webdb.provider.v2.adapter.ResourceServlet
        </servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>action</servlet-name>
        <url-pattern>*.do</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>SOAPServlet</servlet-name>
        <url-pattern>/providers</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>SOAPServlet</servlet-name>
        <url-pattern>/providers/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>ResourceServlet</servlet-name>
        <url-pattern>/pdkresource/*</url-pattern>
      </servlet-mapping>
      <session-config>
        <session-timeout>35</session-timeout>
      </session-config>
      <mime-mapping>
        <extension>html</extension>
        <mime-type>text/html</mime-type>
      </mime-mapping>
      <mime-mapping>
        <extension>txt</extension>
        <mime-type>text/plain</mime-type>
      </mime-mapping>
    </web-app>
    Can anyone help me? thanks.

    It is probably easier to do with with a standard tag than the <html:button> tag, as it means you can nest the
    <input type="button" name="more" value="more" onclick="setID(<bean:write name="bloodbankList" property="id"/>)"/>or maybe like this:
    <bean:define id="bbId" name="bloodbankList" property="id"/>
    <html:button property="More" value="More" style="color: #00007D; text-transform: uppercase; letter-spacing: 2pt; background-color: #6B719C; border: 2 solid #00007D"   onclick="<%= "setID(" + id + ");" %>" />Cheers,
    evnafets

  • Internal links in portal (CSS, images, and other struts actions)

    Good morning gurus! I have another question regarding Struts Portlets. We have an application that builds a page with an image that comes from the database. The application is composed of two Struts actions. One that's in charge of drawing the page and the other action is in charge of bringing the image from the database. The second action is called from a JSP (img src="/getImage.do"). In portal, once the portlet rendered the JSP it doesn't recongnize the other links inside the JSP (the call to the second action). Also, other links suchs as images, CSS, and others Struts actions are not recognized. How can I access images, links, and CSS from the main application (the actual application).
    Best regards,
    Marcelo Oliva
    Message was edited by:
    molivas08

    Hi Andrew -
    This is a pretty big topic for one thread ... I will try to provide some pointers on where to look for more information.
    1. Need ability for non-html literate authors to update text, images and links on their portion of a shared web page
    In the following whitepaper, see the section: Associated Funtion for Item Display
    http://www.oracle.com/technology/products/ias/portal/pdf/oow_10gr2_1336_fender.pdf
    This will allow you to prompt your non-HTML literate users for the "parts" to display and you worry about the UI.
    2. Need ability to enforce common look and feel on content provided by non-html literate authors.
    Create pages based on Templates. Templates can force the style on users. Again - do not use text items and the RTE for users, you control the display with an Associated Function.
    3. Prefer ability to approve content before it goes live.
    Grant content contributors "Manage with Approval" access
    5. Need advanced search capabilities
    Check out the search section on Portal OTN
    http://www.oracle.com/technology/products/ias/portal/content_management_10gr2.html
    Hope this helps,
    Candace

  • Authorization issue on hire action through HCM Process and Forms

    Hi All,
    We are executing hiring action through HCM form process. The process is using the  HR_PL_ADMINISTRATOR role on ECC which is super admin access to execute the action and HR administrator role on the portal. If we restrict the role with personal area, we do not see the hire process on the portal.
    Could you please let me know if anyone has faced this issue?
    Thanks,
    Gowri

    Thanks for responding back. I have seen the link before.
    We have HR_PL_ADMINISTRATOR_000 role. The role has P_ASRCONT P_ORGIN and P_PERNR object. Object  P_ORGIN needs to be set as
    Authorization level            Read
    Infotype                           *
    Personnel Area                *
    Employee Group              *
    Employee Subgroup         *
    Subtype                           *
    Organizational Key            *
    in order to show the Hire Process in execute hiring link on the Portal. If we put a restriction on personal area, we do not see the Hire process on the execute hiring on the portal.
    Kindly advice.
    Thanks,
    Gowri

  • Struts Actions and events in one jsp?!

    Hello,
    I have a problem with Struts actions and events in a jsp.
    It is a search page and when the user clicks the search button I trigger an event and when the user clicks on a link in the result table (same page) I use an action that opens a new detail jsp. The first search query works well, I get a result, open the detail page, go back (using an action).
    Then I start a new search, but struts tries to open the detail page. While debugging I found out, that struts apparantly has no action or event. Why does it work at first time?
    Any ideas?
    Thanks in advance
    Britta

    Thanks for answer,
    I work with actions AND events. I think that`s the problem. When I go back from detail page to search page I use a custom DataForwardAction class with the following method:
    public void onCancel(DataActionContext ctx)
    DCBindingContainer bc = ctx.getBindingContainer();
    HttpServletRequest request = ctx.getHttpServletRequest();
    WebUtils.setSession(request);
    String ziel = request.getParameter("ziel");
    JUCtrlActionBinding action = (JUCtrlActionBinding) bc.findCtrlBinding("Rollback");
    action.doIt();
    try
    ctx.setActionForward(ziel);
    catch (Exception e)
    ctx.setActionForward("liste_freig");
    Ziel has the correct value ("search") and I think the struts config is also correct:
    <action path="/material" type="view.actions.materialAction" className="oracle.adf.controller.struts.actions.DataActionMapping" parameter="/material.jsp" name="DataForm">
    <set-property property="modelReference" value="generalUIModel"/>
    <forward name="liste_freig" path="/liste_freig.do"/>
    <forward name="liste_angelegt" path="/liste_angelegt.do"/>
    <forward name="list_bewertet" path="/list_bewertet.do"/>
    <forward name="liste_abgelehnt" path="/liste_abgelehnt.do"/>
    <forward name="liste_onhold" path="/liste_onhold.do"/>
    <forward name="search" path="/search.do?action=search"/>
    </action>
    But when I get back from material page to search page (the first time it works). The location pathname is material.do not search.do When start a new search the material page opens, not, as desired, the search page with new results.
    Search Action:
    public class searchAction extends DataForwardAction
    public searchAction()
    protected void prepareModel(DataActionContext ctx) throws Exception
    HttpServletRequest request = ctx.getHttpServletRequest();
    DataActionMapping acmap = ctx.getActionMapping();
    DCBindingContainer bc = ctx.getBindingContainer();
    WebUtils.setSession(request);
    JUCtrlActionBinding action = (JUCtrlActionBinding) bc.findCtrlBinding("delSearchQuery");
    action.doIt();
    String sEvent=null;
    try
    sEvent=request.getParameter("event");
    catch (Exception e)
    sEvent=null;
    if (sEvent==null)
    if (request.getParameter("action") != null)
    if (request.getParameter("action").equals("material"))
    Number mat_no=new Number(request.getParameter("MaterialNumber"));
    Number userId=new Number(WebUtils.getUserId(request));
    bc = ctx.getBindingContainer();
    action = (JUCtrlActionBinding) bc.findCtrlBinding("prepareMaterial");
    ArrayList arrayList= new ArrayList();
    arrayList.add(0,mat_no);
    arrayList.add(1,userId);
    action.setParams(arrayList);
    action.doIt();
    ctx.setActionForward("material");
    if (request.getParameter("action").equals("material_datasheet"))
    ctx.setActionForward("material_datasheet");
    super.prepareModel(ctx);
    public void onSearch(DataActionContext ctx)
    DCBindingContainer bc = ctx.getBindingContainer();
    HttpServletRequest request = ctx.getHttpServletRequest();
    WebUtils.setSession(request);
    ctx.setActionForward("search");
    Struts config:
    <action path="/search" className="oracle.adf.controller.struts.actions.DataActionMapping" type="view.actions.searchAction" name="DataForm" parameter="/search.jsp">
    <set-property property="modelReference" value="searchUIModel"/>
    <forward name="search" path="/search.do?action=search"/>
    <forward name="material" path="/material.do?action=material"/>
    <forward name="material_datasheet" path="/material_datasheet.do?action=material_datasheet"/>
    </action>
    I think it`s a Struts bug. Or is there something I don`t see?

  • HCM Process and Forms Dynamic Actions

    Hi
    We are implementing HCM process and forms and presume that dynamic actions will have to be recreated as rules.
    Can anyone give any guidance in this area as some of our dynamic actions are quite complex.
    Many thanks
    Ian

    Hi,
    For HR forms please follow the following link
    HCM Processes and Forms (www.service.sap.com/erp:  - SAP ERP Human Capital Management -> Workforce Process Management -> HCM Processes and Forms -> Media Library)
    https://websmp205.sap-ag.de/~form/sapnet?_SHORTKEY=00200797470000081848&
    A dynamic action has the following components.
    Infotype Number (INFTY): specifies the infotype for which you want the dynamic action triggered
    Subtype (SUBTY): narrows the focus to a specific subtype
    Field Name (FIELDN): starts your action when a maintenance function is performed on a particular field
    Function (FC): specifies the various maintenance operations to which your dynamic action would respond. They are 02 (change); 04 (create); 06 (create and change); 08 (delete); 10 (change and delete); 12 (create and delete). Dynamic actions are only applicable in maintenance operations, not in display functions.
    Sequence Number (NO): refers to a sequential number.
    Step (A): specifies a particular type of action. No dynamic action is executed if the function character has a value other than one of the following:
                 P: Plausibility checks, which allow you to check certain conditions.          
                 I: Calls an infotype for processing
                 W: Called after the I statement and used to assign values to screen fields while creating or copying another infotype record through the I statement 
                  F: Calls a FORM routine (subroutines in ABAP) during your action. The routine may reside in or out the module pool MPNNNN00.
                 V: Lets you treat collectively a number of fields for which you want to define a common dynamic action
                  M: Sends SAP Office mail
    Variable function part: The variable function part along with the step indicator forms the core part of your action. It specifies the processing details when the dynamic action is triggered. For example: 
    Requirement: When the postal code or the city of an employeeu2019s permanent residence is changed in infotype 0006, an email should be sent to the administrator.
    INFTY    SUBTY    FIELDN    FC          NO.    STEP       VARIABLE FUNCTION
    0006           1             ORT01      06             001           V               PSTLZ            
    0006           1             PSTLZ      06             002           M               M0001
    The V statement on line 001 is used to link the two fields to the M statement. The statements relevant to field PSTLZ are also applicable to the ORT01 field.
    When a record is created or changed in infotype 0006 of permanent address, an email is sent using the feature M0001. Information such as the recipient address, subject, and content of the mail is derived from M0001.
    Warm REgards,
    Kapil

  • I'm confused with the struts.action and those in the actions package-help

    hi all
    looking at the struts framework particularly the org.apache.struts.actions package, i am a bit of confused as to which abstract action class i need to extend in my application. is there any guideline that shows in what scenario i will need to extend which action? how would i ever know the purpose of each one and how and when to extend it?
    and also i am even more confused when i saw org.apache.struts.action.action class. doesn't this one handle all? most tutorials i have seen reference this class. why do we have others in the actions package?
    your help is much appreicated . thanks.

    Simple actions just extend org.apache.struts.action.Action.
    Those actions in the org.apache.struts.actions package are utility Actions that provide you with extra functionality.
    The [url http://struts.apache.org/api/org/apache/struts/actions/package-summary.html]struts api  describes the basics of each one.
    Commoonly used ones that (to me) are of more interest:
    ForwardAction is pretty much just a placeholder that lets you specify a url to forward to when you don't want to write an entire Action.
    Dispatch action (and its siblings LookupDispatchAction, MappingDispatchAction) are most interesting because they let you use the same action for multiple events.
    In effect it is writing multiple "execute" methods in one action. The Dispatch action determines which one to call. It is useful for writing CRUD actions and keeping all that code in one class.
    Hope this helps some,
    evnafets

  • Struts current page action and parent action

    what is the difference if the action for current page and parent page action is the same or not same? when I should use the same action and when I need to use different actions?
    thanks

    For this approach you can use PhaseListener for RESTORE_VIEW phase and in the afterPhase method chech the viewId and navigate to the relevant page.

  • HCM Processes and Forms: Work Item is not opening

    Hi,
    We are implementaing HCM processes and forms using NWBC (EHP7 - HR Renewal 2.0 FP1) and after using configuration of POWL inbox for MSS and HR Admin, We are not able to launch the Work Item.
    1) In MSS Work Book, while launching, we are getting message  -
    Failed to resolve Object Based Navigation target ".MSS_WL.NAVIGATE_FORM_WD". Use transaction PFCG to define this OBN target in a role or contact your system administrator to assign a role with the relevant OBN entries to your user.
    2) For HR Admin, we are getting message - Work Item can only be open using Portal and UWL. and it is displaying back end transaction SWNWIEX.
    Detail configuration steps are shown as below -
    Workflow Task used in configurations -
    1) Entries in IBO_C_WF_TA_P_SC  (Assign Task ID’s to POWL Types)
    2) IBO_C_WF_ACC configuration - (Define Tasks and Actions)
    3) IBO_C_WF_APC configuration (Provide Details of navigation parameters)
    4) IBO_V_WF_TTAC (Assignment of Actions to the Tasks)
    5) IBO_C_WF_TAC (Specify Default Action)
    Error -
    1) MSS -
    2)HR Admin -

    Hi Guru,
    Any input..its urgent!.
    Regards,
    Vijay

  • InDesign Buttons and Forms... Not Working

    Hello Guys,
    I'm using Adobe InDesogn CC 10.1.0.70 x64 Build, the problem is with the check box option from Buttons and Forms, They are, simply, not working... I'm trying to add a check box on my pdf I'm creating in InDesign.. I'm using checkbox from "Sample Buttons and forms".. but nothing is working.. I'm just dragging the Check Box samp and drop it in my canvas, exporting it as PDF with "Hyperlinks" checked.. and Interactive Elemnts with Include Appearance chosen but the check box doesn't having any action!! I don't know what I should do to make this work please help  

    Start by restoring your InDesign preferences:
    Trash, Replace, Reset, or Restore the application Preferences

  • Hidden Buttons and Forms Printing CS6

    I'm not exactly sure how to word this but I have buttons and forms that are printing when they are not supposed to.
    This is my indd file:
    If you can see, there are 3 sections, each identical except for the fact that they have different states. If someone wants Hat 2 section, there is a button that turns on the visibility of 2 combo boxes, a text box, 6 check boxes, some normal buttons (just text and art, but they need to be buttons in order to activated with an action), and toggles the view of another button that can add another hat... kinda hard to explain, but think of it like an online form. If you need more info, clicking the button add another row.
    The issue that I'm having is that I do not want the forms that are not being used to be printed. If I don't toggle their visibility, they should be invisible and not print. This form could have anywhere from 1-20 of the forms being used at different times. They are all set to be hidden until triggered and they do exactly what I want them to and it works perfectly, until I go to print.
    This is my exported pdf:
    One row of info, the button to add a second.
    Here is what it looks like when I go to print this without touching anything:
    As you can see in the preview screen, all of the rows that I have made in the indd file are being shown as set to print. This should not be happening, but I figured maybe it was a glitch so I printed it anyway, and this came out:
    ..... Now you can see my issue. Maybe. Hopefully.
    HOWEVER. If I so modify the document, e.g. clck on the "add hat" button and then remove it, the document prints as it should. The problem is that this document will need to be set up so that the entire page is filled with invisible forms that are just waiting to be activated, but not printed.
    Wow that's a lot of info. Hopefully I was clear. Thanks for reading this all if you're still with me.
    Win7 sp1, CS6, InDesign 8.0.1, 12 gigs ram, x64

    I initially jumped to that same conclusion that it was probably a bug in the forms as they are a new feature, but they are not the only objects that are misbehaving. There are only 3 forms in each of the sections and 14 normal buttons, so how can it be an issue with the forms? If that was the probelm, they would be the only objects that were printing incorrectly, unless there is some attribute that would apply the form's settings to all buttons... but I don't know how that's possible.
    @jeffrey_smith
    I tried exporting it as an idml originally, and just tried again since the file has been modified but it didn't make a diffrence in the print. Also, I just created a new very simple test document with just 4 buttons, one that shows the other 3 and it has the exact problem that my document with all of the forms has. So it can't be a corruption in my file, it has to be a broader issue.

  • Dynamic actions and PA-PD integration a problem

    Are you aware of an update problem with MSS and PA-PD integration?  This information was made available in a presentation to us last year.  Was this issue resolved in mySAP ERP 2004?
    Dynamic actions and PA-PD integration a problem
    Dynamic actions and PA-PD integration are not
    processed on updates made from the web (but in the
    background through a batch or call transaction session)
    That’s why most standard PCRs require HR to process
    the transaction using the SAP GUI in the foreground
    This normally affects changes to infotypes 0000 &
    0001
    Then the next slide states:
    Workaround for dynamic actions
    Review dynamic actions in table T588Z (use SE16 to
    display) and document the infotypes and values that
    trigger dynamic actions
    Incorporate those infotypes into your background
    processing and web forms (if necessary)
    Workaround for PA-PD integration
    Include the integration steps for these infotypes in your
    background processing (just as in conversions)

    Hi John,
    Not sure if it is fixed.. or can be fixed.. we are still in 47  & Use custom code to account for Dynamic Actions.. the PCR processes use the function module HR_MAINTAIN_MASTERDATA to update the infotypes. This function mimics a BDC & hence cannot handle Dynamic Actions... Basically, the issue is not with MSS but it is the way Dynamic Actions work.. to quote SAP  "Dynamic actions are not correctly processed in batch input sessions since in batch input the sequence of the screens needs to be predefined correctly. To be able to process dynamic actions in batch input, the checks of the dynamic actions need to be programmed when creating the batch input session. To avoid errors when programming and running the session, the static actions  only are processed in batch input. Calls of infotypes that are triggered by dynamic actions should be realized by separate Transaction calls.
    Please take a look at OSS Note #386027 for additional info about Dynamic Actions.
    Regards,
    Suresh Datti

  • Forwarding to an action using the struts framework

    hey people,
    in struts we write something like
    <forward name="abc" path="/xyz.do" contextRelative="true"/>
    for an action
    and to forward to that action we use
    return mapping.findForward("abc");
    My problem is that i want to forward to the action xyz.do action without specifying the forward tag in struts config i.e without giving
    <forward name="abc" path="/xyz.do" contextRelative="true"/>
    any idea how i can forward to the action directly without giving the above tag. also i dont want to give the forward tag in global forwards.

    you want to forward to another action without declaring that forward in the struts config? we use MVC frameworks to avoid having to write all that sort of code. what are you trying to achieve that can't be done by configuring the forward?

Maybe you are looking for

  • List of issues and fixes for procure to pay process and order to cash process for a trading company

    Dear All Gurus Kindly tell me where I can find the list of all issues arising in procure to pay process and order to cash process and there fixes for a trading company in support project Thanking You Abdul Baseer

  • I was trying to give my old iphone 4 to my friend and I can't restore it.

    I was attempting to give my friend my old at&t iphone 4 but after trying to remember my old password I disabled the phone. I was told to just restore it but I can't get itunes to pick up the phone to restore it. I tried to force it into recovery mode

  • Extremely Confused

    Does airport express act as a router? For example, right now I use a Linksys WRT54G wireless router. Can i completely get rid of the Wireless Router and replace it with an Airport Express and still have all my computers connected wirelessly to the in

  • Delta in enhanced 0HR_PT_1 DataSource

    Hi gurus, I have a problem with enhanced 0HR_PT_1 DataSource. There are some fields added to the extractor structure and one of these fields (ZNIEOB) should be the base for delta queue. Unfortunatelly the delta mechanism doesn't work as it should - t

  • Advanvced problem.  Can someone explain?

    Once on my Performa 6360 I created a MS Power Point slide show using Office 98 for a class. I created the presentation, transfered it to floppy disk (you'd be surprised how fancy slideshows I've seen on floppy disks). I then tested the slideshow on m