Justify property in ADF

Hi,
Can anyone let me know what is the property in ADF which is similar to justify property in Oracle Forms 6i.
jusitfy property in Oracle Forms 6i : Specifies the text justification within the item say left,right,centre,start,end
similarly how can we achieve in ADF .

Thank you for the reply but still i am not able to get the text in what ever alignment i give.
Could you please see the below code and let me know if i made any mistake.
My code :
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<f:view>
<af:document id="d2"
binding="#{backingBeanScope.backing_CurrencyFormatter3.d2}">
<af:form id="f2"
binding="#{backingBeanScope.backing_CurrencyFormatter3.f2}">
<af:inputText label="Currency"
binding="#{backingBeanScope.backing_CurrencyFormatter3.it1}"
id="it1" inlineStyle="text-align:center;">
<af:convertNumber type="currency" groupingUsed="true" />
<!--<f:validator validatorId="emailValidator"/>-->
</af:inputText>
</af:form>
</af:document>
</f:view>
<!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_CurrencyFormatter3-->
</jsp:root>

Similar Messages

  • Change rows property of ADF Table

    I am trying to set the rows property of an af:table object based on the value of a drop down box (af:selectOneChoice)
    http://img.photobucket.com/albums/v294/jammiedodgers/BrianS/Accounts-1.jpg
    I have tried this a number of ways but can't get the table to pick up the change unless I do a browser page refresh. I have the autoSubmit property of the drop down box set to true. It is bound to the rows property of my backing bean (which is also bound to the table rows property)
    af:table var="row"
    value="#{accountBacking.model}"
    rows="#{accountBacking.rows}"
    first="#{accountBacking.first}"
    banding="row"
    styleClass="table.sample"
    binding="#{accountBacking.table}"
    >
    <f:facet name="actions">
    <af:selectOneChoice id="rowChoice"
    label="Rows Per Page: "
    autoSubmit="true"
    value="#{accountBacking.rows}"
    valueChangeListener="#{accountBacking.rowChange}">
    <f:selectItem itemLabel="5" itemValue="5"/>
    <f:selectItem itemLabel="10" itemValue="10"/>
    <f:selectItem itemLabel="20" itemValue="20"/>
    <f:selectItem itemLabel="50" itemValue="50"/>
    </af:selectOneChoice>
    </f:facet
    Here is the code from by backing bean. (accountBacking)
    package com.stlouiscity.budget.jsf.beans;
    import com.stlouiscity.budget.database.beans.AccountBean;
    import com.stlouiscity.budget.database.dao.AccountDAO;
    import com.stlouiscity.budget.database.dao.DAOFactory;
    import com.stlouiscity.budget.jsf.delegates.AccountService;
    import java.util.List;
    import javax.faces.application.Application;
    import javax.faces.application.ViewHandler;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ValueChangeEvent;
    import javax.faces.model.DataModel;
    import javax.faces.model.ListDataModel;
    import oracle.adf.view.faces.context.AdfFacesContext;
    import oracle.adf.view.faces.model.SortableModel;
    import oracle.adf.view.faces.component.core.data.CoreTable;
    import oracle.adf.view.faces.event.ReturnEvent;
    public class AccountBacking implements java.io.Serializable{
    private AccountService acctService;
    private AccountBean account;
    private CoreTable table;
    private SortableModel model;
    private Integer first;
    private Integer rows;
    /** Creates a new instance of AccountBacking */
    public AccountBacking() { 
    acctService = new AccountService();
    AdfFacesContext afCtx = AdfFacesContext.getCurrentInstance();
    setFirst((Integer)afCtx.getProcessScope().get("first"));
    setRows((Integer)afCtx.getProcessScope().get("rows"));
    //afCtx.getProcessScope().clear();
    public CoreTable getTable() {
    return table;
    public void setTable(CoreTable table) {
    this.table = table;
    public SortableModel getModel() {
    if (model == null)
    refreshAction();
    return model;
    public void setModel(SortableModel model) {
    this.model = model;
    public AccountBean getAccount() {
    return this.account;
    public void setAccount(AccountBean account) {
    this.account = account;
    public void setRowData() {
    try {
    this.account = (AccountBean) this.table.getRowData();
    } catch (NullPointerException npe) {
    this.account = new AccountBean();
    public String editAccountAction() {
    setRowData();
    AdfFacesContext afCtx = AdfFacesContext.getCurrentInstance();
    if (getAccount() == null) {
    setAccount(new AccountBean());
    afCtx.getProcessScope().put("account",getAccount());
    afCtx.getProcessScope().put("first",this.table.getFirst());
    afCtx.getProcessScope().put("rows",this.table.getRows());
    return "EditAccount";
    public String deleteAccount() {
    setRowData();
    acctService.deleteAccount(this.getAccount());
    refreshAction();
    return null;
    public String refreshAction() {
    List list = acctService.getAccounts();
    ListDataModel listModel = new ListDataModel(list);
    model = new SortableModel(listModel);
    table.setValue(getModel());
    table.setRows(getRows());
    table.setFirst(getFirst());
    return null;
    public void rowChange(ValueChangeEvent event) {
    refreshAction();
    public Integer getFirst() {
    return first;
    public void setFirst(Integer first) {
    if (first != null) {
    this.first = first;
    } else {
    this.first = 0;
    AdfFacesContext afCtx = AdfFacesContext.getCurrentInstance();
    afCtx.getProcessScope().put("first",this.first);
    public Integer getRows() {
    return rows;
    public void setRows(Integer rows) {
    if (rows != null) {
    this.rows = rows;
    } else {
    this.rows = 10;
    AdfFacesContext afCtx = AdfFacesContext.getCurrentInstance();
    afCtx.getProcessScope().put("rows",this.rows);
    I am attempting to pass the rows and first property of the table into the process scope and then look them back up during the constructor. The backing bean is request scoped. I do no want to use a session scoped bean because I don't want to have to deal with thread safety.

    One thing...I use a technique mentioned in other threads to refresh the page that changes the view root to the page it is currently at. I call this after I return from a dialog: page to enact any change that the dialog page did that the current page should see. One problem here: the af:table does not seem to refresh (sometimes?), even when I put this partial target assignment in the return action listener of the button that enacted the dialog:...but I found a solution! In the life cycle I look for that view root to come up, tap into the backing bean of the current page to get the table UIComponent, and do this partial target assignment. Here is the lifecycle prepareModel code...
    String lCurrentView = fctx.getViewRoot().getViewId();
    if (PartialPageUtils.isPartialRequest(fctx)) {
    // Create an elsif for each form which has a popup you want to refresh from.
    if (lCurrentView.equals("/WPForm.jspx")) {
    CoreTable AccessoriesTable = (CoreTable)EL.get("#{WPForm.accessoriesTable}");
    AdfFacesContext.getCurrentInstance().addPartialTarget(AccessoriesTable);
    AdfFacesContext.getCurrentInstance().partialUpdateNotify(AccessoriesTable);
    super.prepareModel(ctx);
    Note: EL is a helper class that Steve M. (I think) wrote, which gets and sets ValueBindings. A similar functionality can be found in his ADFUtils and JSFUtils classes in the SRDemo app for ADFBC, downloadable from TechNet.oracle.com ...or the JDev help menu updates section.

  • Frozen property in adf:table

    Hai everyone, i was wondering why cant we freeze right side of the table or any particular column because frozen property is applied from left side columns.Can anyone share me with your ideas.
    Thanks in advance.
    Edited by: wyse14 on Feb 5, 2013 9:58 PM

    hai frank ,
    yes offcourse .But it is the actual reason or can we change the default format. My requirement is to keep last column frozen .
    Thanks and Regards

  • Problem with "disclosedRowKeys" property of ADF Rich Tree

    Hello friends :)
    I'm using JDeveloper 11g TP3 with adf rich components.
    I followed this Frank Nimphius’ post:
    http://thepeninsulasedge.com/frank_nimphius/2007/12/19/adf-faces-rc-initially-expanding-all-nodes-in-a-tree-or-tree-table/
    And I've done the same in my application. The problem is that it not shows all nodes. I don't know the reason, but in my case it only shows the two first nodes. But when I close and disclose the root node, then it shows all nodes.
    What do you think?
    Thanks in advance,
    Westh

    I also meet this problem, then someone told me that I should use "RowKeySetTreeImpl" replace with "RowKeySetImpl", so the tree can expand all levels of nodes.
    Hart

  • SkipValidation and Immediate property in ADF

    Hi All,
    I am having a table Action, with 'Actionid' field mandatory.
    I have 'Delete' button to which immediate="true"
    I am having a problem with deleting a row, which was just created and for some reason i want to delete without filling any details.
    Since it s having some fields as mandatory, i am not able to delete the row.
    With reference to my post here
    Re: Confusion in ADF command link settings - *URGENT* pls help
    I came to know the use of immediate=true. (Thanks Sireesha!!)
    I am able to delete the new blank row (without filling the mandatory columns),ie., the validation is somehw skipped.
    But as soon as, deletion is over, I can see the next row's (which is originally in the view) mandatory field get highlighted and is prompting to enter a new value. Something has gone wrong.
    With reference to the link
    Skip JSF/ADF Validator Phase  On Change of list value
    I came to know that setting immediate=true is not going to help to skipvalidation.
    and i checked using this method "FacesContext.getCurrentInstance().renderResponse()" in my bean for 'Delete' button
    But it dint help!! Can u pls suggest someother method for skipping validation.
    Thanks,
    Sabarisri. N

    Hi Frank,
    Can u help me to partially refresh a table , using java beans.
    I already hav a action listener bean for my Delete button. I have set the table to partially refresh from the design configuration.even then its not working.
    Now, i would like to do the same , by bean , inside the 'Delete' button's bean itself.
    Also, in one of your posts, you hav told that , immediate=true alone will not skipvalidation.
    Can u pls tell me ,what else i need to do ,to skip validation on my inputText.
    My scenario
    I have a 'Action Table'
    I have three buttons: Create, Save Changes, Delete
    My 'ActionId' field is mandatory. So , suppose if i click the create button and immediately click the 'Delete' button, it is asking me to enter some value in the mandatory filed.
    For this i made, the Delete button's immediate='true'
    Now wat happens is,
    When I click the Create and Delete, the new row(empty) is deleted. But , the control goes to the next row (ie., first row after this deleted row) and, it has deleted the original 'Actionid' value in the row which was already there, and asking me to enter a new value.
    If I remove the immediate=true, this wnt happen. but the thing is new row cannot be deleted unles i fill the mandatory field.
    Please tell me a solution for this.
    Thanks,
    Sabarisri. N

  • Looking for oracle.adf.view.faces.CHECK_FILE_MODIFICATION property

    Hi ,
    when i try to run a simple ADF form for the second time-one 'instance' of it has already run successfully some time ago , and the status of "embedded runtime OC4J SERVER" is running- i get the following error:
    INFO: ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    I have searched the web.xml file in the current application...(userInterface project->Web Content - > Web-Inf) but i have not found the property "oracle.adf.view.faces.CHECK_FILE_MODIFICATION"....
    Where is there declared...????
    NOTE : I use JDev 10.1.3.
    My greetings,
    Simon

    Hi,
    oracle.adf.view.faces.CHECK_FILE_MODIFICATION is a context parameter that in JDeveloper IDE is set to true by default. You can set this to false but then this means that the JSPX files are no longer compiled when running them in the embedded OC4J, which means you actually see the "old" version
    <!-- If this parameter is enabled, ADF Faces will automatically
    check the modification date of your JSPs, and discard saved
    state when they change; this makes development easier,
    but adds overhead that should be avoided when your application
    is deployed -->
    <context-param> <param-name>oracle.adf.view.faces.CHECK_FILE_MODIFICATION</param-name>
    <param-value>false</param-value>
    </context-param>
    Frank

  • How to use CSS to customise ADF component

    I'm not going into skin. However, I want to edit property of ADF component through CSS. How do we do this? Any url link that give complete documentation? (How to represent ADF Component in CSS)
    E.G. I want to set af:column noWrap=true to all table.
    Regards
    Eric H

    Hi,
    just a guess, but give it a try: customize the default Oracle skin as described in the blog post "Customizing BLAF for ADF Faces - easier than Skins for influencing colors and fonts by Lucas Jellema". You don't need to add custom skins, just edit the oracle-desktop.xss file.
    Then you can add a "white-space: nowrap;" property for the appropriate style, which very likely will be AFTableCellDataText. It will be something like this:
    <style name="AFTableCellDataText">
      <property name="white-space">nowrap</property>
    </style>HTH,
    Patrik

  • Issue Connecting from Oracle Business Component Browser - adf-config.xml

    There are similar posts in the forum to this, but I wasn't able to glean from them what I should do.
    Essentially, I tried Connecting by:
    right clicking on a node under a Model project, and selected TEST.
    When the Oracle Business Component Browser - Connect Dialog window opened, I clicked CONNECT.The Oracle Business Component Browser (Local) seems to have opened fine, but in the message log I see this:
    "jar:file:/C:/JDeveloper/jdev/doc/studio_doc/ohj/bc4j_f1.jar!/bc4j_f1.hs"
    Feb 10, 2007 10:16:30 AM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
    INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
    I'm not experienced enough to know whether this is significant or not, nor if so what I need to do about this.
    Thank you to anyone who can help a newer person out with this.
    Matt
    Studio Edition Version 10.1.3.1.0.3984
    Build JDEVADF_10.1.3.1.0_NT_061009.1404.3984
    ADF Business     Components 10.1.3.39.84
    BPEL Designer     10.1.3.1.0 (Build 061009.0802)
    Java™ Platform     1.5.0_06
    CVS Version     Internal to Oracle JDeveloper (client-only)
    I found this release note, which mentions both adf-client.xml and JClient; I'm still too new to know whether this helps with this or not, but I'm hoping it does for someone out there.
    Thanks again.
    ON: http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.0.3/readme.html
    JClient Security Still Requires AM Property Setting (4889913)
    JClient applications should continue to use application module configuration property jbo.security.enforce for enabling authentication and authorization.
    The authorizationEnforce property in adf-config.xml new in 10.1.3 is not yet supported for JClient
    Message was edited by: Matt
    matt.tech

    Hi,
    the adf-config.xaml file is not created by default and not needed by default. you need this to define custom skins or ADF Security.
    For an example of adfs-config.xml doe skins see SRDemo sample app
    Frank

  • [SOLVED] ADF - How to disable/enable CommandButton from JavaScript

    CommandButton is rendered as a image in HTML and image does not have disabled property in JavaScript. Is there some other way to dynamically change render property of ADF/CommandButton without auto submitting?

    - if you don't mind that it doesn't 'look' disabled, you can have an onClick return false
    - you might be able to hide it by putting it in the custom 'div' tag someone recently posted on this forum and then using visibility:hidden from the javascript
    - or you could put it in the div tag, or use a seperate div tag and float that on top, and play around with opacities
    - or you could just grit your teeth and do the partial submit. Hmm, speed vs. maintainability :-p

  • For everyone facing unexpected the JBO-25014 error using (ADF) BC

    Hi,
    I think I might have a hint for everyone facing JBO-25014 (Another user has changed the row with primary key oracle.jbo.Key) errors during updates.
    I noticed that during updates, we got unexpected behavior: we have a table with an update row trigger defined on it, where we set values for some columns. During updates via ADF BC (we work with JDev 10.1.3 SU3 and JHeadstart 10.1.3 build 78 against Oracle 8.1.7.4, 9.2.0.7 and 10.2.0.1) we noticed that the value of one of the fields updated via triggers was emptied, although the update could in no way hit the logic for this field. So I reproduced the behavior in the Application Module Tester and also reproduced it in SQL*Plus using a PL/SQL procedure: the problem occurs because of Oracle's RETURNING statement, which is used in ADF BC for fields that need refresh after insert of update. We seem to hit bug 4515623: "Update...RETURNING with a trigger can produce corrupt column data".
    This should be solved in RDBMS 9.2.0.8 (not there yet) and 10.2.0.2 (already released). I still have to test whether 10.2.0.2 does solve our problem, but I thought I would let you know in advance. Maybe someone can test before I can (I have to set up a 10G DB first, since I work with 9.2.0.7),
    Toine van Beckhoven

    Here is additional info on this behavior. I was able to install a 10G DB (10.2.0.1) where I could reproduce the problem. After that I installed patch 10.2.0.2 and tried out it the bug was solved. However: the bug is solved, but not correctly, a new bug is introduced which is still a major problem when you use ADF BC on top of tables with Before Update triggers (but as you can see below, with update triggers containing conditional logic!). So this is really a database problem, but with impact on applications using the refresh after update property in ADF BC! The new bug is known as bug 5115882.
    Here is the script I used to pinpoint the problem (I highlighted the things that really show the problem):
    DROP TABLE test_ts;
    CREATE TABLE test_ts (test_ts_id INTEGER PRIMARY KEY,
    status SMALLINT NOT NULL, someotherfield VARCHAR2(1), edittime DATE);
    CREATE OR REPLACE TRIGGER test_ts_time
    BEFORE UPDATE
    ON test_ts
    REFERENCING OLD AS OLD NEW AS NEW
    FOR EACH ROW
    BEGIN
    -- always update edittime
    :NEW.edittime := SYSDATE;
    -- only update someotherfield conditionally (when status=1)
    IF :NEW.status = 1
    THEN
    :NEW.someotherfield := 'Y';
    END IF;
    END;
    PROMPT Create one row, with status 1 and someotherfield initially 'N'
    INSERT INTO test_ts
    (test_ts_id, status, someotherfield, edittime
    VALUES (1, 1, 'N', SYSDATE
    SELECT test_ts_id, status, someotherfield,
    TO_CHAR (edittime, 'dd-mm-yyyy hh24:mi:ss') edittime
    FROM test_ts;
    SET serverout on
    PROMPT Update the row, with status 2 --> trigger logic will not fire
    DECLARE
    l_someotherfield test_ts.someotherfield%TYPE;
    l_edittime test_ts.edittime%TYPE;
    BEGIN
    FOR i IN 1 .. 100000000
    LOOP
    NULL;
    END LOOP;
    UPDATE test_ts
    SET status = 2
    WHERE test_ts_id = 1
    RETURNING someotherfield, edittime
    INTO l_someotherfield, l_edittime;
    DBMS_OUTPUT.put_line
    ( 'Returned SomeOtherField (should be ''N'' but is empty in 10.2.0.1): '
    || l_someotherfield
    DBMS_OUTPUT.put_line
    ( 'Returned EditTime (should be greater than selected one before): '
    || TO_CHAR (l_edittime, 'dd-mm-yyyy hh24:mi:ss')
    DBMS_OUTPUT.put_line ('-');
    END;
    PROMPT However: someotherfield is really 'N' so why is it returning NULL --> bug
    SELECT test_ts_id, status, someotherfield,
    TO_CHAR (edittime, 'dd-mm-yyyy hh24:mi:ss') edittime
    FROM test_ts;
    PROMPT Update the row, with status 1 --> trigger logic will fire
    DECLARE
    l_someotherfield test_ts.someotherfield%TYPE;
    l_edittime test_ts.edittime%TYPE;
    BEGIN
    FOR i IN 1 .. 100000000
    LOOP
    NULL;
    END LOOP;
    UPDATE test_ts
    SET status = 1
    WHERE test_ts_id = 1
    RETURNING someotherfield, edittime
    INTO l_someotherfield, l_edittime;
    DBMS_OUTPUT.put_line
    ( 'Returned SomeOtherField (should be ''Y'' and is ''Y'' also in 10.2.0.1): '
    || l_someotherfield
    ); DBMS_OUTPUT.put_line
    ( 'Returned EditTime (should be greater than selected one before): '
    || TO_CHAR (l_edittime, 'dd-mm-yyyy hh24:mi:ss')
    DBMS_OUTPUT.put_line ('-');
    END;
    PROMPT And see: someotherfield is indeed 'Y' so expected behavior
    SELECT test_ts_id, status, someotherfield,
    TO_CHAR (edittime, 'dd-mm-yyyy hh24:mi:ss') edittime
    FROM test_ts;
    Output on 10.2.0.1:
    Table dropped.
    Table created.
    Trigger created.
    Create one row, with status 1 and someotherfield initially 'N'
    1 row created.
    TEST_TS_ID STATUS S EDITTIME
    1 1 N 16-07-2006 15:11:35
    1 row selected.
    Update the row, with status 2 --> trigger logic will not fire
    Returned SomeOtherField (should be 'N' but is empty in 10.2.0.1): --> bug
    Returned EditTime (should be greater than selected one before): 16-07-2006 15:11:37
    PL/SQL procedure successfully completed.
    However: someotherfield is really 'N' so why is it returning NULL --> bug
    TEST_TS_ID STATUS S EDITTIME
    1 2 N 16-07-2006 15:11:37
    1 row selected.
    Update the row, with status 1 --> trigger logic will fire
    Returned SomeOtherField (should be 'Y' and is 'Y' also in 10.2.0.1): Y
    Returned EditTime (should be greater than selected one before): 16-07-2006 15:11:40
    PL/SQL procedure successfully completed.
    And see: someotherfield is indeed 'Y' so expected behavior
    TEST_TS_ID STATUS S EDITTIME
    1 1 Y 16-07-2006 15:11:40
    1 row selected.
    Output on 10.2.0.2:
    Table dropped.
    Table created.
    Trigger created.
    Create one row, with status 1 and someotherfield initially 'N'
    1 row created.
    TEST_TS_ID STATUS S EDITTIME
    1 1 N 16-07-2006 23:47:51
    1 row selected.
    Update the row, with status 2 --> trigger logic will not fire
    Returned SomeOtherField (should be 'N' and is indeed 'N' in 10.2.0.2): N --> ALLRIGHT, this correct, but look further...
    Returned EditTime (should be greater than selected one before): 16-07-2006 23:47:51
    PL/SQL procedure successfully completed.
    TEST_TS_ID STATUS S EDITTIME
    1 2 N 16-07-2006 23:47:54
    1 row selected.
    Update the row, with status 1 --> trigger logic will fire
    Returned SomeOtherField (should be 'Y' ...but is the old value 'N' in 10.2.0.2): N --> so a new bug has been introduced so a problem still remains!
    Returned EditTime (should be greater than selected one before): 16-07-2006 23:47:54
    PL/SQL procedure successfully completed.
    And see: someotherfield is indeed 'Y' so the Returned value is now not correct, like it was in 10.2.0.1
    TEST_TS_ID STATUS S EDITTIME
    1 1 Y 16-07-2006 23:47:56
    1 row selected.
    I am affraid we need to look at workarounds, because we rely heavily on before update triggers in the DB with conditional logic. I do not really want to change my triggers (for example removing conditional logic...). And it seems that waiting for the Oracle RDBMS to really solve this problem is not viable either (I saw notes that it will be solved in 11G, not in 10 or 9!).
    Anyone from the ADF development team that recognizes this problem and is able to verify that this really is a RDBMS problem? The testcases above run on every DB version as a regular user (for example SCOTT) with some create privileges),
    Toine

  • Sales cloud and On premise OBIEE integration

    Hello
    Customer has Sales cloud and on premise OBIEE 11g and would like to embed OBIEE dashboard to sales cloud customer screen. Simple adding of HTML iframe doesn't work, as I guess clickjacking protection is working. So question is how is possible embed on premise OBIEE dashboard to Sales Cloud. For on priemse Fusion application I found property oracle.adf.view.rich.security.FRAME_BUSTING which switch on or off clickjacking protecton. Is it possible to disable this property on Sales Cloud?
    What other way of embeding of OBIEE reports are available?
    Thanks in advance,
    Vladimir

    Hi Vladimir,
    the clickjacking protection you mentioned is indeed in place, but it is meant to prevent the embedding of Fusion Apps (incl. Sales Cloud) UIs into iFrames.
    Your scenario seems to be the other way around: you want to embed content into an iFrame provided by Sales Cloud, right?  In that case, the clickjacking protection of the embedded UI served by OBIEE comes into play.  And since it's on premises, you hopefully have control over it (though I don't know how you control it since I am not an OBIEE expert).  The way I typically test whether a page can be successfully iFramed is by building a very simple static html page hosted on a server somewhere, with its primary content being an iFrame for the desired page.
    For further reference, I wrote about iFrame issues on our blog: http://blogs.oracle.com/fadevrel/entry/troubleshooting_embedded_web_content
    Hope this helps!
    Oliver
    Fusion Apps Developer Relations
    https://blogs.oracle.com/fadevrel

  • Redirect from task-flow to an external link

    Hi,
    From a bounded task-flow I have to use an ePayment virtual system. I have some parameters to fill and call an external link. One of those parameters is the ReturnURL when the payment system will return after finishing the Credit Card payment.
    I am confuse about what to give to ReturnURL variable if the call is from a task-flow. Note that I need the return to be in a specific View inside the task-flow to let me modify/add some value to the DataBase.
    getHeader did not work because it gives the following:
    request.getHeader("Referer");
    http://localhost:7101/TasdeeqApp/faces/member-task-flow/certifyDocument?_adf.ctrl-state=12oyjcx0ho_27
    Any idea about how to develop this type of external payment server using ADF-faces?
    Task-Flow------->https://XXXX---->Back to a specific View inside the Task-Flow
    Thank you
    Jamil
    Edited by: Jamil Nour on Sep 20, 2010 6:47 AM

    Hi Jamil,
    First of all in your case as you want to return to the page in ADF from the epayment, you must to use the UN-bounded task flow with a page that has bookmark flag==true in order to be able to return to that page in your UN-bounded task flow.
    But if you are insist to use the bounded task flow when creating that task flow in the create page un-check the property use-page-fragment.
    then, drag a page ->.jsp not .jsff on that bounded task flow and when you run that page from bounded task flow you will see the address.
    use that address for the return-path.
    http://127.0.0.1:7101/test-forum-ViewController-context-root/faces/adf.task-flow;jsessionid=vGtgMYGSnFdyv1LQXhJ1yQ69MWT26ppvVJQdZTRyzKStrs5L2kHq!-448081696?adf.tfId=*task-flow-definition1*&adf.tfDoc=*/WEB-INF/task-flow-definition1.xml*&_afrLoop=1003390740777&_afrWindowMode=0&_afrWindowId=null
    those with bold is what the parameter must be included when you just right-click on the page on the bounded task flow and run it you will see the URL. just use that URL.
    But if you want to use page fragment to be included in the popup in the page it is not possible to return to them.
    to complicate the situation I have to add another problem that when you want to return to a page in the bounded task flow that page must be only the Entry point (the page with a green hollow around it) if you want to return to a page in the middle of the Task Flow you must use a router in the First Entry and that router base on some parameter from Request decide that go to which page.
    if you think this senario complecated just drop me an email and I will create a test case for you.
    another issue to consider is the property of adf.ctrl-state=16d41j3t8n4* generally when you want to return to an ADF application if you do not specify the exact adf.ctrl parameter to the URL when you want to return to ADF you will face some problem, to clarify the issue when you login to a ADF applicaiton a adf.ctrl parameter is generated that hold the user specific parameter when you leave ADF and want to return to ADF again, as you not login again(create fresh session), you want to continue your last session, you must return to ADF application with same value for ADFctrl.
    I hope this issues give you the idea. ;)

  • Webstart signing error

    hi
    I have deployed an ADF Swing application using Java Webstart in jdeveloper 10.1.3.3.0 and oracle version 10g.
    But when i run the application through HTML and it finish the download i get the following message error:
    JNLPException[category: Error de seguridad : Exception: null : LaunchDesc:
    <jnlp spec="1.0" codebase="http://192.168.100.125:8988/Application1-Model-context-root/">
      <information>
        <title>Editor de Par�metros</title>
        <vendor>Vendor</vendor>
        <homepage href="null"/>
        <description>My ADF Swing Project</description>
      </information>
      <security>
        <all-permissions/>
      </security>
      <update check="timeout" policy="always"/>
      <resources>
        <java version="1.3+"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/jlib/adfmtl.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/jlib/adftags.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/jlib/adfui.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/jlib/bc4jdatum.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/jlib/bc4jhtml.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/jlib/bc4jimjui.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/jlib/bc4jtester.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/jlib/bc4jui.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/jlib/bc4juixtags.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/jlib/datatags.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/jlib/graphtags.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/lib/adfbinding.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/lib/adfm.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/lib/adfmweb.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/lib/adfs-jazn.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/lib/adfshare.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/lib/bc4jct.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/lib/bc4jdomorcl.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/lib/bc4jimdomains.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/lib/bc4jmt.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/BC4J/lib/collections.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/adfc/lib/adf-controller.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/adfp/lib/custComps.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/adfp/lib/jaxb-api.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/adfp/lib/jaxb-impl.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/adfp/lib/jaxb-libs.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/adfp/lib/namespace.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/adfp/lib/oracle.extapp.runtime.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/adfp/lib/orai18n.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/adfp/lib/portlet-client-adf.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/adfp/lib/portlet-client-core.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/adfp/lib/portlet-client-mbean.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/adfp/lib/portlet-client-mds.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/adfp/lib/portlet-client-web.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/adfp/lib/portlet-client-wsrp.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/adfp/lib/tidy.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/adfp/lib/wce.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/adfp/lib/wsrp-jaxb.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/adfp/lib/wsrp-stubs.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/adfp/lib/wsrp-types.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/afc/lib/afc.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/diagnostics/lib/ojdl.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/j2ee/home/jazn.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/j2ee/home/jazncore.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/j2ee/home/jsp/lib/taglib/ojsputil.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/j2ee/home/lib/oc4j-internal.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/j2ee/home/lib/ojsp.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/j2ee/home/lib/servlet.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jakarta-taglibs/commons-beanutils-1.6.1/commons-beanutils.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jakarta-taglibs/commons-collections-2.1/commons-collections.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jakarta-taglibs/commons-digester-1.5/commons-digester.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jakarta-taglibs/commons-logging-1.0.3/commons-logging-api.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jakarta-taglibs/commons-logging-1.0.3/commons-logging.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jakarta-taglibs/jstl-1.1/lib/jstl.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jakarta-taglibs/jstl-1.1/lib/standard.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/javacache/lib/cache.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jdbc/lib/ocrs12.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jdbc/lib/ojdbc14dms.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jdbc/lib/orai18n.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jdev/extensions/oracle.jdeveloper.jgoodies.1.0.4/forms-1.0.4.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jdev/lib/jdev-rt.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jdev/lib/ojc.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jlib/LW_PfjBean.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jlib/adf-faces-api.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jlib/adf-faces-impl.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jlib/backport-util-concurrent.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jlib/bigraphbean.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jlib/commons-el.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jlib/jdev-cm.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jlib/jewt4.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jlib/jsp-el-api.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jlib/ojmisc.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jlib/oracle-el.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jlib/oracle_ice.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jlib/share.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jsf-ri/jsf-api.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/jsf-ri/jsf-impl.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/lib/dms.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/lib/xmlparserv2.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/ord/jlib/ordim.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/sqlj/lib/runtime12.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/toplink/jlib/antlr.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/toplink/jlib/toplink-oc4j.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/toplink/jlib/toplink.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/wireless/lib/industrial-adf-faces-api.jar" download="eager" main="false"/>
        <jar href="http://192.168.100.125:8988/Application1-Model-context-root/adfjars/wireless/lib/industrial-adf-faces-impl.jar" download="eager" main="false"/>
      </resources>
      <component-desc/>
    </jnlp> ]
         at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)
         at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)
         at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I can understand that the error raises because some jarfiles are not signed, but i think i signed it correctly by running ctbuild.xml over "Apache ant". This is my ctbuild.xml file:
    <project name="myproject" basedir="." default="sign">
    <!--properties related to signing-->
    <property name="alias" value="ADFKey"/>
    <property name="storepass" value="Davidp1"/>
    <property name="ct.proj.dir" value="/C:/jdevstudio10133/jdev/mywork/Application1/Model"/>
    <property name="mt.proj.dir" value="/C:/jdevstudio10133/jdev/mywork/Application1/Model"/>
    <!--classes dir for mt and ct-->
    <property name="ct.classes.dir" value="${ct.proj.dir}/classes"/>
    <property name="mt.classes.dir" value="${mt.proj.dir}/classes"/>
    <!-- jar names for the client and middle tier classes-->
    <property name="ct.jar.name" value="${ct.proj.dir}/public_html/client.jar"/>
    <property name="mt.jar.name" value="${ct.proj.dir}/public_html/mymt.zip"/>
    <property name="adf.jars.root" value="${ct.proj.dir}/public_html/adfjars"/>
    <property name="adf.jars.signed.marker.file" value="${adf.jars.root}/adfjars_signed.tmp"/>
    <property name="oracle.home" value="C:\jdevstudio10133\"/>
    <target name="init">
    <mkdir dir="${adf.jars.root}"/>
    </target>
    <target name="copy-adf-jars">
    <copy todir="${adf.jars.root}">
    <fileset dir="${oracle.home}">
    <include name="BC4J/jlib/adfmtl.jar"/>
    <include name="BC4J/jlib/adftags.jar"/>
    <include name="BC4J/jlib/adfui.jar"/>
    <include name="BC4J/jlib/bc4jdatum.jar"/>
    <include name="BC4J/jlib/bc4jhtml.jar"/>
    <include name="BC4J/jlib/bc4jimjui.jar"/>
    <include name="BC4J/jlib/bc4jtester.jar"/>
    <include name="BC4J/jlib/bc4jui.jar"/>
    <include name="BC4J/jlib/bc4juixtags.jar"/>
    <include name="BC4J/jlib/datatags.jar"/>
    <include name="BC4J/jlib/graphtags.jar"/>
    <include name="BC4J/lib/adfbinding.jar"/>
    <include name="BC4J/lib/adfm.jar"/>
    <include name="BC4J/lib/adfmweb.jar"/>
    <include name="BC4J/lib/adfs-jazn.jar"/>
    <include name="BC4J/lib/adfshare.jar"/>
    <include name="BC4J/lib/bc4jct.jar"/>
    <include name="BC4J/lib/bc4jdomorcl.jar"/>
    <include name="BC4J/lib/bc4jimdomains.jar"/>
    <include name="BC4J/lib/bc4jmt.jar"/>
    <include name="BC4J/lib/collections.jar"/>
    <include name="adfc/lib/adf-controller.jar"/>
    <include name="adfp/lib/custComps.jar"/>
    <include name="adfp/lib/jaxb-api.jar"/>
    <include name="adfp/lib/jaxb-impl.jar"/>
    <include name="adfp/lib/jaxb-libs.jar"/>
    <include name="adfp/lib/namespace.jar"/>
    <include name="adfp/lib/oracle.extapp.runtime.jar"/>
    <include name="adfp/lib/orai18n.jar"/>
    <include name="adfp/lib/portlet-client-adf.jar"/>
    <include name="adfp/lib/portlet-client-core.jar"/>
    <include name="adfp/lib/portlet-client-mbean.jar"/>
    <include name="adfp/lib/portlet-client-mds.jar"/>
    <include name="adfp/lib/portlet-client-web.jar"/>
    <include name="adfp/lib/portlet-client-wsrp.jar"/>
    <include name="adfp/lib/tidy.jar"/>
    <include name="adfp/lib/wce.jar"/>
    <include name="adfp/lib/wsrp-jaxb.jar"/>
    <include name="adfp/lib/wsrp-stubs.jar"/>
    <include name="adfp/lib/wsrp-types.jar"/>
    <include name="afc/lib/afc.jar"/>
    <include name="diagnostics/lib/ojdl.jar"/>
    <include name="j2ee/home/jazn.jar"/>
    <include name="j2ee/home/jazncore.jar"/>
    <include name="j2ee/home/jsp/lib/taglib/ojsputil.jar"/>
    <include name="j2ee/home/lib/oc4j-internal.jar"/>
    <include name="j2ee/home/lib/ojsp.jar"/>
    <include name="j2ee/home/lib/servlet.jar"/>
    <include name="jakarta-taglibs/commons-beanutils-1.6.1/commons-beanutils.jar"/>
    <include name="jakarta-taglibs/commons-collections-2.1/commons-collections.jar"/>
    <include name="jakarta-taglibs/commons-digester-1.5/commons-digester.jar"/>
    <include name="jakarta-taglibs/commons-logging-1.0.3/commons-logging-api.jar"/>
    <include name="jakarta-taglibs/commons-logging-1.0.3/commons-logging.jar"/>
    <include name="jakarta-taglibs/jstl-1.1/lib/jstl.jar"/>
    <include name="jakarta-taglibs/jstl-1.1/lib/standard.jar"/>
    <include name="javacache/lib/cache.jar"/>
    <include name="jdbc/lib/ocrs12.jar"/>
    <include name="jdbc/lib/ojdbc14dms.jar"/>
    <include name="jdbc/lib/orai18n.jar"/>
    <include name="jdev/extensions/oracle.jdeveloper.jgoodies.1.0.4/forms-1.0.4.jar"/>
    <include name="jdev/lib/jdev-rt.jar"/>
    <include name="jdev/lib/ojc.jar"/>
    <include name="jlib/LW_PfjBean.jar"/>
    <include name="jlib/adf-faces-api.jar"/>
    <include name="jlib/adf-faces-impl.jar"/>
    <include name="jlib/backport-util-concurrent.jar"/>
    <include name="jlib/bigraphbean.jar"/>
    <include name="jlib/commons-el.jar"/>
    <include name="jlib/jdev-cm.jar"/>
    <include name="jlib/jewt4.jar"/>
    <include name="jlib/jsp-el-api.jar"/>
    <include name="jlib/ojmisc.jar"/>
    <include name="jlib/oracle-el.jar"/>
    <include name="jlib/oracle_ice.jar"/>
    <include name="jlib/share.jar"/>
    <include name="jsf-ri/jsf-api.jar"/>
    <include name="jsf-ri/jsf-impl.jar"/>
    <include name="lib/dms.jar"/>
    <include name="lib/xmlparserv2.jar"/>
    <include name="ord/jlib/ordim.jar"/>
    <include name="sqlj/lib/runtime12.jar"/>
    <include name="toplink/jlib/antlr.jar"/>
    <include name="toplink/jlib/toplink-oc4j.jar"/>
    <include name="toplink/jlib/toplink.jar"/>
    <include name="wireless/lib/industrial-adf-faces-api.jar"/>
    <include name="wireless/lib/industrial-adf-faces-impl.jar"/>
    </fileset>
    </copy>
    </target>
    <target name="sign" depends="sign-adf-jars, sign-project-jars"/>
    <target name="sign-adf-jars" depends="init, copy-adf-jars" unless="was.adf.jars.signed">
    <touch file="${adf.jars.signed.marker.file}"/>
    <signjar alias="${alias}" storepass="${storepass}">
    <fileset dir="${adf.jars.root}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    </fileset>
    </signjar>
    </target>
    <available property="was.adf.jars.signed" file="${adf.jars.signed.marker.file}"/>
    <target name="sign-project-jars" depends="create-project-jars">
    <signjar jar="${mt.jar.name}" alias="${alias}" storepass="${storepass}"/>
    <signjar jar="${ct.jar.name}" alias="${alias}" storepass="${storepass}"/>
    </target>
    <target name="create-project-jars">
    <jar destfile="${ct.jar.name}">
    <fileset dir="${ct.classes.dir}">
    <patternset>
    <exclude name=".jsps/**/*"/>
    <exclude name="connections.xml"/>
    </patternset>
    </fileset>
    </jar>
    <jar destfile="${mt.jar.name}">
    <fileset dir="${mt.classes.dir}">
    <patternset>
    <exclude name="connections.xml"/>
    <include name="**/*"/>
    </patternset>
    </fileset>
    </jar>
    </target>
    <target name="clean">
    <delete file="${mt.jar.name}"/>
    <delete file="${ct.jar.name}"/>
    <delete file="${adf.jars.signed.marker.file}"/>
    <delete dir="${adf.jars.root}"/>
    </target>
    </project>
    Sorry if i have exceed with the size of my post.
    Could anybody help me? Thanks

    Hi,
    I understand that users have an affinity to use Ant directly. However, last time I ran this environment I did run the Ant script from JDeveloper (right mouse context). So you may try JDeveloper 10.1.3.3 for this
    Frank

  • Script UI Generator

    I have created an application to generate script UI. In order to create dialog, one would add controls to treeview in app change properties in propertygrid and click Preview to view dialog with either Indesign, Illustrator or Photoshop. I am interested in hearing feedback from fellow scripters.
    I am contemplating selling as stand alone app or as a web service where for a small fee you can upload file and the javascript result would be generated for you in a textBox on webpage. Currently the result is a resource string, but I am thinking of also giving the option to generate raw javascript. Also in the plans is to generate functions for events, which would mean that you could concentrate on task at hand an UI would be considerably lighter task.
    The Main benefit is the ability to preview with the click of a button to see how the changes to the properties effect the created code.
    If you are interested in playing around with app in it's beta form (Windows only .net 3.0) then email me at [email protected], but keep in mind at this point there is no way to actually see the code that was generated, but will give a taste of what is to come. Thank you for a moment of your precious time.

    As I have been going through and testing various properties I have found a few things with ScriptUI that I would like to post.
    First, I ditched the resource strings when I realized that adobe has not been updating it with all the new features in Script UI. For example no TabbedPanel or Tab. Also creating listbox with two columns will crash the application in which it is running. However in raw code all these things work just fine, so my app now generates real code (which may be a pretty good thing being that the end user will have an easier time reading the code).
    Second, The Justify property. does it really work? I could only get it to work on editbox element (which is probably the most important one), using a mixture of resource string and code. The problem is that the justify property has to be set at creation of the element, but justify is not one of the creation properties, except if using a resource string then it could be at creation of the element. My code looks something like this
    > dlg.add("edittext{justify:'right'}")
    but even this doesn't work on other elements with justify property (statictext,radiobutton,checkbox,panel,window).
    I didn't see it online so i'll just post here, shortcutKey property accept a string of a single letter (maybe also number, but I didn't try) which on Windows is activated by pressing ALT + key entered (maybe on mac it's cmd). however it only activates control, pressing or toggling value is done with Enter key or space bar.
    selection property of treeview using index - couldn't get it to work.
    Thanks for listening to my rant, any help is appreciated

  • FCKEditor, edit css, SiteStudio and WebCenter

    Hi!
    Im using a UCM as content repository for my WebCenter portal.
    I uses region definitions in the UCM/SiteStudio 11g when editing and I have added an edit css to the element used in the region definition.
    This works perfect when editing directly in the content server, and it works when editiing in the portal with FireFox, but not Internet Explorer.
    And unfortunally our customer are only allowed to use IE.
    Have anybody seen this problem, that the Editor CSS don't load for IE?
    Regards,
    Ralf
    Edited by: user12023344 on 2011-jul-11 06:41

    Hi Muhammad.
    These CSS are generated from your CSS Skin.
    My first recommendation is in dev enviroments disable content compression. Disabling content compression you will see components and style classes applied from skin selectors instead of compressed classes like x1av... etc...
    To disable content compression you have to change in web.xml follow context-param:
    <context-param>
      <param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name>
      <param-value>true</param-value>
    </context-param>Now, you'll see through firebug what ADF Components / Selectors / Global Selectors to change.
    If you don't know of ADF Skinning please read something about it. It's important know about it :).
    References: https://blogs.oracle.com/jdevotnharvest/entry/how_to_learn_adf_skinning
    UPDATE: More information
    If ADF CSS Skin don't help you to apply or overwrite styles applied then try to set custom "styleClass" property to ADF Components that you want to change.
    Regards.

Maybe you are looking for

  • Attributes missing after XSD validation!

    I'm feeding a very simple XML file into an equally simple XSD validator. When it returns, all of my tags are fine, but the attributes are dropped. If I parse the file directly, without validation, the attributes are fine. I've posted my files online

  • Variable might not have been initialised?

    Hi I declare 2 lists at the begining of a method, the is "wrapped" using the Collections.synchronizedList method but when I try to compile the application it gives me the errors variable alltitles might not have been initialised and variable allautho

  • How to fix this class code

    This program simply takes two string arguments supplied to it from the command line, and swaps them. Then it prints the results. The actual swapping is done by the class I made called SwapWords, and I think here is the problem. I don't quite understa

  • Edit local policy via powershell

    Hi, i'm searching for a way to edit this policy via powershell :  Computer Configuration -> Administrative Templates -> System -> Credentials Delegation -> Allow Delegating Fresh Credentials with NTLM-only Server Authentication I want to activate it,

  • Help with syncing

    whenever i sync my ipod touch with itunes i always lose all my album art off the albums i bought off itunes why is