Radio Validation Widget Blocked by table formatting?

We are building a form we will be using to assess user
satisfaction with our application (university employee development)
and it contains a number of likert scale questions (one a scale of
1-5 this best addresses . . . . ). The likert scale is displayed in
a table format.
The problem is that the spry Radio validation widget
(radioRequiredMsg) will ONLY display if the table formatting is
suppressed. The table formatting appears to be blocking the spry
validation.
Anyone have any idea why this is? Or how we could solve this
problem?
Please HELP!
thanks in advance
m

Have to use the following as suggested by KPSeal:
// If you're using a JMenuJMenu menu = new JMenu("Menu 1");menu.getPopupMenu().setLightweightPopupEnabled(false); // If you're using a JPopupMenuJPopupMenu popupMenu = new JPopupMenu("Popup Menu 1");popupMenu.setLightweightPopupEnabled(false);
Best Regards,
yckok

Similar Messages

  • Text validation widget bug?

    I have used text validation in a table body like this:
    <table style="width:20%">
    <tbody id="login_val">
    <tr><td>E-Mail</td><td><input
    name="login" id="login" type="text"></td></tr>
    <tr class="textfieldRequiredMsg"><td
    colspan="2">Enter your login E-Mail.</td></tr>
    <tr class="textfieldInvalidFormatMsg"><td
    colspan="2">Enter a valid E-Mail address.</td></tr>
    </tbody>
    <tbody>
    <tr><td></td><td><input
    name="submint" id="submit" type="submit" value="Log
    In"></td></tr>
    </tbody>
    </table>
    Initialised with: var login_val = new
    Spry.Widget.ValidationTextField("login_val", "email",
    {validateOn:["blur"]});
    If there is an input error - the error table-row shows up as
    expected but the first td of the first row (the one showing the
    word 'E-Mail') suddenly has a colspan"2" on it too. (tested only in
    Firefox)
    Do I miss something here? Or is this a bug? Feature???
    Cheers from down under.

    Hello,
    I think the problem in this situation appears because of the
    CSS definition. The default definition right now to display an
    error message is:
    .textfieldRequiredState .textfieldRequiredMsg,
    display: inline;
    color: #CC3333;
    border: 1px solid #CC3333;
    When this class is used with table rows the results are
    unexpected because the table rows have a special status and cannot
    normally be displayed as an inline element. Unfortunately your
    scenario hit a browser limitation in the CSS implementation. The IE
    because it doesn't have yet support for display:table as the CSS2
    specify will render "correctly (?!)" the display:inline or
    display:block on table row elements. FF because it has correct
    support for display:table-row will work incorrectly with the inline
    as the specification mention.
    The only solution I see is to manipulate the CSS height
    property, margin and padding instead of manipulating the display if
    you want to continue to use the table structure above.
    Regards,
    Cristian

  • Using validation widgets within a data region

    My problem stems from the fact that when I place Spry Validation Widgets in a form within a Spry Data Region, the validation widgets do not work. When I remove the data region, all is well.
    Please help!
    This is a sample code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/xpath.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryData.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    var dsMembers = new Spry.Data.XMLDataSet("data/members_xml.php", "export/row", {useCache: false});
    //-->
    </script>
    </head>
    <body>
    <div spry:region="dsMembers">
      <form id="editForm" name="editForm" action="">
        <table>
          <tr id="email">
            <td>E-mail:</td>
            <td>
              <input name="email_mem" type="text" id="email_mem" value="{username}" />
              <span class="textfieldRequiredMsg">The value is required.</span>
              <span class="textfieldInvalidFormatMsg">Invalid format.</span>
            </td>
          </tr>
          <tr id="password">
            <td>Password:</td>
            <td>
              <input name="password_mem" type="password" id="password_mem" value="{password}" />
              <span class="textfieldRequiredMsg">The value is required.</span>
              <span class="textfieldMinCharsMsg">The minimum number of characters not met.</span>
              <span class="textfieldMaxCharsMsg">The maximum number of characters exceeded.</span>
            </td>
          </tr>
          <tr id="site">
            <td>Website:</td>
            <td>
              <input name="website_mem" type="text" id="website_mem" value="{buswebsite}" />
              <span class="textfieldRequiredMsg">The value is required.</span>
              <span class="textfieldInvalidFormatMsg">Invalid format.</span>
            </td>
          </tr>
          <tr id="date">
            <td>Date:</td>
            <td><input name="registrationdate_mem" type="text" id="registrationdate_mem" value="{registrationdate}" />
            <span class="textfieldInvalidFormatMsg">Invalid format.</span> <span class="textfieldRequiredMsg">A value is required.</span></td>
          </tr>
          <tr>
            <td colspan="2">
              <input type="submit" name="Submit" id="Submit" value="Submit" />
              <input name="Reset" type="reset" value="Reset" />
            </td>     
          </tr>
        </table>
      <script type="text/javascript">
        <!--
        var email = new Spry.Widget.ValidationTextField("email", "email", {validateOn:["blur"]});
        var password = new Spry.Widget.ValidationTextField("password", "none", {minChars:6, maxChars:10, validateOn:["blur"]});
        var site = new Spry.Widget.ValidationTextField("site", "url", {validateOn:["blur"]});
        var date = new Spry.Widget.ValidationTextField("date", "date", {validateOn:["blur"], format:"dd/mm/yyyy", useCharacterMasking:true});
        //-->
        </script>
      </form>
    </div>
    </body>
    </html>
    Ben

    Ben,
    You need to add a function observer that will instantiate the form widgets and  add the Form Widget Init observer to the region.
    The modified code is as follows:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/xpath.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryData.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    var dsMembers = new Spry.Data.XMLDataSet("data/members_xml.php", "export/row", {useCache: false});
    //  Define a function observer that will instantiate the form widgets.
    var widgetInitObserver = function(nType, notifier, data) {
        if(nType == 'onPostUpdate'){
            var email = new Spry.Widget.ValidationTextField("email", "email", {validateOn:["blur"]});
            var password = new Spry.Widget.ValidationTextField("password", "none", {minChars:6, maxChars:10, validateOn:["blur"]});
            var site = new Spry.Widget.ValidationTextField("site", "url", {validateOn:["blur"]});
            var date = new Spry.Widget.ValidationTextField("date", "date", {validateOn:["blur"], format:"dd/mm/yyyy", useCharacterMasking:true});
    //    add the Form Widget Init observer to the region
    Spry.Data.Region.addObserver('formregion', widgetInitObserver);
    //-->
    </script>
    </head>
    <body>
    <form id="editForm" name="editForm" action="">
      <div id="formregion" spry:region="dsMembers">
        <table>
          <tr id="email">
            <td>E-mail:</td>
            <td>
              <input name="email_mem" type="text" id="email_mem" value="{username}" />
              <span class="textfieldRequiredMsg">The value is required.</span>
              <span class="textfieldInvalidFormatMsg">Invalid format.</span>
            </td>
          </tr>
          <tr id="password">
            <td>Password:</td>
            <td>
              <input name="password_mem" type="password" id="password_mem" value="{password}" />
              <span class="textfieldRequiredMsg">The value is required.</span>
              <span class="textfieldMinCharsMsg">The minimum number of characters not met.</span>
              <span class="textfieldMaxCharsMsg">The maximum number of characters exceeded.</span>
            </td>
          </tr>
          <tr id="site">
            <td>Website:</td>
            <td>
              <input name="website_mem" type="text" id="website_mem" value="{buswebsite}" />
              <span class="textfieldRequiredMsg">The value is required.</span>
              <span class="textfieldInvalidFormatMsg">Invalid format.</span>
            </td>
          </tr>
          <tr id="date">
            <td>Date:</td>
            <td><input name="registrationdate_mem" type="text" id="registrationdate_mem" value="{registrationdate}" />
            <span class="textfieldInvalidFormatMsg">Invalid format.</span> <span class="textfieldRequiredMsg">A value is required.</span></td>
          </tr>
          <tr>
            <td colspan="2">
              <input type="submit" name="Submit" id="Submit" value="Submit" />
              <input name="Reset" type="reset" value="Reset" />
            </td>     
          </tr>
        </table>
      </div>
    </form>
    </body>
    </html>
    I hope this helps.
    Ben

  • How can I convert my css code into table format?

    Wasn't sure how to word the title, but what I am trying to do is post my html code generated with Dreamweaver CS4 into craigslist for an advertisement I designed. Craigslist seems to only accept "TABLE FORMAT".  I just learned enough to design this AD using css, now do I have to go back and learn table cell coding? Is there something I am not aware of like a conversion or something that will work?
    Thank you very much for any help, I am very anxious to get my ad placed.

    Example of the accepted code:
    <table border="0" cellpadding="5" cellspacing="0" width="100%" id="table4" align="center">
    <tr><td width="125"><b><font size="2" face="Verdana">Contact Name:</font></b></td><td><font face="Verdana" size="2">Patrick</font></td></tr>
    You must have an old HTML editor because that isn't INLINE CSS CODE.  It's deprecated HTML code.  It might work OK on Craig's List... but <font> tags won't pass W3C validation in XHTML doc types.
    To express what you have above using inline CSS styles without tables would like this:
    <p style="font:16px Verdana, Arial, Helvetica, Sans-serif; text-align:center"><strong>Contact Name:</strong> Patrick</p>
    http://www.w3schools.com/CSS/css_howto.asp
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Table Format order and visibility in Form Settings keeps changing

    Dear Experts,
    We are facing a concurrent problem where there is constant change in the table format of the form settings in marketing documents.
    The columns order keeps changing and also the visibility box which will be ticked, becomes again unticked the next day for particular columns which are used.
    Event though it is set one time in manager login and locked the doc settings for other end users. The format keeps changing.
    It has to be set dially manually. Is  there a permanent solution for it .
    Please let me know . Please find the attached pic for it.Its SAP B1 8.82 PL6

    Hi,
    Please check this thread:
    http://scn.sap.com/message/7377186#7377186
    Check SAP note for changing form settings:
    1062635 - Can I block a user from having access to Form
    Settings?
    Thanks & Regards,
    Nagarajan

  • Function to perform onSubmit - validation widget

    Ok, Ussually, when a form takes time to load the destination
    page (event that I will call
    form submission delay), the user tends to press again the
    submit button. Every time the button is pressed, the information is
    sent again. In spite of that the user will, of course only be sent
    once to the page specified in the action attribute of the form. So,
    the user may think he did right by pressing the button many times,
    but we end up with multiple copies of the same information.
    The solution I came up with, was to modify the validation
    widget javascript file as follows:
    function realizarAlRemitir()
    if (!Spry.Widget.Form.onSubmit) {
    Spry.Widget.Form.onSubmit = function(e, form)
    if (Spry.Widget.Form.validate(form) == false) {
    return false;
    realizarAlRemitir()
    return true;
    I created a wildcard function "realizarAlRemitir()" to be
    performed only when, having pressed the submit button, there is no
    incorrect or empty required field to fill.
    Then, in the html page containig the form, Iredefined the
    "realizarAlRemitir()" function as follows:
    <script language="JavaScript" type="text/javascript">
    <!--
    function realizarAlRemitir()
    ratioGrow = 0.68;
    Spry.Effect.GrowShrink('enviando', {duration:300, from:
    '1px', to: '559px', toggle: true, growCenter:false});
    Spry.Effect.AppearFade('enviando',
    {duration:300,from:1,to:100,toggle:true});
    // -->
    </script>
    This function "draws" using a modified spry effect a div tag
    that effectively blocks the whole form so that the user cannot
    modify the information or press again the submit button, while
    giving her or him appropriate feedback that indicates that the
    submission is being performed correctly.
    This is the sample page:
    http://192.168.10.2/nuevawebdesarrollo/eventos/conferencia.aspx?id=mbatc
    Finnally, my question is whether or not there is a less
    intrusive way to do such a thing, meaning, not having to touch the
    javascript files code. I didn't find one, for instance, so will
    some functionality like this be added to the framework? And,
    lastly, once the framework is embedded inside Dreamweaver, will we
    still be able to make such changes, without generating some trouble
    that will cause the framework to stop working correctly with
    dreamweaver.

    Hello Marin,
    Thanks a lot for your reply. I´m really sorry I made the
    mistake of giving you our internal address. I'm used to just
    copy/pasting it and sending the link to be reviewed. In spite of
    that, you seem to have gotten the idea, perfectly fine, so thanks
    again for making the effort to reply to a flawed question.
    This is the public link, so It should work well for you:
    http://www.esan.edu.pe/nuevawebdesarrollo/eventos/conferencia.aspx?id=mbatc
    It's in spanish, but I don't think language matters to
    understand how it works. Your solution is perfect, as it
    effectively stops the user from pressing the submit button more
    than once.
    Still, the final part of my question holds. We are inserting
    an event, after the submit button has been pressed and,
    consequently, after we've got your javascript files running. So,
    the only way to insert such an event is messing with the files. Or
    can it be done with our own scripts? Will there be a less intrusive
    way to do such a thing, meaning, not having to touch the javascript
    code of your source files to add events or functionality? I didn't
    find a way but that doesn't mean that there isn't one, right? I'm
    worried that now that we have dreamweaver CS3, if anybody needs to
    do such a thing, dreamweaver will no longer recognize the files and
    it will look like in the preview window, that we didn't insert it,
    even if it still works perfectly in the browser.
    Thanks again,
    DANTESAENZ

  • Spry Radio Button widget for CS3

    Hi,
    I can't seem to find a definitive answer if the Spry Radio Button widget for CS3 is available or not. The help menu says that it's there, but I can't find it. I've updated my Spry and checked the web and can't find an answer. Can anyone help me out?
    Thanks!

    I can't remember that far back, but if you cannot find i, then you may be right; it's not there. CS5 has it located on the insert bar as follows
    but you can aslo go to the Insert Menu, Insert->Form->Spry Validation Radio Group.
    Cheers,
    Gramps

  • Data block's table layout complicate command button?

    Why after I create a data block's layout using table format,
    when I try to insert a command button into the canvas, the
    button always appear like a concatenated buttons (i.e. if I have
    5 rows in the tabular format for displaying the data block, my
    command button becomes 5 buttons glued side by side together)?
    Advice, anyone?

    Hello Andy,
    See, when you are attaching a command button to the data block
    you created to show 5 rows, its definitely going to show you 5
    buttons in a stack manner.
    There are two ways to show one button.
    1> You should create a control block (non base table) in the
    form and attach the button there. Rows displayed property of
    this block should be 1.
    2> Open the property palette of the button in the data block.
    Change the value of "No. of Items displayed property" to 1.
    Hope this will solve your problem.
    Wishes,
    Anindya

  • Validation Widget onSubmit

    I would like to use the validation widgets when submitting
    data via Spry.Utils.loadURL. The validations work automatically
    when the form is submitted, but I want to call the
    Spry.Utils.loadURL in a function in an onSubmit function. Is there
    a way to invoke the validation manually?
    Something like:
    <script language="JavaScript" type="text/javascript">
    function SendFormCallback(request)
    //callback processing here
    function SendForm(theForm)
    Spry.Utils.loadURL("GET", "
    http://"+document.domain+"/scripts/myProxy.cfm?method=sendemail&"+formValsToString(theForm ),
    true, SendFormCallback);
    </script>
    <form name="myForm" method="post" action=""
    onSubmit="SendForm('myForm'); return false;">
    <table>
    <tr valign="top">
    <td align="right" valign="top"
    class="label">Name:</td>
    <td align="left" id="nameWidget"><input type="text"
    name="nameField" id="nameField" size="70">
    <span class="textfieldRequiredMsg">Please enter your
    name. </span></td>
    </tr>
    <tr valign="top">
    <td align="center" colspan="2"><input type="submit"
    name="Submit" value="Submit"></td>
    </tr>
    </table>
    </form>
    <script language="JavaScript" type="text/javascript">
    var nameWidget = new
    Spry.Widget.ValidationTextField("nameWidget", "none",
    {useCharacterMasking:true,
    validateOn:["blur","change"]});</script>

    Thanks for your help on this.
    Just wanted to let you know that in order to get this to work
    I had to add:
    var theForm = document.getElementById(form);
    So I ended up with:
    function SendForm(form)
    var theForm = document.getElementById(form);
    var ret = Spry.Widget.Form.validate(theForm);
    if (ret)
    Spry.Utils.loadURL("GET", "
    http://"+document.domain+"/scripts/myProxy.cfm?
    method=sendemail&"+formValsToString(theForm), true,
    SendFormCallback);
    }

  • Address book report in table format

    I would like to print an address book for my planner in a table format. I can not get address book to print the information I want in a table (2 columns with several rows, dependent upon the paper size - 1/2 sheet). I have created a data base, and tried the reports, but I get one card per page instead of in a table format of several cards per page. More specifically, what I want is name, address, and general info in one columnn, and phone numbers in the other column, with several individuals on one page.
    imac   Mac OS X (10.4.9)  

    Hi bmj,
    Welcome to Apple Discussions and the AppleWorks forum.
    If your Address Book is an AppleWorks database, you've come to the right place, as this forum is for discussion of tips, techniques and issues with Apple's productivity application AppleWorks.
    But if you are asking how produce this list using the Address Book application bundled with current iMacs and other current Macs, that's outside the scope of this forum.
    I'm working on the assumption that you're using Appleworks.
    [W]hat I want is name, address, and general info in one column, and phone numbers in the other column, with several individuals on one page.
    The kicker here is going to be "General information." While each of the other pieces of information will take more or less the same amount of space in each record, the amount of "General information" will vary widely.
    While AppleWorks DB screen layouts can handle this by expanding a field to show its contents when the insertion point is placed in the field, layouts for printing do not have this flexibility the amount of space you allocate for a field is fixed when you create (or edit) the layout, and every record gets the same amount of space, whether the data leaves a large white space or fills the space (with some data hidden because it's too large).
    Given that restriction, you can set your layout up as either a Columnar report or as a Labels Layout. My preference would be the latter.
    Before doing either, I'd suggest creating two new Calculation type fields: 'Fullname' and 'CSZ'
    'Fullname' joins the contents of the 'First name' and 'Last name' fields with a space between them using this formula:
    'First name'&" "&'Last name'
    'CSZ' joins the contents of the fields 'City', 'State', and 'Zip' into a single line. Following USPS (and for my case, Canada Post) guidelines, it also converts all letters in this line to capitals, and puts two spaces to left and right of the two letter State (or Province) postal symbol. Data in the field 'State' must be the two letter symbol, not the full state name. Formula:
    UPPER('City'&" "&'State'&" "&'Zip')
    These two formulas help clean up the layout of your list, and are also useful if you later decide to make mailing labels.
    To create the printed address book using a labels layout, open your DB file, then go to Layout mode (go Layout > Layout).
    Go Layout > New Layout (Note: NOT New Labels Layout)
    Click the Labels radio button, leave the popup menu set to Custom, Click OK.
    In the Labels Layout dialogue, set Labels across the page to 1 and width to the full width of the page (minus margins). These two items are not adjustable once set.
    Increase the label height to 4 to give yourself some room to work in. (The height of each row of labels (ie. each 'card') can be adjusted at will.) Click OK.
    In the next dialogue double click each of the following field names (in this order) to move the fields from the left column to the right column.
    'Fullname'
    'Address'
    'CSZ'
    'General information'
    'Phone'
    Click OK.
    Your new layout will be created with the fields inserted onto it in a single column. Select the top four fields and resize them (width only) using the handles.
    Select and resize the Phone field, then drag it to its new position in the second column.
    Select and resize the General field to contain as much data as you expect to place there.
    Drag the Body boundary up to a position just below the General field. The position of this boundary controls the height of each card/label and the amount of space between it and the next one down the page.
    When the layout looks right, go Layout > Browse to view the results.
    You can adjust the number of cards that appear on a page by adjusting the Body boundary to make each card take more or less vertical space. You may need to also adjust the size of the fields, particularly the 'General' field and the size of type used.
    Regards,
    Barry

  • Extract the table formated data using itextsharp in c#

    I have one pdf file in which i need to extract table formated data in a specific format by each filed.I tried by using itextsharp but data comes in unspecified format. Can any one help me on this.This is very useful for me.
    please find attchement for pdf and their fields
    Field Name(as per RRC Records or wildcat): Block A-34(SAN ANDRES)
    LEASE NAME: SIGHT FOR SORE EYES
    OPERATOR'S NAME: RING ENERGY, INC.
    API No:42-003-39809
    like wise all fileds.

    Hello Manideep Lakkakula,
    As ITextSharp is a library from here
    http://sourceforge.net/projects/itextsharp/ and also PDF is third party product, I'm afraid you have to post on specific forum about ITextSharp library instead of here. C# is just a language forum.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Need to display in a table format

    Hi,
    From my database i need to get the values for , UserName and Password and display in a table format .
    I could get the values from the database using
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("select * from Login");
    while(rs.next()){
    out.println(" <br> ");
    out.println(rs.getString("username");
    out.println(rs.getString("password");
    }it works fine and displays like below......
    user1  pwd1
    user2 pwd2
    .....    ...May i know how to get it in a tabular format as an output
    pls provide sample code for it.
    I would be thankful to u guys,
    Thanks & Regards,
    Raghu.

    From my database i need to get the values for ,
    UserName and Password and display in a table format
    .Really, really bad idea.
    There is never any need, in any implementation to display or even keep actual passwords.
    >
    May i know how to get it in a tabular format as an
    outputAs in a GUI? Then that is a GUI question not a JDBC one.
    Something else? Then you need to explain exactly what the destination is and what defines it as 'tabular'.

  • Report In Table Format in Email

    Dear sir,
    i want to send mail to user in format of report of issues in table Format in Body of mail.
    Actully i want to send mail daily to user with Pending Issues of user.
    HOD allote issue to user with Close target Date .Mail would be fire till tagget date >sysdate .
    There can be Multiple issue with user.
    so i want to create a list of All pending issue in report in table which are not Closed .
    Report should be display with that column
    eg. User 0010 has 3 Pending Issue
    Issue No-----subject-----Create On-----Target Date
    001---------ABC-------27-Mar-2011-------30-Jnn-2011
    002--------BHN-------23-Jun-2011---------06-July-2011
    003--------JHN--------05-Jun-2011---------02-July-2011
    That Report Should be sent to User in mail.
    My Code is
    DECLARE
    l_id number;
    to_add varchar2(1000);
    to_sub_by varchar2(1000);
    from_add varchar2(1000);
    l_body varchar2(4000):=:P33_DESCRIPTION;
    l_sub varchar2(1000):=:P33_SUBJECT;
    I_case varchar2(10):=:P33_CASE_ID;
    I_isue_dte date:=:P33_SUBMITTED_ON;
    l_regd    varchar(100);
    CURSOR C1 IS SELECT EMAIL_ID,(SELECT EMAIL_ID FROM USER_MAS WHERE USER_ID =:P33_SUBMITTED_BY_ID) AS D FROM USER_MAS WHERE USER_GR_ID=:P33_ASSIGNED_TO_GROUP_ID AND USER_ID NOT IN(:APP_USER);
    BEGIN
    if :P33_ASSIGNED_TO_GROUP_ID is not null then
    open C1;
    LOOP
    FETCH C1 INTO to_add,to_sub_by;
    EXIT WHEN C1%NOTFOUND;
    select email_id,user_name into from_add,l_regd from user_mas where user_id=:app_user;
    l_id:=APEX_MAIL.SEND(
            p_to        => to_add, -- change to your email address
            P_cc        => to_sub_by,
            p_from      => from_add,
            p_body      => 'Issue Information'||''||chr(13)||chr(10)||chr(13)||chr(10)||
                           'www.farhorizonindia.net:7777/crm'||''||chr(13)||
                           'Issue Title'||':'||l_sub||CHR(13)||chr(10)||
                           'Issue Number'||':'||I_case||CHR(13)||
                           'Issue Open Date'||':'||I_isue_dte||''||chr(13)||chr(10)||CHR(13)||chr(10)||
                           'Most Recent Comment'||':'||''||chr(13)||chr(10)||
                           l_body||chr(13)||chr(10)||''||CHR(13)||chr(10)||'Regards'||chr(13)||chr(10)||''||l_regd||CHR(13)||chr(10)||CHR(13)||chr(10)||'Please do not reply to this email.If you wish to update the call.please login to the issue Management.',
      P_subj      => I_case ||' Issue '||l_sub);
    end loop;
    close C1;
    end if;
    COMMIT;
    apex_mail.push_queue(
    P_SMTP_HOSTNAME => '102.111.0.9',
    P_SMTP_PORTNO => 25);
    commit;
    END;How can i create that format in Body Of sending Email.
    Thanks
    Vedant
    Edited by: Vedant on Jun 30, 2011 3:44 AM
    Edited by: Vedant on Jul 5, 2011 9:17 PM

    Look at using an interactive reports and subscription routine..: http://st-curriculum.oracle.com/obe/db/apex/r40/apexirr/apexirrdev/apexirrdev_ll.htm
    Death called while you were out, so I gave him your cell number.
    Thank you,
    Tony Miller
    Webster, TX

  • How to put check box in a table format at the out put ?  Urgent issue...

    Hi,
    I am working an assignment to assign multiple roles for multiplr user.
    In selection screen we have to enter mutiple EMPNO from ..to
    1)  in second screen we will get the empno, First name, last name,  Position,
        From  date, To date, Sap user ID, Email id in the table formate with first
        column  with Check box.
    2) In second screen below the table I have to place the multiple roles just like in
       the step  loop format and below this one Execute button should be there.
    If we select the multiple employees or single employee and place the multiple roles or single roles and if I click the execute button then the multiple roles will be assigned to the multiple employees. The empno and roles will come from table and step loop to internal table and the same will pass to the BDC.
    For this requirement I prepered recording for Transaction PFCG. But I can't understand how to design the second screen that table format and the step loop format. Can anybody give any idea or any coding to design  the second screen.
    and how to meet the requirement. This is urgent issue. Good SDN points will be reworded.
    Witing for kind response.
    Thanks in advance.
    Bansidhar

    Hi upendra
    There are slight changes in the sivas code.Where is the data coming into the table.If its from a Model Node then iterate each element of the source node get that value compare and set the corresponding value in the element of the node binded to table.
    Create a boolean attribute "select" in the table node and bind it to checked property of the check box.
    for(int i=0;i<wdContext.node<tablenode>()..size();i++)
    if(wdContext.node<tablenode>().get<tablenode>ElementAt(i).select())
    wdContext.node<tablenode>().get<tablenode>ElementAt(i).set<yourattribute>(true);
    else
    wdContext.node<tablenode>().get<tablenode>ElementAt(i).set<yourattribute>(false);
    See the attribute is boolean so pass true or false as a values in setter methods.
    Regards
    Kalyan

  • How to fire a Alert Message in a table format

    Hi friends,
    Currently im performing an Alert. My requirement is i need to display the alert message to the user in the mail in a table format.
    But i couldnt perform that, as the alert is not displaying in a properly aligned table format.
    Can you friends propose me a right way to bring the alert in a table format with two columns.
    Thanks in Advance..
    Regards,
    Saro

    I agree w 936671, do this in PL/SQL. Much, much easier.
    However, I will recommend a different approach using PL/SQL.
    1) Create a package to send the emails. Sample code:
    create or replace package cust_fnd_utilities as
    procedure send_email(     p_sender     in     varchar2,
                   p_recipient      in      varchar2,
                   p_subject     in     varchar2,
                   p_message     in     varchar2);
    end cust_fnd_utilities;
    create or replace package body cust_fnd_utilities as
    procedure send_email(     p_sender     in     varchar2,
                   p_recipient      in      varchar2,
                   p_subject     in     varchar2,
                   p_message     in     varchar2)
    is
    v_mail_host     varchar2(30);
    v_crlf      constant varchar2(2):= chr(13)||chr(10);
    v_message     varchar2(10000);
    v_mail_conn     utl_smtp.connection;
    begin
    v_mail_host := 'localhost';
    v_mail_conn := utl_smtp.open_connection(v_mail_host, 25);
    v_message :=      'Date: ' ||
         to_char(sysdate, 'dd Mon yy hh24:mi:ss') || v_crlf ||
         'From: <'|| p_sender ||'>' || v_crlf ||
         'Subject: '|| p_subject || v_crlf ||
         'To: '||p_recipient || v_crlf || '' || v_crlf || p_message;
    utl_smtp.ehlo(v_mail_conn, v_mail_host);
    utl_smtp.mail(v_mail_conn, p_sender);
    utl_smtp.rcpt(v_mail_conn, p_recipient);
    utl_smtp.data(v_mail_conn, v_message);
    utl_smtp.quit(v_mail_conn);
    exception
    when others then
         utl_smtp.close_connection(v_mail_conn);
    end send_email;
    end cust_fnd_utilities;
    2) Build the email, then call the package from step #1. Sample code:
    create or replace package cust_fnd_monitoring as
    procedure profile_options_build_email (     p_errbuf     out     varchar2,
                             p_retcode     out     varchar2,
                             p_sender     in     varchar2,
                             p_recipient     in     varchar2);                         
    end cust_fnd_monitoring;
    create or replace package body cust_fnd_monitoring as
    procedure profile_options_build_email (     p_errbuf     out     varchar2,
                             p_retcode     out     varchar2,
                             p_sender     in     varchar2,
                             p_recipient     in     varchar2)
    is
    v_subject          varchar2(100) := 'erpgamd1 - Recent Profile Option Changes';
    v_mime_type          varchar2(100) := 'Content-Type: text/html';
    v_body               varchar2(10000);
    v_line_feed          varchar2(1):=chr(10);
    cursor profile_cur is
    select     p.user_profile_option_name,
         u.user_name,
         u.description,
         r.responsibility_name,
         v.last_update_date
    from     fnd_profile_option_values v,
         fnd_profile_options_vl p,
         fnd_user u,
         fnd_responsibility_vl r
    where     p.application_id = v.application_id
    and     p.profile_option_id = v.profile_option_id
    and     v.last_updated_by = u.user_id
    and     v.level_id = 10003
    and     v.level_value = r.responsibility_id
    and      v.level_value_application_id = r.application_id
    and     r.creation_date <= '01-NOV-2010'
    and     v.last_update_date >= sysdate-7
    and     u.user_name != '204020779'
    union all
    select     p.user_profile_option_name,
         u.user_name,
         u.description,
         'Site' responsibility_name,
         v.last_update_date
    from     fnd_profile_option_values v,
         fnd_profile_options_vl p,
         fnd_user u
    where     p.application_id = v.application_id
    and     p.profile_option_id = v.profile_option_id
    and     v.last_updated_by = u.user_id
    and     v.level_id = 10001
    and     v.last_update_date >= sysdate-7
    and     u.user_name != '204020779'
    order by 5 desc,4;
    profile_rec     profile_cur%rowtype;
    begin
    open profile_cur;
    <<profile_loop>>
    loop
         fetch profile_cur into profile_rec;
         exit when profile_cur%notfound;
         if profile_cur%rowcount = 1 then
         -- We need to confirm that we fetch at least one row. Once we have confirmed, we want to generate
         -- the email body heading only during the first pass through the loop.
              v_body := '<html>' || v_line_feed;
              v_body := v_body || '<body style="font-family:arial;font-size:10pt">' || v_line_feed || v_line_feed;
              v_body := v_body || '<table cellspacing="5">' || v_line_feed;
              -- table heading
              v_body := v_body || '<tr>' || v_line_feed;
              v_body := v_body || '<td align="left"><u>profile option name</u></td>' || v_line_feed;
              v_body := v_body || '<td align="left"><u>responsibility name</u></td>' || v_line_feed;
              v_body := v_body || '<td align="left"><u>last update date</u></td>' || v_line_feed;
              v_body := v_body || '<td align="left"><u>SSO #</u></td>' || v_line_feed;
              v_body := v_body || '<td align="left"><u>user name</u></td>' || v_line_feed;
              v_body := v_body || '</tr>' || v_line_feed;
         end if;
         -- table detail
         v_body := v_body || '<tr>' || v_line_feed;
         v_body := v_body || '<td>' || profile_rec.user_profile_option_name      || '</td>' || v_line_feed;
         v_body := v_body || '<td>' || profile_rec.responsibility_name          || '</td>' || v_line_feed;
         v_body := v_body || '<td>' || profile_rec.last_update_date          || '</td>' || v_line_feed;
         v_body := v_body || '<td>' || profile_rec.user_name                || '</td>' || v_line_feed;
         v_body := v_body || '<td>' || profile_rec.description               || '</td>' || v_line_feed;
         v_body := v_body || '</tr>'|| v_line_feed;
    end loop profile_loop;
    if profile_cur%rowcount =0 then
         -- The cursor fetched no rows.
         -- send email using utl_smtp
         cust_fnd_utilities.send_email(p_sender,p_recipient,v_subject || '. No exceptions found.','No exceptions found.');
    else
         -- Generate the end of the email body if we fetched at least one row.
         v_body := v_body || '<table>' || v_line_feed || v_line_feed;
         v_body := v_body || v_line_feed || '</body>' || v_line_feed;
         v_body := v_body || '</html>' || v_line_feed;
         -- send email using utl_smtp
         cust_fnd_utilities.send_email(p_sender,p_recipient,v_subject || v_line_feed || v_mime_type,v_body);
    end if;
    close profile_cur;
    end profile_options_build_email;
    end cust_fnd_monitoring;
    3) In your alert, do not use an email action. Rather, your action should be a SQL*Plus script that calls the package from step #2.

Maybe you are looking for