Oracle ADF API 升级到Trinidad.docx
- 文档编号:24444452
- 上传时间:2023-05-27
- 格式:DOCX
- 页数:27
- 大小:21.83KB
Oracle ADF API 升级到Trinidad.docx
《Oracle ADF API 升级到Trinidad.docx》由会员分享,可在线阅读,更多相关《Oracle ADF API 升级到Trinidad.docx(27页珍藏版)》请在冰豆网上搜索。
OracleADFAPI升级到Trinidad
APIChangesfromOracle'sADFFaces
∙Java
∙styleClass/inlineStyleAttributes
∙Components
Java
ProcessScope
processScopehasbeenrenamedtopageFlowScope.Forcompatibility,however,thereisstilladeprecatedgetProcessScope()methodandprocessScopeELvariable.DevelopersshouldswitchtothenewgetPageFlowScope()methodpageFlowScopeELvariable.
Components
column
ComponentName:
∙ADF:
column
∙Trinidad:
column
ChangedAttributes:
ADF
Trinidad
Notes
formatType
align
use"start","center"and"end",respectivelyfor"text","icon"and"number".
headerNoWrap
removed
gridVisible
removed.youcancontrolthegriddingontheentiretableusingthe"horizontalGridVisible"and"verticalGridVisible"propertiesonthetable.
bandingShade
removed.youcancontrolthebandingontheentiretableusingthe"columnBandingInterval"and"rowBandingInterval"propertiesonthetable.
separateRows
removed
AdditionalNotes:
∙todo
commandMenuItem
ComponentName:
∙ADF:
commandMenuItem
∙Trinidad:
commandNavigationItem
ChangedAttributes:
ADF
Trinidad
Notes
(n/a)
destination
TheURIthiscomponentreferenceswhenactivated.Thisisanalternativetousinganaction.
(n/a)
targetFrame
Thenameofthetargetframe(whenusingdestination).
type
(removed)
Nolongerapplicable.Ifyoumustfilterbasedontype,useELontherenderedattributetodeterminewhetherornotanavigationitemisvisible.
AdditionalNotes:
∙ThereisstillacommandMenuItemcomponent,butitisdifferentthantheADFcommandMenuItemcomponent!
InthecurrentreleasecommandMenuItemisforusewiththenewcomponentspanelMenuandpanelMenuBar.
∙ThiscomponentobsoletesgoMenuItem.
goButton
ComponentName:
∙ADF:
goButton
∙Trinidad:
goButton
ChangedAttributes:
ADF
Trinidad
Notes
longDesc
(n/a)
Removed;thiswassimplyignoredinADF.
goLink
ComponentName:
∙ADF:
goLink
∙Trinidad:
goLink
ChangedAttributes:
ADF
Trinidad
Notes
longDesc
(n/a)
Removed;thiswasonlyusedwheninsideofamessagescomponent,whichisnotasupportedusage.
goMenuItem
ComponentName:
∙ADF:
goMenuItem
∙Trinidad:
commandMenuItem
AdditionalNotes:
∙ThegoMenuItemcomponentisobsoletebecauseithasbeenmergedintocommandMenuItem.UsecommandMenuIteminstead.
group
ComponentName:
∙ADF:
(n/a)
∙Trinidad:
group
AdditionalNotes:
∙Thegroupcomponentisaninvisiblecontrolthataggregatessemantically-relatedchildren.Thechildrenofthegroupwillnotbedisplayedunlesstheparentofthegrouphasspecificsupportfordisplayingthegroupedchildren,e.g.thepanelForm.
inputFile
ComponentName:
∙ADF:
inputFile
∙Trinidad:
inputFile
ChangedAttributes:
ADF
Trinidad
Notes
(n/a)
contentStyle
usecontentStyletosetthestyleforthecontentpartoftheinputFilecomponent.Forexample,ifyouwanttheinputfieldtobe300pixelswide,youcandothis:
contentStyle="width:
300px".InADF,inlineStylewastheclosestequivalent,butinlineStylewasrenderedonboththelabelandthecontent.InTrinidad,inlineStyleandstyleClassarerenderedontherootdomelement.
tip
(removed)
usethenewhelpfacet-seebelow.ToupgradeputanoutputTextinthenewhelpfacetandsettheoutputText's'value'attributetotheoldtiptext.
valign
(removed)
wedefaultthistolookcorrect,sothisattributeisnotneeded.YoucanusestyleClassandskinningtogethertooverridethedefaultverticalalignmentofthelabelandcontents.
ChangedFacets:
ADF
Trinidad
Notes
(n/a)
help
informationtohelptheuserfillinafield
inputText
ComponentName:
∙ADF:
inputText
∙Trinidad:
inputText
ChangedAttributes:
ADF
Trinidad
Notes
(n/a)
contentStyle
usecontentStyletosetthestyleforthecontentpartoftheinputTextcomponent.Forexample,ifyouwanttheinputfieldtobe300pixelswide,youcandothis:
contentStyle="width:
300px".InADF,inlineStylewastheclosestequivalent,butinlineStylewasrenderedonboththelabelandthecontent.InTrinidad,inlineStyleandstyleClassarerenderedontherootdomelement.
messageDescUrl
(removed)
seemessagingframeworkdocumentation
messageTargetFrame
(removed)
seemessagingframeworkdocumentation
styleClass
styleClass
IfinADF,styleClassandinlineStylewererenderedonthelabelandthe.InTrinidad,theseattributesarerenderedontherootdomelement.
IfyouusedoneofthefollowingpublicstyleclassesasthestyleClassattributevalue:
∙AFFieldText
∙AFFieldTextLTR
∙AFPhoneFieldText
∙AFPostalCodeFieldText
∙AFAddressFieldText
∙AFFieldNumber
thenyouwillneedtoappend 'Marker' totheendofthename.
ForexamplestyleClass="AFFieldNumber"isnowstyleClass="AFFieldNumberMarker".Thiswillensurethatonlythe'content'piece(andnotthe'label'piece)oftheinputTextcomponentwillbestyledasAFFieldNumber.Youcanstillmodifythepublicstyledefinitionsanditwillbepickedupbyusingthe"Marker"styleclassbecauseinourbaseskinimplementationwemaptothepublicstylebydoingthis:
af|inputText.AFFieldNumberMarker:
:
content{-tr-rule-ref:
selector(".AFFieldNumber")}.Werecommendthatyoudonotaddstylepropertiestothe"Marker"styleclasses.Theyareusedsolelyinthecssdescendantselectortopointtothecontentpseudo-element.
tip
(removed)
usethenewhelpfacet-seebelow.ToupgradeputanoutputTextinthenewhelpfacetandsettheoutputText's'value'attributetotheoldtiptext.
valign
(removed)
wedefaultthistolookcorrect,sothisattributeisnotneeded.YoucanusestyleClassandskinningtogethertooverridethedefaultverticalalignmentofthelabelandcontents.
ChangedFacets:
ADF
Trinidad
Notes
(n/a)
help
informationtohelptheuserfillinafield
message
ComponentName:
∙ADF:
message
∙Trinidad:
message
ChangedAttributes:
ADF
Trinidad
Notes
tip
(removed)
usethenewhelpfacet-seebelow.ToupgradeputanoutputTextinthenewhelpfacetandsettheoutputText's'value'attributetotheoldtiptext.
ChangedFacets:
ADF
Trinidad
Notes
(n/a)
help
informationtohelptheuserfillinafield
menuPath
ComponentName:
∙ADF:
menuPath
∙Trinidad:
navigationPath
menuTree
ComponentName:
∙ADF:
menuTree
∙Trinidad:
navigationTree
ChangedAttributes:
ADF
Trinidad
Notes
startDepth
startLevel
Thestartinglevel,basedona0basedindex,inthenavigationModeltorenderbasedonthefocusPathofthenavigationModel.
navigationLevel(formerlymenuBar,menuButtons,menuChoice,menuList,andmenuTabs)
ComponentName:
∙ADF:
menuBar,menuButtons,menuChoice,menuList,andmenuTabs
∙Trinidad:
navigationLevel
ChangedAttributes:
ADF
Trinidad
Notes
disabledor(n/a)
disabled
Whetherthecomponentisdisabled.
(n/a)
hint
Howthenavigationalitemsaredisplayed.Optionsare:
∙bar
∙buttons
∙choice
∙list
∙tabs
listStyleor(n/a)
styleClass
Thestyleofthelistshouldbeencompassedthroughskinninginstead.
startDepth
level
titleor(n/a)
title
Textthatdescribestheitems.(Thisattributeisonlyapplicableiftherenderinghintsupportsit,e.g."choice".)
AdditionalNotes:
∙ThiscomponentconsolidatestheoldmenuBar,menuButtons,menuChoice,menuList,andmenuTabscomponentsintoasinglecomponent,navigationLevel.
∙Somecontainercomponentswillautomaticallyapplyasuggestedrenderinghintifahard-codedvalueisnotdefined.
∙ValidchildrenforthiscomponentarenowonlycommandNavigationItemcomponents--itencompassesfunctionalitythatusedtobeprovidedbygoMenuItemandcommandMenuItem.
objectImage
ComponentName:
∙ADF:
objectImage
∙Trinidad:
objectImage
ChangedAttributes:
ADF
Trinidad
Notes
align
(removed)
Obsolete.Thisitemrepresentsdeprecatedattributesontheimagetag.UsestyleClassorinlineStyleattributes.
borderWidth
(removed)
Obsolete.Thisitemrepresentsdeprecatedattributesontheimagetag.UsestyleClassorinlineStyleattributes.
height
(removed)
Obsolete.UsestyleClassorinlineStyleattributes.
width
(removed)
Obsolete.UsestyleClassorinlineStyleattributes.
AdditionalNotes:
∙None
objectSeparator
ComponentName:
∙ADF:
objectSeparator
∙Trinidad:
objectSeparator
ChangedAttributes:
ADF
Trinidad
Notes
(none)
inlineStyle
thisattributewasadded
(none)
styleClass
thisattributewasadded
outputLabel
ComponentName:
∙ADF:
outputLabel
∙Trinidad:
outputLabel
ChangedAttributes:
ADF
Trinidad
Notes
anchor
(removed)
Obsolete.ThisattributewasignoredinADF;itgatheredthisinformationfromthe'for'attribute.
messageType
(removed)
Obsolete,useFacesMessageinstead.
messageDescUrl
(removed)
Obsolete.Noequivalentexists.
messageTargetFrame
(removed)
Obsolete.Noequivalentexists.
panelBox
ComponentName:
∙ADF:
panelBox
∙Trinidad:
panelBox
ChangedAttributes:
ADF
Trinidad
Notes
width
(removed)
Obsolete,widthcanbesetusinginlineStyle.
(n/a)
contentStyle
thisistheinlinestyleforthecontentregiononly.
AdditionalNotes:
∙ThedefaultwidthofthepanelBox(whichusedtobe33%)hasbeenremoved.PanelBoxwillnowgrowwithitscontentunlessitisinageometrymanagedcomponentorthewidthininlineStyleisset.
panelForm
ComponentName:
∙ADF:
panelForm
∙Trinidad:
panelForm
ChangedAttributes:
ADF
Trinidad
Notes
width
inlineStyleorstyleClass
Obsolete.ThisattributeisnolongerneededbecausewidthcanbedefinedexplicitlythroughtheinlineStyleattributeorimplicitlythroughthestyleClassattribute.
panelHeader
ComponentName:
∙ADF:
panelHeader
∙Trinidad:
panelHeader
ChangedAttributes:
ADF
Trinidad
Notes
shortText
(removed)
Obsolete,noreplacem
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Oracle ADF API 升级到Trinidad 升级 Trinidad
![提示](https://static.bdocx.com/images/bang_tan.gif)