How to get the edit channel link from within the channel?

Following problem:
I want to include a link to edit the settings of a channel in the channel contents. The link should be the same as the edit button on the frame of the channel container. Searching through the provider jsps I found that the edit link is created in single.jsp. The code I need seems to boil down to
<dt:obtainContainer container="$JSPProvider">
  <dtsingle:singleContainerProvider>
  <dtpc:getStringProperty key="editContainerName" id="editContainerName" scope="request"/>
  <dt:getName id="SingleContainer" scope="request"/>
  <jx:declare id="editContainerName" type="java.lang.String"/>
  <jx:declare id="SingleContainer" type="java.lang.String"/>
    <dtsingle:obtainSelectedChannel>
<A HREF="<dtpc:getDesktopURL/>?action=edit
&provider=<%=editContainerName%>
&targetprovider=<dt:getName/>
&containerName=<%=SingleContainer%>"
TARGET="_self"> EDIT! </A>
    </dtsingle:obtainSelectedChannel>
  </dtsingle:singleContainerProvider>
</dt:obtainContainer>However I am unable to get that working in the channel, as I always receive a ProviderException on the line with
<dt:obtainContainer container="$JSPProvider">
What am I doing wrong, or is does the obtainContainer simply not work from within a channel?
If anyone can help me out to get the edit link it would be greatly appreciated. Any hints and/or sample code would help alot.
thanks!
Message was edited by:
obstler42

Hi Detlev ,
Thank you very very much . We could figure out how to get the URL and Driver information from there .I have rewarded the points also.
Thanks
Ravi
Message was edited by: Ravi Krishnan

Similar Messages

  • How to get absolute path of a form within the Forms

    Aslam o Alikum (Hi)
    How to get absolute path of a form within the Forms 6i or 9i
    For example
    i am running a from "abc.fmx" from C:\myfolder directory
    can i get the form path 'C:\myfolder' by calling any any function from "abc.fmb"

    There is no direct call that will always work. What you need to do is call get_application_property(current_form). This may have the full path in it, depending on if that path was defined when the form was launched. If there is no path, then you need to use TOOL_ENV.GETVAR to read the Forms<nn>PATH and the ORACLEPATH, parse those out into individual directories and then check for the FMX in each.
    I already have some code to do all this for you see:
    http://www.groundside.com/blog/content/DuncanMills/Oracle+Forms/?permalink=4A389E73AE26506826E9BED9155D2097.txt

  • How to get highest number of open cursors within the current calendar day

    Hi all ,
    i need to know how to get the highest number of open cursors within the current calendar day.
    Thanks ,

    823030 wrote:
    the issue is my customer is getting the error ORA-01000: maximum open cursors exceeded and we need an sql statment that gets the following values :
    -highest number of open cursors experienced in the current calendar day.
    -current open cursors
    -and maximum open cursorsThis error is rare. It happens when
    a) the value of the open cursor parameter is set extremly low (default is something like 1000). Low would be something like 10.
    b) <strike>you have many concurrent users(=sessions) and </strike>the application does not use bind values
    In this case each select will open a new cursor, instead of reusing it.
    c) you have a select that opens a cursor for each line. This can happen with a statement where you have the CURSOR keyword somewhere in the select or where clause. Those cursors will be closed when the select is finished. But during the run time of the select, all cursors stay open.
    To track the number of "open cursors" during the day you would need to implement some monitoring. Maybe based on the view that was already mentioned.
    Edited by: Sven W. on May 16, 2011 2:30 PM - since the parameter is on session level, other open cursors should not influence it much.

  • Can you programatically get at an xcontrol label from within the xcontrol?

    I'm working on an XControl, and I have include a VI in the control project definition to do some of the crunching. In this VI I would like to use the Label Text assigned to this instance of the XControl. The goal is to have my XControl write some info out to file on UnInit and so if the programmer used two or more instances, I would need to tag the info with the control's lable to be able to identify which control it came from. Is it simple and I have missed it?

    Perhaps I misunderstand your question but I think this is possible.
    Inside the XControl's Facade.vi, you can get a reference (Refnum) to the XControl from the Container State. You can use this reference to get the label of the XControl (Label.text property). If you put it in the right event in the facade vi (I tried the timeout case, but any of the events should work), you can store it in Display State, so you don't need to get it each time.
    If you need the XControls label in a vi that uses it, you can do so just as you would with any other control. Simply right click the terminal, and select create reference, and wire a Label.text property to it.
    Regards,
    Wiebe.

  • How do I erase a hard drive from within the system itself?

    I want to erase everything on my hard drive as I want to give it away to someone. It has Lion on it.
    How do I do this?
    I tried to erase using Disk Utility but the disks were grayed out.
    I have saved all the data on another disk so I can completely erase the drive.

    I ended up doing it by booting with Lion Recovery (it was a Lion machine), obtained by booting and pressing down the Option key.
    Then I went to Disk Utility and erased the internal hard disk.
    But afterwards, when I tried to do Lion Recovery, I couldn't. Maybe because my Internet connection was poor. I was at a hotel. I think you need an internet connection to get Lion OS downloaded on your computer.
    It didn't really matter anyway as I  the person who I gave it to can get Lion on the machine easily.

  • Is it possible to disable the 'edit layout' link on the record detail page

    Is it possible to disable the 'edit layout' link on the record detail page? Not the homepages, I know there is a switch for that, but I thought there was one for the detail pages?
    I want to disable this as I dont want users saving their own layouts, they must stick to the related sections defined in the default layout. The problem is that if they are to have access to certain related lists when an opportunity is of a certain type but NOT other types. If they have saved the layout (using the 'Edit Layout' link), and change the record type, they will see related sections that have been set to 'Not available' in the default layout (ie step 4) for that 'type'.

    Robbo, at this time it not possible to disable the Edit Layout on the record detail page.

  • Using System.err.println() from within the classes of WAS ?

    hi,
    I am using admin.jar,a jar file which is being used by Web Application Server in my own class.
    I am referencing some of the classes from admin.jar from my class.
    I tried to print some trace statements,using System.err.println() from within the classes in admin.jar but they did not reflect in defaulttrace0.trc.
    I made these changes in the admin.jar being used by WAS.
    I restarted the server and even restarted the machine but without success.
    I want to know how to print System.out.println() statements from within the classes in admin.jar.
    Also, am i looking for these statements in the right file for eg. defaulttrace0.trc. or is it some other file that i need to look into.
    I need urgent help on this.
    Reward points assured.
    thanks a lot.
    Saurav

    thanks craig,
    ur answer has helped me a lot.but it didnt quite help me.
    nevertheless i am trying to set different levels of severity.
    Is there anything else that i can do.
    Also,i commented out a line of code today in one of the class DataSourceManagerImpl.java in sapj2eenginedeploy.jar
    for eg. temp.delete in it deploy method.Buth that line still executed.
    I m totally lost as to wht to do.
    I m trying to create a datasource from my application in WAS.For that i m using the WAS APIs.But its not working completely.
    I am using the above jar and its method createdatasource.
    I am callin it from my application's class.
    It creates a datasource and i can see it in JDBC Connector list in Visual Administrator.But it appears with red sign meaning its not started.When i start it from the tool then it starts.
    But in defaulttrace.trc file it shows an error "FileNotFindException". This happens,and i am very much sure, in the deploy() of DataSourceManagerImpl.java class of sapj2eenginedeploy.jar.
    i want to apply println inside this method so i may know where exactly i ma getting the error and get so more info so i may solve my problem.
    pls help me.
    its really urgent.
    thanks again
    saurav

  • Querying free space on RDBMS server's drive from within the RDBMS?

    Hi,
    I would like to query free space on a certain drive of the RDBMS
    host mashine from within the RDBMS. Is this feasable?
    TIA,
    Tamas Szecsy

    Depends on the OS and what type of object you are querying from.
    if in Sql*plus you can use the 'host' command to get into the
    shell and execute OS commands (bdf on HP-UX for example). I've
    never seen an Oracle package that queries that sort of
    information.

  • RetrieveJXM metrics from within the cluster?

    I would like to know if it is possible to retrieve the metrics the JMX adapter exposes from within the cluster e.g. by running a thread on the invocation service that would query the underlying data structures to get the metrics out.

    You could still snapshot the stats if you wanted to but you would have to do it using queries into the local JMS server running in the JVM rather than using Coherence API calls.
    Or, depending on what you want to do with the stats, you could look at the JMX reporter that will log stats to a file every so often or you could look at one of the third-party monitoring tolls that will do this.
    JK

  • How to get customer number and name from the SD document

    Hi All,
    Can you please let me know how to get Customer Number and Name from the SD Document?
    Thanks a lot....
    Anil

    Hi,
    It will be displayed in the SD (BIlling document) itself,  you clikc on the VF03. The customer name and number will also appear in the SO document also Tcode VA03
    regards,
    radhika
    Edited by: kolipara radhika on Jul 10, 2009 5:32 AM

  • How can we get a url for a "Meet Now" conference call from within the Windows Store App?

    Hi,
    Is it possible to get the url for the current meeting / new "Meet Now" call from within the Windows Store app?
    You have the option of inviting your current Lync contacts, but I don't see a way of giving a URL to clients that would launch Lync on their device, or take them to the web app.
    I can see how to get the link using the Outlook plugin, for pre-scheduled meetings. Is this link always the same and the one that should be used for an impromptu "Meet Now" meeting? It would still be good to know how to get this URL from within
    the store app so I can tell clients where to get it.
    Some people may be on Windows RT devices and not have access to the plugin in Outlook, and want to start a meeting at short notice and then invite others via email or pasting a link to them elsewhere.
    Any help appreciated.
    If I have answered your question, please mark it as the correct answer. If I have provided helpful information, please mark it as so.

    Hi,
    Agree with Holger, I check on my Lync Windows Store app and can't find the meeting URL as well.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Okay i had to install Itunes onto my new OS because window's Vista messed up on me and i can't get any of my old purchases back from my account such as music and movies any ideas on how to get them back (i do not have the folder that contains old items)

    Okay i had to install Itunes onto my new OS because window's Vista messed up on me and i can't get any of my old purchases back from my account such as music and movies any ideas on how to get them back (i do not have the folder that contains old items from the last itunes or anything from that OS because it had a virus and i just wanted windows 7)

    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Hope this helps,
    JD

  • How to get rid of /j2ee prefix from URL when I use the OC4J via Oracle HTTP server

    In 9iAS 9.0.2 Oracle HTTP Server (OHS) is pre-configured to assign requests to the Home OC4J instance via the URL-prefix "/j2ee"/
    For example, the TEST servlet under OC4J would be passed through OHS using:
    http://urmachine:urApachePort/j2ee/TEST
    whereas in the standlone OC4J version, this URL works:
    http://urmachine:urOC4JPort/TEST
    How to get rid of /j2ee prefix from URL when I use the OC4J via Oracle HTTP Server?

    It is getting the url prefix from mod_oc4j.conf
    under /ora9ias/Apache/Apache/conf
    You can read more on this at
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a92173/confmods.htm#1008977
    -Prasad

  • RoboHelp 11 - When previewing topics from within the project, a script error displays: 'HHComponent Activator' is undefined. How do you get rid of this script error?

    RoboHelp 11
    When previewing topics from within the project, a script error diplays: 'HHComponent Activator' is undefined.
    How do you get rid of this script error?

    Hi there
    Have you tried clicking Help > Updates and applying the service release?
    If not, I'd start with that.
    Cheers... Rick

  • I have CS 6 installed on a Win 7 OS machine. I can not connect to the internet to get updates from within the program. How do I fix this?

    I have CS 6 installed on a Win 7 OS machine. I can not connect to the internet to get updates from within the program. How do I fix this?

    IP routing doesn't work the way many folks might initially think it does; functional IP routing requires manual configuration and the establishment of static routes and default routes specific to the local network configurations, and it's very easy to get it wrong, or to get the default route swapped. Multiple NIC boxes don't magically work, either. (Been there, done that, wondered what happened to my network when the paths got reordered or my route settings were messed up, etc.)
    Routing configuration errors can be quite subtle, too. (Again, voice of experience. Ever had a thousand-seat office LAN accidentally routing through your desktop? As the, um, unnamed guilty party discovered, getting into that configuration was subtle. Seeing the performance crater on the fellow's box and on the LAN was obvious.)
    Knowing how IP routing works is a prerequisite to getting this configuration to work; there's manual configuration required. Clearly something has gone weird here.
    What to do? Read up on IP routing. I'll again suggest the threads and the manual mentioned earlier.
    And in general, I prefer to avoid using my comparatively expensive Mac boxes as sub-optimal IP routers or as firewall boxes. General-purpose operating systems and generic x86 boxes are going to be inherently poor IP routers. Dedicated routers (or embedded or surplus x86 boxes with routing software loaded) offload the Mac boxes here, and are also typically easier to configure manage. And "real" IP routers can have hardware specific to efficiently routing packets. Use of an outboard firewall or firewall-router box also greatly simplifies gateway routing, too; it's a configuration that many folks and many businesses tend to use.

Maybe you are looking for

  • Downloaded apps do not show up on iPod.

    I got an iPod Touch for Christmas. I have been downloading apps and all of the sudden the will not load to my iPod. I have nine pages of apps and the iPod will not let me add any more. If I delete 1 can add one. AM I LIMITED TO NINE PAGES? THANKS, Be

  • Vendor down payment process at the time final  payment

    Hi all MY scenario I posted in F-48 down payment of Rs 50000 and assigned invoice for Rs 89000 in F-54. While clearing I entered Rs 50000 against the Down Payment and posted. Now I am posting payment for the balance amount i.e. Rs 39000 in F-58. I se

  • Where Web Dynpro Java version of Adobe Forms are used in ESS MSS

    Hi, SDN Expert. I am working on research the use of Adobe Interactive Forms in the current processes of HCM ESS MSS. We are on ECC5.0, EP7.0, and ESS MSS SP21. We are in the midst of upgrading to ECC6.0. Do you know where Web Dynpro  Java version of

  • How do I convert 1080 24p NTSC to PAL format, - whats the right frame rate ?

    I have some footage* that I want to convert to PAL HD.   Currently its in NTSC HD. What is the best frame rate / frame size  to convert into?  Do I have to convert it up to 50fps (or 25fps) and turn it into interlaced? General Complete name          

  • Sales Order Line in Back to Back stuck in PO-ReqCreated Status

    Hi I am running a Sales Order Back to Back Cycle. The status of SO Line Remains in PO-ReqCreated inspite of the PO linked to Sales order line is created, approved and receipt is done. Due to this the line is released for shipping ; WF mailer is up an