Visible property for transient attribute.

Hi,
I am using J developer 11g Release 2.In my page i need to set the visible property for the transient attribute(conform password) because the transient attribute needs to be disable for some condition.I have tried but the property was working only when the attribute is not transient.Can we set the property for transient attribute?
Help me on this..
Thanks,
Suganya.
Edited by: Suganya on Feb 27, 2012 1:40 AM

Disabling the visbile property:
<af:inputText autoSubmit="true" id="it6" label="Table Attr"> </af:inputText>
<af:inputText partialTriggers="it6" visible="#{bindings.AphdBe.inputValue eq null? 'false' : 'true'} " id="it2" label="Trans Attr"> </af:inputText>like this you should h'd.
normally we use transiet term in vo's while coming to part ui.
it will consider as attribute. no thing difference bwtn those attribute as timo says.
--edited lately.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Af:query for transients attribute in VC and NO DATA after RowMatch

    Hi,
    I have a VO having two transient attributes (example, JoinDate, DeptName) out of which DeptName defined as LOV. I have a VC VC which run on 'database' mode and DeptName present in this VC and having default value like 'Computer'. VC configured to run automatically so that on page load data should display.
    Next, I have a af:query from this VC on jasff page. Before page load programatically we define query criteria and on page load query runs fine and data display on UI.
    Issue here is,
    When we add one more transient attribute JoinDate from 'Add Fields' (without adding any data) and click on submit we don't get data even if page load query is same as this query. Change is only a new attribute added from Add Fields and it not having any value.
    The changes observed in log is that, when we add one more criterion attribute JoinDate OR DeptName we find below entry in the log.
    VCs converted to RowMatch: ( (UPPER(DeptName) LIKE UPPER(vc_type1) ) )
    This means after query execution framework doing RowMatch for transient attribute WHICH IS PRESENT IN VC. Here freamework passing vc_type1 as null. So we are not getting any rows.
    I have tried like
    before VO executeQuery, setRowMatch(null) but NO luck.
    before VO executeQuery, setRowMatch("DeptName='Computer'") but NO luck.
    So please suggest me How Can we avoid RowMatch execution after execute query ?
    If not, how to get data which we got from executeQuery ?

    Please suggest.

  • Property not settable error - it is a bug for transient attributes

    In WLI 8.1 I get the following error in Workshop on a Client Request method:
    "Property <name of transient attribute> of type <Java object type> is not
    settable and cannot be unmarshalled from XML."
    In my opinion it is an error, because it tries to serialize and deserialize
    a TRANSIENT attribute via XML, which should
    NOT be serialized at all (that's why it is transient).
    Regards,
    Robert Varga

    Roam,
    Thanks again for your suggestion,
    "Furthermore one should always Repair Permissions both before doing a Software Update and again afterwards."
    I honestly dont know anything about this "Repair Permissions" from the name, i though it is a verification of authentication to repair OS or some kind of credential issue, and since i m admin user then there is no point to verify it, i should be allowed to do so. Again it is my first time to do this thing in 3 - 4 years of using panther, every time i update software i never ever do this! If this step is essential for every update and installation why dont apple put them as one of TODO step during the processes (as licensing agreement) instead of keep them as an option (just my thought) Anyway, I m glad u tell me about it, and i will give it a shot tonight.
    "That may because you didn't have sufficient disk space. In fact running out of disk space can create all sorts of problems. Please tell me how disk space is available on your
    start up drive."
    That what I thought coz i have only 5.x GB left in 60 GB HD. Thats why I claimed as whining and have to scarify the lost of data by reinstall panther in order to get my mac back to work
    "So are you saying it is a bug or it is a hacker, I don't believe it is either"
    Please see second update info about password, and i m not impose anyone to believe, thats why the topic is a questioning sentence "Is this a bug.."
    "This Discussion site is not Applecare. The people here give their time voluntarily to those who are receptive to help."
    Thats why i ask for "mac expert" not "apple authority/technician" and always appreciate any suggestion.
    Anyway, that great to hear from you and i have learned new thing from your suggestion. I will let u know when i have tried it.

  • Migration issue on default value for transient attribute in 11.1.2

    Experts,
    I migrated my JDev 11.1.1.5 project to JDev 11.1.2. After successful migration i began to run the project and it ran without issue. In the application however when i clicked on any link or button i get the following exception
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=Cannot get property 'saleType' on null object
    Caused by: java.lang.NullPointerException: Cannot get property 'saleType' on null object
         at org.codehaus.groovy.runtime.NullObject.getProperty(NullObject.java:56)
         at org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:154)
         at org.codehaus.groovy.runtime.callsite.NullCallSite.getProperty(NullCallSite.java:29)
         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:237)
         at bc4j_com_xxx_portal_model_uiView_SaleVO_SaleTypeTransient_null_gs.run(bc4j_com_xxx_portal_model_uiView_SaleVO_SaleTypeTransient_null_gs.groovy:1)
         at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:1200)
    In my SaleVO i have a transient attribute whos value is set as
    adf.userSession.userData.saleType == 'ORGANIZATION' ?
                               'LOV_PartyTypeOrg' : 'LOV_PartyType'When i print the value from user session i am getting a value there, so a bit confused about the NPE here.
    Please advice
    Jdev 11.1.2

    Hi,
    this is something you should report to customer support to have them looking at this and helping you out
    Frank

  • Dirty check for transient attributes in view object

    Hi,
    I am using JDeveloper 11.1.1.4 and ADF BC in my project.
    In one of my view objects,I have a transient attribute added for some business logic.
    I am doing dirty check in my project as below.
    boolean dirty = false;
    boolean amDirty = false;
    // check application module
    ApplicationModule am =
    getBindingContainer().getDataControl().getApplicationModule();
    amDirty = am.getTransaction().isDirty();
    //Check if datacontrol is dirty
    BindingContext bctx =
    oracle.adf.controller.binding.BindingUtils.getBindingContext();
    dirty =
    bctx.findDataControlFrame(bctx.getCurrentDataControlFrame()).isTransactionDirty();
    return amDirty || dirty;
    My requirement is that,I dont want the dirty check to be applied on the transient attribute in the view object.
    Is there any way to achieve this.Please advice...
    Regards,
    Praveen

    Hi Frank,
    Thanks for the suggestion.
    I followed the link.But if a transient attribute is modified,then also ((ApplicationModule)getDataProvider()).getTransaction().isDirty() is returning true and the transaction is made dirty.
    I am setting a transient attribute like this getNwOperVOIter().getCurrentRow().setAttribute("AcctNoTrans")....when I am editing a row.
    Can I get explicit handle at viewobjectimpl for this transient attribute??
    Regards,
    Praveen

  • Set visibility property for items depending on other items

    Hello,
    I want to set the visibility setting for an item that I have, the steps should be as the following,
    for example
    if I have an item that asked,
    do you have children ?
    if the answer is Yes,
    the next item should be visible which let's say, number of  them
    if no,
    the next item should be not visible
    I tried to set a trigger for the item I am controlling its visibility which is
    pre-text-item and wrote
    if 'CHEQUE_TABLE.CHEQUE_RECIEVED'='yes'
      then
      set_item_property(:SYSTEM.CURRENT_ITEM,visible,property_true) ;
    else
      set_item_property(:SYSTEM.CURRENT_ITEM,visible,property_false) ;
      end if;
    but it doesn't seem to be right, ,,,
    thank you

    I can see two potential problems.  The first:
    if 'CHEQUE_TABLE.CHEQUE_RECIEVED'='yes'
    Does CHEQUE_TABLE.CHEQUE_RECEIVED refer to a Data Block and Item?  If yes, then you are trying to tell Forms to look at the value of the string 'CHEQUE_TABLE.CHEQUE_RECEIVED' when you should be refering to the value of the Block.Item through direct reference, eg:
    IF :CHEQUE_TABLE.CHEQUE_RECEIVED = 'yes'
    How is the value of CHEQUE_RECIEVED set?  Does the user select the YES value from a List of Value (LOV) or from a Poplist or do they enter the value by typing it in?  If your code is looking at the string 'yes' and comparing it to the value of the Block Item which is in upper or mixed case, then 'yes' = 'Yes' or 'yes' = 'YES' will evaluate to FALSE instead of TRUE.
    It is always a good idea to use a Poplist or a List of Values when you are expecting specific values to be entered by the user; this enables you to force the value to be entered the same by everyone.  If the user CAN type the value in, then at least set the Case Restriction property to UPPER or LOWER so regardless of how the user enteres the value, it will be stored in the corrected case.
    Craig...

  • Set valign property for dynamic attribute

    hi,
    i hv created an application having dynamically created ui elements.
    i want to set valign property of the label i hv created.
    also , i want to set the latout of the transperent container.
    i hv used the foolowing code:
       trans.createLayout(IWDFlowLayout.class);
    but i get the elements one on top of next not one after another.
    plz help.
    thanks.
    regards,
    ankita

    hi,
    i hv created the following appl:
    http://infpw01622:50100/webdynpro/dispatcher/local/POP_UP/PopUp_Appl?SAPtestId=24
    bt i want it the following way:
    http://infpw01622:50100/webdynpro/dispatcher/local/DialogBox/DialogApp?SAPtestId=9
    Regards,
    ankita

  • How to reference a custom property in a vo transient attribute expr + bug

    Hi all
    I have created a transient attribute with an expression that evaluate null content to replace it by a appropriate text.
    <ViewAttribute
        Name="DescriptionUI"
        IsUpdateable="false"
        IsSelected="false"
        IsPersistent="false"
        PrecisionRule="true"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="VIEW_ATTR"
        SQLType="VARCHAR">
        <TransientExpression><![CDATA[((Description == null) ? 'Pas de description' : Description)]]></TransientExpression>
      </ViewAttribute>I have defined a custom property for that attribute that contains the message text. I was surprised to see that the custom property was not associate with the attribute in the source file. Don't understand where the association is done
        <Properties>
          <CustomProperties>
            <Property
              Name="flex.tree.noLabel"
              ResId="flex.noDescription"/>
          </CustomProperties>
        </Properties>I had some difficulties to use the custom property editor. When creating a new related one by using an existing resource the property column value is not changed and the content 'Property' is generated. Because no relationships exists between attribute and the property, the entry is lost in the table referring custom property list for the attribute when your come back into the view object or if you save an another entry in an another attribute.
    So my first question ? Is the attribute editing part the right part to define custom property pairs if they are not related to attributes ? is it a bug ?
    My second question is : is it possible to evaluate the bundle in the expression (replacing the literal 'Pas de description' by an expression) ? What is the expression to use ? Where it is described to do such things in the help or in the documentation ?
    Thank you

    This is wrong
    ((Label == null) ? {FlexParameterModelBundle['flex.tree.noLabel']} : Label)
    What is the correct syntax to refer to the project model standard bundle in the groovy expression ?
    Thank for the help !

  • ADF BC : Changing Mandatory property for the EO Attribute at runtime

    Hi all,
    I have one Entity attribute, which has to be Mandatory for all new, not yet commited row; but it is not mandatory_ for any others, existing (in the database) row. How to acquire this ?

    You might need to write a validation method to achieve this:
    check if:
    getEntityState() == Entity.STATUS_NEW or Entity.STATUS_INITIALIZED
    To show * mandatory indicator on the UI, you could use the above property exposed via some bean property/VO transient attribute...

  • How to make Transient Attribute Mandatory in View Object?

    Hi ,
    I have a Transient Attribute 'TransientFromCode' which is based on LOV .On UI ,I am showing this 'TransientFromCode' as 'SelectOneChoice' .
    So on selection of this i am populating other mandatory attributes.
    My requirement is to show this as 'Required' on UI but in View Object i am not able to find mandatory property for this attribute.
    I dont want to use required='true' . So can you plesae tell me is there any way to make Transient attibute as mandatory on UI .
    Thanks

    940637 - Your Use Case is a little vague\confusing.
    If you are just trying to get the standard "Required" architecture, it probably isn't working because you have incorrect syntax. It is #{bindings.MyViewObj.MyAttr.hints.mandatory}
    Yours: "#{bindings.UnitOfMeasureIntraClassConversion.hints.TransientItemDesc.mandatory}"
    It will "dynamically" pick this up at Runtime from the ViewObject Attributes "Mandatory" property (Attributes\Details tab), BUT the EL will always evaluate to "true" so this is the same functionally as just hard coding the UI component's Required property to "true" (although doing so is against Best Practices)
    If you are just wanting to SHOW the field as required without the standard Validation logic (because you are coding your own), you could:
    1) JUST set the UI component's "ShowRequired" property = true. This displays the * next to the Label (regardless of actual View Object Attr setting) but fires no validation.
    2) If you want to not show * but some custom standard, you could just create ANOTHER transient Attribute in the View Object and call it "TransientItemDescRequired" and set it to a Literal "y" or leave it blank and programmatically set it later... You can code your own validator\method\whatever against it, etc
    Edited by: donhoyt on Jul 5, 2012 7:58 AM

  • Visibility property of item

    Hi
    I want to display a textbox1 if user selects 'A' in listbox1 and if user selects 'B' in the listbox1,textbox1 should not be visible to the user.
    is there any property available for that in Set_Item_Property(...).
    Thanks,
    Tharini

    Hi,
    The forum is very use full if you use the search box there are lots of examples for this and this is very basic to ask. And the first search which is in your hand is forms builder. Just open the help and search for SET_ITEM_PROPERTY you will find all the properties which you can use as you know the syntax.
    There is visible property for item which you can set at runtime.
    SET_ITEM_PROPERTY('ITEM_NAME',VISIBILE,PROPERTY_TRUE);  -- For show
    SET_ITEM_PROPERTY('ITEM_NAME',VISIBILE,PROPERTY_FALSE);  -- For hide-Ammad

  • Webdynpro for ABAP, Enhancement and change of standard "visible" property

    Hi
    Is it possible to change the standard Webdynpro element (in cProjects application), so that the original control "Input" from visible property "Visible" is changed to mine Context variable? How to change that default "Visible" flag in standard element?
    thank you

    Hi Phani,
    Thanks for the info.
    I am able to see if it is not interactive.
    Displaytype is native only.
    Let me explain you the issue in detail:
    Currently Client is calling ZFORM thro Java. They have some issues with JAVA so they want to use Webdynpro to call that ZFORM and the form is ABAP Dic based.
    For Templete source I gave ZFORM name, and it automatically created a 'NODE' wrt the context in the ZFORM.
    Now I have to pass data from difft  node attributes to that 'NODE'.
    Thanks in advance,
    GG

  • Transient attribute for a view object coming from a socket

    Hello,
    I'd like to create a readonly table (based on a view object without a backing entity).
    Some columns are coming from a table and some other columns (based on the table key) are coming from a socket.
    The problems is that the additional columns are all returned at once by the socket (to avoid calling it for every field and killing our network) and then stored in a java bean.
    So i'd like to make the call to the socket once for every row of the table.
    Do you know in which method of the View object should i make the call (maybe I should do this at the Row level ?)
    Do you have any idea ?
    thank you
    -regards.

    Hi,
    you can try the follwing
    In the bindings of your jspx page you can see iterators defined under "executables". set the "*CacheResults*" property of the specific view object iterator that contains the transient attribute to false.(The default value is true).
    Example:
    <iterator Binds="EditWorkflowNodesView1" RangeSize="25"
    DataControl="AdministratorAppModuleDataControl"
    id="EditWorkflowNodesView1Iterator" CacheResults="false"/>
    Regards,
    Priya.

  • How to use visual attribute property for the tab canvas

    Hi all,
    i wanted to use set_tab_page_property ,and a visual attribute property for that
    respective tab page .
    but is saying to many declarations to match up . how will i able to do that.
    can any one helip me out ...
    example....
    i wanted to set the page name (just name of the tab page) red color when i query the form under some conditions .
    can anyone help me out in this.
    thanks in advance
    vardhi

    Hi all,
    i wanted to use set_tab_page_property ,and a visual attribute property for that
    respective tab page .
    but is saying to many declarations to match up . how will i able to do that.
    can any one helip me out ...
    example....
    i wanted to set the page name (just name of the tab page) red color when i query the form under some conditions .
    can anyone help me out in this.
    thanks in advance
    vardhi

  • LOV dropdown creation  for Transient VO attribute programatically

    Hi experts,
    One clarification,
    Can we have LOV dropdown List for the transient attribute in TRVO which is based on the only Transient attributes.??
    Also List of values based on the LOVVO which has Bind variable, so I am populating values programatically.
    As of now in AMImpl method I am able to execute the Query and get all values for LOVDropdown.But when same values i am not getting in the page, its showing empty values.
    I am not getting any errors in the log also.
    any sugestions pls..????
    Jdev version 11.1.1.3.0
    thanks
    Santosh
    Edited by: Santosh M E on Feb 12, 2012 11:31 PM
    Edited by: Santosh M E on Feb 12, 2012 11:33 PM

    hi user,
    sounds same,
    ID - description value
    sorry for late editing . link is changed check over.
    Edited by: ADF 7 on Jan 9, 2012 11:23 PM

Maybe you are looking for

  • IPhone 5s problems after upgrading to iOS 7.1

    Hi I had problems with my iphone on 7.0.6 ( the apps were crashing and mail didnt work) so i thought that if I upgrade it to 7.1 it will help but it didnt. I restored my iphone and then it got stuck on the apple logo that loads the iphone after the r

  • A problem with iMessage.

    Hi everyone, My problem is that I and my friend use the same Apple ID. Everything is okay, except the iMessage. When someone text to me, he also see my message. How can i solve this problem? I plan to change my Apple ID and sign in in my device. But

  • Any recommendations for selling some old Xserve RAID parts?

    I have 6 unopened SFP to SFP cable kits and an original Xserve RAID that's missing drive modules. eBay seems like a ghost town for this stuff, any suggestions? Not looking to make a ton, I just want to get it out of the conference room corner...

  • How to clear uncommitted transaction? (TSQL 2000)

    Hi all, I was testing a web application and it failed after executing a query but before committing / rolling back.  IE... BEGIN TRANSACTION SET IMPLICIT_TRANSACTIONS ON; UPDATE tbl...etc etc And it was due to run...  ROLLBACK TRANSACTION GO But for

  • Report into xls format

    Hi All, i want to convert a report int xls format....how can i do that???? if anyone has the links which will give the step by step process the please help me....