Adding Hrefs to radio buttons

I would like to have the text next to my radio buttons be links that I can
click
on to bring up other pages. Is there any way to do this in Jato? When creating
the Radio buttons, there is only one tag for this in the jsp. I then create the
text by using an OptionList. However this is just a list of plain strings.
My only other option would be to merely create the radio buttons as usual with
Jato and plain text in the OptionList and then have a View button so that when
one is selected, then I go to that page.
However, my first preference are the hrefs. Is this possible in Jato?
Belinda

Belinda,
In all honesty, I have never seen an HTML page that employs the style
you are suggesting. Is this requirement coming from the human factors
group? Normally, radio buttons are for gathering input from a user from
a small set of mutually exclusive choices, while HREFs are for direct
user activation. They are semantically incompatible elements in my
opinion, but I am willing to be convinced otherwise.
Belinda Garcia wrote:
I would like to have the text next to my radio buttons be links that
I can click
on to bring up other pages. Is there any way to do this in Jato? When
creating
the Radio buttons, there is only one tag for this in the jsp. I then
create the
text by using an OptionList. However this is just a list of plain
strings.
My only other option would be to merely create the radio buttons as
usual with
Jato and plain text in the OptionList and then have a View button so
that when
one is selected, then I go to that page.
However, my first preference are the hrefs. Is this possible in Jato?
Belinda
[Image]
>
For more information about JATO, including download information,
please visit:
http://developer.iplanet.com/tech/appserver/framework/index.jsp
[Non-text portions of this message have been removed]

Similar Messages

  • Adding Radio Button dynamically, twice - Error #2025: The supplied DisplayObject must be a child of

    Hello
    I am having some trouble adding UI controls dynamically. Mostly with radio buttons.
    Here is an example that demonstrates my problem:
    <s:Application
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark" 
        xmlns:mx="library://ns.adobe.com/flex/mx"
        creationPolicy="all"
        >
        <fx:Script>
            <![CDATA[ 
                import mx.containers.Form;
                import mx.containers.Panel;
                import mx.controls.Label;
                import mx.controls.NumericStepper;
                import mx.controls.RadioButton;
                private var theChar:String = "B";
                protected function btnAdd_clickHandler(event:MouseEvent):void
                    var theForm:Form = new Form();               
                    theForm.label = theChar;
                    //1. Label
                    var myLabel:Label = new Label();
                    myLabel.text = "My Label";
                    myLabel.width=120;
                    theForm.addChild(myLabel);
                    //2. Numeric Stepper
                    var myNumStepper:NumericStepper = new NumericStepper();
                    myNumStepper.id = "numPointHigh" + theChar;
                    myNumStepper.name = "numPointHigh" + theChar;
                    myNumStepper.minimum = 0;
                    myNumStepper.maximum = 120;
                    myNumStepper.width = 50;
                    myNumStepper.height = 30;
                    theForm.addChild(myNumStepper);
                    //3. radio button
                    var myRadioButton:RadioButton = new RadioButton;
                    myRadioButton.id = "myRadioButton" + theChar;
                    myRadioButton.name = "myRadioButton" + theChar;
                    myRadioButton.label = "my radio button";
                    myRadioButton.selected = true;
                    theForm.addChild(myRadioButton);
                    //4. Panel
                    var thePanel:Panel = new Panel();
                    thePanel.width = 300;
                    thePanel.height = 475;
                    thePanel.name=theChar;
                    thePanel.title = "My Profile Panel";
                    thePanel.setStyle("backgroundColor", "blue");
                    //add the form to the panel
                    thePanel.addChild(theForm);
                    //add the Panel to the list control
                    myList.addChild(thePanel);
                protected function btnClear_clickHandler(event:MouseEvent):void
                    var numChildren:Number = myList.numChildren;
                    for(var i:Number=numChildren - 1; i > -1; i--){
                        myList.removeChildAt(i);
            ]]>
        </fx:Script>
        <mx:VBox width="100%">
            <mx:List id="myList" />
            <mx:Button id="btnAdd" label="Add a panel" click="btnAdd_clickHandler(event)" color="black"/>
            <mx:Button id="btnClear" label="Clear" click="btnClear_clickHandler(event)" color="black" />
        </mx:VBox>
    </s:Application>
    ^ Run that. Click the "Add a panel" button. Then click "Clear". Then click the "Add a panel" button again. You will see the error:
    ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
        at flash.display::DisplayObjectContainer/getChildIndex()
        at mx.core::Container/getChildIndex()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core \Container.as:2833]
        at mx.containers::Panel/getChildIndex()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\co ntainers\Panel.as:1174]
        at mx.controls::RadioButtonGroup/breadthOrderCompare()[E:\dev\4.0.0\frameworks\projects\fram ework\src\mx\controls\RadioButtonGroup.as:600]
        at mx.controls::RadioButtonGroup/breadthOrderCompare()[E:\dev\4.0.0\frameworks\projects\fram ework\src\mx\controls\RadioButtonGroup.as:611]
        at mx.controls::RadioButtonGroup/breadthOrderCompare()[E:\dev\4.0.0\frameworks\projects\fram ework\src\mx\controls\RadioButtonGroup.as:611]
        at Array$/_sort()
        at Array/http://adobe.com/AS3/2006/builtin::sort()
        at mx.controls::RadioButtonGroup/http://www.adobe.com/2006/flex/mx/internal::addInstance()[E:\dev\4.0.0\frameworks\projects \framework\src\mx\controls\RadioButtonGroup.as:465]
        at mx.controls::RadioButton/addToGroup()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\c ontrols\RadioButton.as:574]
        at mx.controls::RadioButton/commitProperties()[E:\dev\4.0.0\frameworks\projects\framework\sr c\mx\controls\RadioButton.as:514]
        at mx.core::UIComponent/validateProperties()[E:\dev\4.0.0\frameworks\projects\framework\src\ mx\core\UIComponent.as:7772]
        at mx.managers::LayoutManager/validateProperties()[E:\dev\4.0.0\frameworks\projects\framewor k\src\mx\managers\LayoutManager.as:572]
        at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.0.0\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:730]
        at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.0.0\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1072]
    I do not understand why I cannot re-add the radio button? If you comment out the code for the radio button (comment section #3.) you can re-add the panels easily. It is only happening when I have radio buttons being added to the form/panel.
    Why is this happening and how do I fix it? Why is this only happening to radio buttons? I thought I had this fixed

    ^ well, okay, but that's not the problem.
    here, i removed list and replaced with Panel. same problem on the radio buttons.
    <s:Application
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark" 
        xmlns:containers="com.dougmccune.containers.*"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        creationPolicy="all"
        >
        <fx:Script>
            <![CDATA[ 
                import mx.containers.Form;
                import mx.containers.Panel;
                import mx.controls.Label;
                import mx.controls.NumericStepper;
                import mx.controls.RadioButton;
                private var theChar:String = "B";
                protected function btnAdd_clickHandler(event:MouseEvent):void
                    var theForm:Form = new Form();               
                    theForm.label = theChar;
                    //1. Label
                    var myLabel:Label = new Label();
                    myLabel.text = "My Label";
                    myLabel.width=120;
                    theForm.addChild(myLabel);
                    //2. Numeric Stepper
                    var myNumStepper:NumericStepper = new NumericStepper();
                    myNumStepper.id = "numPointHigh" + theChar;
                    myNumStepper.name = "numPointHigh" + theChar;
                    myNumStepper.minimum = 0;
                    myNumStepper.maximum = 120;
                    myNumStepper.width = 50;
                    myNumStepper.height = 30;
                    theForm.addChild(myNumStepper);
                    //3. radio button
                    var myRadioButton:RadioButton = new RadioButton;
                    myRadioButton.id = "myRadioButton" + theChar;
                    myRadioButton.name = "myRadioButton" + theChar;
                    myRadioButton.label = "my radio button";
                    myRadioButton.selected = true;
                    theForm.addChild(myRadioButton);
                    //4. Panel
                    var thePanel:Panel = new Panel();
                    thePanel.width = 300;
                    thePanel.height = 475;
                    thePanel.name=theChar;
                    thePanel.title = "My Profile Panel";
                    thePanel.setStyle("backgroundColor", "blue");
                    //add the form to the panel
                    thePanel.addChild(theForm);
                    //add the Panel to the list control
                    myContainer.addChild(thePanel);
                protected function btnClear_clickHandler(event:MouseEvent):void
                    var numChildren:Number = myContainer.numChildren;
                    for(var i:Number=numChildren - 1; i > -1; i--){
                        myContainer.removeChildAt(i);
            ]]>
        </fx:Script>
        <mx:VBox width="100%">
            <mx:Panel id="myContainer" />
            <mx:Button id="btnAdd" label="Add a panel" click="btnAdd_clickHandler(event)" color="black"/>
            <mx:Button id="btnClear" label="Clear" click="btnClear_clickHandler(event)" color="black" />
        </mx:VBox>
    </s:Application>
    Any idea why radio buttons causing this to happen? If I comment out the radio button, this works fine. This is really baffling me.
    The exception is thrown when the dynamically created panel (thePanel) is added to the main Panel (myContainer):
    myContainer.addChild(thePanel); <--- causes the exception!
    ^ Why would radio buttons make a difference on "thePanel"?? How can I enforce parent-child relationship, explicitly? .parent is read-only

  • Adding a radio button to a popup

    Hi all
    I have a command button when clicked on it a popup should come and it should display all the Digital certificate names stored in the system in the form of radio button along with certificate names.
    Presently when clicked on command button, the button calls a method in AMIMPL which returns the name of the certificate.
    Now my requirement is a pop should be invoked (This is already done using invoke POPUP method )and the certificate name should be displayed on the popup along with radio button.
    Now please let me know how to pass the certificate name and radio button to popup
    Could anyone help me.
    Thanks in advance.

    This is my managed bean code :-
    public class custom {
    private RichDialog dial;
    private RichPopup hellopopup;
    public custom() {
    public void showPopup(PopupFetchEvent popupFetchEvent) {
    // Add event code here...
    RichOutputText newText = new RichOutputText();
    RichSelectBooleanRadio radio = new RichSelectBooleanRadio();
    newText.setValue("Hello");
    dial.getChildren().add(newText);
    dial.getChildren().add(radio);
    public void setHellopopup(RichPopup hellopopup) {
    this.hellopopup = hellopopup;
    public RichPopup getHellopopup() {
    return hellopopup;
    public void setDial(RichDialog dial) {
    this.dial = dial;
    public RichDialog getDial() {
    return dial;
    public void hello() {
    // Add event code here...
    RichPopup.PopupHints hints = new RichPopup.PopupHints();
    hellopopup.show(hints);
    and this is my jspx page code :-
    <f:view>
    <af:document id="d1" initialFocusId="it1">
    <af:messages id="m1"/>
    <af:form id="f1" defaultCommand="cb1">
    <af:commandButton text="commandButton 1" id="cb2"
    action="#{custom.hello}" partialSubmit="true"/>
    <af:popup id="p2" popupFetchListener="#{custom.showPopup}"
    binding="#{custom.hellopopup}">
    <af:dialog id="d3" binding="#{custom.dial}"/>
    </af:popup>
    </af:document>
    </f:view>
    This will work for sure.
    Regards,
    Shah

  • Adding radio button to each row of an interactive report: possible or not?

    First of all let me explain what the point of this application is.
    I'm making an application that allows a user to select something out of a drop-down select list. This list is a list of categories for food. Let's say the user selects "Fruit".
    Then the page refreshes and shows an interactive report with a list of food that belongs to the category of fruit.
    Here's where I want to change things:
    I want the user to see the interactive report, but in this interactive report I want to add a radio button for each row.
    Then, when a certain type of food is selected (let's say "Strawberry") via the radio button, a text field should appear underneath the interactive report. In this textfield, the user can then add the weight of the food item, and then it will calculate how many carbs there are in the strawberry.
    All I really want to know is:*
    How do I add a radio button to each row of the interactive report, and how do I link this radio button to the value of that particular row?*
    Additional information:
    The item "P17_FOOD_CATEGORY" contains the following LOV:
    select FOODCATEGORYNAME as display_value, FOODCATEGORYID as return_value
    from FOODCATEGORY
    order by 1
    The "Food" region contains the following source:
    select a.FOODID, a.NAME, b.FOODCATEGORYNAME, c.STANDARDAMOUNT, c.NAME Unit
    from FOOD a inner join FOODCATEGORY b
    on a.FOODCATEGORYID = b.FOODCATEGORYID join FOODUNIT c
    on a.FOODID = c.FOODID
    where a.FOODCATEGORYID = :P17_SET_CATEGORY
    EDIT:
    PLEASE! Even if you don't know a good answer or if you are unsure about your answer, do post! Even suggestions would be welcome! I really need all the help I could get, even if it's not much.
    Edited by: 917169 on Feb 29, 2012 12:25 AM

    Hi there!
    I tried to change my code to your version, but then I get an error message:
    Error Unable to change Interactive Report query.
    ORA-12899: value too large for column "APEX_040100"."WWV_FLOW_WORKSHEET_COLUMNS"."DB_COLUMN_NAME" (actual: 32, maximum: 30)
    I don't quite know what this means. After doing a quick search on the internet, I know that this message should mean that the length of the value for the columns named "APEX_040100", "WWV_FLOW_WORKSHEET_COLUMNS" and "DB_COLUMN_NAME" is too long. But, I don't have these columns. I searched for them in my object browser, and they can't be found in any table related to my application.
    I'm sure your answer is the solution, but do you perhaps have an idea on how to solve this error? I checked the allowed maximum length for any column value that is related to my application, but they all have "50" set as the maximum value...
    Thank you for your reply. ;)

  • Adding Radio button & regular button to selection-screen without new gui

    Hi,
    Is there a way to add a radio button & regular button to a selection-screen without having to create a new gui, status and etc?
    Thanks,
    John

    Hi
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 4(30) TEXT-001 FOR FIELD P_1.
    SELECTION-SCREEN POSITION 1.
    PARAMETERS: P_1 RADIOBUTTON GROUP R1 DEFAULT 'X'.
    SELECTION-SCREEN END   OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 4(30) TEXT-002 FOR FIELD P_2.
    SELECTION-SCREEN POSITION 1.
    PARAMETERS: P_2 RADIOBUTTON GROUP R1.
    SELECTION-SCREEN END   OF LINE.
    Where the symbols text TEXT-001 and TEXT-002 have the label for the radiobuttons
    Max

  • ADDING RADIO BUTTONS IN REPORT NEAR MISS (EHSM-NWBC)

    Hi Experts,
    I am new to this EHSM Enhancements , I have a requirement to add 3 radio buttons in Report Near Miss ( EHSM-NWBC ), I am not understanding this BOPF firm Enhancement .So please provided me the required information .
    Thanks & Regards.
    Bhushan K.   

    Hi Bhushan,
    If you want to add 3 radio buttons, then first of all you have to append one field in EHHSSS_INC_BASIC_INFO_ALL_D structure with Fixed Domain values.
    Then you need to enhance EHHSS_INC_REC_NRM_QAF_V3_BSCI component Configuration.
    In that Configuration you need to add field with display type Radio Button Group, with column count 3.
    Kindly refer the following snap for the same.
    Thanks and regards,
    Chetan P. Patil

  • Adding radio button on a custom infotype!!

    hi
    how do u add a radio button on a custom infotype?
    thx
    gunjan

    hi
    how do u add a radio button on a custom infotype?
    thx
    gunjan

  • Adding function code dynamically for radio buttons

    Hi Experts,
             I have two  radio buttons in standard screen which when clicked my custom logic should be executed.
    The issue here is the standard screen radio button does not have a Fcode assigned in the field properties because of this no event is triggered when the radio button is selected.
    Thank You,
    Anupama.

    Hi anu,
         Try the following procedure,
    - Combine all the radio buttons into a group. T
    - Create a common function code for all the radio buttons. F
    - Assign all the radio buttons to the same modification group. F
    - Enclose all entire radio button in a frame. F
    Also check the website it help u as u need,
    [http://help.sap.com/saphelp_nw04/Helpdata/EN/3d/c3b23782a9cc68e10000009b38f8cf/content.htm]
    Hope it helps u....
    Regards,
    Annevit

  • Adding Radio Button in a Table

    Hi
    I need to create a table in which there has to be a column for radio button.
    The radio button will be used to set one row as default row (row corresponds to template in application) i.e i need to set 1 template as default.
    I feel that this cannot be done using SingleSelection of table since i also need to set initial value of radio from database (which will be the radio selected previously)
    Now how can this be implemented using RadioGroup.
    If it is possible in any other way please advice
    Thanks
    Husain

    You should be able ti use the SingleSelection feature. In your CO processRequest, identify the Row which need to be selected based on your business logic, and set the value of the Attribute mapped to Select Field to 'Y'.
    The Radio button select/unselect is controlled by the value of the mapped to Selection field('Y' - Select, N - unselect).
    Hope this helps.
    Srini

  • Adding radio button fields to structure

    Hi,
    I have two fields in a structure, which domain i need to use so that i will get radio button in SRM browser like yes and no.
    Regards
    Badari

    Hi Badri,
      It is not the domain that determines if a field has to be displayed as a radio-button or a checkbox.
    for example:
    parameters : p_cb type xfeld as checkbox.
    parameters: p_rb1 type xfeld radiobutton group RB1,
                p_rb2 type xfeld radiobutton group RB1.
    Regards,
    ravi

  • Adding Radio buttons to table cell

    Hi,
    Im a beginner in JAVAFX, i would like to add a radio button to table cell.
    Please could anybody help us on this.
    Thanks,
    Dhanraj

    Hi,
    Im a beginner in JAVAFX, i would like to add a radio button to table cell.
    Please could anybody help us on this.
    Thanks,
    Dhanraj

  • SAPScript - Adding new radio button

    Hi all,
    Apparently, my user wants to add additional radio buttons underneath Transaction Code VF31, so that the user can determine which SAPScript form to be printed out using the above appended radio buttons.
    VF31 will call program SD70AV3A, when execute the program, it shows a list of billing invoices, and then it will print the form according to the selection in transaction VF31. Therefore, does anyone knows how to add radio buttons in a standard button?
    Thanks and cheers,
    Patrick

    These are the user exits available for VF31.
    VCOM0001            Fill Output Communication Areas - Application V6
    VCOM0002            Fill Output Communication Areas - Application E1
    VCOM0003            Fill Output Communication Areas - Application M1
    VCOM0004            Fill Output Communication Areas - Application V7
    VN000001            Customer exits in output determination
    But none of them has the screen exit to add radio buttons..

  • Using a Radio Button to Disable Multiple Checkboxes

    Hi everyone,
    My name is Christian and I am trying to design a form using Adobe Designer 7 that when a user selects a group of two radio buttons (one marked Macintosh and one marked Windows) it automatically disables 3 or 4 checkboxes of various software applications further down the page.
    The idea is if you select the Windows radio button, you would not be able to select the iWorks or StuffIT checkboxes (as that is Mac software), but conversely if you check Macintosh radio button the iWorks and StuffIT checkboxes activate but the Office 2003 and Microsoft Money checkboxes deactivate (because that is Windows software).
    Im not really a developer so any assistance would be appreciated. Thanks for reading and have a great day! :-)
    Christian

    I suspect that you have a problem in some portion of your code that you have not posted. To help debugging I suggest you create a simple test using two pages: input.cfm and action.cfm.  Get the most simple case working then add the javascript, css, and CF code to make your application work.
    <!--- contents of input.cfm --->
    <html>
    <head>
         <title>Input</title>
    </head>
    <body>
         <form action="action.cfm" method="POST">
              Choose type: <br />
              <input name="type" type="radio" value="male" />     Male<br />
              <input name="type" type="radio" value="female" /> Female<br />
              <input type="submit" />
         </form>
    </body>
    </html>
    <!--- content of action.cfm --->
    <html>
    <head>
         <title>Action</title>
    </head>
    <body>
         <cfif form.type eq "male">
              Type is male.
         <cfelseif form.type eq "female">
              Type is female.
         </cfif>
         Here is a cfdump of the form variables:<br />
         <cfdump var="#form#" />
    </body>
    </html>
    Message was edited by: JR "Bob" Dobbs
    Added sample for action.cfm

  • Creating a radio button group in a column of a table in Web Dynpro

    Hi,
    I want to put a radio button group in a column of a table in Webdynpro. I added a column to a web dynpro view and then inserted a tableCellEditor for that column.. But I cannot define it as Radio Button group. I want the user to be able to select 3 statuses using this group.
    Does anyone have a solution for this??
    Thanks in advance...
    Nakul

    Hi,
    You wont be able create three RB in one cell.
    Create as many column as the no of options is.Here it is 3.
    Create 4 attributes inside the node , option 1,option 2,option 3 and selectedoption.
    Map each RB s keytoSelect to option 1,2,3. Map all the RBs selectedKey atribute to selectedoption.
    Now selection for each row will be stored in the selected option.
    Regards
    Bharathwaj

  • Values of checkboxes and radio buttons not recognised

    Hi folks,
    I have a bit of a strange problem and I'm hoping you can help shed some light.
    Basically I have a form with various elements in it, some of which seem to have a problem telling my pl/sql code what their values are. The culprits seem to be radio buttons and check boxes. Now those are individual items created with the wizard within a specific section if the outcome is different from sql created form elements in tables.
    The radio buttons is one field, let's call it :P100_RADIO which returns either 'AB', 'CD' or 'EF'. The checkbox, let's call it :P100_CHECKBOX is just one checkbox returning the value 'Y' if it's checked.
    after submit, I have a process which among other things checks the value returned by those two elements to set a variable v_paid either as 'Y' or 'N'
    as a small summary of what I'm trying to do, here's a code snippet:
    v_checkbox varchar2(1);
    v_paid varchar2(1);
    begin
    v_checkbox := :P100_CHECKBOX;
    if v_checkbox is not null AND :P100_RADIO = 'CD' THEN
      v_paid := 'Y';
    else
      v_paid := 'N';
    end if;
    end;If I submit my form I get the error message
    "ORA-06502: PL/SQL: numeric or value error: character to number conversion error"If I change the condition to v_checkbox is not null only, I get the same error
    If I change it to v_checkbox != '' I don't get an error but v_paid is set with 'N'
    If I change it to v_checkbox = 'Y', I get the same error again
    If I change it to *:P100_RADIO = 'CD'* only, I get the error as well.
    I also mistakenly tried v_checkbox is null and it submitted fine, though the value of v_paid was still 'N'
    I've tried changing the varchar2(1) to something greater, up to varchar2(4000) but that didn't make any difference.
    So I seem to understand there's a discrepancy of types somewhere but I can't work out where or how to change that. In my code an insert is performed after the if statement and the value of :P100_RADIO is added to the table with the expected value.
    After looking at the source of the page produced by Apex, I also tried to replace :P100_CHECKBOX with :P100_CHECKBOX_0 but that didn't make a difference either. It's possible Apex thinks :P100_RADIO and :P100_CHECKBOX are supposed to return some sort of arrays but just why it would just return a string in an sql statement beats me.
    The worst thing is, I'm fairly certain the code worked the first time I implemented it. So if anyone has any idea of what's going on that would be quite helpful. As always, I have a nagging suspicion it's a silly tiny mistake somewhere I just can't see.
    Thanks folks :)

    okay here's the code for the whole procedure. Some variable names have been changed but it's otherwise the same code:
    DECLARE
    v_total_cost     NUMBER(10,2);
    v_deposit        NUMBER(10,2);
    v_remaining      NUMBER(10,2);
    v_payment_type   varchar2(2);
    v_checkbox       varchar2(4000);
    v_user           varchar2(4000);
    v_bok_paid       varchar2(1);
    v_msg            varchar2(4000);
    BEGIN
    v_total_cost     := :P100_COST;
    v_deposit        := :P100_DEPOSIT;
    v_remaining      := v_total_cost - v_deposit;
    v_payment_type   := :P100_PAYMENT_AMOUNT;
    v_checkbox       := :P100_CHECKBOX;
    v_user           := :APP_USER;
    --wwv_flow.debug('before condition');
    if v_checkbox != '' AND :P100_RADIO = 'CD' THEN
      v_bok_paid := 'Y';
    else
      v_bok_paid := 'N';
    end if;
    --wwv_flow.debug('after condition');
    IF v_payment_type  = 'D' THEN
    :P100_AMOUNT_TO_PAY := :P100_DEPOSIT;
    INSERT INTO SAL_TRANSACTIONS (TRA_BKG_ID, TRA_COST, TRA_TOTAL,TRA_TYPE, TRA_PAID, TRA_PAY_TYPE, TRA_DATE, TRA_MANUAL, TRA_USER)
    VALUES (:P100_BKG_ID, 0, v_deposit, v_payment_type, v_bok_paid, :P100_RADIO, SYSDATE, v_checkbox, v_user);
    INSERT INTO SAL_TRANSACTIONS (TRA_BKG_ID, TRA_COST, TRA_TOTAL,TRA_TYPE, TRA_PAID, TRA_PAY_TYPE, TRA_DATE, TRA_MANUAL, TRA_USER)
    VALUES (:P100_BKG_ID, 0, v_remaining, 'L','N', null, SYSDATE, v_checkbox, v_user);  
    ELSIF v_payment_type  = 'F' THEN
    :P100_AMOUNT_TO_PAY := :P100_COST;
    INSERT INTO SAL_TRANSACTIONS (TRA_BKG_ID, TRA_COST, TRA_TOTAL,TRA_TYPE, TRA_PAID, TRA_PAY_TYPE, TRA_DATE, TRA_MANUAL, TRA_USER)
    VALUES (:P100_BKG_ID, 0, v_total_cost, :P100_PAYMENT_AMOUNT, v_bok_paid, :P100_RADIO, SYSDATE, v_checkbox, v_user);
    END IF;
    :P100_TRANSACTION_FLAG := '1';
    if v_bok_paid = 'Y' then
    v_msg := '<div>Message clipped</div>';
    --send confirmation email
    GLO_CORRESPONDANCE.proc_corr_controller(
    :P100_BOOKING_MEMBER_ID,
    :P100_BKG_ID,
    null,
    v_msg,
    'E',
    'Payment confirmation',
    null
    end if;
    END;Thanks :)

Maybe you are looking for

  • Adobe Media Encoder (AME) Freezes Machine in Windows 8.1

    I'm running adobe CC on win 8.1 and every time I render a video from After Effects to AME the whole machine freezes and I would have to restart at that time...Any one running through the same issue?? Any solutions?? Thanks TK

  • Extra Hard Drive

    I am running a Mac Mini and have used Boot Camp to load both Mac OSX and Windowa XP. They work fine , each with about 30 GB of Hard Drive. I now want to expand the Hard Drive capacity , equally for both Operating Systems. I have a free-standing 120 G

  • Chnaging the query string

    Hi there guys!!! I am really in love with jasper report, but i need some information on how to change the query string of the .xml file in a java application using the prepared statement. your help is really needed...

  • How to parse XML and store the data in  tables using sql or plsql?

    I want to parse the xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <xmlListWrapper>     <size>2</size> <AppTypeID>10</AppTypeID> </xmlListWrapper> and store in a table |pk|apptypeid| 1     10

  • Photo printing- A4 page- page size is incorrect?

    Hi, I have a HP 7500 Printer I have a photo in 3:2 ratio, A4 page.  I try to print but it spits out the page and says 'Paper mismash. Paper size or type is incorrect. Press ok to cancel job. Anyone able to help? Thanks Pa.