Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4602854
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T00:03:15+00:00 2026-05-22T00:03:15+00:00

How to pass parameters to decoratorClass in MobileIconItemRenderer ? I have a custom control

  • 0

How to pass parameters to decoratorClass in MobileIconItemRenderer ? I have a custom control to display a metric (get from data collection), this control will be used as decoretorClass, my problem is that I couldn’t set the metric parameter on my custom control, you can find below a sample code. How to do to pass values to a instance for my custom component ? Exist any way, or I have to re-make the MobileIconItemRenderer class ?

<s:List id="dealList" top="0" bottom="0" left="0" right="0" width="100%" height="100%"
                dataProvider="{dealService.lastResult.Response.Items.Item}" >
   <s:itemRenderer>
       <fx:Component>
           <s:MobileIconItemRenderer label="{data.Metric_Name}" messageField="Customer" decoratorClass="{MetricViewer}">
               <fx:Script>
                   <![CDATA[
                       import mobile.ui.component.mxml.MetricViewer;
                   ]]>
               </fx:Script>
           </s:MobileIconItemRenderer>
       </fx:Component>
   </s:itemRenderer>

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T00:03:16+00:00Added an answer on May 22, 2026 at 12:03 am

    Here is one example. However, it suggest to set a different decorator class based on the data.

    Here is a different example, that seems to accomplish the same thing but does not use a decorator to do so.

    There does not seem to be a documented API that you can use to access the instance of the decorator, but I bet if you drill into the code there is a way.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to pass several parameters to this url and generate the map from
I want to pass parameters to reportviewer control from the page I built with
I am using GET to pass parameters, succesful save data to mysql if the
I want to pass parameters from PHP Command Line Interface, and then read in
I am trying to pass parameters from Visual Studio using VB.net to a Crystal
I'm trying to pass parameters from a PHP middle tier to a java backend
I'm trying to pass parameters to a control in codeigniter, but I'm getting 404
I am trying to pass parameters from one action (foo) to another (foobar). In
How to pass parameters to Thread.ThreadStart() method in C#? Suppose I have method called
How to pass a large number of parameters (say 20+) to stored procedure from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.