list template attributes

Hi,

I use the Navigation Menu (side) with like copy the list of theme template 42. I made a copy because I want to add a substitution string (#A03 # etc.)  that I can use as a jQuery selector to add additional functionality (implemented by a dynamic action).


I added in the #A03 model # all < li > and even < a > tags.

" For example: < li data-id =" "#A01 #" unable to read the data = "#A02 #" data-icon = "" #IMAGE # " " js-selector = "" #A03 # " " " > < a href =" "#LINK #" title = "#A04 # ' js-selector = "" #A03 # " " > #TEXT_ESC_SC # < /a >


In the list, I put a value for this attribute defined by the user in the list entries.


Unfortunately he never shown during execution.


What I am doing wrong? Or is it not possible (not more)? Or is this a bug?


Thank you


Jos


Hi Jos,

Change the list of navigation template won't work as you wish. As you have already noticed the markup you put in the templates is completely removed and replaced with different markup.

Here's what's happening. The side navigation use the new widget to view tree that it's the same tree used in the page designer and in the parts of the tree when the implementation of the tree is set to tree APEX. Universal theme navigation includes some extra css to make the tree look different, but it's really the same tree view widget. The tree view widget is designed to get its data from a structure (data model) JavaScript object tree, it uses this data to generate the necessary DOM structure. By inspecting the DOM, you can see that it is much more complicated that you'd like to put in an APEX model. The tree also has a mode where it can take the simple markup nested list and become the model of data where the DOM tree can be made (on the client). It's this simple tag list that you see in the list of navigation template. This should explain why all the changes to the templates will be lost. If you want to learn more about what is possible in the markup list template you can see the comments from images/libraries/apex/widget.treeView.js (search for "Static tree of markup"). It is worth noting that the new menu widget works the same way, turning a simple markup in a data structure which the menu is generated.

If you say a bit more on your ultimate goal that I'm able to make suggestions. What did you want to do dynamic action?

Thank you

-John

Tags: Database

Similar Questions

  • can I get a third list template

    I need a third list template for a client project, I've exhausted the list and the backup from the list. can I do this?

    Ken, you really need to follow the Blog BC and BC versions.

    http://forums.Adobe.com/message/4766069#4766069

  • The sum of a list of attributes TimeOfDay

    Hi all

    Is there a way to add a list of attributes TimeOfDay.

    See you soon

    I don't know that this data type is suitable for your needs. TimeOfDay isn't really a unit of measure, it is more than a reference to a point in time.

    In my opinion, the best option if you plan to use OWD is to create your own custom formatter to format the entry and the exit of a number. More details on this subject are in aid of developer under the heading 'Presentation of Plugin' trainer.

    However, if you are looking for a pure solution of rules, you could add technically moments of the day together, but you may encounter problems in certain circumstances (as your time of day variable should not exceed 23:59:59).

    the seconds worked = 360 ExtractHour (worked time) + 60 * ExtractMinute (worked time) + ExtractSecond (the time worked) *.
    Sum every second your employees have worked, then format it how you want dividing back out in hours, minutes and seconds.

    It of not pretty, but should work as long you are only collecting each employee per day times.

  • DynamicTabs - issues around page template attributes

    Hi Richard

    We are going to experiment the dynamic model available in JDev 11 g PS1 tab. I couldn't do a few things to work and decided to download the source code from Steve Muench's blog to see what is happening behind the scenes (and also available on the page-oracle - templates.jar, including JDev - I guess that they are exactly the same version):
    http://blogs.Oracle.com/smuenchadf/2009/11/source_for_ps1_dynamic_tab_she.html

    According to the white paper (http://www.oracle.com/technology/products/adf/patterns/11/uishell.html) and in the dynamicTabShell.jspx there is an attribute of template named "headerSplitterPosition". While I can see this defined in the page as an attribute template, it was not referenced in the page template itself, or your source code in the downloadable project. I guess it was supposed to be referenced in the panelSplitter = "pt_headerPs" splitterPosition property id?

    I also note that the page of "navSplitterPosition" template attribute is defined twice (even if it is properly referenced later in the page template).

    See you soon,.

    CM.

    Chris,

    You are right in the identification of two bugs in the code that's going to drop.

    # The attribute, headerSplitterPosition, is not referenced in the page template and it should have been with the panelSplitter that you have identified.
    # navSplitterPosition is set twice - although as you point out, it is properly referenced later in the page template.

  • Cannot change PopUp LOV width and height in version 4.2.5.00.08. I change the values of 450 400 in the Popup list template values (Section of the window), but my function genList0_f07_$ _row (), retains the same settings. Is this a bug?

    Hello

    I use APEX 4.2.5.00.08 to my app.

    I have a region of reports, where I display a column set. A column is the column attribute "display as" the value 'Popup LOV (LOV based query).

    I press the button to retrieve the LOV, I get a popup of 450 x 400 pixels.

    I go to the side of the model and navigate to "Popup list of values of model", where I can see in the section 'Window' attributes 'Width' and 'Height' value 450 and 400. I edit them and save them and there is nothing going on. I'm sure that the template belongs to my selected theme.

    I saw in the HTML source code that is the called function:

    <!--


    function genList0_f07_$ _row)
    {
    w = open ("wwv_flow_utilities.gen_popup_list" +)
    « ? p_filter ="+
    "& p_name = ' + escape ('f07') +.
    ' & p_element_index = ' + escape ('0') +.
    ' & p_elem_id = ' + escape ('f07_0000').
    ' & p_form_index = ' + escape ('0') +.
    ' & p_max_elements = ' + escape ("") +.
    ' & p_escape_html = ' + escape ("") +.
    ' & p_ok_to_query = ' + escape ('YES').
    ' & p_flow_id = ' + escape ('114') +.
    ' & p_page_id = ' + escape ('100201') +.
    ' & p_session_id = ' + escape ('16021544706004').
    ' & p_eval_value = ' + escape ("") +.
    ' & p_translation = ' + escape ('NO') +.
    ' & p_lov = ' +.
    ' & p_lov_checksum = ' +.
    ' & p_item_id = ' + escape('-683997768') +.
    ' & p_column_id = ' + escape ('25022622060292812'),
    "winLov,"
    "Scrollbars = 1, resizable = 1, width =400, height =450"); "
    If (w.opener is nothing)
    w.opener = auto;
    w.Focus ();
    }
    ->

    I see that the values has not changed. I also connected and disconnected. I am inclined to believe that it is a bug of the APEX.

    The only solution I think is to replace this function, which is NOT ideal.

    Thank you

    Digital

    The parameters are generated only, nothing you can do about it because it does not use the model for these properties of the couple. Other things work fine for example the names of button or title window etc. I guess that, Yes, it is a bug. It's still there in the apex 5 too, I checked. The default values of the template do not match, the value in the generated code is always 400/450. So I guess it's pretty much a wait on 5.1.

    Here's a fun hack to make it work well on your page (works in apex 5 too, because the code is always the same). Put this in the execute on loading of the page section:

    (function(){
      var _open = window.open;
      window.open = function(){
        if ( arguments[1] === "winLov" ) {
          arguments[2] = "Scrollbars=1,resizable=1,width=500,height=700";
        };
        return _open.apply(window, arguments);
      };
    })();
    

    Change the settings to your liking. This will replace the existing window.open call, which is what the popup lov use and replace it with our own code. It does not interfere with other things. As the name of the new window is always "winLov" for the popup lov, it is the argument that is checked.

    During the call to window.open to open a new window with the name "winLov", parameters are replaced with your own version of it. The window is called as usual, using the stored reference.

    Edit:

    Yes, do not use the trick of resizing. My hack can be a bit tedious, but it's much less invasive for the end user (see open, bam, resize. "Even gets funky on multiple monitors). Also, this thing in the popup lov template will affect each lov popup that you use in the application, which is much less interesting than my specific page code.

    Edit2:

    I did a little digging in the source code, and I don't know why it does not work. Popup lovs are actually equipped to deal with it. My guess is that the parameters are recovered only after that the lists were generated, causing the package variables global to use their default values instead of model parameters.

  • List templates and records

    Hi gurus,

    I'm not able to get the list of templates and its details, please help

    I'm looking for the name of the Cluster, ESXi host name, folder name, model name, SizeOfTemplate

    Hi theire,.

    I'm just a hobbyist,

    for my part, I created this code and works for me. Best regards

    Get-model | get - views |

    Select Name,

    @{N = "Datastore"; {E = {$_.config.datastoreurl.name}}.

    @{Name = "$vmhost"; Expression = {(get-view-ID_$_.runtime.host).name}},

    @{Name = 'Cluster'; Expression = {$cluster = (get - view - ID $_.runtime.host) .parent;} (get-vue-ID $cluster) .name}},

    @{Name = 'File'; Expression = {(get-view-ID_$_.parent).name}},

    @{Name = "DiskSize"; {Expression = {((get-harddisk-template_$_.name).capacitygb: measure-object-sum) .sum}}

  • List of attributes values

    Hi all

    I am change my data entry page, specifically at the level of field named 'ENAME '.
    I'm getting "display in the form of: selection list.

    Then the attributes in the value list, I can see field such as:
    List of Value
    ========
    
    Named LOV: - Select Named LOV -
    Display Extra Values: NO
    Display Null Value : NO
    Cascading LOV Parent item(s) :  P2_PROJ_SERVER
    Page Items to Submit : __________
    Optimize Refresh: Yes
    List of values definitiom:__________
    My question is, what is this "Page elements" to submit all about? also the "optimize Refresh", etc.
    How do or where can type in the entrance of the help/searching so that I will link or brought to the page of help/explanation of the attributes?
    What manual/docs explained detailed attributes?


    Thank you very much.

    Hello

    to get help for a specific attribute, click the attribute label.

    Kind regards
    Dirk

  • How to use the alternative list template during the rendering of elements of web application to a page?

    I need to be able to use the main list on some pages, but then use the different tag for other pages - is there a way I can specify the alternative list within the tag module template?

    Hi Matt, you should read on web apps here:

    STOM.html http://helpx.adobe.com/content/Help/en/Business-Catalyst/Partner/Web-Apps-module-Create-Cu

    And reference module here:

    http://helpx.Adobe.com/business-catalyst/KB/modules-quick-reference.html

    If you insert in the admin, and then click Customize you will see the option to use listbackup. You will also see this provision availible via FTP and in admin or DW.

    Here you can see where in the module settings, the ability to choose the listbackup occurs:

    http://helpx.Adobe.com/business-catalyst/KB/modules-quick-reference.html#id_65138

  • How can you restore a list template Web App

    Hi, I made a few changes to one of my models web apps list and he it messed all that. I want to just go back to the previous version. Is it possible to ? Help, please. Thank you

    Hi Brett,

    Only the pages and templates have a restore capability. Layouts of web app don't unfortunately. The best practice is to save the layout before you start working on it. I have the file in a backup FTP location is usually or simply copy and paste in a text editor.

    -mario

  • List template: list of media css in oracle apex 5.0

    universal theme 42

    I'm giving css never user Mouse Hover of list items change color. Even when you go into "shared components-> Application" and hover the mouse over list points then the color changes.

    my css:

    Abdel-MediaList-{itemWrap:hover}

    background-color: #337ac0;

    color: #f5f5f5;}

    Thank you.

    Hi Dominique,.

    Pranav.Shah wrote:

    universal theme 42

    I'm giving css never user Mouse Hover of list items change color. Even that when you go into "application-> shared components" and the mouse hover over the elements of list, then changes color.

    my css:

    Abdel-MediaList-{itemWrap:hover}

    background-color: #337ac0;

    color: #f5f5f5 ;}

    Thank you.

    Edit your page and put your CSS CSS-> online

    Kind regards

    Jitendra

  • How to list VM attributes

    I would like to identify the attributes a single VM, like the CPU, memory, disk, NIC, IP by using JavaScript. The following script will enter the virtual computer object and display some of the attributes, but does not have the attributes I'm looking for.

    var getVM = 'LAB-TEST-VM1;

    var strVMArray = System.getModule("com.vmware.library.vc.vm").getAllVMsMatchingRegexp (getVM);

    var strVM = strVMArray [0];

    attributes vcVirtualMachine

    System.log ("Variable:" + strVM);

    System.log ("computer:" + strVM.name);

    System.log ("database:" + strVM.datastore);

    System.log ("vCenter host:" + strVM.vimHost);

    System.log (' VM ID: "+ strVM.id");

    The above script produces the following output:

    [2015-05-18 13:01:08.135] [I] Variable: DynamicWrapper (Instance): [VcVirtualMachine]-[class com.vmware.vmo.plugin.vi4.model.VimVirtualMachine] - VALUE: VirtualMachine, vm-29806 > 'LAB-TEST-VM1.

    [2015-05-18 13:01:08.135] [I] computer: LAB-TEST-VM1

    [2015-05-18 13:01:08.136] [I] the data store: DynamicWrapper (Instance): [VcDatastore]-[class com.vmware.vmo.plugin.vi4.model.VimDatastore] - VALUE: Datastore < datastore-219 > "VMFS2-LAB-HQ.

    [2015-05-18 13:01:08.136] [I] vCenter host: DynamicWrapper (Instance): [VcSdkConnection]-[class com.vmware.vmo.plugin.vi4.VimHost] - VALUE: hq - dev - vc01.acme.local

    [2015-05-18 13:01:08.136] [I] VM ID: vm-29806

    Q1. How can I get the attributes that I'm looking for (CPU, RAM, network, IP card)?

    Q2. How can I display only the value of the output displayed above, not the info from DynamicWrapper?

    ResourceConfig maybe isn't the right place.

    What is

    strVM.config.hardware.numCPU

    strVM.config.hardware.memoryMB

    It's all in the API Explorer. I just went and found. You can do it too!

  • Custom liquid list template is not related to the layout of detail

    I have a custom template that I setup and works very well, but the problem I have is that I cannot link to the layout of the Web application's retail, get page not found. This is my code:

    < ul >

    < li > < a href = "{{item_url}}" > {{item.name}} < /a > < /li >

    < li > < a href = "{{item_url}}" > {{item.CompName}} < /a > < /li >

    < /ul >

    Hello

    You run as a collection? Because you item.name and item.CompName

    If this is the case then those who are fine, if not then just use name and CompName

    If your not running DO NOT a collection of the liquid for url element is {{url}} and if you are running a collection {{item.url}}

    If you called your custom field CompName because you didn't know how a custom with spaces of output field, fluid output for this sort of thing is...

    {{point. {{[' Custom my field ']}} He collects or not.

  • List attributes 5 APEX

    Hello

    I'm using a list (APEX 5) and put the info in the entry in the list and I use the "lateral Navigation Menu" list template

    -Attributes = title = "this is a test title.

    -Alt = alt attribute = "this is a test."


    But when I run my application, nothing is coming when I switch my cusror to the label from the list.

    No idea, if I have to change something in the list template.

    Thank you

    Deepak

    DeepakJ wrote:

    I'm using a list (APEX 5) and put the info in the entry in the list and I use the "lateral Navigation Menu" list template

    -Attributes = title = "this is a test title.

    -Alt = alt attribute = "this is a test."

    But when I run my application, nothing is coming when I switch my cusror to the label from the list.

    No idea, if I have to change something in the list template.

    Tooltips using title attributes don't are not currently supported in the Navigation Menus. See the ToolTip for the Menu Navigation in APEX 5

  • User defined attributes of an entry in list of ignored navigation?

    I added target = "_blank" to an entry in list of navigation as a user defined attribute, but it does nothing. If I understand correctly, it is supposed to become an attribute of the generated a tag, but when I check the source of the page, there is no trace of it. It is on the 3.1.2.00.02 version.

    You must change the list template and the reference of your attribute set by the user in the definition of a relationship, I think that this is the reference as #A01 #.

  • The attributes of the element list empty when adding attribute #FROM_ROLE to the message (Type CREATEPO element)

    I'm customizing item type CREATEPO adding a new notification with the corresponding message and I am facing a problem with the workflow designer (using the v2.6.3.5.0 Oracle workflow Builder).

    This notification must have a specific sender, which is already stored in a custom element attribute.

    According to the developer's Guide, I add a new message attribute with the internal name = "#FROM_ROLE" for the new custom message.

    I put all the remaining data, according to the instructions of the Manual: Type = role, source = send, full name and description = ' role', default = attribute Item type.

    But when I try to set the default value, the list is empty and I can't choose any attribute of the element.

    I tried to define a new message in other Types of items, such as REQAPPRV, and in this case, the list of attributes is displayed correctly.

    Any idea or solution?

    Thanks in advance,

    David

    I already solved the problem.

    So that the attributes of the element to appear as default values for the attribute Message #FROM_ROLE, they must also be of type role.

Maybe you are looking for