Pass details into Custom Element

Hi,
I've begun to create a Custom Element which I have based off of the Flash example that comes with the Ravenna Hosting example site.
My Custom Element creates and passes back some HTML just as the Flash example but I need this HTML to be editable (i.e. I need to pass it back into the Custom Element when a user wants to make changes). As it stands at the moment (and as per the Flash example) the code already present is lost and the form simply replaces the HTML each time it is opened.
I've searched the forum and the iDoc Reference Guide but am unable to find any functions or the like in order to achieve this - has anyone done this or can point me in the right direction please?
Thanks

Since a custom element (Passero, this is a SS Custom Element, described in the standard Site Studio Admin Guide) is just an hcsp, you can have that page do just about anything you want. Might I suggest overriding the JS command that sends the content back to the parent window? For example, make that JS open a final popup with the code you need to be able to edit before exiting.
This is the first thought that came to mind so it may not be the best or most elegant. However, custom elements give you so much flexibility that you should be able to give your users the options they need with a little idoc and javascript. To some degree, I've built custom webapps using just the custom elements and it can work well (assuming that's what the use cases call for).

Similar Messages

  • Pass id into custom tag

    <!---page1.cfm--->
    query returned 3 IDs (1,2 and 3).  Loops over each ID and call page2 then pass each ID over. 
    <cfloop query="my_qr">
    <cf_page2 id= "#id#" />
    </cfloop>
    <!---page2.cfm--->
    <cfoutput>
    ID:#attributes.id#
    </cfoutput>
    tested it and only frst ID (1) is passed over to page2 instead of 1, 2 and 3? 
    thanks

    <!---page1.cfm--->
    query returned 3 IDs (1,2 and 3).  Loops over each ID and call page2 then pass each ID over. 
    <cfloop query="my_qr">
    <cf_page2 id= "#id#" />
    </cfloop>
    <!---page2.cfm--->
    <cfoutput>
    ID:#attributes.id#
    </cfoutput>
    tested it and only frst ID (1) is passed over to page2 instead of 1, 2 and 3? 
    Is it a case of onlythe first ID is being passed (so you get "1","1","1"), or that the loop is not iterating three times (eg: you're getting just "1")?
    Irrespective of whether you scope your query, the col in the query should be the first one one found when CF goes to find what you mean by "id", so even if you had URL.id, form.id and variables.id set elsewhere, if my_qr has an "id" column, that'd be the one used. This code demonstrates:
    <!--- test.cfm --->
    <cfscript>
              URL.id = 4;
              form.id = 5;
              variables.id = 6;
              q = queryNew("");
              queryAddColumn(q, "id", [1,2,3]);
              queryAddColumn(q, "data", ["one", "two", "three"]);
    </cfscript>
    <cfloop query="q">
              <cf_tag id="#id#">
    </cfloop>
    <!--- tag.cfm --->
    <cfparam name="attributes.id" default="0">
    <cfoutput>
    ID:#attributes.id#<br />
    </cfoutput>
    This outputs:
    ID:1
    ID:2
    ID:3
    Which is what one should expect.
    I ran this test on CF9.0.1, but woudl expect CFMX7.x to be the same. I will verify this when I get home in a coupla hours time (I don't have CFMX7.x to hand here).
    Adam

  • How to pass apex item value into custom xml for chart or guage?

    Re-opening the old thread : Re: How to pass apex item value into custom xml for chart or guage?
    Which was not answered.
    Roel - Thanks. Its working - but in a semi quotes in the custom XML
    <pointers>
    <pointer value= '&P5_RUNNING_TOTAL.'
    <label enabled="true">
    <position placement_mode="ByPoint" x="50" y="15" />
    <format>{%Value}{numDecimals:1}</format>
    <background enabled="false" />
    </label>
    </pointer>
    </pointers>This question was helpful for us to resolving one recent thread : AnyChart - set Dial axis intervals dynamically?
    (Re: AnyChart - set Dial axis intervals dynamically?
    Edited by: P.Ranish on Dec 13, 2012 6:23 AM

    P.Ranish wrote:
    Is there any update for this question ???
    Edited by: P.Ranish on Dec 13, 2012 3:36 AMNo, And there won't be in the future.
    Please stop posting followup's to old threads, if you have a real problem please search the forum first and post a new question with all information
    Roel wrote:
    Try using &P5_RUNNING_TOTAL. or #P5_RUNNING_TOTAL#Just to make it clear - this will only work if page is reloaded after setting the item values dynamically via AJAX

  • Project PSI API checkoutproject is causing exception :LastError=CICOCheckedOutToOtherUser Instructions: Pass this into PSClientError constructor to access all error information

    Hi,
    I'm trying to add a value to the project custom field. After that I'm calling the checkout function before the queueupdate and queuepublish. While calling the checkout  the program is throwing exception as follow:
    The exception is as follows: ProjectServerError(s) LastError=CICOCheckedOutToOtherUser Instructions: Pass this into PSClientError constructor to access all error information
    Please help me to resolve this issue.  I have also tried the ReaProjectentity method i nthe PSI service inrodr to find that project is checked out or not  . Still  the issue is remains . Anyone please help me for this
    flagCheckout = IsProjectCheckedOut(myProjectId);
                        if (!flagCheckout)
                            eventLog.WriteEntry("Inside the updatedata== true and value of the checkout is " + flagCheckout);
                            projectClient.CheckOutProject(myProjectId, sessionId, "custom field update checkout");
    Regards,
    Sabitha

    Standard Information:PSI Entry Point:
    Project User: Service account
    Correlation Id: 7ded1694-35d9-487d-bc1b-c2e8557a2170
    PWA Site URL: httpservername.name/PWA
    SSP Name: Project Server Service Application
    PSError: GeneralQueueCorrelationBlocked (26005)
    Operation could not completed since the Queue Correlated Job Group is blocked. Correlated Job Group ID is: a9dda7f4-fc78-4b6f-ace6-13dddcf784c5. The job ID of the affected job is: 7768f60d-5fe8-4184-b80d-cbab271e38e1. The job type of the affected job is:
    ProjectCheckIn. You can recover from the situation by unblocking or cancelling the blocked job. To do that, go to PWA, navigate to 'Server Settings -> Manage Queue Jobs', go to 'Filter Type' section, choose 'By ID', enter the 'Job Group ID' mentioned in
    this error and click the 'Refresh Status' button at the bottom of the page. In the resulting set of jobs, click on the 'Error' column link to see more details about why the job has failed and blocked the Correlated Job Group. For more troubleshooting you can
    look at the trace log also. Once you have corrected the cause of the error, select the affected job and click on the 'Retry Jobs' or 'Cancel Jobs' button at the bottom of the page.
    This is the error I'm getting now while currently calling the forcehckin, checkout and update. Earlier it was not logging any errors.From this I'm not able to resolve as i cannot filter with job guid

  • Loading .gif animations into Photoshop Elements 8 for Mac

    For years I used Photoshop Elements 2 for Windows to make .gif animations with great success. 
    Then I switched to a Mac and bought Elements 8 for Mac.  Now, I am finding out that I can not load any
    of the animations I made using Elements 2 into 8.  (And yet I can load animations I made using 8 into 2.)
    In fact, I can not load any .gif animations into 8, other than if I make one and save it
    as .psd.  8 allows me to make them, but not load them as .gifs.
    My question:  Is there an easy way to load .gif animations into PS Elements 8 so a
    person can work on the individual frames?  Am I going to have to convert any .gif animation I
    want to import into 8 first into .psd?  All I seem to get when I try to load a .gif is the message
    "This is an animated gif.   You can only view one frame." I have searched manuals and the
    Net looking for a specific method of using PSE8 to load gif animations intact (not just one frame). 
    Is it possible?  Thanks. (I also have noticed that Elements 8 will not allow me to change the frame
    speed -- it is unchangeable at .2)

    Dear Ms. Brundage -
    I followed the directions detailed in your blog entitled "Moving a Catalog from Windows to Mac" as well as your description of the process on page 58 of your book "Photoshop Elements 9 - the missing manual." 
    I installed PE9 for Windows and converted my catalog.  I then backed up that catalog to an external hard drive.  I then connected the hard drive to my MAC on which I also installed Photoshop Elements 9 for MAC.  I opened the Organizer and tried to restore that converted catalog.  However, for each file in the converted catalog, a dialog box opened that said "Could not restore file:  /Volumes/Name of External Hard Drive/Filename.JPG."
    I then made a second backup of the converted catalog using Photoshop Elements 9 for Windows and then tried to restore that catalog again on the MAC using Photoshop Elements 9 for MAC, again to no avail.
    Do you have any idea what the problem may be?
    Thanks again.
    Steve Haas
    [email protected]
    [email protected]
    (770) 313-0038

  • Cannot load media from organizer into premiere elements 9.0

    I have spent the majority of the day trying to load media into a new project in premiere elements to edit the video. When I select the video and click edit in premiere elements, premiere opens but no media is available. It never loads the videos. I can review the videos including sound in elements organizer. I have a Canon Vixia HFS10, the file types were loaded directly to the harddrive of the computer as .mts. I have changed the presets for the type and that doesnt seem to help. I have updated premiere 9.0, disabled security, updated windows (vista).
    Does anyone have any suggestions?
    Thanks,
    De

    De
    Premiere Elements 9.0/9.0.1 on Windows Vista (32 or 64 bit?)
    Let us try the following before we get into an extensive exchange of problem details.
    Your Elements Organizer 9 .mts video that you are trying to import as media into a Premiere Elements 9.0/9.0.1 project is only a thumbnail that traces back to the source video which exists saved to a computer hard drive location.
    What happens if you open a new project (with project preset set to match the properties of this particular video) and import this .mts video from the hard drive save location into the new project with Premiere Elements 9.0/9.0.1's Get Media/Files and Folders? Does the video import into the project?
    As an aside, do you have any other versions of Premiere Elements installed on your computer besides Premiere Elements 9.0/9.0.1? Also, is this a "it worked before, but now" or "it never worked before" problem?
    We will be watching for your follow up results.
    Thank you.
    ATR

  • JRC with JavaBeans datasrc - how to pass params into javabean.getResultSet?

    Hi.
    I'm developing javabeans data sources for crystal reports for the java/JRC engine.  I've seen the document entitled Javabeans Connectivity for Crystal.  It TALKS ABOUT passing params into the methods that return java.sql.ResultSets but there is absolutely no example code anywhere that I can find on how to do it.
    What I don't understand is:  Since the JRC engine is basically controlling the instantiation of the javabean, other than calling some type of fetch method in the constructor, how the heck am I supposed to pass in db connection info and a sql string? 
    Anybody got sample code for how to call/where to call parameters that I would put in a custom getResultSet method??
    Thanks.

    I don't think that a Connection Pool class would be an ideal candidate for becoming a JavaBean. One of the most prevalent use of a JavaBean class it to use it as a data object to collect data from your presentation layer (viz. HTML form) and transfer it to your business layer. If the request parameter names match the Bean's property names, a bean can automatically get these values and initialize itself even though it has a zero argument ctor. Then a Bean could call methods in the business layer to do some processing, to persist itself etc.

  • How to pass parameter into extract function (for XMLTYPE)

    I have a table PROBLEMXML with XMLTYPE field xml_column. In this column there are several deffinitions for the problem. There is no max amount of deffinitions and it can be no definition at all. I need to return all definitions for every problem as a string wirh definitions separated by ";".
    Query
    SELECT extract(prob.Def,'/Definitions/Definition[1]/@var') || ';'|| extract(prob.Def,'/Definitions/Definition[2]/@var')
    FROM PROBLEMXML j ,
    XMLTABLE (
    '/problem'
    PASSING j.xml_column
    COLUMNS probid VARCHAR (31) PATH '/problem/@id',
    Def XMLTYPE PATH '/problem/Definitions') prob
    where PROBLEM_ID =1;
    returns exactly what I want a;m.
    But
    declare
    my_var varchar2(2000) :=null;
    n1 number;
    n2 number;
    begin
    n1:=1;
    n2:=2;
    SELECT extract(prob.Def,'/Definitions/Definition[n1]/@var') || '|'|| extract(prob.Def,'/Definitions/Definition[n2]/@var') into my_var
    FROM ETL_PROBLEMXML_STG_T j ,
    XMLTABLE (
    '/problem'
    PASSING j.xml_column
    COLUMNS probid VARCHAR (31) PATH '/problem/@id',
    Def XMLTYPE PATH '/problem/Definitions') prob
    where PROBLEM_ID =1;
    dbms_output.put_line(my_var);
    end;
    returns NULL.
    Is there is a way to pass parameter into extract function?

    I need to return all definitions for every problem as a string wirh definitions separated by ";".In XQuery, there's the handy function "string-join" for that.
    For example :
    SQL> WITH etl_problemxml_stg_t AS (
      2   SELECT 1 problem_id,
      3  xmltype('<problem id="1">
      4   <Definitions>
      5    <Definition var="var1"></Definition>
      6    <Definition var="var2"></Definition>
      7    <Definition var="var3"></Definition>
      8   </Definitions>
      9  </problem>') xml_column
    10   FROM dual
    11  )
    12  SELECT j.problem_id,
    13         prob.probid,
    14         prob.def
    15  FROM etl_problemxml_stg_t j,
    16       XMLTable(
    17        'for $i in /problem
    18         return element r
    19         {
    20          $i/@id,
    21          element d { string-join($i/Definitions/Definition/@var, ";") }
    22         }'
    23        passing j.xml_column
    24        columns
    25         probid varchar2(30)  path '@id',
    26         def    varchar2(100) path 'd'
    27       ) prob
    28  ;
    PROBLEM_ID PROBID               DEF
             1 1                    var1;var2;var3

  • Details in Customer Invoice

    Hi All,
             Here is client req:-
    One Industry is performing its operations from 2 different locations to
    its various kind of Customers includes manufactures, first stage dealer
    etc..,
    Goods will be transferred from Plant-1 to Plant-2, from Plant-2 without
    any value addition, same will be sell to its Customers.
    So I have created Two Plants as Plant-P1, Plant-P2. Transported goods
    from P1 to P2, will be sold to Customers.
    Where as If Company sells transported goods from P2 to first stage
    dealer, we have to mention the details of the goods including Invoice
    number & excise duty *** values which is received from the P1 in Customer
    Invoice.
    Here my concern is, - in STO, we can not do MIRO- Invoice
    receipt. When selling these transported goods to the customer, how &
    where to capture these Invoice details in Customer Invoice details?
    I have done the transaction for regular sales-where as in this case,I
    have to capture invoice details of the goods received from P1 & those
    details should be printed on first stage dealer invoice including
    material number-qtty received-excise duty/value.
    Looking for your reply asap.

    Hi,
    I think you are treating the goods as finished products in Plant P2 ( Which came from Plant P1).
    In this case you will not cappture the excise invoice information in plant P2.
    If the plant is non excisable plant  , then there is no point of giving an excise invoice to customer( First stage dealers) as there is no manufacturing activity done at plant P2.
    So what you need to do is to just pass the excise invoice that is generated by plant P1 and rise a commercial invoice with sales tax to customer from plant P2.
    Another way is treat plant P2 as Depot.
    Hope this helps you.
    Regards,
    Sai
    Edited by: sai srinivas on May 18, 2009 1:05 PM
    Edited by: sai srinivas on May 18, 2009 1:06 PM

  • Where are customized element lists stored ?

    Hi all,
    After removing lots of useless DITA elements from my Elements list via the Customized List option, I find that the list is only used for the document in which I have edited it, and is not kept when I close and reopen the DITA file.
    In the FM10 help file I read that the customized list applies to a document - or possibly to a set of documents in a book that were selected when opening the Customized List option. In DITA topics, there is no use for an FM book file, so this documented option is pretty useless for those types of structured files.
    Does anyone know where the customized elements list is stored ? Can it be copied and pasted into other documents ? Is there an easy method to make it valid for all (new and existing) documents of the same DITA type ?
    Thanks
    Jang

    Hi Scott,
    I understand what you're saying. However, I do not want to change anything to the underlying DTDs, EDDs or read-write rules. I just want to hide a number of elements in FrameMaker without changing anything else. This effectively implements one aspect of constraints (the other aspects, namely making optional elements mandatory or defining an order where this is not given by the original DTDs, are not possible without using the method you indicate.
    At first I was happy with the simple notion of editing the visibility of elements in the editor. This is a feature that several XML editors have also implemented. But in FM, any change to the elements catalog is lost as soon as the file is closed, and that makes this feature really useless. Noboby is going to go through the same stupid process of selecting all those wanted elements or deselecting the unwanted ones every time a file is opened again.
    Michael pointed me in the right direction to solve this problem the easy way: after defining the custom elements catalog in a DITA file and removing all elements from it, I saved the file as an FM file, renamed it to topic.template.fm and placed it in the DITA templates folder (effectively overwriting the old file - but of course I renamed the old one first). Now, whenever I open a topic type file, the custom elements catalog is read from the template. This is done for all DITA files of the topic type, not just the newly created ones.
    This is exactly what I would expect as FM's default behavior, so I am happy that it works. Takes some of the geek stuff out of DITA in FM.
    Ciao
    Jang

  • Custom element event handling

    Hi all
    I could not capture event in my custom element. Can anyone explain in detail, a way to capture events of a element defined in the custom element and redirect it.
    Thanks in advance
    Rakesh ;>)

    Hi Rakesh,
       If you are using HTMLB in your layout go through the weblog,
      /people/brian.mckellar/blog/2004/07/28/bsp-programming-handling-htmlb-events
    Regards,
    Azaz Ali.

  • JQUERY on a Custom Element Form

    Hi,
    I would like to know if it's possible to use the librairy jquery on a custom element form ( SSXA) . How to do a link to the jquery librairy stores in UCM ?
    I want to create a date picker with jquery . anyone have already done it before ?
    Thank you for your answer

    Eran,
    Can you elaborate on what you're looking for?
    UCM comes with a number of sample custom element forms. These forms are leveraged within a pretty strict context of the site studio contributor. The primary api is javascript based.
    I don't believe you would be restricted on the types of custom element forms you can create if you're implementing into a jsp/x site. I believe the issue is mostly dependent on how you're calling the SS contributor.
    -ryan

  • How to download a DVD movie into Premiere Elements 12 using my MacBook Pro so I can edit the video?

    How to download a DVD movie into Premiere Elements 12 using my MacBook Pro so I can edit the video?

    Bob Perez
    Please review and consider the following which works for me in Premiere Elements 12 Window 64 bit.
    From what you wrote, I suspect that you have DVD-VIDEO widescreen on DVD disc. For now I will assume that you are working in a NTSC setup.
    Premiere Elements DVD-VIDEO on DVD disc is characterized as interlaced video with field order lower (bottom) field first. I am not sure how your DVD-VIDEO on DVD was produced - upper (top) field first or lower (bottom) field first. We may have to apply Field Option Reverse Field Dominance at the Timeline level, but for now let us put that aside for a later time.
    Insert your DVD disc in the DVD burner tray.
    Open Premiere Elements to the Expert workspace and set the project preset manually for NTSC DV Widescreen. How to details for manual project preset setting are found
    ATR Premiere Elements Troubleshooting: PE11: Accuracy of Automatic Project Preset (New Project Dialog) Setting
    Then, Add Media/DVD camera or Computer Drive/Video Importer.
    The video files from the DVD-VIDEO will be the larger size files and will probably start with VTS_01_1.VOB.
    In the Video Importer designate the save location for video file VOB(s) and select Add to Timeline and hit Get Media
    to put the files on the Timeline for editing.
    If you have more than one DVD disc to "rip", please set up the Video Importer Save In location so that the save in location has a folder for each disc. The fact that all DVDs have the same VTS_01_1.VOB name etc will cause problems if you saved all to the same place as individual files.
    Determine how that works for you in your Mac computer environment. We will be watching for your progress.
    Others may tell you that you need to convert the VOB to another format before import into Premiere Elements. That is no necessary for Premiere Elements.
    Thank you.
    ATR

  • How to import a jpeg image into premier elements 12?

    how do  i import a jpeg image into premier elements 12?

    chuckx
    Just for background information, what computer operating system is your Premiere Elements 12 running on?
    The generalized answer is Add Media/Files and Folders/Projects Assets from where you drag the photo to the Expert view Timeline.
    But all that can generate a mountain of questions about the photo and the project into which it will be going
    a. what are the pixel dimensions of the photo - will or will I not have to resize or crop/resize the photo for the project
    b. is the photo going into a project that will consist of photos and videos
    c. if video inclusion, that leads to questions about the properties of the video so that you can set the project preset to match those
    d. that leads to questions on the best size to have your photo before you import them into this project.
    So, one simple question generates a lot of side questions.
    Please let us know how we might help to sort out the details for your Premiere Elements workflow and its source media.
    Thank you.
    ATr

  • Importing Albums into Photoshop Elements 8 for MAC

    Has anyone had experience in importing a series of Albums - created in Photoshop Elements (6) for Windows - into Photoshop Elements 8 for MAC?  I have thousands of photos, arranged into separate Albums, that were created in Photoshop Elements for Windows and which were backed up onto an external harddrive, that I want to move into Photoshop Elements 8 for MAC.  However, I do not see how to do this. HELP!!!

    Dear Ms. Brundage -
    I followed the directions detailed in your blog entitled "Moving a Catalog from Windows to Mac" as well as your description of the process on page 58 of your book "Photoshop Elements 9 - the missing manual." 
    I installed PE9 for Windows and converted my catalog.  I then backed up that catalog to an external hard drive.  I then connected the hard drive to my MAC on which I also installed Photoshop Elements 9 for MAC.  I opened the Organizer and tried to restore that converted catalog.  However, for each file in the converted catalog, a dialog box opened that said "Could not restore file:  /Volumes/Name of External Hard Drive/Filename.JPG."
    I then made a second backup of the converted catalog using Photoshop Elements 9 for Windows and then tried to restore that catalog again on the MAC using Photoshop Elements 9 for MAC, again to no avail.
    Do you have any idea what the problem may be?
    Thanks again.
    Steve Haas
    [email protected]
    [email protected]
    (770) 313-0038

Maybe you are looking for

  • Time Capsule won't connect to BT Home Hub

    I have just moved house and have set up a new BT Home hub today. The internet is working as is the wireless printer but I want to be able to connect the Time Capsule to the BT internet network in order to make back ups. I have gone through Airport Ut

  • Does solution manager 4.0  require SMD Agent?

    we have  solman 4.0 abap+java with sp11.we are in the process of configuring sol mananager  diagnostics for sattlite systems. for monitoring solution manager   java stack it self from solution manager  do we need to install  SMD AGENT   even thogh so

  • Old emails that I archived suddenly appeared in my Inbox again

    Yesterday over 330 old archived emails suddenly downloaded back into my Inbox. I didn't make any changes to my Gmail account nor did I sync anything. This happened while I was on vacation, so its very bizarre. The emails start from 10 months back - a

  • How to get Siri on iPad iOS 8

    Help me my ipad dont have siri how i gonna do with it ? But the other ipad have siri

  • Do I need to extend the OS disk if my Datastore is thin provisioned?

    I noticed on my windows server (VM) that one of the disk drives was getting low. This was showing 22gb free from the OS. (Windows 2008 R2)  It is functioning as the file storage and print server.   So, I extended the SAN LUN by 100gb, extended the vC