Data Action is converting in to data page with  parameter="unknown"

Hi,
I have created one DataAction, and drag a method from appmoduleImpl on to the created data action. that method contains one parameter as well.
Now i want to write code in findForward() method on that action class (from gotoCode menu item). After all, if i rebuild it, it is changing to data page from data action with parameter="unknown" and giving me error. In page flow diagram also its showing data page image with Yellow coloured exclamatory mark on it.
Anybody have any idea ???

This is the resultant entry in struts config.xml :
<action path="/editpage" className="oracle.adf.controller.struts.actions.DataActionMapping" type="com.abc.de.testAction" name="DataForm" parameter="unknown">
<set-property property="modelReference" value="editpageUIModel"/>
<set-property property="methodName" value="editpageUIModel.getFirstPageDetailsFromId"/>
<set-property property="resultLocation" value="${requestScope.methodResult}"/>
<set-property property="numParams" value="1"/>
<set-property property="paramNames[0]" value="${param.Id}"/>
<forward name="success" path/firstpage.do"/>
</action>

Similar Messages

  • BUG? Data Action on Struts changing to Data page when i reload Jdev????

    Hi All,
    i'm using jdev 10.1.2, adf bc's, struts, jsp's.
    I have a data action on my struts page which is bound to a method in the app module. I created a class for this data action which overrides the initialMethodParameters() method and gets the arguments for the method in the app module.
    it all works perfectly fine, until i come into work the next day, load up JDev and the data action has now turned into a data page. if i dbl click on it i get the create page dialog, instead of the data action class. obviously when i try run this data action, i get cannot display this page error.
    I'm assuming/hoping that this is a bug. can anyone shed any light??
    Thanks in advance,
    Liz

    Hi,
    did you open this in the same version of JDeveloper 10.1.2? I remember that there was a change in Struts between JDeveloper versions
    Frank

  • Export a report from another page with parameter problems...can it be done?

    Hi All,
    I have used Dennis Excel pkg which works fine if on the same page... however, I want users to enter two dates in my items
    P5_FIRST_DATE
    P5_SECOND_DATE
    I have manged to create a button that will execute the report on the second page without parameters
    by choosing the redirect to url and this does work...
    however, when i parameterize the url, it still works but does not send across the values
    here is what i am using in the url
    #a href="f?p=102:7:3458199286078769:FLOW_EXCEL_OUTPUT_R2491013790251874" ##a href="f?p=102:0:3458199286078769:DOWNLOAD_EXCEL:NO::T_REGION_ID,T_EXCEL_NAME,T_PAGE,PFIRST_DATE:R2491013790251874,my_report,7,:P5_FIRST_DATE"
    This does work... but does not putt the parameters across
    Can this be done? or is there a better way of doing this. I dont really want them to see the report because it just a list of urns with dates which the user enters which they will always want to download
    so i just want them to add the dates and download
    thanks for your time in reading this
    cheers

    Fazlar,
    This is how you do it:
    http://apex.oracle.com/pls/otn/f?p=23521:8
    You should never name your items
    P5_FIRST_DATE
    and put the item on the page 8. This is confusing and costs a lot of time to find out an item
    doesn't exist.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Open page with parameter provided by browser

    Hi,
    there is a page built on a VO with a bind parameter p1.
    in adfc-config i read the param p1 from browser's input :
    <view id="page1">
    <page>/page1.jspx</page>
    <input-page-parameter id="__1">
    <from-value>#{param.p1}</from-value>
    <to-value>#{viewScope.p1}</to-value>
    </input-page-parameter>
    </view>
    in order to immediately show the parameter-dependent data on page load,
    what am i supposed to implement yet?
    at the moment i have a button calling a procedure which sets default where clause and calls execute query...
    but i'd like to see the refresh without pushing buttons
    is it about placing function to a backing bean's method? which one? what stage?
    or making additional setup in adfc-config?
    what i've found is a peace of code, probably may help:
    is that it?
    <f:view beforePhase="#{MainPageBean.phaseListener}">
    <af:document id="d1">
    <af:form id="f1">
    </af:form>
    </af:document>
    </f:view>
    MainPageBean.java:
    import javax.faces.event.PhaseEvent;
    public class MainPageBean {
    public MainPageBean() {
    public void phaseListener(PhaseEvent phaseEvent) {
    if (phaseEvent.getPhaseId().equals(phaseEvent.getPhaseId().RENDER_RESPONSE)) {
    // To get the request header
    FacesContext facesContext = FacesContext.getCurrentInstance();
    HttpServletRequest request = (HttpServletRequest)facesContext.getExternalContext().getRequest();
    String currentCustomerId = request.getParameter("p1");
    please advise/comment on

    grodno,
    Something like this perhaps:
      <view id="untitled1">
        <page>/untitled1.jsf</page>
        <input-page-parameter id="__5">
          <from-value>#{param.p1}</from-value>
          <to-value>#{pageFlowScope.A.a}</to-value>
        </input-page-parameter>
      </view>and in your page definition, have an executable binding that calls a service method in your AM that takes a parameter. The service method would do whatever you need with the where clause. Bind the value of the parameter in the executable binding to #{pageFlowScope.A.a} (my managed bean) or you could even try just binding it directly to #{param.p1} - I didn't try that.
    Or, if you could make this a bounded task flow (be sure to configure it to allow URL invoke), you could make a method call activity in the task flow be the default activity. This method call activity would be made by drag-and-drop the service method from above on to the task flow and bind the parameter to #{param.p1}. Then, control flow case from that method call to the view. Didn't test this either, but should work in theory.
    John

  • KNOWN BUG????  data action changing to data page when reload of JDev

    Hi All,
    i'm using jdev 10.1.2, adf bc's, struts, jsp's.
    I have a data action on my struts page which is bound to a method in the app module. I created a class for this data action which overrides the initialMethodParameters() method and gets the arguments for the method in the app module.
    it all works perfectly fine, until i shut down JDev and load it up again. The data action has now turned into a data page. if i dbl click on it i get the create page dialog, instead of the data action class. obviously when i try run this data action, i get cannot display this page error.
    I'm assuming/hoping that this is a bug. can anyone shed any light??
    Thanks in advance,
    Liz

    Hi,
    did you open this in the same version of JDeveloper 10.1.2? I remember that there was a change in Struts between JDeveloper versions
    Frank

  • Converting varchar2 to date format

    I've converted date formats many times, but for some reason I'm getting an invalid number error when trying to convert a varchar2 column. I've tried the to_char and to_date function and I get the same result. The column is a date and it is formatted as DD-MON-YYYY, but I want to change it to MM/DD/YYYY. My query is below:
    select to_date('fccpdate','MM/DD/YYYY')
    from cc_class_scmast_v
    When I try to_date I get this:
    Error starting at line 1 in command:
    select TO_DATE('fccpdate', 'DD-MON-YYYY') from cc_class_scmast_v where fccpdate IS NOT NULL
    Error report:
    SQL Error: ORA-01858: a non-numeric character was found where a numeric was expected
    01858. 00000 - "a non-numeric character was found where a numeric was expected"
    *Cause:    The input data to be converted using a date format model was
    incorrect. The input data did not contain a number where a number was
    required by the format model.
    *Action:   Fix the input data or the date format model to make sure the
    elements match in number and type. Then retry the operation.
    When I try to_char I get this:
    Error starting at line 1 in command:
    select TO_char('fccpdate', 'DD-MON-YYYY') from cc_class_scmast_v where fccpdate IS NOT NULL
    Error report:
    SQL Error: ORA-01722: invalid number
    01722. 00000 - "invalid number"
    *Cause:   
    *Action:
    I've tried removing the single quotes from my column and that doesn't make a difference. Any help is appreciated.

    Hi,
    housetiger77 wrote:
    I've converted date formats many times, but for some reason I'm getting an invalid number error when trying to convert a varchar2 column. I've tried the to_char and to_date function and I get the same result. The column is a date and it is formatted as DD-MON-YYYY,If the column is a DATE, then it has the same format that all DATEs have, which is nothing like 'DD-MON-YYYY'. Formats like that only apply to strings.
    Conversely, if it is formatted as 'DD-MON-YYY', then it is a string, not a DATE.
    but I want to change it to MM/DD/YYYY. My query is below:
    select to_date('fccpdate','MM/DD/YYYY')
    from cc_class_scmast_vTO_DATE (x, 'MM/DD/YYYY') tries to convert the string x into a DATE. Let's say it starts by taking the first 2 characters of x, to get the month. The first 2 charcters of 'fccpdate' are 'fc', which is not a valid number (at least not in base 10), let alone a number between 1 and 12, so TO_DATE raises an error.
    When I try to_date I get this:
    Error starting at line 1 in command:
    select TO_DATE('fccpdate', 'DD-MON-YYYY') from cc_class_scmast_v where fccpdate IS NOT NULL
    Error report:
    SQL Error: ORA-01858: a non-numeric character was found where a numeric was expected
    01858. 00000 - "a non-numeric character was found where a numeric was expected"
    *Cause:    The input data to be converted using a date format model was
    incorrect. The input data did not contain a number where a number was
    required by the format model.
    *Action:   Fix the input data or the date format model to make sure the
    elements match in number and type. Then retry the operation.
    When I try to_char I get this:
    Error starting at line 1 in command:
    select TO_char('fccpdate', 'DD-MON-YYYY') from cc_class_scmast_v where fccpdate IS NOT NULL
    Error report:
    SQL Error: ORA-01722: invalid number
    01722. 00000 - "invalid number"
    *Cause:   
    *Action:
    I've tried removing the single quotes from my column and that doesn't make a difference. Any help is appreciated.That's a good first step. Literals are enclosed in single-quotes, identifiers (including column names) are not. 'fccpdate' is the literal 8-character string containing 'f', 'c;, another 'c', 'p', 'd', 'a', 't' and 'e'. fccpdate (without single-quotes) can be the name of a column.
    If fccpdate is a string, such as '18-JUL-2012', then you can convert it to a DATE using TO_DATE.
    TO_DATE (fccpdate, 'DD-MON-YYYY')If you want to display a DATE in a particular format, use
    TO_CHAR ( d
            , f
            )where d is a DATE, and f is the format string. In this case, d might be the TO_DATE expression above
    TO_CHAR ( TO_DATE (fccpdate, 'DD-MON-YYYY')
            , 'MM/DD/YYYY'
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using.
    See the forum FAQ {message:id=9360002}

  • User enters the paremter for the year, need help converting that to date

    Hello!
    I have a report that asks for the user what data they want to see based on the year. They will then enter 2007 for example. My problem is that when I use that parameter in the where clause I get an error -
    ORA-01722 Invalid Number
    Here is the line of code -
    AND (TRANSACTIONS.po_no IS NULL OR (TO_CHAR(req.open_date,'YYYY') ) = (TO_CHAR(:p_year,'YYYY')))
    The :p_year is what I am referring to, I know if I hard code 2007 in there it works just fine. I've tired converting it to a char, converting it to a date, and even converting to a date and back to a char, but it is not working.
    Any help would be appreciated!! Thanks!!

    It all depends whether your input parameter is NUMBER, CHAR, DATE or SOMETHING_ELSE.
    a) NUMBER
    AND (TRANSACTIONS.po_no IS NULL OR
            TO_CHAR(req.open_date,'YYYY') = TO_CHAR(:p_year,'FM9999')
             )b)STRING
    AND (TRANSACTIONS.po_no IS NULL OR
            TO_CHAR(req.open_date,'YYYY') = TRIM(:p_year)
             )c) DATE assumption then is 01.01. of this year)
    AND (TRANSACTIONS.po_no IS NULL OR
            trunc(req.open_date,'year') = :p_year
             )d) something else - like not a bind variable but literal or script parameter
    AND (TRANSACTIONS.po_no IS NULL OR
              (req.open_date >= to_date('01/01/&p_year','dd/mm/yyyy')  AND
               req.open_date < to_date('31/12/&p_year','dd/mm/yyyy')+1
             )

  • OSB DB-Adapter and a date column: JCA exception ISO 8601 date format?

    Hello
    I work with Oracle Service Bus (eclipse oepe and jdev)
    On database side I've a view with a date column (datatype=date!)
    With JDev I create a DB Adapter with a select operation on that view. This db adapter can be successfully generated.
    Now I import the generated artefacts (xsd, wsdl, jca) into my eclipse service-bus-project. Then I generate a business service based on the jca. Also this works fine.
    Then I deploy the project to my developement osb. Also this works fine.
    When I test my business service (osb test console), I get a runtime error:
    Exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException:
    Exception Description: The object [03.07.70], of class [class java.lang.String], from mapping [org.eclipse.persistence.mappings.DirectToFieldMapping[geburtsdatum-->XYZ_VIW.GEBURTSDATUM]] with descriptor [ObjectRelationalDataTypeDescriptor(DB_Adabper_XZY.XZY--> [DatabaseTable(XYZ_XYZ_VIE)])], could not be converted to [class java.sql.Timestamp].
    Zeichenfolgenwert im XML-Code kann nicht in java.sql.Date konvertiert werden.
    Datenbanken akzeptieren zwar Zeichenfolgen, die Datumsangaben in verschiedenen Formaten darstellen, jedoch akzeptiert der Adapter nur Zeichenfolgen, die Datumsangaben im ISO-XML-Datumsformat darstellen.
    Der Eingabewert muss das ISO 8601-Datumsformat YYYY-MM-DD aufweisen.
    ==> so this seems to be a date format problem. but why?
    I've checked the view ---> it's a date!
    After that I do not have any influence to change it - and actually I don't want to change it. It still should be a datatype of DATE.
    Why does JDEV not correctly convert it?
    Anyone had the same problem?
    Any help would be appreciated.
    Thanks
    Best regards,
    Reto

    OS is winXP
    database is Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    Yes it is a datetime:
    <xs:element name="geburtsdatum" type="xs:dateTime" minOccurs="0" nillable="true"/>
    This is absolutelly correct. But on runtime, I'll get the date convertion error as mentionend above. It seems as the date cannot be converted from database date column to a osb date.
    Strange, I didn't expect to have date format problems here.
    I use
    1.) Oracle Database (view) with a DATE column
    2.) Oracle JDeveloper database adapter (generated db adapter based on view, point 1)
    3.) Oracle Service Bus using the jca of generated database adapter, point 2)
    So I think I don't have to set any date format, everything shoult be a DATE and therefore no formating has to be done by me, or am I wrong?
    Best regards
    Reto

  • Odd/Even pages with data from two tables

    Hi Forum,
    Can you please extend help/suggest with the following scenario:
    I have two data tables and one table records needs to be printed on odd pages (Front page) and the other table records need to be printed on even pages (Back page). I need alternating front and back pages based on data records in the tables. Also second table will be having lesser records when compared with first table.
    I'm able to get the alternating Odd/Even master pages. But the first table is being printed in both the odd/even pages first and then the second table is being printed in both the odd/even pages. How can I restrict the printing of the first table on odd page and second table on even page?
    Thanks for your help/suggestions.
    ~Madan

    You can play with pagination tab in your LCD tab, but I have never learnt enough to be able to use it effectively.
    If I were in your shoes, I would alter the DDIC structures in the backend so you will only display it in the form, without any suicidal actions through the pagination, scripting or similar stuff.
    How: If you need to alter pages, you can do that in your backend, right?
    Like you can have a structure page with attributes:
    - up/ front: data for the front page
    - down/back: data for the back page
    and you will alter the data in the table with this structure as a line in your ABAP program and will use to form to display the trnaformated data only.
    Well... I don´t tell it is clear/right/ proper solution and cannot tell if there are any obstacles which will not let you use this scenario in your case, but you could consider this as an option...
    Regards Otto

  • Convert to a date error

    i have a the code below which i am passing a form value to
    <CFLOCATION
    url="CalendarCurrent.cfm?DATE=<cfoutput>#form.Diary_Date#</cfoutput>">
    but i am getting cannot convert to a date error, i cannot
    change the code below as other pages use it, so how can i change
    the cflocation date to match.
    i have tried dateformat and lsdateformat any ideas?
    <cfif NOT IsDefined("URL.DATE")>
    <cfset session.DATE= DateFormat(Now(), "dddd DD MMMM
    yyyy")>
    <cfset session.SHORTDATE= DateFormat(Now(),
    "yyyy-mm-dd")>
    <cfelse>
    <cfset session.DATE= (DateFormat(URL.DATE, "dddd DD MMMM
    yyyy")) >
    <cfset session.SHORTDATE= (DateFormat(URL.DATE,
    "yyyy-mm-dd")) >
    </cfif>

    Hi,
    You didnt understand some basic stuff, so i tell you what you
    should have done:
    "The value "27/3/2007" could not be converted to a date."
    <cfset myDate="form.Diary_Date">
    this line you create myDate parameter with value from form,
    Diary_Date field.
    you should use # signs because coldfusion doesnt know
    otherwise you want to use cf parameters value.
    in other words otherwise you are telling coldfusion that
    mydate is string containing literaly "form..Diary_Date".
    take care you always trim parameter values from forms, same
    browsers are so nice to adding extra enter character at end of
    field value. so first line goes:
    <cfset myDate="#Trim(form.Diary_Date)#">
    now, sence myDate parameter is fine, lets focus few minutes
    how you split value from myDate to tree different pieces.
    GetToken fuction is nice fellow when you want split
    preformated string to pieces, preformated mean that string always
    look same kind. just like dates. year, month and day are in same
    positions at string, while year might be different.
    example: 1.1.2007 and 1.1.2003, get it?
    usage of gettoken is very simple, you just tell function
    first parameter where he has to split you piece of string and
    second
    you tell number of piece to look for and last you tell what
    character is separator of each piece.
    so, since date you want to process is "27/3/2007", date is
    first, month next and year last.
    separator is "/" so, getting month should be like this:
    myDate is parameter is strinng to be splitted.
    number 2 is order number, month is second piece at string
    / is piece separator.
    Following code will give you substring "3" from string
    "27/3/2007".
    <cfset myDate_Month = "#GetToken(myDate,2,"/")#">
    Can you repair your self next two lines?
    <cfset myDate_Day = "#GetToken(myDate,1,"\")#">
    <cfset myDate_Year = "#GetToken(myDate,3,"\")#">
    Cheers
    Kim

  • How to display values after doing some business logic in data action

    hi guys i got the same problem but iam unable to display the values..in my display page when iam trying to do some business logic in my data action class..
    can u guys help me out
    iam pasting my code which iam working here
    my struts-config.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
    <form-beans>
    <form-bean name="DataForm" type="oracle.adf.controller.struts.forms.BindingContainerActionForm"/>
    </form-beans>
    <action-mappings>
    <action path="/inputform" className="oracle.adf.controller.struts.actions.DataActionMapping" type="oracle.adf.controller.struts.actions.DataForwardAction" name="DataForm" parameter="/inputform.uix">
    <set-property property="modelReference" value="inputformUIModel"/>
    <forward name="success" path="/inputAction.do"/>
    </action>
    <action path="/inputAction" className="oracle.adf.controller.struts.actions.DataActionMapping" type="order.view.InputAction" name="DataForm">
    <set-property property="modelReference" value="displaypageUIModel"/>
    <forward name="success" path="/displaypage.do"/>
    </action>
    <action path="/displaypage" className="oracle.adf.controller.struts.actions.DataActionMapping" type="oracle.adf.controller.struts.actions.DataForwardAction" name="DataForm" parameter="/displaypage.uix">
    <set-property property="modelReference" value="displaypageUIModel"/>
    </action>
    </action-mappings>
    <message-resources parameter="order.view.ApplicationResources"/>
    </struts-config>
    my input form uix
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <form name="form0" method="post">
    <contents>
    <messageTextInput model="${bindings.password}" text="username"/>
    <messageTextInput model="${bindings.username}" text="password"/>
    <submitButton text="submit" event="success" destination="inputAction.do"/>
    </contents>
    </form>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    my display uix
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <form name="form0">
    <contents>
    <messageStyledText model="${bindings.password}" prompt="Prompt 0"/>
    <messageStyledText model="${bindings.username}" prompt="Prompt 1"/>
    </contents>
    </form>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    my model bean
    package order.model;
    public class TestBean
    private String username;
    private String password;
    public TestBean()
    public String getUsername()
    return username;
    public void setUsername(String username)
    this.username=username;
    System.out.println("the username after actions class:"+username);
    public String getPassword()
    return password;
    public void setPassword(String password)
    this.password=password;
    my data Action class
    package order.view;
    import oracle.adf.controller.struts.actions.DataAction;
    import oracle.adf.controller.struts.actions.DataActionContext;
    import oracle.jbo.uicli.binding.JUCtrlActionBinding;
    import oracle.jbo.uicli.binding.JUCtrlAttrsBinding;
    import order.model.TestBean;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.action.ActionForward;
    public class InputAction extends DataAction
    * Delegate to the Struts page lifecycle implementation
    * {@link StrutsJspLifecycle#findForward findForward}
    * @param actionContext the lifecycle context for the DataAction
    * @throws Exception
    protected void findForward(DataActionContext actionContext) throws Exception
    // TODO: Override this oracle.adf.controller.struts.actions.DataAction method
    //super.findForward(actionContext);
    TestBean testbean=new TestBean();
    System.out.println("this is action form"+actionContext.getActionForm());
    String username=(String)((JUCtrlAttrsBinding)actionContext.getBindingContainer().findCtrlBinding("username")).getInputValue();
    System.out.println("this is username"+username);
    String username1=username+"hye wats up";
    testbean.setUsername(username1);
    ActionForward forward=actionContext.getActionForward();
    ActionMapping mapping =actionContext.getActionMapping();
    System.out.println("this is mapping"+mapping);
    mapping.findForward("success");
    // To handle an event named "yourname" add a method:
    // public void onYourname(DataActionContext ctx)
    // To override a method of the lifecycle, go to
    // the main menu "Tools/Override Methods...".
    check this out iam unable to display in my display page so help me out if any one can

    No, in this case, I'm using standard JSP with ADF and struts validator.
    If I don't use struts validator and there are errors (such as putting a string into a number which produces a jbo-25009), the list value will be retained.
    When using the validator, it appears that it is NOT retained.
    I've written some code to attempt to set the list element back, which "looks like" it's working right now.
    There's still a problem with the second scenario:
    1. user clicks checkbox and hits [submit]
    2. get's error - you have to enter 5 address items
    3. User wants to backout, so he unchecks the box and resubmits
    4. The box redisplays as "checked"
    SO, at that point, I thought... can't I use YOUR EXAMPLE on how to handle a checkbox.
    I place some code in the reset method of the form to perform this:
    map.put("AddressChangeFlag", (String) "" );
    (that is, I've detected via the request that this flag is null), so I'm trying to make sure it retains it!
    I do that and it runs into a problem during the processUpdateModel aT:
    BindingContainerValidationForm updateForm= (BindingContainerValidationForm) actionContext.getActionForm();
    //Get the binding for our particular column JUCtrlAttrsBinding checkBoxBinding = (JUCtrlAttrsBinding)updateForm.get("AddressChangeFlag");
    call, with an error:
    JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=java.lang.String
    java.lang.String
    The value for updateForm.get("AddressChangeFlag") is "", which I'm assuming means the form field is no longer in the request object??
    I'm lost at this point, and have been working on it for more than 1 day.
    Thanks for responding though, and I await feedback ;)

  • WLI 7.0 Question about Set Task due date action

    Hi,
    I am trying to manage time out issue efficiently and, as described in the
    WLI documentation, the
    timeout has to be design with a dedicated path with, as the first task, a
    set task due date action.
    I was wondering about the timeout of this task due date...
    How can I stop this action before the end of the 'due date' without deleting
    the instance associated to my workflow ?
    Do you have any advice ?
    Thanks
    Alexandre

    HI,
    Customizing the Task List
    You can customize the column headers or search for required tasks by clicking on Customize Table Header. The option allows you to specify the columns to be showed in the list table, to provide the sorting order, and to set the page size. The sorting order could be complex with option to provide multiple columns for sorting and the order (ascending/descending) for each of them.
    To create a custom query and search for tasks:
    1.In the Task List page, click Customize Table Header.
    In the Construct a Custom Query form, specify the search criteria by specifying any of the following values.
    2.Enter the task name. You can use the * character at the start or the end of the name.
    3.Enter the task ID. Separate multiple values using comma.
    4.Select the check box against the Administration and Working state of the task.
    5.Enter any comment. You can use regular expression.
    6.Enter the priority range.
    7.Enter the Assignee, Owner, or Claimant names.
    8.Specify the completion due date range.
    9.If required, select the Include tasks with no completion due date check box.
    10.Click Apply.
    All tasks that match the specified criteria are displayed in the Task List page.
    To customize the table header:
    1.In the Task List page, click Customize Table Header. The Construct a Custom Query form appears.
    2.In the View form, select the columns that you want to view in the Task List page.
    3.Select the Preserve Search Criteria check box to retain these details for the current session.
    4.Select the maximum number of search results that should be displayed on the page.
    5.Select the number of rows that should be displayed in the page.
    6.Click Apply.
    The view in the Task List page is updated based on the current settings.
    Using this option you can set the completion due date
    Hope this information will help you solve the issue.
    Regards,
    Kal.

  • Add a Data Action to Execute a Method - Problem

    Hi,
    I'm working with JDeveloper 10.1.3 - JSP,Struts and ADF BC.
    I have a method that retruns 2 values (audit(Number,Number)) and exposed the Service Metod, but now I need to add a Data Action to Execute that method.
    I already add an Data Action icon to my Page Flow Diagram but what do I need to do next?
    Can anyone help me? Any ideias?
    Thanks,
    Micaela

    Hi Shay,
    I have one problem because how can I create a JSP Page to display Method Results in JDeveloper10.1.3???
    I already created another page and tried to Drag and Drop my Method from Data Control Palette, but I only have the choice to create a button and I would like to see the result.
    Adding a c:out tag to the JSP page.
    Can you help me with this problem??
    Thanks,
    Micaela

  • UIX : Data action doesnt call a method

    hi,
    1)I have created two uix pages u1 and u2
    2)I have created a data action(a1) based on method(findinvoices)
    3)I have created farward from u1 to data action(a1)
    4)I have created another farward from data action(a1) to u2
    5)I method to accept the params which i defined in u1 and execute the method which i draged and dropped on action(a1)
    Note i have defined the param values for each param of data action(a1).
    Why data action(a1) is not calling the method instead it directly goest to u2 and execute the query on it.
    Thanks.

    Hi Shay,
    I have one problem because how can I create a JSP Page to display Method Results in JDeveloper10.1.3???
    I already created another page and tried to Drag and Drop my Method from Data Control Palette, but I only have the choice to create a button and I would like to see the result.
    Adding a c:out tag to the JSP page.
    Can you help me with this problem??
    Thanks,
    Micaela

  • Inserting from findforward in data action

    I will try to give some background here just in case someone has a better solution to my problem. First of all, I have a JSP page with a form on it. The first half of this form is from a table, and is inserted on the commit button. The second half of the form is dynamic, and the number of fields differ based on a choice that was previously made. I need to know the best place to insert these items. Each field will be a separate row in a database that is linked back to the first database with the common column requestId.
    The forward for this page goes to a data action when commit is pressed. I was hoping to do the insert in that data action's findforward method. However, I have been unsuccessful in doing so. I get an ApplicationModule am, but when I try am.createRow(), it won't let me do it. I also tried am.createandinitrow( list ), that also was unsuccessful. I got runtime errors saying that I couldn't use those functions. Are there any other ways I can do this?? Or is there another solution that I can use??
    By the way, I am using Jdeveloper 10.1.2.
    Thanks

    Nevermind, I did figure it out. I found the command:
    ApplicationModule am = Configuration.createRootApplicationModule(app,cf);
    Where app is a string ("model.AppModule") and cf is a string ("AppModuleLocal"). After doing what I need to do, I then released the ApplicationModule with:
    Configuration.releaseRootApplicationModule(am,true);

Maybe you are looking for

  • Windows XP + Novell + 802.1x + OS X

    Hi, I work for a poor inner-city school district and I've got the above environment. I've inherited the network and the current config is a 64 character WPA2 key. This is untenable and I really need to find a solution using the default supplicant and

  • Sed Request Regular Expression Format

    A quick question.... There are lots of different syntaxes for regular expressions and lots for SED. With the sed_request and sed_response filter I have tried different syntaxes for marking word boundaries, but don't know which to use. The \b syntax i

  • How to configure links in My Services Lane

    We have the requirement to configure links in the My services lane so that user can quickly reach out to basic services like Address,Bank Details, W4 withholding info etc. Please suggest , we are struggling for the same.

  • Logic 9 Quits Unexpectedly When Bouncing

    I recently installed Logic 9 on a new Mackbook Retina running OSX Mavericks 10.9.2 However every time I try to bounce or save as Logic crashes and displays "Logic Pro has unexpectedly quit" I've done all the software updates for logic so its running

  • Playing computer games with Virtualbox

    I have a Macbook Pro laptop, but we also have a PC desktop running on Windows XP home edition. I'm trying to get Zoo Tycoon 2 to run on my mac, and I uploaded the windows xp software using virtualbox. Everything worked great, a huge relief because th