Advice with t:dataList - itemStyleClass

Hi there
I have successfully implemented a datalist, and styled it as I want. Now I want to expand the functionality of my dataList. The list of items being returned need to be checked and depending on the value I want to change the itemStyleClass value, any thoughts on how I do this?
<t:dataList id="tagCloud"
                            value="#{myBean.theTags}"
                            var="item"
                            layout="orderedList"
                            itemStyleClass="tagsize#{item.tagSize}">
                    <t:outputText value="#{item.word}" rendered="#{item.word eq 'test'}"></t:outputText>
                    <span>
                        <t:outputText value="#{item.frequency}"></t:outputText>
                    </span>
                    <t:outputText value="#{item.word}" rendered="#{item.word != 'test'}"></t:outputText>
                    <span>
                        <t:outputText value="#{item.frequency}"></t:outputText>
                    </span>
                </t:dataList>The above code will show me my ordered List of values, however I want to surround the words equal to Test with a different itemStyleClass e.g. TestValue so I can style these values separately. I have played around with inserting divs around the t:outputText value but this upsetting all of the current stlying.
Any thoughts?
Here is an example of how I would like the HTML to look:
<ol id="tagCloud">
                <li class="tagsize0">                   
                    <span>
                           1
                    </span>
                    why
                    <span>
                        1
                    </span>
                </li>
                <li class="TestValue">Test
                    <span>
                        1
                    </span>                   
                    <span>
                        1
                    </span>
                </li>
                ...

Why not this :
<t:dataList id="tagCloud"
                            value="#{myBean.theTags}"
                            var="item"
                            layout="orderedList"
                            itemStyleClass="#{item.styleClass}"> //  every item holds his own css style on a property called styleClass

Similar Messages

  • My itouch screen is frozen, wont slide to unlock. have done what adviced with buttons...can anyone help please?

    my itouch scrren is frozen, it wont slide to unlock..i have done all that was adviced with the buttons but that didnt work..can anyone help please?

    Force iPad into Recovery Mode
    1. Turn off iPad
    2. Connect USB cable to computer; leave the other end alone
    3. Press and hold the Home button down and connect the docking end of cable to iPad
    4. Continue holding the Home button until you see the "Connect To iTune" screen
    5. Release the Home button
    6. Open iTune
    7. You should see "iTunes has detected an iPad in recovery mode"
    8. Use iTune to restore iPad
    Note: You need to be patient and repeat the above many times.

  • Payment Advice with Cheque

    Hi Gurus,
    Please tell me how can i print payment advice with cheque printing?
    What configuration needs to be done for that?
    Please revert asap.
    Thank You

    In Automatic payment program configuration(FBZP).
    A. PAYING COMPANY CODES-
    Payment advise form
    B.Payment Methods in Commpany codes-
    form for the payment  transfer medium.
    above two steps , you maintain the same for
    F110_PRENUM_CHCK.
    then give functional spec to ABAP team .
    Regards
    Chandra

  • Vendor Payment Advice with Manual Check Creation

    Hi Frnds.
    My Company Code following Non-sequential check lots. and it is not possible for us to use sequential check lot in present business scenario.
    The requirement is I need to generate the Payment Advice for the payment doucment by assigning the Check number which is manually generated.
    I can't use F-58 as it is only useful when I specify a check lot with sequential number only.
    Regards
    GKGutti

    Hi Satya
    Thankyou for the update.
    Even I have tried with this but the system giving an error message saying
    "You cannot print the manually created check IOBCC IOBCC LC093936"... of which IOBCC is my House Bank, IOBCC is my Account ID & LC093936 is my Chech number.
    I feel that in FBZ5 the system is trying to print Payment advise along with check also... I want to know where I can disable the Check Print From and only keep active the Payment Advise form.
    Regards
    GKGutti
    Edited by: Gopi Krishna Gutti on Dec 9, 2009 6:37 PM

  • Vendor payment advice with down payment

    Hi,
    A down payment was made to a vendor, without having the invoice yet.
    On the vendor payment advice, this down payment is shown as "invoice".
    I think it should be shown as "advance payment".
    The down payment is listed as a noted item in the vendor open items with document type KA (vendor document).
    How can the down payment be shown as "advance payment" on the payment advice?
    Thank you.
    Kind regards,
    Linda

    Hi Ravi,
    I have created a down payment request for a vendor via transaction F-47.
    I have made a payment run via transaction F110.
    In the payment run, I have 2 invoices and 1 down payment request.
    On the payment advice, which is printed after executed the payment run, the invoices and the down payment are listed as "invoices".
    The down payment request is in fact an "advance payment" , because we have not yet received the invoice.
    Is there a possibility to show it as an "advance payment" instead of "invoice"?
    Thank you.
    Kind regards,
    Linda

  • Payment Advice with DME format

    Hi Experts,
    I have done a settings for DME format for Canada. It is generating properly, but while making payment run I am unable to get Remittance Payment advice using same settings.
    My abaper said that there is some print program needs to be attached in the setting for generating the advice.
    Please help me to resolve this issue.

    Hi,
    Good morning and greetings,
    Please go through the following link
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/70/42753ced012a49e10000000a11402f/frameset.htm
    and also go through the following SAP OSS Notes
    Note 395679 - PMW: Overview of available formats
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • Need advice with support

    I have had problems with my iPhone 4 since about day 3. I get the No Sim Card error over and over all day.
    I have called apple many time and have logged over 12 hours on the phone with support now.
    My First call to apple I got an Advisor and after clearing the phone, reloading, and also loading my phone with no data they wanted me to get the SIM card replaced so I drove to the AT&T Store and had my SIM replaced, I received a No Sim Error the next day.
    I called Apple back.
    My first Senior Advisor was Robert, He told me because I called so late there was nothing he could do that night to get me a phone shipped out. He told me the wait time for a 32 GB phone was around 3 weeks. Robert promised to call me the next day. He also recommended I call the Apple store closest to me to see if they had an iPhone 4 32 GB in stock so I could go get mine replaced. I called them the next morning and asked if they had one in stock and she said yes, then I explained my issue and asked if they would hold that for me while I drove there to get mine exchanged under warranty and she said no, I asked if she could be understanding to my problem and hold it, she said no.
    Robert didn't call me as promised so I called back the next day.
    My 2nd Senior Advisor was Josh, he wanted me to put the phone in recovery mode and restore from a file. I started this process and in the middle my phone re-booted it's self. The restore was not complete and my phone would only boot into recovery mode. He told me to do the recovery again and would call me back the next day to check on the progress.... BTW He never called me back.....
    I called Apple right back and requested a Senior Advisor.
    My 3rd Senior Advisor was Cole, by the time he made it on the phone I had messed with my phone enough to get the OS loaded again. He told me it was too late to ship a phone that day and would call me back the next day. I had to call Cole 3 times to get him on the phone. Once I got him he tried to get me a phone reserved at the closest Apple store "which is a 1 hour and 30 min drive from my house" All they had was parts to try to repair. I told him I wasn't feeling good about driving all that way to have them change parts when no one has been able to tell me why the phone gets this SIM card error and I would prefer a new phone, but the store did not have one. So he set up a shipment.
    Yesterday I received my replacement phone and took it out of the box and went to my computer to restore it. It would not power on. I plugged it in to the computer for 30 min and it still would not power on. I plugged it into my charger and left it for 2 hours, still would not power on. So I tried holding down both buttons to restart, nothing. This charger will charge all of the other iPhones my house just fine. So I call Apple.
    My 4th Senior Advisor, Kaci Went through how to restart the phone and nothing would make this phone power on. Even when you plug it into a computer it is not detected. She tells me she will get this resolved and needs to talk to Customer Relations first because I already have a replacement phone and they already have a $780 hold on my credit card for it. I told her I could put another on there but I would rather them get this fixed because I am tired of the run around. She talks to her supervisor and comes back and said she could not lift the hold on a credit card only customer relations could. She Promises me to call @ 8 am CST because she has to get her and I both on the phone with Customer Relations. Today, I have emailed her once and left 3 messages for her and have not received a call.
    I am lost on who to call. I already called Customer Relations myself after I called to my 3rd Advisor and Candy told me the process work and I would get a phone that worked, I asked her what will they do if the replacement phone is not working correctly and she told me " Getting a 2nd phone that does not work is Virtually Impossible "
    I guess I jinxed myself by asking.....
    Anyone have any advice for me where to go from here? I really want this phone because when it works I really like it but it has to work like my 3g did because I am on call for the Hospital and I cannot miss phone calls.

    OK. Sorry.
    I thought since they aren't having any luck fixing your iDevice over the phone, maybe they could fix it in person or give you another one.
    Good luck.

  • Need some advices with OBIEE

    Hi guys,
    At the moment I am doing an internship somewhere, and I am supposed to visualise some data from an Oracle database into a Google Map.
    The data should be fake, because the application will be a showcase.
    I need some start-up hints, because actually I don't know where to start and with which programs.
    First of all a little background.
    The following programs are installed on my laptop:
    - Oracle DB (1013)
    - Oracle Example Schemas
    - Oracle WebLogic (103)
    - Oracle BI enterprise (101340)
    - JDeveloper
    This is what I want:
    - Create a database or schema with fake data. The fake data should consist of addresses. (for the Google Map)
    - The combination with BI enterprise is a requirement, part of the internship programme.
    - Combination with Google map functionality.
    Maybe someone can give me some advices in how to begin. Which techniques I should use or some useful tutorials.
    I would really appreciate if someone can give me a heads up!

    The [Oracle by Example|http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/index.html] website has many good step by step tutorials on OBIEE so that would be a good start. Having said OBIEE doesn't support "heat maps" or overlaying data on maps out of the box. They are some 3rd party tools out there but I don't think you want to go there. From my point of view anyone asking you to use OBIEE to overlay data on Google Maps doesn't know what OBIEE should be used for (and probably doesn't know Google Maps either).

  • Seeking advice with concept / design of a Java Web Services Application

    Hi all,
    After a week of searching the internet I'm not sure how which projects, services, etc. I should use to develop my application. Please could someone offer some advice?
    Application outline (Java application running on Linux):
    1. Wait for an instruction from a Windows WCF application. Instruction contains a list of domain names and one or two other parameters.
    2. Perform queries upon those domain names (find if they are registered, etc. - takes 10-20 mins to do complete list)
    3. Send back results to WCF application.
    Solution 1 (first idea):
    1. Create SOAP web service using Java Web Services / Apache to listen for requests. Executes a Java Client Application upon request.
    2. Java Client Application performs the queries...
    3. Java Client Application sends results to the Windows web service.
    Solution 1 Problems:
    a) Using 2 applications, they won't be able to share the same memory.
    b) The whole process will be slow (having to pass the domain names from the service to application and execute the application each time) - A quick response is critical.
    c) Would like is for the whole process to be done under one application, sharing the same memory.
    Solution 2:
    1. Create a Java Daemon from scratch listening for an incoming SOAP message (no web service like Apache/Tomcat involved).
    2. Query the domain names in a new thread inside the Java Daemon
    3. Send the results back via SOAP.
    Solution 2 Problems:
    Cannot find examples of how to create a SOAP service from scratch. E.g. creating a WSDL file based on my application; converting application methods to SOAP-callable methods easily (without writing a framework).
    With all the Java tools and projects out there - Java EE, Glassfish Project - there must be a very easy way to achieve this seemingly simple task. Please can someone offer some advice?
    Many thanks for reading this.
    Richard
    Edited by: jazzinbrazil on Mar 30, 2009 4:58 AM

    You just need an app server like Tomcat.If I'm not wrong, Tomcat is a Servlet container.
    Servlets aren't deactivated when they don't receive
    any request for some time?
    How can I deploy an application to Tomcat in order to
    keep it always active?I don't know what you mean. Tomcat is an application that is always running. In what way are the Servlets deactivated?
    Apache Axis: http://ws.apache.org/axis/
    Yes I'm collecting some info about this... let's see
    it!
    Finally, to be more clearer... I don't want to start
    a new application at each invocation (something like
    getting the request, instantiating the necessary
    classes and executing them) but to call an already
    running app at each invocation (so, getting request
    and invoking, in a manner that I don't know, the
    running application).The container manages this. If you have data that must remain loaded, you can associate it with the class (use a static modifier.) This will complicate threading, however.
    I can use Axis to get the request, but it also grants
    me that my app will always be active?I think you are just using the wrong terminology here. What I think you are asking is whether the resources will be loded into memory at all times. If you want to ensure this behavior, you need to associate the data with a class. I'm not 100% positive, but I don't think Tomcat will unload classes in normal circumstances.

  • Advice with cross-continent file sharing in DW

    I am helping a friend in a different continent to me using email.
    My friend has an established web site and I agreed to take one page and convert it from table-based layout to CSS.
    So, I get his code off the web + images and build the page.  It looks fine on my test site and of course in my DW on my desk top.  Code all validates and it looks how I want it.  It's not a complicated page and I'm confident in the code but my friend hates code.  I'm not even allowed to say the word!
    So, I email accross the world my files wich includes two sample .html files and a folder of images.  My friend puts said files in to his site to test on DW and the layout is screwed.  Although I plan on WWW domination, omnipresence is something I have yet to learn and consequently we are struggling to overcome this barrier which must have a simple solution.  He's on DW 8 and I am on DW 10 - I've never really used earlier versions. [edit] I'm on a PC he's on a Mac.
    Please help us both to work out how to achieve this level of collaboration.  Please don't say anything that might make me look dumber than I am in front of my friend if at all possible   I know that's a tough one.  I'll send him a link for this thread so hopefully, we'll get it fixed.
    It's fair to say that my friend will not want to fiddle with his existing site.  We just need to work on this one page - I don't think either of us is planning on marriage or anything and once this is done, my friend just needs to be able to be able to edit that one page and I will need to move on to my next victim buddy.
    I think that the problem must have something to do with our different file structures so just to make it clear, what I am sending is a folder containing two .html files and another folder called images with the images in it.  That's it.
    Can you please tell me what I need to send by email and my friend what to do when he gets it.
    Thanks for your help
    Martin

    Hello Paula, Anyone-Who's-Listening!
    Sorry to come back with this.
    I have been back in touch with my friend and reiterated Paula's advice in the last post and we still have problems.  This is how I tried to explain to him what to do and I also included a screenshot of my Files panel to show the folder in my test site.
    "Site Folder is the folder on your own computer where your site is located.
    In the File Panel in DW this is my "site folder," on my local machine.  [inserted screenshot here]
    Si it's on my C: Drive in a folder called "Martcol" which is a sub-folder of "htdocs" which is a sub-folder of "xampp."
    So "Martcol" is my site-root folder as far as Dreamweaver is concerned.
    What Paula advised ws to use Finder to drop my folder into your site-root folder before you open DW.  I would also advise that you delete everything you have from me except the latest .zip and use that folder."
    I did for myself exactly what I advised;  i.e. deleted everything from my site.  used the .zip I had made earlier, dragged the folder into my "Martcol" folder and it all worked fine.
    From a screen-shot that I had the problem that my friend had looked a little like float-drop except content didn't drop - it rode up and sat up to the right of the page.  The only thing that I can think of is that somehow, my files might be linking to or linked to files from his site that I know nothing about.  Howevere, all my CSS is in the <head> and there ar no other scripts.
    Many thanks
    Martin

  • Advice with Motion presets

    Hey guys,
    I'm working with Motion to do a 3 minute slideshow and I'd love to get some advice on the project setup and exports. What's the best setting for Motion if this slideshow's going to be displayed on a toshiba projector? You can find a link with the specs below, but i'm wondering how best to set this up for the best output quality... how should I export this when I'm done? Do I need to get involved with FCP? Thanks in advance...
    http://www.technoworld.com/productdisplay.asp?ProductID=40507&source=html

    Hey guys,
    I'm working with Motion to do a 3 minute slideshow and I'd love to get some advice on the project setup and exports. What's the best setting for Motion if this slideshow's going to be displayed on a toshiba projector? You can find a link with the specs below, but i'm wondering how best to set this up for the best output quality... how should I export this when I'm done? Do I need to get involved with FCP? Thanks in advance...
    http://www.technoworld.com/productdisplay.asp?ProductID=40507&source=html

  • Advice with syncing Iphone 4s with a Windows XP computer

    Hi, I am looking for some advice regarding the following problem:
    When I updated my iPhone 4s software to iOS7 in September, I was no longer able to sync music to my iPhone using iTunes (version 11.1.2.32).
    It was eventually resolved after spending hours on the telephone to Apple.
    The solution was to completely restore my phone to factory settings, this action was decided upon by process of elimination. One of the checks they asked me to perform was to try and sync using my Ipod Classic 120GB. As this worked without any issue, they decided the problem was with the phone, and not the iTunes software.
    This fixed the issue, and phone continued to sync as normal after the restore. However, after the upgrade to 7.0.3, I started to encounter the same issue again.
    This time, Apple advised to delete all the music from my phone, disable 'show all music' and 'iTunes Match' settings, and resync. This has now happened several times, and is very time consuming to deal with.
    I am now starting to wonder, even though Apple ruled out iTunes software being an issue, if the problem is actually with the computer I am using. The details are as follows:
    Packard Bell - AMD Athlon(tm)XP 3000+
    2.16GHz, 1.18GB RAM
    Microsoft Windows XP - Home Edition - Version 2002 Service Pack 3
    Could anyone please offer any advice or opinion.
    Thanks in advance.

    Make sure you are using a "Crossover" ethernet cable, available here: http://www.amazon.com/Belkin-Components-CAT5E-Crossover-Snagless/dp/B000067RIT/r ef=pdbbs_sr4?ie=UTF8&s=musical-instruments&qid=1235253758&sr=8-4 .
    See this for more details: http://support.apple.com/kb/HT2274
    Start Internet Connection Sharing in Windows and make sure your iMac is configured for Ethernet Networking.

  • Advice with Incomplete procedure for Freight Condition re.Certain incoterms

    Hi
    I need some advice on how to create an Incomplete procedure for a specfic freight accrual.
    BUT i only require it to be incomplete for certain Incoterms ........
    For example i have not entered freight condition record, and the customers incoterm is CIF, - i wish for this sales order to be flagged as incomplete
    However for a different sales order I have not entered a freight condition record, and the customers' incoterm is EXW, - I wish for this order to be clased as OK and Complete, as a Freight accrual is not required against EXW incoterm orders
    Has anyone come across this problem before ? - if so how have they rectified this ?
    Any help/ advice would be much appreciated
    Tony

    Hi,
    You can just write a routine with the help of abaper in VOFM.
    And assign that routine in requirement field in the pricing procedure for that condition type.
    To create a new routine in VOFM please go through the belo wlink.
    http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf
    Hope this will resolve your issue.
    Regards,
    Krishna O

  • Performance disk advice with ADDM

    Hi guys,
    sometime my servers have a performance issues, these servers have oracle installed on SAN storage disk. In the last problem i've launch ADDM from GridControl and this is output:
    "During the analysis period, the average data files' I/O throughput was 32 K per second for reads and 8.8 K per second for writes. The average response time for single block reads was 226 milliseconds. "
    Someone can help me what kind of ratio there is about response time with I/O datafiles?
    thanks very much for any advice
    Andrew

    Hello again guys
    I have finally captured in HDV. Yes, Michael, my workflow plan is to transcode when picture lock is done.
    Nevertheless, I have never used mediamanager before. When I worked whin Avid MC I did the transcode in the same application. I suppouse I will use mediamanager if I must ( if I can´t do it with FC itself). So I really dont know how it works
    Mightmunken, I hope to be able to deliver in blueray or something, DVD is to poor ( in case I have to be DVD I have already all the workflow from my previous works, only it is in Avid!!).
    Ross, thanks for your comment, right now I have space enought, so it´s not really aproblem for me, but it´s good to know for future projects.
    Ian, thanks for your advise, I am exactly in this step of trying, the only thing is I just want to consider all options and hear some opinions before adventuring myself.
    I would let you know how the project is doing.  As I have said before my main concerns are:
    1- If FC will work properly with HDV native media ( interframe compression is not good to edit with, although I know FC can do it).
    2- The transcodification and compression afterwards. In my previous projects I cant use Compressor because the resoult was very desapointing. I had to research and ask in forums to get another application to have the work done.
    3- As I say, I will try to burn it in blueray so I will no need to compress ( altought I will nedd to transcode). In any case, right now I think the workflow will be ( if possible):
    A- Edit.
    B- Transcode to ProRes when p-lock to get it to color etc,
    C- Transcode to blueray.
    Have any of you have try this workflow? Any advise in the matter?
    Thanks again to all of you, really appreciate this disscussion

  • Please help need advice with planned project!

    Hi, im not sure if this is the correct forum to post this (there are so many!) just move it to the correct place if it isn�t.
    I need some advice on the correct way of coding a feature that is essential to my dissertation project.
    Basically the project is going to be a particle effect tool that works in a similar way to the particle flow tool works in 3DSMax if anyone has used it, if not here is a screeny:
    http://www.artificial-studios.co.uk/DumpingGround/partview01.png
    It allows you to visually represent your particle system by joining components together and linking them with connecting lines.
    Now my questions is what would be the correct way to implement this in java? I am currently using a series of JSplitPanel's to split the main frame up then using a JPanel for the main area and other JPanels for the individual elements that you can move around and link up, here is a screeny:
    http://www.artificial-studios.co.uk/DumpingGround/partview02.png
    My problem is that when i add a new element via a right click menu I have to call revalidate on the main panel, this causes all the elements to return to their default position. The same thing happens whenever you move one of the JSplitPanes as it called revalidate.
    So im wondering if im doing this the correct way, i see that there are many other kinds of panels provided with SWING and wondering if any of the others are perhaps more suited to my requirements?
    I know that its definitely possible as Poseidon UML was coded entirely in Java and it has many of the features i am looking for:
    http://www.artificial-studios.co.uk/DumpingGround/partview03.png
    As this will be my first large GUI application i wasn�t sure where to turn so if anyone can me any advice whatsoever it would be greatly appreciated. Also if anyone can point me to any books or reading material concerning professional GUI design so that i may be able to code applications that look as professional as Poseidon or Netbeans it would be greatly appreciated.
    Thanks,
    Mike

    Do you know about Data Access Object(dao)?
    Assume you want to add hydrogen molecule to a panel, you create a new object with the class(class Molecule) representing a new molecule( H2, O2 or H2O).
    You can also create a dao for this object of Molecule
    class MoleculeProperty
               private int xLocation, int yLocation, ZLocation;
               public void setYLocation(int tempYLocation)
                           yLocation = tempYLocation;
               public int getYLocation()
                           return yLocation;
               public int getZLocation()
                           return zLocation;
               public void setZLocation(int tempZLocation)
                           zLocation = tempZLocation;
               public void setJustUpdated(boolean tempInput)
                       justUpdated = tempInput;
               public boolean getJustUpdated()
                       return justUpdated;
    Either within your method paintComponent(Graphics g) or your panel for drawing molecules or method paint(Graphics g), it reads MoleculeProperty of Molecule and it can draw it in proper location.
    After you have created a new Molecule, dao.setJustUpdated(true) . At the last line of method paintComponent(Graphics g) or paint(Graphics g), dao.setJustUpdated(false);

Maybe you are looking for