Have portlet within a portlet
Is it possible to have portlets inside a portlet?
Operating principle is close to: http://marcinbialowas.blogspot.com/2010/03/inter-portlet-communication.html .
Main difference is related with presentation. One of your portlets will be hidden by CSS either javascript and content will be taken by javasript and copied to container in second portlet.
Similar Messages
-
As I can sometimes do, I did not read the directions before delving into LR. Now I find my self with image history in LR on 2 or 3 of my HD's. I would like to now consolidate it on one HD but fear in doing so I will lose the images I have created within LR. Is there a tutorio or some other way to get me back on track with this application?
Your image history (if I understand you properly) is stored in your catalog file, and nowhere else, and so it is only on a single drive.
Do you mean you have edited photos on multiple drives? This isn't a problem for Lightroom at all, the software doesn't care, and you can leave things just the way they are. But if it bothers you for some reason, you can move the photos to a single drive if you want. In Lightroom select the desired photos or folders (it's easier to do this using Folders) and drag them to the desired drive.
Alternative if you will be moving lots of folders: Adobe Lightroom - Find moved or missing files and folders -
Within the last 36 hours my photo albums have turned into a real jumbled mess. Random photos have appeared at the bottom of my Recently Added album. In most cases it's a copy of a photo that was taken months or years ago so now it appears twice.. 200 random photos have appeared in an unrelated album. Some photos are missing completely. The date order is correct in some places and then it goes back and forth over the months and years. The "collections" appears to be okay. This morning when I went into the photo app About 50 photos that were permanently deleted 3 months ago reappeared on the Recently Added Album which I deleted again. if I delete these irreplaceable photos from the unwanted album it will delete the photo completely. Help please - this is so annoying and frustrating. I hate to think when I turn the iPad on tmoor row what else will have changed .
Quick Update:
I usually have my Mac laptop up with Messages running on it. As you know, it will receive the same messages you send/receive on your iPhone. I thought all my old photos would be there too, but they have all disappeared as well except for the last few.
Messages is supposed to archive all old photos to a directory called ~/Library/Messages/Attachments. On my mac, this was a 0 byte file that was created back in Jan 2014. As a result, none of the old photos got saved on my Messages app either. I looked at a Time Machine Backup and it has been the case since September (no earlier backups available). So, it's unclear how long this issue has been going on for my Messages app and how related it is to my iPhone problem.
In any case, if any of you use Messages, you may be able to recover your photos in that directory provided it didn't get trashed like mine did. I moved the file and created a new Attachments directory. Upon relaunch, Messages started properly storing new photos in there again.
Either there was a really terrible bug in the Apple software or something malicious has happened.
P.S. I'm running OS 10.9.5 Mavericks. There is a thread of people with this problem on Yosemite here:
No pictures are shown in Message om Mac
This seems like a pretty seriously terrible bug. I will be talking again to AppleCare on Wednesday and I hope they can escalate this. -
Can you have handlers within handlers in applescript?
Hey guys,
I have a vast amount of handlers, but to copy the code and make one big handler will make such complex and chaotic code, how can i use those handlers as seperate commands within another handler rather than dishandling them.
thanks so much for any help:)exactly, except in applescript you load them, you don't import them. for a simple example, create a script called "library file.scpt" with the following contents:
on libraryDemo(txt)
display dialog txt
end libraryDemo
save it wherever, then create another script with the code:
set library1 to load script "/path/to/library file.scpt"
library1's libraryDemo("This is how loading a script works")
run the second script and it will display the dialog. -
Is it possible to have parameters within planning Sheets
Hi - Is it possible to have paramaeters withing planning Sheets. I was able to save a macro successfully within a planning sheet. But wanted to know if we can pass parameters within a planning sheet.
Thanks,
VenkatYou can pass parameters upto some extent. If you want to filter the MDX query then you can use InterlacePlanner.AddFilter method. e.g. InterlacePlanner.AddFilter "Customer", "ABCD"
where ABCD is Customer dimension member. -
18 apps have disappeared within minutes. AppStore says 'Open' when I try to redownload
While some apps were downloading I locked my phone. Less than 5 minutes later I unlocked it to check the status of the downloads and noticed 18 apps (the ones downloading and ones I've had for quite some time) had vanished. I've checked my phone thoroughly and there is no trace of them except in the Settings/General/About it has the app count. According to that the apps are still there. I tried to redownload them but according to the AppStore I already have the apps. It just says 'OPEN'. When I press it nothing happens.
It's as if they are there but invisible. I've adjusted no settings for weeks (including Restrictions).
Thanks for your helpIf it says "Open" in the app store they are on your phone somewhere, either on a different page of the Home screen or in folders. Search for one of them by swiping down from the middle of the screen, and enter the name of one of the apps, then tap Search. If the app is in a folder the name of the folder will be displayed; if it is not in a folder it must be on one of the home screen pages.
If you still can't find them start with a reboot (hold HOME and SLEEP until an Apple logo appears. And if that fails Restore the phone using iTunes. -
I use the SeaMonkey 2.0 mailer for my email client and Firefox 3.6 for my default browser. A link embedded in an email (read with SeaMonkey) opens the SeaMonkey browser and not Firefox. How can I have it open on Firefox?
(SeaMonkey is not set up as the default browser and Firefox is.)See here
*https://support.mozilla.org/en-US/kb/how-make-web-links-open-firefox-default -
I know I can go to the "purchased" section in iTunes, but I'd like to know if it's possible to see which I already have when looking at episodes to purchase. Hope that makes sense.
Thanks Rudegar.
I thought that if the movie had already been downloaded from the internet to my ipad then it would only be using my own home network to stream to the tv and it wouldnt be using up all my allowance just to watch on a big screen. If i had known this i would not have bought an appletv....... thanks. -
My babies have been within driving distance for 3 days now, what gives?
I drive by the Fort Worth UPS hub practically everyday and the warehouse in Dallas, TX isn't that far either.
I ordered a X61T and a X61s, my UPS tracking number: 1Z V62 92V D3 5315 878 4 shows that they are in Dallas Texas and have been since Sunday; why aren't they at my house?
Called UPS, they told me to call Lenovo and get a tracer started on the package. Called Lenovo, they told me to wait until tomorrow, then to call again if I don't have my package yet.
Poor little guys came all the way on an airplane from China, yet they can't make the 20 mile hike to my place.
I leave for CES on Monday then straight to Finland next Friday.
What am I to do?
stefan at intomobile dot com
edit: written on a T61 in bed as my mother uses her X40 to prepare Romanian recipes for the 4 full days left I have at her house. the X61T is for me, the X61s is for my girlfriend, who has a T40 now. there is a T23 sitting on a coffee table used for when friends want to fact check during our heated debates or just check up on random internet information. we're a very happy thinkpad house :-)
update (19:42 Dallas, TX): tracking now says the package left dallas, oh joy! it really might be coming tomorrow!
update: got it today, early too, before noon!
Message Edited by Constantine on 01-04-2008 02:26 AMSounds like it is hung up on restoring your pictures. At this point it is unlikely to finish. All you could do is try again, by tapping Stop Restoring, then erasing the phone and restoring the backup again. If you do, make sure it is connected to wifi and your charger, and that it is located near your wifi router to get a strong, consistent signal.
-
How to hide/show book, page, portlet programmatically
Hello,
The situation is I have few books and have pages within the books. In page, I have few portlets. The problem I try to solve is when user login, based on user role, I selectively show the books, pages and portlets.
Can anyone give guideline on this ?
Thanks in advance,
Li"Chris Xu" <[email protected]> wrote in message
news:8877896.1094662465884.JavaMail.root@jserv5...
The situation is I have few books and have pages within the books. Inpage,
I have few portlets. The problem I try to solve is when user login, basedon
user role, I selectively show the books, pages and portlets.
Can anyone give guideline on this ?Use entitlements for this, see
http://e-docs.bea.com/wlp/docs81/adminportal/help/VE_OV.html
Gerald -
经常会有客户问到WebCenter中到底是要用portlet来做页面 还是用ADF task flow? 找到一篇比较好的文章,供大家参考。
原文连接:https://blogs.oracle.com/ATEAM_WEBCENTER/entry/adf_task_flows_versus_portlets
If there's a question that we get more often than "When [INSERT_NEXT_PRODUCT_RELEASE_HERE] is going to be available?", it is "Should I use Task Flows or Portlets?".
I can't remember of a single WebCenter engagement that we on the A-Team have worked on that this question hasn't been asked. Let's see what's currently written up on the internet on the subject and build on top of that.
What's on Task Flow vs Portlets on the interwebs?
Not surprisingly, if you search for this topic you're bound to follow some very good information on the subject. I recommend you to also read the following links:
George's "Task Flow or Portlet: what to choose?"
Yannick Ongena's "Difference between ADF portlets and task flows"
Portlets vs Taskflows discussion at the WebCenter Enterprise Methodology Group (EMG) mail list
ADF Task Flows versus Portlets cheat sheet table
The table below tries to capture some common points when developing ADF and WebCenter based applications, and how these points reflect in each of the three options of developing and deploying a reusable UI flow.
How to read this table
To be straight with you, this is not a decision table. You should use it for reference when you want to know how each technology maps to a specific requirement or feature. This will give you a better idea of what you need to be aware of and some reference information on how to do it.
Local Task Flow Remote Task Flow ADF-based Portlet
User Interface Rendering / Skinning
Inherit ADF Faces geometry management from the parent container. Uses the same skin as the consuming application automatically.
Rendering of TFs is sequential and can add up to the consumer's rendering time depending on the TFs performance.
Do not support geometry managment. Usually remote TFs are opened as browser popup windows or take over the current browser window until it navigates back to the caller. Doesn't know about the skin being used by the caller application.
Rendering time is dependent on the server where the remote TF is running. An external URL request is being issued.
Renders inside an iframe, so there's no geometry based support for the portlet, but it is somewhat manageable from the showDetailFrame component that surrounds it (here). There is support for skin detection and synchronization but the skin needs to be deployed together with the portlet. TIP: never use inline (rich) popups in a portlet.
Overall JSF rendering is still sequential, but because portlets are rendered as iframes browsers can usually request between 4 to 8 iframes in parallel from the same domain which can sometimes translate to a faster page load time. Please check here.
Interaction Support
Contextual Events here , here
Supports Transactions and Savepoints (when used with ADF BC). Here.
IN/OUT parameters
No transactional support.
Inter-portlet communication and auto-wiring
No transactional support
Deployment Locally within the application's EAR file or as a WLS shared library. Updates require a redeployment and restart of the consuming applications. Deployed as separate application (EAR) or Web Application. Deployed as a separate application to a server configured to run as a Portlet Producer. Here
Memory Scope Uses the application's memory scope and can fully leverage application, session, request, view scopes. Runs on a different memory scope Runs on a different memory scope
Resource Consumption It can slow down the containing up if it has a processing bottleneck. Likewise, it can cause an out of memory if the code called by the task flow has a memory leak Does not impact the calling application. Does not offer a time-out mechanism out of the box Does not impact the calling application. It does offer time out and caching configurations.
Architectural Coupling Tightly coupled modules, composite apps. Loosely-coupled, but still application-oriented Loosely-coupled, heterogeneous and legacy application integration.
Security
Fully leverages ADF Security Context for ADF and WebCenter Task Flows.
Requires single sign-on (here) or identity federation (here and here) for authentication and correct mapping of enterprise to application roles for seamless authorization.
WS-Security with OWSM is used for authentication. Correct mappings between enterprise and application roles are needed for fine-grained authorization.
More info here, here, and here.
Runtime Configuration Features None, but can be dynamically added to a page using Oracle Composer and the Resource Catalog. None Provides support for personalization (user preferences) and runtime management of Portlet Producer connections.
Design Time Features ADF Library with consumed TFs needs to be in the classpath. Integration tests can be run locally. No importing required but remote TF information is required: TF URL, IN/OUT parameters. The remote TF needs to be available on a remote server for integration tests. Security infrastructure should be taken into consideration when doing proper integration testing. No importing required. Producers are configured as connections and portlets define their own metadata/service definition through WSRP (here). Connections can be modified on a post-deployment process from EM or WLST (here).
What should I consider to pick one over the other?
Portals, as the name implies, are gateways to other applications. With that in mind, portlets consumed in the portal offer a glimpse - one could say a glassdoor - to take a quick peek into the application that exposes it. Once it grabs your attention, it should offer you a way of going into that system to check for more detailed information and to take an action - again, using the same analogy glassdoor analogy, you now opened the door and are inside a specific room. Once inside that room, you're not interested in what's going around in the other rooms.
Ideally, the portlet producer is hosted on the same environment as the application they are exposing. This is so because that application is responsible for managing what is exposing, much like a web service, and can assign the adequate resources to run the portlets without having too much impact on their production environment. For example, you might want to expose a "User Profile" portlet but you want to limit the amount of information and access to your HR system providing it.
You should use portlets whenever you are aggregating a set of heterogeneous (UI-based) services onto a common view, and these heterogeneous services are isolated, or at least don't have a lot of interdependence between them. If you need more info, or you need to work on a task, you are taken to the real application. In this scenario, the HR team exposed a "User Profile" info while the Sales team exposed a "Your latest sales numbers" portlet, both driven say, by the user id, but they don't know about each other.
Composite applications, on the other hand, are assembled by collaborative development of TFs - the TFs are still designed to be modular, but also work together, and often cases to depend on each other, specially when we consider transactions and shared scopes. Not only they will tightly interact, they will leverage the same execution resources. Ultimately, they are contained in the same business domain.
As you probably noticed, my approach to decide to use one over the other is from a pure application integration perspective. Oftentimes I found other decision point that although are technically valid, I don't quite agree with, or at least I don't find them to be able to weigh in as much as my application integration approach. So let's go over some of these points and I will try to explain why I don't find them so important.
"If I use portlets I don't need to stop my application when I release a new version or a fix"
Yes you do. You need to stop the portlet container no matter what. And that will show up as a portlet timeout on your portal/application. Granted, the main application is still running, but if the portlet is there, it is because it is important. And people will complain.
If you need 24/7 availability (and, believe, you don't most of the time in this scenarios), portlets will not help you. A good infrastructure and the correct deployment process will.
Using a portlet as a patch delivery channel is not a good approach either. If you find yourself in need constantly redeploying portlets than you should review your QA process.
"Because portlets render as iframes I can make my portal run faster"
This is often times not true. Yes, in some situations you could have the main page consuming the portlets to render faster, but you still could have portlets taking time to render, and that's not good from a user experience perspective - showing a "loading..." message or empty placeholder box is not the best solution. I'd rather engineer locally running Task Flows to meet the required performance numbers than rely on portlets and iframes as my performance boots option.
Conclusion
I hope I was able to provide you with enough ammunition to make and informed decision when choosing one technology over the other. Please feel free to follow up with your comments; I'm definitely very interested in your experiences and considerations.文章非常不错啊,很有指导意义。
-
I am currently using MyFaces 1.1.5 - JSF1.1 implementation with Tomahawk 1.1.3 running on top of Pluto 1.1.1 within our development environment. We are going to deploy it to IBM Portal 6.0 for production. I am also using the MyFaces Portlet Bridge. My question is what Open Source Component libraries are out there that work in a Portlet environment??? I tried Rich Client Faces but ran into some issues... I am also looking for AJAX support as well... I wanted to use Ajax4JSF but it doesn't have portlet support yet (I wish it did!)... Also, I am running into an issue with the Tomahawk inputCalendar component... It works fine in a standalone servlet but in the portlet is seems that the CSS styles aren't render properly (the calendar header is blanked out so I can not see the months, day , year etc...). I setup the MyFaces filter extension properly to my knowledge...
<!-- MyFaces Extension Filter -->
<filter>
<filter-name>MyFacesExtensionsFilter</filter-name>
<filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
<init-param>
<param-name>maxFileSize</param-name>
<param-value>20m</param-value>
<description>Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
</description>
</init-param>
</filter>
<!-- MyFaces Extension Filter Mappings -->
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<servlet-name>Faces Servlet</servlet-name>
</filter-mapping>
Thanks for any advice in advance!!!
-KyleI want to do same thing but with oracle portal.
It seems Tomahawk extensions (needed by calendar) is incompatible with any portlet.
Some people seem to be trying to fix this:-
http://palab.blogspot.com/2006/09/myfaces-bridge-08-released.html -
Can one portlet listen to one of the action in second portlet ?
I have portlet A which listen to portlet B. Within portlet B there are several actions. But I really want is portlet A listen to ONLY ONE action in portlet B, Not all the actions in portlet B.
Is there a way I can do this in Weblogic8.1 SP3 ? If yes, can someone give out some information(details) about it?
Thanks a lot. Very appreciate your help.Read the docs on inter portlet communication. What you saying should be possible.
Kunal Mittal -
Programatically load URL inside a portlet
Hi Super Solver(s) of Problems,
Is there a way to programatically load a given URL inside a portlet?
For example, if I have Portlet A and Porlet B, and I want to make a B load up,
say, "http://www.google.com", when I click a button in A, how would I go about
doing that (preferably without using a Webflow that can see both A and B)?
HansonHanson,
Please post the contents of the page that is not rendering correctly.
Thanks!
Sincerely,
Daniel Selman
"Hanson" <[email protected]> wrote in message
news:[email protected]...
>
Hi again,
I've written a page that displays what my servlet ought to without usingany session
data, and parts of that page still won't render inside the portlet (thoughin
its own browser window, it displays fine).
I guess my question then becomes: what can/can't you render with the<ws:uriContent>
tag?
Hanson
"Daniel Selman" <[email protected]> wrote:
Hanson,
It sounds like a problem with your Servlet. If it requires certain
session
variables, how do you intend to be able to hit it with a brand new
Session?
What happens when you hit your Servlet directly with a web-browser?
Sincerely,
Daniel Selman
"Hanson" <[email protected]> wrote in message
news:[email protected]...
Hi Prady,
Thanks for all your input! If I want to direct my page to somethinglike
Yahoo
or Google, the method you showed me works. However, the URL I'm
getting
the portlet
to load points to a servlet, and for some reason, that servlet can'tget
the session
variables it needs to render its contents (retrievals return null whenother portlets
in the session can read them fine). Is there any way around that
problem?
>>>
>>>
Hanson
"Prady" <[email protected]> wrote:
Try this:
1. Go to developer.bea.com and download/install the web services
portlet
wizard. This will modify your EBCC to include the web service wizard
tool.
2. Using the URI tool of that wizard (from EBCC), create yourPortlet-B
for
a default URL such as http://www.google.com. The URI tool has couple
of
tags that help us load the URI content within a portlet.
3. Write your Portlet-A with a simple form. Eg.
<FORM>
MyURL:<BR>
<INPUT TYPE=text NAME=myURL SIZE=30>
<INPUT TYPE=submit NAME=submit VALUE=go>
</FORM>
4. In Portlet-B (generated by the URI tool), there is a "defaultURL"
variable that will have the default URL that you provided while
creating the portlet-B (in our example from step 2. it will be
http://www.google.com). Change it to get the "myURL"
variable from the request object. Eg.
String myURL = request.getParameter("myURL");
5. Test.
6. you can modify portlet-B and portlet-A to use webflow to
pass information via pipeline session.
Let me know if this works. -
Customizable and non-customizable Portlets
Hello
We are trying to design a web site that will allow a central area administrator to publish a few portlets in a page (Navigation bar, banner etc.). This cannot be modified by users.
However, there are a few portlets within the same page which the user wants to modify (typically HTML portlets, news etc.)
How do I do this? Can I have portlet level security access (modifiable or not?)?
Thanks
Tam.
nullCustomization privilege can be granted by page or by tab. The right to customize a portlet is granted by the portlet developer. If the user has any level of customization privilege on a page, and the portlet supports customization, the user will see the customize link.
For folder portlets, the page owner can turn off the customize link in the Edit Defaults page for the portlet (this requires release 3.0.9 of Portal).
For other built-in portlets that display a Customize link by default (such as the HTML portlet), you can turn off the portlet header to prevent users from customizing the portlet.
If you're building custom portlets or using Portal application components, you can explicity grant customize privilege to users and groups.
As for Add/Move/Delete, in 3.0.9 the folder portlet allows you edit items directly in the portlet - you don't have to navigate to the content area.
I hope that's the information you're looking for.
Regards,
Jerry
Maybe you are looking for
-
Problem with "Group By" in Views - Not Displaying the Same for All Users
We have an Announcements List with its only View being set up to group by a metadata category field. We've done this many times on other kinds of lists and never had a problem. But with this list, about half the users can see only the ungrouped set o
-
BADI BBP_UI_CONTROL_BADI for disabling fields item wise in PO!
Hi all, We are working on SRM 5.0(SP12),ECS. I need to disable the account assignment fields like G/L account,Cost centre for the PO in Process PO transaction only for users with the role BUYER for all line items in the PO. For users with the role
-
As a result of accidental import of older bookmarks I have hundreds of entries to remove. When I attempt to remove them even singly, Firefox hangs for a long time after a few removals. I"ll never get done at this rate. Is there another technique to d
-
Problems running the jsf-compnenets demo on Weblogic 8.1
Hi, I am just starting out with with JSF and I'm having problems running the jsf-components demo. Whenever I try to run any of the JSP's in this demo I get the following error : /imagemap.jsp(41): Error in using tag library uri='http://java.sun.com/j
-
Workaround for 503 error please help
Hi all I am looking for a solution that would redirect a 503 error to an error page. I have read the documentation which says i can write my own NSAPI function. I donot know how to write NSAPI.Could anyone help me with an easy workaround for this pro