Data input page set to "viewmode"

I have a data input page which I would like to allow others users to see but not change and data. Does APEX have a 'viewmode' setting for a page or must I manipulate every field on the page? APEX 4.2

ebenwalker wrote:
Normal data entry Form. I am hoping to not have to put code in for every item.  Is there a method to make all items 'display only' with one block of code?  (pseudo code;  if user = clerk then set all items to display only.)
APEX 4.2 has support for read-only conditions at item, region, and page level. Switch the form to a read-only display using a suitable condition in the region- or page-level attribute.

Similar Messages

  • More detailed documentation of the data upload page set ?

    Hallo,
    Is there more detailed documentation available of the Upload Wizard and Data Set definitions?
    In particular:
    Is there a way to skip the Data Mapping part by providing a locally pre-recorded definition of the selected columns and their format, so this step can be skipped for the end user.
    The predefined regions: "Data / Table Mapping - Data Upload Column Mapping" is not very transparent.
    The bottom line is that I would like to skip this step completely, still leveraging the built in APEX capabilities.
    Regards,
    - Thomas
    Edited by: t-o-b on 17.04.2012 08:29

    Hi Thomas,
    The data upload was designed leaving the mapping step clear and accessible to the end user, in order to make sure, that the uploading of data does not end up by upload incorrect data.
    The best way, I would advise you to match the column names of the files to be uploaded same as the column names of your table, that way the matching is done for you.
    Otherwise, in case you are trying to skip the second step, you probably dont need the wizard, instead you can just write the code that read the file and upload directly to the table.
    Regards,
    Patrick

  • How to set todays date in message date input field in uix

    Hello everybody,
    Im using jdeveloper 9015+adf+uix
    I am having an input form and in that i want to set the date input field with the current date(default value).
    Does anybody of you know how I should do this.
    Any help is appreciated,
    Thanks in advance

    Hi,
    Did you figure out on how to default system date in a date input field??
    I have a similar requirement in OA framework. Please let me know if you have any ideas.
    Thanks,
    vinay.

  • How to set default date of 3 weeks(21 days) from today's date during page load?

    I want to show the default date as 3 weeks from today's date during page load.
    For example ,i have given as adf.CurrentDate + 21 in EO for the attribute 'DueDate'. But it is showing me the date as 9.7.2013. 3 weeks default date is not getting set.If i give adf.currentDate also ,it not giving me today's date,it showing the 9.7.2013 only.Kindly provide your suggestions to set the default date as 3 weeks from today's date during page load.Thanks in advance.

    Hi,
    when you set the value on the entity level then you don't want to show it during page load but when the field is empty ? Correct? if so then the use case is a different one. The easiest way to implement this would be to create a Rowimpl class (Java option) and then in the get method of the entity attribute check if the value is null and if it is, set it to the current date + 21 days. This way all rows will be set with the 3 weeks due date but fields are not overridden each time the row is queried
    Frank

  • Code Page Setting while extracting data using Generic Data Source

    Hi,
    Can anybody tell me about the Code Page setting used in Generic Data Source in SAP BW 3.5?
    I am extracting data from a Master Table using Generic data Source, but the data which is in Ukrane language is getting loaded as "#". Where do we set the Code Page for it?
    Regards,
    YK.

    To continue with earlier question, is there any particular setting for a master data, to load non english data as a text of master data?
    I want to load TEXT of a master in Ukraine language. I am extracting this text from the P table of same master (From Description Field). But TEXT is not getting populated whenever it is Ukraine language. English TEXT is populated correctly.
    Please share your experiences...
    Thanks,
    YK.

  • Date input & differences between MX & CS

    Have got several forms that I use & they all input dates, all ASP VB. The ones that I have created in dreammweaver MX input the date in the correct, UK format for me. eg: dd-mm-yy
    If I create in CS3 or CS5.5 dates appear in US format eg: mm-dd-yy
    If I just enter <% Response.Write(Date()) %> the webpage will display 05/12/2013 which is correct. My conclusion from this is that LCID & computer settings are correct because date is displayed in correct UK format.
    If I enter <% Response.Write(Date()) %> into a form field & insert this into a Access database it is entered as 12-05-13, 12th May in UK format. Dreamweaver is entering incorrectly & I can't see why. I have looked at many forums, discussion pages etc but can't find anything that explains why MX enters date correctly but CS doesn't.
    Can anyone please offer any suggestions, many thanks in advance.

    attached are 2 sample pages, one created in CS, one in MX.
    MX version:
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
    <!--#include file="Connections/MOcopy.asp" -->
    <%
    ' *** Edit Operations: declare variables
    Dim MM_editAction
    Dim MM_abortEdit
    Dim MM_editQuery
    Dim MM_editCmd
    Dim MM_editConnection
    Dim MM_editTable
    Dim MM_editRedirectUrl
    Dim MM_editColumn
    Dim MM_recordId
    Dim MM_fieldsStr
    Dim MM_columnsStr
    Dim MM_fields
    Dim MM_columns
    Dim MM_typeArray
    Dim MM_formVal
    Dim MM_delim
    Dim MM_altVal
    Dim MM_emptyVal
    Dim MM_i
    MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME"))
    If (Request.QueryString <> "") Then
      MM_editAction = MM_editAction & "?" & Server.HTMLEncode(Request.QueryString)
    End If
    ' boolean to abort record edit
    MM_abortEdit = false
    ' query string to execute
    MM_editQuery = ""
    %>
    <%
    ' *** Insert Record: set variables
    If (CStr(Request("MM_insert")) = "form1") Then
      MM_editConnection = MM_MOcopy_STRING
      MM_editTable = "mxDate"
      MM_editRedirectUrl = ""
      MM_fieldsStr  = "dateFld|value"
      MM_columnsStr = "dateEntry|',none,NULL"
      ' create the MM_fields and MM_columns arrays
      MM_fields = Split(MM_fieldsStr, "|")
      MM_columns = Split(MM_columnsStr, "|")
      ' set the form values
      For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2
        MM_fields(MM_i+1) = CStr(Request.Form(MM_fields(MM_i)))
      Next
      ' append the query string to the redirect URL
      If (MM_editRedirectUrl <> "" And Request.QueryString <> "") Then
        If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0 And Request.QueryString <> "") Then
          MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString
        Else
          MM_editRedirectUrl = MM_editRedirectUrl & "&" & Request.QueryString
        End If
      End If
    End If
    %>
    <%
    ' *** Insert Record: construct a sql insert statement and execute it
    Dim MM_tableValues
    Dim MM_dbValues
    If (CStr(Request("MM_insert")) <> "") Then
      ' create the sql insert statement
      MM_tableValues = ""
      MM_dbValues = ""
      For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2
        MM_formVal = MM_fields(MM_i+1)
        MM_typeArray = Split(MM_columns(MM_i+1),",")
        MM_delim = MM_typeArray(0)
        If (MM_delim = "none") Then MM_delim = ""
        MM_altVal = MM_typeArray(1)
        If (MM_altVal = "none") Then MM_altVal = ""
        MM_emptyVal = MM_typeArray(2)
        If (MM_emptyVal = "none") Then MM_emptyVal = ""
        If (MM_formVal = "") Then
          MM_formVal = MM_emptyVal
        Else
          If (MM_altVal <> "") Then
            MM_formVal = MM_altVal
          ElseIf (MM_delim = "'") Then  ' escape quotes
            MM_formVal = "'" & Replace(MM_formVal,"'","''") & "'"
          Else
            MM_formVal = MM_delim + MM_formVal + MM_delim
          End If
        End If
        If (MM_i <> LBound(MM_fields)) Then
          MM_tableValues = MM_tableValues & ","
          MM_dbValues = MM_dbValues & ","
        End If
        MM_tableValues = MM_tableValues & MM_columns(MM_i)
        MM_dbValues = MM_dbValues & MM_formVal
      Next
      MM_editQuery = "insert into " & MM_editTable & " (" & MM_tableValues & ") values (" & MM_dbValues & ")"
      If (Not MM_abortEdit) Then
        ' execute the insert
        Set MM_editCmd = Server.CreateObject("ADODB.Command")
        MM_editCmd.ActiveConnection = MM_editConnection
        MM_editCmd.CommandText = MM_editQuery
        MM_editCmd.Execute
        MM_editCmd.ActiveConnection.Close
        If (MM_editRedirectUrl <> "") Then
          Response.Redirect(MM_editRedirectUrl)
        End If
      End If
    End If
    %>
    <%
    Dim rsDate
    Dim rsDate_numRows
    Set rsDate = Server.CreateObject("ADODB.Recordset")
    rsDate.ActiveConnection = MM_MOcopy_STRING
    rsDate.Source = "SELECT * FROM mxDate ORDER BY ID DESC"
    rsDate.CursorType = 0
    rsDate.CursorLocation = 2
    rsDate.LockType = 1
    rsDate.Open()
    rsDate_numRows = 0
    %>
    <%
    Dim Repeat1__numRows
    Dim Repeat1__index
    Repeat1__numRows = 10
    Repeat1__index = 0
    rsDate_numRows = rsDate_numRows + Repeat1__numRows
    %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>MX dates</title>
    </head>
    <body>
    <form name="form1" method="POST" action="<%=MM_editAction%>">
      <p>
        <input name="dateFld" type="text" id="dateFld" value="<% Response.Write(Date()) %>">
        <input type="submit" name="Submit" value="Submit">
    </p>
      <table width="400" border="1" cellspacing="0" cellpadding="0">
        <tr>
          <td>ID</td>
          <td>Date</td>
        </tr>
        <%
    While ((Repeat1__numRows <> 0) AND (NOT rsDate.EOF))
    %>
        <tr>
          <td><%=(rsDate.Fields.Item("ID").Value)%></td>
          <td><%=(rsDate.Fields.Item("dateEntry").Value)%></td>
        </tr>
        <%
      Repeat1__index=Repeat1__index+1
      Repeat1__numRows=Repeat1__numRows-1
      rsDate.MoveNext()
    Wend
    %>
        </table>
      <p>basic date:
        <% Response.Write(Date()) %>
    </p>
      <p>long date:
          <% response.write(FormatDateTime(date(),vblongdate)) %>
      </p>
      <p>   </p>
      <input type="hidden" name="MM_insert" value="form1">
    </form>
    </body>
    </html>
    <%
    rsDate.Close()
    Set rsDate = Nothing
    %>
    =========================================================================================
    CS version:
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <!--#include file="Connections/MOcopy.asp" -->
    <%
    Dim MM_editAction
    MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME"))
    If (Request.QueryString <> "") Then
      MM_editAction = MM_editAction & "?" & Server.HTMLEncode(Request.QueryString)
    End If
    ' boolean to abort record edit
    Dim MM_abortEdit
    MM_abortEdit = false
    %>
    <%
    ' IIf implementation
    Function MM_IIf(condition, ifTrue, ifFalse)
      If condition = "" Then
        MM_IIf = ifFalse
      Else
        MM_IIf = ifTrue
      End If
    End Function
    %>
    <%
    If (CStr(Request("MM_insert")) = "form1") Then
      If (Not MM_abortEdit) Then
        ' execute the insert
        Dim MM_editCmd
        Set MM_editCmd = Server.CreateObject ("ADODB.Command")
        MM_editCmd.ActiveConnection = MM_MOcopy_STRING
        MM_editCmd.CommandText = "INSERT INTO CSdate (dateEntry) VALUES (?)"
        MM_editCmd.Prepared = true
        MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1", 135, 1, -1, MM_IIF(Request.Form("dateFld"), Request.Form("dateFld"), null)) ' adDBTimeStamp
        MM_editCmd.Execute
        MM_editCmd.ActiveConnection.Close
        ' append the query string to the redirect URL
        Dim MM_editRedirectUrl
        MM_editRedirectUrl = "CSdate.asp"
        If (Request.QueryString <> "") Then
          If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0) Then
            MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString
          Else
            MM_editRedirectUrl = MM_editRedirectUrl & "&" & Request.QueryString
          End If
        End If
        Response.Redirect(MM_editRedirectUrl)
      End If
    End If
    %>
    <%
    Dim rsDate
    Dim rsDate_cmd
    Dim rsDate_numRows
    Set rsDate_cmd = Server.CreateObject ("ADODB.Command")
    rsDate_cmd.ActiveConnection = MM_MOcopy_STRING
    rsDate_cmd.CommandText = "SELECT * FROM CSdate ORDER BY ID ASC"
    rsDate_cmd.Prepared = true
    Set rsDate = rsDate_cmd.Execute
    rsDate_numRows = 0
    %>
    <%
    Dim Repeat1__numRows
    Dim Repeat1__index
    Repeat1__numRows = 10
    Repeat1__index = 0
    rsDate_numRows = rsDate_numRows + Repeat1__numRows
    %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>CS dates</title>
    </head>
    <body>
    <form id="form1" name="form1" method="POST" action="<%=MM_editAction%>">
      <p>
        <label for="dateFld"></label>
        <input name="dateFld" type="text" id="dateFld" value="<% Response.Write(Date()) %>" />
        <input type="submit" name="submit" id="submit" value="Submit" />
      </p>
      <table width="400" border="1" cellspacing="0" cellpadding="0">
        <tr>
          <td>ID</td>
          <td>Date</td>
        </tr>
        <%
    While ((Repeat1__numRows <> 0) AND (NOT rsDate.EOF))
    %>
      <tr>
        <td><%=(rsDate.Fields.Item("ID").Value)%></td>
        <td><%=(rsDate.Fields.Item("dateEntry").Value)%></td>
      </tr>
      <%
      Repeat1__index=Repeat1__index+1
      Repeat1__numRows=Repeat1__numRows-1
      rsDate.MoveNext()
    Wend
    %>
      </table>
      <p>basic date:
        <% Response.Write(Date()) %>
      </p>
      <p>long date:
        <% response.write(FormatDateTime(date(),vblongdate)) %>
      </p>
      <p>  </p>
      <input type="hidden" name="MM_insert" value="form1" />
    </form>
    </body>
    </html>
    <%
    rsDate.Close()
    Set rsDate = Nothing
    %>

  • Unable To Pass Input Page Parameter Using PageDef File.

    Dear All,
    I am currently exploring task flows as I dont have that much knowledge in it.
    Here's my use case
    1. I setup a taskflow which has a Method Call and a View Activity in it.
    2. The method call is a default activity which just calls a web service.
    3. After execution, I just wanted to display the result of the method.
    I used input page parameters to pass data between the method call and the view activity.
         (I passed the data by accessing the pagedef file directly. I know I can do it using pageflowscope..but this is
         my self exercise so that I could understand ADF fully );)
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="ManageEmployeeTaskflow">
        <view id="viewEmployee">
          <page>/viewEmployee.jsff</page>
          <input-page-parameter>
            <from-value>#{data.com_test_ManageEmpFlow_methodPageDef.empInfoIterator.currentRow.dataProvider.name}</from-value>
            <to-value>#{data.com_test_viewEmployeePageDef.name.inputValue}</to-value>
          </input-page-parameter>
        </view>
        <method-call id="EmployeeSetup">
          <method>#{bindings.EmployeeSetup.execute}</method>
          <outcome id="__12">
            <fixed-outcome>viewEmployee</fixed-outcome>
          </outcome>
        </method-call>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>Problem is, when I display the data. Nothing is being displayed.
    <af:inputText value="#{bindings.name.inputValue}"
                      label="#{'Name'}"/>          I debug the taskflow and the <from-value> really has a value, but I am not sure why it cant be passed to next pagedef.
    Any idea please?
    Edited by: Marky on May 15, 2011 11:25 PM

    Hi,
    I've been thinking... Is this way of passing parameters not possible?
          <input-page-parameter>
            <from-value>#{data.com_test_ManageEmpFlow_methodPageDef.empInfoIterator.currentRow.dataProvider.name}</from-value>
            <to-value>#{data.com_test_viewEmployeePageDef.name.inputValue}</to-value>
          </input-page-parameter>Thanks.

  • How can I repair "Page Set-up" in OS 10.4.11 (it stopped working)

    On my old Powermac G4 my Page Sset-up cannot be opened anymore.
    I have some Appleworks 6.2.9 spread sheets with multiple pages, which I need to print on an Epson 580 Printer,
    the Print command in the File pulldown asks to "use the Page Set-up first", but  if I pull it down and click on it, it says
    the same thing and does not show any dialog.
    Is "Page Set-up"  part of Appleworks, or part of the Epson Printer Software, or is it part of the OS?
    I got all the original disks for all that software, but reinstalling the whole works would take days
    (...and may cause something else to disappear that I might not have on disk)
    Your help is appreciated.  

    Hello Klaus, thanks for the Help.  I reinstalled my Epson RX 580 Printer Software, then updated the drivers from the Epson Website.
    Page Set-up was still not working.
    So  I reinstalled Appleworks 6, then updated it to 6.2.9.  ( I got all the disks and saved all the Uppdate .dmg's)
    I have 4 built-in hard drives, the largest one split into 3 separate volumes one of which is Techtool's E-drive), 3 of them have more or less the same data on it for back-up, all but one have their own boot start.
    I had the same problem with all the drives. Each day I update Appleworks spreadsheets which have 4 pages, then save with new date.  I seldom need to print them, and never had any trouble doing so, until this time.
    I went back a few years and picked one of the dated spreadsheets, opened it, then tried Page-Set-up and it worked.  It did that several times until I had narrowed down to the first dated SS in which Page set-up did not work:  It was dated Oct 1, 2009.  All later sheets had the same problem no Page Set-up possible, all earlier sheets were not so affected.
    I made a copy of the last working SS, saved it as a template, erased all the data, then tried Page Set-up and it worked,  I copied the data from a later sheet into it, and saved to desk under new name.  I tried Print using PDF Print, then noticed that the old sheet I had used as template had only 3 Pages. 
    I had to add new cells to get my 4 Page system back.  But here was a new problem, I could print, but it would only print the old cell range from the 3 Page spreads.  There was no way to print sheet 4.  Even the extra cells in sheet 3 would not print.  Now that must be caused by Appleworks!  Or rather the Appleworks updates which had been all over the place in their last glory days.  (I had  tried to back-peddle trying with Appleworks 6 and Appleworks 5, even Clarisworks, well it did not work but Appleworks 6 files now add the extension  .cwk to all files - even though Preferences are set to "No Extensions" and I click on "No Extensions" while saving files.  The only way to get rid of these extension is to save the file, then highlight the name of the file
    in its folder, and change delete the extension from the file name.  If this file is then opened up and saved a under a new nme the extension is gone from the new file as well.)
    I just about gave up here.  I had checked all the disks with Disk Utility to verify Permissions, and check the Volumes.  Nothing was found.   I brought in the Techtool  and checked all the drives , and volumes:  nothing found.  I noticed here that my most actively used drive needed defrag, and so I used Techtool to defrag.  I tried the next day and discovered that the new 4 page spread sheet template would now print all pages!
    So now I know what to do If I need to print from an old spresdsheet that has no Page Seutp.  I simply copy its contents to my new 4 sheet template.   All my new sheets are now done using the new template.

  • Error in saving  large value with the data input query

    Hi,
       I  am  trying to save a large value in 0Quantity using the data input query into a realtime infocube
    e-g
    123456789.1234
    Error says too many digits.
    When i try to save 8 digits before the decimal point ,no error, if it is 9digits before decimal it's thro' error.
    Is there any limitation before the decimal.
    i know that 0Quantity can take 17 digits including the sign.
    Any suggestions.?
    regards,
    ram

    try budgetting in thousands in stead of units? (setting on query itself)
    D

  • How to display current system Date in the Date Input field ?

    Hi,
    I am having a Date Input field( binded to Data type). On load, i would like to display the current system date filled in that input field.
    How do i achieve this ?
    Reg/Venkat

    Hi Venkatesan,
    In your view in your init() method add the following code:
    wdContext.currentContextElement().setOrderDate(new Date(System.currentTimeMillis()));
    this is if your Date-attribute is in the root of the context.
    else you have to set the date in the node where the date-attribute is present with:
    IYOURNODEElement node = wdContext.createYOURNODEElement();
    node.setOrderDate(new Date(System.currentTimeMillis()));
    regards,
    Björn

  • How to iterate the webservice Data control result set?

    Hi all,
    How to iterate the webservice Data control result set? I have an jsff page where I am displaying the single UserDetails by webservice DataContol. As per my design requirement I should iterate the DataControl resultSet to get the user details and push the same in to Managed bean. Please help me how to do this, any sample code please to iterate the resultset and get the data from it.
       <?xml version='1.0' encoding='UTF-8'?>
       <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:c="http://java.sun.com/jsp/jstl/core">
       <c:set var="uiBundle" value="#{adfBundle['edu.syr.oim.uiBundle']}"/>
       <af:pageTemplate viewId="/templates/jsffTemplate.jspx">
        <f:facet name="fTop"/>
        <f:facet name="fCenter">
          <af:panelGroupLayout layout="scroll" inlineStyle="width:100.0%;">
       <af:panelTabbed id="pt1">
        <af:showDetailItem text="#{uiBundle.PRIVACYFLAGS}" id="sdi4">
                <af:panelGroupLayout id="pgl4" layout="scroll">
                  <af:spacer width="10" height="10" id="s3"/>
                  <af:panelFormLayout id="pfl6">
                    <af:panelLabelAndMessage label="#{uiBundle.STUDENTEMAIL}"
                                             id="plam35">
                      <af:outputText value="#{bindings.stuEmail.inputValue}"
                                     id="ot42"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.STUDENTHOMEADDRESS}"
                                             id="plam39">
                      <af:outputText value="#{bindings.stuPermAddr.inputValue}"
                                     id="ot35"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.STUDENTHOMEPHONE}"
                                             id="plam40">
                      <af:outputText value="#{bindings.stuPermPhn.inputValue}"
                                     id="ot37"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.STUDENTCURRENTPHONE}"
                                             id="plam42">
                      <af:outputText value="#{bindings.stuCurrAddr.inputValue}"
                                     id="ot40"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.STUDENTCURRENTPHONE}"
                                             id="plam36">
                      <af:outputText value="#{bindings.stuCurrPhn.inputValue}"
                                     id="ot38"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.STUDENTACAINFO}"
                                             id="plam41">
                      <af:outputText value="#{bindings.stuAcad.inputValue}"
                                     id="ot36"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.EMPHOMEADDRESS}"
                                             id="plam38">
                      <af:outputText value="#{bindings.empPermAddr.inputValue}"
                                     id="ot39"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.EMPHOMEPHONE}"
                                             id="plam37">
                      <af:outputText value="#{bindings.empPermPhn.inputValue}"
                                     id="ot41"/>
                    </af:panelLabelAndMessage>
                  </af:panelFormLayout>
                </af:panelGroupLayout>
              </af:showDetailItem>
       </af:panelTabbed> Above is my jsff code. Here how/where to add the phase listener to paopulate the managed bean while page render. Do I need to iterate the DC to get and push the each parameter in to ManagedBean or is there any easy way to do this by EL mapping directly at jsff. Please clarify.
    Thanks
    kln

    That is what exactly I am trying right now. I am binding each of my page fragment outputText item in to backing bean and by that way trying to populate the values.
    But the issue here is, the backing bean method doesn't getting any value until I hit any of the link or the button in the fragment. While loading the page the bean set and get is null. If i hit any link or button it is filled up with the vaule. As per my design, I would like to populate the bean method along with page load before any user action. But cant able to do this!! :(
    Below is my sample code what I am trying right now
            <af:panelLabelAndMessage label="#{uiBundle.NETID}" id="plam13">
                      <af:outputText value="#{bindings.netid.inputValue}" id="ot4" binding="#{UserDataBean.netId}"/>
           </af:panelLabelAndMessage>
    backing bean ex:
    private RichOutputText netId;
    static String netidVal;
        public void setNetId(RichOutputText netId) {
           netidVal= netId.getValue() == null? "":netId.getValue().toString();
           this.netId = netId;
        public RichOutputText getNetId() {
           return netId;
        public String getNetIdVal() {
           return netidVal;
        }Thanks
    kln

  • ADF 11g  Date input

    I am using date input component in ADF 11g.
    This component let u select only date. but I want the user be able to select date and time as well.
    which date component should I drop on page ?
    thx
    p

    All you have to do to see it in action is give your ADF BC EO date field the type of Timestemp instead of Date, and possibly add a nice format mask under the UI hints like: yyyy-MM-dd HH:mm:ss
    But, I do not have Entity Object in my application. ADF page was generated as part of "right click BPEL Human Task ---- Auto generate ADF Task Form".
    How do I have time as well in this case ?
    thx
    p

  • Calling Stored Procedure with a DATE input parameter

    Hi. A question about Date input parameters when calling a stored procedure...
    I have a procedure that takes a DATE parameter as input. I would like that DATE value to include a Time element.
    My Application Module method takes an input parameter as java.util.Date (myParamDate) - which will preserve a time element(?).
    However when I create the CallableStatement, I'm trying to set the parameter using setDate like this (for param 5):
                st = getDBTransaction().createCallableStatement("begin cs_my_pck.request_values(?,?,?,?,?,?,?,?); end;", 0);           
                Connection myConn = st.getConnection();
                ArrayDescriptor myArrDesc  =  ArrayDescriptor.createDescriptor("CS_FIELD_TABT", myConn);
                Array sqlParamNameArray = new oracle.sql.ARRAY(myArrDesc, myConn, paramNames.toArray());
                Array sqlParamValueArray = new oracle.sql.ARRAY(myArrDesc, myConn, paramValues.toArray());
                Array sqlFilterNameArray = new oracle.sql.ARRAY(myArrDesc,myConn,filterNames.toArray());
                st.setString(1, repType);
                st.setObject(2, sqlParamNameArray);
                st.setObject(3,sqlParamValueArray);
                st.setObject(4,sqlFilterNameArray);
                java.sql.Date myRepDate = new java.sql.Date(myParamDate.getTime());
                st.setDate(5,myRepDate);
                System.out.println("Report Date = " + myRepDate.toString());
                st.setString(6,repUser);
                st.setString(7,repAttach);
                // set out param
                st.registerOutParameter(8, Types.NUMERIC);
                st.execute();I understand java.sql.Date does NOT include a Time element. But setDate() accepts only a java.sql.Date so my procedure parameter ends up with a zero time element.
    How do I call this procedure retaining the Time element?
    Thanks.

    It includes time element, if you want more precision go with timestamp.
    http://docs.oracle.com/javase/6/docs/api/java/sql/Date.html

  • Why Excel insert cell block, hasn't input for data input?

    Hi
    I found a block for insert new row in excel, but there is no input for data input. how should I insert data by this block to excel file? can you help me?
    that block name: Excel insert cells
    in report generator toolkit
    Best Reagards

    behzad1 a écrit :
    I could work with  Excel insert cell block, but when I want add new data to an old row continuation, last row shift downward! while I want add data to old row. anyone can help me?
    Nobody will be able to identify the problem without seeing your code. Excel Insert Cells.vi is used to add cells to an existing spreadsheet, not to set the cell value. To do this is a more specific way than the Append Report Text.vi you can use Excel Easy Text.vi or Excel Insert Table.vi. With these vis you can specify the range where you want to insert something.
    For your other question (Two different data types) you can use the Excel Set Cell Format.vi to format a range as a date or something else. You will need to use the Excel format specifiers for this.
    Ben64

  • Issue in passing data from PAge A to Page B

    Hi
    I have a scenario where I am trying to pass data from Page A to Page B. This data has to
    be passed on the click of a button. On the button's event, I have set the paramaters that
    I want to pass. I have passed these params in a hashmap in pageContext.forwardImmediately
    method.
    Page A has the requisition records. Clicking the radio button against one of these
    records and clicking the Lines button should take me to Page B with that Requisition VO's
    Row.
    In Page B, there are 2 parts..
    (1) A header which displays the requisition details like Req Number, Current Version,
    Previous Version etc
    (2) A table (Advanced Table) regiion which displays the Line details per that Requisition
    (Each Requisiton has 'n' lines).
    I am also getting the paramater value(s) in Page B's controller's processRequest.
    Here, I am calling the init methods on both the requisitionsVO and the linesVO which calls the executeQuery() methods. I thought that this will populate the Page B as the VO's columns are mapped to the
    respective fields in the Page. But I am not able to see any data on Page B. Am I missign anything here.

    reinitlize the VO
    By this do you mean the following :
    In the Controller:
    String reqNum = (String)pageContext.getParameter(PoConstants.PO_REQUISITION_KEY);
    if(!PoUtils.isEmpty(reqNum)) {
    Serializable[] param = {reqNum};
    Class [] paramTypes = {reqNum.getClass()};
    am.invokeMethod("initPoReqHeadersQuery",param, paramTypes);
    In the AM:
    public void initPoReqHeadersQuery(String criteria)
    OADBTransaction txn = this.getOADBTransaction();
    if ( txn.isLoggingEnabled(oracle.apps.fnd.framework.OAFwkConstants.PROCEDURE))
    txn.writeDiagnostics(this, "initPoReqHeadersQuery.begin", oracle.apps.fnd.framework.OAFwkConstants.PROCEDURE);
    PoReqPendingForAcceptanceVOImpl vo = getPoReqPendingForAcceptanceVO1();
    vo.initReqQueryAction(criteria);
    if(!PoUtils.isEmpty(vo)) {
    PoReqPendingForAcceptanceVORowImpl row = (PoReqPendingForAcceptanceVORowImpl)vo.first();
    if(!PoUtils.isEmpty(row)) {
    vo.setCurrentRow(row);
    if ( txn.isLoggingEnabled(oracle.apps.fnd.framework.OAFwkConstants.PROCEDURE))
    txn.writeDiagnostics(this, "initPoReqHeadersQuery.end", oracle.apps.fnd.framework.OAFwkConstants.PROCEDURE);
    In the VO:
    public void initReqQueryAction(String criteria)
    OADBTransaction txn = (OADBTransaction)getApplicationModule().getTransaction() ;
    if ( txn.isLoggingEnabled(oracle.apps.fnd.framework.OAFwkConstants.PROCEDURE))
    txn.writeDiagnostics(this, "initReqQueryAction.begin", oracle.apps.fnd.framework.OAFwkConstants.PROCEDURE);
    setWhereClauseParams(null);
    setWhereClause(null);
    setWhereClause("SEGMENT1 = :1");
    setWhereClauseParam(0,criteria);
    executeQuery();
    if ( txn.isLoggingEnabled(oracle.apps.fnd.framework.OAFwkConstants.PROCEDURE))
    txn.writeDiagnostics(this, "initReqQueryAction.end", oracle.apps.fnd.framework.OAFwkConstants.PROCEDURE);
    }

Maybe you are looking for