Repost:Use Page style feature for portlet

All,
How do i simulate the 'use page style' feature for a custom portlet ? Currently, I have to hard code the style.
thanks

The following is from one of the sample portlets (comments incl):
Display the content of the portlet in the show mode.
Use the wwui_api_portlet.portlet_text() API when generating the content of the portlet so that the output uses the portlet CSS.
htp.p(wwui_api_portlet.portlet_text(
p_string => 'Hello World - Mode Show'
,p_level => 1
I assume this is what you are looking for--the level would be the Portlet Text level, and you could substitute a parameter.
HTH!

Similar Messages

  • How to simulate 'Use Page style' for a portlet

    All,
    How do i simulate the 'use page style' feature for a custom portlet ? Currently, I have to hard code the style.
    thanks

    uploaded gif under mime repository

  • I've been using the speaker feature for dictation. Suddenly it's not working. Any ideas?

    I've been using the speaker feature for dictation. Suddenly it's not working. Any ideas?

    Please follow this article:
    http://support.apple.com/kb/TS1567
    it should help
    let me know

  • When I try to use the customize feature for toolbars, the toolbars themselves disappear as soon as I click "customize." Ideas?

    When I try to use the customize feature for toolbars, the toolbars themselves disappear as soon as I click "customize." This happens whether I choose "customize" from the drop-down menu, or use the "control-click" option. I don't remember having this problem before, since I've customized the toolbar previously, although not for a while.
    I'm running Firefox 17.0 on an iMac with OS 10.6.8

    Hello rheahirshman
    check it in [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#os=mac&browser=fx17 Safe Mode], in Safe Mode window select '''''"Start in Safe Mode"''''' and see if this happen again, '''''if not''''' see: [https://support.mozilla.org/en-US/kb/troubleshoot-extensions-themes-to-fix-problems#os=mac&browser=fx17 Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • Konqueror browser for Linux has an useful CPU limitation feature for websites using Flash content. Can you add such a feature in Firefox?

    I have recently found that Konqueror browser for Linux can help user to limit cpu usage while visiting a website using flash technology by changing settings in the Flash section and adjusting the slider from VERY HIGH settings to HIGH and MEDIUM and so on. It actually works, and it does not have a direct impact on the general performance for flash player but it may generate some conflicts if other extensions such as add-blocker or click-to-flash are enabled also.
    Maybe you can add a similar setting in Firefox in the browser option section or just as an useful addon or extension.

    Sorry for being late with my reply. I've just tested that addon that you mentioned in your post ( https://addons.mozilla.org/en-US/fire.../system-monitor/ ) , it looks like a system monitor and nothing more than that.
    As for the memory tip ( about:memory ) I agree that it can be extremely useful for users that have less than 1 gb memory installed on their system. I know very little about computers but I can tell your tip for optimizing memory usage in firefox has merits.
    Me, I have another problem with cpu overload in Firefox, Internet Explorer, Opera and most of the browsers with flash support enabled. Each and every time time I visit a page that features all sort of adds and gadgets based on flash technology, and each time I try to watch a video online my cpu goes all the way up to 100% and stays there until i finally decide to close the browser.
    I am running winxp and also linux on a Dell Optiplex GX260 machine with 2000 MHz cpu, 1024 Mib ram and 128 Mib video card, it is not the best computer in the world but still 2000 MHz should be enough for a limited and uneventful web experience.
    It is not as much an issue with the web browser, any browser, the whole problem is caused by funny people claiming to be deeply involved with web development, and promoting flash technology for ages instead of choosing other alternatives, more user friendly. All I am saying is that flash ruined the entire web experience making people to believe that they actually need dual-core cpu and coreduo and deepfreeze cpu and so on which is only partially true.
    I always get better results for cpu usage when watching online videos that use media player as default player and not flash player, and my cpu stays below 70% usage which is not much but still it is not 100% usage.
    Konqueror offered me a nice surprise, and I was able to limit cpu usage once I moved that slider from Very High setttings for flash player to Medium settings. I got something between 80-90% cpu usage as a result, and I was very pleased to finally see a working solution to my problem at least for linux if not for windows.
    The only other browser that I can use for windows only, which handles both flash player and cpu usage well is Kmeleon browser which is a long forgotten project but does offer nice features once you find some plugins that it needs to make it come to life again.

  • Repost: Use Page-scope expressions in Value expressions

    Dear Adam Winer and expert group,
    I woud like to repost my problem. I had posted this in an earlier thread today. The issue that I would
    like to raise is regarding being able to use page-scoped beans in value expressions. I am trying to
    port some screens from Struts to JSF. Struts allows you to assign page-scoped beans to its input
    components. Adam Winer, you have been very helpful to me. I hope this issue can be solved.
    Thanks,
    Ajay
    Dear Adam Winer,
    I must admit that I am not able to understand your post properly. It is certainly because I have not
    properly understood the JSF architecture properly as yet.
    JSF automatically shows model bean values in the browser, and takes user input back into the model bean.
    But it would be nice to have the following scenario to work out....
    1. The JSP assigns the (initial) value to the JSF component.
    2. This value is displayed in the browser.
    3. When the user submits the form, the value goes to the model bean.
    Your post seems to indicate that the above is not possible. Could there not be any architectural
    workaround to make this possible ?
    Your post also seems to indicate that it is not possible to use an action from within a <c:forEach>.
    The following could also be perhaps ok (if it doesnt cause some other problem).
    <h:input_text initValue="#{pageScopeBean.someValue}" value="#{someBean.someValue}"><f:parameter initValue="#{status.count}" value="#{DataTable.selectedIndex}" />
    Perhaps, the expert team can come up with some brilliant solution. I am really keen.
    Ajay
    P.S ("Delayed execution", "Immediate execution", "does not exist on subsequent requests" are presently
    Greek and Latin to me.)
    No, that's not really possible, and it's not because
    we didn't try!
    "#{}" syntax means "evaluate this later". It has to
    mean that, for lots of reasons, including the need to
    evaluate these values on subsequent requests, and to
    evaluate these values repeatedly when a repeater
    component (like data_table) renders its output.
    Obviously, pageScope.status.count won't exist on
    subsequent requests, so that bit is hopeless. But it
    won't necessarily even work in the middle of the page,
    because there's no guarantee that the value of that
    <f:parameter> will only be used during the execution
    of <c:forEach>.
    We'd considered adding support for both delayed
    execution - "#{}" - and immediate execution - "${}" on
    JSF attributes, which would enable an example like
    this, but decided not to, for two reasons. First, it
    would be very confusing. Second, it actually opened a
    small security hole to do so that can't be solved
    without changes to the JSP EL architecture.
    -- Adam Winer (EG member)

    Dear Adam Winer,
    I read your post again and understood what you mean by "delayed execution" and "immediate execution".
    I am sorry, I think I read your post too quickly and hence didnt compherehend it.
    Please let me know if you think an alternative syntax such as
    <h:input_text initValue="#{pageScopeBean.someValue}" value="#{myBean.someValue}"/>Perhaps, this is not so different from the "#{}" and "${}" syntax that was discussed in the expert group.
    I am trying to imagine why a security loop-hole could be caused. If Struts doesnt have any problem
    getting values from a page-scoped bean, why does JSF have the problem ?
    Thanks for your help.
    Ajay
    We'd considered adding support for both delayed
    execution - "#{}" - and immediate execution - "${}" on
    JSF attributes, which would enable an example like
    this, but decided not to, for two reasons. First, it
    would be very confusing. Second, it actually opened a
    small security hole to do so that can't be solved
    without changes to the JSP EL architecture.

  • Use ? style Parameter for View Object

    I'm guess that if you set the ViewObject to use ? style parameter. You have to use the whereclause to pass in the parameter, correct? If so then how do you pass in parameter (use input) to the whereclause in a jsp page?

    Never mind I was trying to set the whereclause in the tag, whereclause="application_id=<%=appId%>".

  • Why can't I use the landscape feature for iPhone 5? It only works in limited apps. I feel as though I wasted my money since I prefer to use my phone in landscape mode.

    Why can't I use the landscape feature in all of the apps? It seems like a waste of money since I prefer to use the landscape feature.

    It is up to the app developer to decide if the app should work in landscape mode or not. This is also true on Android phones, by the way.

  • Should I use the Audit_Warn Feature for what I need

    Very new to Solaris. I'm currently using Solairs 10 (X86).
    Can the audit_warn feature notify me via mail if the below would happen? Note: I have no hard or soft limit.
    If someone (root maybe) stoped the auditd service or the audit dameon stoped working because someone pefromed an activity that had a negative impact on the auditd service.
    As I understand the audit_warn can cause alot of mail traffic. It is recommended that mail not be sent every time as this could result in a the saturation of the file system that contains the mail spool directory.
    Maybe the simple solution is a "if then" scenioro? Somthing like if the auditd service stops then notify root. Not sure if this is somthing you setup in the /etc/syslog.conf or is there another file?
    Take care,
    Johnny Mac

    I'm responding to the post indicated in the header of this post, though I beleive I am repeating semantics.
    The auditd daemon calls the */../../audit_warn* 'script', under certain conditions... these conditions are defined for it via the audit_control file. Populating the audit_control file with the conditions which you desire the auditd daemon to consider, requires that you create "audit-flags" , and put them in a flags line like:
    flags:_audit-flags_ .
    Get familiar with man page format... it can be your friend.
    If the page is too long then try this : [mo is the name of the file which is made in the local directory]
    bash# man audit_control > mo
    Reformating page...
    bash#*cat -n mo*
    this will number the lines
    bash#*cat -n mo | grep flags*
    this will give you numbered lines with the word patterns you are looking for.
    Then scroll down to the line number and read around it.
    you might want to make a numbered file of the man page for convenience :
    bash#*cat -n mo > mor*
    You might bump into the more command... if you are not wary.
    You might want to peruse the audit_user man page at some point too, but conceptually I think my work is done.
    As for the misleading someone , read "process". This auditing feature seems like a powerful way of identifying where the tentacles are meterialising... if not from who's grammar.
    Edited by: plasmichive on Feb 24, 2010 2:09 AM
    More on context:
    I read that the allhard option of */../../audit_warn* is used [by the auditd daemon, under default conditions] to mail only when the hard limit is exceeded for the first time [count = 1];BUT as the count increases, console messages are sent, but no mail. This prevents mail overload, but keeps the console flashing.

  • Did you know that using the erase feature for stolen iPads can fail? Mine did and was not detected for 10days.

    Thursday(day 1):Had an iPad2 wifi only which I rarely used, stolen.
    minutes later, pulled up findmyphone on iCloud and put a lock on iPad and then erased the iPad.
    Sunday(day4) : I noted websites opened on my iphone that I had not opened.
    Monday: Spooked, I went to genius bar was informed that it would have been wiped since the thief had been hooked to wifi and thus the iPad would have been erased.
    Sunday(day 11), my iCal has been deleted totally from all my devices (iMac, iPhone, MacAir)
    Monday (day12): I go to genius bar with Time Machine backup drive and some magic is worked to recover it. The conclusion was that the thief of my iPad wiped it out. And, " there are always ways to get into the iPad if they really want to with firewalls etc....".  And I needed to change my iCloud password (which the first guy did not suggest and stupidly I did not presume I needed to do).
    Monday: (day 12) Password changed. OK, done.
    Wednesday (day14): I open my photo stream on the iphone and see screen shots of websites dated from as recently as day 10! These of course showed up on my iMac and my iPhone amongst my own photo shots. Talk about feeling violated and failed.
    Moral of story: Can not trust that the erase feature works.
                              Change every single  password you have as there is not assurance that a track has not been made.
                              And, do not have more than one user on your device: such as your spouse as their stuff could be compromized too.

    The pages panel is not the place where you see this information.  You can customize the Links panel to show all sorts of things, including the page number, effective and actual ppi, and whether the link is OK or needs updating.

  • Using custom style sheet for UI  presentations

    Hi...
    is there a possibility to use custom stylesheets for UI presentations in BPM ???
    if so how do i link the custom stylesheet to my workspace so that i get the desired output on my UI screens.
    The only style sheet i see fro UI is fo_style.css

    You first will need to import the CSS file into your project. You do this by right clicking on the webResources folder located under the WebRoot branch of your project tree. This will present a short menu to you, and one of the options is Import Resources. Browse to your CSS file and click Open.
    Next you need to open your ALBPM Presentation and open the Properties window. Set the CSS Support property to True, and then select the imported CSS file under the CSS Filename property.

  • Using the controller feature for video media (Flash Export)

    I created an interactive file in InDesign with the hope of exporting it into flash to embed in my website. Everything works, except even though I have the controller set to on and to appear when you roll-over the window, the controller does not show up. The video is embedded using a URL, and the video will still play, but for some reason the controller feature just won't show up... Anyone have any ideas?

    If you use video in your InDesign SWF, even one from URL, InDesign exports resources folder to the same place with actual SWF. Inside that resources folder there´s a skin of the video player you chose for you video. When you upload main SWF to your server, you need to upload that resources folder as well. Because if you don´t, flash player never finds that skin and therefore can´t show any controls...
    Here´s a screenshot of my main SWF (videotest.swf) I exported from InDesign. Because I placed a video from URL there, InDesign created videotest_Resources folder and inside of it there is SkinOverAll.swf... If I want everything to work smoothly, I need to upload them all.

  • Can we use receiver enhancement feature for a web service scenario?

    Hi Experts,
    We have to send across an invoice to web service enabled legacy system from ECC.
    ECC>ABAP Proxy>SAP PI>SOAP Adapter>Legacy System1
    ECC>ABAP Proxy>SAP PI>SOAP Adapter>Legacy System2
    Requirement is like if the invoice number starts with 1A, it should go to Legacy System1 & if the invoice number starts with 2A, it should go to Legacy System2.
    Can we do it in one single scenario using receiver enhancement and if yes How?
    Regards
    Nidhi Kukreja

    You can make use of the XPATH function starts-with(string1,string2) and customize your condition as shown in this blog:
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    Update:
    It can even be done without using any XPATH function.....just make use of the option Contains Pattern from the dropdown available for the Middle Operand....right operand will be 1A*
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Feb 3, 2010 1:00 PM

  • How to use NI CAN feature for extracting DBC information without a CAN Interface?

    Hi,
    I'm looking for some tricks in order to extract DBC Information using the NI CAN without a CAN interface...
    Basically I have some DBC files and I would to analyze them to get hierarchy Messages and Channels (and their related information, offset, scale, etc.).
    http://www.ni.com/white-paper/4294/en/
    The function CAN Get Names is usefull and allow me depending on the mode to get a list of the Channels and Messages described in the DBC file. However, I'm encountering one major issue and none of the least, I cannot use the function the CAN Get Property... As it required a connector based on Task that I cannot provide since I dont have any real and physical CAN interface, for now. Therefore I cannot have any information about the channels neither about the messages...
    Does anybody can give me a hand to fix that matter?
    Solved!
    Go to Solution.

    Nelval wrote:
    It seems that no matter the virtual port I am using, it does not work. Could you have a look at my sample.vi, I know it's poorly wired, especially since I'm more in .NET things than NI from my occupation ^^'. I also provided a dummy DBC file to simulate a very basic input.
    And by the way is there any way then to get the Byte Array / Bit Array corresponding to a certain message (and how to set the signal values required to get the message)?
    Your code isn't that bad, relativly easy to follow.  In any case the problem had nothing to do with the CAN port being used.  If you would probe the error wires around you would see that coming out of the CAN Init Start stated that the channel name didn't exist.  Looking at how you had it wired you took the messages (or frames) and put them into the channels terminal, when I assume you wanted the channels.  Then looking at your tree you were again trying to get the ID of a channel, but giving it the message name.  I also added reading the Start Bit, Number of Bits, and Byte Order for all the channels read.
    If you were to do this with XNET there would be completelly different functions, but the same operations can be done.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
    Attachments:
    DBC Extraction Hooovahh Edit.vi ‏29 KB

  • Use Graphic style library for commercial use

    Hi,
    I just need to clarify if those images/background from the adobe illustrator library can be used as it is(without editing at all) for commercial purpose e.g... in games/ poster/advertisement?
    Will there be copyright issues on the image or I have to do some editing to whats given by Ai before it can be used commercially?

    I just need to clarify if those images/background from the adobe illustrator library can be used as it is
    Yes.
    Mylenium

Maybe you are looking for