Problem in rotating link button in flex

When i try to rotate a linkbutton, it is not showing any label value
<mx:LinkButton label="LinkButton" rotation="90" />
Anyone please let me know how to rotate  a linkButton .

You will probably need to use embedded fonts in order for rotated text to show up.

Similar Messages

  • How to apply background color to link button in Flex 2

    I need to apply background color to link button as the Rollover color has  on its over event.How is this possible in Flex 2 ?I am using the above  in Xcelsius as custom component so if I apply graphics and draw rect  method it does not have any effect.Please help.

    These might help:
    http://jdevadf.oracle.com/adf-richclient-demo/components/skinningKeys/column.jspx
    http://jdevadf.oracle.com/adf-richclient-demo/components/skinningKeys/table.jspx

  • Problem with Layout / Missing Buttons in Flex Bulder Properties under Windows 7

    Hi Guys,
    I'have a very urgent problem wich i need to get fixed, but I didn't find any solution on the web.
    I upgraded to Windows7 Professional 64. After installing Flex Builder3 with all its updates I wanted to change the run/debug settings in the properties of the project.
    Unfortunatly the buttons on the rigth (edit, remove, etc won't show) i reinstalled flex builder 3 standalone several times without any luck.
    I checked if there are areas wich also don't look right. in the flex programm properties i cant add any new sdk. Buttons there are also not there.
    Please somebody maybe from adobe can help to solve this issue ?
    best regards
    Carsten

    Thanks alot David for trying to help. After spending several hours searching i found the problem.
    Believe it or not, the problem is caused by the Logitech Drivers.
    The Problem already existed in Vista 64bit.
    See this Post.
    http://cookbooks.adobe.com/post_Flex_Builder_3_on_Windows_Vista_64_bits_issues-12826.html
    After uninstalling the SetPoint Software everything is looking normal again.
    Thanks again for your help.
    Carsten

  • Trouble with Linking Buttons to Articles in Other Folios

    I am very new to DPS as in I just started working with it less than a week ago. My main problem now is linking buttons from one page in a Folio to another.
    My set up right now is this:
    I have a folio named "Cover" that has the landscape and protrait version of the articles.
    I have a button placed on the articles that I want to link from Cover to a folio named "Menu" which also has both orientations
    I understand the 'navto://', but I am not clear on how you connect folios of the same project.
    Reading through the Adobe tutorials definitely walks me through setting this up, but not how to make it all work together easily.
    Thank for any help.
    -Frank

    Your terminology is somewhat confusing.
    My best bet is that you want to link from a certain page in one article (e.g. "Cover") to a certain page in another (e.g. "Menu").
    If that's correct, then
    navto://Menu or navto://Menu#0
    will send you to first page of "Menu" article
    navto://Menu#1
    will send you to the second page of "Menu" article
    navto://Menu#2
    will send you to the third page of "Menu" article
    and so on...

  • Bug in flex 4, with truncating the link button and labels

    hey guys.. so my application has a popupanchor, and in that popup anchor i have multiple linkbuttons... and for some reason no matter what i try, it truncates all the link buttons, as well as the labels on accordions.
    i know that the button is not in a group with small width... ive also tried wrapping the link button in a group with a width of 500, and still the link button gets truncated...
    any ideas on how to fix this problem??
    if you would like the following is the code i have... essentially all the labels and linkbuttons gets truncated after the second time i popup the popupanchor.
    <s:PopUpAnchor id="detailsPopup" popUpPosition="topLeft" styleName="popUpBox" depth="20">
         <s:VGroup id="detailsGroup" contentBackgroundColor="#ffffff" height="518" width="791">
              <s:Group width="100%" height="100%">
                   <s:Rect width="100%" height="100%">
                        <s:fill>
                             <s:SolidColor color="#ffffff"/>
                        </s:fill>
                   </s:Rect>
                   <s:VGroup>
                        <s:BorderContainer backgroundColor="#0184C7" width="100%" height="88" borderVisible="false">
                             <mx:LinkButton label="[ X ]" skin="{null}" x="750" y="5" fontSize="8" color="#ffffff" rollOverColor="#333333" click="hideDetails.play(); resetVars();" />
                             <storyTextbox:advancedTextInput id="title" defaultText="Insert Title Here" fontSize="18" color="#ffffff" focusColor="#ffffff" width="575"
                                                                     height="30" verticalCenter="0" left="12" contentBackgroundColor="#0184C7" borderVisible="false"/>
                             <storyTextbox:advancedTextInput id="subHeading" defaultText="Insert Subtitle Here" fontSize="10" height="20" y="63" left="12" focusColor="#ffffff" width="315"
                                                                     color="#ffffff" contentBackgroundColor="#0184C7" borderVisible="false"/>
                             <s:VGroup paddingLeft="600" paddingTop="25">
                                  <s:HGroup>
                                       <s:Label text="File Name: " color="#ffffff" fontFamily="DINOT-Bold" />
                                       <s:Label text="{currentSelection.FileName}" color="#ffffff" fontFamily="DINOT-Regular" maxWidth="111" lineBreak="explicit" />
                                  </s:HGroup>
                                  <s:HGroup>
                                       <s:Label text="Video Id: " fontFamily="DINOT-Bold" color="#ffffff" />
                                       <s:Label text="{currentSelection.VideoId}" fontFamily="DINOT-Regular" color="#ffffff" />
                                  </s:HGroup>
                             </s:VGroup>
                             <s:HGroup paddingLeft="400" paddingTop="60">
                                  <s:Label id="dateFieldLbl" color="#ffffff" text="Date Available" paddingTop="5" paddingRight="15" />
                                  <s:Group>
                                       <mx:DateField id="dateField" initialize="txtFieldInitialized();" x="-75"
                                                        change="getSelDate();" styleName="dateFieldStyle" depth="100" fontSize="10" />
                                  </s:Group>
                             </s:HGroup>
                             <s:HGroup paddingTop="65" paddingLeft="515">
                                  <s:CheckBox id="corp" label="Corporate" styleName="checkboxStyle" selected="false" />
                                  <s:CheckBox id="insider" label="Insider" styleName="checkboxStyle" click="checkBoxClicked(insider);" selected="false" />
                                  <s:CheckBox id="podcast" label="Podcast" styleName="checkboxStyle" click="checkBoxClicked(podcast);" selected="false" />
                                  <s:CheckBox id="iphone" label="iPhone" styleName="checkboxStyle" click="checkBoxClicked(iphone);" selected="false" />
                             </s:HGroup>
                        </s:BorderContainer>
                        <s:HGroup>
                             <s:BorderContainer borderVisible="false">
                                  <s:VideoPlayer id="videoPlayer" width="545" height="307" mediaPlayerStateChange="vidPlyr_mediaPlayerStateChangeHandler(event);"
                                                    visible="true" skinClass="modules.videoHandler.components.videoPlayerSkin" dropShadowVisible="false" />
                                  <mx:LinkButton label="CAPTURE" skin="{null}" color="#0184C7" rollOverColor="#333333" click="captureVideo();" top="330" left="475" />
                             </s:BorderContainer>
                             <s:VGroup>
                                  <s:HGroup>
                                       <mx:Image id="initialThumbnail" styleName="imgSkin" source="{popupThumbnail}" width="100" height="55" />
                                       <s:Group>
                                            <mx:LinkButton label="SAVE" skin="{null}" color="#0184C7" rollOverColor="#333333" paddingLeft="78" paddingTop="16" click="saveData();" />
                                            <mx:LinkButton label="CLOSE" skin="{null}" color="#0184C7" rollOverColor="#333333" paddingLeft="68" paddingTop="30" click="hideDetails.play(); resetVars();" />
                                       </s:Group>
                                  </s:HGroup>
                                  <mx:Accordion id="tagsNCategoriesAccordion" width="225" height="285" borderVisible="false" headerStyleName="headerStyle" borderStyle="none">
                                       <s:NavigatorContent id="channel" label="Channel" visible="false">
                                                            </s:NavigatorContent>
                                  </mx:Accordion>
                             </s:VGroup>
                        </s:HGroup>
                   </s:VGroup>
              </s:Group>
         </s:VGroup>
    </s:PopUpAnchor>

    ive tried it on simpler cases... it seems to happen when ever the buttons are on a popupanchor...
    so when i popup the anchor for theffirst time it works, but when i pop it up again thats when i start noticing the truncation.... if that makes any sence

  • Problem with Link Button

    Hi
    I've got a linked button in a column within a matrix that shows Sales Order Document Numbers. I've set it to link to the Sales Order form using the following code:
            oColumn = oColumns.Add("OrderNum", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
            oColumn.TitleObject.Caption = "Order Number"
            oColumn.Width = 200
            oColumn.Editable = False
            oLink = oColumn.ExtendedObject
            oLink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Order
    The problem I've got though is that if the Sales Order is created with a manually entered Document Number I get the following error when clicking on the linked button.:
    "You are not permitted to perform this action [Message 200-30]"
    I guess the reason it is happening is that the DocEntry and DocNum are different and the Linked Button is using the DocEntry as reference to which Sales Order needs to be opened when the linked button is pressed.
    Is there anyway to stop this from happening and for the Linked Button to function as normal even if the Sales Order has a manually entered document number? So is there a way to allow the Linked Button to link through to a Sales Order using the DocNum not the DocEntry?
    Steve

    Cheers mate. I've just tried setting using the PressLink property of the EditTextColumn object however it's not letting me set the EditTextColumn to the column I have in my matrix. The code I have is:
                                            Dim b As SAPbouiCOM.Column
                                            Dim oEditTC As SAPbouiCOM.EditTextColumn
                                            Try
                                                If pVal.Before_Action = False Then
                                                    oForm.Freeze(True)
                                                    oEditTC = oMatrix.Columns.Item("DocEntry")
                                                    oEditTC.Visible = True
                                                    oEditTC.PressLink(pVal.Row)
                                                    oEditTC.Visible = False
                                                    oForm.Freeze(False)
                                                End If
                                            Catch test As Exception
                                                MsgBox(test.Message)
                                            End Try
    The error I am getting is "Specified Cast Is Not Valid". The type of column I am trying to bind to is a "it_LINKED_BUTTON".
    Steve

  • Rotating Menu - Buttons don't work inside MC's

    Hello,
    This is my first post here and it would be great if I could
    have your help to solve this little problem:
    Flash CS3 | AS2 | Rotating Menu
    I'm creating a small animation in which I have a clock-like
    rotative menu.
    I found the code for this in the internet and made some few
    adjustments (mainly just took somethings I didn't needed out)
    In my file I have 6 circles that are all movieclips that make
    part of a circular menu that rotates everytime you click on one of
    the circles. Those movieclips are not on the stage, only on the
    library, and are being "pulled" into action by the actionscript.
    I need those movieclips to act as menu buttons, so I made a
    button inside each one of them.
    The problem is that the buttons don't work. They don't do
    what they are suppose to (load another movieclip). The solution
    must be quite simple because it doesn't make sense not to work, but
    I'm unable to get it...
    In the original file they worked as buttons that linked to an
    URL but I removed that because I didn't need it. Just need them to
    act as normal buttons and play another MC...
    Do you have any idea why this happens?
    Does it have anything to do with the fact that the circle
    movieclips that contain the buttons are not actually on the stage?!
    The code I'm using in the buttons is rather simple:
    on(release){
    movie1.play();
    I would appreciate your help on this!
    Thank you,

    Hi Odisey2,
    I appreciate the time you took to try to help me!
    I only have 1 frame in my stage, and its the one that
    contains the actioscript code.
    I also have on stage the MC i'm trying to make the button
    play. The first frame of that MC is empty and has a stop, so that
    its not visible at first.
    Then I wanted that when you click the button (the onde that
    is inside the MCs that are being "pulled" by the code I sampled) it
    would play that MC on stage.
    The code I'm using in the burron is pretty simple:
    on(release){
    movie1.play();
    I've tried to put "_root" before, like this: "_root.movie1"
    but it doesn't work as well.
    Any other idea?
    Do you think it has anything to do with the fact that the
    circle movieclips that contain the buttons are not actually on the
    stage?!
    Thanks,

  • RoboHelp10 - If we click on 'Show' link(button), blank page get displayed

    I am using,
    RoboHelp10
    IE9
    MSVS2010
    Win7
    Tried with below option,
    Flash Help -> we are working with it and has problem for our desktop/standalone wcf application.
    Flash Help Pro - > We know that RH server is req. for this option
    Web Help Pro- > We know that RH server is req. for this option
    Trouble in (Flash Help),
    1. When we invoke Flash Help with respective topic ID, it will not show requested topic page along with TOC, it will show default topic/page, which we set at the time creating help. Also it will display "Allow Blocked Content" button at the bottom. If we click on "Allow Blocked Content" it will display the above requested topic page correctly, but without TOC pane. This time we can see 'Show' button(link) on the browser. If we click on 'Show', blank page get displayed.
    2. When we are displaying content with option 'OptionConstants.CSH_DISPLAY_CONTEXT' it only show topic and it won't show me the TOC along with current selected topic page.
    3. When we are displaying content with option 'OptionConstants.CSH_DISPLAY_CONTEXT' it only show topic with 'Show' link. When we click on 'Show' link, blank page get display.
    4. Tool gives us facitlity to publish the Flash help, where we can choose the folder. This means that it publishes folder structure. We are using this folder structure (the published one) and on the top of that we are not getting expected(blank page get display) result.
    5. Published content does not contain any mapid/mapfile, if so whow it works correctly with RH development studio.
    6. Skin we were using 'beautiful_vista_flash.fhs'
    7. We build RH after setting Mozilla as the statup browser. We tried with Mozilla and IE but still our application opens help in IE. So not able to test in Mozilla.
    Please assist to resolve it.
    Thanks in advance.

    Thank you for your input.
    Working with "FlashHelp"
    Our req is files pages are deployed along with desktop(WPF) application locally and not on webserver.
    Referred following link,
    http://blogs.msdn.com/b/ieinternals/archive/2012/06/20/loading-local-files-in-enhanced-pro tected-mode-in-internet-explorer-10.aspx
    http://msdn.microsoft.com/en-us/library/ms537628%28v=vs.85%29.aspx
    and added below one liner code,
    <?xml version="1.0" encoding="utf-8" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- saved from url=(0014)about:internet -->
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    in each pages in the 'ProjectManager''s Project Files. And published the content of "FlashHelp".
    Again the same problem("Allow Blocked Content" button apprears and blank page get displayed, as explained in option #1 of the first post) persist.
    If i choose page and do viewsource then it will show blank line in place of <!-- saved from url=(0014)about:internet -->
    Code is as given below,
    <?xml version="1.0" encoding="utf-8" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    We need to know that how to implement 'Mark of the Web' using RH development studio?
    Your input are appreciated.

  • Problem with rotation and landscape mode in iOS 8

    From start of iOS 8 I have got problem with rotation in my iPhone 5S 32GB as well as in my iPad mini retina 32GB. Automatical rotation to landscape mode is not working correctly. For example if you take the phone or tablet to landscape mode in base display and tap to Safari, Mail, Messages, the app will start but stay in normal mode, not landscape. Then you have to back the phone to normal portrait mode and back to landscape and only then the phone do the landscape mode. I have never seen this problem in iOS 7 or older.
    Could you help me anyone with this problem? Or is the problem generally in iOS 8.
    Thanks a lot
    Jakub

    Brian, thanks, but it's not a rotation lock issue - at least not relating to the rotation lock setting. It's just a general use setting. Right now i have my iPhone propped in landscape mode. If I now hit the home button, essentially returning to a portrait setting though my phone is still positioned in landscape, then open any other app that supports landscape, that app WILL NOT orient itself to landscape mode. It will stay in portrait mode. The phone has to be physically oriented to portrait, then back to landscape for the app to register landscape mode properly. This is a glitch, and not a rotation lock issue. it ought to be noted that this was not an issue in iOS 7 or any previous iteration.

  • How do I remove download links/button redirect to accurate download

    When I go to some sites that have a download link underscored in blue or a button next to text or any other part of the page, I was able to click and download the file. When you point at the link or button you would see the path it will take to download the file. It would have the website name your visiting plus other codes.
    But on returning to these sites, when I choose what I want to download, the link or button wants to go to accuratedownload.com. It presents the name of the item I want and with a .EXE extension. My main browser is Firefox version 26.0 on my XP PC. I test Internet Explorer and it produces the same results. Something has changed. I go to the site on my mobile phone, I am able to download the file from the same site and the links/buttons are not embedded with codes to go to accuratedownload.com. I do not know what to call this problem since I had no luck in finding solutions to redirection being embedded in a link or button on a web page that worked fine.
    I've tried a reset Firefox, my profile, running Symantec Anti-Virus, Malwarebytes Anit-Malware, Clearing history and so on. The problem still occurs. Need Help.
    Note: It would be nice if when the Download Screen pops-up, that we could rename the download file to a name we want (Saves time). Even if you rename the file, the history should record where it came from with the original name if it needs to be downloaded again.

    To let you know, When I did a reset and restarted Fire Fox without the Add on's. I tested each user account on my PC. Each user account that used Fire Fox or Windows Explorer showed the same symtoms.
    Back to troubleshooting, I've completed a scan using Sothos Free Virus Removal Tool. After a lengthy scan of every drive, partition, USB Thumb Drive and so on that it found, in about 5.5 hours it found Mal/FakeAvCn-C, Mal/JavDlEx-A and CXmal/BadLnk-A and continued by clicking the Clean Up button and that took about 15 minutes for some reason. Then it asked to send the log to Sophos. I clicked send and it failed to get to them.
    I tried going on the internet to test the cleanup by clicking on some links and buttons. I could not get on the internet. I found that the NIC card was not working. Don't know why now but probably was affected by the scan. I found myself troubleshooting and reinstalling NIC drivers several times before the NIC card started to run correctly.
    I read you post and tried to change the proxy settings in Fire Fox to "No Proxy." The scan, clean up and proxy settings change did not remove the embedded paths in links or buttons that allow you to download or be sent to the intended location. It still had paths to accuratedownload.com and eachdownload.com.
    Question: By default is the proxy setting suppose to be "Use system proxy settings"? Should I put this back to this setting.
    Windows Explorer has the same problem. Is Fire Fox a stand alone product or does it build parts of itself using Windows Explorer?
    =========
    Besides the scans and removal done to the registry, the scans it did on the files and folders, the Sophos log shows the virus attached to files in Documents and Folders, All Users (and other user accounts), Application and data folders, Java and Cache, including any shortcuts and long cryptic files like (pg42l784fcuo452hsb6cfbkoke045p75f2e02887m).
    When programs fail to delete or cleanup after themselves, what locations can be safely deleted manually?

  • Link button does not link to the right record.

    Hi,
    I have created a matrix, and I have made one of the column type as link button. The matrix is loaded with Sales Quotation record, and the DocNo column is a link button. For example, when i pressed the link button of record with DocNo = 10, but the Sales Quotation form pop out is record with DocNo = 8, anyone encountered this problem??? anyone have any solutions on this???
    I have tried this with other marketing document object, such as Sales Order and Invoice, the same problem occured... huh, one more thing, if i did not set the document numbering series, the code is working fine, once i set the document numbering series, then this problem will happen ... hope to hear from you guys ...thanks in advanced!!!

    Hi,
    I suppose the reason of this behavior is that the link button relates using the DocEntry value, and not the DocNum fields value.
    What we usually do is to have 2 columns, on the first the DocEntry, and in the second one the DocNum. Then we set the DocEntry Column´s width to 20, and then only the orange arrow is shown.
    This way, you get the behavior and appearance you need.
    Hope that helps.
    Ibai Peñ

  • Link button not working in matrix

    Hai To All,
              I created one form with only one matrix. On that i have 5 columns. In first column i have linkbutton link to user defined screen. What its not working.
    My code is here
    If pVal.ItemUID = "matrix" And pVal.ColUID = "Docno" Then
                            Dim oMatrix As SAPbouiCOM.Matrix
                            Dim doc As String
                            oMatrix = Frm.Items.Item(pVal.ItemUID).Specific
                            doc = Trim(oMatrix.Columns.Item("Docno").Cells.Item(pVal.Row).Specific.Value)
                            Dim oForm As SAPbouiCOM.Form
                            Dim blnBool As Boolean = False
                            For frm As Integer = 0 To app.Forms.Count - 1
                                Try
                                    If app.Forms.Item(frm).UniqueID = "PI" Then
                                        oForm = app.Forms.Item("PI")
                                        oForm.Close()
                                        Exit For
                                    End If
                                Catch ex As Exception
                                    app.StatusBar.SetText(ex.Message)
                                End Try
                            Next
                            If blnBool = False Then
                                app.ActivateMenuItem("PI")
                                oForm = app.Forms.Item("PI")
                                oForm.Select()
                                oForm.Freeze(True)
                                oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE
                                oForm.Items.Item("txt_ino").Specific.Value = Trim(doc)
                                oForm.Items.Item("1").Click()
                                oForm.Freeze(False)
                            End If
                        End If
    Regards,
    Anitha

    Petr,
         Actually this form is same as we discuss sterday that is the form should open automatically without any click. Now my problem is while form opening iam loading some data using query this also working fine. Here iam using linkbutton in matrix. If i click link button i want to open other form which is also created by me. My code is rite but y i dont knw the link button is not working.
    here is the code written in itemevent
    Case SAPbouiCOM.BoEventTypes.et_MATRIX_LINK_PRESSED And pVal.BeforeAction = False
                        If pVal.ItemUID = "matrix" And pVal.ColUID = "Docno" Then
                            Dim oMatrix As SAPbouiCOM.Matrix
                            Dim doc As String
                            oMatrix = Frm.Items.Item(pVal.ItemUID).Specific
                            doc = Trim(oMatrix.Columns.Item("Docno").Cells.Item(pVal.Row).Specific.Value)
                            Dim oForm As SAPbouiCOM.Form
                            Dim blnBool As Boolean = False
                            For frm As Integer = 0 To app.Forms.Count - 1
                                Try
                                    If app.Forms.Item(frm).UniqueID = "PI" Then
                                        oForm = app.Forms.Item("PI")
                                        oForm.Close()
                                        Exit For
                                    End If
                                Catch ex As Exception
                                    app.StatusBar.SetText(ex.Message)
                                End Try
                            Next
                            If blnBool = False Then
                                app.ActivateMenuItem("PI")
                                oForm = app.Forms.Item("PI")
                                oForm.Select()
                                oForm.Freeze(True)
                                oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE
                                oForm.Items.Item("txt_ino").Specific.Value = Trim(doc)
                                oForm.Items.Item("1").Click()
                                oForm.Freeze(False)
                            End If
                        End If
    Regards,
    Anitha

  • Command link / button action is not taking place if i use it in iterator.

    Hi,
    I am new to ADF, i am facing 1 issue while implementing ADF mobile browser application.
    Issue: command link / button action is not taking place if i use it in iterator. its just refreshing the page it self and displaying as no records.
    Scenario is i am populating the search results in results page from search page using iterator, i want to get the complete details in different page (results page -> details page) .
    I have tried in different ways.like
    case1:
    <tr:panelGroupLayout id="pgl2" layout="vertical" styleClass="af_m_panelBase">
    <tr:panelHeader text="#{classviewBundle.SEARCH_RESULTS}" id="ph1"/>
    <tr:iterator id="i1" value="#{bindings.SubjectVO1.collectionModel}" var="subject"
    varStatus="subIndx" rows="100">
    <tr:panelBox text="#{subject.Subject} #{subject.CatalogNbr} - #{subject.CourseTitleLong}"
    styleClass="af_m_listingPrimaryDetails" id="pb1">
    <f:facet name="toolbar"/>
    <tr:table var="ssrClass" rowBandingInterval="1" id="t1" value="#{subject.children}"
    varStatus="clsIndx" rowSelection="none"
    binding="#{SessionBean.subjectTable}" verticalGridVisible="true"
    emptyText="No Records" width="100%">
    <tr:column id="c9" sortable="false" styleClass="width:100%">
    <*tr:commandLink text="Section: #{ssrClass.ClassSection}-#{ssrClass.SsrComponentLovDescr} (#{ssrClass.ClassNbr})"*
    id="commandLink2" styleClass="af_m_listingLink"
    *action="#{pageFlowScope.BackingBean.searchaction}"></tr:commandLink>*
    //remaining code
    in this case commandlink action is not able to invoke serachaction() method
    case 2:
    <tr:commandLink text="Section: #{ssrClass.ClassSection}-#{ssrClass.SsrComponentLovDescr} (#{ssrClass.ClassNbr})"
    id="commandLink2" styleClass="af_m_listingLink"
    action="classdetails}"></tr:commandLink>
    in this case its not able to navigate to classdetails page.
    I gave correct navigation cases and rules in taskflow,but its working fine when the command link is out of iterator only.
    i tried with actionlistener too.. but no use.. please help me out of this problem .
    *Update to issue:*
    The actual issue is when i use command link/button in an table/iterator whose parent tag is another iterator then the action is not taking place.
    the structer of my code is
    < iterator1>
    #command link action1
    < iterator2>
    #command link action2
    </ iterator2>
    < /iterator1>
    #command link action1 is working but "#command link action2" is not...
    Thanks
    Shyam
    Edited by: shyam on Dec 26, 2011 5:40 PM

    Hi,
    To solve my problem I used a af:foreach instead.
    <af:forEach items="#{viewScope.DataBySubjectServiceBean.toArray}" var="text">
    <af:commandLink text="#{text.IndTextEn}" action="indicator-selected" id="cl1">
    <af:setActionListener from="#{text.IndCode}" to="#{pageFlowScope.IndicatorCodeParam}" />
    </af:commandLink>
    </af:forEach>
    By the way you need to convert the iterator to an Array using a ManagedBean.
    public Object[] toArray() {
    CollectionModel cm = (CollectionModel) getEL("#{bindings.TView1.collectionModel}");
    indicators = new Object[cm.getRowCount()];
    for(int i=0;i<cm.getRowCount();i++){
    indicators[i] = cm.getRowData(i);
    return indicators;
    public static Object getEL(String expr) {
    FacesContext fc = FacesContext.getCurrentInstance();
    return fc.getApplication().evaluateExpressionGet(fc,expr,Object.class);
    Hope that helps-
    Edited by: JuJuZ on Jan 3, 2012 12:23 AM
    Add getEL Method

  • Show local documents using link button

    I have few link buttons in my app to show the reports that
    were stored locally on the server. For example: The reports were
    stored at “C:\report\”. When I specify the local path
    to the link button and execute the app, I am getting an error
    saying that “Flex will not display the documents stored
    locally”. Please let me know the solution.

    Either use Adobe AIR, which allows local access, or else have
    the reports on server and store names or relative paths to those
    reports locally, using the shared object feature.

  • How do you make a gradient background on a button in flex 4

    Hey everyone, this is driving me crazy. Below is my css for a button in file.  I want a gradient background on a button in flex 4. I can not for the life of me figure out how to do this. There is no longer the backgroundColors option. chromeColor is only a single color and all the examples I see on the web using fill, and linearGradient throw up errors so I assume these were only in the beta? This is very frustrating to not be able to do a simple thing in flex 4 that worked in flex 3. Any ideas? Thanks.
    Button {
    cornerRadius: 3;
    highlightAlphas: 0.36, 0;
    fillAlphas: 1, 1, 1, 1;
    paddingLeft: 5;
    paddingRight: 5;
    backgroundColors: #ff6600, #ff9900, #ffffff, #eeeeee;
    color: #ffffff;
    disabledColor: black;
    textRollOverColor: #000000;
    textSelectedColor: #000000;
    borderColor: #ff6600;
    fontWeight: normal;

    This may not be what you're looking for, but since you are stuck, I'll elaborate on what FTQuest was saying. It will only take a few minutes to do this.
    In FB4:
    1. right-click the button, choose "Create Skin", give it a package (directory) and name (filename), host component "spark.components.Button" and "Create as copy of" "spark.skins.spark.ButtonSkin".
    This creates junk.mxml for you, the skin file.
    2. In the source of junk.mxml, change layer 1 (shadow) and layer 2 (fill) colors as I did here in this code. Note that where you see {color#}, this is data-binding to a variable I've made in a color.as file that I've included in the skin file. In fact, that is ALL that I changed in the skin file it generated for me.
    snippet from colors.as:
    public   var color1:int = new int(0xA1D190);
    snippet from junk.mxml:
    <![CDATA[
    include "Colors.as";
    layer changes in junk.mxml:
    <!-- layer 1: shadow -->
    <!--- @private -->
    <s:Rect id="shadow" left="-1" right="-1" top="-1" bottom="-1" radiusX="2">
    <s:fill>
    <s:LinearGradient rotation="90">
    <s:GradientEntry color="0x000000" color.down="
    {color5}"alpha="
    0.01"alpha.down="
    0" />
    <s:GradientEntry color="0x000000" color.down="
    {color6}" alpha="
    0.07"alpha.down="
    0.5" />
    </s:LinearGradient>
    </s:fill>
    </s:Rect>
    <!-- layer 2: fill -->
    <!--- @private -->
    <s:Rect id="fill" left="1" right="1" top="1" bottom="1" radiusX="2">
    <s:fill>
    <s:LinearGradient rotation="90">
    <s:GradientEntry color="{color2}" color.over="
    {color3}" color.down="
    {color4}" alpha="
    0.85" />
    <s:GradientEntry color="{color4}" color.over="
    {color5}" color.down="
    {color6}" alpha="
    0.85" />
    </s:LinearGradient>
    </s:fill>
    </s:Rect>
    You can (and maybe should) hardcode colors in here to do your gradients. After this, your button will need to use the skin, like:
    <s:Button ... skinClass="Skins.junk">
    ... where "Skins" is the name of the package/directory I told it to create the skin in.
    This may not be ideal for you, but it's working for me. Regarding having variables for color values, I posted a thread this morning asking if this is the best way to do things or not, so I don't know if it's the way to go.
    Hope this helps ... 

Maybe you are looking for