Appointment system jsp

Hi all,
I am doing an appointment system in jsp/java , I am able to show all the rows as per the time slots, now what i need to do is write a code where when i select multiple rows by pressing shift key and then clicking and when i do one more click then all the selected rows get merged into a single row and then it can be booked for single person.
Any helpful suggestions are most welcome.
Thanks.

Sounds like a job for javascript. If your user has to hold down the shift and click on each row, I would put a onClick attribute in each row tag that calls a javascript function. The function will check to see if the shift key is held down. If so it stores which row was selected in a collection as one more entry. When the user clicks the update button, that collection is sent to the server in order to carry out your logic. You probably need to add more logic to it such as handling the condition where the user changes his mind and unselects a row he mistakenly selected in the collection.

Similar Messages

  • Newbie - Database Learning, Creating a dba for a doctor appointment system

    Hello
    I am a newbie and doing a personal project for the purpose of learning.
    I am trying to create a database for a medical appointment system and i have created some tables but not too sure about the Calendar system.
    Would I have to create a table for Calendar or Doctor's appointment availability or should I just have an Appointment Table and I could create a script which checks the appointment times taken and populates the available ones only?
    For example:
    If i have an Appointment Table linked to a Doctor's table; and the Doctor's table is related to a Clinic table which could possibly have the opening and closing times. Therefore, if this clinic table have information on the DoctorId it will grab information on what appointments are linked to him/her and therefore I could simply create a script, maybe a trigger, to automatically displays the available spots for that particular doctor according to the appointment times associated to him??
    Not sure if this makes sense, im a newbie and interested in learning some more, if anyone has a sample database structure for an appointment system i could look at please? otherwise just wondering if its necessary to have a calendar table or if scripts would be able to work out the availability of each doctor.
    Really appreciatte any help
    Thank you

    You've only provided a bit of information, but I would approach this like follows:
    1. Use LDAP for your authentication. .NET should be able to do this. I don't see a point in creating a different authentication mechanism, unless the requirements provide an explicit reason (which we forum members don't know).
    2. You could use LDAP for authorization as well. However, that could be troublesome if the application security/functionality roels don't map to specific LDAP groups. You may need to code this in your application, and that's not necessarily bad.
    3. You'll probably still want to create a user record in your application. This will allow you to map actions to users (via Foreign Keys), setup user specific preferences, etc.

  • Remote system JSP project not working in eclipse

    Hi
    I am developing a JSP project. My files are on a remote server and I want to configure it in Eclipse 3.3 with Lomboz. The problem is After adding the project it gives a warning that xml files can't be validated.The exact warning is
    The file cannot be validated as the XML Schema "\192.168.1.10\gunjan_share\workspace\Project1\WebContent\WEB-INF\web.xml (The system cannot find the path specified)" that is specified as describing the syntax of the file cannot be located.
    Due to this error JSP pages are not getting compiled.
    Plz help me
    Thanks

    Extracted from Note 1067696.1:
    You need to either adapt your code to remove the scriptlets in your JSP page,
    or you can use the following Java option to disable OJSP:
    -Dadfvdt.disableOjspDeployment=true
    You can add this option -Dadfvdt.disableOjspDeployment=true in your file "ide.conf" in the directory "<Middleware_Home>\jdeveloper\ide\bin"
    For your Production environment, you can have your Managed WLS ignoring the OJSP mode by adding the Java Option -Dadfvdt.disableOjspDeployment=true
    * in the "startManagedWebLogic" (if you want to limit it to a specific Managed Server)
    * or "setDomainEnv" (for all managed servers in a domain).

  • Appointment System

    All,
    I have the task of devising an appoinment system for medical offices/doctors. Patients should be able to call in and schedule an appointment. Obviously this is a very ambitious project in that it must integrate with the phone services.
    I know this is not much info, but do you think Sun Java Calendar System may be a good candidate?
    Any advice is appreciated.

    Hi,
    Sun Java Calendar System is an option to create appointments but whether its a good candidate is going to depend on any number of factors including cost (up-front purchase, licensing, support and what-not), sizing (how many users, how much it is accessed), performance (responsiveness giving sizing and QoS requirements), access method (e.g. wcap vs. caldav vs. whatever protocol), reliability (clustering, multiple back-ends etc.) and the list goes on.
    Regards,
    Shane.

  • Sharing a bean information through jsp pages

    Morning,
    I want to use a java bean in two jsp pages, so is it possible to share it (to set its properties in the 1st page and retrieve them in the 2nd)?
    If not, what should I do? Could I use forward and set param?
    Here is my 1st jsp
    ==================
    <%@page language="java" %>
    <jsp:useBean id="doctorConn" scope="session" class="beans.DoctorBean" >
         <jsp:setProperty name="doctorConn" property="*" />
    </jsp:useBean>
    <%
    if(doctorConn.getUserId().equals("") ||doctorConn.getPassword().equals(""))
         response.sendRedirect("notAuthorised.jsp");
    System.out.println("user id : " + doctorConn.getUserId()+ " password : " +doctorConn.getPassword());
    if(doctorConn.isAuthorised(doctorConn.getUserId(), doctorConn.getPassword())) {
    %>
         <jsp:forward page="doctorApp.jsp" />
    <%
    else response.sendRedirect("notAuthorised.jsp");
    %>
    ==================
    my second
    =================
    <%@page language="java" %>
    <%@page import ="java.sql.*" %>
    <%@page import ="java.lang.Exception"%>
    <jsp:useBean id="doctorConn" scope="session" class="beans.DoctorBean" />
    <jsp:useBean id="appointment" scope="session" class="beans.Appointment" >
         <jsp:setProperty name="appointment" property="*" />
    </jsp:useBean>
    ...etc
    ===========================
    I am using Tomcat 4 and in the 2nd page I am getting an error about doctorConn
    Thank you,

    Yes ofcorse. You can do it in many ways.
    Firstly, declare properties of your bean as static that you want to share between pages and create new instance of bean on each page.
    Secondly you can store the same instance of the bean in you session. On th other page, you can retrive same instance of the bean whenever needed.
    Otherwise, you can create a gateway class that maitain static reference of you bean class.

  • Can we show custom error message if the user fail to log in MII system.

    Hi,
    Is it possible to show a custom error message when a log in is failed because of access restrictions?
    I am using xMII version 11.5
    Thanks
    Regards,
    Neha Maheshwari

    Since you are on 11.5, it is possible to make edits to some of the system jsp pages, etc. but it would NOT be my recommendation to do so.  Since the NetWeaver versions for MII 12.0 and beyond use UME for the login instead of the LHSecurity engine, this would be a very short term change.
    What specific changes would you like to make, the login page messages, query result messages, applet messages?

  • Migrating PCR frontend-JSP forms to Adobe interactive forms-WD Abap Comp

    Hi All,
    We are currently on Netweaver 7.0 & ECC 6.0 and ESS - MSS Business Package 50.4. We are using JSP Forms on portal front for Personnel Change Requests (PCR's ) where in all the scenarios in the backend are heavily customized with good amount of usage of Javascripts. For certain scenarios, where in a huge amount of information is fetched from ECC 6.0 backend system, JSP are performing really bad and the total time taken to display the form is actually causing a lot of irritation to the end user.
    We are planning to propose an upgrade to SAP adobe interactive forms. The prerequisite is that the business wants to reuse all the customized scenarios without any changes and just want to move towards better front end forms.
    My questions are:
    1. Please list benefits of SAP Adobe interactive forms - ABAP component over JSP forms (performance wise)
    2. Issues with SAP Adobe Interactive forms?
    3. Since Javascripts do not work in Webdynpro ABAP. How can we implement those front end checks and validations.
    3. Any other options available for UI that can be suggested?
    All suggestions are welcome. Quick response is appreciated.
    Thanks a lot for your time and help.
    Best Regards,
    Anupama

    Is your performance issue with the Javascript with JSP pages?  or the Java script you are using within the Adobe form in your WDJ custom application using Adobe form? I have worked on PCR's using ISR framework old school it used to call as PCR and now HCM Processes and form, Developed PCR's using WDJ also integrated workflow with the WDJ PCR for approval(we never had any performance issue) infact ISR frame work was kind of slow compare to custom WDJ solution and less flexible for a developer to develop.
    I have also worked created WDA custom application for PCR's , WDA is definitely better when you compare it with WDJ but I have not seen much performance issue with WDJ atleast on custom PCR solutions.
    I don't have any case study to share with you, can you please tell what kind of PCR's your client is using and what kind of performance issue you are experiencing and where and why you guys are using Javascript.

  • Error when use Bean in JSP... Help!

    -- JSP File --
    <%@ page import="com.puppet.javabean.database.DBBean" %>
    <jsp:useBean      id="connectionPool"
              scope="application"
              class="DBBean" >
    <jsp:setProperty     name="connectionPool"
              property="Driver"
              param="driver"
              value="system" />
    </jsp:useBean>
    -- JavaBean --
    import java.io.Serializable;
    public class DBBean implements Serializable
    private String driver;
    void setDriver(String driver)
         System.out.println("------------"+driver+"------------");
         this.driver = driver;
    public String getDriver()
         return driver;     
    But it gen. error in Tomcat.
    -- Error --
    org.apache.jasper.JasperException: Cannot find any information on property 'Driver' in a bean of type 'DBBean'
    at org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(Unknown
    Source)
    how can i solve this ?
    Thx a lot

    [Servlet.LOG]: account: init
    [1/21/05 15:37:59:234 IST] 6ab9ec7e WebGroup E SRVE0020E: [Servlet Error]-[account]: Failed to load servlet: javax.servlet.ServletException: Failed to load JSP file: /JSP/account.jsp
    com.ibm.ws.webcontainer.servlet.LoadTargetServletFailure: Failed to load target servlet [account]

  • External System Data Integration

    Hi Experts,
    I want to know, how to load the data from JMS (Java Messaging Server) into CRM real time??
    Your prompt response will be highly appreciated....
    Warm Regards,
    Peter J.

    Hi Stephen,
    Business scenario is: We are planning to integrate SAP CRM with appointment management system (3rd party tool build in Java). We want to customize web client work area into 2 sub-areas 1. Display business partner search & display search results and 2. Display 3rd party appointment calendar (to book patient appointment). IC Agent gets the patients call (inbound - web client), verifies & displays business partner identity. IC-Agents clicks on book-appointment button to transfer the searched partner details into 3rd party appointment system o book and confirm the appointment. Appointments created in 3rd system will be queued in JMS to pull the data from SAP CRM.  Following are answers:  
    What type of systems are you trying to connect?
         SAP CRM and Java Application
    What type of data are you exchanging? In what direction (from CRM/to CRM/both)?
        Both directions - sending business partner data and receiving back appointment data
    What type of update frequency do you need (batch, realtime, one-time load, etc)?
         Real - time both directions
    What type of volumes are you expecting?
         300 SAP Users
    Looking forward to hear from you....
    Cheers,
    Peter J.

  • JSP Single Page Table Edits

    I am working on a project in which the client wants to make changes to an HTML table of values without going back and forth to an edit page (as provided by the wizard).
    So in my case I would present a list of items to update in an HTML TABLE, which is part of a FORM. Each item or row of the table would have the current value in an INPUT control. The user would enter a new value for each of the items and click on SUBMIT. The FORM submit action is the same page. The values would then be saved to the database. The number of rows or items in the table can vary, so it is dynamic. Also the client wants only 1 submit button, so using the EDIT BC4J component in the native form won't work as it creates a separate form for each row.
    I have done this sort of thing only using traditional JSP and HTML. However, I am trying to use BC4J and the associated tag library. Could you please provide an example of doing this?
    In the ways that I tried to do this, I have been successful in displaying the table and the edit boxes. However, I have not been able to get the values off the HTTP request and save the values.
    Thanks for your help.

    I want my applications' (which is deployed in my local system) JSP to invoke my servlet not any other client browser. Because when the browser points to the index.jsp url,the servlet gets invoked.
    For them I want only a view page containing data which will refresh itself in 5 seconds,here in my case my index page which is invokes the servlet is getting refreshed,that is my problem. I want a page to view the data that the servlet provides and refresh itself.

  • Clone system-unanswered questions

    Hello.
    I neer to clone my system drive (mountain lion) and then upgrade the cloned copy of my system drive to mavericks so I can test it out and make sure I am happy with its performance on my mid 2010 Mac Pro.
    From what I gathered I can just pop in a same size internal harddrive into one of my Mac Pro harddrive bays and run carbon copy cloner and then just clone the drive.
    Where its gets a little hazy for me is, what happens after you have cloned the system drive.
    When booting up with a system drive and cloned system drive in the same machine, from which drive will the Mac Pro actually boot up from when restarting? Will I be asked Where to boot up from? Also could I just remove the original system harddrive from its bay and keep the cloned system drive inside and will the Mac pro then boot as per usual? It's also important to mention I have a password on my Mac Pro that I must type in for any new installs and for logging in, also not sure if this plays any role in complicating things?
    is there anything I should be made aware of regarding cloning a system drive that is commonly left unsaid?
    Thank you to the soul who took the time to help another one, it certainly makes a difference and it is appreciated.

    Chance Harper wrote:
    Thank you Niel.
    So to avoid the blinking question mark of death, should i after the cloning process just go and set the clone as the startup drive, shut down, remove the original system drive and reboot and then it will boot up ok from the newly appointed system clone?
    Also can I give the cloned drive a different name? I mean how will I know which is which after the cloning if it gets cloned using the same harddrive name? For example can I clone my system drive but name it Mavericks?
    There is no need to remove the original system drive. Just go into System Prefs and select the disk you want to use as your startup disk.
    The drive onto which you want to clone your system can be named whatever you want ("Mavericks", "Guinea Pig"). Name it, then clone onto it. Or rename it after cloning.

  • Difference between System.out.println() and out.println()

    Hi,
    In JSP we want to write the JNLP file contents to a ouput stream using "out.printl()".
    The content of the JNLP file i am having in a String.
    The "System.out.println()" is printing the correct JNLP file contents but "out.println()" writing wrong contents which are taken from Server JNLP file.
    How to solve this problem?
    Please guide me in this.
    Thanks and Regards:
    Dheeraj

    Where is the "System.out.println()" running from? I don't think your problem has anything to do with the difference between System.out.println and out.println. Both methods print what is passed to them. It sounds like you are printing two different files because you are running in two different environments.
    JSPs run on a server and only have access to files on the server or on a network the server is on. If you are trying to print a file on a user's system, JSP can't do it.

  • Infinity Order - BT Fail - terrible way to do busi...

    Bit of backstory first, feel free to scroll down the the ### to read my problem
    I have been eagerly waiting for Infinty to increase the speeds i currently get through my BT line (all be it through BE broadband).
    The date for the service in BRIDGEND was pushed back several times, which is kind of understandable when upgrading so many exchanges and cabinets. When I decided to check last week if the date had been updated for my area, I was delighted to find out that I could order Infinity the next day !
    I placed my order online when the clock struck midnight the Infinty option became available for my telehpne number and i placed the order. I followed it up the next day with a MAC code from my current provider, which I phoned through to BT.
    On my account page, the order was all set up - I had an engineer visit booked for Thursday 17th March and my equipment was on its way. As the Appointment had been made I booked the day off work and waited in excitement for my new world of internet use !
    ### Fast forward to today (Tuesday 15th March) ###
    My Homehub and Infinity kit (2 cables) arrived this morning - Great. Checked my order online to double check all is well, only to find that it now stated the folowing on the engineer appointment seciton of my online order page:
    Your appointment is no longer required, as our engineer can connect your line without requiring access to your premises. The engineer will work to connect your line at the exchange.
    This was news to me as I thought you needed an engineer to visit to install the Infinity equipment and socket in the house?
    I phoned customer services and after a while on hold I was told that there was a problem with the appointment system so BT had cancelled my order completely (without notifying me).
    I was told by a nice Scottish lady (im sure they use Scottish people because of their nice soothing accents!) that they was a "fault" on the order and I would have to wait 48 hours and they will call me back and start the order all over again.
    This will of course place me at the back of the queue (i was probabaly the first customer to order in my area as i logged on at midnight on the availability date in the area). 
    I was told the engineer would not be visiting me on Thursday at all and I should now wait 48hours to "see where we are then".
    OK so faults happen, I accept that. And they need to be fixed. But heres my problem with the way BT are handling this:
    The fault is with the APPOINTMENT SYSTEM (according to nice Scottish lady) - not on my line, not at the exchange, not with the little green cabinet on my road, but with BT's appointment system.
    So, instead of keeping my alotted timeslot (for which i have booked time off work), BT have cancelled not only the appointment - but my Entire Order ! And instead of, calling me when they saw a problem, they put a note on my order syaing "Your appointment is no longer required, as our engineer can connect your line without requiring access to your premises. The engineer will work to connect your line at the exchange."
    Terrible! So they wont bother to pick up the phone and pass it through to their engineer to keep to my timeslot, they have instead cancelled my order (which, by the way, i would not have been aware of if I did not check my order screen online today - no phone call from BT), and I now have to wait 48hours before i can start the whole process again and cross my fingers that the appointment doesnt get spit out again 2 days before my next appointment (which could be in a few weeks time by now).
    So in brief, If you order BT infinity, and are given an appointment,  and then their appointment system goes a bit wobbly be warned:
    BT Have no contigency for when this happens, their system cancels your order outright (although still sends you a home hub), and you are told to wait 2 days before ordering again and hope the same thing doesnt happen.
    Rather than calling their engineer to explain the problem and to ask to continue with the visit anyway (as there's no fault on the line) they cancel your order, dont bother to tell you they have done so, and inform you via your order page that your infinty will be connected at their end (which it wont - it cant be).
    So for those returning to BT, in the hope that such a large company would have better procedures and engineer visit appointments system would be reliable, think again.
    The grass isnt always greener.
    (PS If you want to complain about their poor appointment system, when they cancel appointments without telling you - you are told you cant complain until you place the order again - laughable)

    Hi spellstar
    Yep happy to help you out.
    Could you drop me in an email please with your BT account and telephone number along with a link back to this thread.
    Just send using the contact us form in my profile under the 'about me' section and mark FAO Craig please.
    Thx
    Craig
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)”
    td-p/30">Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • SSRS colour series expression help

    Hi, I have created a graph in SSRS which measures the number of appointments booked against a target.
    The expression for the appointments series is:
    =Switch(Fields!DateCol.Value <= Today(),RunningValue(Count(Switch(Fields!SubCategory.Value = "Booked Appointment - System",Fields!NoteId.Value)), SUM, Nothing))
    And the target is simply:
    =RunningValue(Avg(Fields!Target.Value), Sum, Nothing)
    I have coloured the target line in black but I was wondering if it is possible for my appointment series line to be green if above target and red if below target?
    I've never tried this before so any help would be much appreciated!
    Thanks.

    Hi SRidgley,
    Could you please try to provide more details information according to the questions below to help us better understand about your requirements:
    What is the chart type you are currenttly using?
    If possible, please try to provide the snapshot of the chart in the view mode
    Could you please also provide some details information about which field you put in the "Values","Category Group" and "Series Group" and if possible, please provide sample data for me to test.
    I assumed that you have the similar requirements as in the thread below, please take reference:
    https://social.technet.microsoft.com/Forums/en-US/4310fd02-ef84-4874-b11e-993ff2943f6f/how-to-display-the-actual-reading-alone-the-dot-and-conditional-change-the-color-of-the-dotfigure?forum=sqlreportingservices
    If you still have any problem, pelase feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • How to run .exe files with Virtual PC for Mac

    Hey Guys, I'm new around here and with mac technology as well. Anyway, I have an iMac OS X 10.5.1 Leopard and I've recently purchased the Virtual PC for Mac 7.0.2 software. So I'd like to know how to use this program properly, because I need to run some executable files in my computer. It is confusing for me because I don't know how to get started, and I only get to the part when it says "OS not found, Install an OS on this hard drive".
    Honestly I've no idea of what an OS is or where do I get that. So I'd really appreciate if one of you guys could tell me, step by step, what to do to use Virtual PC properly, and finally learn how to run .exe files on mac.
    Thanks in advance!
    Have a nice day!

    Always nice to see new faces
    Honestly I've no idea of what an OS is or where do I get that.
    This brings up the second part of your problem. The first part is setting up either a proper Virtual Machine program like Parallels or VMfusion, or setting up a Boot Camp partition on your drive.
    http://www.parallels.com/
    http://www.vmware.com/products/fusion/
    OS stands for Operating System. You are running Leopard 10.5.7 as an operating system on your Mac (MacOS X).
    The second part of your problem - You will need a copy of Windows XP or Vista if you want to run Windows on your Mac.
    There is at least one other solution for running Windows programs on a Mac. It's called "CrossOver" by a company named 'Codeweavers'. It's based on a project for "Wine" to be able to run PC programs on a Mac or Linux, without having to buy or install Windows. It works with a narrow subset of Windows programs so you would want to make sure the program you want to run is compatible with CrossOver before you buy it.
    http://www.codeweavers.com/products/cxmac/
    In addition to all the above information, you need to upgrade your Mac to the latest 10.5.7 from 10.5.1. "Software Update" is located under the black Apple icon in the Menu Bar at the top left corner of your monitor. After you are updated you will want to update your Profile here so that it shows the proper OS version.
    With your level of experience with MacOS X and the Windows OS's you should probably get some help from a local Apple store. They have an appointment system and do offer many types of help and training, and they can offer assistance with choosing the proper programs for you to purchase for your machine.
    You are also welcome to continue to ask questions here, of course. You will want to ask your questions with different issues that come up in different threads so that the answers stay focused on the title of the thread.
    Message was edited by: dechamp to try to be more accurate with a fairly complicated issue...

Maybe you are looking for

  • MacBookPro 13 inch won't boot after last OS update 2 days ago

    My MacBookPro automatically installed the latest OS update and after the mandatory reboot now it brings up the initial screen (apple with bar on bottom) and then it goes black just to do the same again and again.

  • Error when Importing Multiple Articles

    Hello i am facing problem with importing multiple articles i am sure every thing in place, i created empty Folio to be sure not used or there is no error from the menu i clciked Import and chose Import Multiple Articles i browse to the foled and clic

  • MDM Workflows thru GP (Guided Procedure)

    Hi all basically i am working as a portal consultant. i need to explore on mdm workflows how to access them in portal thru GP mechanism. ( Guided Procedures) Can anybody help me on this by providing useful documents and links? as i am aware of that ,

  • Query with incomplete header !

    Hi Team in a ABAP query   when  i execute the output header is coming incomplete like for ( DIST CHNL )  coming as "DIS". kindly let me know where in sq01 or sq02 we can check the option of sull header displayed. Thank you Srini

  • Editing Slide Video with preview

    Hi there, I have made a slide video (published mp4) and in CP6 clicking on (Edit Video timing) in the Properties panel, I do get the video/swf to show 1 screenshot, bu will not display full preview of the swf......jsut atiny 300*200 (aprox) window on