Disable all page items except one

Hi All,
Can any one please help me with the code. I have created a page with report from a table which has 5 values. If any user want to edit a row, he can do that by clicking the edit icon next to the row then the page redirected to another page with has a tabular form i created where there are 5 page items with values. I want to disable all the page items and enable only one item.the user can modify only one item which enabled, rest of the page items must be disabled. How can i do that. I have to use java script or is there any provision in apex itself?please help me....
Thanks In Advance
Meena
Edited by: 793914 on Oct 19, 2010 2:05 PM

Meena,
My apologies. 3.2 also allows you to set the Page Item to Display Only. I don't know why I was thinking that was new to 4.0!
By disabled, I assume you just want the current value to display, which would be null for a new record? It's not that you want to hide the disabled values, right?

Similar Messages

  • Search Results Query Text - Get all data, Exclude all list data except one

    Hi Experts,
    I have a situation wherein in the global search of our internal site, we have to display all results & restrict any list item except one list. Earlier we had restricted /Lists/ & People to be displayed in the results.
    But in the new search results I have to display results from only one list along with other results (documents, sites, pages etc).
    Below is the original query text entered in the Search Results Query Text editor
    {searchboxquery} -contentclass:STS_List_Links  
    -filename:allitems.aspx  -Path:/articles/Pages/default.aspx
    -filename:DispForm.aspx  -Path:/Lists/ -Path:person.aspx
    I have tried various different queries with AND, OR operator. I have researched other blogs, sites over google. But unsuccessful. I am sure this is not a rare requirement. Need your expert help.
    I have tried this query also...
    {searchboxquery} (-filename:allitems.aspx -Path:/articles/Pages/ -Path:/Lists/ -Path:/PublishingImages/) OR
    (+(+Path: /Lists/ArticleContent/ AND +filename:*.aspx) AND
    -(-Path: */Lists/* OR -filename:*.aspx))
    Vighnesh Bendre
    MCTS
    http://markviky.blogspot.com

    Vighnesh,
    You should have success using the following:
    {searchboxquery} -contentclass:STS_List_Links -filename:allitems.aspx  -Path:/articles/Pages/default.aspx -Path:person.aspx ((-filename:DispForm.aspx  -Path:/Lists/) OR Path:/Lists/ArticleContent/)
    Two things from your original query were excluding list items from your results, your exclusion of file
    DispForm.aspx and path Lists.  By using "OR" in the above query, we're creating an exception to also allow items under
    Lists/ArticleContent to be included in the results.

  • [AS] Change Colour of  all page items on layer

    Hi
    I am trying to set up a script to change the colour of fill, stroke and text of page items on one layer, and having very little luck, what I have so far is below, as it stands I seem to only be creating the swatch, could I get a few pointers on how to do this correctly please?
    I have three attempts as below, which return pretty much the same result, nothing?
    (1)
    tell application "Adobe InDesign CS3"
    set myDocument to active document
    activate
    tell document 1
    try
    set _Swatch to make color with properties {name:"PANTONE Blue 072 U", color:spot, color value:{100, 88, 0, 5}, model:spot}
    set _NewColour to swatch "PANTONE Blue 072 U"
    set swatch _NewColour to every page item whose fill color is swatch "Black"
    set swatch _NewColour to every page item whose stroke color is swatch "Black"
    end try
    end tell
    end tell
    (2)
    tell application "Adobe InDesign CS3"
    set myDocument to active document
    activate
    tell document 1
    try
    set _Swatch to make color with properties {name:"PANTONE Blue 072 U", color:spot, color value:{100, 88, 0, 5}, model:spot}
    set _NewColour to swatch "PANTONE Blue 072 U"
    set _Colour to swatch "Black"
    set _Fill to every page item whose fill color is swatch "Black"
    set _Fill to _NewColour
    set _Stroked to every page item whose stroke color is swatch "Black"
    set _Stroked to _NewColour
    end try
    end tell
    end tell
    (3)
    tell application "Adobe InDesign CS3"
    set myDocument to active document
    activate
    tell document 1
    try
    set _Swatch to make color with properties {name:"PANTONE Blue 072 U", color:spot, color value:{100, 88, 0, 5}, model:spot}
    set _NewColour to swatch "PANTONE Blue 072 U"
    set _Colour to swatch "Black"
    set _Fill to every page item whose fill color is swatch "Black"
    set _Stroked to every page item whose stroke color is swatch "Black"
    set _All to _Fill & _Stroked
    set swatch of _All to swatch _NewColour
    end try
    end tell
    end tell
    Cheers
    Kev

    Try this:<br /><br />tell application "Adobe InDesign CS3"<br />    set myDocument to active document<br />    activate<br />    tell document 1<br />        try<br />            set theLayer to layer 1 -- or whatever<br />            set _Swatch to make color with properties {name:"PANTONE Blue<br />072 U", color:spot, color value:{100, 88, 0, 5}, model:spot}<br />            set _Colour to swatch "Black"<br />            set fill color of every item of all page items whose fill color<br />is _Colour and item layer is theLayer to _Swatch<br />            set stroke color of every item of all page items whose stroke<br />color is _Colour and item layer is theLayer to _Swatch<br />        end try<br />    end tell<br />end tell<br /><br />-- <br />Shane Stanley <[email protected]>

  • Is it possible to disable All Pages button in Results

    Hellow Gurus,
    I am displaying only 10 rows per page in Table result. My user should able to go next page click on “Next Page” button. But we want to delete / disable “All Pages” button only . Is it possible in OBIEE? If yes how can we do this one.
    I really appreciated for your help.

    You can do this by following way
    Modify javascript method 'RTScroll' in C:\OracleBI\web\app\res\b_mozilla\tableview.js
    function RTScroll(sViewID, tbl, sStart)
    if(sStart == -1)
    sStart=0;
    if (WBCheckChanges(tbl))
    return;
    var sViewIdToRefresh = saw.view.getRefreshStatePath(sViewID,"tableView");
         var tForm = GetViewForm(sViewID,sViewIdToRefresh);
         tForm.Action.value = "Scroll";
         tForm.StateAction.value = "samePageState";
         tForm.P5.value = sStart;
         submitViewForm(tForm,null);
    Hope it helped you
    -- Srinivas Malyala
    http://tipsonobiee.blogspot.com/

  • [ERROR] Limit all payment cards except one

    Hello Experts,
    When we are using Multiple Credit Card payment option, we are getting the error "Limit all payment cards except one".
    There is no option/flag to mark the limit for all cards.  How to get rid of this error?
    And I expect the amount to be split equally across all the cards which is not happening.  Is it the case that user should enter the amount manually for all the cards?  What if the user enters less/more amount and try to order?
    Appreciate your quick reply on this.  Got stuck with this error to create orders from webshop.
    Thanks in Advance.
    Regards
    Satish

    Hi Satish,
    Even i am getting the same error. But i am using only one card and getting this error whenever i enter an amount value. when the amount is 0 there is no error. Can you pls tell me why is this error coming. Is there a place where i need to maintain or assign any values to the card.
    thanks,
    Manas.

  • Listing (for further action) all page items that have a certain script label

    hello from France,
    Well the question is essentially in the subject line: how to find and work on all page items of a document (or a page/spread) that have the same script label (or better: whose script label contain the same word)?
    I tried some variations around something like that, with no results:
    set list_pageitems to every page item of page i whose label is "product"
    Any clues?
    Thanks for your help
    Vincent

    I found the answer (for those who might be interested), but still have a question (for those who know).
    The solution:
    set list_pageitems to page item "product" of page i
    If you want to do it for a whose document (in may case, deleting some page items):
    delete page item "product" of document 1
    Strange syntax but it works :-)
    The remaining question:
    How to find page items whose label contains a certain string: it would be like selecting page items by tags (every word of the script label would be considered as a tag)?
    Thanks

  • [AS CS3] Bug? All Page Items - grouped items w labels

    Can anyone confirm this behaviour for me. I would classify it as a bug, but maybe the logic for it not being a bug escapes me.
    The command "all page items" is supposed to return a (flat) list of every page object, right? I would suspect that I should be able to address any object in the list. But I can only seem to address an object when it's inside of a group.
    I am trying to get the text of a text frame that has a label. It may or may not be inside a group. I can certainly do a try/error block to try a script statement for objects in a group or not in a group. But I think that "all page items" should be able to handle it directly.
    Here's a test script: ------
    tell application "Adobe InDesign CS3"
    tell document 1
    get label of all page items
    set myUngrouped to contents of text frame "some label" --only works when objects ungrouped, this is expected
    set myText to (get contents of text frame "some label" of all page items)
    --both statements work ONLY when objects grouped
    set myText to (get contents of every page item of all page items whose label is "some label")
    end tell
    end tell
    Steps:
    Make a new document.
    Draw a text frame. Type some text into it.
    Label the frame "some label".
    Draw another empty graphic or text frame.
    Run script
    -->result is, myText statements error out. Why is this?
    Now group all items on page.
    Run script.
    -->result is, myUngrouped can't continue. This is expected.
    Comment out myUngrouped statement
    Run script.
    -->result is, myText statements work OK.

    On 19/8/08 1:14 AM, "SuperMacGuy" <[email protected]> wrote:<br /><br />> set myText to (get contents of every page item of all page items whose label<br />> is "some label") <br /><br />The syntax is a bit tricky. The key is that all page items returns a list,<br />so what you want is certain items -- not page items -- from that list. So:<br /><br />set myText to (every item of all page items whose label is "some label")<br /><br /><br />-- <br />Shane Stanley <[email protected]>

  • AS - all page items, access not allowed

    I am upgrading an AppleScript from working with InDesign CS5.5 to CS6.    When I recompile I get the syntax error:
    "Can't set <<constant dpvtdppv>> to <<class aPgi>>.
    Access not allowed."
    My statement is a simple
    "set pList to get all page items" within a tell myDoc section.
    In reviewing the AS guide for InDesign CS6, the notes say that Chapter 4, covering all page items,  was not changed in CS6.  Page 113 of the guide phrases the statement without a "get", so my statement would be
    "set pList to all page items".  This fails with the same error.  As my code gets plenty of use under CS5 and CS5.5, I suspect a dictionary error from Adobe.
    Anyone with ideas?

    G'day
    try :
    set pList to every page item
    m.

  • Retrive all the items under one folder

    Hi,
    I am new to ContentArea API's in 9ias.
    I am looking for Sepecific API's to retrive all the Items
    under one folder.
    thanks
    sha

    I'd love to know that API also. I have resorted to accessing the tables containing that information.
    wwv_corners contains an entry for each folder. wwv_things contains an entry for each folder item. You can join the two tables as
    wwv_corners.id = wwv_things.cornerid
    You could do something like:
    select folders.name, items.id
    from portal30.wwv_corners folders
    ,portal30.wwv_things items
    where folders.id = items.cornerid
    and folders.id = 99999;
    (where 99999 is the folder id.)
    Mike Kleiman

  • Block all ip addresses except one

    I want to block all ip addresses except one from connecting to the computer. Is there a device (firewall) for the same?

    Hi,
    If you have an existing firewall and the traffic destined for that host is going through the firewall then naturally you can use the firewall to block the traffic. The firewall however wont be able to control the traffic between the devices in the same network.
    It would seem to me though that you are probably looking for something to enable blocking connections on a certain host/PC from all but one source IP address. This would sound more like a situation where you would use some software on the host/PC itself to control the access.
    Cant say much more with the provided information which was minimal.
    - Jouni

  • Block all USB drives except ones owned by our company

    We am trying to setup a policy to block all USB Drives except the ones
    that are owned by the company
    Under USB Connectivity Control we have the following setup
    USB Devices: ENABLED
    Default Device Access: DISABLED
    Human Interface Devices (HID): Always ENABLE
    Mass Storage Class: DISABLE
    Printing Class: Always ENABLE
    Scanning/Imaging (PTP): DISABLE
    USB Device Access Settings
    Name Access Device Summary
    CompanyUSB1 ENABLE Serial Number=xxxxxxxxxxxx
    up to 30 more...
    BUT all USBs are able to connect, not just the ones we have defined in
    the USB Device Access Settings
    Can anyone let us know what we are doing wrong?

    OES2,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Combining all line items in one output of material Document...

    HI All,
    We have created one new output type for the material document.
    If we have multiple line items in the material document, the output must be assigned once in the document. But In our case it is assigning for each of the line item. Can any one help how to handle this issue.
    Regards
    Sukant
    Edited by: sukanta patro Chinari on Jan 7, 2010 2:33 AM

    Hi,
    The issue solved. Needed to add some codes in the routine to restrict multiple assignments. For reference take the help of Routine number 173.
    Regards
    Sukant

  • 'All' Page Items

    I have a discover report that uses 'Page Items' and summarizes the results. I would like to include an All on my Page Items which would allow me to display all of the page items summarized together. Is this possible in Discover or do I need to use Oracle Reports or Forms?
    John
    null

    in 4i, All is supported for Crosstabs. Pierre
    null

  • Need help on Oracle APEX- Retaining Page items of one Session in another

    Hi,
    I am creating an apex application in which there exist two pages. Out of 2 pages, I need to provide authentication on one page and no authentication on the other one.
    When I access the first page by public, I must pass some page items to the second page. Since, I have aunthentication on page 2, there will be a new session created and I could not retain the page items that are passed from Page 1 to Page2.
    Please help me in retaining the page item values of Page1 in Page2.
    Thanks for your help.

    Hi Andy,
    I have passed the values from page 2 to page 3. Due to Authentication on Page 3, the passed values are cleared and a new session created.
    Is there a way to retain the item values using Application items or Application computations?
    Please help.
    Thanks,
    Hanu.

  • Change all page templates in one go

    Hi,
    Is it possible to change all page templates in all applications in 1 go, we have 100s of applications and want to change the titile tag from <title>#TITLE#</title> to <title>#TITLE# - #APP_VERSION#</title>
    Thanks in advance.
    Graham

    As i understand you need to change all Your aps by changing the templates ?
    The fastest way is to change the actual sources of the templates if You've got permission to do that.
    the table i witch the templates are is wwv_flow_templates
    There will be need for clob utilities but it's possible
    regards
    piotr

Maybe you are looking for

  • Can anybody tell me how to extract sales value and cost value for an materi

    dear all, Can anybody tell me how to extract sales value and cost value for an material sold . All the values of cost value and sale values are getting  stored in bseg-wrbtr field . How to identify them uniquely. Or there is another way to find the s

  • Iphone 5 unable to make or receive calls.

    My Iphone 5 is not allowing me to make or receive calls. When I am making calls it comes up saying "Called Failed". I have restarted the phone a number of times and it works for an hour or so and then back to the same. No solid resolution. People are

  • Core foundation.dll not found

    I know this must be an old question. After installing the latest version of itunes, I get the error message that core foundation.dll was not found. Apple syn notifier has stopped working. I have tried three time uninstalling itunes and quick time , a

  • Outlook Client hangs for some Time

    Hi All I have a small network with 1 Exchange Server 2010 having This Version  Exchange Server 2010 Microsoft Corporation Version: 14.02.0387.000 70 Client computers with 50 Directly connected with in the intranet and rest of them are mobile and are

  • How do I start selling again after my last sale was 1 year ago?

    HelloI have been with eBay since 2005 and have purchased items as recently as June 2015. I want to start selling again as I did so on a fairly regular basis over a year ago. I went to my account but could not see how to start a listing. My questions