Adding rule dynamically in PART using JMX

I'm looking for a way to dynamically add the rule to CQL processor. I tried using JMX, but I get under the exception:

org.springframework.beans.factory.BeanCreationException: error creating bean with name 'control' defined in the [bundleentry://282.fwk934469/META-INF/spring/eventtypetest-context.xml] URL: calling the init method failed; nested exception is java.lang.ClassCastException: com.bea.core.rmi.RemoteObject cannot be cast to javax.management.remote.mx4j_rmi. RMIConnection
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
to org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$ 1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged (Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
to org.springframework.beans.factory.support.AbstractBeanFactory$ 1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)


I was connecting from a bean in my application PART and follow exactly the same steps listed here:

http://docs.Oracle.com/CD/E17904_01/ doc.1111 /e14300/JMX.htm#autoId4

Hello

You use PS5? If this isn't the case, could you move to it?

I think that you run into a bug when you try to do more than one action by management prior to the application being started completely. If this is the case, could you try waiting for the application to start completely and then just start adding new queries?

Thank you
Alex

Tags: Fusion Middleware

Similar Questions

  • 9.0 can a dynamic nat be used via ipsec vpn?

    9.0 can a dynamic nat be used via ipsec vpn?

    We have a vpn and work between asa and when we run traffic through a static nat rule traffic goes over the vpn. When we use a dynamic nat traffic does not get picked up by the ACL vpn.

    We disable the nat rules to switch back and just so, even when we use the same destination to source the result is the same.

    Am I missing something with 9.0 versions of code? If I disable all the nats and pass traffic it goes via the vpn.

    So, it seems that when you use the dynamic nat statement, it pushes traffic to the external interface without looking at the acl of vpn. Please let me know if I'm crazy, I'm a newb on 8.3 zip code.

    Thank you

    Have you included in the ACL crytop natted ip address or range?

    You allowed natted ip address or range to the other end of the tunnel?

  • Addition of vShield Edge NAT rules from a CSV using PowerCLI

    I recently read Alan great post on adding NAT here rules: http://www.virtu-al.net/2014/07/24/working-vcd-edge-gateway-rules-powercli/

    I used it successfully for simple rules in a lab environment, but hundreds of rules I need to do in Production.

    Although I managed to hack together an Excel spreadsheet that concatenated all these parameters to create each order, I was wondering if there was a faster way to do it.

    My plan was to modify the script to Alan to import a CSV file, and then loop through each line and generate the XML file in a single pass.

    However, I am very rusty on my scripting skills, so I thought I would first ask if this has already been done by someone else.

    Anyone know if there is a way to update the rules of NAT edge vShield from a CSV file?

    Adam,

    I was an associate of the original request for this feature. Alan made us most of the way with a function to create a single rule, but as in your use case, we also had a lot of rules to build everything at once.

    Our solution was rather minor tweaks and the creation of 3 functions rather than 2.

    * Feature: New DNATRuleXML and new SNATRuleXML.  We have created these two functions to build the string XML (one for the SNAT) and one for the DNAT, their results are stored in a global variable.

    * Function: New-NATXMLExecute. It is a function execute to execute the creation of the great XML string created in the above functions.

    You should change/use power rule XML functions to interface with one worksheet, and then you should be far away. It will be useful.

    Example of code is below:

    ===============================================

    Function (new-NATXMLExecute

    $EdgeGateway,

    $NATXML,

    $FirewallEnable) {}

    Write-Host "' no nExecuting add it NAT function"-ForegroundColor Cyan

    Write-Host "-----------------------------------------------------"

    Write-Host "EdgeGateway: 't' t$ EdgeGateway '.

    #Write - Host "' tNATXML: 't' t$ NATXML '.

    Write-Host "activate the firewall?: 't' t$ FirewallEnable '.

    Write-Host "-----------------------------------------------------"

    $Edgeview = search clouds QueryType - EdgeGateway-name $EdgeGateway | Get-CIView

    If (! $Edgeview) {}

    Write-Warning 'edge Gateway with $Edgeview name not found. "

    Output

    }

    $URI = ($edgeview. Href + ' / action/configureServices ")

    $wc = new-Object System.Net.WebClient

    # Add Authorization headers

    $wc. Headers.Add ("x-vcloud-authorization", $Edgeview.Client.SessionKey)

    $wc. Headers.Add ("Content-Type", "application/vnd.vmware.admin.edgeGatewayServiceConfiguration+xml")

    $wc. Headers.Add ("Accept", "application / * + xml;") version = 5.1 ")

    $webclient = New-Object system.net.webclient

    $webclient. Headers.Add("x-vcloud-authorization",$Edgeview.Client.SessionKey)

    $webclient. Headers.Add ("accept", $EdgeView.Type + ";") version = 5.1 ")

    [xml] $EGWConfXML is $webclient. DownloadString($EdgeView.href)

    [xml] $OriginalXML = $EGWConfXML.EdgeGateway.Configuration.EdgegatewayServiceConfiguration.NatService.outerxml

    #Check if the firewall is turned on

    $FirewallStatus = $EGWConfXML.EdgeGateway.Configuration.EdgegatewayServiceConfiguration.FirewallService.IsEnabled

    Write-Host "active current firewall status: $FirewallStatus.» "This will be changed to: $FirewallEnable.

    LogWrite "active current firewall status: $FirewallStatus.» "This will be changed to: $FirewallEnable.

    If (($NATXML) - or ($FirewallStatus - not $FirewallEnable)) {}

    $GoXML = '

    http://www.VMware.com/vCloud/v1.5">

    "' + $FirewallEnable +"

    drop

    fake

    true'

    $OriginalXML.NatService.NatRule | {Foreach}

    $GoXML += $_. OuterXML

    }

    $GoXML += $NATXML

    $GoXML += '

    '

    $script: NATXMLExecute = $GoXML

    [byte []] $byteArray = [System.Text.Encoding]: ASCII. GetBytes ($GoXML)

    $UploadData = $wc. UploadData ("POST", $URI, $bytearray)

    $EdGWStatus = EdgeGatewayStatus - EdgeGateway $EdgeGateway

    Write-Host - NoNewline "Waiting for EdgeGateway configure...". »

    LogWrite "Waiting for EdgeGateway configure...". »

    While ($EdGWStatus - no "ready")

    {

    Start-Sleep - seconds 3

    Write-Host - NoNewline ". »

    $EdGWStatus = EdgeGatewayStatus - EdgeGateway $EdgeGateway

    If ($EdGWStatus - eq "Error") {}

    Write-Host "Error Has occurred...". Check the EdgeGateway"- ForegroundColor Red

    LogWrite "Error Has occurred...". Check the EdgeGateway.

    breaking

    }

    }

    Write-Host - NoNewline ".» EdgeGateway Ready.

    Write-Host "' nNAT complete building.»  ForegroundColor - Green

    LogWrite "NAT complete building."

    }

    else {}

    Write-Host "no change necessary." No changes have been made to the EdgeGateway"- ForegroundColor yellow

    LogWrite "no modification required...". No change was made.

    }

    }

    Function (new-DNATRuleXML

    $EdgeGateway,

    $ExternalNetwork,

    $OriginalIP,

    $OriginalPort,

    $TranslatedIP,

    $TranslatedPort,

    $Protocol) {}

    Write-Host "Building DNAT rule XML" - ForegroundColor yellow

    Write-Host "' tEdgeGateway: 't' t$ EdgeGateway '.

    Write-Host "' tExternalNetwork: ' t$ ExternalNetwork '.

    Write-Host "' tOriginal IP: 't' t$ OriginalIP '.

    Write-Host "' tOriginalPort: 't' t$ OriginalPort '.

    Write-Host "' tTranslatedIP: 't' t$ TranslatedIP '.

    Write-Host "' tTranslatedPort: 't' t$ TranslatedPort '.

    Write-Host "' tProtocol: 't' t$ Protocol.

    $Edgeview = search clouds QueryType - EdgeGateway-name $EdgeGateway | Get-CIView

    If (! $Edgeview) {}

    Write-Warning 'edge Gateway with $Edgeview name not found. "

    Output

    }

    $URI = ($edgeview. Href + ' / action/configureServices ")

    $wc = new-Object System.Net.WebClient

    # Add Authorization headers

    $wc. Headers.Add ("x-vcloud-authorization", $Edgeview.Client.SessionKey)

    $wc. Headers.Add ("Content-Type", "application/vnd.vmware.admin.edgeGatewayServiceConfiguration+xml")

    $wc. Headers.Add ("Accept", "application / * + xml;") version = 5.1 ")

    $webclient = New-Object system.net.webclient

    $webclient. Headers.Add("x-vcloud-authorization",$Edgeview.Client.SessionKey)

    $webclient. Headers.Add ("accept", $EdgeView.Type + ";") version = 5.1 ")

    [xml] $EGWConfXML is $webclient. DownloadString($EdgeView.href)

    [xml] $OriginalXML = $EGWConfXML.EdgeGateway.Configuration.EdgegatewayServiceConfiguration.NatService.outerxml

    If {($Script:NewID)}

    $Script: NewID += 1

    $NewID = $Script: NewID

    }

    else {}

    $NewID = [int]($OriginalXML.NatService.natrule |) Sort identifier. (Select the Id - Last 1) user.user + 1

    If {($NewID-éq. 1)}

    #If NoID was found, set the correct ID of departure

    $NewID = 65537

    }

    $Script: NewID = $NewID

    }

    $strXML = '

    DNAT

    true

    ' + $NewID + '

    "' + $OriginalIP +"

    "' + $OriginalPort +"

    "' + $TranslatedIP +"

    "' + $TranslatedPort +"

    ' + $Protocol + '

    '

    $script: DNATXML = $StrXML

    }

    Function (new-SNATRuleXML

    $EdgeGateway,

    $ExternalNetwork,

    $OriginalIP,

    $TranslatedIP

    ) {

    Write-Host "Building SNAT rule XML" - ForegroundColor yellow

    Write-Host "' tEdgeGateway: 't' t$ EdgeGateway '.

    Write-Host "' tExternalNetwork: ' t$ ExternalNetwork '.

    Write-Host "' tOriginal IP: 't' t$ OriginalIP '.

    Write-Host "' tTranslatedIP: 't' t$ TranslatedIP '.

    $Edgeview = search clouds QueryType - EdgeGateway-name $EdgeGateway | Get-CIView

    If (! $Edgeview) {}

    Write-Warning 'edge Gateway with $Edgeview name not found. "

    Output

    }

    $URI = ($edgeview. Href + ' / action/configureServices ")

    $wc = new-Object System.Net.WebClient

    # Add Authorization headers

    $wc. Headers.Add ("x-vcloud-authorization", $Edgeview.Client.SessionKey)

    $wc. Headers.Add ("Content-Type", "application/vnd.vmware.admin.edgeGatewayServiceConfiguration+xml")

    $wc. Headers.Add ("Accept", "application / * + xml;") version = 5.1 ")

    $webclient = New-Object system.net.webclient

    $webclient. Headers.Add("x-vcloud-authorization",$Edgeview.Client.SessionKey)

    $webclient. Headers.Add ("accept", $EdgeView.Type + ";") version = 5.1 ")

    [xml] $EGWConfXML is $webclient. DownloadString($EdgeView.href)

    [xml] $OriginalXML = $EGWConfXML.EdgeGateway.Configuration.EdgegatewayServiceConfiguration.NatService.outerxml

    If {($Script:NewID)}

    $Script: NewID += 1

    $NewID = $Script: NewID

    }

    else {}

    $NewID = [int]($OriginalXML.NatService.natrule |) Sort identifier. (Select the Id - Last 1) user.user + 1

    If {($NewID-éq. 1)}

    #If NoID was found, set the correct ID of departure

    $NewID = 65537

    }

    $Script: NewID = $NewID

    }

    $strXML = '

    SNAT

    true

    ' + $NewID + '

    "' + $OriginalIP +"

    "' + $TranslatedIP +"

    '

    $script: SNATXML = $StrXML

    }

    ===============================================

  • Is it necessary to create additional rules not permitted for uses such as Regedit.exe etc when applying software restriction policy?

    Is it necessary to create additional rules not permitted for uses such as Regedit.exe etc when applying software restriction policy?

    Hello

    Please visit the following link. This should explain the software restriction policies in detail.

    http://TechNet.Microsoft.com/en-us/library/bb457006.aspx

  • MultiTaskFlow liaison: Hi I have a main application and several sub these i added to my resources and using their taskFlows applications in my main application by creating the multitaskFlow binding. My problem is that how can get us currently rendered you

    Hi, I have a main application and many applications these i have added to my resource and using their taskFlows in my main application by creating the multitaskFlow binding. My problem is that how can currently get us renderings taskFlow Id link MultiTaskFlow running through an action created in our main application. Please explain if we can.

    Hello

    Try to remove the af: group in the facet of the toolbar or use this code in your bean.

    UIComponent panelBox is ae.getComponent () .getParent () .getParent ();.

    Kind regards

    Ruben.

  • added text to an image using the ImageDrawText function

    I added text to an image using the ImageDrawText function

    My requirment is i wnt to change the color of text in red... .How can I?

    < cfset attr = StructNew() >
    < cfset attr.underline = "yes" >
    < cfset attr.size = 25 >
    < cfset attr.style = "bold" >

    < cfset x = 0 >
    < cfset x = 50 >
    < cfset text1 = "the position of the image is represented by (x, y).»  Each coordinates multiply with higher ratio to adjust the image. ">

    < cfset ImageDrawText (myImage1, Text1, 0, 50, attr) >

    The docs (the page I pointed you) indicate it was added in CF8.  It does not work in CF8?

    --

    Adam

  • How to send a complete HTML, dynamic PHP page using phpmail()?

    How to send a complete HTML, dynamic PHP page using PHP Web site phpmail(), similar to the post this page or send the link to a friend?

    How to send a complete HTML, dynamic PHP page using PHP Web site phpmail(), similar to the post this page or send the link to a friend?

  • Set the position of the cursor in the text added (to make the part of the text in index) in WORD using Report Generation Toolkit

    I would like to generate a report in WORD using the report generation toolkit.

    Whenever a text is added to the report, the program should put part of the text index. The problem I am facing with is to set the cursor position in the current location of the text.

    Any suggestions?

    Hello!
    I think that's what you wanted (see attachment).

    First, you must set position for each loop, so after adding the table, your cursor index need to increase the number of added characters. That's why I have included the text of the report, Append - to get the position of the cursor at the end.

    Indexing begins with 0, so you need to set the 3 and 7.

    Hope you get what I mean

  • How to reference a field added to dynamically

    I'm trying to set the value of a field that was dynamically added as part of a section of the table and I can't figure out how.

    The section of the table is added by clicking on a button that works very well. I can access any field value in the section of the table that owns the instance of '0'. But I can't seem to understand how to access the field values for all other instances of this section of the table.

    This is the hierarchy of one of the fields:

    TopmostSubform.Page4.DeveloperIdSubform.DeveloperIdentityTbl.MemberSection.Row8.dteFormedD ateDevMem

    Where "MemberSection" is the section of lines button will add an instance of. Now I can access the value of the field date from the first instance of "MemberSection" by the following:

    DeveloperIdentityTbl.MemberSection.Row8.dteFormedDateDevMem.rawValue

    If I want to do the same thing to say for instance 'MemberSection' 3rd, how could I do?

    Thanks for the help!

    Marc

    Hello

    WhyIsThisMe is correct. You need to reference the instance of repetition "MemberSection" by its index. If not (as you did) it will default the 1st instance.  Sounds easy, right? Well...

    Actually, depends on the scripting language you have chosen. The syntax of the actual function used to formCalc and javaScript is considerably different.

    The WhyIsThisMe reference:

    TopmostSubform.Page4.DeveloperIdSubform.DeveloperIdentityTbl.MemberSection [2]. Row8.dteFor medDateDevMem

    should work for formCalc, but it will not be for javaScript. To do this, you need to use resolveNode()

    /////////////////////////////////////////////

    INDX var = 2;  you will probably select a different line in different circumstances, right? For example, to assign the index value to a variable

    or on the contrary

    var indx = 0;

    If (condition) {indx = 2 ;}

    If (condition) Else {indx = 3 ;}  you get the idea

    ////////////////////////////////////////////

    Then, you would do the assignment of the value using resolveNode() by the construction of the chain that goes inside the ():

    xfa.resolveNode ("TopmostSubform.Page4.DeveloperIdSubform.DeveloperIdentityTbl.MemberSectio n [" + indx + "]..") RawValue Row8.dteFormedDateDevMem")

    /////////////////////////////////////////////

    you build a string in javaScript, so the + is used. There are 3 parts of the final string for the resolveNode().   finalString = "part1" + indx + «part3»

    ////////////////////////////////////////////  Still with me?  I usually opt for formCalc when referencing instances, as it is generally more forgiving

    FormCalc, 1 assign an index value to variable.

    var indx = 0;

    If (condition) then

    INDX = 2

    else if (condition) then

    INDX = 3 //you get the idea

    endif

    Then use this variable to refer to the instance of / / "MemberSection" resolveNode() is necessary in formCalc

    TopmostSubform.Page4.DeveloperIdSubform.DeveloperIdentityTbl.MemberSection [indx]. Row8.dteF ormedDateDevMem

    ////////////////////////////////////////

    Good luck!

    Stephen

  • Adding a table Excel file using ActiveX

    Hello

    I want to add a figure that has been produced using data from data acquisition to a specific cell in my existing excel file (reversing a graphical indicator in jpg/bmp,... and put it in the excel file). But I can't find the specific method to do so. I have changed one of the examples so I can add a few numbers to a specific cell in excellent file (VI attached). Someone knows how to do this?

    Also, in my test, I'll do this for 15-20 numbers (put 20 numbers in different places in the existing Excel file). I do this one by one? (opening of the application 20 times) or there is a way to just do all at the same time.

    Thank you.

    Now, it looks a lot better.

    I also added the part in which the image is from a waveform graph. For this you must use the Invoke node Export Image waveform graph. I've exported as bmp, save it in a file and then added in Excel. It is a solution. You can try different image format in order to find the one that works best for you. BMP is big enough.

    Another solution would be to use the graphical waveform / invoke node / export the Clipbord Image and spreadsheet use invoke node function / paste. In this way, that you don't have to write the image to the file. Although I find it more difficult to control the position where the image is pasted. In any case, you can give it a try and play with her a little.

    You can build your complete code Export To Excel using this example. Just add a loop (or code) between the opening of the workbook and close it.

    PS: I hope that the waveform graph node is the same also in LV2010. I can verify that Monday.

  • Adding textfeild dynamically in the second qml file

    Hello

    I have two files qml, main.qml & second.qml, and there is navigation between main.qml & second.qml.

    Now, I want to dynamically add a textfield to second.qml...

    Any help would be appreciated

    Thank you

    C++ its as simple as using containers add and remove features.

    http://developer.BlackBerry.com/native/reference/Cascades/bb__cascades__container.html#function-Add-...

    Here is an example for adding two labels...

        mRootContainer = Container::create()
                .layout(DockLayout::create())
                .margins(0.0, 0.0, 0.0, 0.0);
    
        mTitle = Label::create()
                .translate(0.0, -5)
                .multiline(false)
                .textStyle(ControlStyles::cardLabelTitle())
                .text("");
    
        mValue = Label::create()
                .multiline(true)
                .textStyle(*mTextStyle)
                .text("");
    
        mRootContainer->add(mTitle);
        mRootContainer->add(mValue);
    
        setRoot(mRootContainer);            // Set the root of the custom control.
    

    To put them in a file QML directly instead of doing everything in C++ you would just need to identify the place in the scene graph that you want to add the textfields somehow.  There are several options to achieve this, such as;

    -using the function findChild()

    -fixing of the class, and then call the function call to add components

    -creation of a customcontrol

  • Adding images dynamically - tutorial for examples does not work

    I am using the SDK Gold and work through the tutorials. I want to add dynamically images of C++. The tutorial that I use is here:

    https://developer.BlackBerry.com/cascades/documentation/dev/integrating_cpp_qml/ (under the heading "Injecting C++ objects in QML").

    I have copy and paste the main.cpp, TestApp.hpp and TestApp.cpp into a new project. He compiled and ran on my device, but when I click on the button 'Add the container' seg application vulnerabilities and ends.

    I understand that this is caused by a NULL pointer, so I added:

    This-> mRootContainer = new bb::cascades::Container();

    for the Builder. Now it does not segfault when I press the button 'Add the container', but again, it does not actually add the container (it adds nothing visible).

    How can I use the concepts described in this tutorial to add an image at run time?

    I managed to understand. The example provided in the tutorial defnitely badly, which is very annoying and frustrating for those of us learning to code for BB10. Not only that, but the "barrier to entry" is hard enough, and if Blackberry to their ecosystem to flourish, documentation and tutorials must be accurate and easy to follow.

    The constructor should be something like:

    TestApp::TestApp(bb::cascades::Application *app) : QObject(app)
    {
      QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this);
      qml->setContextProperty("injection", this);
      Page *appPage = qml->createRootObject();
      mRootContainer = appPage->findChild("rootContainer");
      app->setScene(appPage);
    }
    
  • Paragraph nets or rules of (underscore) character using variables?

    I need to use a variable to insert the name of the chapter in some pages (example b, white).

    Both options give the variables: paragraph or character style.


    Using color style/rule/gap paragraph (to get a rounded angle) does not allow the size of the length of each text gets adjusted (for example, one white). Is not dynamic as a character style that gets adapted to the text, short and long.


    If the image is expanded to the shorter longer texts will have the extra space (example c).


    But using a style/underscore characters allows text fits short or long situations, as in the example / b with yellow underline.


    It is possible to get the effect with rounded corners?


    Untitled-2.jpg

    I'm not sure that I fully understand what you are doing, but two things come to mind.

    First of all, if you use the same style of underscore and a net of paragraph, they appear visually the same thing, so I don't see that as a problem.

    Second, I think you should be able to reach more easily with a net of paragraph, your variable length lines whose width is set too length of text rather than the column width, and perhaps a small amount of negative indent, left and right to run after the ends slightly, something you can't do with an underline.

  • More information on BC dynamic menus and using the CSS with them

    Hi all

    The tutorial of gurus of BC on the dynamic Menus and how to style with CSS didn't make any sense for me, unfortunately. The presentation was too rushed and the screen is too small to see what was going on.

    In a previous question, I discovered how to apply CSS classes to the BC menus after a bit of a course autour.

    I put the # in front of the name of the item ID and a. in front of the class name and it was not necessary.

    I have other questions, as I am still struggling to get a dynamic menu BC style correctly with the CSS I created.

    1. If you choose CSS as the menu type, can set the font, the State of reversal and color of background of the menu items in the dynamic menu section? Or are you to this style in the CSS stylesheet?

    2. If you choose CSS as the type of menu, the option to say how the submenu is located under the main menu disappears. Then you need to define in the CSS stylesheet? And if yes in which element? UL or LI?

    3. If you choose only CSS/HTML, how is this different from the CSS option to the dynamic menu?

    4. If you choose CSS as the type of menu and if you set the width and height in the menu item, and then set a different width and height in the CSS stylesheet, the width and height wins?

    5. If you want a dynamic menu to display on an Android phone, you have to choose only the CSS/HTML and do all the style in the CSS stylesheet? Or you can avoid dynamic menus all together and just use a UL list in the model? (I'm a reagent liquid checkerboard in DW for the model).

    6. I think the dynamic menu, I have done with CSS as the type, not to show and hide items in menu void correctly on an Android phone. Is there a problem with the javascript in dynamic menus?

    Thanks for any help that you people can give on these issues!

    OK, I found out what was the real problem. I did not use the menu Module 2 V to insert the menu into the model. I made the mistake to use the label menu in the Toolbox by default.

    The menu module V2 tag is NOT in the Toolbox.

    The tag is: {module_menu, version = '2'Flash '5475' =, moduleTemplateGroup = "Default"}

    When you configure the menu items in the Menu Module in the main part of the site, select the type of menu CSS/HTML, and then just set up links and menu items. No need of style or even add classes of menu items. Although you can also do.

    The elements you style are found here: / ModuleTemplates/Menu/Default

    Problem solved 3 years later! Thank you, @Penny of the Fortune Green who explained it all. In the meantime, I've used content holders to implement lists ul for menus and their style entirely in CSS. Laughing out loud! Welll it wasn't bad, I learned a lot about CSS.

    Details of the Menu Module 2 can be found here: using the module_menu v2

  • Dynamic action fails using the null value on the list of selection change event

    I have a selection list that I created a dynamic action to which I added a value set to to clear the values of other controls on the form by assigning the value NULL.

    This doesn't seem to work, and I can't understand why it does not work.

    Event = change
    Selection type = Items
    Items = P4_MYSELECTLIST
    (no other condition for this action, I want it to reset for each change in the selection list).

    Fire on the Page Load = False (I only want what he reset values when I use this list of choices, not the page load).
    Set Type = static assignment
    Value = NULL
    Items = P4_ITEM1, P4_ITEM2, P4_ITEM3 (including 2 other lists of selection and control of text)
    Remove the Change = No event

    Xanas,

    If you set the values NULL and not the literal string "NULL" you must change your DA slightly. Modify your game to run JavaScript Code.

    Action = run the JavaScript Code
    Fire on the Page Load = False (I only want what he reset values when I use this list of choices, not the page load).
    Code = this.affectedElements.val ('');
    Items = P4_ITEM1, P4_ITEM2, P4_ITEM3 (including 2 other lists of selection and control of text)

    Edit:
    You can also change the real action to the following if you want to leave your DA as setpoint:

    Fire on the Page Load = False (I only want what he reset values when I use this list of choices, not the page load).
    Set Type = Expression JavaScript
    Value = "
    Items = P4_ITEM1, P4_ITEM2, P4_ITEM3 (including 2 other lists of selection and control of text)
    Remove the Change = No event

    Good luck
    Janet Tyson

    Published by: Tyson Janet on January 10, 2012 09:52

Maybe you are looking for