Dynamic resort of shuttle contents

I'm using DHTML_Shuttle to create and populate both sides of the shuttle control. I'm looking for a way to dynamically refresh the content when the user moves items from one side to another, redisplaying the content of both sides in order by the displayed text. Example: the left side initially displays "apple, cherry, orange" and the right side "blueberry, kiwi, raspberry". If the user moves "apple" to the right, it should display at the top of the list. If "kiwi" is moved left, it should appear between "cherry" and "orange". Any thoughts would be appreciated.
Paul

I found a similar example on Denes Kubicek's ApEx Solutions page and used that as a model to create the proceses, javascript, etc. that I needed. Works!

Similar Messages

  • Merge files...... pick file dynamically Based on your content

    Hi All,
    In my current scenario I have 2 dependent sources (Proxy and File system) from which data is being sent to a common target service. The sources are dependent on Proxy/ECC to File System. Please let me know how I need to pick the file from File system because lot of files are there in File System. Based on my ECC/Proxy message details on field of ABN, according ABN number I need to be pick the file from the File system but I have lot of files in File system. Please let me know how to pick multiple files from one correct file based on my first file message.
    After that picking the files I need merge the two messages and send to target file system.
    Using fork I can merge files, no issues. But here problem to pick file dynamically Based on content .
    Please provide your input......
    Regards,
    Ramesh

    Hi Ramesh Sir,
    You can go for JAVA Type Message Mapping.
    ECC - >  JAVA BASED MESSAGE MAPPING ( HERE WE WILL PERFORM FILE LOOKUP) - > RECEIVER .
    Is This approach sounds fisible to you ?
    Please provide Sender DataType XML / Receiver DataType XML + any 1 csv file in which lookup has to perform.
    and this approach is only possible , if your Flat file is on FTP Server which is on the same network.
    Regards
    Prabhat Sharma.

  • Dynamic pages created from content stored in relation db - suggestions?

    I'm involved in the early stages of a project and need some guidance on the best approach
    to solve it. The idea is fairly simple. Users will access data stored in a relational database
    and see the data presented to them as conventional web pages. The only dynamic part
    of the web page is the query results returned to the user. The results will be wrapped in
    HTML and JavaScript also stored in the database.
    I've assumed that we'd just be using the browser, start page, Java applets, a JDBC and
    the relational database to handle this.
    Questions:
    1. Once the applets have received all of the content back, in the correct order, from the
    database, how is this fed to the browser so that it can be interpreted as a page?
    2. Will be necessary to use servlets, and if so, at what point does this become a good idea?
    I'm comfortable with the database issues, and have written a lot of HTML by hand. The part
    I'm fumbling with here is the stuff in between. All suggestions are welcome, even those that
    suggest that I RTFM - as long as the manual is named.
    Thanks.

    hi,
    1. Once the applets have received all of the content back, in the correct order, from the
    database, how is this fed to the browser so that it can be interpreted as a page?
    Well you dont actually need to use a Applet if you are just going to retrieve data from the Database for presentation in a Web page, you could use either Servlets or JSP for that, given that you already know HTML and java i dont think either of them is going to take time to learn.
    Well you could a Servlet for eg and in the Servlet write the server-side logic for generating the dynamic html content which is to be presented in the client side, if you are doing lotz of HTML work in the Servlet, you could write a JSP (a JSP will allow you to embed java code along with HTML tagz, much like ASP). I would suggest you use servlets initially though and when you become comfortable enough with servlets, you could also use JSP with JavaBeans.
    2. Will be necessary to use servlets, and if so, at what point does this become a good idea?
    I think itz a better idea to use Servlets to Applets for what you have in mind, for you can get inherant support for sessions, etc also if you write an applet with all that logic, itz going to take time to download that. Also the applet will be only a part of the page, all HTML for eg will be outside of the applet, if you plan to do output using HTML, i think you should use Servlets/JSP instead of Appletz.
    hope that helpz
    cheerz
    ynkrish

  • Integrating Wordpress into Muse need dynamic height based on content with cross domain

    Since Muse doesn't currently support Blogs and Wordpress integration I have decided to use an iFrame.
    My goal is to have the height of the iframe dynamically change based on the content in my Wordpress blog. I understand this is a common issue with frames that are hosted on different domains.
    I am running into having to over compensate with a bunch of deadspace to allow enough room. Alternatively I get the horrible looking scroll bar.
    I have tried using cross site scripting, JQuery and postMessage but am having trouble figuring out how to put the proper code into Muse and Wordpress for them to communicate back and forth.
    Please, any help on this matter would be greatly appreciated.

    Abhishek,
    Thanks for your reply, however, it is not working with Muse. I added the Javascript to the head section and adjusted iframe and it displays as a small square in the upper left hand corner, unable to view the whole page.
    Inserted into head section --
    <script type="text/javascript">
       function resizeIframe(obj)
      obj.style.height = 0;
      obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
       </script>
    inserted as an html object --
    <iframe name="MycoSmooth" src="http://www.mycosmooth.com" frameborder="0" scrolling="no" id="iframe" onload='javascript:resizeIframe(this);' />
    Below is the result:
    The purpose is to have an independent website run the blogging capabilities, since muse doesn't directly support blogging as of yet.
    Since the site is on a different domain, I am running into cross domain issues and it won't get the height of the page. The methods that apparently work use php and I am unsure how that would work in muse, if at all.

  • Dynamic datasource query in Content Presenter

    I have a Documents region with a custom Content Presenter template.
    I would like to use a dynamic datasource query with this, which makes use of the currently logged in user and the user's role.
    The task flow parameters look like this now:
    <parameters>
    <parameter id="taskFlowInstId"
    value="${'afd37bc3-bd2e-4e97-b838-74c975529633'}"/>
    <parameter id="datasourceType" value="${'dsTypeQueryExpression'}"/>
    <parameter id="datasource"
    value="${'SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:dDocType = \'Dagbericht\''}"/>
    <parameter id="templateCategory" value="${''}"/>
    <parameter id="templateView" value="${'dagberichten.list.template'}"/>
    <parameter id="maxResults" value="${'3'}"/>
    </parameters>
    What are my options to achieve this?

    Jaap,
    You can use expression language in that query to make it dynamic.
    You could either build the full query from a managed bean or just some parameters.
    here's how you can do it when building the query from a MB:
    This should be the method in your bean:
    public String getQuery(){
      String user = ADFContext.getCurrent().getSecurityContext().getUserName();
      String query = "SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:dDocType = 'Dagbericht' and ora:p:dCreatedBy = '" + user + "'";
      return query;
    }Your datasource parameter should be something like this:
    <parameter id="datasource" value="#{yourBean.query}"/>note: the "and ora:p:dCreatedBy..." might not be correct but it shows how you can dynamicly build the query.
    Hope this helps.

  • JFrame resize dynamically in response to content pane size changes

    Hi -
    I have a JFrame that uses CardLayout. The CardLayout panel content is of varied dimensions. it means the JComponents added to CardPanel will change size dynamically.
    Is it possible to have the JFrame resize dynamically in response to the content of the CardLayout panel changing?

    camickr wrote:
    No, the preferred size of a panel using a CardLayout is the preferred size of the largest component added to it.
    As a user I think it would be terrible to have the frame resize every time a turn a page to go to the next card. I have never seen this any any application.
    If you really need this functionality, then manage the panels yourself. Remove the existing Component before adding the next component and then do a frame.pack().My Application will be a JFrame.
    inside this JFrame i want to have three JPanels. according to some events and logic my GUI should switch to a given JPanel from those three panels. as i said the Jpanels sizes will change size on runtime depending on a automatic swing JPanel generation and i will have to add the new generated JPanel to parent JFrame with its new size
    any Ideas how to achive this ?

  • Alternative to using dynamic variable / NOW () in Content FILTER

    Good morning all,
    Could someone suggest an alternative to using NOW () in the WHERE clause of LTS? Using ExpirationDate>NOW() works, but unfortunately, this request can't be cached (because reports using dynamic statements using NOW () and TODATE () don't get cached).
    I've identified a possible solution - creating a variable that would use first day of current month with this Initialization block:
    SELECT LAST_DAY (ADD_MONTHS (CAST(SUBSTR(SYSDATE,1,10) AS DATE), -1))+1 FROM TIMEDIM_TABLE WHERE CAST(SUBSTR(SYSDATE,1,10) AS DATE)=CALENDAR_DATEAs a result the variable is showing: TIMESTAMP '2009-05-01 00:00:00' in Default Initializer field. This seems to be working - I'm just not sure why not all he reports get cached.
    My question is - is this valid way for this and is there a better way to accomplish this?

    Hy Wildmight,
    Here an article :
    Why a Query is Not Added to the Cache ?
    http://gerardnico.com/wiki/dat/obiee/bi_server/cache/obiee_bi_server_why_no_cache
    If you use a repository variable, the cache work and the entry will be deleted next time you update it.
    Success
    Nico

  • DYNAMIC CHANGE OF TABLE CONTENTS IN WEBDYNPRO VIEW

    Hi,
      I have a requirement to display a table contents, and there are two buttons, When i select some records and clk on a button i need to delete these records in the database table as well as in webdynpro view.
    I am able to delete the records in database but the contents of table in view of webdynpro remains unchanged. Can anyone tell me how to delete the contents in the view also??
    Regards
    Naveen

    Hi Naveen,
    You need to Refresh the data you are binding to the table to make the latest data
    visible on the screen.
    On action of the button you are deleting entries from the database. After this
    Fetch data again from the database and bind to the node of the table.
    Hope this solves your problem..
    Regards,
    Ismail.

  • Dynamic/included table cell content - is it possible in JSF ?

    Folks !
    There is one killer JSP feature I seem to be missing in JSF dataTable components (I have tried Tomahawk also):
    Basically, I am looking to do something like this:
    <f:facet name="header">
    <jsp:include page="detail.jsp" flush="true"/>
    </f:facet>
    Reason ? I would like to reuse detail.jsp content in more than one places and don't want to duplicate same code.
    This is specially the case when you are using a detail row (from Tomahawk or Trinidad) that spans across all columns
    <f:facet name="detailStamp">
         <jsp:include page="detail.jsp" flush="true"/>
    </f:facet>
    If not regular JSP, is it possible to do this somehow in Facelets ?
    thanks,
    -Sanjay

    Sorry, I failed to note that "detail.jsp" is not static content but actually uses the "row" variable of the datatable.
    Since includes are processed seperately from taglib rendering at runtime, detail.jsp fails with error as it doesn't see the row variable null at run time.
    thanks,

  • Can I create a project that dynamically pulls in outside content.

    I need to create a project that has a block of information
    via an image or a html block that can reference information outside
    of the project. The idea here is I want to include Images that
    drive users to other presentations, but would like to make those
    blocks dynamic, such that I can modify the block outside and not
    have to edit and re-generate the presentation from
    Captivate.

    The generic answer to your question is that Captivate does
    not have dynamic load capability.
    You would need to create that functionality in Flash and
    import it into Captivate as an animation. The process is fairly
    straightforward and any decent Flash developer could do it for you.
    And, as Rick alluded to, Paul Dewhurst is a very decent Flash
    developer.
    The only really tricky part seems to be making sure the Flash
    animation takes into account the internal structure of the
    published Captivate project. Published Captivate projects have a
    predefined layer order that may affect what you're trying to
    do.

  • Load the dynamic values in shuttle

    Hi,
    I have one Managed bean which holds the arraylist. i want to load the list in to shuttle.
    if possible help me to send the piece of code.
    Thanks

    The SRSkills.jspx page in the SRDemo Sample includes a shuttle. I'd recommend studying that working example for your situation, and modifying it as needed to work with your backing bean arraylist. This goes along with section "19.8 Creating a Shuttle" in the ADF Developer's Guide for Forms/4GL Developers.

  • Is WPC dynamic list recursively showing content?

    Hi guys,
    I have this KM folder structure with WPC's articles:
    FOLDER 1
    |
    |_ FOLDER A
    |     |_ article a.1
    |     |_ article a.2
    |
    |_ FOLDER B
    |     |_ article b.1
    |     |_ article b.2
    |
    |_ article 1.1
    |_ article 1.2
    articles 1.1 and 1.2 are direct children of Folder1 (ie: they are sibling for Folder A and Folder B). I hope it's clear :S
    Here comes the trouble. I'm using a WPC Dynamic List pointing to Folder 1, but instead of showing only articles 1.1 and 1.2, the list is populated with ALL articles within Folder 1 and Folder A and Folder B.
    I'm guessing it is reading the folder structure recursively. I need to display ONLY the two last articles (article 1.1 and 1.2).
    Is this a bug or, by the opposite, is the expected behavior?
    Thanks in advance.
    Best Regards,
    Marcelo

    Thanks for the answer.
    Guess i have to put everything I need in the article element so i do not need to show the page.
    Another question occured to me while I was doing that:
    When I navigate from a Dynamic List to an Element, it should be possible to navigate back and forth with the buttons I created using the history api.
    Instead of the "<a href..." in the default dynamic list I created an onclick event. Right now im trying to navigate to the article with its guid and the method "EPCM.doNavigate(...)" but until know i haven't been able to get it done.
    Is it even possible to reach that goal and in case it is am I on the right track or is there a better approach available?!
    Thanks in advance...
    Greetings,

  • How to have dynamic size of the content area

    Hello everyone
    I am trying to create a printable adobe form using Adobe LiveCycleDesiner 8.
    Here is my problem.
    The PageMaster is containing the company Logo, Address and the ship to address.
    The ship to address can be composed by up to 11 lines. Those lines are not always used. Some addresses have only 5 lines.
    If I am reserving those 11 lines before the content area, we are loosing alot of space that can be used for the body page.
    So the question is:
    Is it possible to have a flowed content area? Where the size of the content area would be driven by the available space of the PageMaster?
    Regards
    stjacqd

    Hello Carsten
    The subform has no impact to the content area size.
    The subform has an impact only inside the content area or inside another  form.
    My point is:
    PageMaster
    |  Logo                                          |
    | Address1                   Address      |
    | Address2                   Address      |
    | Address3                   Address      |
    | Address4                   Address      |
    | Address5                   Address      |
    | Address6                   Address      |
    | Address7                   Address      |
    | Address8                   Address      |
    | Address9                   Address      |
    | Address10                 Address      |
    | Address11                 Address      |
    |---------------------------------------------------|
    | Content area                               |
    |                                                   |
    So, inside the Page Master there is 11 lines reserved for the addresses,
    But at the printout, if there are only 3 lines used for the address, I would like to reassign the space used by the address4 through adderss11 to the content area.
    So the result at printout will look like:
    |  Logo                                          |
    | Address1                   Address      |
    | Address2                   Address      |
    | Address3                   Address      |
    |---------------------------------------------------|
    | Content area                               |
    |                                                   |
    Instead of:
    |  Logo                                          |
    | Address1                   Address     |
    | Address2                   Address     |
    | Address3                   Address     |
    |                                                   |
    |                                                   |
    |                                                   |
    |                                                   |
    |                                                   |
    |                                                   |
    |                                                   |
    |                                                   |
    |---------------------------------------------------|
    | Content area                               |
    |                                                   |
    Regards

  • Print Dynamic Content with printJob

    I recently developed a help resource application that builds
    the interface and loads all the main and sub navigation items,
    pages contents, and related resources dynamically. This was to make
    it easy to provide search and print functionality, as well as
    interface scalability. Therefore my print feature creates a print
    layout MovieClip (so as to format well for 8.5 x 11 and printer
    margins) and loads the appropriate text content related to the
    visible page on screen when the print button is pressed.
    I thought the print was all set to go, but what I found out
    is that once you print a page of the Help Resource application that
    same page prints in place of any other page you print from there on
    out.
    My print button calls a function that pulls all the
    appropriate dynamic data (page title, page contents, related
    resource names, etc.) and formats it as HTML and adds it to my
    print layout MovieClips text field (docPrint._txt).
    That function then calls my printJob function which creates a
    blank sprite, adds my print layout movieclip to that sprite,
    resizes the print layout MovieClip’s text field to fit
    appropriately within the printer margins and prints the file.
    Anyone have any ideas why my dynamic content prints as the
    same page each time? Note that if I trace the contents of my text
    field for my print layout MovieClip the contents change each time,
    but the print stays the same.
    Sorry for the long post and huge thanks to anyone who may
    have an answer.
    Have a great day!

    I am responding to my own post as I found a solution, though
    I am now about bald from pulling all my hair out. Hopefully this
    helps even one random soul in the future as the printJob class
    seems to be one of the hardest to get help with or find information
    online that pertains.
    My code dynamically creates print page contents based on the
    on screen contents the user is currently viewing within my
    application. My print functions were always printing the first page
    that was printed no matter what page within the application the
    user was viewing.
    As I have learned to do, I was declaring the variables for my
    print objects in the root of my actionScript (outside all the
    functions so they could be accessed across functions).
    I had two variables:
    var docPrint:document = new document(); // A MovieClip layout
    for my print page located in my library
    var printPage:Sprite = new Sprite(); // The Sprite to hold my
    MovieClip for print purposes as a sprite is required
    I also had two functions:
    docContentsLoad(); // Loaded contents into docPrint Movieclip
    and formatted
    printJob(); // Created print job, adjusted docPrint for
    printer settings, and sent print
    It turns out the easiest solution was to combine my two
    functions into one printJob function and place my two variables
    (docPrint & printPage) at the beginning of the function. Now
    the printing works fine everytime. No more repeat pages.
    My assumption is that the only way to truly reset the print
    document is to delcare the variables within the function being
    called to print the document so that they are redeclared each
    time.

  • Get HTML (Dynamic Converter) converted content from external application

    As per requirement, External (Other java application) application suppose to get dynamic converted (HTML version) content from UCM.
    I am trying to execute GET_DYNAMIC_CONVERSION service using RIDC and web service client call.
    I dont see HTML content is coming as the result of GET_DYNAMIC_CONVERSION service.
    Would you please guide me in getting HTML converted document from external application.
    Please let me know, if you need additional details.
    Thank you in advance
    Edited by: 958795 on Sep 12, 2012 3:29 PM

    Hi Srinath,
    I have tried your response. Still i am getting hda data only, not HTML content.
    GET_DYNAMIC_URL service with fileUrl attribute is returning HTML content from UCM GUI (browser) but not from RIDC.
    Code i tried is:
    DataBinder dataBinder = idcClient.createBinder();
              dataBinder.putLocal("IdcService", "GET_DYNAMIC_CONVERSION");
              //dataBinder.putLocal("dID","1832");
              dataBinder.putLocal("dDocName","ECMPS5_002024");
              dataBinder.putLocal("IsJava","0");
              dataBinder.putLocal("RevisionSelectionMethod","LatestReleased");
              dataBinder.putLocal("DCViewFormat","WebViewable");
              // execute the request
              ServiceResponse response = idcClient.sendRequest (userPasswordContext, dataBinder);
    InputStream istream=response.getResponseStream();
    InputStreamReader isr = new InputStreamReader(istream);
    BufferedReader br = new BufferedReader(isr);
    String line = null;
    while ( (line = br.readLine()) != null)
    System.out.println(line);
    }

Maybe you are looking for