An issue with multiple checkboxes displaying correctly.

My company is converting our website to seam. We obviously have a number of existing pages we must convert and at least try to mimic the previous code. The page I'm currently working on is a catalog request form(see: http://www.perma-bound.com/CatalogRequestForm). I'm totally new to jsf's to an extent. I've done some coding in it while we shift to this but I'm far from an expert. I've been able to get the bean and all the code that interacts with the database to work correctly. My issue is that it's seemingly impossible to style selectManyCheckbox's in a manner similar to that page. When we were using standard html, it wasn't an issue because you could put <input>'s wherever you wanted. In the case of selectManyCheckbox's, they insert a table into the code which seemingly isn't alterable. Here's the snippet in question
<h:form>
     <h:selectManyCheckbox layout="pageDirection" value="#{ catalogRequestAction.catalogs }">
          <f:selectItem itemLabel="Perma-Picks - Grades PreK-12" itemValue="#{ catalogs[ 455164 ] }"/>
          <f:selectItem itemLabel="Graphic Novels - Grades 2-12" itemValue="#{ catalogs[ 455013 ] }"/>
          <f:selectItem itemLabel="Social Studies - Grades PreK-12" itemValue="#{ catalogs[ 455159 ] }"/>
          <f:selectItem itemLabel="References - Grades PreK-12" itemValue="#{ catalogs[ 455669 ] }"/>
          <f:selectItem itemLabel="High/Low - Grades 2-12" itemValue="#{ catalogs[ 455884 ] }"/>
          <f:selectItem itemLabel="Science & Math" itemValue="#{ catalogs[ 455160 ] }"/>
          <f:selectItem itemLabel="Fiction - Grades PreK-12" itemValue="#{ catalogs[ 455056 ] }"/>
          <f:selectItem itemLabel="Curriculum - Grades PreK-6" itemValue="#{ catalogs[ 455491 ] }"/>
          <f:selectItem itemLabel="English Curriculum - Grades 6-12" itemValue="#{ catalogs[ 455201 ] }"/>
          <f:selectItem itemLabel="Spanish - Grades 7-12" itemValue="#{ catalogs[ 455266 ] }"/>
          <f:selectItem itemLabel="College Prep - Grades 7-12" itemValue="#{ catalogs[ 455018 ] }"/>
          <s:convertEntity/>
     </h:selectManyCheckbox>
     <div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix">
          <h:commandButton styleClass="ui-state-default ui-corner-all ui-priority-primary" value="Submit" action="#{ catalogRequestAction.requestCatalogs }"/>
          <h:commandButton styleClass="ui-state-default ui-corner-all ui-priority-secondary" value="Reset" action="reset"/>
     </div>
</h:form>That code generates this page(http://img299.imageshack.us/img299/6550/82163381.png). As I said before, the actual selection of the boxes will yield the appropriate catalog in the database. However, I seemingly can't figure out how to stylize this in a manner that will work. From my understanding, jsf has access to 2 sets of check boxes(the ones I used and the booleans). I'm more than willing to try alternate code. However, after hours of searching online I've found few if any examples that are doing something similar to what I'm trying to do. I have to imagine that there is some other way to do this because in normal html it is simple. But, I'm just not having any luck.
Edit: Oh and if it matters we're using Mojarra
Edited by: beckdawg on May 18, 2009 2:19 PM

I believe this is IE 9.  Whatever the latest is.  It basically stacks all the images on top of each other.  And after some changes I attempted last night, bevel effect is still on some images after I attempted to remove that effect.  This is an issue in all the browsers.
http://http://jclementdesign.businesscatalyst.com/graphic-design1.html
This is a link to my portfolio page of my website.  This is an issue with all the lightboxes.
Thanks for the help.

Similar Messages

  • We run an iMac 3.4 GHz I7 for our church worship service; we haven't upgraded to Mavericks because we heard about issues with multiple screens crashing.  Has this issue been resolved?  Thank you!

    We run an iMac 3.4 GHz I7 in our church worship service; we have front screens and a stage display monitor ; we haven't upgraded to Mavericks because we heard about issues with multiple screens crashing.  Has this issue been resolved?  Now that we are 2 upgrades behind, I'm getting little concerned.  Thank you!

    Oh, well that was a whole other kettle of fish:
    Oh the G4 I attempted to install iLife '08 before Lepoard was available. About the only thing that installed cleanly was iPhoto. I ended up reinstalling everything back to iLife '06, and then upgrading back to the current stable version of the iLife '06 version. I didn't attempt a reinstall until after I upgraded to Leopard.
    When I did reinstall, I made a iLife '06 folder, copied all iLife apps into it, and upgraded. Seemed to work, except for the part where iMovie gets left behind and iDVD is only mostly functional.
    When I installed on the other 2 machines, it was after installing Leopard and all upgrades. On those 2 machines, I didn't bother with the copy, I just moved everything to the iLife '06 folder I created, and did a fresh install.
    I didn't have to do anything with the iPhoto Libraries, that I can recall.
    I always do an upgrade, never an archive and install. I've never had a problem with this back to 10.1 or 10.2.

  • SPEL in Extended VO - Issue with Multiple Rows

    Hi,
    I have extended a seeded VO by adding a new attribute *'Course_Flag'* with attribute type 'Boolean' and Query Column type 'VARCHAR2' and i wa successfully able to personalize and view the data of the new attribute *'Course_Flag'* in the page as ('true' / 'false') aacording to the query where clause.
    Now after adding a new image with SPEL property as *${oa.LearnerCatalogCoursesVO.Course_Flag}* it will have an issue with multiple items.
    I mean the SPEL will take the first row value 'true' / 'false' and will be corrected rendered according to the value of the first row and ignore other rows values.
    Example: if the *'Course_Flag'* value of the first row is 'true' then all the images will be rendered and if the *'Course_Flag'* value of the first row is 'false' then all the images will be NOT rendered.
    Please advise if I've missed any step.
    Thanks in advance to all.
    Regards....Ashraf

    Dear Kali,
    I have added a new function to the seeded VO SQL +('XXARMS_TRG_EVALUATION_PKG.XX_COURSE_GOT_EVAL')+,
    SQL Statment :-
    select av.activity_version_id, avtl.version_name, av.language_id, av.start_date,
    av.end_date, av.version_code, i.category_usage_id, upper(avtl.version_name) AS SORTVERSIONNAME,
    XXARMS_TRG_EVALUATION_PKG.XX_COURSE_GOT_EVAL(i.category_usage_id, av.activity_version_id) Course_Flag from
    ota_act_cat_inclusions i, ota_activity_versions av, ota_activity_versions_tl avtl
    where i.category_usage_id = :1 and i.activity_version_id = av.activity_version_id and
    nvl(av.end_date, sysdate + 1) >= trunc(sysdate) and
    av.business_group_id = ota_general.get_business_group_id and av.activity_version_id = avtl.activity_version_id and
    avtl.language = userenv('LANG') and
    ota_learner_access_util.learner_has_access_to_course(:2,:3,avtl.activity_version_id) = 'Y'
    And it is retriving the correct data for each row and i did not write any code in the RowImpl.
    Thanks for your help in advance.
    Regards...Ashraf

  • Since I've installed Mountain Lion, I am having lock up issues with multiple programs. MS Outlook has crashed and I've lost all my folders. HELP?

    Since I've installed Mountain Lion, I am having lock up issues with multiple programs. MS Outlook has crashed and I've lost all my folders. HELP?

    okay I've finally been able to get tor and all the other programs to work according to my plan the only thing that's still making problems is that iptables doesn't work as I want it to, when I start chromium without proxy settings privoxy doesn't seem to forward the information to polipo.. do I need to add another rule to iptables.rules in order for the program to know it has to reroute the information again or how can I get this to work? and is there any way to run rtorrent with proxy support?
    anyway, problem 2 and 3 are still to be solved.
    and does anybody know where i can get a good dansguardian blacklist that was not designed for 6 year old children and for which I don't need to subscribe? I'm still getting these partypoker popups -.-
    //e: with iptables it's the same thing as described in the first post. https works, http doesnt. I get the output "Invalid header received from client." on http sites. still no idea why though.. (and the https-version of torcheck.xenubite says i'm tor unprotected while starting the browser with iptables)
    Last edited by deF291 (2011-04-23 16:16:31)

  • Sudden Issue with 23-inch displays?!

    My 23-inch display went kaputz yesterday. It's interesting that today for the first time ever, I've come to these forums, hoping for an answer. How in the world can it be that suddenly this August, all of these 23-inchers are on the fritz?
    What's up, Apple?!
    (thank God for my old 22-inch display. I replugged it in and it's running like a charm.)

    Several of us have expressed frustration with Apple's lack of response to this problem (which they obviously know about by now, and if they don't, there is no excuse), and the lack of a way to register any complaint beyond the level of your individual AppleCare person. Not knowing where else to turn, I sent an e-mail to the director of Mac PR, and the PR manager for Mac hardware, whose addresses are among the few on the Apple site (see site map).
    As evidence that this is not just one person complaining but a true potential PR problem, I asked them to read this discussion and three others on the same issue: "Display not always turning on", "23" display not turning on problem", "Sudden issue with 23-inch displays", "23" cinema display -- bad adapter".
    I summarized the complaints as:
    1. Power adapters seem to be o failing in large numbers at the same time.
    2. Many people are waiting for replacement power adapters through Apple Care, and they are not being shipped as promised.
    3. Frustration with Apple's failure to step up to the plate and address this problem.
    I asked for a response. So far, two days later, not even an acknowledgement from either one that they received my e-mail.
    Maybe if they hear from more of us, they will see that, yes, this is a PR issue!

  • HT4623 iOS 8 version 8.1.2 issues with the calendar displaying wrong TIME ZONE!

    I just updated to iOS 8 using version 8.1.2 and am having issues with the calendar.  I use my GMAIL calendar and sync to my iPhone and now any calendar entries that I add from my phone display the current time zone AND GMT time.  Entries that were already there display correctly.  New entries entered from the GMAIL calendar also display correctly.  The issue is with NEW entries entered on my PHONE into the calendar.  This is very annoying and causes problems for new entries that need EDITED.  Once opened to edit it defaults to GMT time!  WRONG!!  I have turned off the automatic time zone feature and Time Zone Override in Settings but it's still WRONG!  There are multiple reports of this online so I would like to know when/if it will be corrected or if there is a fix!  Please help!!

    Quite the same problem here, GMT, UTC.......
    Why when they do an update they don't check it completely???

  • Issues with multiple things since Mavericks update

    I installed the Mavericks update and since, I have been having multiple problems with different things on my MacBook Pro 13"
    1. Printer issues: I have an HP officejet 6500 wireless printer (Officejet 6500 E709n Series), and now it's having major issues with printing, yet was working perfect prior to update. It will either cut out pages when printing PDF documents, or printing so slow that it has to take a break in between printing each document (an issue that all never occurred until update), to print documents back to back, it will stop after one document as though I have no other documents in queue to print, and pauses for an extremely long time (nearly a full minute, no exaggeration here, literally almost a full 60 seconds), something it's never done before this update. My Apps update even did an update to the HP software that is inside the Mac already to use printing (in other words, the mac doesn't need to have the HP software manually installed for it to work, it automatically sees the printer because it is connected to my wireless network just as my Macbook Pro which is also connected wirelessly to my network).
    2. Internet issues: am now unable to click on certain links in safari that I was able to use prior to the update, yet they will open fine inside of firefox with no issues, yet I cannot always switch between two different browsers to perform task online (literally have to start all over inside firefox while in the middle of something in safari). Also lots of websites no longer work correctly and I have to constantly clear history and cookies to attempt to use certain sites, at times it will help, other times it wont work period, yet the same exact site will work perfect in firefox (which I do not use, only on my system for use on certain sites for school because in safari prior to the update, I would have issues with only the class site and some links not working at all, no spinning wheel, no errors, just nothing, no response of any kind, basically worse than what it was before the update). Another issue, hit Ctrl+a to select inside Safari and it highlights, but then when you click out of the highlight, it comes back on it's own several times without you hitting anything, just click inside the screen on a blank space (no links, etc) with touchpad.
    3. System issues:  My system is way slower than what it was prior to the update, click on things and it wont respond at all, then minutes later will eventually respond or pops up the spinning color wheel, which it either never responds or takes an extremely long time to respond. And no matter how much I restart, it doesn't help anything. Even just to sit doing nothing, no clicking or usage on the system, and the color wheel pops up.
    4. Mail issues: Mail is now popping up completely blank messages that I have sent out, the person receives it with no issues, yet I cannot look at the message I sent neither in the inbox or the sent items when I need to look at them again, an issue not present prior to update. Also I an now having issues when receiving mail, sometimes it will check for mail and sometimes I have to manually click to make it check the server for mail, an issue not present prior to update as well.
    As of now, since I have had the chance to used the system since the update, these are the issues I have had, yet haven't had the chance to check other things, so there may be other issues that are occurring that I'm not aware of at the moment. I knew it would be a mistake to do this "free" update and did so anyway and now having one issue after the next with each application I open to use.
    Mac general info:
    Mac is one year old, purchased brand new, no shareware programs of any kind installed.
    Use for school and basic web surfing use.
    Do not install any programs onto system that I'm unsure are safe (basically programs for/from school/school websites only, or from the Mac Apps store only), not even programs like Skype, nor any windows based programs of any kind.
    Lots of free memory avail because I save everything onto external hard drives (purchased brand new as well, only 4months old) in case system crash occurs, only things on the system is Itunes music or pics from photo stream that sync to the system when Iphone connected.
    Mac system info:
    - Processor  2.5 GHz Intel Core i5
    - Memory  4 GB 1600 MHz DDR3
    - Graphics  Intel HD Graphics 4000 1024 MB
    - Software  OS X 10.9
    - Number of Processors:          1
    - Total Number of Cores:          2
    - L2 Cache (per Core):          256 KB
    - L3 Cache:          3 MB

    For those needing help fixing their system and putting it back to Lion or Mountain Lion, this is what I have done to eliminate all my issues in about an hour (depending on your internet connection).
    Amazing thing, I just restored my computer back to Mountain Lion, and she's working perfect again, as I knew she would. E-mail popping into mailbox instantly as it should and did before the update, printer working fast as it was before update, no more freezing or glitches of any kind thankfully and finally. Here is the link that is through the Apple site to direct you on how to put your system back and get rid of Maverick's, that is assuming that is what you would like to do and also includes link for those wanting to try fixing the issue if that is your preference (most of this info is for those with mountain lion and some with the previousverisoin of OS X lion).
    If you want to keep Maverick's here is a good post on the apple discussion board to help you out:
    https://discussions.apple.com/docs/DOC-6161
    If you just want to totally get rid of it and put back what you had before, this is the short version of how to do so:
    https://discussions.apple.com/docs/DOC-3353
    NOTE: This particular link has a lot of info on what to do for different situations, it is a bit lengthy, yet still very helpful.
    OS X Mountain Lion: Reinstall OS X (direct from Apple support site, not someone else):
    http://support.apple.com/kb/PH10763?viewlocale=en_US
    OS X: About OS X Recovery (also from apple support directly and includes some instructions just the same as previous links above):
    http://support.apple.com/kb/HT4718
    Just in case you aren't sure what it will all look like as you are doing things, this is a link to show you a few pics of what you will see  as you as you are going through the process, it can be helpful for those who aren't sure what they are doing or how to do things at all:
    http://www.apple.com/osx/recovery/
    This is a way to download the Mountain Lion disk info from the server
    http://support.apple.com/kb/DL1433
    I hope this helps someone, it was amazing for me and my system is working perfect again like it was, battery life is way better went from like 3 hours to like 5 (not on full charge by the way, after it sat for a while doing the online update which took a while so that's saying something alone, huge improvement). I plan to wait a while before attempting to reinstall Maverick's, long enough for them to fix the bugs.

  • Problem with multiple checkbox

    Hello Experts,
    I have one issue related to multiple checkbox in my JSP.I have a table in JSP with 3 columns.Last column is checkbox.I want to get data for only those teams which are selected in JSP , but I am able to get value for only checkbox column (in my case 'select') .I want to get data for other column also(In my case it is 'Marks').Please tell me what should I do to get marks also for those teams which got selected.Many Thanx in advance.
    This is my JSP
            <html:form action="/AddFirstRoundWinner.do">
                    <table width="100%"
                           border="2" cellspacing="0" cellpadding="0">
                        <tr align="left">
                            <td>Team Name</td>
                            <td>Marks</td>
                            <td>select</td>
                        </tr>
                        <!-- iterate over the results of the query -->
                    <logic:iterate id="FirstroundresultForm" name="FirstRoundDetails">
                            <tr align="left">
                                <td>
                                    <bean:write name="FirstroundresultForm" property="team_name" />
                                </td>
                                <td>
                                    <input type="textbox" readonly="true" name="marks" value="<bean:write name="FirstroundresultForm"                property="first_round_total_marks" /> "/>
                               </td>
                                <td>
                                    <input type="checkbox" name="select_team" value="<bean:write name="FirstroundresultForm"
                                                                                                        property="team_id"/>"/>
                                </td>
                            </tr>
                        </logic:iterate>
                    </table><br><br>
                    <html:submit property="step"> <bean:message key="button.select"/> </html:submit>
            </html:form>  This is my code in action class
    // here I am fetching all the teams which were selected using checkbox
    String select_team[];
            select_team = request.getParameterValues("select_team");
            if (select_team != null) {
                for (int i = 0; i < select_team.length; i++) {
                    result_list.add(select_team);

    <input type = "text" ..../> <!-- and not textbox as in your code-->ram.

  • Freezing Issues with multiple new MS-7028 (v1.0B) Motherboards

    I build several MSI motherboard based machines for clients every week.
    I have noticed a major problem with the MS-7028 (v1.0B) Neo2 and Neo2 Platinum Motherboards (I've had the same issue with both now)
    Things that cause the PC to freeze (mouse pointer freezes, nothing but a reboot or forced power off)
    1. Autorun of MSI "Drivers & Utilities" CD (several versions of the CD have been tried, all of them do it 90% of the time)
       Once it displays the "setup is launching, please wait" screen. Bang. It freezes.
    2. Running MSI CoreCenter (again tried several versions, including the most recent, downloaded of msi's website)
       Runs ok for a little while, but if left running while usually freeze the whole pc within minutes, if I play around in CoreCenter, it crashes even faster
    3. Running MSI Live Update 3 (again several versions have been tried, including the most recent release from MSI's website)
       Seems ok on the Neo2 Platinum M/B, but Neo2-FR version always froze system at "search VG card BIOS version"
    I have had this exact problem on 4 of 4 "MS-7028 (v1.0B) 915P Neo2-FR" and 2 of 2 "MS-7028 (v1.0B) 915P Neo2-Platinum" M/B's
    Any Ideas???
    edit:
    Each time this has happened the systems have been as follows.
    MS-7028 (v1.0B) Neo2-FR or Neo2-Platinum M/B
    Intel P4 3000Mhz Prescott CPU
    1G Geil Ultra DDR2 533Mhz (2x 512Mb Kit)
    MSI 6200 or 7300 PCI-E graphics
    Seagate 80-160G SATA Hdd
    LG 8x DVD-RW
    450+W PSU's always with 18A or higher on the 12+
    I’ve tried updating the Bios (which I do to all m/b's used for new systems)
    I’ve tried all the latest drivers
    This is always on a clean install of XP SP2
    happens on XP Pro and XP Home
    GRRRRRR HELP ME!!!!!!
    is the MS-7028 (v1.0B) Motherboard just a big stinky lemon?

    Quote from: Maesus on 10-May-06, 23:08:36
    When you said clean install, does that mean you started off from a 100% blank HDD?
    Correct
    Quote from: Maesus on 10-May-06, 23:08:36
    What version is your WinXP? 
    Windows XP Home SP2 (OEM) and Windows XP Pro SP2 (Oem) (happens on both)
    Quote from: Maesus on 10-May-06, 23:08:36
    Forget about the CD, Corecentre.. etc, get the drivers from the websites instead. and you don't have to get them from MSI websites. Intel INF drivers, get from intel.com. Display card get from nvidia.com.
    I get around the problem by downloading the  latest bios from msi's website
    I install the latest inf from intel.com and the latest nvidia drivers from nvidia.com
    and uninstall corecenter.
    It would just be nice to be able to have corecenter running, and to know WHY this happens
    [/quote]

  • Issue with multiple digital signatures disabling fast web view

    Hello, I'm using acrobat 9.1 pro and have some questions regarding an issue using multiple signatures on a pdf.
    Why am I asking the question below? My job involves preparing pdf's for submission to FDA. The FDA requires, among other things, that electronically submitted docs have fast web view enabled.
    I am currently exploring ways of using digital signatures to sign pdf reports and still make sure they are FDA spec compliant. My issue involves a document that would have multiple signature fields. What I do is create at least two signature fields in the doc and then save and optimize while enabling fast web view. When I sign the first box and save, the file retains the fast web view status. Yet, when I apply and signatures past the first one, the file is subsequently set to fast web view off without any obvious way of turning it back on. I am confused as to why it gets disabled only after the second, and not right after even the first one was signed. And, of course, I would like to know if it is possible to maintain fast web view and how to do it. I'll gladly accept "tinkering under the hood" of the file suggestions if they exist as well.
    Please let me know if anything is unclear or you need further information.
    Thanks for your time and help.
    ~Vlad

    Hi Vlad,
    Michael actual had the correct answer. The purpose of a "Linearized" file (i.e. a file that has been Optimized for Fast Web View) is to get the first page to display as soon as possible so you can start reading without waiting for the rest of the file to download. As an aside, the designated first page doesn't necessarily have to be page 0 (PDF's use a zero based counting system for pages), but usually it is. To quote the PDF specification, "The primary focus of Linearized PDF is optimized viewing of read-only PDF documents. It is intended that the Linearized PDF be generated once and read many times. Incremental update is still permitted, but the resulting PDF is no longer linearized and subsequently is treated as ordinary PDF."
    When you sign a PDF file the first time the Save process is a "full save", that is the entire document is rewritten so there are no more than two %%EOF (end-of-file) markers in it. The first EOF designates which page to show first and the second EOF designates the end of the rest of the file (so the browser knows when to stop downloading). However, when you add a second (or subsequent) signature the file is saved as an "incremental save" and all of the new data is tacked onto the the end of the original file. This is so you can do a rollback to the previous signed version and allows Acrobat/Reader to check the integrity of each signature independent of any other signatures. It's the incremental save that breaks the linearized optimization of the file.
    Steve

  • Issue with multiple Oracle Long Fields

    Hello,
         We have some reports that try to display two Oracle Long data type fields. When we do so we receive the error "ORA-1002 - fetch out of sequence" when we connect the report through "Oracle Server" connection type.
         If I execute SQL Statement of the report in "Oracle SQL Developer" there is no error.
         I have the following components installed on my Windows 7 PC:
          - Crystal Report 2008 (12.3.0.601)
          - Oracle Client 11.1.7.0
        If you want to replicate the issue you can create the following tables:
    create table TEST1_T
      fld1 VARCHAR2(4),
      text   LONG
    create table TEST2_T
      fld1 VARCHAR2(4),
      fld2 VARCHAR2(4),
      text   LONG
    In the TEST1_T table insert data and populate the text field. In the TEST2_T, populate the fld1 to be able to link the 2 tables together you can let the text field blank.
    In the report insert TEST1_T.fld1, TEST2_T.text and TEST1_T.text if you hit preview you should get the error Ora-1002.
    If you need more information let me know.
    Thank you.
    Charles
    P.S: If we connect thru "CR Oracle ODBC Driver 5.3" and the first long field in the SQL statement is null boths fields are blanked in the report but if both fields are populated the report execute correctly.

    Hi,
       This is a known issue with CR that uses Oracle Long Fields.
       See below for direct copy of information from KBase 1205489, hope it helps.
    Symptom
    In Crystal Reports, problems may arise when using more than one Oracle LONG data type field.
    Some of the symptoms you might see:
    Mixed data between two LONG data columns when displayed within the same report.
    Incorrect data displayed in the column which is based on a LONG field.
    Resolution
    Change LONG fields to CLOB fields in the Oracle table.
    Oracle recommends migrating any LONG data to the CLOB type starting in Oracle 9i.
    To make this change, use the TO_LOB method.
    Ken

  • Dynamic Page with Multiple Checkboxes

    I am trying to get a dynamic page to pass the checked value of multiple checkboxes to the submit proceedure. Can anyone tell me what I am doing wrong?
    Thanks in advance,
    Pam -------------------------------------------------------------------------
    Dynamic Page:
    <HTML>
    <FORM action="scott.brsubmit" method="POST">
    <TABLE border CELLPADDING=0 CELLSPACING=0>
    <ORACLE>begin
    for c1 in (SELECT rowid,ename, job, bonus from scott.bonus_approval where approved is null)
    loop
    htp.p('<tr><td><FONT FACE= ARIAL SIZE=1>');
    htp.p(c1.ename);
    htp.p('</TD><td><FONT FACE= ARIAL SIZE=1>');
    htp.p(c1.job);
    htp.p('</TD><td><FONT FACE= ARIAL SIZE=1>');
    htp.p(c1.bonus);
    htp.p('</TD><td><FONT FACE= ARIAL SIZE=1><B>');
    htp.p('<input type="hidden" name="p_ename" value='||c1.ename||'>');
    htp.p('<input type="checkbox" name="p_cb" value="Y">');
    htp.p('</TD><td><FONT FACE= ARIAL SIZE=1><B>');
    htp.p('<input type="checkbox" name="p_cb2" value="N">');
    htp.p('</td></tr>');
    htp.p('<br>');
    htp.p('
    end loop;
    HTP.P('</table>');
    htp.p('<p>');
    htp.p('<input type=submit value="Save" name="p_action" >');
    end;
    </ORACLE>
    </form>
    </BODY>
    </HTML>
    Procedure:
    (p_ename in portal.wwv_utl_api_types.vc_arr, p_cb in portal.wwv_utl_api_types.vc_arr, p_cb2 in portal.wwv_utl_api_types.vc_arr, p_action varchar2)
    as
    begin
    if p_action = 'Save' then
    for i in 1..p_ename.count loop
    if (p_cb(i) = 'Y') then
    update scott.bonus_approval set approved = p_cb(i) where ename = p_ename(i);
    COMMIT;
    else
    if (p_cb2(i) = 'N') then
    update scott.bonus_approval set approved = p_cb2(i) where ename = p_ename(i);
    COMMIT;
    END IF;
    end if;
    end loop;
    end if;
    htp.print('<script language="JavaScript">');
    htp.print('function display() {
    var msg = "\nRecord Saved Successfully\n";
    alert(msg)');          
    htp.print('}');
    htp.print('display()');
    htp.print('</script>');
    exception
    when others then
    htp.print('<script language="JavaScript">');
    htp.print('function display2() {
    var msg = "\nRecord Not Saved.\n";
    alert(msg)');          
    htp.print('}');
    htp.print('display2()');
    htp.p('Not saved');
    htp.print('</script>');
    end;

    Hi.
    I have a dynamic page, with a bind variable :v_day. On the customization screen the user can select one or more days of the week, or all days. I use this also in a report and then it works ok. In the where clause i use:
    and rtrim((to_char(date_time,'DAY'))) IN :v_day
    Date_time is a tablecolumn (date).
    When i add this line in the select script from the dynamic page, i get error:
    : ORA-06550: line 1, column 2443:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    The symbol "(" was substituted for "" to continue.
    ORA-06550: line 1, column 2606:
    PLS-00103: Encountered the symbol ";" when expecting one of the following:
    . ( ) , * @ % & - + / at mod rem <an exponent (**)> and or ||
    The symbol ")" was substituted for ";" to continue.
    ORA-06550: line 1, column 3236:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    The symbol (WWV-11230)
    Critical Error in wwerr_api_error.get_errors! SQL Error Message: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWV-)
    Thanks.

  • Issues with anchor not displaying right on website

    I recently launched a website: www.noxstavern.com
    It is a single page scrolling website.  Within here I have 5 anchors.  4 of the 5 anchors display correctly with the name that I gave it.  For some reason the anchor I named "menu" is listed as #anchor-u4267.
    I have tried deleting, readding...even deleting and renaming the anchor and nothing works.  Any suggestions to overcome this?
    Thanks in advance!
    -Bob

    Sanjit,
    First off thanks for replying.  This issue is supremely confusion.  I did all of the steps that you recommended.  I completely deleted the word MENU out, deleted the anchor completely, readded the word MENU, then recreated the anchor named MENU.  Still the same issue:
    This is starting to get frustrating.  Do you or anyone else have any advice?  Muse community...help me out please!
    -Bob

  • Issues with saving checkboxes to a collection

    version 4.0.2.00.06
    Hello,
    I'm having a couple of issues with this.
    1. I have a report with checkboxes created using the apex_item.checkbox api. When the page is submitted the checkboxes are no longer checked. Jari has a post that explains how to use collections to store the checkbox value to keep the checkbox checked. Of course the checkboxes are not staying checked when the page is submitted. Jari's explanation is here: Re: Need help with APEX_Collection
    2. I'm now getting duplicate rows returned. I've opened the Session window from the Dev Toolbar and selected Collections in the drop down box and it appears that all the records from my view are being entered into the collection. I would have thought that only the records returned from the WHERE clause would be added.
    This is what I have.
    1. I created an application process: SAVE_CUST_CHK_P29
    BEGIN
      APEX_COLLECTION.UPDATE_MEMBER_ATTRIBUTE(
        p_collection_name => 'CUST_CHK_COLLECTION',
        p_seq             => APEX_APPLICATION.G_X01,
        p_attr_number     => 2,
        p_attr_value      => APEX_APPLICATION.G_X02
      htp.prn('1');
    EXCEPTION WHEN OTHERS THEN
      htp.prn('0');
    END;2. Edit Page -> JavaScript -> Function and Global Variable Declaration section:
    function saveCustChk(p,s){
    $.ajax({
      type:'POST',
      url:'apex_application.show',
      dataType:'text',
      data:{
       p_flow_id:&APP_ID.,
       p_flow_step_id:&APP_PAGE_ID.,
       p_instance:&APP_SESSION.,
       p_request:'APPLICATION_PROCESS=SAVE_CUST_CHK_P29',
       x01:s,
       x02:p.checked
      },success:function(){gReport.pull()}
    }And in the HTML Header section:
    <style>#apexir_CHK{display:none}</style>3. Created an On-Load After Header Page Process: create_cust_chk_collection
    IF NOT APEX_COLLECTION.COLLECTION_EXISTS(p_collection_name => 'CUST_CHK_COLLECTION')
    THEN
      APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY_B(
        p_collection_name => 'CUST_CHK_COLLECTION',
        p_query => q'!
          SELECT cust_id,
            'false' AS chk
          FROM vw_customers_dm_query
    END IF;4. The report query:
        SELECT  apex_item.checkbox(1,c.c002,'onclick="saveCustChk(this,'||c.seq_id||')"','true') AS chk
            ,c002 AS checked
            ,cust_id
            ,cust_number
            ,cust_company_name
            ,cust_address
            ,cust_city
            ,cust_state
            ,cust_postal_code
            ,decode(cls_code,'A','Active','I','Inactive','D','Active-Declining','P','Prospect') seg_descr
            ,annual_sales
            ,year_month
            ,dlr_id
            ,dlr_code
            ,drg_code
            ,cls_code
            ,annual_sales_range
        FROM vw_customers_dm_query v, apex_collections c
        WHERE c.collection_name = 'CUST_CHK_COLLECTION'
        AND v.cust_id = c.c001
        AND :P29_CUST_SEG LIKE '%'||cls_code||'%'
        AND cls_code IS NOT NULL
        AND :P29_DISTANCE LIKE '%'||drg_code||'%'
        AND :P29_PURCHASE_AMT LIKE '%'||annual_sales_range||'%'
        AND dlr_id = :P29_DLR_IDCan someone help me with 1. Why won't the checkboxes stay selected on submit and maybe why there are dupllicate rows returned?
    Thanks,
    Joe

    Hello,
    For issue 2 above: Duplicate rows returning.
    What I would like to do is add another column in the collection called year_month and join that column back to the vw_customers_dm_query. I can't seem to get the column into the collection.
    This is what I've tried:
    In the application process I added p_attr_number => 3 and p_attr_value => apex_application.g_x03
    In the On-Load After Header Process I added the column year_month after the column creating the CHK so I had:
    SELECT cust_id,
            'false' AS chk,
             year_month as year_month_coll
          FROM vw_customers_dm_queryOf course this did not work. How can I now:
    1. Get the check boxes to save to they're not unchecked when the page is submitted?
    2. Get the year_month column into the collection so I can join to it and get rid of my duplicate row issue?
    Thanks,
    Joe
    UPDATE:
    I was able to get the column added to the collection and take care of the duplicate row problem, but the checkboxes are still not staying checked after submit.
    I still need help with getting this part to work.
    Thanks,
    Joe
    Edited by: Joe R on Jun 6, 2011 1:29 PM
    Added Update.

  • Firefox issues with multiple users on a single computer.

    I have an issue with Firefox and multiple users on my computer. There are two users setup and I'm running Win7 Ultimate x64. When the other user logs in, my settings in Firefox get screwed up somehow. Even if that user does not open Firefox.
    Examples of problems this causes:
    Gmail - Cannot load the standard interface, however it will load the HTML only interface.
    Facebook - Cannot post anything.
    vBulletin Forums - Some forums will no longer normally load - a text-only version loads as if I was browsing from a mobile device.
    There may be other issues, but these are the main ones. If I clear my cookies, cache and browsing and download history, then restart Firefox, everything works again.
    This seems to happen most often when the other user logs in, and uses Firefox to log on to their Gmail account.
    How can I fix this?

    Create a new profile as a test to check if your current profile is causing the problems.<br />
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting&#58; Make a new profile]]
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

Maybe you are looking for

  • New MBP 15 can't work 8-9 hours

    Just bought a 15' MBP 2.4GHz online. Everything is excellent, except for the battery. It seems to only work for 4-5 hours without AC, not 8-9 hours like said on the website. The full charge capacity is 6899. I have no idea about these numbers, so ask

  • Firefox almost crashes when saving the first picture.

    Every time I load up firefox or restart it, the first picture I try and save (doesn't matter where, what type or where from) firefox freezes up and if I click anywhere it does the not responding status until the picture is downloaded then it continue

  • Attachment list printing problem

    I am using the Entourage mail program. How does one get the box that lists the file names of attachments to a message to print out as part of the message? I just want to have a printed copy of the list--not the contents of the attachments called out

  • Difference in between J1IH and J1IS

    Dear Gurus,         I know that J1IH is used JV posting for excise invoices. And for J1IS we create the excise invoice and release account posting in J1IV. I want to know what is the basic difference in between J1IH and J1IS, though in both cases we

  • Help - my BlackBerry messages are getting stuck.

    I've used BlackBerry messenger for a while but suddenly my outgoing messages seem to be getting stuck. I get a tick to say they've gone but they don't get delivered straight away. I know it's not a signal problem with the receiving BlackBerry as I've