How to stretch the child components of a carousel item.
Dear All,
Use case:
I am putting a list of dvt graph on a carousel component but I am having a lot of trouble when it comes to sizing the components.
Consider the code below
<af:panelGroupLayout id="pgl1" layout="scroll">
<af:carousel id="c1" var="item" value="#{pageFlowScope.myBean.dataList}">
<f:facet name="nodeStamp">
<af:carouselItem id="crslItem" text="#{item.title}" shortDesc="#{item.title}">
<af:panelGroupLayout id="pgl4" layout="vertical">
<dvt:lineGraph id="lg2">
</dvt:lineGraph>
</af:panelGroupLayout>
</af:carouselItem>
</f:facet>
</af:carousel>
</af:panelGroupLayout>The graph seems to be cut and is not rendering all of the data. The legends and the columns are hidden.
I dont want to put a lot of inlinestyles there in putting the width and height.
I thought the carouselitem stretches its child component but that does not seem the case for me.
How do I do this?
What I want is that the size of the carouselitem would be equal to the size of the dvt line graph.
What can I do to achieve this?
Thanks
JDEV 11G PS5
<af:panelGroupLayout> does not stretch its children (even if it has got a sole child). Surrounding a component with an <af:panelGroupLayout> prevents it of being stretched by its parent (even if the parent is a components that stretches its children).
In your case the <af:carousel> component is not stretched because it is within an <af:panelGroupLayout>. Also the <dvt:lineGraph> is not stretched because it is surrounded with an <af:panelGroupLayout>.
Just remove both <af:panelGroupLayout> tags and try again.
(Note, that <af:panelGroupLayout layout="scroll"> may be stretched by its parent, but it does not stretch its own children even if it is stretched by its parent).
Dimitar
Similar Messages
-
How to read the child elements in single query
Hi
How to read the child elements under 'alternateIdentifiers' and 'matchEntityBasic' in a single query followiing xml content.xml content is of xmltype
I/p doc
<UPDATES>
<matchEntity>
<sourceUpdateId>SAMSUNG</sourceUpdateId>
<matchEntityId>861873</matchEntityId>
<alternateIdentifiers>
<sourceUpdateId>SAMSUNG</sourceUpdateId>
<schemeCode>SMG</schemeCode>
<effectiveDate>2012-01-16</effectiveDate>
</alternateIdentifiers>
<alternateIdentifiers>
<sourceUpdateId>SAMSUNG</sourceUpdateId>
<schemeCode>TEBBGL</schemeCode>
<effectiveDate>2012-01-16</effectiveDate>
</alternateIdentifiers>
<matchEntityBasic>
<sourceUpdateId>SAMSUNG</sourceUpdateId>
<marketExchangeCode>XASE</marketExchangeCode>
</matchEntityBasic>
</matchEntity>
</UPDATES>
o/p
sourceUpdateId schemeCode effectiveDate marketExchangeCode
SAMSUNG SMG 2012-01-16 XASE
SAMSUNG TEBBGL 2012-01-16
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
i tried the query but not working
SELECT sourceUpdateId ,schemeCode ,effectiveDate ,marketExchangeCode FROM message pl,XMLTABLE ('/UPDATES/matchEntity/alternateIdentifiers'
PASSING pl.messagetext
COLUMNS sourceUpdateId VARCHAR2 (20) PATH sourceUpdateId,
schemeCode VARCHAR2 (20) PATH 'schemeCode',
effectiveDate DATE PATH 'effectiveDate',
marketExchangeCode VARCHAR2 (20) PATH './matchEntityBasic/marketExchangeCode'
) x
iam not retriving marketExchangeCode with the following query
marketExchangeCode VARCHAR2 (20) PATH './matchEntityBasic/marketExchangeCode'
thanksThe problem is that "matchEntityBasic" is not a child of "alternateIdentifiers", so this :
./matchEntityBasic/marketExchangeCodepoints to nothing.
To display both values in the same query, you'll need a two-level approach.
For example :
SQL> SELECT x2.sourceUpdateId
2 , x2.schemeCode
3 , x2.effectiveDate
4 , x1.marketExchangeCode
5 FROM message pl
6 , XMLTable(
7 '/UPDATES/matchEntity'
8 passing pl.messagetext
9 columns marketExchangeCode VARCHAR2(20) PATH 'matchEntityBasic/marketExchangeCode'
10 , alternateIds XMLType PATH 'alternateIdentifiers'
11 ) x1
12 , XMLTable(
13 '/alternateIdentifiers'
14 passing x1.alternateIds
15 columns sourceUpdateId VARCHAR2(20) PATH 'sourceUpdateId'
16 , schemeCode VARCHAR2(20) PATH 'schemeCode'
17 , effectiveDate DATE PATH 'effectiveDate'
18 ) x2
19 ;
SOURCEUPDATEID SCHEMECODE EFFECTIVEDATE MARKETEXCHANGECODE
SAMSUNG SMG 16/01/2012 XASE
SAMSUNG TEBBGL 16/01/2012 XASE
Or the shorter version :
SQL> SELECT x.sourceUpdateId
2 , x.schemeCode
3 , x.effectiveDate
4 , x.marketExchangeCode
5 FROM message pl
6 , XMLTable(
7 'for $i in /UPDATES/matchEntity
8 return
9 for $j in $i/alternateIdentifiers
10 return element r { $j/child::*, $i/matchEntityBasic/marketExchangeCode }'
11 passing pl.messagetext
12 columns sourceUpdateId VARCHAR2(20) PATH 'sourceUpdateId'
13 , schemeCode VARCHAR2(20) PATH 'schemeCode'
14 , effectiveDate DATE PATH 'effectiveDate'
15 , marketExchangeCode VARCHAR2(20) PATH 'marketExchangeCode'
16 ) x
17 ;
SOURCEUPDATEID SCHEMECODE EFFECTIVEDATE MARKETEXCHANGECODE
SAMSUNG SMG 16/01/2012 XASE
SAMSUNG TEBBGL 16/01/2012 XASE -
I have a project on Imovie with pinned audio to the project. I want to know how to stretch the audio to a specific point of the song?
See this Tutorial for how audio works in iMovie. In general, you drag the left or right edge of your audio clip.
You can also use the Clip Trimmer. Click the Gear icon in the music track and select the Clip Trimmer.
http://www.apple.com/findouthow/movies/imovie08.html#audioclips -
Class override, how to create the child class and then the base class
I started to write a program for a smart DMM, the problem is every version of the DMM the company change the communication commend.
My idea is to write a child class for every DMM version and every SubVI of the child will override the base class SubVI.
My problem is, i want first to create one child class and after i will see every thing is work, start to create the base class. that way i will see if am thinking the right way.
My question is
How can i create a child class and then create the base class and configure the SubVi of the child class to be Override of the base class?
I tried to search in the property of the class but i didn't see nothing.
Thanks
Solved!
Go to Solution.This can be done and I've done it on occasion.
You simply create the base class with the dynamic dispatch methods you require (connector panes need to be identical to thos of the child class).
Then set the inheritance of the class to inherit from this base class. If your method is defined as a dynamic dispatch method in the parent, you'll most likely now have some errors (unless your child method was already DD in which case you might just be OK already).
To change the inheritance of a class, right-click the properties of the class in your project and select properties. I believe the ineritance tree is at the lower end of the properties. Click on the "change inheritance" (or something similar) to choose the class from which you now wish to inherit.
Say hello to my little friend.
RFC 2323 FHE-Compliant -
How to reinstall the database components of BI Publisher (11.1.1.5)
Hi,
We're using BI Publisher 11.1.1.5 installed within an existing Weblogic 10.3.6 instance running on Oracle Linux 5.6.
We installed it against an existing 10g test database.
We decided to refresh the database from the production system and we had to rebuild the test db from scratch, meaning we lost all BIP components installed in it.
We re-ran the BIP RCU to create the schemas but we can't see how we can reinstall the other required BIP database components without doing a full deinstall and then install of everything.
The other required db components are such things as the bipcatalog java classes. These are not installed by the RCU from what it seems.
We have another test database with the BIP components in it and I can see them there so we could export/import them if necessary, but I thought there must be a way to use an assistant or something to do it.
Any ideas how to go about reinstalling just the db objects?
Thanks,
DaveI have found out what it was that needed loading into the database, it wasn't BI Publisher specific after all. It is the database callout utility and JPublisher classes, which are used when calling out to invoke web services. They're loaded using loadjava command into the database.
-
How to get the child class in inheritance?
hi,
if I have a store for renting videos .. and I have Video class (parent) and two (child) classes DVD and Cassete which they are extend the video class.
And the user wants to rent a DVD which is the child, how do I do that? can I write just getDVD() as simple as that or maybe I need to use a keyword like "getinstance of DVD " or something I don't know how to do this.
class Video have attributes like title, date of production and director.
I'm not good in inheritance help please.
thanksgeorgemc wrote:
DrLaszloJamf wrote:
Post a SSCCE: http://mindprod.com/jgloss/sscce.html
You're not the boss of me ;-)Actually, I haven't stopped to count, but most of the time the poster never bothers to write a sample program. If fact, if I weren't such a softie, I would make that an absolute requirement for any further help. Too often, you are just shooting in the dark and 50 replies later the question is still vague. -
Hai
i have 70 tables integrated with foreign and child key constraints. i have on delete cascade for all the child tables. if i delete the parent table automatically child table record get deleted.
Kindly tell me how can i check howmany child record has been deleted ..? how can i monitor this...?
one thing i can do... i can make count of child table before and after...
is there anyother way..?
SPeter,
I subscribe to the general consensus around trigger usage. Allthough I allways diffentiate between triggers that,
- perform pl/sql with embedded DML (that is: delete, insert, update)
versus triggers
- that perform pl/sql with embedded queries only.
The latter use of triggers is good (in my opinion), and most frequently used to enforce (non declarable) data integrity constraints.
The former use of triggers is bad. Because it makes things happen automagically.
Just google "asktom triggers are evil", you'll find statements such as:
~quote
because things happen automagically
because side effects are bad
because explicit linear code is more maintainable then "happens as a by product of something in the background"
magic should be avoided. Experience tells me this.
~quote
And to me a CASCADE DELETE clause on a foreign key definition, is a TRIGGER. Allbeit not one for which you had to write CREATE TRIGGER statements, but one that you can declaratively introduce. And this trigger holds embedded DML, it is of the former case, and is therefor bad.
You the designer of the application may be aware that you have your FK's as cascade delete. But your successor(s) might not be aware of this when they write maintenance code to delete Orders. They might be expecting the database to throw them an FK violation message when they try to delete an Order that still has Lines attached to it.
Everybody knows the effect of an INSERT, a DELETE, an UPDATE. But the moment you've introduced triggers with embedded DML in them, the effect of these three well known primitive SQL statements suddenly becomes unknown. With triggers you can create any effect for any of these three primitives, that you want. And more often than not other people maintaining your codebase later on in the future, do not realize these side effects happen, because they didn't check the presence of any triggers, nor investigated the side effects caused by them.
Btw. for exactly the same reasoning I consider use of DEFAULT-clause on table columns, or even use of (fixed length) CHAR datatype, evil also. Again they are in effect declarative triggers with side effects. Allbeit that their side effects usually are less worse than those caused by handwritten triggers with embedded DML.
Toon -
How to know the child JFrame is dispose
There are two JFrames, the first one is a parent, and the second is child and created by the parent.
How to parent knows the child disposed.
Because of the other member functions of parent shall be running while child is disposed.hi!
do you know about window listener ? if not then learn it, it will solve your problem i hope.
http://www.java-tips.org/java-se-tips/javax.swing/how-to-use-windowlistener-for-closing-jframes.html
regards
Aniruddha -
How to display the table components that make up a structure?
Hi,
How does one display the table components that make up a structure?
I want to see the table fields that make up the structure EKBEZ.
Thx.
AndyHi
GOTO SE11 , type the structure name in DataType optional feild , you will get the feilds that make the structure
Kindly rewards the points accordignly
Regards,
Pranshu -
How to configure the AS components to OEM
Hi,
I need to configure to monitor the below components. But as a part of my installation, only HTTP_Server component is visible in the targets list. how to incorporate them into monitoring list?
==============================
Processes in Instance: tst_vsoebscln3.vsoebscln3.ho.pic.com.kw
------------------------------------------------+---------
ias-component | process-type | pid | status
------------------------------------------------+---------
default_group | oafm | 596 | Alive
default_group | forms | 4100 | Alive
default_group | oacore | 2504 | Alive
HTTP_Server | HTTP_Server | 6056 | Alive
ASG | ASG | N/A | Down
==============================
Regards
DBA.Hi,
The instance hostname is the IP where the AS Java is installed. You can find the instance number in this way: usr\sap\<sid>\<instance_id>
More information: http://help.sap.com/saphelp_nwce711/helpdata/en/45/0cf28fb4d01f23e10000000a1553f7/frameset.htm
Best regards,
Ekaterina -
How to stretch the header the full width of the screen?
I am trying to stretch the header which is a fluid grid layout div wrapped between body. I have something like the following:
html
<body>
<div class="wrapper">
<div class="gridContainer clearfix">
<div id="header </div>
</div>
</body>
CSS
#header {
clear: both;
float: left;
margin-left: 0;
min-width: 100%;
display: block;
Any help would be much appreciated.
KNUse this CSS:
.wrapper {
width: 100%;
#header {
display: block;
text-align: center;
And use this HTML:
<div class="wrapper">
<div class="gridContainer clearfix">
<div id="header"><h1>Header</h1></div>
</div>
</div>
This should stretch to full width.
Good luck. -
How to Modify the WD4J components of Compliance Calibrator
Hi,
I would like to modify the Mitigated Users WEBDYNPRO-JAVA Compliance Calibrator components(GRC). Please let me know the procedure for the same.
If we have NWDI can we modify it?
Is there a separate .sca file for Mitigated Users?
Are there any dependencies for the components related to Mitigated Users, if so what are they?
Please provide me the step by step information to modify the GRC components.
Thanks,
Jhansi MiryalaYou cannot change any GRC AC applications, as the source code is not made public.
Any changes you make will not be supported by SAP.
Ankur
SAP GRC RIG -
Hi everyone,
Does anyone can help me to stretch the list for this POPUP 'DD_POPUP_WITH_LIST', I used the following parameters:
start_column = 50
start_row = 10
end_column = 90
end_row = 30
But the breadth of the list is still small compared to the list of the fields that I want displayed.
thanks in advance.
Mustapha
Edited by: Mustapha ABAPER on Apr 21, 2008 10:39 AM
Edited by: Mustapha ABAPER on Apr 21, 2008 10:46 AMthanks Venkat,
But if i use ur parameters, the pop up will be very small
u can try this parameters in exection of this popup in SE37 to see the difrence
START_COLUMN = 1
START_ROW = 1
END_COLUMN = 00
END_ROW = 15
best regards
Mustapha -
How to get the Delivery date in PO line Item in SAPScript
Hi Gurus,
I am working on PO Script (MEDRUCK). I copied the Standard to a Z form. ZMM_MEDRUCK, Now I need to print the the Header text at the end of MAIN window. I put Iem number along with the other line Item informmation like stanadrd PO Script MEDRUCK. I also want to show the delivey date with line Item, so Itried to use EKET-EINDT but it is returning the delivery date of last line item, means while printing the first line and other information it is showing the delivery date of the last line item, I tried with the PEKPO-EINDT it is also not working.
Can any body suggest me how i can get the delivery date for the respective line Item ?
Regards
Sonyactually your are picking up the correct data from Table EKET (EKET-EINDT) but your are printing that in item data loop for EKET might have already executed in your script and the header of that internal table consist the last entry of the table so for that. Fetch the delivery date explicite from the Table EKET when your in item level processing and print that.
For Example u can use this code.
To print you have write the this code in Script item level printing window "MAIN" window
Following perform is called to get the line item delivery date in PO
{/: PERFORM GET_DEL_DATE IN PROGRAM ZPerform_prog
/: USING &EKPO-EBELN&
/: USING &EKPO-EBELP&
/: CHANGING &DEL_DATE&
/: ENDPERFORM}
{* Dellivery date &DEL_DATE& }
write the below code in the Z program "ZPerform_prog"
{ FORM get_del_date TABLES in_par STRUCTURE itcsy
out_par STRUCTURE itcsy.
READ TABLE in_par WITH KEY 'EKPO-EBELN'.
CHECK sy-subrc = 0.
$_po_no = in_par-value.
READ TABLE in_par WITH KEY 'EKPO-EBELP'.
CHECK sy-subrc = 0.
$_po_line = in_par-value.
SELECT *
FROM eket UP TO 1 ROWS WHERE ebeln EQ $_po_no AND ebelp EQ $_po_line.
$_del_date = eket-eindt.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
date_internal = eket-eindt
IMPORTING
date_external = $_del_date
EXCEPTIONS
date_internal_is_invalid = 1
OTHERS = 2.
READ TABLE out_par WITH KEY 'DEL_DATE'.
CHECK sy-subrc EQ 0.
out_par-value = $_del_date.
MODIFY out_par
INDEX sy-tabix.
CLEAR : $_po_no , $_po_line ,$_del_date.
ENDSELECT.
ENDFORM. "GET_DEL_DATE } -
How to get the Shipping status of a Invoice items in SAP?
Hi All,
Is there any way to get the Shipping status of a Invoiced Item ?
While i extracting Sales Invoice lines,i can get the shipping method and the shipping date,how can i confirm whether the item is shipped or not?.
Is there any table which contains the shipping status or any column in Invoice lines(INV1) which contains the shipping status?
Please help me to come out from that problem
Thanks
JanakiRamanHello Gilbert,
The column what you specified INV1.TRNSCODE is to know how the shipping was done. My question, Is there any field to specify the material was shipped or not?
Thanks
Janakiraman
Maybe you are looking for
-
How do I make a different Mail account the default for sending new messages?
I have several email accounts in Mail. When I go to Preferences> Accounts I see them. The account on top of the list is the default one for sending mail. I want one of the lower ones instead. Can I select this or move it to the top position (if that
-
Unable to view enhanced field in Data Source
Hi All, We recently upgraded our R/3 system from 4.7 to ECC 6.0. Now when we are enhancing the data source, the field is visible in the Extract Structure. But we are unable to view it in the data source. We checked out in RSA2 the enhanced field attr
-
Classes for converting a flat file to XML
I've been asked to convert text in a flat file to an XML document. The XML document must conform to an XML schema. Currenlty, there is no requirement to store the resulting xml in the database. Therefore my approach will be: 1. parse the flat file an
-
SDF LDB doesnt pick up documents posted in specific ledger
Hello, I have created a new G/L account 999998 in Q43/700 system and enabled 'Clearing specific to ledger groups'. I created a new ledger C2 and assigned it to the ledger group C2. I have also made a posting to this new G/L account. The table FAGLBSI
-
HT1414 iphone 4 back up and update
I have updated my iphone 4 without backing up first have I lost all my photos and contacts or are they saved on my computer some where Tracey