How to hide parts in a form

Hi, i am developing a web application which is a form that takes information from the user and stores them in a database. i am using oracle's jdeveloper and they have a render property. i am trying to make the form show fields if a check box is checked or is someone with the right credentials is viewing the form. i dont know how to make them appear or disappear, can anyone help me on how to go about this?
thank you in advance

oxhaksi84 wrote:
Hi, i am developing a web application which is a form that takes information from the user and stores them in a database. i am using oracle's jdeveloper and they have a render property. Sounds more like a JSF thing in stead of an Oracle specific thing. JSF components have a rendered attribute with which you can include/exclude them based on some request time expression.
i am trying to make the form show fields if a check box is checked or is someone with the right credentials is viewing the form. i dont know how to make them appear or disappear, can anyone help me on how to go about this?The credentials part can be done with the rendered attribute; the best way I know of is to use a session bean that holds login information, including certain roles the user has. Then in the JSF page you can query the session bean for its credentials using an EL expression, something like:
<h:selectBooleanCheckbox value="#{yourBackingBean.checkValue}" rendered="#{user.admin}"/>the "if a checkbox is checked" part is a little vague; the checkbox is already checked when the page is loaded, or part of the form needs to be shown/hidden when as soon as the checkbox is checked?

Similar Messages

  • How to hide fields in UIX form

    Hi
    I need to update the table with last_updated_by and last_updated_date every time if any change to the record. But I do not want to show these 2 fields on the screen.
    Could you help me how to hide fields in UIX form/any procedure to insert the data to database with out placing them in the screen .
    Thanks in advance.
    NRK

    Now that you mention it ... the rendered flag will stop the field from being rendered. So it's not even in the page. Stupid me.
    Have a look at formValue. These are rendered, but invisible fields in a form. That should do it (hopefully).
    In prepareForDML() you could simply call the setter of your date attribute that stores the date of the last update. There you pass the current date, or you could fetch the sysdate from the database and pass that. If you go that way, then the EntityImpl could make these adjustments automatically when inserting or updating and you wouldn't even need these fields/bindings in your UIX page.
    Just check what the operation is, and if it's an update or insert then call the setters of the attributes you want to update. Then call super.prepareForDML(). Something like that.
    It all would happen in the middle-tier, client not involved.
    So formValue should work, and the prepareForDML() stuff should also work. Don't know which way you want to go.
    Sascha

  • How to hide part of search results to particular users?

    Hi,
    Is it possible to hide part of search results to particular users? If it possible can you please tell how to implement? 
    Thanks, Chinnu

    Hi,
    According to your post, my understanding is that you wanted to hide part of search results to particular users.
    You can use the security trimming to achieve it.
    By default, Enterprise Search results are trimmed at query time, based on the identity of the user who submitted the query.
    When results are returned for a user's search, the Query engine performs an access check for the user's identity against the security descriptor stored in the content index for each item in the search results. The Query engine then removes any items in the
    search results that the user does not have access to, so that the user never sees these results.
    SharePoint uses the access control list (ACL) associated with each document to trim out query results that users have no permission to view,
    but the default trimming provided by SharePoint (out-of-box trimming) may not always be adequate to meet data security needs.
    In that case, you can custom the security trimming to meet your requirement.
    There are some articles for your reference.
    Trim SharePoint Search Results for Better Security
    http://msdn.microsoft.com/en-us/magazine/ff796226.aspx
    Writing a Custom Security Trimmer for SharePoint Server Search
    http://msdn.microsoft.com/en-us/library/ee819930(v=office.14).aspx
    Walkthrough: Using a Custom Security Trimmer for SharePoint Server Search Results
    http://msdn.microsoft.com/en-us/library/office/ee819923(v=office.14).aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to Hide buttons in HCM forms

    Hi Experts,
    In "Transfer" forms, with out filling mandatory fields if I press button "Check and Send" then I get a extra button called "Continue". When I click on "Continue" it takes me to the next page without asking me to fill mandatory fields. Here I want to hide that "Continue" button.
    Like wise in "End of Probation & Short Term Contract" forms, with out filling the mandatory fields if I press button "Check and Send" then I get a extra button called "Forward to Expert". In my case I want  to hide "Forward to Expert" button also.
    Please help me to fix these issues.
    Thanks & Regards,
    Harish Kumar N
    Moderator message -
    When closing old threads, there is no need to add a comment. Adding a pasted answer like "fixed by myself" only brings old threads to the top of the forum list and pushes current ones down. If you do add a comment, please indicate just how the problem was resolved.
    Edited by: Rob Burbank on Nov 2, 2011 9:30 AM

    You do not need to add this field to your list. In the view V_T588MFPROPS (SAP delivered), this field is set as mandatory. In configuration, you must maintain the view V_T588MFPROPC (Customer area) and make sure the field is not set to mandatory. This will override the SAP delivered setting and the error message will be not be displayed.
    Derrick Banks
    Banks & Company, LLC

  • How to hide Report's Parameter Form Urgent Please

    Hello to All!
    How we can hide Reports Parameter Form when we are calling a report from our form by using RUN_PRODUCT built in.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Amir Sajjad ([email protected]):
    Hello to All!
    How we can hide Reports Parameter Form when we are calling a report from our form by using RUN_PRODUCT built in.<HR></BLOCKQUOTE>
    Hi Amir!
    You must add to your paramlist the following parameter:
    Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
    Bye

  • How to Hide page in interactive form

    Hello All,
    I have developed the Interactive form for one of the HR process. Form is pread across the three pages.
    My requirment is to hide the second page based on some condition. I have tried JAVA script to hide the page using below syntax but its not working.
    if ($record.CARRID.value == "AA") { this.presence = "invisible";}
    Am i missing something? Help needed... Thanks
    Regards,
    Sagar

    Hi Sagar,
    Wrap all the UI elements that you want to hide inside a subform. Then try the following script in the initialize event of the subform.
    if (this.CARRID.rawValue == "AA") { this.presence = "hidden";}
    Thanks & Regards,
    Sanoosh

  • How to hide part of URL

    Hello everyone
    How to use URL like like
    http://domainname/path/something?action=xxx&target=yyy

    It depends.
    Firefox should show you the true link, i.e., sites should not be allowed to fake the mouseover, but for long links, the display might be truncated.
    Regardless of the link's href=url, many links have a click handler that navigates to an altered, intermediate, or different URL. Sometimes this is coded right into the link (onclick="blahblah") while it other cases, it is quite arduous to discover.
    Yet other links may be the result of a submitting form. This allows the site to use hidden form fields for some of the parameters.
    If you select loosely around the link, right-click, and View Selection Source, can you see how the page is constructing the final links?

  • How to hide field in adobe Forms

    i  am currently trying to print purchase order where i have 5 line item  and the 5th  item is delivered so for that i want to display a text but the problem is iit  displaying in line item 10 can anyone please how to print it in 5th line

    Hii,
    Try to add one more field for  text field for each line item and make sure use a flag .
    if the flag is true then make it visible use the below JavaScript code to hide a particular field.
    his script will hide the field in runtime if it is initial.
    hidden or presence make sure use the conditions as per the require to hide the text or to make it visible
    Enter the below JavaScript in the editor & Select the language as JavaScript. 
    if(this.rawValue == null)
      this.presence = "hidden";
    Edited by: Rajan.Dexter9 on Jan 20, 2012 12:17 PM

  • How to Hide adress of the form from adress bar

    Hi all ,
    i want to ask that is it possible to hide or change the adress of the form from the adress bar.....like when we run the form it shows the adress like
    http://develoment:8888/forms90/f90servlet?form=C:\GMS\Forms\GMS_SHIPMENT.fmx&userid=GMS/GMS@gms&buffer_records=NO&debug_messages=NO&array=YES&query_only=NO&quiet=NO&RENDER=YES
    that is too long i want it does not show the whole adress and also same problem with reports when i call the the report it show the whole adress and that is not good security wise
    i am using oracle 9IDS
    thanks in advance
    Shayan
    [email protected]

    go in your <forms-home>forms\server - directory. there is formsweb.cfg.
    All the [default] - parameters are global. If you don't set a parameter in your own section, then the fallback-parameters are stored there.
    at the end of the file you should write your own settings:
    e.g.
    # myConfig - this is an example for your own Config-Section
    [myconfig]
    form=myStartForm
    imageBase=codeBase
    splashScreen=no
    separateframe=true
    try it
    Gerd

  • How to hide tools bar of Forms

    I have an application on an intranet and i want to hide the tools bar of Forms.
    null

    Hi there,
    If you don't use the default toolbar, you should have a canvas on which the toolbar is placed. You can hide that using set_canvas_property.
    Good luck

  • How can hide the word oracleas forms service in applet

    my dears :
    if I want to appear the name of our company in applete instead of this word oracleas forms service
    how
    thanks in advance

    Hi,
    Copy your image (either .gif or .jpg) in %devsuite_home%/forms/java for example for me it's : C:\oracle\DevSuiteHome_1\forms\java
    Then in your formsweb.cfg point to your image begining with /forms :
    # Forms applet parameter
    background=/forms/java/logocca.gif
    Restart your oc4j
    Launch your application.
    NB : The names are case sensitive, i.e /forms/java/logocca.GIF will not work
    It's important to mention /forms/java/ because your c:/ is not seen by the web server
    Regards
    Mohamed Dadi

  • Hide of the system form field

    Hi all
       I have  a problem  related to system form.  I want to make a noeditable  field to the system form ,
    suppose  a  have sales order form , in this form there r lot of fields.     i want to make a noeditable field to name field  by code, so what is the process, if possable  so plz send me code

    Hi,
    if you want to hide field look at
    How to hide a field in sap business one - there is no more possibilities how to hide filed on system form
    if you want to make the field noneditable, catch the event for pressing key, than the field you have focused and when its the field you want to set as noneditable, set bubbleevent to false.
    hope it helps
    Petr

  • How to Hide some Rows in a List view Web Part using JavaScript ?

    How to Hide some Rows in a List view Web Part using JavaScript ?

     Here is the code that worked for me:
    var Elements = document.querySelectorAll('div[id=WebPartWPQ3] table[class=ms-listviewtable]>tbody tr .ms-vb-lastCell.ms-cellstyle.ms-vb2')
    for(var i=0, n = Elements.length; i < n; i++)
     if(Elements[i].innerHTML=="India")
    Elements[i].parentNode.setAttribute("style","display:none")
    WebPartWPQ3 -> ID of webpart Div
    ms-listviewtable -> class name of table in Div
    ms-vb-lastCell.ms-cellstyle.ms-vb2 -> classname of td to get text

  • How to hide navigation panel buttons of interactive form

    Hi Gurs,
    Can any one expalin how to hide the navigation panel buttons of interactivge form through coding in WD.
    Thanks
    Rao.
    Edited by: rahul raao on Apr 30, 2009 9:57 AM

    Hi,
    You can access the document Adobe XML Form Object Model Reference 
    http://www.adobe.com/devnet/livecycle/articles/Adobe_XML_Form_Object_Model_Reference.pdf
    and search for "presence" our "relevant".
    I think this is what you are looking for.
    Best regards,
    Ana Carolina.

  • How to hide save changes alert window when no changes made to the form

    hi,
    in my form when i close the form without making any changes it displays do you want to save the changes alert.how to hide this alert when no changes are made to the form window.
    regards
    Yesukannan

    Be advised that this solution will also exit the form without saving the changes and asking anything if the user did make changes.
    You're probably changing some field from a PL/SQL trigger (hint: post-query or when-new-record-instance are likely). If you set the value of a field from a trigger or program unit that also marks the record as changed for Forms. Forms will then ask to save the changes when exiting the form.
    If you want to prevent this, reset the record status after you change the field in the PL/SQL code.

Maybe you are looking for

  • How do I delete my old gamecenter profile and start a new one

    How do I delete my old Gamecenter profile and start a new one?

  • Business Partner ID same as SAP User ID

    Hi All, We have one SAP Service Desk Implementation going on. There is an intresting requirement as follows: 1) BP ID generated should be same as their respective SAP User ID, irrespective of the BP Role. 2) First Run for Mass Generation has to be do

  • Can I use my iPod Cable? 5G

    I am in a pinch and need a quick answer. Thanks to all, Hector

  • Where are the new symbols?

    Yesterday during the live event introduction of Adobe Creative Cloud, one of the team members (can't remember which one) said that there were new symbols included in our membership. He was demonstrating the updated microphone in Photoshop and also fo

  • Adapter object for Item Category Determination

    Hi All, Could please anyone let me know the adapter object for Synchronizing <b>Item Category determination</b> from R/3 to CRM. I could get the object for synchronizing the Item category determination from CRM to CDB and it is "CRM_DNL_IT_ASSG'. Tha