Dynamically changing contents of a JListBox?

Hi,
I can load an array of strings into a JListBox upon initializing the JListBox.After that if I try to change the list by for example an "add" type method as in other programming languages, it doesnt accept a string or an array of strings.I have variables(Strings) which I need to add to the JListbox, but which values are not available upon intialisation.How can I add these?
Can anyone help me ???
Michael

JList is for presenting a list for the user to select from. It is in essence immutable. Once the list has been created it does not appear that you can add to it.
Make a ArrayList (new version of Vector), and initialise it with your strings.
As new entries arrive, and then to the ArrayList.
Make a JList to show the items only for a simple selection exercise.
If you want the list to update, use a single column JTable. Don't worry JTables are easier than they first appear. Look at the examples in the tutorial.

Similar Messages

  • Dynamically change the contents of one combo box based on the other

    Hi Forum,
    I have a question which might have a possibly simple answer. Well anyway help me out since i could not find the simple answer.
    I am building an application using Swing and binding with BC4J using JClient. My GUI has combo boxes, grids, editboxes. My requirement is that i should be able to dynamically change the contents of one combo box based on the selected item in trhe previous combo box. For example, when i choose a country in the "country combo box", the "states combo box" should show the list of the states of the selected country.
    Now how do i do this using binding. If not, how do i write custom querirs in BC4J layer and return a resultset to the remote application so theat i can populate the dependent combo boxes.
    I will appreciate if anyone can help me out in this regard.
    Thank You
    Sumit

    there could be quite a few number of ways of solving this problem.
    One way is through event handlers.
    taking your example as a model when user selects a country you could fire an action with a flag set to ture. A method will return the states from the DB or your temporary files or what ever and then the true flag will be used in the states combo box rendering.
    other way: javascript
    this might be a bit clumsy as you will need the states information in a property file and you can get the info as the user selects a country.
    regards,
    raj

  • Dynamically Updating Content Server Portlets

    [urlHi, I am currently having difficulty dynamically updating content server portlets.  I have a portlet of the following form:[/url]
    ArticleName Author Title Date mystory author1 title1 04/05/01
    story2 author2 title2 06/07/04
    story author3 title3 01/02/03
    So I have this table where each one of the line items is an article in the content server. So, for example the first line item is an article "mystory" by "author1", with title "title1" and date "04/05/01" additionally there is an article text field, but this isn't displayed unless I click on the article name.
    I can set up the basics of this portlet, but when I try to add any real functionality I run into one of two problems.
    First Problem: Passing Information
    I cannot find a way to pass information between content portlets. For instance, if the user would like to "re-sort" this table based on "date", I would like to have the user click on the "date" column heading and then reload the page. To do so, I would have to pass the section name back to the page so that it could resort based on this data. I have not found anyway to effectively pass information to a content server portlet. I am building these pages through use of the presentation template framework (so I can have access to the content items) but that seems to change the way portlets are handled.
    I got around this limitation with a regular portlet by creating an intermediary page which captures passed information and stores it to the session state. Once the information was in the session state, it is accessible to the portlet on the first page. However, this only works because remote portlets do not change their session id once loaded. Content Server portlets, on the other hand, change their session id after every reload of the browser or page change. I can send information from a content server portlet to an intermediary page, but I cannot send it back to the portlet because the session id has changed so I have no idea of knowing where to send the information. I can write it to a session state, but by the time I return to the portal page, the content server has changed its session id so it does not know where to look any longer.
    I suppose it would be possible to create an application state variable and append it with some static token (if there is some static variable per portal session) but I would rather not have to deal with application variables if at all possible.
    Second Problem: Dynamically Updating PCS Tags
    Even if I were able to the pass information back to my content server portlet, I run into another issue. The easiest way to sort content server items is using the filter command in the pcs:foreach tag. So, if I wanted to sort by author name, I could do something like the following <pcs:foreach var="item" expr="filter(folderByName('content'), filtered.name == '"name")" or something like that (the syntax may be incorrect, I just wrote this off the top of my head). However, it appears that the way the presentation templates are compiled goes in the order of PCS tags THEN JSP. So I would have no way of dynamically changing the variable on which I sort. For example, if I clicked on "Date" above in my table, I would like to be able to dynamically change my code so that I sort on date, and not name. I cannot find a solution to this problem.
    My workaround is to use the pcs tags to write out all the possible sortings to java array objects. This gives me access to the data on a JSP level and based on whatever the user will chose, I could then display that array. While this works, it is extremely ghetto and inefficient. Any help or suggestions would be fantastic.
    Thanks a lot,
    Jason Grauel

    You can use just about any javascript you want in any Content Server presentation template including ones that are used for portlets.
    However, you should be careful to name javascript functions and global variables uniquely so that they do not conflict with any other javascript on the page. To do this, you can append the item id to function and variable names, for example,
    function doSomething<pcs:value expr="pcs_id"></pcs:value>() {
    return true;
    Randy

  • Dynamically Changing Labels for Multi Row Block Buttons

    Forms [32 Bit] Version 9.0.4.1.0 (Production)
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
    On my local: Windows 7 OS
    I am having a difficult time in doing the following in forms, and not sure if it can be done?
    I have a multi row block,based on DB table, which displays filename and another column from the table.
    It also has a push button on each row, which opens and displays the physical file from its source, when clicked. The filename thus can have 3 diff statuses depending on its sources and accordingly corresponding button should display appropriate label:
    a) View Image (its is in content server and successfully imaged. In this case I display the file in the browser, from the content server, when the button is clicked)
    b) View File (Display the file from file system)
    c) View Error (Display imaging error message from the table, as file failed to make it to the imaging server)
    I have this logic currently coded in the post query trigger, at the block level, and tried using set_item_property(button_id, label, <button_lable>), where I programmatically set the button lable, based on the file status (imaged, not imaged or has error) in that row. This wroks well, only if all the files in the multi row block have the same status. If each of them have diff statuses, then only last processed files's status gets reflected into the button label. For eg: The file in the first row of the block is imaged, and one in the second row has an imaging error. The button label for the first row should say 'View Image' and button for the second row should say 'View Error'. But now buttons for both the rows display 'View Error', as thats what got processed last!
    I __can not use set_item_instance property for 'label'__ (which lets us dynamically change the label on the push buttons).
    Is there any way to do this for ORacle forms? I am now playing with having 3 diff button items in that block, laying them on top of each other and showing only those that are appropriate and hiding the others... But I am not sure it is going to give me what I need? I think I am going to end up facing the same issues as in above case!!
    Any expert advice is highly appreciated.
    Thanks in advance for your time:
    Libran_Girl
    Edited by: libran on Aug 30, 2011 8:04 AM
    Edited by: libran on Aug 30, 2011 8:05 AM

    <p>I have just updated this existing PJC, that was originally constructed to handle Text Fields. You can, now, also handle buttons with it.
    Set the Button's Implementation Class property to : oracle.forms.fd.MultiButton.
    </p>
    This is the code you have to put one triggers of your based block:
    When-New-Record-Instance trigger: (based on the EMP table)
    declare
         LN$Pos  pls_integer ;
         LN$Rec  pls_integer := Get_Block_Property('EMP', CURRENT_RECORD) ;
         LN$Max  pls_integer := Get_Block_Property('EMP', RECORDS_DISPLAYED) ;
         LC$C    Varchar2(15) ;
    Begin     
         LN$Pos :=  LN$Rec - (trunc(LN$Rec/LN$Max) * LN$Max) ;
         If LN$Pos = 0 Then LN$Pos := LN$Max ; End if ;
         If LN$Pos > 0 Then
              Set_Custom_Property('EMP.BT', LN$Pos, 'SET_LOG', 'true' );
              -- Add the new item --
              Set_Custom_Property('EMP.BT', LN$Pos, 'SET_NEW_REC', to_char(LN$Rec) );
              -- Set some properties --
              Set_Custom_Property('EMP.BT', LN$Pos, 'SET_LABEL', to_char(LN$Rec) || ',' || :EMP.ENAME );
              If :EMP.JOB = 'MANAGER' Then
                Set_Custom_Property('EMP.BT', LN$Pos, 'SET_FONT', to_char(LN$Rec) || ',Arial,bold,14' );
                Set_Custom_Property('EMP.BT', LN$Pos, 'SET_FGCOLOR', to_char(LN$Rec) || ',0,0,255' );
              End if ;
              If :GLOBAL.I > 250 Then :GLOBAL.I := 5 ;
              Else  :GLOBAL.I := :GLOBAL.I + 5 ;
              End if ;     
              LC$C := To_Char(LN$Rec) || ','
                   || To_Char(255) || ','
                   || To_Char(255-:GLOBAL.I) || ','
                   || To_Char(255-:GLOBAL.I) ;    
              Set_Custom_Property('EMP.BT', LN$Pos, 'SET_BGCOLOR', LC$C );
              Synchronize;
         End if ;
    end;When-Create-Record trigger:
    declare
         LN$N    pls_integer ;
         LN$Rec  pls_integer := :system.cursor_record ;
         LC$C    Varchar2(15) ;
    Begin     
         if get_block_property('EMP',TOP_RECORD) > 1 Then
              LN$n := :system.cursor_record - get_block_property('EMP',TOP_RECORD) + 1 ;
         else
              LN$N := :system.cursor_record ;
         end if;
         If LN$N > 0 Then
              Set_Custom_Property('EMP.BT', LN$n, 'SET_LOG', 'true' );
              -- Add the new item --
              Set_Custom_Property('EMP.BT', LN$n, 'SET_NEW_REC', to_char(LN$Rec) );
         End if ;
    end;Post-Query trigger:
    declare
         LN$Pos  pls_integer ;
         LN$Rec  pls_integer := Get_Block_Property('EMP', CURRENT_RECORD) ;
         LN$Max  pls_integer := Get_Block_Property('EMP', RECORDS_DISPLAYED) ;
         LC$C    Varchar2(15) ;
    Begin     
         LN$Pos :=  LN$Rec - (trunc(LN$Rec/LN$Max) * LN$Max) ;
         If LN$Pos = 0 Then LN$Pos := LN$Max ; End if ;
         If LN$Pos > 0 Then
              Set_Custom_Property('EMP.BT', LN$Pos, 'SET_LOG', 'true' );
              -- Add the new item --
              Set_Custom_Property('EMP.BT', LN$Pos, 'SET_NEW_REC', to_char(LN$Rec) );
              -- Set some properties --
              Set_Custom_Property('EMP.BT', LN$Pos, 'SET_LABEL', to_char(LN$Rec) || ',' || :EMP.ENAME );
              If :EMP.JOB = 'MANAGER' Then
                Set_Custom_Property('EMP.BT', LN$Pos, 'SET_FONT', to_char(LN$Rec) || ',Arial,bold,14' );
                Set_Custom_Property('EMP.BT', LN$Pos, 'SET_FGCOLOR', to_char(LN$Rec) || ',0,0,255' );
              End if ;
              If :GLOBAL.I > 250 Then :GLOBAL.I := 5 ;
              Else  :GLOBAL.I := :GLOBAL.I + 5 ;
              End if ;     
              LC$C := To_Char(LN$Rec) || ','
                   || To_Char(255) || ','
                   || To_Char(255-:GLOBAL.I) || ','
                   || To_Char(255-:GLOBAL.I) ;    
              Set_Custom_Property('EMP.BT', LN$Pos, 'SET_BGCOLOR', LC$C );
              Synchronize;
         End if ;
    end;Don't forget to copy the multirecord.jar file in your /forms/java folder, then add it to the archive and archive_jini tags of your /forms/server/formsweb.cfg file.
    Enjoy it,
    Francois

  • Please Help!!!!!dynamically changing a flash movies size...

    Hi i'm working on my final year dissertation and have become
    intensely stressed out/frustrated & almost mental in achieving
    this particular aim!!!!
    what i need to know is how to
    dynamically change a flash movies document size in real time,
    without squashing or stretching the content,much like the banner
    adds frequently seen on hotmail by companies such as orange,lexus
    etc.. where the flash movies size expands on interaction
    Help on this will be greatly greatly appreciated!!
    Thank you.

    RE: "P.S. I  found it aggravating that I couldn't copy and paste text  here, it wanted me to insert as a link or an image, how do you insert plain  text?"
    I take it you tried using the "right click" menu?   That doesn't seem to work, as you noted, but, you should be able to paste text by pressing your CTRL key  and while holding it down, press the "V" letter  key.
    CTRL + C = COPY
    CTRL + X = CUT
    CTRL + V = PASTE
    HTH,
    Ortho_Fan

  • Dynamically changing docOrder on a profile

    Hi All,
    I have a profile, which contains an integer metadata field called DocOrder. Is it possible while check - in of a content, to change the DocOrder metadata field of another checked in item
    My requirement: This DocOrder specifies the Document Order. May i know how to set the Docorder dynamically while checkin. i.e. if i checkin a content which has a Release date greater than earlier checked in contents on the same profile, then the Docorder of my currently checkin item should be 1 and the other checked in items should dynamically change their docorder accordingly depends on their Release date
    May i know is this possible?
    Thanks
    S. Muthukumaran

    You could also use the answer mentioned in your other thread: Re: Profile - Dynamically make a field required
    I wonder, however, if having a separate front-end field is the correct approach here - it sounds more like a back-end parameter (a counter reset with the condition mentioned: if i checkin a content which has a Release date greater than earlier checked in contents on the same profile, then the Docorder of my currently checkin item should be 1 ). In that case you could also use global rules.

  • Dynamically change flex variables with JSON

    I am trying to take different variables from within each other, and use that to dynamically change variables within flex, and I am not sure how to write it. For example, the JSON code would be something like:
         "content" : [
                                  "panels" : [
                                                           "height" : "200",
                                                           "width" : "300"
    Now I am trying to take the height and width from that, into flex, and change the panels' dimensions. any ideas?

    DSpider wrote:
    https://wiki.archlinux.org/index.php/Be … oxy_server
    Speed differences could be because the company is throttling certain connections (some companies do this, to discourage Youtube, FarmVille and other distractions). Hmmm... But a 10% difference is probably something else. Maybe check your /etc/resolv.conf?
    This is actually concerning my other thread . But in answer, no, same resolv.conf used in both cases. As I said there, I simply export a different value in http_proxy (no reconnection of any sort) and speed suddenly jumps.
    DSpider wrote:
    Edit: And maybe see this: http://askubuntu.com/questions/3554/how … connect-to
    And this: http://marin.jb.free.fr/proxydriver/
    Just about all of those things I've mentioned above as tried, except the .pac file. The problem with that is that it doesn't work generally for all graphical applications, just ones that understand it (like firefox, I believe chromium as well) while things like dropbox would not work.
    Proxydriver seems very much gnome/kde linked, which isn't of much help when I'm running awesomewm.
    Thanks for your answers, really, but still looking for something else. Latest idea I have is to replace dropboxd, firefox, and all the other executables with my own script which first sets up http_proxy and then runs the original executable. So something like this:-
    #!/bin/sh
    export http_proxy=`cat /path/to/the/desired/proxy/server/as/set/up/by/netcfg/hooks`
    /usr/bin/firefox &
    Any disadvantages to this method? Then I can just forget about using tinyproxy (wouldn't mind that at all, its been a pain sometimes, just dying in the middle of a big transfer). I could possibly also do away with the netcfg hook and just implement the checking logic (based on the IP range) in the bash script itself.

  • Dynamically changing book index?

    I'm about to start work on a 200+ page manual that is still being edited and added to. I was wondering if there is a way to create a table of contents in which the page numbers dynamically change if content inside the book gets shifted or moved from one page to another.

    jblackz69 wrote:
    I'm about to start work on a 200+ page manual that is still being edited and added to. I was wondering if there is a way to create a table of contents in which the page numbers dynamically change if content inside the book gets shifted or moved from one page to another.
    When you update a table of contents, this is automatic. Look up table of contents in Help.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Dynamic email content

    Is it possible to place an email activity within a process flow and dynamically pass a subject/message to it.
    We are currently using OWB 9.0.4 and are in the process of upgrading to 9.2.0.2.8.
    Thanks,
    Dave

    At the moment, there is no way to dynamically change the content of the message (you have to type it in when defining the e-mail operator parameters.
    Regards:
    Igor

  • Dynamic Portal Content

    Dear All
    I am creataing a page on Portal will be used to display advertisements.
    Advertisments have many paragraphs. How can I manage the web content of such type on Portal.
    Using Webdynpro to fetch text from database is an expensive task.

    hi adnan,
    Web Content Management in the Enterprise Portal -
    The future of traditional Web Content Management (WCM) systems is uncertain. Businesses
    are increasingly implementing enterprise portal solutions that are primarily focused
    on application and business process integration. However, existing Web Content
    Management systems that concentrate on the creation, maintenance and provision of
    web-based content, for example for intranet operation, have become established in today’s
    enterprise. This development presents a new challenge for enterprise IT departments:
    These two very separate system worlds must be unified both in design and technology.
    Enterprise portals represent a direct advancement for intranets and dynamic websites,
    mainly due to the user-specific integration of applications and information in a single,
    unified user interface. In order to make a clear distinction, the terms “intranet” and “portal”
    should be defined:
    An intranet provides employees with information using static HTML pages and/or a Web
    Content Management System. Access to individual web-based applications from the
    intranet is made possible by simple links. Consequently, an intranet is designed mainly
    for the purpose of information distribution and is only marginally involved in process optimization.
    Since there is no logical connection between the applications, users are forced
    to log in separately to various applications with different user registration data. The required
    user names and passwords are usually not consistent throughout a company. Furthermore,
    roles are not part of intranet design and it is not possible to customize the
    user interface (“user customizing”).
    An enterprise portal is a complex integration infrastructure that consolidates application
    systems, services and information from a variety of different sources within an enterprise
    into a central, unified user interface (e.g. web browser) that is individually adapted for
    each employee and accessible from every desktop. Enterprise portal content is individually
    adapted for every employee or group; this is made possible by corresponding role
    concepts.
    Enterprise portals have opened a single point of entry for a variety of different business
    applications. So why not simply present the complex content required directly within the
    enterprise portal and completely replace existing extranet or intranet solutions? Most
    new generation portal software products neglect this concept. The Content Management
    they offer out of the box is rudimentary at best. Unfortunately, many IT decision makers
    are either partially or completely unaware of this shortcoming.
    On the other hand, there are highly sophisticated Web Content Management systems and
    products on the market – functionalities range from Internet building blocks for creating
    simple homepages to adequate workflow integration within the Information Lifecycle.
    Moreover, these systems include additional tools for generating navigational structures
    as well as editing and authoring tools for managing content on websites. Link management,
    approval workflows and access controls for designated areas of the web-based
    solution are practically taken for granted. A Web Content Management system delivers
    the technologies, tools and methods for creating, managing, storing, preserving and providing
    electronic content throughout the entire enterprise. This generally recognized defnition originates from AIIM International (Association for Information and Image Management
    International). Unlike document management, which can be described as a database-
    supported management system for electronic documents, Web Content Management
    encompasses web publishing, publishing intranet or internet pages and provides
    structured publication of web-based information.
    At first glance, deploying Web Content Management systems allows enterprises to unify
    web-based content and application-based information within a single enterprise portal,
    regardless of the format in which the information is available.
    Some WCM software manufacturers have already taken action and provide – specifically
    for the SAP NetWeaver™ Portal – comprehensive integration packages that integrate
    their high-performance Web Content Management systems in the portal software.
    But how do companies manage and supply the content to be published in an enterprise
    portal created on the basis of business-oriented portal software? At a time when users
    are already confronted with heterogeneous environments in their day-to-day work, every
    additional system is simply another burden. Integrating a high-performance, technologically
    advanced Web Content Management system in an enterprise portal is problematic
    because, to a great extent, both software solutions implement competing concepts and
    technologies which must be further explained.
    Both systems require their own server infrastructure and rely on their own, completely
    proprietary software architecture based on a separate database and/or data storage system.
    As a result, additional expenditure is incurred for all of the following aspects:
    · Parallel expenditure for hardware
    · Parallel expenditure for operation and monitoring
    · Parallel expenditure for backup & restore
    · Parallel expenditure for security design and implementations
    · Parallel expenditure for performance optimization
    · Parallel expenditure for administrator training
    From the perspective of an enterprise portal infrastructure, a Web Content Management
    system is a third-party system which must be integrated via interfaces. Thus, the following
    issues must be addressed:
    (1) Parallel existence of two navigational structures: a) navigational structures, pages
    and roles within the enterprise portal and b) menu items and storage structures
    within the external WCM system.
    (2) Editors are required to learn how to work with two different tools and user interfaces.
    (3) A search function must be developed that can be utilized for both systems; access
    rights for both systems must be given special attention here.
    (4) Parallel existence of two authorization concepts. Defining access rights in an enterprise
    portal is generally possible on the basis of users, groups, and portal roles in
    particular. Access rights management in a WCM system has its own administrator interfaces
    and authorization objects which need to be aligned.
    (5) Parallel workflow concepts: An enterprise portal has application-oriented workflow
    procedures that are usually based on the user administration integrated into the portal
    (users, roles and groups). A WCM system often uses its own staging concept for
    approving web pages based on its own workflow which exists parallel to the portal
    workflow.
    (6) Parallel user registration data management: Enterprise portals offer powerful features
    for user administration which must be used in addition to or in competition
    with the WCM system user administration. It makes sense to use a single LDAP interface
    for both systems. However, this does not solve the key problem: both systems
    have their own administration tools for user management.
    (7) Parallel security concepts: Enterprise portals offer very powerful security design concepts
    and functions; a WCM system has its own design concepts and these must also
    be managed and taken into consideration.
    (8) Some external WCM systems generate portal objects (e.g. menu items in portal
    roles) via interfaces. Changes to these generated objects are overwritten during
    each generation process making it impossible to use all of the functionality of the
    portal tools. Only the features that are generated and/or supported by the WCM system
    can be fully leveraged.
    (9) Parallel concepts for link management: There are different methods for creating and
    managing links in both software systems. A particular problem is posed by targets
    that affect the role-based navigational structure of the enterprise portal which generally
    cannot be conveniently selected as most editors would expect.
    (10) Parallel page creation and layout concepts (look & feel): Both systems have their
    own concept of performance-optimized page presentation. Similarly, both systems
    offer different methods and tools for editing the “look & feel” of the pages.
    Taking the above issues into consideration, serious thought should be given to integrating
    an external Web Content Management system in an enterprise portal. From a longterm
    perspective and when taking the Total Cost of Ownership into consideration, operating
    two IT systems as complex as these parallel to one another is impractical, even if the
    WCM system manufacturers offer portal-specific integration packages for their software.
    A closer look at these packages shows that many of the interface problems and design
    redundancies detailed above will nevertheless continue to persist.
    From the author’s perspective, every project involving Web Content Management in enterprise
    portals should question whether or not the desired editing processes and WCM
    requirements could be served with the standard features of the enterprise portal or covered
    by an expansion package or implementation and project work. This solution path is
    further explained in the following practical example.
    Practical example: Web Content Management in the SAP NetWeaver™ Portal
    With its SAP NetWeaver™ Portal, SAP not only provides the basis for a successful
    backend system for business process optimization, but also delivers basic Web Content
    Management functionalities. In order to structure the content, the SAP NetWeaver™ Portal
    utilizes a central tool - the Portal Content Studio.
    The Portal Content Studio offers a central environment for developing and managing all
    types of portal content, such as portlets (iViews), pages, layouts, worksets, roles, and
    packages.
    Figure 1: Portal Content Studio for the SAP NetWeaver™ Portal (source: btexx Portal)
    The most important object in the Portal Content Catalog is the role, which serves two
    purposes: First of all, the role is assigned to users or user groups, achieving the typical
    personalization required of an enterprise portal, secondly, the role in the SAP portal defines
    the menu structure that is linked to the role at the same time.
    A role can be implemented as a hierarchical tree structure with an infinite number of
    nested objects. The tree structure is formed by creating folders. Pages or iViews can be
    positioned at any level within the hierarchy. There are different types of iViews; typical
    examples of iViews are R/3 transactions, eBusiness applications, Internet/intranet applications,
    or content-based iViews (HTML content, text, graphics). iViews are typically positioned
    and arranged on pages but they can also be independently built into roles.
    Within a role, so-called Entry Points must be defined which are then included as a menu
    item in both of the top navigation bars of the portal menu. The portal menu is generally
    comprised of multiple roles (with corresponding Entry Points). However, the order of the
    menu items can be defined (using the Attribute Priority).
    Additionally, SAP provides an Internet platform that offers a selection of ready-to-use
    portal contents in a general catalog that can be imported into the Portal Content Studio.
    SAP calls these out-of- the-box solutions SAP Business Packages. Partners and other
    software manufacturers are able to provide solutions and/or interfaces based on this
    platform and have them certified by SAP (SAP offers a certification program especially
    designed for these solutions). The iView list for the so-called Portal Content Portfolio
    (formally iView Studio) includes thousands of iViews.
    The SAP Portal Content Portfolio can be accessed here:
    https://www.sdn.sap.com/irj/sdn/developerareas/contentportfolio
    In many aspects, the tools and capabilities of the Portal Content Studio are comprehensive
    and advanced yet they are not sufficient for comprehensive Web Content Management.
    First and foremost, the Portal Content Studio supports the establishment of rolebased
    navigational structures and the definition of portal pages on which iViews can be
    positioned and arranged. This method of content creation is comparatively complex and
    not suited for the daily business of an editor, who is typically less involved in changing
    content structures and more involved in changing the content elements contained therein
    (text, graphics, flash files, links, documents, etc.). Pragmatic methods and simple
    mechanisms are desired for the management of this content. The material in the content-
    based iViews must be freely definable through simple and intuitive means and editors
    should be able to create content themselves.
    The SAP Knowledge Management (KM) component is available for storing content and
    documents in SAP NetWeaver™. The content to be presented can be stored and managed
    via a folder structure that must be managed parallel to the Portal Content Directory.
    However, in the standard feature set of the SAP NetWeaver™ Portal, the KM folder where
    this content is later to be saved must be defined for every content-based KM iView. An
    automatic link between the current role position and the KM location is not created. Simple
    shifting between read and edit mode is another feature that is not available in the
    standard version despite the fact that this functionality is extremely important for editors.
    Despite the multitude of existing functions, the standard SAP NetWeaver™ Portal offers
    insufficient capabilities for comfortable Web Content Management. Editing capabilities for
    XML forms, so-called docs iViews, URL-iViews or TREX searches are offered but their use
    is anything but intuitive and involves a great deal of administrative expenditure. This
    makes a high level of knowledge in building web content within the SAP NetWeaver™
    Portal a prerequisite. Above all, there are little or no possibilities for using Web Content
    Management functionality such as the construction of generic content structures, link
    management, multi-language support or a navigational context available from the search
    results without the relevant programming or HTML knowledge.
    This is where an enhancement from btexx business technologies GmbH, the Business
    Package easyWCM for Web Content Management in SAP NetWeaver™ Portal comes in. It
    uses the Portal Content Studio as a central tool yet significantly accelerates editing processes.
    It allows content elements to be linked effectively with portal objects that are created
    automatically through the use of easyWCM iViews. Every authorized user can create,
    publish and edit information.
    This Business Package automatically stores the content elements in the KM component
    assigned in the navigation structure in the background and makes them available for further
    editing on portal pages, greatly simplifying subsequent content management work.
    This is why the editor no longer requires technical knowledge of where the content is
    stored in the KM. Thanks to easyWCM, both the editor and the end-user work with the
    same portal role and costly multiple management of the navigation and content storage
    structure is unnecessary. Using the “Inplace Editing” feature, the editor is able to edit
    content directly on the portal pages on which the content is presented and visualized.
    The Business Package is based 100% on the SAP NetWeaver™ Portal and Knowledge
    Management Components; no third-party servers or additional software products are required.
    The portal server is solely responsible for providing the runtime platform.
    A third-party Content Management System may be able to offer a larger selection of features
    than easyWCM but it implementing and operating the additional solution will require
    a great deal more resources. The easyWCM Business Package for the SAP Net-
    Weaver™ Portal provides Web Content Management simply and effectively while supporting
    the following essential requirements:
    Complete integration for SAP Portal Content Studio
    An editor does not need any tools other than the SAP Portal Content Studio. The desired
    navigational structures are provided as SAP portal roles in the SAP Portal Content Studio
    - the application of easyWCM iViews is thereby possible anywhere within portal roles,
    worksets and pages. The main advantage of this solution is that the editors enter content
    in a single environment in which all web content and navigational structures are stored
    and administered.
    Inplace editing:
    End-users and editors work with the same portal roles. Therefore, no separate portal
    roles for providing and maintaining the content are required! As an editor, easyWCM
    iView offers you the ability to add and work on content components directly within the
    portal (Inplace Editing). Furthermore, the editor is able to use SAP KM standard functions
    (e.g. authorization assignment, workflow, feedback, rating, etc.) directly within the content
    component.
    Automatic creation of KM folders
    A general standard is that everyone must indicate the respective KM file path in which
    the content components are to be stored. This requires a great deal of effort when maintaining
    portals with a large number of web content elements. easyWCM automatically
    produces the necessary listings with the desired KM authorizations at runtime and simultaneously
    activates the desired KM services (life span, manual arrangement, history,
    workflow). During shifting or copying processes in the SAP Portal Content Studio, the
    elements are automatically moved and copied within the KM!
    Preview functionality from Portal Content Studio
    A preview function for each form is easily accessible with a single click. It is also possible
    to preview items directly from the Portal Content Studio in order to view the complete
    portal page, for example. easyWCM iViews were designed in a way that also enables users
    to enter and edit content directly from the SAP Portal Content Studio preview function.
    Multiple use of content elements
    easyWCM iViews may be adjusted in such a way as to allow content to be used more
    than once. Using this option, the content is not stored by the role and/or page, but is
    linked centrally within the easyWCM iView. The multiple use of content components is
    important, for example, if the right column of the portal presentation is exactly the same
    for several pages (e.g. for contact data, partners, advertisements, etc.).
    Approval workflow
    If desired, the SAP KM approval workflow may be activated in order to manage content
    elements. Changes to content elements will only be visible after the approval. All XML
    forms provided by easyWCM support the SAP KM approval workflow and indicate the
    permission status by using traffic lights.
    Version management
    If desired, the SAP KM version management may be activated in order to manage content
    elements. An editor with the proper authorization can specify the portal pages on
    which version management should be activated. When version management is activated,
    it is possible to replace older content components or to cancel incorrect modifications.
    With each change, a new version is automatically stored and documented including the
    date and the person who made the change.
    Life span
    If desired, the SAP KM life span function may be activated in order to manage content
    elements. An editor with the proper authorization can specify the portal pages on which
    the life span function should be activated. Activating the life span function makes it possible
    to publish a content component for a specific period (this is useful for news or
    events, for example).
    Authorization-based search functionality
    The SAP NetWeaver™ standard component TREX is used for the search function. One of
    the key advantages of easyWCM compared to external WCM solutions is that the search
    is implemented completely on the basis of the SAP NetWeaver™ platform and, in particular,
    that it is dependent on the authorization status. A separate search machine with its
    own user and authorization administration is not required.
    Multi-language support
    easyWCM automatically detects the language of the editor and stores the content in
    separate folders. Folders for content in different languages are created based on the active
    portal language.
    Ready-to-use forms and pages
    easyWCM contains a set of immediately useable portal roles and pages which may be
    used for your desired menu structures and page layouts. As such, easyWCM provides the
    ability to create and maintain Internet pages without special HTML programming knowledge.
    easyWCM also contains more than 30 XML forms based on the XML forms builder
    (SAP standard) which can be used for content creation. These XML forms may also be
    custom designed to fit your needs.
    Personalized user interface
    easyWCM determines the user interface depending on portal authorizations of the
    user/editor and the corresponding authorizations of the respective KM folders. The
    easyWCM package contains different KM layout sets which may be activated via customization,
    if desired. Working on content is simple; an editor with the appropriate KM writepermissions
    regards
    karthik
    reward me points if it helps you

  • Dynamic TabbedPanels  Content

    Hello,
    Can uuuuuuuuuuuuuuuuuuuuu helpppppp mmmmmmmmmeeeeee
    pleeeeeeeaassssssssssseeeeee ?
    I want to make my TabbedPanels dynamically.
    For example after every 3 seconds the tab and the
    TabbedPanelsContent changes automatically. It's the same principle
    of the Gallery.
    Is there a solution ?
    Thank u very much.

    Alderaan,
    Have you looked at Content Areas? They would be good for self service management of content.
    Have you looked at some of the content providers for Oracle9iAS Portal? They have dynamic data content portlets available. http://www.oracle.com/portals/partners.
    Rich

  • Using DelayQueue with dynamically changing delay times?

    Greetings all:
    First-time poster, so please be gentle. :-)
    I am implementing a cache timer task whose job is to removes idle elements from a cache after x time, and was considering a DelayQueue as potentially more efficient than iterating through the entire cache each time. Important point is that the delay time of elements in the queue will be dynamically changing while they're in the queue, until the point when they become idle, i.e., each time an element's content changes, its expiration time moves further out.
    I went looking in the DelayQueue source (and from there to PriorityQueue) as I was interested to see how it implements its sorting mechanism, and it appears to me that it may not handle this properly. Specifically, it appears that the queue is sorted when elements are added or removed but not otherwise, so that you could end up with the head of the queue being an element that has not really expired.
    Question: Has anyone used a DelayQueue for this kind of scenario, and if so, did it work as expected?
    Thanks,
    Brian

    If you want this behaviour I suggest you look at
    overriding LinkedHashMap as it has a means to
    maintain sorted from most recently accessed to last
    accessed.
    Thus to clear it all you need to do is remove the
    oldest elements.Interesting. Currently I'm using a HashMap so changing to a LinkedHashMap would require virtually no changes to existing code. It still won't quite work as-is, though, because access only gets updated on put's and remove's, whereas I would need access updated on any modification to a contained object as well. I'll think about it a bit more - thanks for the suggestion.

  • Best Practice: Dynamically changing Item-Level permissions?

    Hi all,
    Can you share your opinion on the best practice for Dynamically changing item permissions?
    For example, given this scenario:
    Item Creator can create an initial item.
    After item creator creates, the item becomes read-only for him. Other users can create, but they can only see their own entries (Created by).
    At any point in time, other users can be given Read access (or any other access) by an Administrator to a specific item.
    The item is then given edit permission to a Reviewer and Approver. Reviewers can only edit, and Approvers can only approve.
    After the item has been reviewed, the item becomes read-only to everyone.
    I read that there is only a specific number of unique permissions for a List / Library before performance issues start to set in. Given the requirements above, it looks like item-level permission is unavoidable.
    Do you have certain ideas how best to go with this?
    Thank you!

    Hi,
    According to your post, my understanding is that you wanted to change item level permission.
    There is no out of the box way to accomplish this with SharePoint.               
    You can create a custom permission level using Visual Studio to allow users to add & view items, but not edit permission.   
    Then create a group with the custom permission level. The users in this group would have the permission of create & add permission, but they could no edit the item.
    In the CodePlex, there is a custom workflow activities, but by default it only have four permission level:
    Full Control , Design ,Contribute and Read.
    You should also customize some permission levels for your scenario. 
    What’s more, when use the SharePoint 2013 designer, you should only use the 2010 platform to create the workflow using this activities,
    https://spdactivities.codeplex.com/wikipage?title=Grant%20Permission%20on%20Item
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to dynamically change the text of a TextObject with embedded DataField?

    Hi
    I'm trying to dynamically change the text of a TextObject at runtime, by using the .NET library. My problem is that if one or more DatabaseFieldDefinition is embedded inside my text, I'm unable to change the "static text" only, by keeping the field, e.g. I have :
    Text1 => "Contact Name: {Contact.Name}"
    and I'd like to change it to anything else like:
    Text1 => "Nom du Contact: {Contact.Name}"
    Half of my TextObject is static text while second part comes from the dataset.
    (of course the translation is dynamic - it is called at run-time and the new value to be set depends on the calling application language)
    If I simply modify the Text property of my TextObject, the {Contact.Name} embedded field is not evaluated anymore by the Crystal Engine, but considered as a single text.
    Using formulas or parameters looks quite difficult, because it means having many ones just for translation needs - I cannot control the way my users will create their reports and "force them" to use complex methods just in order to put a text and a value together...
    Anyone knows how to deal with that ?

    Only way I can think of doing this:
    1) Create a formula (call it lang) and enter the string "Contact Name" in it
    2) Place the  {Contact.Name} field next to the string
    3) So now you have:
    ContactName:  {Contact.Name}
    4) Check what localization you are after. If you need "Nom du Contact", change the lang formula so it shows "Nom du Contact" using the code below:
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Public Class Form1
    Inherits System.Windows.Forms.Form
    Dim Report As New CrystalReport1()
    Dim FormulaFields As FormulaFieldDefinitions
    Dim FormulaField As FormulaFieldDefinition
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    FormulaFields = Report.DataDefinition.FormulaFields
    FormulaField = FormulaFields.Item(0)
    FormulaField.Text = "[formula text]"
    CrystalReportViewer1.ReportSource = Report
    End Sub
    I realize this may not give you consistent spacing as the translations may have strings of differnt length. Perhaps someone has other idea(s)...

  • Dynamically change the Binding of a view object

    I want to reuse a panel several times in my application. The VO has one bind parameter (:1). The same panel should be reused several times with different bind variables.
    I found a technical note concerning this issue called: How to Dynamically Change the binding of a View Object to a JClient Panel. This works for JDeveloper 9i but not for JDeveloper 19g. Does anybody know how to dynamically change the binding in JDeveloper 10g

    You may use bindRowSetIterator() and pass in a custom fetched ViewObject or a RowSetIterator to the iterator binding that is displayed in your panel.

Maybe you are looking for

  • Upgrade from Server 10.4.3 - 10.4.4 hosed login

    I just upgraded a server from 10.4.3 to 10.4.4 (and then 10.4.5). After the upgrade, I can't get to the login panel. Besides not being to login at the server it seems to be running normally (web server, mail server, etc. functioning). I can login rem

  • Project in cs5 gone????

    Installed Premiere CS5. Created small test project. Save and made changes and saved several times. Then I go to open project and it opens empty. Nothing on the sequence or no files in resource central. This really makes me nervous. Is this maybe a bu

  • Foreign Trade Reporting

    Hello We have a requirement to create two customs related reports out of SAP 1. The Foreign Trade Zone report-a report of all items entering and leaving the Foreign Trade Zone over a month 2. The Pedimento report-a report of all duties owed to the Me

  • Adding Additional Rows to a table in subform

    I am fairly new to Adobe LiveCycle and would really appreciate some help.  I have simple table and would like for the user to click "+" or "-" to manage the number of row.  I can't figure out now to complete this...then arrive at a SubTotal.

  • Display  Webpages in WD ???

    Hi, How to display static webpages in WD application. Roy...