Pusing 2 complex components to one tileList

Hi
In a nutshell – I need a way to push 2 separate components
needing 2 separate item renderers into one tileList – letting
me set the width of the tileList to 100%.
I am wanting to use a tileList containing 2 separate
components and move the contents of the tileList onto a new line /
row when it reaches the browser / application width limit.
For example if a tileList consists of many
“circle” components (“circle.as”), and the
width of the tileList can only fit 10 of these components per row,
then the tileList should force / place the remainder amount of
components onto a new line – which it can!
E.g. if there are 15 circle components within the tileList,
the first level row should contain 10 circle components and the
bottom row should contain the 5 remaining etc….
This works fine simply by giving the width of the tileList a
percentage width of 100%
However, if you need to add more than one type of compoenet
to a tileList how can you keep this functionality of pushing
components onto a new row / level of a tileList???
This is my current problem!
E.g. lets now introduce a square component called
“Sqaure.as” and I want to add this square component to
the same tileList that my circle component is added to.
Additionally, my components are complex therefore needing
there own distinct item rendered!!! – Can I still add them to
the same component using two speerate item renderers???
Due to the fact that I neend 2 separate item renderers for my
components (circle and square) I decided to (as a work around) use
2 separate tileLists to display my components, and then push these
2 tileLists together aligning them horizontally so they look like
they are on the same row etc….
This works, however, I now loose the functionality of pushing
the components to a new row within the Tilelist(s) as I have to
manually work the needed widths of each tileList depending on the
amount of compontens within the tileLists - therefore this is not a
dynamic / percentage width.
Basically in a nutshell – I need a way to push 2 separate
components needing 2 separate item renderers into one tileList
– letting me set the width of the tileList to 100% and
allowing the functionality I desire.
if anyone could help me out on this one - it would be much
appreciated
Thanks,
Jon.

I suggets combining the two dataProviders. Then you have two
options. One, use a TileList and create an itemRenderer that
displays one of the two components, depending on the dataProvider
item. Two, use a Tile container and a Repeater, and create a custom
component that switches between the components, again depending on
the data in the dp item.
In either case, the item component would be very similar, but
Repeater does not have the as stringent requirements for its
components as a TileList + itemRenderer.
Tracy

Similar Messages

  • How to refresh components of one jsf from another jsf (partialTriggers)

    This thread begins here:
    How to refresh components of one jsf from another jsf (partialTriggers)
    My apologies for post in other forum and thanks Frank for reply.
    I found a solution before read your post. I'm newbie and I ignore the use of colons. So, for do the problem that I explain in my post I must to change this code:
    public backing_home () {
    content = new RichPanelGroupLayout();
    content.setRendered (true);
    String[] partialTriggers = {"menu:menuItem1", "menu:menuItem2", "menu:menuItem3", "menu:menuItem4"}; //All id's of menuItems of the menuBar in menu.jsp
    this.content.setPartialTriggers(partialTriggers);
    Note that now I don't pass the item ID only. I add "menu:" before the ID. This allows to acces to name container ('menu' is de ID of subview). And that's all. This works!!
    Anyway, I test your propuse Frank. Thank you!
    Westh

    Westh,
    Yes this code appears to be correct. Was that your question?
    --Ric                                                                                                                                                                                   

  • How to merge two WD components in one WD application?

    Hi SDN,
    Can any one tell me How to merge two WD components in one WD application?
    suppose i have two WD componets z_comp1 & z_comp2 now i want to use both these components in one WD application.
    Regards,
    Rahul.

    hi rahul...........
              you can use any number of wd components into one component.
    eg:
            consider you are having 2 components 'A' and component 'B' and you want to embed both into component 'C'.
           You can just click the 'Create' icon which will be present in the properties tab of the component controller.
           you mention the name of bothe components 'A' and 'B'.
            So now the interface controller of both the components are created in component 'C'.
           Now you can use the views present in both the components in component'C'.
    --regards,
      alex b justin

  • UI-delegate architecture for complex components

    Hello,
    I've got a question regarding how to architect a new complex component (similar to a color-chooser for example) to be very reusable and configurable with respect to the Swing architecture:
    When implementing such a reusable and configurable component (like a color-chooser for example) should I implement an UI-delegate fitting into Swing's MVC way, or should I implement the view on my own architecture following more general MVC.
    The component I am about to develop is a composition of other controls (like a color-chooser is compound of a tabbed-pane, a few buttons, a few panels, and a few sliders). So does implementing a UI-delegate with such a coarse-graind component make sense? I seem (or at least hope) to have understood what a UI-delegate is intended for when dealing with atomic controls (like buttons, labels, comboboxes, etc.), but does a UI-delegate make sense when dealing with larger aggregated components?
    For instance, when setting a custom UI-delegate implementation for a JColorChooser (overwritten from javax.swing.plaf.basic.BasicColorChooserUI), the "paint"-method gets called but seems to be useless, since overwriting it does not produce any effect on how the color-chooser is presented (as I expected, since the JColorChooser is made out of other controls and therefore does not implement its own painting directly). So am I missing some important point here, or is the UI-delegate thing not really intended for compound components made of other smaller ones, and therefore - for the compound components - just a retrofitted implementation to make all Swing components alike?
    So my question is about architecture of a larger component than for what I believe a UI-delegate was intended for. But though I would like to be as close to Swing's way of doing it as possible... So if it would be cleaner to fit my component into the UI-delegate way of doing it, how - for example - do I register a default UI-delegate implementation with the current L&F? And what happens if a user switches to another L&F that does not implement (neither directly nor through inheritance) my component's UI-delegate?
    Please correct me if I am missing some point here or heading into the completely wrong direction!
    Steve

    Hi,
    it seems you are talking about javabean.

  • FLV components work one at a time, but not in unison!

    I've done this before so I don't know why it's happening. I
    have an FLV component and 3 other FLV player components: Volume
    bar, play/pause button, and seek bar. They all have instance names
    and control the FLV correctly, but the seek bar and volume bar do
    not like each other.
    When the volume bar works, the seek bar doesn't and when
    clicking on the little black triangle to change the volume, a
    yellow rectangle appears briefly around the seek bar triangle. If I
    go and delete the seek bar and drag another seek bar component to
    the stage, it will work, but the volume bar will not. Again, a
    yellow rectangle now briefly appears around the volume bar. Are
    these triangle thingys connected somehow? My movie plays fine - the
    play/pause button always works fine.
    Any insight into this?
    Thanks bunches!

    I figured it out, but it isn't really intuitive:
    If you go to
    http://www.adobe.com/support/flash/downloads.html
    and download the 1.01 Flash UI playback update, the readme
    file states:
    "3. Both seekBar and volumeBar custom components will not
    work if a UI Component is in the library
    If certain UI Components are on stage or even just in the
    library, they will prevent the FLVPlayback SeekBar and VolumeBar
    FLVPlayback Custom UI components from both working. The exact
    symptom is that one or the other of the two controls will work, but
    the other one's handle will be unresponsive when clicked. There is
    a work around for this problem, which is to wrap one or both of the
    SeekBar or VolumeBar in an empty movie clip, because the bug only
    occurs when they are both on the same timeline.."
    I put my seekbar in a parent clip I called seekFix and it
    works fine now.
    FLVplayer.seekBar = vid_system.vid_ctrl.seekFix.seeker;
    FLVplayer.volumeBar = vid_system.vid_ctrl.volumer;
    Interestingly I didn't need to update my components to
    1.01.

  • How to display mutpliple components of one report in SharePoint webparts?

    Our customer requires flexible report layouts in SharePoint. For example, if we create a PivotTable, a PivotChart and a filter in Excel, then these three elements should be made available as separate webparts so they can be placed anywhere on the SharePoint
    page, e.g. the filter should be placed into an area which only opens on demand. The different webparts that make up the one report should still interact of course.
    Another demand is to export certain parameters, e.g. the name of a dimension, and again make that option available in the form of a webpart, so the end user is able to select from a preset list of dimensions.
    I am unsure if any of this is at all possible, since I have worked with rather "plain" Report Services reports and some Excel Services (w/o PowerView) reports in the past. I am thankful for any hints concerning such customizations, whatever the
    technology may be (must stay in the MS BI world of course). Even implementing custom webparts that somehow communicate with SSAS (using Reports Services web service maybe?) would be an option if everything else fails.

    Hi timvdh,
    As per my understanding, you are creating a PivotTable, a PivotChart and a filter using the same AS cube in three Excel files. You want to select some parameters in the filter, then PivotTable and PivotChart can be updated based on the filter.
    If in this scenario, I suggest you can open the PivotTable Excel file, then add the same filter in the PivotTable, and then create the same PivotChart based on the PivotTable. In this way, the data in PivotTable and PivotChart can be updated based on the
    filter, all components in the same excel file. Then add an Excel Web Access Web Part in a SharePoint page, upload this excel file to the web part.
    Reference:
    Display a workbook in an Excel Web Access Web Part
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Best Practice for Many Complex Elements In One PNG File

    I use Fireworks all the time, but I'm still embarrasingly ignorant on how to do some things property.
    For instance, when I do mockups of a new customers homepage, there may be many small or medium sized complex objects on the page.  By "objects" I mean like lots of modules advertising their different services, and each module has its own graphics, text, backgrounds, etc all with lots of different effects applied.
    Should all of these things reside in one large png file, or does Fireworks offer some way for me to create some of these as separate png files and just drop an "instance" of them into the main file?  I read something about adding files to the Common Library, but I will only need these files for one single customer so that may be overkill.
    Or do I even need to worry about separating them at all and should just continue having everything for a single customer in one big single png file?
    Please let me know if my question is not clear.

    In reading a bit further, it looks like a good option for me might be to just select everything that makes up a specific module and just "group" it. That way I can move it around and turn it off and on easier.
    So I'm thinking that unless theres something Im going to reusing more than once in a document (which in this case I'm not) then its fine to have everything all in one png?  And the only time I use the Common/Document Library is when i'm reusing things?
    I'm just trying to wrap my head around what all my options are in Fireworks, as so far my experience is limited to just dragging around rectangles and shapes and stuff on one single canvas to create website mockups.

  • Multiple Ibase/components with one change request / interfacing Lotus Notes

    <b>Scenario:</b> Our users post all their software change requests (not only for SAP) into an application based on <b>Lotus Notes</b>. Professionals of the IT department evaluate the requests and make a offer for each of the change requests. The users may (or may not) accept the offer and place an order - all this in Lotus Notes, and not only for SAP.
    If that order is confirmed and points to the SAP environment, <b>Lotus Notes automatically must involve Solution Manager</b> by calling a rfc-enabled function module in the Solution Manager system. This function module has to create a Solution Manager Change Request (simulating CRMD_ORDER transaction) together with its maintenance cycle, task list and transport request.
    <b>Problem:</b> One of the problems is, that Lotus Notes change requests for SAP environment often require <b>changes to multiple logical components</b>, like R/3 plus BW plus CRM.
    <b>Question:</b> The question is, how to create a Solution Manager Change Request for multiple components? This is caused by the restriction of the input screen of CRMD_ORDER which allows <b>only one Ibase/component assignment</b>.
    Do you already have worked on this or any idea that might help? I would appreciate very much if you would share your expertise. Thank you.

    Hi Heiner,
    The work around that I use is in my maintenance project I have added all the logical components that I will have to work with.(R/3, ECC 6.0, BW etc..) This way, when I created the Maintenance cycle, my task list had all of these systems/clients in it.
    The only hick is that in the CRMD_ORDER transaction, you only can put one ibase component.
    The above mentioned solution works if you combine all your systems into one maintenance cycle.
    let me know if this sheds any light for you.
    Salpi

  • Complex checkout in one-page

    Hi All,
    It's required from me to do the following in one page for checkout and the submission of this page leads to confirmation page directly:
    1- Shipping address.
    2- Multi selection of payment groups (can use more than one payment group)
    3- Multi selection of payment methods
    The problem is that ExpressCheckoutFormHandler is not able to cover my requirements and in the same time There is no single form handler do the complex checkout process in ATG.
    Can anyone help me what to do in such situation.
    Thanks.

    Firstly on your jsp make use of ShippingGroupDroplet and PaymentGroupDroplet. you can see how CRS implemented  \ATG\ATG{VERSION}\CommerceReferenceStore\Store\Storefront\j2ee-apps\Storefront\store.war\checkout\gadgets
    In your custom formhandler , you might have to do same as
    https://docs.oracle.com/cd/E26180_01/Platform.94/apidoc/atg/commerce/order/purchase/ShippingGroupFormHandler.html#applyShippingGroups%28atg.servlet.DynamoHttpServletRequest,%20atg.servlet.DynamoHttpServletResponse%29
    https://docs.oracle.com/cd/E26180_01/Platform.94/apidoc/atg/commerce/order/purchase/PaymentGroupFormHandler.html#applyPaymentGroups%28atg.servlet.DynamoHttpServletRequest,%20atg.servlet.DynamoHttpServletResponse%29
    https://docs.oracle.com/cd/E26180_01/Platform.94/apidoc/atg/commerce/order/purchase/CommitOrderFormHandler.html#handleCo…

  • Advise on maximum number of Active data ADF faces components on one page

    How many active data ADF faces components (ADS configured in long polling transport mode) can we have on a page? Is there any restriction (eg: one factor could be max number of concurrent HTTP connections) ?

    Can you please tell us which JDev version you are using? A use case would be appreciated too.
    There has been a discussion on ADS here the last couple of days. Search the forum and you may find some useful info.
    Timo

  • Two components in one cell

    I have a situation where I need to display two textboxes in one cell (no, a text area will not do). I was wondering if anyone knew how to do this? Also, at what time would you set the data and would you do it with the TableModel. I posted a question similar to this and the only response I got was I should be able to do this by extending the renderer and editor classes. I have tried.
    I need this example to show data in one line item so the I do not have to scroll to the right so much. It will also give me more real estate on the screen to show other important data.
    Should I embed a JPanel in the cell and associate text boxes inside? What should I do? I know there are some vary savy programmers who can whip up a simple example. I appreciate any help.

    I don't think I can solve your problem, but may be I can help you on your way...
    check out
    http://www2.gol.com/users/tame/swing/examples/SwingExamples.html
    for some good examples of table use and other swing components.
    Adding a panel could be an option, but I'm not sure why you say you couldn't do it with a TextArea... I'll give it a try myself and show you some code if it works..
    -Phil

  • Creating complex folder from one Simple Folder

    I have one simple folder (test) which is like one large table in the database. I want to create 5 complex folders from this "TEST" folder and be able to create joins, drill, sorts, conditions etc., and also calculate some items to help users with what they want.
    I need to know how possible it is to do this and would I run into problems in future.
    Actually am I better off splitting the table in the database into five tables so that I would have five simple folders instead of One simple folder.
    I need an answer please.
    Thank you.

    Hi,
    If your folder contains only 1 table then how you can create a join.If you wants this folder to split you can do what ever you want except joining from other table in a work book,
    better create a view at database and join the tables in that view then you can go ahead with the business area.
    (OR)
    take two tables in the business area and join them together but there should be constraints in both the tables.
    If your problem is not yet solved please give the detail question what actually you needs.
    Regards,
    Moin

  • Is there a way to embed multiple javafx components to one html

    Hi All,
    I have created a javafx component which is similar to the speed meter. Currently I have now embedded one instance of that speed meter. But I tried to put another one as the same but it didn't work where only one instance worked. Is there any way to resolve this issue to have multiple instance of it or are there any alternatives. Please guide me on this to put multiple instance of the same jar or any other good alternative solution.
    Thanks in Advance
    cheers
    Maha

    Still no ideas? Apple, please come up with a fix. Thanks.

  • JDI : DTR / CBS - Moving components from one scenario to another.

    Hi all,
    I have a series of Development Components that fall under the scenario 2 description of the DTR / CBS scenarios.
    I am trying to move our projects into a scenario 2+, and have created the CONS and DEV projects in our SLD. I moved the development components from the old scenario into the DEV workspace through a propagation list, but I don't see the Development Components appear in the CBS BuildSpace, even after refresh.
    Is it possible to migrate existing DCs from scenario 2 to 2+ and 3? Or do I need to manually create each DC and add all the components in it?

    Hi,
    It is stated in help.sap.com that there is no migration scenario from 2 to 2+ or 3.
    So, it seems you should do it manually.
    Sorry for non constructive ansewer.
    Victor.

  • Missing third-party components:  Which ones?

    Upon opening an old CS6 project in Premiere CC, I got this warning message.  It would be fantastic if this warning could specify which components are missing, so I can decide whether it's important or not.  As of now, this warning is mostly useless.

    This could be related to old Blackmagic presets. FYI,  this message doesn't necessary mean there will be any ill affects. You should be just fine continuing without issue.
    Peter Garaway
    Adobe
    Premiere Pro

Maybe you are looking for