Appropriate Phase for Conversions - JSF 1.1 Spec. Contradiction?

It seems that the JSF 1.1 Specification has contradictions:
From Section "3.3.2 Converter" it reads:
+This method [getAsObject] is used to convert the presentation view of a component’s value+
+(typically a String that was received as a request parameter) into the corresponding+
+model view. It is called during the Apply Request Values phase of the request+
processing lifecycle.
Then there's there's this quote from Section "2.2.2 Apply Request Values":
Components that implement EditableValueHolder (such as UIInput), and
whose immediate property is set to true, will cause the conversion and
validation processing (including the potential to fire ValueChangeEvent events)
+that normally happens during Process Validations phase to occur during Apply+
Request Values phase instead.
How can it be that conversion "normally happens during Process Validations phase"
when a converter's getAsObject method is called called "during the Apply Request Values
phase?"
In practice, using the Sun RI and without any immediate flags being set, it happens
in the Process Validations phase.
BeforePhase: RESTORE_VIEW 1
AfterPhase: RESTORE_VIEW 1
BeforePhase: APPLY_REQUEST_VALUES 2
AfterPhase: APPLY_REQUEST_VALUES 2
BeforePhase: PROCESS_VALIDATIONS 3
-----UpperNameConverter.getAsObject() called for name
-----making a new CustomerSearchBean
-----lettersOnlyValidator() called for name
-----CustomerSearchBean.getName() called
AfterPhase: PROCESS_VALIDATIONS 3
BeforePhase: UPDATE_MODEL_VALUES 4
Am I missing something or is the specification contradicting itself?

The description of Std HTML Renderkit (8.5 ) as well as the Std HTML tag library will be updated by the next release. In the mean time, please refer to the TLD. Sorry for the confusion if any.
-Jayashri

Similar Messages

  • What are the steps to define a phase listener in JSF 1.1?

    Hello everyone...
    Implementing a page listener in JSF 1.2 (the one that comes with JDeveloper 11g) is very straight forward, you implement the methods getPhaseID, beforePhase,afterPhase, and then add the class into the JSF configuration file. It works like charm.
    However, doing the same thing with JDeveloper 10.1.3.4 (it comes with JSF 1.1) never works... so I was wondering... Am I missing something? What are the correct steps to do it?
    thanks in advance.

    Dear Mr. John...
    thanks for your kind reply... however, I already was able to implement the Phase Listener successfully in JDeveloper 11g with JSF 1.2 specs. And it works just fine...
    what am I asking is that I am doing exactly the same steps under JDeveloper 10.1.3.4 under JSF 1.1 specs, but it does not work at all... so what is the problem? any idea?
    best regards

  • Linking documents through the SDLC phases for audit & dependancy purposes

    Hi,
    I've got a unique requirement. I'm auditing documents through the SDLC phase and want to see documents stored under a particular phase linked to documents stored under another phase. Eg. Func req. 2 under the analyse phase is linked to form 10 under design
    phase which is linked to tech spec 5 in build phase which is linked to test scenario 1, 2, 3, 4, 5.
    Func req 2 --> form 10 --> tech spec 5 --> test scenario 1, 2, 3, 4, 5.
    Is there any way to record these links so that I can see from an auditors point of view so that I can see all the dependancies between documents in a visual structure? Ie. a org chart type format but for documents?

    Hi,
    For this issue, I'm trying to involve someone familiar with this topic to further look at it.
    Thanks,
    Wendy Li
    TechNet Community Support

  • Jsf-1_0-pfd-spec.pdf - 9.5 Standard HTML RenderKit Tag Library

    I am somewhat confused by section 9.5 in jsf-1_0-pfd-spec.pdf.
    It ends with
    "Each action included in the Standard HTML RenderKit Tag Library is documented
    in a subsection below, with the following outline for each action:"
    I however seem to miss these subsections.
    Am I interpreting something wrong or is there stuff missing?
    Thanks,
    Peter

    The description of Std HTML Renderkit (8.5 ) as well as the Std HTML tag library will be updated by the next release. In the mean time, please refer to the TLD. Sorry for the confusion if any.
    -Jayashri

  • Recommended phase for "check all" button

    Hello,
    I have a question about the recommended processing phase for an event listener that implements a "check all" button which fills a number of checkboxes on the page. Should this be in Apply Request Values, or later? And does my handler have to update only the checkbox model values, or also the checkbox UI components?
    The best analogy in the cardemo example is to CarActionListener, which handles events for setting checkboxes and dropdowns in accordance with some standard car accessory packages like "luxury," "performance," etc. This event listener executes during Apply Request Values. But I doubt this is the recommended implementation, since it seems quite inefficient in other ways.
    Specifically, I notice that the handling methods -- like processLuxury(), processPerformance(), etc. -- take it on themselves to modify not only all the model values for every car accessory, but also all the other UI components. Is this right? If the JSF framework is smart enough to maintain a binding between the model values and the UI components, can't I use that mechanism when I want one UI component to modify the state of other ones?
    Thanks,
    Alexis

    Hello,
    I have a question about the recommended processing
    phase for an event listener that implements a "check
    all" button which fills a number of checkboxes on the
    page. Should this be in Apply Request Values, or
    later? And does my handler have to update only the
    checkbox model values, or also the checkbox UI
    components?I would recommend having this listener run in Apply Request Values phase. Further, you want to make sure that your listener calls FacesContext.renderResponse() to cause the rest of the phases be skipped, so that the current page will be redisplayed.
    The best analogy in the cardemo example is to
    CarActionListener, which handles events for setting
    checkboxes and dropdowns in accordance with some
    standard car accessory packages like "luxury,"
    "performance," etc. This event listener executes
    during Apply Request Values. But I doubt this is the
    recommended implementation, since it seems quite
    inefficient in other ways.
    Specifically, I notice that the handling methods --
    like processLuxury(), processPerformance(), etc. --
    take it on themselves to modify not only all the model
    values for every car accessory, but also all the other
    UI components. Is this right? If the JSF framework is
    smart enough to maintain a binding between the model
    values and the UI components, can't I use that
    mechanism when I want one UI component to modify the
    state of other ones?
    The original code for Cardemo was written very early in the life of JavaServer Faces, and doesn't take advantage of all the newest features. This is one of the things we're reviewing before the next release, so that CarDemo illustrates the most recent recommended practices.
    Thanks,
    AlexisCraig

  • Best Practice for Conversion Workflow

    Hello,
    I'm converting video files from our "home grown" virtual media reserve to iTunes U. Some of the files are in RM format, some are already compressed .mov's (not H.264) and some I have the original DV files for.
    Anyone out there have a best practice for converting these file types for posting to iTunes U? I have Final Cut Studio (Compressor), QT Pro and Squeeze available to me.
    Any experience you have with this would be helpful.
    Thanks,
    Jeana

    For converting old files to a podcast compatible video and based on the machine you have, consider elgato turbo.264. It is a fairly priced "co-processor" for video conversion. It is comprised of an application and a small USB device with a encoder chip in it. In my experience, it is the fastest way to create podcast video files. The amount of time that you will save will pay for the device quickly (about $100). Plus it does batch conversion of any video that your system currently plays through QuickTime. it has all the necessary presets and you can create your own. It has a few minor limitations such as not supporting (at this moment) enhanced podcasting features such as chapter markers and closed-captions but since you have old files for conversion, that won't matter.
    For creating new content, the workflow varies a lot. Since you mention MP3s, I guess you are also interested in audio files. I would stick with GarageBand, especially if you are a beginner plus it supports enhanced podcasts.
    In any case the most important goal is to have the simplest and fastest way to go from recording to publication. The less editing the better. To attain that, the best methods will require the largest investments. For example, for video production the best way is to produce the content live so when you finish recording it is only a matter of encoding and publishing. that will require the use of a video switcher that can ingest at least one video camera and a computer output to properly capture presentation material. That's the minimum. there are several devices that can do this for you. Some are disguised PCs and some connect to a PC for tapeless recording. You can check the Tricaster, which I like but wish it was a Mac and not a Windows Xp PC. Other routes may include video mixers from manufacturers like Edirol, Pansonic or Sony connected to a VTR or directly to a Mac for direct-ti-disc capture. I f you look at some of the content available in iTunes U, you will see what I explain here. This workflow requires preparation and sufficient live support but you will have your material ready for delivery almost immediately after the recorded event. No editing required. Finally, the most intensive workflow is to record everything separately and edit it later, which is extremely time consuming.

  • Appropriate permissions for the custom list

    Hi,
    Recently
    I have taken up SharePoint 2013 exam and I got bit confused for one of the question i.e.
    Case Study: Consolidated Messenger
    You are the lead architect developer and web administrator of SharePoint 2013 for your company.
    Consolidated Messenger is a national company with hundreds of franchises
    Consolidated Messenger sells franchises to franchisees. Franchisees have three user types
    User and its Role
    Franchise Manager- Response for managing the franchise
    Franchise Employee- Responsible for managing accounts and setting pick-up and drop-off locations for couriers
    Courier- Responsible for picking up and dropping off packages
    You need to set appropriate permissions for the franchise employees
    customer list and customer sub site access. What should you do?
    A) Add franchise employees to the Members group in the CorporateSiteCollection site collection.
    Break inheritance at the
    franchisee sub site level.
    Create a custom role definition at the
    franchisee sub site level.
    Add franchise employees to the custom role.
    B)
    Create a custom role definition in the CorporateSiteCollection site collection with the limited access to the customers list.
    Add franchise employees to the custom role at the CorporateSiteCollection site collection
    Break inheritance at the
    sub site level.
    Add franchise owners to the Owners group
    at the
    sub site level.
    C)
    Create a custom role definition in the CorporateSiteCollection site collection with the limited access to the customers list.
    Add franchise employees to the custom role.
    Add full inheritance of the role definition and permissions at the site level
    D) Add franchise employees to the Visitors group in the CorporateSiteCollection site collection.
    Break inheritance at the
    franchisee sub site level.
    Create a custom role definition at the
    sub site level with Full Control permissions.
    Add franchise employees to the custom role.
    I feel that both options B and C are applicable but I couldn’t come to conclusion.
    Please
    share your opinion the same.
    Regards,
    Sudheer
    Thanks & Regards, Sudheer

    @Naga, As per non disclosure agreement that you have signed / agreed with Microsoft, I think you should not share confidential exam questions or answers. That would amount to violation of NDA.
    Hope this helps!
    MCITP: SharePoint 2010 Administrator
    MCTS - MOSS 2007 Configuring, .NET 2.0
    | SharePoint Architect | Evangelist |
    http://www.sharepointdeveloper.in/
    http://ramakrishnaraja.blogspot.com/

  • User Logic for Conversion Type Instead of Hard coding in query.

    Hello , Good response from SDN but thats all standard which I know. Please help me to resolve the problem as stated below. SDN friends are always best help.
    Requirement: User will select the Target Currency; Will select the Exchange Rate like Monthly Avg 002M. Now there has to be a variable in Conversion which tells the logic to pick Conversion Type ZVHGR if  Exchange Rate = 002M, but if Exchange Rate = 001, then Conversion Type ZVHMR.
    <u><b>
    Approach to solve abo</b></u>ve
    1. I have created a Currency Translation Type " FiscperConversion" "ZVHGR" now this has Exchange Rate Type from Variable "ZVARN" (Which is a variable single value manual input on 0RTYPE Infoobject for exchange rate.)
    2. Now Currency Tab: Target Currency is selected from Variable placed in the Report. ZRPVAR.
    3. Now the Variable Time Reference is used. Standard Infoobject 0FISCPER
    which is beginning of period.
    Now all the above is done. Let go to the query and For Value of kEYFIGURE "Audit Balance" in Conversion Tab Conversion Type is specified is "FiscperConversion" ZVHGR"same as above and thats it. But the problem is here user want a variable that user can select the Conversion Type Instead of Hard coding.
    <b>Please suggest how to create this variable for Conversion Type and specify in query designer since In Conversion Tab this is not allowed to have variable.</b>
    Please help me very soon
    Thanks
    Soniya Kapoor
    null

    Hello soniya
    CTK ( currency translation key) includes
    1. Exchange rate type - variable
    2. Time base              - Variable
    3. Source abd TGT currency    - variable
    if all the things are given in variable why and what extra you need by selecting currency translation key from user input. I think you should ask business user again abt their requirement.
    I can think of inputing CTK if say you have choosen time base as static ( Fix value)...say in one key u r using fiscal period as base and in other u r using calday as base...
    Thanks
    Tripple k

  • I purchased the Adobe pdf Pack to combine 50 PDF files to one and when I select them from my folder it claims "the files are not in a format not supported for conversion to PDF".  They already are pdfs, what am I doing wrong?".

    I purchased the Adobe pdf Pack to combine 50 PDF files to one and when I select them from my folder it claims "the files are not in a format supported for conversion to PDF".  They already are pdfs, what am I doing wrong?

    Moved to Adobe PDF Pack (read only)

  • What are appropriate directives for array implementation in hls

    dear friends,
      I have tried hardware implementation in VivadoHLS by passing arrays to the function in Microblaze based soc. The problem I am facing is that the RTL is not being implemented properly.Though the implementation was success for register inputs and outputs , there were no functions generated in the header files in include directory of pcores through which inputs are to be given to hardware while the input and output arguments are arrays in SDK. i need a help to know the appropriate directives for this implementation . And the functions to be used to give inputs after generating hardware and how the final outputs from the hardware are taken. Please clarify the implementation of this basic example.
    void array_add(int z[4],int x[4])
    #pragma HLS INTERFACE ap_fifo port=z
    #pragma HLS INTERFACE ap_fifo port=x
    #pragma HLS RESOURCE variable=z core=AXIS
    #pragma HLS RESOURCE variable=x core=AXIS
    #pragma HLS RESOURCE variable=return core=AXI4LiteS
    int i;
    label0:for(i=0;i<4;i++)
    z[i]=x[i];
    return;
    thanks and regards
    sasidhar

    Hi
    There are couple of directives for this. This can determine the way you want to implement your array or partition this.
    I found a good guide.
    http://users.ece.utexas.edu/~gerstl/ee382v_f14/soc/vivado_hls/VivadoHLS_Improving_Performance.pdf
    Hope this helps.
    Regards
    Sikta

  • Table T000 was not relevant for conversion in BDLS log

    Hi All,
    I am getting the below message in BDLS log  while doing logical system system conversion with BDLS.
    "Table T000 was not relevant for conversion"
    Due to this I could see old logical system entry in SCC4 instead of New converted logical entry.
    (I've gone through the forums ,but didn't find solution)
    Any Idea why I am getting this message and I triggered BDLS from client 000.
    Regards,
    Srinivas Chapa.

    Already SCC4  entry for the client has old Logical system name.
    Ex:
    Client 500
    Logical System : <PRD>CLNT500
    I need this to be change to <QAS>CLNT500 after BDLS,but it is not happening after BDLs.
    Regards,
    Srinivas Chapa.

  • BDLS : Table T000 was not relevant for conversion

    Hello,
    After a system refresh ( homogeneous system copy in ECC6), we performed the post copy procedure.
    I ran the BDLS transaction, all the tables were converted fine, exept the table 000.
    I still have in transaction SCC4 the former logical systeank you in dam defined.
    I checked the BDLS job log and found the message :
    "Table T000 was not relevant for conversion"
    I don't underdtand why ? Is it the normal behaviour ?
    Table T000 is not excluded in BDLSC ...
    Thank you in advance for your help.
    Best Regards.

    I just found out that I launched the BDLS from the client 000.

  • What is Oracle's recommendation of enabling a 3rd Party application for Online Patching? Is this a requirement with EBS R12.2 or is this something that can be done in phases for e.g.:

    Hello -
    My Oracle Partner account uses Oracle EBS, Fusion Apps and is in the process of migrating from 10g to 11g;  forwarding their question here -
    What is Oracle’s recommendation of enabling a 3rd
    Party application for Online Patching? Is this a requirement with EBS R12.2 or
    is this something that can be done in phases for e.g.
    Phase 1: Oracle EBS utilizes Online patching while
    the 3rd Party application does not leverage edition based
    redefinition for Online patching
    Phase 2: 3rd Party application is modified
    to leverage edition based redefinition Online patching mechanism.
    I would appreciate any insight/recommendations you may have
    regarding Online patching for EBS 12.2.

    This seems to be related to EBS an may be better answered in the EBS forums as this forum is dedicated to Fusion.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • I receive an error message when submitting a pdf file for conversion to a Word document "... an unex

    I receive an error message when submitting a pdf file for conversion to a Word document "... an unexpected error has occurred..."   - is there a way to overcome this error?

    I received your Scan.pdf sent to [email protected] and had no problem to convert it via Export PDF service. Could you try again?
    Jyh-Jiun Liou

  • Paid for conversion for one year but I am still asked to pay

    Paid for conversion for one year but I am still asked to pay?????

    Get in touch with support (by web chat on weekends). Maybe there is an issue with processing your payment.
    Mylenium

Maybe you are looking for