News OmniPortlet Appearance

Hello,
I have been trying to change the appearance of a XML-News-OmniPortlet in a JSF page. I have followed the examples outlined in Oracle WebCenter Framework Tutorial using JDeveloper 10.1.3.2. The portlet is rendering a news service for me just fine in a browser, but now I want to control the portlet size, font size, etc. Neither the InlineStyle nor the ContentInlineStyle properties for the adfp:portlet seem to effect the content of the portlet in IE7 or FF2. Also, the height and width properties for the adfp:portlet seem to ineffective as well. When looking in JDeveloper design view, the JSF page looks like I want it to. However, when rendered to the browser the style elements are ignored.
I have also tried modifying the xsl, provided by Oracle, to include a span tag with the inline CSS I want, but keep getting an error from the portlet saying it can't get the data.
Should I be using a skin to control the news rendered in the portlet? Is there some trick?
I have done some additional digging into the generated code for the portlet and found some strange things, but I want to make sure I am doing this right.
Thanks in advance,
Steve

Peter,
Thanks for the reply.
Let me describe the portlet. I am taking and defining an OmniPortlet in a JSF page. Run the page, clicked define, select type of data as XML, give the news service URL (RSS 2.0), give the url to the XSL, nothing on filters, enter title, disable header and footer text, select the News "Layout Style", leave Caching alone. On the Layout step, I have tried all three "News Styles" (Plain, Logo, Scrolling) going with Plain. "Column Layout" I have working and linking as it allows and I expect. And no Events.
I found Scrolling to be a nice space saver, but font size is preventing me from using it. The height/width controls there work, but the portlet border doesn't shrink to fit those sizes. I think that answers your question. Yes?
Under the hood:
Ok, as I mentioned before I am trying to use the adfp:portlet's Height, Width, ContentInlineStyle and InlineStyle properties to control things. The OmniPortlet renders the border inside a table and then includes the portlet content within a <td> cell and then within an <iFrame>. The ContentInlineStyle is rendered to the <td> style attribute. The height, width, and InlineStyle are rendered to the <iFrame> style attribute. Seems a bit backward to me, but lets continue.
When you look at the <iFrame> style attribute, it reads like this:
style="font-size:6.0pt;;width: 150;;height: 200;;position:relative;" (copied from the rendered source)
I am not sure what the exact interpretation of the CSS will be based on that, but I do know that if I remove height and width and edit the InlineStyle to remove the ";" then only one ";" is generated. However, the content still doesn't inherit the font-size from the <iFrame>. This is likely because of the class definitions defined in the content, but that is just a guess.
I am going to look into the HTML Layout instead of News Layout and skins tomorrow.
Thanks for the help,
Steve

Similar Messages

  • Just bought an iPad 2 and plugged it in to my home PC and downloaded apps using my wife's iTunes account.  I then set up my own iTunes account on my  office PC, and none of the apps I downloaded in the new account appear on my iPad.

    I just bought an iPad 2 - I plugged it in to my home PC and downloaded a couple of apps using my wife's iTunes account.  Since I bought the device for work, I then set up my own iTunes account on my office PC.  The problem I am having is that none of the apps I downloaded in the new account appear on my iPad.  I can see them on screen #2 in iTunes and I know how to swipe to get to that screen.
    I've tried everything mentioned - I authorized my office computer (but not my home one - could this be the problem?).  I turned on home network file sharing.  Checked to make sure parental controls are off.  I'm not sure what to do next.

    When you installed iTunes on your work computer, then connected your iPad to that computer, it wiped what was on the iPad, then put the iTunes library (nothing) from the work computer onto the iPad. You can try copying the iTunes folder from your home computer over to your work computer, but since the apps were bought with a different account, they may not load or update properly.

  • Over 100 new songs appeared in my iTunes. Artists I've never heard of. All seem to be "iCloud" songs

    over 100 new songs appeared on my iPad, and also on my laptop. All of them seem to be "iCloud" songs, though I don't fully understand iCloud. on my iPad, some of my songs are missing. That was how I realized the problem. I was making a playlist, and some of the songs i wanted to put in there were just gone. kept browsing artists and saw a few album covers I didn't recognize. when I went through it again, I found a LOT of songs I didn't recognize. so I checked my music library on my computer. the missing songs are still there, as are the new mystery songs. sure enough, when I sorted my music library by "cloud", a tiny handful of my own music was "cloud", but most of them I've never seen before. my iPhone seems to be the only device not affected. but now, I'm afraid to sync the iPad or iPhone with my computer, if it's just going to be deleting my music and replacing them. When I figure out what happened, I'll delete all of these new singles. I'm trying to think what I did differently recently. I backed up my computer on an external hard drive (if more of my music disappears, I hope I'll be able to retrieve it from previous back-ups. most weren't purchased from iTunes Store). when I make playlists, it sometimes tells me adding iCloud songs will do something, but I never have any problems. I don't care about storing things in the cloud when I don't understand it or see the benefits of it. All I want is my music on devices :) I haven't downloaded the new software update that I was prompted with yesterday, I will once I figure this out.
    has this happened to anyone else? suddenly a lot of music you've never heard of appears in your music library? I'm so confused..

    I have also found mysterous new songs appear in my iTunes as living in iCloud. About 250 of them!
    Sometimes they are a duplicate of songs I already have and sometimes they are songs I have never heard of, like Karina, Can't Find the Words. None of the new songs appeareing in iCloud are particularly good, or in my taste. I even have videos appearing in iCloud, like Kanye West Can't Tell Me Nothing.
    Not what I usually listen to. Except for, that is, the songs that are now duplicated on iCloud, like Bad Romance by Lady Ga Ga. I'm not sure, but perhaps about half of the 250 songs on iCoud are duplicates of what I already have.
    I have the choice to download the icloud songs into my iTunes library, and apparently at no cost. I can also delete them with the usual, Are-You-Sure warning.
    I think this happened after I upgraded to the new version of iTunes. Is this a gift from Apple for upgrading?

  • CC 2014 nik efex - My Nik Efex filters are not working in Photoshop CC 2014 - they appear under plug-ins and seem to work, but after running and clicking okay, no new layer appears - seems to have no effect.  The separate menu panel does not appear either

    My Nik Efex filters are not working in Photoshop CC 2014 - they appear under plug-ins and seem to work, but after running and clicking okay, no new layer appears - seems to have no effect.  The separate menu panel does not appear either.  Help with this?

    BINGO !!!!
    Thanks so much Woodsroad. I had the exact same problem with my Dell Windows 7 64 bit with AMD Radeon 6700 Video card.
    All the video tests passed with flying colors.
    The sniffer rename trick fixed the problem.
    Thank goodness for the internet!

  • Just the other day I try to put an event into icalendar but it won't appear on screen.  When I go to my iPad and iPhone the "New Event" appears on these but I can't see where to add info on my MacBook Pro.  Can anyone help?

    Just this week I am unable to see info I am trying to add to my iCalendar.  But when I look at my iPad and iPhone the "New Evnt" appears.  Because it doesn't look like there is anything on my MacBook Pro can't enter appointments.  Any help is appreciated.

    This can be caused by a number of issues.
    Was everything working and then suddenly stopped??
    Or is this a new clean setup and has never worked.
    Do you have a cable modem which is not a router and the TC setup in bridge? That will cause it. The TC must be in router mode, ie dhcp and nat.
    Check the IP the MBP gets including dns and gateway..
    Then check the ipad/iphone.. post what IP dns and gateway (router in applespeak) they get.

  • 46YL863: Changing TV channels - delay before new picture appears

    Hope someone can advise me please on an 'issue' that's recently arisen with my 46YL863 TV.
    I say 'issue' rather than problem in case it's something to do with my settings that is causing this.
    When I change TV channels I'm noticing that there is a several second delay from the current picture to the new one. I've narrowed it down to it only happening when switching from an HD channel to an SD one, or from an SD to an HD.
    In these circumstances the screen first goes black, then blue and after a couple more seconds the new channel picture appears.
    Changing between HD channels or SD channels and the new picture appears almost immediately.
    This has not been happening prior to the last couple of days, so either a fault has developed or I've changed a setting somehow.
    I've tried other HDMI input sockets and situation is the same.
    Any suggestions please?
    Thanks.

    Further, I've now noticed that when playing back a recording from my Humax box, before the programme plays I get a few seconds of black screen before the picture appears. That didn't happen before. Don't know therefore if the problem's with my TV or the Humax Foxsat box.

  • New field appears inactive in PCUI application

    Hi all,
    I create a new field "ACTIVITY_PARTNER_LIST" in the field group "OPP_OVERVIEW_PARTNER_50", in Opportunities PCUI application, with all required information. This field exists in the same structure that the other fields on this field group.
    But this new field appears inactive in the BSP application. I regenerated the layout, but the field still are inactive.
    Anyone knows what is happening?
    Thanks!

    Hi Bruno Gomes :
    first: check the field attribute "readonly", if is checked please uncheck it. and regenerate the field group.
    second: debuge your MAC class,in read method, please confirm the field attribute value is 'A', if not please add code set it to 'A'.
    Edited by: wang yongshang on Sep 4, 2008 10:33 AM
    Edited by: wang yongshang on Sep 4, 2008 10:34 AM

  • HT3956 I cannot add an agregate device in Mac OSX 10.6.8! I press + to add an agregate device and no new device appears

    I press + to add an agregate device and no new device appears!
    Anyone have the same problem?

    Hi Kathleen,
    Please refer to the below document.
    http://helpx.adobe.com/photoshop/kb/troubleshoot-printing-problems-photoshop-cs4-2.html
    Thanks

  • TS3899 I have not been able to open the icon to compose a message in my e-mail on my iphone.  If I am able to open the icon "New Message" appears, but no keyboard to type a message.  My e-mail has been working correctly until today.

    I have had trouble opening the icon to compose a message in my e-mail on my iphone.  If I do manage to open the icon, "New Message" appears, but no keyboard to type a message.  My e-mail has been working correctly until today.

    Hello there, Eleanor64.
    The following iPhone Troubleshooting Assistant should provide some assistant in helping resolve your Mail app not performing as expected:
    Apple - Support - iPhone - Application Troubleshooting Assistant
    http://www.apple.com/support/iphone/assistant/application/
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • New tab appears but does not open

    Cross sign appears for new tab appears next to the open one but it is inactive - cannot open tabs at all. Used to work fine, not anymore. Tried to install plug-ins but did not work. Perhaps, I should un-install something then?

    The Ask Toolbar is causing that in the Firefox 3.6.13+ versions. Uninstall that extension.
    There are a couple of places to check for the Ask toolbar:
    * Check the Windows Control panel for the Ask Toolbar - http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4
    * Also check your list of extensions, you may be able to uninstall it from there - https://support.mozilla.com/kb/Uninstalling+add-ons

  • HT201320 When I access my email from the iPhone, hit "inbox", the new messages appear briefly, but then just evaporate.  I can't find them anywhere - not in inbox, not in junk, trash, saved - nowhere.  Can anyone tell me what is happening?

    When I access my email from the iPhone, new messages appear only briefly and then immediately disappear, before I do anything.  Only old messages that were already in my inbox are visible.  I can't find the new messages anywhere -- they have not moved to Saved, Junk, Trash, anything.  IT is like the iPhone just ate them.  Can anyone tell me what I am doing wrong?

    If you have a POP3 account this means that another "client" email program has retrieved the messages and deleted the messages from the server. You need to change the server settings on that device to leave the messages on the server.
    If you have an IMAP or MS Exchange account this means that someone read the messages on another device and either deleted them or moved them to another folder. Or there is an automated script that moved them to another folder.

  • TS3276 cannot receive mail after i sent a large photo.   A new folder appeared called "recovered messages" with the over 100 recovered emails of the same email of the one i sent out.  i have read apple support and done everything they suggest.  Help!

    I cannot receive mail after i sent a large photo.   A new folder appeared called "recovered messages" with the over 100 recovered emails of the same email of the one i sent out.  i have read apple support and done everything they suggest.  Help!

    How large is 'large'?

  • Possible to make new content appear in text block?

    Hi, I am new to iweb and have not yet published the site I've been working on. But I am wondering if there is a way to click on different images on a page and have new information appear in the text block. As it stands now, all I could figure out how to do is make a link to a whole new page that looks the same except for the new information. I am getting to have a whole lot of pages here, haha! Do you have to add a text frame after the whole thing is published? It seems like there should be an easier way...
    And speaking of publishing - I am afraid to even try that after reading all the posts of people having their sites completely messed up or un-viewable if not viewed on a mac... Is that a common problem?
    Thanks for any help!!

    Michael Wong wrote an article on division switch, you can use the method for what you trying to do:
    http://www.rowan-cottage.co.uk/Site/Div_Switching.html

  • Why did my screen crack while charging? It hasn't been dropped, every time I charge it a new crack appears I'm tired of this it's only a year old!

    Why did my screen crack while charging? It hasn't been dropped, every time I charge it a new crack appears I'm tired of this it's only a year old! If its not covered under warranty never again will I go apple I've had nothing but issues so far.

    We can't answer that. Maybe the battery is bad and is swelling inside the phone. Maybe someone else dropped it and didn't tell you about it.
    Make an appointment at the genius bar and see what they say.
    If it's over a year old, then it's not covered under warranty.

  • When will the new Macbook appear?

    Hello, I want to buy a MacBook and I am not sure if I should buy the current one or if I should wait till the new one appears. When will the new Macbook appear?

    While new MacBooks have not been announced, I would stay away from getting a new MacBook right now.  If you can afford the slightly higher price of a 13" MacBook Pro, that would be a good choice.  The current MacBooks are very outdated.  The Core 2 Duo processor that they use has not been used by other major manufacturers for several years now in this class of machine (you can still find them in some ultra portables... but even most of those have moved up to the Core "i" series).  The current 13" MacBook Pro has the most current hardware commercially available at the moment.

Maybe you are looking for

  • E1200 -NOT FOR OS X LION (10.7.1)!!!!

    I'm a college student living in a dorm, and my school doesn't have wifi... So I had to get a router so that I'd be able to use my MacBook Pro and iPhone with wifi. I was excited when I bought this, only to find out it's not compatible with OS X Lion

  • Sync doesn't work after re-install

    ''locking this thread as duplicate, please continue at [https://support.mozilla.org/en-US/questions/1015872 /questions/1015872]'' I had sync working on my windows machine, and firefox was always up to date. After re-installing windows I connected to

  • NI MAX sees GPIB controller/board, but hangs on Troubleshooting test/Scan

    Hello, I have a new PC (Win7, 64 bit) with a new PCI-E GPIB card and NI-VISA 14.0 (latest). I can't get the card to 'do' anything - it won't pass the troubleshooting self test, or scan for instruments, and the ibfind command in Interactive control do

  • Error with Zen Mi

    I had a system crash, so I reinstalled everything and when I went to add some songs to my son's zen micro using win media 0 I get this error : C00DCD: Unknown errorWindows Media Player encountered an unknown error. This can occur when another program

  • AD Replication error 5: Access is denied or 2146893022: target principal name is incorrect

    Hello, I have DC1(fsmo role holder) and DC2 which were replicating.  I ran windows update on DC1 and rebooted which it had not done in months.  When it came back up  I could run repadmin /showrepl successfully on DC1.  However when running on DC2 I g