Problem button Controller

Hi , I'm very new to OAF and have this problem:
I have a page with 2 buttons (A) and (B). (A) is added via personalization.
when user click (A) have to disable button ( B ), under some conditions. ( ( A) action is to return in the same page ( refresh ) )
I've extended a OAF Conroller class, compile it, and add it on the server ( in oracle/apps/pa/package/webui ).
My problem is: how to tell OAF about this controller?
I've tried to the specify in the personalization item, extend field, the path of the uploaded controller. I had an exception ( OAF doesn't recognize this class )
Is any place in OAF I can specify the new Controller?
I really need this info, anybody can help me? Thanks a lot!

Hi,
You can set the controller through Personalization also. Click on Personalize Page link which is on top of the page.
--Personalization Structure
Complete View - check it and also click on Expand All
Then search for the region in which the buttons A & B are attached. Click on Personalize link[Pencil].
There is a property over there name Controller Class. I have given below a example of it. Just add you controller there.
Controller Class---> oracle.apps.csf.portal.task.webui.CsfPoTaskUpdateMainCO
One thing also whenever you are making your own page or extending seeded region or CO, VO, AM then you should make a separate directory structure like
companyname.oracle.apps.fnd.framework.toolbox.tutorial.....
Thanks
--Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Disappearing Report a Problem button iTunes 10.6

    OS 10.6.8 iTunes 10.6
    I am an iTunes match user and I have a song that I purchased a year or so ago that will not stream or download. The song it by the Ting Tings "That's Not My Name" Anyway, I try to report the problem from my account purchase history but when I click on the report a problem button it just disapears LOL!!! and no form shows up. Is this how apple handles problems now?

    I think what is happening is the button disappears then there are links "Report a problem) next to each item in the purchased list. However, I still think it is odd that the button disappears. I guess now I have to just search through the lists to find the item that I am having trouble with.

  • Trying to get a refund on an app that do not work, but the report a problem button is grey out

    Hi
    I'm trying to get a refund on an app that do not work, but the report a problem button is gray out & Apple wants £20.00 for support
    where do I go from here
    Thanks

    To report a problem less than 90 days:
    http://reportaproblem.apple.com
    Sign in with the AppleID and Password used for the purchase.
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
    http://support.apple.com/kb/HT1933
    To report a problem greater than 90 days:
    http://www.apple.com/support/itunes/store

  • KT3 Ultra 2 (MS6380E) - Not booting, D-bracket indicates problem HDD controller

    I wonder if anyone could help me. Just yesterday my whole PC (4 1/2 years old) crashed suddenly (black screen, HDD spinning down) I tried to reboot it but to no avail. My D-Bracket indicators are as follows: upper two red, lower two green, which is during the initialisation of the HDD controller. I have already tried to boot it with the bare minimum but the problem persists. When i press the power button i hear all fans in the case spinning and the HDD spinning up but there are no beeps from BIOS and the screen remains blank (can't acces BIOS either). There are also some clicks coming from the DVD-ROM drive (reading light goes on and out) for about 5 seconds and then the clicking stops. I have already tried reseating and/or replacing with other models: PSU, memory , videocard, HDD and clearing CMOS both by using JBAT jumper and removing the battery for half an hour. Does anyone know other things to try? Thank you for replying.
    KT3 Ultra 2
    Athlon XP 2000+ FSB133
    512 mb DDR333
    400W PSU

    Thank you for the replies.
    Regarding the CPU fan (Zahlman), everything is working fine, never had any problems with it, no thermal issues with CPU at all.
    The D-Bracket indicators do not flash during boot but immediately illuminate top two red, lower two green. Shouldn't all four indicators be red to indicate a CPU failure (according to my manual) ?
    The clicking of the DVD-ROM drive also has me worried as it seems to indicate something's wrong with the IDE controller, but I could be wrong. Something I also noticed is that when i boot the PC with HDD but without DVD-ROM drive the HDD activity LED stays illuminated all the time, but when I connect both the DVD-ROM clicks and the HDD LED goes off after three seconds. I tried another DVD-ROM drive and the clicking stays. I don't know if this is significant for troubleshooting this problem.
    Will disconnect all components again as suggested and leave the mainboard without battery overnight. Should i also set the JBAT jumper to clear data during the night? I think i will unscrew the mainboard as well (but leave CPU on it) and build the PC up from scratch.

  • Problem with controller.

    hi all
    i have defined two contollers for two different regions region1 and region 2 in my page under pageLayout region.
    but when i press submit button in region2 , then control goes to both the controller . i m very confused .it should go to the controller for region2 only.
    pls help.
    naveen

    these two regions are not nested .then why it shud go to the controller of region1.
    also i have not defined any controller at pageLayout level.
    controller is coming to the PFR of both the controllers (of region1 and region2)
    i have defined FGR as
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    super.processFormRequest(pageContext, webBean);
    if((pageContext.getParameter("item1") != null))
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    System.out.println("Region1" + am);
    AND
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    super.processFormRequest(pageContext, webBean);
    if((pageContext.getParameter("item1") != null))
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    System.out.println("Region2" + am);
    pls help

  • Problem with Controller 5760-50

    hi all,
    My customer has a Controller 5760-50, and 30 APs. My customer wants to add 100 APs to this controller.
    I know that: Controller 5760-50 only add maximum 50 APs...
    How do I resolve this problem? (buy license or buy other controller can manage over 100 APs)
    Thank all,
    Quynh

    Buy an Adder license... The 5760-50 will obviously only support 50 APs, but the 5760 will support up to 1000 APs, so just add AP Adder licenses as necessary.

  • Can any one tell me whats the problem with controller

    package com.uk.nhs.training.controller;
    import java.beans.PropertyEditorSupport;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.List;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.swing.text.html.HTMLDocument;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    import org.springframework.util.StringUtils;
    import org.springframework.validation.BindException;
    import org.springframework.validation.Errors;
    import org.springframework.validation.ValidationUtils;
    import org.springframework.web.bind.ServletRequestDataBinder;
    import org.springframework.web.servlet.ModelAndView;
    import org.springframework.web.servlet.mvc.AbstractWizardFormController;
    import org.springframework.web.servlet.view.RedirectView;
    import com.uk.nhs.training.contractUtility.ContractHtmlReader;
    import com.uk.nhs.training.data.Booking;
    import com.uk.nhs.training.data.BookingDetails;
    import com.uk.nhs.training.data.Client;
    import com.uk.nhs.training.data.Course;
    import com.uk.nhs.training.data.Trainer;
    import com.uk.nhs.training.data.Venue;
    import com.uk.nhs.training.service.BookingService;
    import com.uk.nhs.training.service.ClientService;
    import com.uk.nhs.training.service.CourseService;
    import com.uk.nhs.training.service.TrainersService;
    import com.uk.nhs.training.service.VenueService;
    public class BookingController extends AbstractWizardFormController {
         protected final Log logger = LogFactory.getLog(getClass());
         private BookingService bookingFacade;
         private CourseService courseFacade;
         private VenueService venueFacade;
         private ClientService clientFacade;
         private TrainersService trainersFacade;
         public static final String STAFF = "Staff";
         public static final String CLIENT_BASED = "Client-Based";
         private SimpleDateFormat dateFormat = new SimpleDateFormat("dd MMMMMMMM yyyy");
         public BookingController() {
              setPages(new String[] { "booking", "book1", "book2", "book3", "book4",
                        "book5", "book6", "book7" });
              setCommandName("booking");
              setAllowDirtyForward(true);
         protected Object formBackingObject(HttpServletRequest request)
                   throws Exception {
              Booking booking = new Booking();
              return booking;
         protected ModelAndView processFinish(HttpServletRequest request,
                   HttpServletResponse response, Object command, BindException errors) {
              try {
                   Booking booking = (Booking) command;
                   setBookingFinalDetails(booking);
                   logger.info("Boooking Form data sent successfully");
              } catch (Exception e) {
                   e.getClass();
                   e.printStackTrace();
              return new ModelAndView("bookSuccess");
         @Override
         protected void initBinder(HttpServletRequest request, ServletRequestDataBinder binder) throws Exception {
              dateFormat.setLenient(false);
              binder.registerCustomEditor(java.sql.Date.class, null, new SqlDateEditor(true));
         private void setBookingFinalDetails(Booking booking) throws Exception {
              booking.setCreateDate(new java.sql.Date(System.currentTimeMillis()));
              booking.setStatus("In Progress");
              bookingFacade.saveBooking(booking);
         protected ModelAndView handleInvalidSubmit(HttpServletRequest request,
                   HttpServletResponse response) throws Exception {
              return new ModelAndView("bookInvalidSubmit");
         @Override
         protected ModelAndView processCancel(HttpServletRequest request,
                   HttpServletResponse response, Object command, BindException errors)
                   throws Exception {
              return new ModelAndView(new RedirectView("welcome.htm"));
         @Override
         protected void onBindAndValidate(HttpServletRequest request,
                   Object command, BindException errors, int page) throws Exception {
              Booking booking = (Booking) command;
              System.out.println(" PAGE : " + page);
              try {
                   switch (page) {
                   case 0:
                        if (request.getParameter("_target1") != null) {
                             ValidationUtils.rejectIfEmptyOrWhitespace(errors,
                                       "bookingType", "required.bookingType",
                                       "Booking type is required");
                             String bookingType = request.getParameter("bookingType");
                             booking.setBookingType(bookingType);
                             setInitialBookingDetails(booking, errors);
                        break;
                   case 1:
                        if (request.getParameter("_target2") != null) {
                             if (booking.getBookingType().equals(STAFF)) {
                                  booking.setClient(null);
                             if (booking.getBookingType().equals(CLIENT_BASED)) {
                                  validateClient(booking, errors);
                                  if (errors.getErrorCount() == 0) {
                                       Client c = (Client) clientFacade
                                                 .loadClientById(booking.getClient()
                                                           .getClientId());
                                       booking.setClient(c);
                             int theBookingDetailsLength = Integer.parseInt(request
                                       .getParameter("qtyBox"));
                             String courseId = request.getParameter("bookingDetails");
                             if (courseId != null && courseId.trim().length() > 0) {
                                  List<BookingDetails> bookDetails = new ArrayList<BookingDetails>();
                                  for (int i = 0; i < theBookingDetailsLength; i++) {
                                       BookingDetails bk = new BookingDetails();
                                       bk.getCourse().setCourseId(courseId);
                                       Course c = (Course) courseFacade
                                                 .getCourseById(courseId);
                                       bk.setCourse(c);
                                       // Add empty trainer..
                                       bk.setTrainer(new Trainer());
                                       bookDetails.add(bk);
                                       booking.setBookingDetails(bookDetails);
                             } else {
                                  validateCourse(booking, errors);
                        break;
                   case 2:
                        if (request.getParameter("_target1") != null) {
                             setInitialBookingDetails(booking, errors);
                        if (request.getParameter("_target3") != null) {
                             int i=0;
                             for (BookingDetails bd : booking.getBookingDetails()) {
                                  if (bd != null && bd.getTrainer() != null) {
                                       String trainerId = bd.getTrainer().getTrainerId();
                                       Trainer trainer = trainersFacade
                                                 .loadTrainersById(trainerId);
                                       if (trainer != null ) {
                                            bd.setTrainer(trainer);
                                            // add empty venue;
                                            bd.setVenue(new Venue());
                                       } else {
                                            validateTrainer(booking, errors);
                                  i++;
                        break;
                   case 3:
                        if (request.getParameter("_target4") != null) {
                             for (BookingDetails bd : booking.getBookingDetails()) {
                                  if (bd != null && bd.getVenue() != null) {
                                       ValidationUtils.rejectIfEmptyOrWhitespace(errors,
                                                 "bookingDetails[0].venue.venueId",
                                                 "required.venue.venueId",
                                                 "Venue Details required.");
                                       String venueId = bd.getVenue().getVenueId();
                                       List<Venue> vList = venueFacade
                                                 .loadVenuesByKeyword(venueId);
                                       if (vList != null && vList.size() > 0) {
                                            bd.setVenue(vList.get(0));
                                  } else {
                                       errors.rejectValue(
                                                 "bookingDetails[0].venue.venueName",
                                                 "required.venue.venueName",
                                                 "Valid Venue Details required.");
                        break;
                   case 4:
                        break;
                   case 5:
                        if (request.getParameter("_target7") != null) {
                             setBookingFinalDetails(booking);
                             ContractHtmlReader reader = new ContractHtmlReader(booking);
                             HTMLDocument doc = reader.getHTMLDoc();
                             reader.writeHTMLCode(doc);
                        break;
                   default:
              } catch (Exception e) {
                   System.err.println("Exception :" + e.getMessage());
              super.onBindAndValidate(request, command, errors, page);
         * Create an empty Booking details for client and course...
         * @param booking
         private void setInitialBookingDetails(Booking booking, BindException errors) {
              if (booking.getBookingType().equals("Client-Based")) {
                   if (booking.getClient() == null
                             || booking.getClient().getClientId() == null) {
                        booking.setClient(new Client());
              } else if (booking.getBookingType().equals("Staff")) {
                   booking.setClient(null);
              if (booking.getBookingDetails() == null) {
                   List<BookingDetails> bkDetailsList = new ArrayList<BookingDetails>();
                   BookingDetails bkDetails = new BookingDetails();
                   bkDetails.setCourse(new Course());
                   bkDetailsList.add(bkDetails);
                   booking.setBookingDetails(bkDetailsList);
              } else {
                   List bkDetList = booking.getBookingDetails();
                   if (bkDetList.size() < 1
                             || (bkDetList.size() > 0 && !((bkDetList.get(0)) instanceof BookingDetails))) {
                        BookingDetails bkDetails = new BookingDetails();
                        bkDetails.setCourse(new Course());
                        bkDetList.add(0, bkDetails);
                        booking.setBookingDetails(bkDetList);
                   } else if (((BookingDetails) bkDetList.get(0)).getCourse() == null
                             || ((BookingDetails) bkDetList.get(0)).getCourse()
                                       .getCourseId() == null) {
                        ((BookingDetails) bkDetList.get(0)).setCourse(new Course());
         @Override
         protected void validatePage(Object command, Errors errors, int page,
                   boolean finish) {
              Booking booking = (Booking) command;
              if (finish) {
                   for (BookingDetails bd : booking.getBookingDetails()) {
                        if (bd != null && bd.getRate() != null) {
                             try {
                                  float rate = bd.getRate();
                             } catch (NumberFormatException e) {
                                  errors.reject("invalid.bookingDetails.rate",
                                            "(try \"250.00\")!");
                             } catch (Exception e) {
                                  errors.rejectValue("bookingDetails.rate",
                                            "error.bookingDetails.rate",
                                            "Enter valid Rate.");
                   booking
                             .setCreateDate(new java.sql.Date(System.currentTimeMillis()));
              super.validatePage(command, errors, page);
         * Validate client
         * @param booking
         * @param err
         private void validateClient(final Booking booking, Errors err) {
              ValidationUtils.rejectIfEmptyOrWhitespace(err, "client.clientId",
                        "required.client.clientId", "Valid client details required.");
         * Validate Course
         * @param booking
         * @param err
         private void validateCourse(final Booking booking, Errors err) {
              if (booking.getBookingDetails() == null
                        || booking.getBookingDetails().size() < 1) {
                   err.rejectValue("bookingDetails", "error.bookingDetails",
                             "Course Booking Details required.");
              } else {
                   List bdList = booking.getBookingDetails();
                   for (int i = 0; i < bdList.size(); i++) {
                        if (!(bdList.get(i) instanceof BookingDetails)) {
                             err.rejectValue("bookingDetails", "error.bookingDetails",
                                       "Valid Course Booking Details required.");
                        } else {
                             BookingDetails bd = (BookingDetails) (bdList.get(i));
                             if (bd.getCourse() == null
                                       || bd.getCourse().getCourseId() == null)
                                  err.rejectValue("bookingDetails",
                                            "error.bookingDetails.course.courseId",
                                            "Valid Course Details required.");
         * Validate Trainer
         * @param booking
         * @param e
         private void validateTrainer(final Booking booking, Errors e) {
              ValidationUtils.rejectIfEmptyOrWhitespace(e,
                        "bookingDetails[0].startDate",
                        "required.bookingDetails[0].startDate",
                        "Valid Booking Details startDate required.");
              ValidationUtils.rejectIfEmptyOrWhitespace(e,
                        "bookingDetails[0].trainer.trainerId",
                        "required.bookingDetails[0].trainer.trainerId",
                        "Valid Booking Details Trainer required.");
              if (e.getErrorCount() < 1)
                   for (BookingDetails bd : booking.getBookingDetails()) {
                        if (bd.getStartDate() == null) {
                             e.rejectValue("startDate", "required.bbb0",
                                       "Valid Booking details Start Date is required");
                        try {
                             if (bd.getStartDate() != null && bd.getEndDate() != null
                                       && (bd.getEndDate().before(bd.getStartDate())))
                                  e.rejectValue("endDate", "required.bbb0",
                                            "End Date Should be after starting date.");
                        } catch (Exception ex) {
                             e.rejectValue("bookingDetails[0].startDate",
                                       "before.bookingDetails[0].startDate",
                                       "Improper dates, please provide valid dates.");
                        if (bd.getTrainer() != null) {
                             e.rejectValue("trianerId", "required.trianerId",
                                       "Valid Trainer details required.");
         public BookingService getBookingFacade() {
              return bookingFacade;
         public void setBookingFacade(BookingService bookingFacade) {
              this.bookingFacade = bookingFacade;
         public CourseService getCourseFacade() {
              return courseFacade;
         public void setCourseFacade(CourseService courseFacade) {
              this.courseFacade = courseFacade;
         public VenueService getVenueFacade() {
              return venueFacade;
         public void setVenueFacade(VenueService venueFacade) {
              this.venueFacade = venueFacade;
         public ClientService getClientFacade() {
              return clientFacade;
         public void setClientFacade(ClientService clientFacade) {
              this.clientFacade = clientFacade;
         public TrainersService getTrainersFacade() {
              return trainersFacade;
         public void setTrainersFacade(TrainersService trainersFacade) {
              this.trainersFacade = trainersFacade;
         class SqlDateEditor extends PropertyEditorSupport
              private boolean isRequired = false;
              SqlDateEditor(boolean isRequired) {
                   this.isRequired = isRequired;
              public void setAsText(String text) throws IllegalArgumentException {
                   java.util.Date d = null;
                   if (!this.isRequired && !StringUtils.hasText(text)) {
                        setValue(null);
                   else
                        try {
                             d = dateFormat.parse(text);
                             setValue(new java.sql.Date(d.getTime()));
                        } catch (ParseException ex) {
                             throw new IllegalArgumentException("Could not parse date: " + ex.getMessage());
              public String getAsText() {
                   Date value = (java.sql.Date)getValue();
                   if (value != null) {
                        java.util.Date d = new java.util.Date(value.getTime());
                        return dateFormat.format(d);
                   else {
                        return "";
    }

    <!-- Content -->
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"%>
    <%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
    <%@ page isELIgnored="false"%>
    <SCRIPT language="JavaScript" type="text/javascript">
         function checkClientKeycode(kCode){
              if (kCode==27){
                   hideSelectClient();
              else if (kCode==13){
                   setClient();
         function changeClientFocus(){
              if (document.getElementById("clientSelect").style.visibility=="visible"){
                   document.getElementById("clientSelect").style.height=100;
                   document.getElementById("clientSelect").focus();
         function hideSelectClient(){ 
              var clSelect = document.getElementById("clientSelect");
              clSelect.options.length=0;
         clSelect.style.visibility="hidden";
         clSelect.style.height=10;
    function setClient(){
              var clSelect = document.getElementById("clientSelect");
         document.getElementById("clientId").value=clSelect.value;
         document.getElementById("clientname").value=clSelect.options[clSelect.selectedIndex].text;
              clSelect.options.length=0;
         clSelect.style.visibility="hidden";
         clSelect.style.height=10;
    function checkCourseKeycode(kCode){
              if (kCode==27){
                   hideSelectCourse();
              else if (kCode==13){
                   setCourse();
         function changeCourseFocus(){
              if (document.getElementById("courseSelect").style.visibility=="visible"){     
                   document.getElementById("courseSelect").style.height=100;
                   document.getElementById("courseSelect").focus();
         function hideSelectCourse(){ 
              var coSelect=document.getElementById("courseSelect")
              coSelect.options.length=0;
         coSelect.style.visibility="hidden";
         coSelect.style.height=10;
    function setCourse(){
         var coSelect=document.getElementById("courseSelect")
         document.getElementById("bookingDetails").value=coSelect.value;
         document.getElementById("coursename").value=coSelect.options[coSelect.selectedIndex].text;
         coSelect.options.length=0;
         coSelect.style.visibility="hidden";
              coSelect.style.height=10;
         function addClient()
              window.open("<%=request.getContextPath()%>/secure/clientpopup.htm","clientwindow","location=0,status=1,scrollbars=1,resizable=1 left=200 width=700,height=600");
         function addCourse()
              window.open("<%=request.getContextPath()%>/secure/coursepopup.htm","coursewindow","location=0,status=1,scrollbars=1,resizable=1 left=200 width=450,height=400");
         function addTrainer()
              window.open("<%=request.getContextPath()%>/secure/trainerpopup.htm","trainerwindow","location=0,status=1,scrollbars=1,resizable=1 left=400 width=600,height=400");
         //------------------------------------------Course AJAX List Start-----------------------------------------------------//
         function getCourses()
              flag="wait";
         var theKeyword=document.getElementById("coursename").value;
         url="ajaxList.htm?actionType=courses&keyword="+theKeyword;
         what = "setCourses(req.responseXML)";
         //row_id=rowid;
         doCallback(null);
         function setCourses(theXmlResponse)
              //start filling the Venues Select boxes now
              if(theXmlResponse != null)
                   var coursesBox=document.getElementById("courseSelect");
                   coursesBox.options.length=0;
                   var coursesElementsLength=theXmlResponse.getElementsByTagName('course').length;
                   var y;
                   if (coursesElementsLength<20) {
                        y=coursesElementsLength;
                   else {
                        y=20;
                   coursesBox.size=y;
                   if (y==1) {
                        coursesBox.size=2;
                   var coursesElementsArray=theXmlResponse.getElementsByTagName('course');
                   for(x = 0; x < y; x++) {
                        coursesBox.options[coursesBox.options.length] = new Option(coursesElementsArray[x].firstChild.text, coursesElementsArray[x].lastChild.text);
                   if (y>0) {
                        coursesBox.style.visibility="visible";
                        coursesBox.style.height=100;
              flag="release";
    //------------------------------------------ Course AJAX List End-----------------------------------------------------//
    //------------------------------------------ Client AJAX List Start-----------------------------------------------------//
         function getClients()
              flag="wait";
              var theKeyword=document.getElementById("clientname").value;
         url="ajaxList.htm?actionType=clients&keyword="+theKeyword;
         what = "setClients(req.responseXML)";
         //row_id=rowid;
         doCallback(null);
         function setClients(theXmlResponse)
              if(theXmlResponse != null) {
                   var clientsBox=document.getElementById("clientSelect");
                   clientsBox.options.length=0;
                   var clientsElementsLength=theXmlResponse.getElementsByTagName('client').length;
                   var y;
                   if (clientsElementsLength<20) {
                        y=clientsElementsLength;
                   else {
                        y=20;
                   clientsBox.size=y;
                   if (y==1) {
                        clientsBox.size=2;
                   var clientsElementsArray=theXmlResponse.getElementsByTagName('client');
                   for(x = 0; x < y; x++) {
                        clientsBox.options[clientsBox.options.length] = new Option();
                   if (y>0) {
                        clientsBox.style.visibility="visible";
                        clientsBox.style.height=100;                    
              flag="release";
    //------------------------------------------Client AJAX List End-----------------------------------------------------//
    </script>
    <div id="content"><!-- Top story -->
    <div id="topstory" class="box">
    <div id="topstory-img"></div>
    <!-- /topstory-img -->
    <div id="topstory-desc">
    <div id="topstory-title"><strong>BOOK COURSE (CONT.)</strong></div>
    <!-- /topstory-title -->
    <div id="topstory-desc-in"></div>
    <!-- /topstory-desc-in --></div>
    <!-- /topstory-desc --></div>
    <!-- /topstory -->
    <div id="bodycontent"><c:choose>
         <c:when test='${booking.bookingType eq "Staff"}'>
              <table align="left" width="50%" border=0>
                   <tr>
                        <td colspan="4" align="center"><strong>Choose Course</strong>
                        <form name="BookType1"
                             action="<c:url value="/secure/bookCourse.htm"/>" method="post">
                        </td>
                   </tr>
                   </c:when>
                   <c:when test='${booking.bookingType eq "Client-Based"}'>
                        <table align="left" width="50%" border=0>
                             <tr>
                                  <td colspan="4" align="center"><strong>Choose Client and Course</strong>
                                  </p>
                                  </td>
                             </tr>
                             <form name="BookType1"
                                  action="<c:url value="/secure/bookCourse.htm"/>" method="post">
                             <tr>
                                  <td colspan="4" align="left">Please pick client from the list:</td>
                             </tr>
                             <tr>
                                  <td colspan="4" align="left">
                                  <c:if test='${empty booking.client || empty booking.client.clientId}'>
                                  <spring:bind path="booking.client.clientId">
                                       <input name="<c:out value='${status.expression}'/>" type="hidden" id="clientId" value=""/>
                                  </spring:bind>
                                  <input size="20" type="text" id="clientname" value=""
                                  onkeyup="javascript:getClients();changeClientFocus();"
                                  ondblclick="javascript:getClients();changeClientFocus();" />
                                  </c:if>
                                  <c:if test='${not empty booking.client.clientId}'>
                                  <spring:bind path="booking.client.clientId">
                                       <input name="<c:out value='${status.expression}'/>" type="hidden" id="clientId" value="<c:out value='${status.value}'/>"/>
                                  </spring:bind>
                                  <input size="20" type="text" id="clientname" name="clientname"
                                  value="<c:out value='${booking.client.orgName}'/> - <c:out value='${booking.client.type}'/>"
                                  onkeyup="javascript:getClients();changeClientFocus();"
                                  ondblclick="javascript:getClients();changeClientFocus();" />
                                  </c:if>
                                  <div><select id="clientSelect"
                                       style="width:266px;visibility:hidden"
                                       onclick="javascript:setClient();"
                                       onkeyup="javascript:checkClientKeycode(event.keyCode);">
                                  </select></div>
                                  </td>
                             </tr>
                             </c:when>
                             <c:otherwise>
                                  <table align="left" width="50%" border=0>
                                       <tr>
                                            <td colspan="4" align="center"><strong>Choose Course</strong>
                                            <form name="BookType1"
                                                 action="<c:url value="/secure/bookCourse.htm"/>" method="post">
                                            </td>
                                       </tr>
                                       </c:otherwise>
                                       </c:choose>
                                       <tr>
                                            <td colspan="4" align="left">Pick Course from list:</td>
                                       </tr>
                                       <tr>
                                            <td colspan="4" align="left">
                                            <input type="hidden" name="clientAndCourse" value="yes" />
                                            <input name="bookingDetails" type="hidden"
                                                 <c:if test="${(not empty booking.bookingDetails[0])}"> value="<c:out
                                                 value="${booking.bookingDetails[0].course.courseId}"/>"</c:if> />
                                            <spring:bind path="booking.bookingDetails[0].course.courseId">
                                            <input size="20" type="text" id="coursename" name="coursename"
                                            <c:if test="${(not empty booking.bookingDetails[0])}"> value="<c:out
                                                 value="${booking.bookingDetails[0].course.courseTitle}"/>"</c:if>
                                                 onkeyup="javascript:getCourses();changeCourseFocus();"
                                                 ondblclick="javascript:getCourses();changeCourseFocus();" />
                                            </spring:bind>
                                            <div><select id="courseSelect"
                                                 style="width:266px;visibility:hidden"
                                                 onclick="javascript:setCourse();"
                                                 onkeyup="javascript:checkCourseKeycode(event.keyCode);"></select></div>
                                            </td>
                                       </tr>
                                       <tr>
                                            <td colspan="4" align="left">Quantity:   <select
                                                 name="qtyBox" size="1">
                                                 <c:forEach var="x" begin="1" end="10">
                                                      <option value='<c:out value="${x}"/>'><c:out value="${x}" /></option>
                                                 </c:forEach>
                                            </select></td>
                                       </tr>
                                       <tr>
                                            <td colspan="4" align="left"></td>
                                       </tr>
                                       <tr>
                                            <td>
                                            <p><!-- input type="submit" name="_finish" value="Save"/ -->  
                                            <input type="submit" name="_target0" value="Previous" />  
                                            <input type="submit" name="_target2" value="Next" />  
                                            <input type="submit" name="_cancel" value="Cancel" />
                                            </td>
                                            <td><input type="button" value="Add Client"
                                                 onclick="javascript:addClient();" /></td>
                                            <td><input type="button" value="Add Course"
                                                 onclick="javascript:addCourse();" /></td>
                                            <td><input type="button" value="Add Trainer"
                                                 onclick="javascript:addTrainer();" /></td>
                                       </tr>
                                  </table>
                                  </form>
                                  </div>
                                  <hr class="noscreen" />
                                  <div class="content-padding"></div>
                                  <!-- /content-padding -->
                                  </div>
                                  <!-- /content -->

  • GUI update problem: button take time to be disabled

    I have a Stop button. In the actionPerformed() method for the button, I disable the button and also some other buttons (using setEnabled(false)) then there are some other codes that include Thread.sleep() method. Then again I enable some other buttons. Problem is the Stop button take time to be disabled. The time exactly equals sec provided in the sleep() method. I tried by puting the button disabling buttons' code in another thread that is called from SwingUtilies.invokeLater() method just before the sleep() method. It is very important to disable some buttons before Thread.sleep() is called. And only after the sleep() method I can enable some other buttons.
    Please help me.

    Hello Experts! I can't hear you. 1) Swing related questions should be posted in the Swing forum
    2) Quit bumping your question, you only posted it 30 minutes ago. People will answer when they have the time.
    Your code in the actionListener needs to be executed in a separate Thread, so that when you invoke the "sleep" method the separate Thread sleeps, not the Event Thread.

  • Problem button

    i have an problem that its only the first button "paris_btn" that works and its defined in this line any know why ?
    my hair has almoast turned gray here now
    var buttons : Array = [paris_btn,london_btn,hongkong_btn,newyork_btn];
    import caurina.transitions.*;
    var hongkongX : Number = 0;
    var londonX : Number = -800;
    var parisX : Number = -1600;
    var newyorkX : Number = -2400;
    var buttons : Array = [paris_btn,london_btn,hongkong_btn,newyork_btn];
    for (var i:int = 0; i< buttons.length ; i++){
    buttons[i].addEventListener(MouseEvent.CLICK,navigate);
    buttons[i].buttonMode = true;
    }function navigate(event:MouseEvent):void{
    switch (event.target){
      case (hongkong_btn) : setTween(hongkongX);
      break;
      case (london_btn) : setTween(londonX);
      break;
      case (paris_btn)  : setTween(parisX);
      break;
      case (newyork_btn) : setTween(newyorkX);
      break;
    function setTween(tweenX:Number):void{
    Tweener.addTween(content_mc, {x:tweenX, time:1, transition:"easeInOutCubic"});

    There isn't anything wrong with that particular buttons coding.  There may be something that makes that button different such that using   event.target  may not be appropriate.  Try using   event.currentTarget  and see if that improves anything.
    Other than that, for the code you show, there is a misplaced " { " ... }function navigate.... it belongs at the end of the function.

  • Problem with Controller Servlet in WAS 4.0

    Hello guys,
              I am working on WPS over WAS 4.0. I have an Enterprise application
              with a servlet which acts as a Traffic Controller. Its job is to
              intercept every http request to the Portal Server and make some
              changes to the URL and redirect/forward the changed URL to the Portal
              server. I plan to map the servlet to "/" so as all the requests are
              handled by this servlet. I hope it will work this way.
              So, the user clicks on a URL like http://server_name/meeting, the
              servlet sees a mapping table for /meetinf, constructs a new URL and
              redirects it. I read the /meeting as "pathInfo" variable from the
              request object. Please note that "/" is mapped to the servlet. This
              works fine. But if I give a JSP file instead
              (http://server_name/meeting/m.jsp), it starts looking for the JSP file
              in the Servlet WAR file. So the question is if there's any any other
              way of achieving this effect or is there any way to make all the .jsp
              file requests to go to this servlet instead of being searched in the
              WAR file?
              I would be grateful if someone can put their thoughts over this
              problem.
              Thanks
              Kapil.
              ([email protected])
              

    Sorry to hear that.
    As far as I know the campus topology is based on CDP info. And since you see all the links in the CDP tables, so should campus.
    I've seen campus getting it wrong a few times, especially when there was some repatching done, but until now, when I delete the devices and re-add these devices, the next data collection gets the links correct.
    Cheers,
    Michel

  • Problems: button with image

    hallo,
    i have the following problem:
    I've written this class:
    import java.awt.*;
    public class ImageButton
    extends Button
         private Image img;
         public ImageButton(String fname)
         img = getToolkit().getImage(getClass().getResource(fname));
              MediaTracker mt = new MediaTracker(this);
              mt.addImage(img, 0);
         try {
              //Warten, bis das Image vollst�ndig geladen ist,
              //damit getWidth() und getHeight() funktionieren
              mt.waitForAll();
              } catch (InterruptedException e) {
              //nothing
         public void paint(Graphics g)
              int a=(this.getWidth()-getPreferredSize().width)/2;
              int b=(this.getHeight()-getPreferredSize().height)/2;
              g.drawImage(img,a,b,this);
              super.paint(g);
         public void update(Graphics g)
              paint(g);
         public Dimension getPreferredSize()
              return new Dimension(
              img.getWidth(this),
              img.getHeight(this)
         public Dimension getMinimumSize()
              return new Dimension(
              img.getWidth(this),
              img.getHeight(this)
    when the frame appears, where the button is shown, the icon is shown. But when I click on the button, the icon is away and i don't know, where is the problem.
    I don't use swing because i don't like the perfomance.
    why is the image away, when i'm clicking on the button or another frame is over the button and disappears.

    just do not call super.paint(g) in paint() implementation

  • Problem Wlan Controller 5508

    Friends,
    I have a problem authenticate with AP AIR-LAP1131AG-AK9 to Wlan Controller 5508 (software versión of the Wlan Controller6.0.202.0 ). This AP always tries to authenticate with Wlan Controller. Maybe it tries to download the ios version.
    Could be a hardware problem.
    I am going to attach the log file.
    Thank.
    Marco.

    *Nov 23 20:28:50.348: %APF-3-AID_UPDATE_FAILED: apf_80211.c:5744 Error updating Association ID for REAP AP Client64:00:f1:12:b1:d0 - AID 4
    *Nov 23 20:28:50.348: %LWAPP-3-MAX_AID2: spam_api.c:1045 Reached max limit on the association ID for AP (max association ID 256)
    Looks like a great case for TAC.
    This is an HREAP AP?   It looks like it is associated fine with the WLC (no logs indicating it is trying) but instead it looks like Client Associations are breaking because it thinks it is up to 256 AIDs.....?
    Maybe this is a common error, but it hasn't cross my path before...

  • Problem WLAN controller 4400

    There is a WLAN controller 4400 which controls the access points. There is a collapse of all access points from 00:00 to 00:12.
    The link is working properly, no problems with the AC, the point is not restarted.
    Logging
    1.  May 24 2010 00:01:08 CAPWAP 3 ECHO_ERR capwap_ac_sm.c:5116 Did not receive heartbeat reply; AP: 00:3a:98:5e:f7:80 *
    2.  May 24 2010 00:02:38 CAPWAP 3 ECHO_ERR capwap_ac_sm.c:5116 Did not receive heartbeat reply; AP: 00:26:ca:b7:ce:30 *
    3.  May 24 2010 00:02:49 DOT1X 3 ABORT_AUTH 1x_bauth_sm.c:447 Authentication aborted for client 00:15:70:f1:e4:b4 *
    4.  May 24 2010 00:03:07 APF 3 INVALID_RADIO_TYPE apf_api.c:27324 Invalid radio type 255 received. *
    5.  May 24 2010 00:06:50 APF 3 INVALID_RADIO_TYPE apf_api.c:27324 Invalid radio type 255 received. *
    6.  May 24 2010 00:06:50 APF 3 INVALID_RADIO_TYPE apf_api.c:27337 Invalid radio type 255 received. *
    7.  May 24 2010 00:06:50 APF 3 INVALID_RADIO_TYPE apf_api.c:27324 Invalid radio type 255 received. *
    8.  May 24 2010 00:06:50 APF 3 INVALID_RADIO_TYPE apf_api.c:27337 Invalid radio type 255 received. *
    9.  May 24 2010 00:07:03 APF 3 INVALID_RADIO_TYPE apf_api.c:27324 Invalid radio type 255 received. *
    10.  May 24 2010 00:07:03 APF 3 INVALID_RADIO_TYPE apf_api.c:27337 Invalid radio type 255 received. *
    11.  May 24 2010 00:07:10 APF 3 INVALID_RADIO_TYPE apf_api.c:27324 Invalid radio type 255 received. *
    12.  May 24 2010 00:07:10 APF 3 INVALID_RADIO_TYPE apf_api.c:27337 Invalid radio type 255 received.

    If your WLC firmware is 5.X then I would like to recommend you upgrade to 6.X.

  • Slideshow problem - buttons not working

    Here's the site in development:
    http://magnavino01.businesscatalyst.com/index.html
    Just below the header there's a slideshow with nav buttons on the bottom. They are not working. They're apparently not working because of a div, within the slideshow div. This was copied from firebug:
    <div id="slideshowu765" class="SlideShowWidget clearfix grpelem wp-slideshow-playing">
    <div id="u450" class="browser_width grpelem" style="width: 1722px; margin-left: -281px; left: 0px; margin-right: -2003px; padding-right: 0px;"></div>
    </div>
    Deleting the above div (bold and in red) in firebug does not seem to affect the function of the site, other than allowing the buttons to work, that is.
    Is there a fix or workaround for this problem (bug?)?
    Thanks for any help.

    I haven't seen the .muse file, but from the website it appears you have an empty 100% browser width box (or perhaps a text frame) that's on top of this area in Muse Design view. It's blocking the buttons from getting mouse events. Delete that and all should be fine. (You should be able to find it with Select All. Be sure to turn on and unlock all Layers and Object > Unlock All On Page, and check both the page and the applied master pages.)

  • HT1933 The Report a Problem button in iTunes re-directs to this website? The website says to go back to iTunes. Infinite loop!!! I want to report a problem!

    How can I report a problem in iTunes, when iTunes re-directs to the apple website? Is there an email address?

    Go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report your issue to the iTunes Store.
    Regards.

Maybe you are looking for

  • How do you get into the BIOS on a Satellite 320 CDS.

    Hi my name is steve I was wondering how do you get into the BIOS on a satellite 320 CDS. As this is my first format on a lap top. Done plenty on desktop computers just never laptops. As some fool tried to do it before me and distroyed it. Now the onl

  • Upload of Purchase orders, Vendors, PIRs

    Hi Gurus, 1)I want to upload list of vendors, materials which are in Excel sheet. How will I upload in SAP? If I use LSMW tool, how will make the file format? A step by step explaination of uploading will be really helpful. 2) How will I move POs, Pu

  • Fiori - Bind oData to SAPUI5 - Table

    Dear All Gurus, Need your expert knowledge on solving below simple matter.. I have created an oData(for customized app - Purchase Order Header and Line Items for MIGO transaction) and I am getting data successfully from oData but I am bit stuck in ho

  • Unable to access external drive.

    I'm a newbie to macs. Tried to use my Maxtor One Touch III USB external hard drive which had previously been my windows backup drive, on my new mac. Copied all the files to the mac, reformatted it with Mac Extended and then copied the files back over

  • Got someone else's details on my iPad, need help quick

    Ok, I really need help, I work on my new iPad 3 a lot, and my contacts mean a lot to me, but today I opened up my contacts and found names and numbers that i had never seen before in my life, then I opened up the photo stream and realised some girls