Image in ADF form, through BPM binary datatype

hi All,
I have a scenario in bpm 11g, where a user will upload the image file and after process completion it will persist to database. I tried defining the binary datatype for holding that image, but that binary type is not displaying as image in any subsequent task. Additionally, i fetched the Blob type, containing image from the database through database adapter, it also is not been shown in the adf data table. What am i doing wrong? (Found a servlet work around, but want this to be done through bpm drag and drop). Is it possible?
Thanks

Hi Asad, I'm sorry for this late answer :(
Please follow this steps:
1- Create a new manage bean with request scope.
2- Select from the page the image component and go to the property inspector in the attribute bindings and edit it, select the manage created and write a name for the component. You w'll see in the manage the attribute created.
3- In the manage bean, put this (private UploadedFile _file;) as an attribute from the class and create the accessors.
4- Do the same thing for the property value for the inputFile componet, select the manage and then the field _file* .
5- For the inputFile select, in the property valueChangeListener select the method in the manage and set true to the property AutoSubmit
The Manage can be this one, adapt it if you need it:
I already test it, so I realy hope this work wor you:
Note: Create the directory "img/tmp" in the public_html folder of the project
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import javax.faces.context.FacesContext;
import javax.faces.event.ValueChangeEvent;
import javax.servlet.ServletContext;
import oracle.adf.view.rich.component.rich.output.RichImage;
import oracle.adf.view.rich.context.AdfFacesContext;
import org.apache.myfaces.trinidad.model.UploadedFile;
public class MyBean {
    private UploadedFile _file;
    private RichImage myImage;
    public MyBean() {
    public void ValueChangeListener(ValueChangeEvent valueChangeEvent) {
        _file = (UploadedFile)valueChangeEvent.getNewValue();
        if (_file != null) {
            //You can add some other validations here...
            myImage.setSource("/img/tmp/" + writeToFile(_file));
            AdfFacesContext.getCurrentInstance().addPartialTarget(myImage);
    private String writeToFile(UploadedFile file) {
        ServletContext servletCtx =
            (ServletContext)FacesContext.getCurrentInstance().getExternalContext().getContext();
        String imageDirPath = servletCtx.getRealPath("/img/tmp");
        String fileName = getTime() + file.getFilename();
        try {
            InputStream is = file.getInputStream();
            OutputStream os =
                new FileOutputStream(imageDirPath + "/" + fileName);
            int readData;
            while ((readData = is.read()) != -1) {
                os.write(readData);
            is.close();
            os.close();
        } catch (IOException ex) {
            System.out.println("-----------------ERROR MESSAGE------------------ \n");
            System.out.println(ex.getMessage());
            System.out.println("-----------------FULL STACK TRACE------------------ \n");
            ex.printStackTrace();
        System.out.println(imageDirPath + "/" + fileName);
        return imageDirPath + "/" + fileName;
    private String getTime() {
        Calendar cal = Calendar.getInstance();
        Date time = cal.getTime();
        SimpleDateFormat sdfh = new SimpleDateFormat("HH");
        SimpleDateFormat sdfm = new SimpleDateFormat("mm");
        SimpleDateFormat sdfs = new SimpleDateFormat("ss");
        return sdfh.format(time).toString() + sdfm.format(time).toString() +
            sdfs.format(time).toString();
    public void setMyImage(RichImage myImage) {
        this.myImage = myImage;
    public RichImage getMyImage() {
        return myImage;
    public void setFile(UploadedFile _file) {
        this._file = _file;
    public UploadedFile getFile() {
        return _file;
}Regards Dariel.

Similar Messages

  • How to link a custom ADF form to BPM workflow

    Hi All
    Hope you are doing well.
    I've a basic knowledge on BPM, but had to start off with a project.
    My scenario is as below.
    1. User A clicks on a task in his BPM Worklist which should trigger an email to the same guy with a link in it (which is an ADF form to create a new row in a db with some values)
    2. Now, A clicks on the link send to him on Email, which opens up an ADF form where he provides all the details, along with the reviewer name(say, B, typically his manager, but he has to provide it, not derived automatically using getManger()) and submit.
    3. Now, this action should trigger an Email to the reviewer that he has provided in the form(step 2) where he can either approve or reject, with comments.
    4. Once B approves, A has to get a notification email saying the row has been created.
    The row that gets created in a db is a WS operation (createProject(with all the details))
    I'm seriously confused in designing this requirement.
    If I start the workflow with a Initiator pattern, just a click on the task should send an email to himself...How can this be done?
    How do we get in the ADF form that is in a seperate prj in to this workflow?
    How do we capture the values from the ADF form in to the BPM workflow?
    Would some one throw some light on how do we capture this scenario
    Regards
    RaviKiran

    Hi Tom Daria,
    This should work in SharePoint workflow 2013 task form.
    You can follow the step in the article you provide to custom the task form page, I tested it with the step, it can successfully bind the custom form page to the task content type.
    In the form page approve button event, you can add the logic to redirect to another page. In the workflow, associate the workflow with the custom task content type that will use the custom task form.
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Want to scan an image from oracle forms -- Is it possible??

    Hi all,
    I want to scan an image from oracle forms through a scanner. I have not found any help on this topic. Pls help with example or code or with demmo form.
    BR
    Tarik.
    Edited by: Tarik_kuet on Sep 9, 2008 1:39 PM
    Edited by: Tarik_kuet on Sep 9, 2008 1:39 PM

    A colleague of me did it like this:
    * the scanner is connected to a network document server.
    * the document server sends(ftp) the image to the oracle XDB
    * a form shows the scanned documents(using a view on the ftp directory in XDB using path_view)
    * in this form the user can move the scanned document(s) to a (blob field) in a table.
    Hope this helps a bit...
    Edited by: poelger on Sep 9, 2008 10:08 AM

  • ADF forms based on BPM human tasks - Invoking webservices/view objects.

    Hi All,
    Is anyone aware of whether the following is a valid implementation that has been carried out before.
    1. ADF forms based on BPM 11G human tasks.
    2.The ADF forms invoke webservices via Webservice data controls. It is pertinent to note that the webservice bring back complex data types. We've tried writing a few forms, resulting in data benig brought back, but not being able to print them to the screen.
    3. The ADF forms also use View Object based on sql to bring back tables of data. If view objects are embedded within the forms, the applciation gives rise to a null pointer exception.
    Considering the form will be invoked via a BPM worklist entry, is there a setting or configuration we should consider before hand. Is this feasible, is there knowledge of this being done commercially.
    Any examples or information regarding the same will be immensely helpful.
    Thanks and Regards,
    Preethi.
    NB : I have posted this in the BPM forum as well as I feel it is relevant to both BPM and ADF.

    Hi Joonas.
    Plese let me explain me better for your understanding
    A big summary for what I meant it's the following:
    1- In the procces you made, when you add the HT activity, you have to implement it, this means declare the input(s) parameters you want. This implementation create the .task file.
    2- Create an application, and projects as HT you have. Each poject are based on the .task file, and automatically create a Data Control (for each project based on a .task) with all you need.
    This w'll be an empty application, so you can customize it all you want. The task selected should have all the parameters previously defined. Those parameters can change if you want.
    2- Create a page(s) in the task flow for the task implementation. You can even split the the payload of the task in differents pages, create your custom pages and any logic you need.
    3- An important aspect is how to match these application with the HT implemented in the process. It's possible, it's a configuration en the Enterprise Manager.
    4- Deploy your application
    All these are explain in the book I mentioned
    Th book you can find it here:
    https://blogs.oracle.com/soacommunity/entry/oracle_soa_suite_11g_handbook_1
    Regards Dariel.
    PS: Please, let me know if you need more details.

  • How deploy BPM process with ADF form?

    Hi everybody,
    I'm a newbie on BPM (11g) and ADF. I've created a BPM process and an ADF train into the same project.
    I was wonder if I can deploy the ADF stuff and start to test only the train before hook up the ADF form with the UserActivity.
    How I can do that? How can deploy it? Better create a jar or ear?
    Any suggestions?
    Best Regards.
    Fairlie

    Hi Daniel,
    yes I have two separate projects - BPM and ADF - in the same applications.
    For now, I'd like to work only on ADF project implementing the front end that I will use in next future into my BPM project.
    Every time I click on Run on the main page in ADF project, JDev tries to deploy the entire application.
    I need to work only on ADF for now and testing it. The soa server is on remote server.
    I've tried to deploy the ADF project on remote server and I get this error:
    'Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp
    Caused by: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter'.
    I've checked the oracle.adf.model library class path and It's ok...so I do not understand why I get this error.
    What do you think is better to do? Trying to deploy the ADF with war, jar or ear...or...?
    Thanks a lot for any suggestions.
    Fairlie

  • Invoking ADF 11g pages through BPM

    Hi,
    It would be appreciate if anyone can guide me on Invoking ADF 11g pages through BPM.
    Thanks
    MC

    I know this is a very old post but I was strugglign for quite some time to find a proper reply to this hence thought to update this post for others to save time.
    Check hbuelow's reply @ Unable to see the application in BPM Workspace for Sales Quote tutorial

  • Populate BAM data object through adf form.

    I want to populate a BAM data object using adf form as we do in case of database table by creating a data control. How to do this?

    Hi Simanta
    1. I am seeing lot of posts from you regarding this Java to BAM Data Objects integration.
    2. What exactly are you trying to do. Dataobjects are very tightly coupled with actual Database component that is used to create that like Table or View etc.
    3. Best way is. Create a data object. Export that DataObject using "icommand". See docs for this command usage.It generate a pure .XML file with all the details like DataObject name, external referenced Database details (datasource name), external Table or View details. Then mapping for EACH column on this object and that database stuff. Just see the xml file, Its pretty straight forward. When you Export Reports also, it creates an XML File exactly like this only but with more details like all column Formatting information etc etc. Export one Report also and see that xml 4. file.
    4. Both above XML Files are stored in ORABAM Schema. Tables of interest are :SysIterDataset, SysIterParameter, SysIterParameterValue, SysIterReport etc.
    5. Oracle do NOT expose any Public APIs to handle above stuff. But if you really really want, you can always manipulate XML content and reload to those columns any time. Need to add few query parameters to get exact row like ReportId, or DataObject Id which are just PKs etc.
    Still, I am curious why and what is the usecase where you want to do all this from Java code. Because DataObject is a one time thing. And note that it is used in Report. So if you modify data object like remove a column, then Report will die.
    By the way, all the WebServices exposed may be for ReadOnly purposes. I am not sure if you have services to modify them.
    Thanks
    Ravi Jegga

  • Insert new row into oracle databse through application module usng ADF Form

    I am using Jdeveloper 11.1.2. I am a beginner. I had tried in-built createInsert and commit method to add new row into oracle DB. For that, I had created ViewObject, VOImpl and AMImpl. Then, I created to jsf page. On first page, I dragged and dropped createInsert fn and VO(as ADF-readonly table) from DC Palette. and on second page, I dragged and dropped my VO(as ADF-Form) and commit (as Button) from DC palette. I created task-flow for it. when i click on createInsert button, i redirected to second page. where i filled all the required information on form. After filling, when i clicked commit button, i redirected to first page.(coz i created task flow to return first page after commit). New row is inserted into ADF-table, but when i checked my oracle DB, there was nothing added.
    Thus, I want to use custom method to insert row into OracleDB. So how can i get this? what are the steps required to do this? what programming codes required in Bean.java and AMImpl.java. Or is there any other steps to do this?
    please provide me detail steps and programming code for bean, amimpl or for VOImpl or EOImpl.
    please help me.

    User,
    To insert a row into the db you have to use a VO which is based on an EO (entity object). There is no java class (or impl) needed. You can all do this decoratively.
    All you have to think of is the PK of the new row. You can use Groovy for that (http://tompeez.wordpress.com/2011/09/02/using-groovy-expression-to-set-a-primary-key-with-a-sequence-number/)
    The rest is like you described it yourself. Drag the Vo onto the page, drop it as read only table, drag the createInsert onto the page as button and set up the navigation. On the second page drag the same VO onto the page and drop it as ADF Form. drag the commit operation onto the page as button and setup the navigation back to the first page.
    Timo

  • ADF table and ADF form on the same view object

    Hi,
    As per the ADF demos available on ADF site, I created a jsf page with 2 panels. One panel is an ADF table based on a view object. And the other panel is and ADF form based on the same view object. My requirement is that as I scroll through the records in the ADF table, the ADF Form should dynamically display the details of the record in the ADF table. My understanding is that this should be automatic. However, its not working as expected. What have I missed?

    Hi,
    Apply PPR for form that displays details.
    Like :
    <af:table id="t3">
    </af:table>
    <af:panelFormLayout id="pfl2" partialTriggers="t3">
    </af:panelFormLayout >

  • Issue while reflecting the data to ADF form from ADF Table

    Hi All,
    I have one scenario as follows:
    I have to open a form in entry mode. So I have used a Method Call activity in task flow to call "Create" in method call activity.
    Then form opens in a entry mode. I have a adf table in the page showing the entered data.
    When form opens in entry mode, instead of entering the values in the field User selects a record in ADF table, but due to the create mode of the form it will through me a error to fill mandatory fields.
    Please tell me the way so that if user selects the record(in adf table) instead of entering new record, the value would reflect in the Adf form.
    If I use a roll back on selecting the row of ADF table, then it is showing me this error "Row currency has changed since the user interface was rendered. The expected row key was oracle.jbo.Key[null ]" because there will be no row key in the cache when form opens.
    Please suggest me the way to complete the task.
    I am using jdeveloper 11.1.2.1.0
    Thanks,
    Gobi
    Edited by: gobinkl on Oct 3, 2012 2:06 AM

    no no your are complicating yourself. :) better your should provide your usecase.
    first thing: go through the books & also adf blogs learn and understand the framework. as above person said.
    i hope that you had method call create as activity as default while page rendering it make your af: form empty(that is ready fir insertion format).
    so if your are doing like that.am sure it will throw some mandatory errors.
    error will not resolve unless without entering any data's.
    coming af:table why are using af:table - immediate = true / false(switching).
    immediate = true - skip over validation or by pass some validation in some phase - based on the component which you are using. (say as if you are using editable value holder,af:coomand button).
    grab the information here in an more legible manner.
    http://adfpractice-fedor.blogspot.in/2012/02/understanding-immediate-attribute.html
    let me know your usecase.
    this will assist you
    https://blogs.oracle.com/shay/entry/executing_an_action_on_jsf_pag
    http://tanveeroracle.blogspot.in/2009/09/adf-11g-createinsert-to-display-blank.html
    Edited by: user707 on Oct 5, 2012 9:02 AM

  • Displaying images in ADF Table

    I have a column in table of type blob. I created entity and view against it. In view type of attribute is blobdomain (by default). Now when i drop that view on form to create table, it places control inputText for blob. I want to ask how i can display images in ADF table column?

    Check this post:
    Re: multi-row block with many image-java-beans
    How to display the content of a BLOB column in a ADF/BC pages ?
    and this might be helpful too:
    http://www.pascalalma.net/2008/04/22/oracle-adf-medior-rendering-images-based-on-blob-columns/
    Regards,
    ~Krithika

  • Images and XML forms and Images and scaling

    Hello,
    I have two questions about using images in XML forms.
    1) How do I insert images into the XML form editor.
    The thread HTML Editor in XML Form? (Posted: Aug 26, 2004 7:50 PM), discuss how the HTML Editor in XML forms can be extended to be able to insert images like in the KM editor.
    Has anyone any practical experience with this?, as the thread is fairly old.
    And is there other solutions which are more suited?
    The portal is running on WAS 6.40, EP 6.0 SP11
    2) Is is possible for the portal to scale images
    In the portal, different users will use XML forms to publish news stories. These users will want to publish images along with the text.
    In many content management systems, the system will automatically scale the images (e.g. create one thumbnail, a mid-size image and keep the full size) Can this be achieved in the portal.
    The reason for this is to make sure that no one can post a very large image and to make sure each image is the same size.
    I'm interested in hearing how other people, solve the issue with uploading and scaling of images used in the portal.
    Kind regard,
    Jørgen Ruud
    Will reward SDN points.

    Hi Sumit,
    Just to add to what Duncan had said ... please ensure the following things as well
    1. Access portal using FQDN
    2. Maintain proper browser settings http://wiki.sdn.sap.com/wiki/display/EP/MSIE6BrowserSettingsforaccessingSAP+Portals
    3. Please go through the forum link http://forums.sdn.sap.com/thread.jspa?threadID=1814082
    Regards,
    Mahesh

  • How To: Use ADF Form in "Insert" Mode in jDeveloper 12c

    Hi all,
    I'm in the process of learning jDeveloper and after going through the basics, a task that I'm trying to accomplish is to have a ADF Form load in "Insert" mode rather than the default "Update" behavior. After significant searches, the closest that I could come to was Create-adf-input-form post. But since that tutorial is based on the 11g version, I'm struggling to find an equivalent of that in 12c.
    Can anyone point me in the right directly and help me in determining how I would achieve the same in 12c?
    Thanks,
    Nisar

    Nisar,
    If you want the newRow to be readily available when the page loads, you call vo.createRow() in a AM method and expose that method as a client interface. Call this method on the page load.
    The below links might help to call method on page load:
    Johny's Tips: ADF: How to execute the ViewObject with a ViewCriteria on the PageLoad in ADF Web Application
    https://blogs.oracle.com/aramamoo/entry/an_epic_question_how_to
    This link helps to know how to create VO row programatically.
    http://www.awasthiashish.com/2012/12/insert-new-row-in-adf-viewobject.html
    Let us know if you face any issue while implementing.
    Cheers
    AJ

  • SQL Server 2000 - Valid Binary datatype and valid character datatype:

    SQL Server 2000 - Valid Binary datatype and valid character datatype:
    Which is not a valid binary datatype :
    BIT , IMAGE, TMESTAMP
    Which is not a valid Character datatype :
    VARTEXT , BLOB , TEXT

    BOL 2014: "
    Data Types (Transact-SQL)
    SQL Server 2014 
    Data Type Categories
    Exact Numerics
     bigint
     numeric
     bit
     smallint
     decimal
     smallmoney
     int
     tinyint
     money 
    Approximate Numerics
     float
     real
    Date and Time
     date
     datetimeoffset
     datetime2
     smalldatetime
     datetime
     time
    Character Strings
     char
     varchar
     text
    Unicode Character Strings
     nchar
     nvarchar
     ntext 
    Binary Strings
     binary
     varbinary
     image
    Other Data Types
     cursor
     timestamp
     hierarchyid
     uniqueidentifier
     sql_variant
     xml
     table
     Spatial Types "
    LINK: http://msdn.microsoft.com/en-us/library/ms187752.aspx
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • ADF Forms Issue

    Hi All,
    I am fairly new to JDeveloper so please bear with me.
    Based on the ADF Tutorial for Forms/4GL developers I have developed a simple ADF form that edits data on a database table. The table is built from a data control, has bound managed session beans for each of the editable items and has 2 simple command buttons - 1 to submit changes to the form (action listener -> commit), the other to rollback (action listener - rollback)
    The form compiles OK and then runs OK via the OC4J Embedded Server.
    However when trying to use the command buttons to perform a submit changes or to rollback the operation is not performed and it also looks as though the resulting redirecting URL is not correct. The original URL appears on the link with just the # (hash) sign appearing after it e.g.
    http://10.101.7.34:8989/Data_Maintenance-Data_Maintenace-context-root/faces/app/grademaintain.jspx
    becomes after clicking on a command button -
    http://10.101.7.34:8989/Data_Maintenance-Data_Maintenace-context-root/faces/app/grademaintain.jspx#
    I have also noticed that the range selector on the table is also not working and displays the second URL above.
    Can anyone advise what I am doing wrong and why JDeveloper may be doing this ?
    Please find source for the page below :-
    ============================================================
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <afh:html>
    <afh:head title="grademaintain_edit">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    </afh:head>
    <afh:body>
    <h:form>
    <af:messages/>
    <h:form>
    <h:form>
    <af:panelPage title="#{res['fpgrademaintain.pageTitle']}">
    <f:facet name="menu1"/>
    <f:facet name="menuGlobal"/>
    <f:facet name="branding">
    <h:graphicImage height="85" width="137"
    url="/images/ids_logo2.JPG"/>
    </f:facet>
    <f:facet name="brandingApp"/>
    <f:facet name="appCopyright"/>
    <f:facet name="appPrivacy"/>
    <f:facet name="appAbout"/>
    <af:table value="#{bindings.GradeVwView1.collectionModel}"
    var="row" rows="#{bindings.GradeVwView1.rangeSize}"
    first="#{bindings.GradeVwView1.rangeStart}"
    emptyText="#{bindings.GradeVwView1.viewable ? 'No rows yet.' : 'Access Denied.'}">
    <af:column sortProperty="GradeId" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.GradeId}">
    <af:inputText value="#{row.GradeId}"
    required="#{bindings.GradeVwView1.attrDefs.GradeId.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.GradeId.displayWidth}"
    autoSubmit="true"
    binding="#{backing_app_grademain_edit.inputText1}">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.GradeVwView1.formats.GradeId}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="ChannelId" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.ChannelId}">
    <af:inputText value="#{row.ChannelId}"
    required="#{bindings.GradeVwView1.attrDefs.ChannelId.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.ChannelId.displayWidth}"
    autoSubmit="true" disabled="true">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.GradeVwView1.formats.ChannelId}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="Channel" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.Channel}">
    <h:inputText value="#{row.Channel}"
    binding="#{backing_app_grademain_edit.inputText3}"/>
    </af:column>
    <af:column sortProperty="Grade" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.Grade}">
    <af:inputText value="#{row.Grade}"
    required="#{bindings.GradeVwView1.attrDefs.Grade.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.Grade.displayWidth}"
    autoSubmit="true"
    binding="#{backing_app_grademain_edit.inputText4}">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.GradeVwView1.formats.Grade}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="ValueFrom" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.ValueFrom}">
    <af:inputText value="#{row.ValueFrom}"
    required="#{bindings.GradeVwView1.attrDefs.ValueFrom.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.ValueFrom.displayWidth}"
    binding="#{backing_app_grademain_edit.inputText5}">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.GradeVwView1.formats.ValueFrom}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="ValueTo" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.ValueTo}">
    <af:inputText value="#{row.ValueTo}"
    required="#{bindings.GradeVwView1.attrDefs.ValueTo.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.ValueTo.displayWidth}"
    autoSubmit="true"
    binding="#{backing_app_grademain_edit.inputText6}">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.GradeVwView1.formats.ValueTo}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="EffFromDate" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.EffFromDate}">
    <af:inputText value="#{row.EffFromDate}"
    required="#{bindings.GradeVwView1.attrDefs.EffFromDate.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.EffFromDate.displayWidth}"
    autoSubmit="true"
    binding="#{backing_app_grademain_edit.inputText7}">
    <f:convertDateTime pattern="#{bindings.GradeVwView1.formats.EffFromDate}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="EffToDate" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.EffToDate}">
    <af:inputText value="#{row.EffToDate}"
    required="#{bindings.GradeVwView1.attrDefs.EffToDate.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.EffToDate.displayWidth}"
    autoSubmit="true"
    binding="#{backing_app_grademain_edit.inputText8}">
    <f:convertDateTime pattern="#{bindings.GradeVwView1.formats.EffToDate}"/>
    </af:inputText>
    </af:column>
    </af:table>
    <af:commandButton actionListener="#{bindings.Commit.execute}"
    text="Submit Changes"
    action="Home"
    binding="#{backing_app_grademain_edit.commandButton1}"/>
    <af:commandButton actionListener="#{bindings.Rollback.execute}"
    text="Rollback"
    immediate="true" action="Home"
    binding="#{backing_app_grademain_edit.commandButton2}">
    <af:resetActionListener/>
    </af:commandButton>
    </af:panelPage>
    </h:form>
    </h:form>
    </h:form>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>
    ===========================================================
    Many thanks for your help in advance.
    Cheers,
    Gary

    Hi Gary,
    I'll just clear a couple of things up first.
    Both the command buttons and the range selector on the table should be pointing to that URL you mention (with the hash). This is the way that JSF/ADF works. Even if you have specified that a navigation case should redirect, it still first fires a request to the current page.
    As far as I can see, there is no obvious problem with your page code. There are some things I would do.
    1. You have three h:form components in your page. Remove the two below the af:messages component. You only need one form.
    2. Check that there exist Commit and Rollback executables in the page definition file (right-click on page and select Go to Page Definition).
    3. Check that there exists a navigation case from this page to the home page and that it is named Home (Look in the faces-config.xml file).

Maybe you are looking for

  • Connecting to a database from an application

    I have been trying to connect to a mysql database on my webspace using a java application on my pc but have had no success. I keep getting 'invalid authorization specification: access denied for user: myuserid@myipaddress PASSWORD=YES When i set up m

  • OutOfMemory Error when starting up WL Admin

    Howdy All, We have a production server hosting Weblogic on Solaris, Recently we are observing that when ever we are startin up the Weblogic Admin, we see the below exception. Exception in thread "VDE Transaction Processor Thread" java.lang.OutOfMemor

  • IPhoto uploads won't work.

    My iPhoto won't accept uploads from my Kodak camera since the last update. Message says it is an unrecognizable format. What can I do to fix this?

  • I can't get the variable with profile to work on the brush tool

    I've seen videos of people using that way online but I can't. The option is there but doesn't work. it works with the pencil but i need to over lap stokes and pencil alters the previous stroke.

  • Posting to JMS queue from WLI BPM 7.0

    Hi, I am trying to invoke a workflow process from a servlet by exchanging two JMS messages. I have configured my own JMS event queue com.bea.wli.bpm.EventQueueExt and generated and installed the MDB for it as described in the docs. The servlet sends