With the help of a ternary expression inside the mxml tag

I have a tag that looks like this:

< mx:ViewStack width = "100%" height = "300" selectedIndex = "{(model. TemplateList.length > 0)? {0: 1} ">"

Of course, I can't use the ' > ' sign inside a tag. Is there a way I can get away with this?

You can pass around the expression so that it uses less-to the place of more - than. You can also use the entity > instead of ' > '.

Tags: Flex

Similar Questions

  • Image tag with the XML tag

    Hi all

    I want to mark all my images embedded in a CS6 document with an XML tag. I use CS6 on Windows with JavaScript. Any advice would be appreciated. Thank you.

    Rick

    OK, it seems I have to add the element to the structure, and then use "tagging" to apply the item to my image.

    // Get the selected image.
    var image = app.selection[0].getElements()[0];
    // Get the Story element.
    var root = doc.xmlElements.item(0);
    var storyElem = root.xmlElements.item(0);
    // Add the "Image" element to the Story element.
    var imageElem = storyElem.xmlElements.add ("Image");
    // Tag the selected image with the Image tag.
    image.markup (imageElem);
    
  • Topics marked with the conditional tags still appear in the documentation

    Hi all

    I have a big problem with RoboHelp 7.

    I defined a new conditional tag (I have 2 together) and I mark the topics in the table of contents with relate to this tag conditional, right?

    When I generate the chm file, everything is OK. The headings marked with the conditional tag do not appear in the table of contents that I specified to exculde subjects marked with this conditional tag.

    When I generate documentation however, everything is still in the document even if I was clear that I don't want these subjects to appear.

    Can you please tell me what I'm doing wrong, or how can I properly so that I get my results?

    I am using Windows XP Pro and RoboHelp is updated with all service packs.

    Thank you

    Bogdan sailor

    Right-click a topic in the table of contents and select apply the tag build conditional. Check out the new / Multiple option.

    This screen displays.

    You can clearly see if the tag is applied to the table of contents or the subject. If it is applied on the subject, so it will be not when generating table of contents entry will be automatically deleted. If it is applied to the table of contents only, he is always in the build.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • Problem with the conditional tags in printed output

    I write help files for different versions of our software - version 4 and 5 using Robohelp for HTML 5.0.2

    There is a large overlap of information between the two, so I use a help file joint with marked topics that are specific to version 4 or version 5.

    I went out and then use with 'NOT v4' or "NOT v5" as the conditional tags.

    It works fine in the HTML output. However, I encountered problems with the printed output.

    Ideally, I want the help file using the option "generate the single document" because it means that the document produced, without the single output field. However, when I do, the tags conditional build fail and I get a piecemeal result.

    If I generate the document by using the option 'generate individual documents' tags conditional build work, but I get the only field I want to avoid.

    Does anyone know how to get the conditional tags to work when the option "generate the single document" is selected?

    Pierre and HKabaker - thanks for your comments.

    I think I have the answer now.

    In the properties for the SSL Print dialog, the third screen is the dialogue of section layout. I had removed some sections in the right pane (for example, the default title page, glossary, and index) because I did not want them to appear in the final printed output. It seems that without these sections present conditional compilation tags do not work correctly when the document is released by using the option 'generate a single document ".

    I started again with a "blank" printing of SSL version. Conditional constructions using the "generate a single document" appear to work fine when I leave the dialog layout intact section.

    I can even do the conditional tags build an injustice because the option "generate a single document" (after that I made the changes in the dialog layout section) seems to be that some of the chapters in the table of contents and omitting others.

  • Find/replace, searching for specific text to replace it with the paragraph tag

    I tried to replace a string of text that I have at the beginning of a paragraph indicating a certain style of paragraph with this style of ID while eliminating the text string. For example, I put @IN1 at the beginning of a paragraph I want formatted with the paragraph of my ID IN1 style. However, when I have 'Search' @IN1 with no. find format and 'to' do not change (i.e. empty) with the paragraph style selected 1 selected under format change, it applies the paragraph style, but does not delete the text string @IN1. When you do a search/replace without the portion of paragraph desired syle, he removes the @IN1 correctly. It is a bug, or is there something I have to put in the change of area indicate no text? Thank you

    Using the GREP tab, find ^ (@IN1) (.) and replace with $2 and set the paragraph style in the change of format.

    The ^ beginning of paragraph says and the $2 is the second subexpression matching.

  • Currently using Elements 8 with the Organizer, tags, etc. on a Windows PC.  Buy MacBook Pro and want to put 13 and first elements? on my Mac.  How is it difficult to download the old files for MAC?

    Buy Macbook Pro and thinking about buying a package Elements and Premiere Elements for my new Mac.  I've been using 8 items for a few years and several thousand organizes and editing photos on a Windows PC.

    How hard is it to transfer from the PC to the MAC?

    Is my pictures organized with the names of tags etc all back from 8 to 13 new elements?

    Hi Robert

    You can find these links in the transfer of your catalog to your mac:

    Guinot

    Using Backup, Restore to move the catalog | Organizer | Elements 6 or later version

  • alignment with the &lt; div &gt; tags

    I am having trouble getting my 3rd < div > tag align (id = flash). It is left in line with the edge of the tag '#content' < div >. Essentially left alignment on the edge of my centered layout. Here is my code, anyone can have an idea on what I'm missing? I am new to do not use tables.

    Thank you

    < head >
    < meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"
    < Title > page < /title >
    < style type = "text/css" >
    {body
    do-family: Arial, Helvetica, without serif.
    background-color: #FFF;
    margin: 0px;
    padding: 0px;
    }
    #container {}
    margin: 0 auto;
    Width: 999px;
    }
    #content {}
    Width: 100%;
    }
    {#flash}
    position: absolute;
    top: 134px;
    left: 216px;
    }
    < / style >
    < / head >

    < body >
    < div id = "container" >
    < div id = "content" > < img src = "images/background.jpg" width = "997" height = "2400" / > "
    < div id = "flash" >

    This is a decision by aligning

    < / div >
    < / div >
    < / div >
    < / body >
    < / html >

    The same can be applied to the normal margins:

    {#flash}

    margin: 134px 216px 0px 0px;

    }

    Is that what you are looking for?

    Nick

  • Stop or play on the image with the video tag does not work?

    I have a video in a setting that corresponds with the label 'eight ';  I have a button on the timeline with the following code.  I have tried to Stop both gotoAndPlay and it does not work.  Thanks in advance for your suggestions.

    on {(press)

    gotoAndStop (eight);

    }

    use:

    on {(press)

    gotoAndStop ("eight");

    }

  • ADF faces with the META tag

    Hi guys,.

    I am with a problem. I need to add the META tag in a JSF page that works with ADF Faces. How does do it?

    The tag I need to add is:
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    Thank you very much

    http://technology.AMIS.nl/Blog/4631/ADF-11g-include-meta-data-tags-in-head-element-using-afdocument-and-metacontainer-facet

  • I need help with the DIV tags :)

    Hello.

    I'm currently building a website for a server CoD: WaW Nazi Zombies I'm currently getting. The purpose of this one is just for me and my friends to play nazi zombies and test different mods of it. I'm putting the layout for the Web site using styles and DIV tags I want to have two div tags on the same line as the other. Some solutions I've seen include float, but when I try that it does not work so I turned on the Adobe Forums. Here is my code:

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    " < html xmlns =" http://www.w3.org/1999/xhtml ">
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"
    <!-TemplateBeginEditable name = "doctitle"-->
    jCodZombies < title > - < /title > model
    <! - TemplateEndEditable - >
    <!-TemplateBeginEditable name = "head"->
    <! - TemplateEndEditable - >
    < style type = "text/css" >
    <!--
    . Header {}
    height: 310px;
    Width: 1280px;
    background-image: url (.. / jCodZombies/images/slices_01.gif);
    }
    . NAV {}
    height: 461px;
    Width: 481px;
    }
    . Happy {}
    height: 461px;
    Width: 799px;
    background-image: url (.. / jCodZombies/images/slices_03.gif);
    }
    .footer {}
    height: 253px;
    Width: 1280px;
    background-image: url (.. / jCodZombies/images/slices_04.gif);
    }
    ->
    < / style >
    "" < script src = "... / Scripts/swfobject_modified.js" type = "text/javascript" > < / script >
    < / head >
    < body >
    "" < div class = "header" > < img src = "... / jCodZombies/jCodZombies.gif" width = "1280" height = "300" / > < / div >
    < div class = "nav" >
    < object id = 'FlashID' classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width = "481" height = "461" > "
    "" < param name = "movie" value = "... / jCodZombies/nav.swf" / >
    < param name = "quality" value = "high" / >
    < param name = "wmode" value = "opaque" / >
    < param name = "swfversion' value ="6.0.65.0"/ >
    <!-this param tag prompts users with Flash Player 6.0 r65 or later to download the latest version of Flash Player. Delete it if you do not want users to display the prompt. ->
    "" < param name = "expressinstall" value = "... / Scripts/expressInstall.swf" / >
    <!-next object tag is for non - IE browsers. Then he hide from IE using IECC. ->
    <!-[if! IE] >->
    "" < object type = "application/x-shockwave-flash" data = "... / jCodZombies/nav.swf" width = "481" height = "461" >
    <!-<! [endif]-->
    < param name = "quality" value = "high" / >
    < param name = "wmode" value = "opaque" / >
    < param name = "swfversion' value ="6.0.65.0"/ >
    "" < param name = "expressinstall" value = "... / Scripts/expressInstall.swf" / >
    <!-the browser displays the following alternative content for users of Flash Player 6.0 and higher. ->
    < div >
    < h4 > the content of this page requires a newer version of Adobe Flash Player. < / h4 >
    " < p > < a href =" http://www.Adobe.com/go/getflashplayer_fr "> < img src = ' http://www.Adobe.com/images/shared/download_buttons/get_flash_player.gif "alt = 'Get Adobe Flash player' width = '112' height ="33"/ > < /a > < /p > "
    < / div >
    <!-[if! IE] >->
    < / object >
    <!-<! [endif]-->
    < / object >
    < / div >
    < div class = "content" > < / div >
    < div class = "footer" > < / div >
    < script type = "text/javascript" >
    <!--
    swfobject.registerObject ("FlashID");
    ->
    < /script >
    < / body >
    < / html >

    Also here is a link to my site that this code is for: http://www.jcodzombies.TK

    It should work. In addition, he is a model for two pages on this Web site. He is not too complicated and have done it before, but can't get out so I would like some advice from you guys.

    Thank you and I hope to see some answers soon.

    If you have Dreamweaver, why don't you just try one of their file > new... home pages? Maybe try 2 columns with header and footer? Or fair value each of your divs a different background color and try to play with things. You should be able to simply float your div 'nav' on the left. It is usually a good idea to create a div 'container' and put all your other div inside. Then the div 'container' your maximum width and value margin: 0 auto;

  • Need help with the div tags

    I created several tags to dig under the body of the page (called bodyleft, englishpara, polishpara and bodyright).  The body has an inserted image I will be converting to a viewer.  I want to do is merge tags so that when the image is enlarged the content below it is pushed down until the picture returns to normal size.  Does anyone know how to do this?  Or I have to choose a different layout?

    http://02cada7.netsolhost.com/Stasik_Family_Website/indexwithballoon.html

    The only way to have content to move down when other content develops is that all of this content placed in static containers, i.e. is not not a position absolutely.  This is going to happen to the Exhibitor an image lightbox.

  • Trouble with the voice and data Vlan vlan translate between CT3905 and SF300 - 24 p

    Hey actually, we have the solution to monitoring of implementation with CT3905 phone, SF300 - switches 24 p cameras and AIR-AP1041N Access Points

    We have the problem with the vlan tag in SF300 switch ports - 24 p we can´t tag vlan of the voice and data VLANs on the same port on SF300 - 24 p it is Possible or we must dedicate a port for each VLAN or ussing the same data segment of VLANs and vlan voice?

    Someone has an answer or technical documentation that can help us

    Best regards

    First of all,

    Please disable lldp transmit in SF 300 switch.

    The command is "no lldp transmitted."

    After you disable check the following steps.

    https://supportforums.Cisco.com/docs/doc-27005

    facing the same problem with cisco SG 300 and 3905 ip phone switch.

    And nested thing was my 7945 and 6941 phones use to work properly, without above configuration.

    Cisco 3905 became not vlan Ip address votes and even if I put static, it did not work.

    After a long struggle, I was able to solve the problem. Now both phone and system work fine in the same port.

    Samantha

  • How to map the same tag of the element with a different value in BI Publisher rtf model.

    Hello

    I have an xml file with the same name in the < tag > element and I do not know how to associate the same < tag > element to different string in the document rtf template attribute.

    For example: "' Eswitch <number > is repeated in this xml file, when I am mapping this element to the document rtf with a different string, I have same value 'D00002 ' . I should get values D00002 and DMR00002.

    < document >

    < TitleBlock >

    < number > D00002 < / number >

    < itemType > Document < / itemType >

    < lifecyclePhase > preliminary < / lifecyclePhase >

    < description > gtedgg < / description >

    < shippableItem > n < / shippableItem > < / cartridge > < / Document >

    < DMR >

    < TitleBlock >

    < number > DMR00002 < / number >

    < itemType > DMR < / itemType >

    < lifecyclePhase > preliminary < / lifecyclePhase >

    test nomenclature model bom1 < description > < / description >

    < POS > < value > Test < / value > < / POS >

    < shippableItem > n < / shippableItem > < / cartridge > < / DMR >

    < / AgileData >

    I followed steps below for map document model rtf with the same tag xml with a different value.

    1. install Office word 2013.

    2 BI Publisher for desktop software installed. It will add a BI Publisher plugin to the word document.

    3. with the help of desktop publisher BI, created a model of document rtf file.

    4 imported the document rtf template example xml file.

    The data is loaded successfully.

    5 tires model rtf field symbol to map the tags to xml to rtf document attributes element.

    7 saved the document in PDF format.


    Thank you

    Please mark it correct so that it is useful for others to find the solution to a similar request.

  • Problem to the &lt; title &gt; tag editable inside a nested template

    Thank you very much in advance for the help with my problem below.

    -I'm going to build a website using Dreamweaver CS4.

    -J' have a model of main site including some code html pages are correctly built out of.

    -J' also have a nested blog model built on the main model for the blog site section and built 5 HTML pages out of this blog template nested start with.

    -With the site ready to launch, I try to go into each HTML page and update my tages < title > and then my < metatags description >. I put the < title > tags in the HTML pages out of my main template.

    -My problem is with the < title > tags in the HTML pages, built on the model of the blog nested. I can only change the < title > tag in the template real blog nested itself, and not the nested HTML built out of this blog template pages.

    -To try to solve the problem, I tried to move the tags surrounding area editable "doctitle" to different positions within the < head > tag on the main model and nested model of the blog. This includes surrounding the editable attribute code and also put an editable region around the entire < head > tag. But all produce errors when Dreamweaver tries to update the pages based on the given model.

    -The head of <>tag code to the main model of nested blog and an HTML page out of the nested model blog is below. I hope someone can help?

    # TEMPLATE < HEAD > HAND TAG #.

    < head >
    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"
    <!-TemplateBeginEditable name = "doctitle"-->
    mainTemplate < title > < /title >
    <! - TemplateEndEditable - >
    "" < link href = "... / css/main.css ' rel ="stylesheet"type =" text/css"/ >
    "" < link href = "... / pictures/faviconIcon.ico" rel = "shortcut icon" / >
    <!-TemplateParam name = "indexClass" type = "text" value = "holder"->
    <!-TemplateParam name = "domesticClass" type = "text" value = "holder"->
    <!-TemplateParam name = "commercialClass" type = "text" value = "holder"->
    <!-TemplateParam name = "blogClass" type = "text" value = "holder"->
    <!-TemplateParam name = "contactClass" type = "text" value = "holder"->
    <!-TemplateParam name = "bodyClass" type = "text" value = "main"->
    < / head >

    # TEMPLATE BLOG < HEAD > TAG #.

    < head >
    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"
    <!-InstanceBeginEditable name = "doctitle"-->
    < title > < /title > 1111
    <!-TemplateParam name = "blogClass4" type = "text" value = "holder"->
    <!-TemplateParam name = "blogClass3" type = "text" value = "holder"->
    <!-TemplateParam name = "blogClass2" type = "text" value = "holder"->
    <!-TemplateParam name = "blogClass1" type = "text" value = "holder"->
    <!-TemplateParam name = "blogClass5" type = "text" value = "holder"->
    <! - InstanceEndEditable - >
    "" < link href = "... / css/main.css ' rel ="stylesheet"type =" text/css"/ >
    "" < link href = "... / pictures/faviconIcon.ico" rel = "shortcut icon" / >
    <!-InstanceParam name = "indexClass" type = "text" value = "holder"->
    <!-InstanceParam name = "domesticClass" type = "text" value = "holder"->
    <!-InstanceParam name = "commercialClass" type = "text" value = "holder"->
    <!-InstanceParam name = "blogClass" type = "text" value = "current"->
    <!-InstanceParam name = "contactClass" type = "text" value = "holder"->
    <!-InstanceParam name = "bodyClass" type = "text" value = "blog"->
    < / head >

    # HTML < HEAD > TAG PAGE BLOG #.

    < head >
    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"
    < title > < /title > 1111
    <!-InstanceParam name = "blogClass4" type = "text" value = "holder"->
    <!-InstanceParam name = "blogClass3" type = "text" value = "holder"->
    <!-InstanceParam name = "blogClass2" type = "text" value = "current"->
    <!-InstanceParam name = "blogClass1" type = "text" value = "holder"->
    <!-InstanceParam name = "blogClass5" type = "text" value = "holder"->
    "" < link href = "... / css/main.css ' rel ="stylesheet"type =" text/css"/ >
    "" < link href = "... / pictures/faviconIcon.ico" rel = "shortcut icon" / >
    < / head >

    First of all, there are ways to achieve what you want without using nested templates.  A bit of CSS and server-side includes will do the job admirably.

    Next - you will be surely able to insert an editable region in thetag in the 2nd generation in changing it - model<p class="reply"> <p class="reply"><!-- InstanceBeginEditable name="doctitle" --><br> <title>Untitled document

    on this subject.



    Untitled document

    If you want to use nested templates, you will need to learn how to think like one.  It is not easy.  And it will take you to put your hand in the code sometimes.  This is only one of the reasons why I think that using them is a mistake.

  • Problems with the removal of the tags

    PES 10 I have a lot of imported key words.  In this list are the tags like USA, Florida, Arizona, Utah, etc.  It is quite easy to drag Utah for a little less USA. I thought that I could then do each State, as a subcategory of the USA.  But when I try this I think that Utah is displayed at the bottom of the list is imported and not less USA as I expected.  What happens OK or not?  I would be able to achieve a tree of tag which if we took it even down another step will be able to see from the USA on the top branch, States like Utah on a branch down & then Salt Lake City on the branch?

    I expect to be able to use the tree of the tag as a way to sort of zoom in. So I would have the options to see all the pictures at the country, State or city level.

    Thanks in advance

    Thanks for the reply.  Because most of my tags were just imported that they were just in alphabetical order.  Some of them are really places & others are really the people or events...

    What I was able to make sense was to create new tags for a State to declare Utah. Then, I select in list of tags imported Utah who already has his tag of Utah.  Then I select all the images of Utah & drag each of them in the new tag in place of Utah.  It means that I have Utah tags on the photos twice (once as any & once as a place).  While images are always selected, then remove the tag imported from Utah.  I then find myself with the correct tags on the photos that are well placed in the tag tree.

Maybe you are looking for

  • HP 500-223W PC: Firewire card problems

    I bought a hp pravilion 500-223w to replace a hp pravilion 6404 y. The 500-223w has no port for pci1394. I ordered a card that was supposed to be compatible with the Terminal Board of the motherboard. I can't download and edit videos at all. Is someo

  • Brand new twist S230u unknown devices 2

    I get warning messages from the solution Center Lenovo I have two unknown devices. It is a new system, I am very surprised to get this message right out of the box. All ideas are what the drivers missing?

  • Windows not allowing me to use Photo Album 7 installed

    I loaded Photo Album 7 and get Windows error message when I try to open the program: "Windows looking for the solution. "A problem caused program stop working.  Windows will close the program and notify you if a solution is available. » "Close the pr

  • How can I sort the trash by deleted Date?

    When you click on the search bar, a list will appear as "modification date:" but if it means "Sort by date deleted" it has not worked.  The photos that I had just deleted do not show upward.   "Organize" does not seem to be a way to organize by date

  • Windows 7 close in vain during sleep.

    When I put my computer to sleep after a certain time it closes its doors with message on startup ' windows don't close does not correctly "and after a while, the computer starts correctly. I use windows 7 recently I had my computer repaired and obtai