How to place the components dynamically in page facets.
I have created a page template
Logo | Header | User Area |
| | |
Menu| Content Area 1 | Content Area 2 |
| | |
| | |
| | |
| | |
| | |
| | |
| Content Area 3 | Content Area 4 |
| | |
| | |
| | |
Footer
I am a new bee. i need to create a system that can allow users to configure the componets in the desired place holder place.
And save their location so that it can load into the same place on login where it was saved earlier.
Is there any one who can tell me how to do it.
Tariq mehmood
Are you talking about end users placing items in specific places or are you talking about developers placing items on your template in specific places?
For end user runtime customization you might want to look into using MDS.
See:
http://download.oracle.com/otn_hosted_doc/jdeveloper/111demos/mds/mds.html
http://www.oracle.com/technology/products/jdev/11/cuecards111/adf_set_18/ccset18_ALL.html
Similar Messages
-
How to increase the space of a page in Application Designer ?
Folks,
Hello. I am developing a page in Application Designer.
I need to place multiple records with many fields in the page. But the entire space of the page is not enough to place the fields. We need to use a vertical scroll to increase the space of the page to hold all of the fields. But I don't understand how to do this feature.
Can any folks tell me how to increase the space of a page in Application Designer in order to hold many fields ?Folks,
Hello. Thanks a lot for replying. It's correct ! -
How to place a image in a page?
pls anyone guide me? how to place a image in a page?
thanks,
screen410099Take a look at the code found in this function:
SDKLayoutHelper::PlaceFileInFrame
As expected you can find it in the SDKLayoutHelper file usually found in the Common folder of the SDK. Anyway it has an example of one way of achieving your goal.
There are other ways as well. Here is some code from one of my plugins which uses the LoadPlaceGunCmd boss:
PMRect pRC = itemGeometry -> GetPathBoundingBox(InnerToPasteboardMatrix(pParentTransform));;
// Create an ImportCmd:
InterfacePtr<ICommand> importAndLoadPlaceGunCmd(CmdUtils::CreateCommand(kImportAndLoadPlaceGunCmdBoss));
//InterfacePtr<ICommand> importAndLoadPlaceGunCmd(CmdUtils::CreateCommand(kImportFileCmdBoss));
if (importAndLoadPlaceGunCmd == nil)
ASSERT_FAIL("importAndLoadPlaceGunCmd invalid");
break;
URI URIPath;
URIUTILS -> IDFileToURI(path, URIPath);
// Set the IImportResourceCmdData Interface's data:
InterfacePtr<IImportResourceCmdData> importFileCmdData(importAndLoadPlaceGunCmd, IID_IIMPORTRESOURCECMDDATA);
if (importFileCmdData == nil)
ASSERT_FAIL("importFileCmdData invalid");
break;
importFileCmdData -> Set(db, URIPath, (K2::UIFlags)0, kTrue, kFalse);
ErrorCode status = CmdUtils::ProcessCommand(importAndLoadPlaceGunCmd);
const UIDList* imageList = importAndLoadPlaceGunCmd -> GetItemList();
if (!imageList || imageList -> Length() == 0)
break;
UIDRef imageFrame = imageList -> GetRef(0);
InterfacePtr<IHierarchy> imageFrameHierarchy(imageFrame, UseDefaultIID());
UIDRef newImage(db, imageFrameHierarchy -> GetChildUID(0));
imageFrameHierarchy -> Remove(imageFrameHierarchy -> GetChildUID(0));
// Create an placeGraphicCmd:
InterfacePtr<ICommand> placeGraphicCmd(CmdUtils::CreateCommand(kPlaceItemInGraphicFrameCmdBoss));
if (placeGraphicCmd == nil)
ASSERT_FAIL("placeGraphicCmd invalid");
break;
placeGraphicCmd -> SetItemList(UIDList(newImage));
// Set the IPlacePIData Interface's data:
InterfacePtr<IPlacePIData> placePIData(placeGraphicCmd, IID_IPLACEPIDATA);
if (placePIData == nil)
ASSERT_FAIL("placePIData invalid");
break;
placePIData -> Set(pageItemRef, nil, kFalse);
// Process the ImportAndPlaceCmd:
status = CmdUtils::ProcessCommand(placeGraphicCmd);
HTH.
John -
How to enable the EL in jsp page
hi can u tell 'how to enable the EL in jsp page'?
*I am getting below exception in tomcat when i inclued +<%@ page isScriptingEnabled="true" isELEnabled="true"%>+*
org.apache.jasper.JasperException: /index.jsp(1,1) Page directive has invalid attribute: isScriptingEnabled
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
org.apache.jasper.compiler.JspUtil.checkAttributes(JspUtil.java:311)
org.apache.jasper.compiler.Validator$DirectiveVisitor.visit(Validator.java:106)
org.apache.jasper.compiler.Node$PageDirective.accept(Node.java:590)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2388)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2394)
org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
org.apache.jasper.compiler.Validator.validate(Validator.java:1700)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) -
How to Hightlight the Data in Jsp Page
How to Hightlight the Data in Jsp Page,
I am doing doing search page,based on values given search page those are sent to servlet,in servlet based on some conditions if particuler id i am getting then i am redirecting to Respective jsp page with highlight the data from database..
Thanks in advance..."Highlighting data in JSP sounds strange".
Without looking at your search specific algorithms I feel you are finally going to display a page (HTML content) to user which contains highlighted text. Highlighting is not directly related to server side language you use (JSP, ASP, PHP etc.). This is purely HTML and CSS. However, server side script (such as JSP) should generate HTML content for getting highlight effect.
Following HTML shows highlighted text using background-color property on span element.
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
</head>
<body>
<p style="font-size:1.1em">This is a long paragraph which contains <span style="background-color: yellow;">highlighted text</span> and non highlighted text.</p>
</body>
</html>Thanks,
Mrityunjoy
Edited by: mrityunjoy on 14 Jun, 2010 3:30 AM -
How to print the Terms and Condition page ine the sap-script
Hi experts,
i got the requirement that how to print the Terms and condition page in the script,i have the three pages, having the same main window, in the last of the main window(all three pages) i have called the hard coded text(i.e so10 text), but when i am displaying the output data get printed in the first page but i am getting the second page heading on the top of the terms and condiions page. In all the three pages i have the same main window, if i make change in any window i will affect all the other main windows. so please suggest me how i need to go.HOW TO GET GRID OF THE TEXT ON THE TOP OF THE SECOND PAGE OF THE TERMS AND CONDITONS.
like this i have called in the MAIN WINDOW
/E : LAST ( IN ALL THREE PAGES)
INCLUDE ZSD_INVOICE_TERMS TEXT OBJECT TEXT LANGUAGE EN.
IN THE TCODE SO10
NEW PAGE TERMS.
1) TERM MS AND CONDITONS TEXT.................................................
FIRST->NEXT, NEXT->NEXT,, TERMS--->TERMS.Hi,
1. Create a new page by Name : LAST
2. Identify the text element which will be the last element in the form in the debug mode.
Mostly Ex: SUM, TOTAL, LAST etc.,
3. the page linking should be
First --> Next
Next --> Next
4. In the Text element identified in the step 3.
Write the following code
/: NEW PAGE LAST
/: INCLUDE the standard text created for the terms and conditions in SO10
Check the syntax for the command but the logic will be the same.
It should resolve your problem. -
How to change the components in a visible JPanel?
How to change the components in a visible JPanel?
Is there any way to change the components in a JPanel while it is already visible in a JFrame? I tried the na�ve approach of removing the components and adding new ones, but the effect is not the expected.
For now I'm opening new frames with newly created panels.After adding/removing components to/from a panel try:
panel.revalidate();
panel.repaint() // sometimes this is also needed, I'm
not sure whyI'm not certain, but I think that panel.revalidate() implicitly calls repaint() only if something actually changed in the layout. If nothing changed, it sees no reason to repaint; hence, if something changed in appearance but not in layout, you have to repaint it yourself.
Or something like that. I'm no expert. ;) -
How to change the images dynamically in a table.
Hai,
How to change the images dynamically in a table based on the condition in webdynpro abap.
Edited by: Ravi.Seela on Oct 13, 2011 2:17 PMThis has been much discussed earlier. Do search posts.
For your scenario i would do the following.
inside your node which is binded to the table, i create a new node image with cardinality 1 ..1 and a attribute called path of type string.
create a supply function for the node image .
Supply method now has a Element (Parent element ) and node.
Based on your record in element, set the right image source to path attribute and bind the node.
This will make sure that the framework calls the image supply function for every row in a table. -
How to change the color background in Pages for iPad?
how to change the color background in Pages for iPad?
You can find many themes at https://github.com/hdoria/xcode-themes There's a download zip button on the right side of the page.
Unzip and and copy the .dvtcolortheme files into /Users/YourUsername/Library/Developer/XCode/UserData/FontAndColorThemes Create the directory if it doesn't exist.
If you can't find the Library directory you can get to it by using Finder's "Go to Folder..." option under "Go" or press shift + cmd + G then type the path. -
How to place the images in Indesign xml file by Javascript?
How to place the images in Indesign xml file by Javascript?
We got the Indesign xml file, how to give the image placement link by Indesign javascript? Please help me its urgent.Hi,
You can pass the image url as a href attribute=> file:///Users/me/Documents/my_pic.jpg directly within your xml. It just needs that you pass a local, static and valid url.
If you want to add image later once the xml is flowed and so target specific nodes and inject images, it's a bit more complex. If the node is not part of the layout, you may try to reach the XMLElement objet and such an attribute, then layout the element.
var x = some XMLElement
x.xmlAttributes.add("href","file:///Users/m/Documents/my_pic.jpg" );
If already placed, then you have to get the associated pageItem, then place your file into it.
pagItm.place ( File ( "/Users/m/Documents/my_pic.jpg" ) );
Hope that helps,
Loic
http://www.loicaigon.com -
How to pass the arguments dynamically to a Oracle procedure.
Hi all..
How to pass the arguments dynamically to a procedure.
Thanks in Advance.I have a concurremt program which has 5 parameters right now. The user can add more parameters from front end as per their requirement.
So that time.. the 6th parameter has to add to my procedure dynamically.
Thanks. -
How to place the "go" button at left size in dashboard prompt
how to place the "go" button at left size in dashboard prompt
Change your code to this and it should work:
PARAMETERS : p_date LIKE sy-datum ,
p_uname LIKE sy-uname.
DATA: field1(8) TYPE c .
AT SELECTION-SCREEN .
IF p_uname IS INITIAL.
field1 = 'P_UNAME'.
SET CURSOR FIELD field1 .
MESSAGE e001.
ENDIF .
I think you need to have the MESSAGE statement (or something similar). If you don't have a message class assigned to your program, instead of
MESSAGE e001.
you can use
MESSAGE 'Please fill in all required fields' TYPE 'E'.
- April
Message was edited by:
April King -
How to place the JFrame in center of the screen
Hi.. please any one tell me how to place the jframe in the center of the screen.. i am working on windows.
setLocationByPlotform is not working...//GETS SCREEN SIZE
Dimension screen_Dimension =Toolkit.getDefaultToolkit ().getScreenSize ();
//GETS WINDOWS SIZE
Dimension frame_Dimension = window.getSize ();
//PUTS FRAME IN THE "MIDDLE" OF THE SCREEN
window.setLocation ( new Point (
(screen_Dimension.width / 2-frame_Dimension.width / 2),
(screen_Dimension.height / 2-frame_Dimension.height/ 2)));Not sure if you want the raw version of it....... -
How to place the animation in the middle of the .html
Hi there,
i have got a question. How to place the whole animation in the middle of the ".html".
Hope you know what i mean.
Benno.Center the stage follow the four step process below
Code to paste into Stage > compositionReady
//Center the Stage
sym.$("Stage").css({"margin-left":"auto","margin-right":"auto"});
Darrell -
How to change the image dynamically depend upon the input parameter
Hi All
I have one report running depend upon the Organization specific, I have 15 operating unit and 15 different logo for each operating unit.
How to change the Logo dynamically depend upon the input passed by the user.
If I have three or four logo i can add in my layout using if else statement and its works fine but i have more that 10 logos so its no possible to keep these in My RTF Template.
Is it possible to change the logo according to the input without keeping this in Template.
I have seen this link but its not working fine
http://erpschools.com/articles/display-and-change-images-dynamically-in-xml-publisher
Regards
Srikkanth.MHi,
I have not completed fully,so sorry i cant able to share the files, could you please give me some tips and steps to do.
Without having the logo in RTF if it possible to bring the logo depends on the user input (Ie Operating unit).
Regards
Srikkanth
Maybe you are looking for
-
Is it possible to close all apps in one one click?
Is there a simpler way of closing all apps on your iphone than doube-clicking the home button and then closing each one individually? I don't see a "close all apps" option anywhere. Sometimes I find myself with 20 apps open all at once and it's tedi
-
I can browse through tumblr just fine, but whenever I go to the login page it said: Secure Connection Failed. An error occurred during a connection to www.tumblr.com. Cannot communicate securely with peer: no common encryption algorithm(s). (Error co
-
What's a good Digital Pen to record notes and annotate PDF files?
I want to buy a smart pen that is compatible with MBP Retina to edit my PDF files, record notes in lectures, basic writing and stuff. Something like the Wacom Intuos pen, but I am not sure if there is a better choice? Thanks
-
Formula help - Distinct Count with 3 conditions
I have a field named ID I need to Dcount records where Dorder = 1,0 or null I'm gonna need to perform similiar totals on other fields so I don't think I can use Record Select Expert (Is that right?) Thanks Steve
-
Code the "Edit Locally" KM functionnality
Hello experts, Is it possible to reproduce in Webdynpro 4 java the behaviour of the "Edit Locally" functionnality ? or maybe in other technologies ? (jsp, ...) By example, in my View I'd like to create a Check Out button, that automatically loads loc