Validator Cleaned existing formbean or generated new one

Hi buddies,
I'd like to use struts validator in my project. It seems working but cleaning existing formbean or generating new formbean.
The case is: after listing all customers, user can choose edit or delete one of them. Supposed (and it works correctly before I applied validator in) the Action will find the client and populate the appropriate field value into form bean, and the form bean is to be forward to edit jsp page. But now, in the fields on the edit jsp page are blank, just like create new record.
it took me 2 days, and cannot fix the problem. Please gave me some ideas. Your any input is appreciated.
[u]struts-config.xml[/u]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd">
<struts-config>
     <data-sources />
     <form-beans>
          <form-bean name="customerListForm"
               type="com.articy.struts.form.CustomerListForm" />
          <form-bean name="customerEditForm"
               type="com.articy.struts.form.CustomerEditForm" />
          <form-bean name="loginForm"
               type="com.articy.struts.form.LoginForm" />
     </form-beans>
     <global-exceptions />
     <global-forwards>
          <forward name="welcome" path="/default.do" redirect="true" />
          <forward name="Logon" path="/security/login.jsp"
               redirect="true" />
     </global-forwards>
     <action-mappings>
          <action forward="/jsp/index.jsp" path="/default" unknown="true" />
          <action attribute="customerListForm"
               input="/jsp/customerList.jsp" name="customerListForm"
               path="/customerList" scope="request"
               type="com.articy.struts.action.CustomerListAction">
               <forward name="listCustomer" path="/jsp/customerList.jsp" />
          </action>
          <action attribute="customerEditForm"
               input="/jsp/customerEdit.jsp" name="customerEditForm" parameter="do"
               path="/customerEdit" scope="request"
               type="com.articy.struts.action.CustomerEditAction">
               <forward name="addCustomer" path="/jsp/customerAdd.jsp" />
               <forward name="listCustomers" path="/customerList.do"
                    redirect="true" />
               <forward name="editCustomer" path="/jsp/customerEdit.jsp" />
          </action>
          <action attribute="loginForm" input="/security/login.jsp"
               name="loginForm" path="/login" scope="request"
               type="com.articy.struts.action.LoginAction">
               <forward name="loginSuccess"
                    path="/security/loginSucess.jsp" />
               <forward name="loginFailure"
                    path="/security/loginFailure.jsp" redirect="true" />
          </action>
          <action path="/logout"
               type="com.articy.struts.action.LogoutAction">
               <forward name="Success" path="/security/logoutSuccess.jsp"
                    redirect="true" />
          </action>
          <action attribute="loginForm" name="loginForm"
               path="/prepareLogin" scope="request"
               type="com.articy.struts.action.PrepareLoginAction">
               <forward name="logon" path="/security/login.jsp" />
          </action>
     </action-mappings>
     <controller
          processorClass="org.apache.struts.tiles.TilesRequestProcessor" />
     <message-resources
          parameter="com.articy.struts.ApplicationResources" />
     <plug-in className="org.apache.struts.tiles.TilesPlugin">
          <set-property property="definitions-config"
               value="/WEB-INF/tiles-defs.xml" />
          <set-property property="definitions-parser-validate"
               value="true" />
          <set-property property="moduleAware" value="true" />
     </plug-in>
     <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
          <set-property property="pathnames"
               value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
          <set-property property="stopOnFirstError" value="true" />
     </plug-in>
</struts-config>
validation.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE form-validation PUBLIC
          "-//Apache Software Foundation//DTD Commons Validator Rules Configuration
1.1.3//EN"
          "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd">
<form-validation>
  <global>
    <constant>
      <constant-name>phone</constant-name>
      <constant-value>^\(?(\d{3})\)?[-| ]?(\d{3})[-| ]?(\d{4})$</constant-value>
    </constant>
    <constant>
      <constant-name>zip</constant-name>
      <constant-value>^\d{5}\d*$</constant-value>
    </constant>
  </global>
  <!-- ========================= Default Formset ========================= -->
  <formset>
    <constant>
      <constant-name>zip</constant-name>
      <constant-value>^\d{5}(-\d{4})?$</constant-value>
    </constant>
    <form name="customerForm">
      <field property="lastname" depends="required,mask,minlength">
        <arg0 key="customereditform.lastname.displayname" position="0"/>
        <arg1 name="minlength" key="${var:minlength}" resource="false"
position="1"/>
        <var>
          <var-name>mask</var-name>
          <var-value>^\w+$</var-value>
        </var>
        <var>
          <var-name>minlength</var-name>
          <var-value>5</var-value>
        </var>
      </field>
      <field property="name" depends="required,mask,maxlength">
        <msg name="mask" key="customereditform.name.maskmsg" />
        <arg0 key="customereditform.name.displayname" position="0" />
        <arg1 name="maxlength" key="${var:maxlength}" resource="false"
position="1"/>
         <var>
          <var-name>mask</var-name>
          <var-value>^[a-zA-Z]*$</var-value>
        </var>
        <var>
          <var-name>maxlength</var-name>
          <var-value>30</var-value>
        </var>
      </field>
    </form>
  </formset>
</form-validation>
customerEditAction.java
package com.articy.struts.action;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.actions.DispatchAction;
import www.articy.wdb.bl.LibraryManager;
import com.articy.struts.form.CustomerEditForm;
public class CustomerEditAction extends DispatchAction {
     public ActionForward editCustomer(ActionMapping mapping, ActionForm form,
               HttpServletRequest request, HttpServletResponse response) {
          System.out.println("editCustomer");
          CustomerEditForm customerEditForm = (CustomerEditForm) form;
           * Arthur Niu get id of the customer from request
          Integer id = Integer.valueOf(request.getParameter("id"));
          // get business logic
          LibraryManager vvmManager = new LibraryManager();
          customerEditForm.setCustomer(vvmManager.getCustomerByPrimaryKey(id));
          return mapping.findForward("editCustomer");
     public ActionForward deleteCustomer(ActionMapping mapping, ActionForm form,
               HttpServletRequest request, HttpServletResponse response) {
          System.out.println("deleteCustomer");
          CustomerEditForm customerEditForm = (CustomerEditForm) form;
           * Arthur Niu get id of the customer from request
          Integer id = Integer.valueOf(request.getParameter("id"));
          // get business logic
          LibraryManager vvmManager = new LibraryManager();
          vvmManager.removeCustomerByPrimaryKey(id);
          return mapping.findForward("listCustomers");
     public ActionForward addCustomer(ActionMapping mapping, ActionForm form,
               HttpServletRequest request, HttpServletResponse response) {
          System.out.println("addCustomer");
          CustomerEditForm customerEditForm = (CustomerEditForm) form;
          return mapping.findForward("addCustomer");
     public ActionForward saveCustomer(ActionMapping mapping, ActionForm form,
               HttpServletRequest request, HttpServletResponse response) {
          CustomerEditForm customerEditForm = (CustomerEditForm) form;
          if (isCancelled(request)) {
               removeFormBean(mapping, request);
               return (mapping.findForward("listCustomers"));
          // get business logic
          LibraryManager vvmManager = new LibraryManager();
          vvmManager.saveCustomer(customerEditForm.getCustomer());
          return mapping.findForward("listCustomers");
     protected void removeFormBean(ActionMapping mapping,
               HttpServletRequest request) {
          // Remove the obsolete form bean
          if (mapping.getAttribute() != null) {
               if ("request".equals(mapping.getScope())) {
                    request.removeAttribute(mapping.getAttribute());
               } else {
                    HttpSession session = request.getSession();
                    session.removeAttribute(mapping.getAttribute());
customerEditForm.java
package com.articy.struts.form;
import java.io.Serializable;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.validator.ValidatorForm;
import www.articy.wdb.Customer;
public class CustomerEditForm extends ValidatorForm implements Serializable {
     private static final long serialVersionUID = 1L;
     private Customer customer;
     public Customer getCustomer() {
          return customer;
     public void setCustomer(Customer customer) {
          this.customer = customer;
     public boolean equals(Object rhs) {
          return customer.equals(rhs);
     public Integer getId() {
          return customer.getId();
     public void setId(Integer id) {
          customer.setId(id);
     public String getName() {
          return customer.getName();
     public void setName(String name) {
          customer.setName(name);
     public String getLastname() {
          return customer.getLastname();
     public void setLastname(String lastname) {
          customer.setLastname(lastname);
     public Integer getAge() {
          return customer.getAge();
     public void setAge(Integer age) {
          customer.setAge(age);
     public Boolean getActive() {
          return customer.getActive();
     public void setActive(Boolean active) {
          customer.setActive(active);
     public java.sql.Date getBod() {
          return customer.getBod();
     public void setBod(java.sql.Date bod) {
          customer.setBod(bod);
     public java.sql.Timestamp getLogontime() {
          return customer.getLogontime();
          public void setLogontime(java.sql.Timestamp logontime) {
          customer.setLogontime(logontime);
     public String toString() {
          return customer.toString();
     public void reset(ActionMapping mapping, HttpServletRequest request) {
          customer = new Customer();
customerList.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<html>
<head>
<title>JSP for customerListForm form</title> </head> <body> <table border="1"> <tbody>
<%-- set the header --%>
<logic:present name="customerListForm" property="customers">
<tr>
<td>Id</td>
<td>Name</td>
<td>Lastname</td>
<td>Age</td>
<td>Active</td>
<td>Bod</td>
</tr>
<%-- start with an iterate over the collection customer --%> <logic:iterate name="customerListForm" property="customers" id="customer"> <tr>
<%-- customer information --%>
<td><bean:write name="customer" property="id" /></td>
<td><bean:write name="customer" property="name" /></td>
<td><bean:write name="customer" property="lastname" /></td>
<td><bean:write name="customer" property="age" /></td>
<td><bean:write name="customer" property="active" /></td>
<td><bean:write name="customer" property="bod" /></td>
<%-- edit and delete link for each customer --%> <td><html:link action="customerEdit.do?do=editCustomer"
paramName="customer"
paramProperty="id"
paramId="id">Edit</html:link>
</td>
<td><html:link action="customerEdit.do?do=deleteCustomer"
paramName="customer"
paramProperty="id"
paramId="id">Delete</html:link>
</td>
</tr>
</logic:iterate>
<%-- end interate --%>
</logic:present>
<%-- if customers cannot be found display a text --%> <logic:notPresent name="customerListForm" property="customers"> <tr> <td colspan="5">No customer found.</td> </tr> </logic:notPresent>
</tbody>
</table>
<br>
<%-- add and back to menu button --%>
<html:button property="add"
onclick="location.href='customerEdit.do?do=addCustomer'">Add a new customer </html:button>   <html:button property="back"
onclick="location.href='default.do'">Back to menu </html:button> </body> </html>
customerEdit.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<html>
<head>
<title>JSP for customerEditForm form</title> </head> <body>
<logic:messagesPresent>
   <bean:message key="errors.header"/>
   <ul>
   <html:messages id="error">
      <li><bean:write name="error"/></li>
   </html:messages>
   </ul><hr />
</logic:messagesPresent>
<html:form action="customerEdit"  method="post">
<html:hidden property="id"/> <html:hidden property="do" value="saveCustomer"/>
Id: <html:text property="id"/><br/>
Name: <html:text property="name"/><br/>
Lastname: <html:text property="lastname"/><br/>
Age: <html:text property="age"/><br/>
Active: <html:text property="active"/><br/>
Bod: <html:text property="bod"/><br/>
      <html:submit property="submit" onclick="bCancel=false;">
         <bean:message key="button.save"/>
      </html:submit>
<html:cancel/>
</html:form>
</body>
</html>

anybody can help?

Similar Messages

  • How do I change my apple id from an old one that does not exist anymore to the new one I use....Please help me I can't update any downloads for my apps.

    How do I change my apple ID from an old one that doesnot exist anymore to a new old? When I purchased my macbook I had a mac.com email address but now have a me.com one. My computer is linked to the mac one. I cant update my apps....some one please help.

    Well when I first purchased I had an mac address, which I have not used for a long time I started a me address about 18months ago. and up untill I updated my iPhone I have been able to use my mac.com now I cant and dont know what to do because it tells me to verify my apple ID. I put in the password etc and doesnot take me anywhere as I cant access the emails.

  • Can I use my existing timecapsule with a new one?

    I'd like to upgrade to a new time capsule. I've got an old one with only 500Gb of internal storage, so it's not really big enough for all my backups.
    I'm wondering if I can get some service from my existing one, even if I get a new one. Is there any point in daisy chaining them? Can I set up the old one somewhere in the house to increase coverage (of the garden, say)?
    Alternatively, is there a problem keeping the existing one going - might it interfere with the new one and cause a deterioration of signals?
    I also thought of putting ADSL on my other 'phone line and using on time capsule on each line. It'd be good for redundancy, but I don't know if there's a solution where you can do load balancing across two ADSL lines. Is there one using time capsules?

    Fustbariclation wrote:
    Thank you for that. How does bridging work in this case? If there's an article I can read that'd be great.
    How to extend apple wireless networks.
    http://support.apple.com/kb/HT4145
    http://support.apple.com/kb/PH5077
    http://support.apple.com/kb/HT4260
    Roaming network.
    http://support.apple.com/kb/HT4260
    I'm wondering what speed advantage I'll get from a new TC. Even my new macbook pro doesn't support 802.11ac.
    Some people get major improvement due to the better antennas.. some people get none.. Suck and See.

  • Overwrite existing Domain values with new one

    Hi All,
    I have an existing database (It is not an SAP table, it was made for client, but I am not supposed to modify it). But, my issue is that, I have to change the values of domain used in it to new values.
    For e.g.
    Current Values are 1 - ADD, 2 - NOT POSSIBLE and  so on
    New values to be added: 1 - ADDITION 2- ADDITION NOT POSSIBLE.
    I tried using 'Fixed Value Append', but I want to overwrite the values with new ones.
    Please suggest me if there is any method to do it.
    Thanks.

    Hi,
    I don't understand if it a Z-table what is the problem in changing domain and why you are not supposed to change it since the task is assigned to you.
    Anyways, even if you write a code to change domain values, you would have to then get it moved to production for changes to reflect. Also, I don't think you would have the authorization to change table entries directly. Also this will result in inconsistency in various clients for domain values..
    The better solution would be, get authorization to change domain values, create transport request for this and get it moved to subsequent systems.
    Thanks.
    Ravi

  • ISE's Internal Root CA. How to generate new one in distributed deployment?

    Hello,
    I have two ISE nodes in distributed deployment. I would like to generate new Internal Root CA certificate. I was able to do that from primary node, but only FOR primary node. How can I achieve this for the other node?
    Best Regards,
    Marek

    Hi Marek-
    All of the certificate management is performed from the Admin Node which becomes the Root CA for the ISE PKI. You generate Subordinate CA certificates to your Policy Nodes from the Primary Admin node. Check this link for more info:
    http://www.cisco.com/c/en/us/td/docs/security/ise/1-3/admin_guide/b_ise_admin_guide_13/b_ise_admin_guide_sample_chapter_01000.html#task_FF93B4C51BAC4CA196A48B607DAA595D
    Also, since the primary node is the Root CA, you should export the certificate and the private key and import it to your secondary Admin node. This will enable the secondary node to be promoted to a Root CA in case of a failure of the primary admin node:
    http://www.cisco.com/c/en/us/td/docs/security/ise/1-3/admin_guide/b_ise_admin_guide_13/b_ise_admin_guide_sample_chapter_01000.html#concept_435C4E3FF56949B1B4D5A0C73671AB22
    I hope this helps!
    Thank you for rating helpful posts!

  • Does Apple discount existing MacBooks when the new ones come out?

    I haven't bought a Mac in over 10 years and I don't how Apple does business. I want a new MacBook Pro, but I'm not in a super-rush. I can wait another three months, if necessary.
    The current MacBook Pro (top of the line) is more than sufficient for me, it's just a little expensive. I certainly don't need whatever's coming next, but the current 17" is mighty attractive.
    When Apple releases the new MacBook Pro's ... (1st quarter 2010, right?) ... do the existing high-end 2009 models usually sell at a big discount to get rid of the current inventory? You know ... (like car guys say) ... blowing out last years models to make room for the 2010's?
    Is that the cheapest time to buy the previous model? When Apple releases the newest ones?

    There is no "blow-out sale" when the new models come out, at least through Apple. Apple generally keeps a very tight inventory (only a few days worth evidently) on hand, so when new models are about to be released, they are pretty low on inventory of the existing model. In fact, when new models are up for sale through Apple, the older ones disappear from their website/stores.
    Some 3rd party resellers may have discounts on older models, but they too are usually not of the "huge sale" type. A 10% discount is usually pretty generous.
    Other options are to buy a refurbished machine through Apple's website (cheapest option), or if you're a student, faculty, or staff member of an academic institution, take advantage of the student discount (also around 10%)

  • Cannot update vault or generate new one

    I am at my wits end. After many problems early on with Aperture 3, I thought I finally had it working. Aperture user since version 1 with about 11,000 images in managed library. When A3 came out, I updated immediately, and like many others, suffered a world of woe.
    Due in no small part to issues I had with so many things like endless reprocessing, strange jpeg exports, off color previews and thumbnails, crashes, hangs, etc, I upgraded to eSATA external disks for the library and copied it to reduce fragmentation. Over the last couple of months, I have flushed caches, deleted plists, reimported, etc. During all of this time, I just made multiple copies of the library rather than update my vaults. I thought it was more or less working, and in the last few weeks I have finally been able to import some new projects (though not without drama if I do not just use a new project and move things later).
    Recently, I started trying to update one of my Aperture 2 vaults. It gets about halfway through, then hangs forever. I have since discovered that I cannot generate a new vault at all. So far, I have tried a new vault, new vault with all other vaults deleted, flushing caches and deleting plists. I have run all three options of repair, repair permissions, and rebuild database from the cmd-opt startup menu, multiple times. Each of the latter times, I used a freshly formatted, empty disk (HFS+, journaled) and have tried eSATA and FW800.
    When this version of the library was moved from A2, it was first allowed to process with faces off. I then turned on faces, and after another long while, it finished processing again. Places is off. There has been some flakiness with this iteration of the library in occasional jpeg exports looking very blue, a few images originally imported into A3 saying they were not and needing reprocessing, and rare hangs. I think it was done with 3.01, but am no longer sure.
    Based on commentary by rw boyer about TIFF's causing issues, I rounded them all up, exported them, and deleted them from the active library, emptying the trash afterward. Still no joy. Still, I suspect a corrupted image or images in there somewhere.
    I am sort of out of ideas. I could start over with last A2 library and re-import everything since, but that will take a lot of time. Any idea if it will work? Should I re-install A2 and rebuild that library first? Arghh!
    In my humble opinion, Apple has really fumbled here. A3 is very ambitious, but just not ready for prime time. In the long wait for it, I spent some time with the Lightroom 3 beta. It is workable, and I will go to it if I have too, but really like Aperture better. I could also retreat to A2 and hope they fix this. I hope one of the good people in this discussion has a good suggestion.
    Thanks,
    Steve

    Hello rwtjhr2012,
    I know this article is about apps crashing, but it is relevant with troubleshooting the apps that you have purchased. Make sure that you are up to date on iOS.
    iOS: An app you installed unexpectedly quits, stops responding, or won’t open
    http://support.apple.com/kb/ts1702
    Regards,
    -Norm G.

  • How do I replace my existing HD with a new one

    I have existing drive with my catalogues. I want to use my new 2T WD drive as a replacement for my existing HD which is not working well. Do I clone the original and how do I tell LR 3 to recognize the new drive?  Using Mac Lion.

    By reading the user manual that came w/your router, contacting the manufacturer and/or visit their customer support/troubleshooting website. 

  • Front end issue (how to handle the existing work along with new one)

    We have upgraded a copy of our production system and are analyzing different pieces to make sure that we have enough confidence in moving ahead. We are getting a good feel in the back end activities but do have many questions in Front end area, such as
    ·     What is the best way to handle existing excel reports yet at the same time providing users ability to create new queries and excel reports. Currently users are using Bex browser to access reports but this is no longer supported for new reports.
    ·     Do we must have portal configured in order to access the new features?
    ·     Is there a risk if users open the existing workbooks with the help of new analyzer?
    ·     Is there a risk if users open the existing queries with the help of new query designer?

    Until you migrate them to 2004s, you can continue to access the 3.x queries, etc. using the 3.x tools. 
    However, once you modify/save the 3.x query using the 2004s tools, it will convert that object and all related objects (variables, structures, etc.) to the new 2004s version.
    A suggested strategy for conversion of BEx objects to 2004s is to migrate them by infoarea.  For example, convert all FI-GL objects together.  This method enables BW teams to create a "roadmap" for migration.

  • Safari closes existing tabs when opening new ones

    I have the latest Safari and iOS (7.1.2) on my iPad. I have been observing that whenever I open tabs on safari, I end up losing the existing tabs on the ipad. Its not immediate but if I end up opening a slightly higher number of tabs (around 15 - 20) , then the old ones gets closed. It doesn't prompt or anything.
    Is this normal or something I need to set up on Safari preferences so that it is able to open and hold more tabs open ?
    Thanks
    Alex
    Message was edited by: alexmat1

    I Don't know if I would say that it's normal because I rarely have that many tabs open. I can tell you that the web pages will keep refreshing the more tabs that you have open. Fifteen to twenty tbs is a pretty large number of tabs to try to juggle at any one time, but I don't know if they should actually be closing on you.
    Try giving Safari a fresh start. This will involve clearing all website data and cookies and force closing the app. End the process with a reset of the iPad.
    Go to Settings>Safari>Clear Cookies and Data.
    Now force close Safari. In order to close apps in iOS 7, you have to drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Replace an existing file with a new one

    This is probably a very simple problem. I have a script that is making an XML document. I am sucking information out of a database and exporting it as a XML file. The script runs just dandy except when I want to update the text file I receive an error along the lines of "the file already exists".
    What code do I use to replace an existing file?
    tell application "Finder"
    set theFile to "donky.xml" as string
    set theFullName to mySavePathAsText & theFile
    set theNewFile to make new file at myPath with properties {name:theFile}
    write myFinalText to file theFullName
    set the extension hidden of theNewFile to false
    end tell
    I assume I would use the "replacing yes" command but that is not working or I am not doing it right.
    Any help much appreciated.

    Hello
    Two things.
    • 'open for access file _path with write permission' will create new file at the path given in _path if it's not present.
    • 'set eof' command will clear the existing contents of the given file, which lets you replace the contents.
    So you may try something like this. (Finder is only used to set 'extension hidden' property of the file)
    Good luck
    H
    -- SNIPPET
    set theFileName to "donky.xml"
    set theFullPath to mySavePathAsText & theFileName
    try
    set fref to open for access file theFullPath with write permission
    set eof fref to 0 -- clear the existing contents
    write myFinalText to fref starting at eof
    close access fref
    on error errs number errn
    try
    close access file theFullPath
    on error --
    end try
    error errs number errn
    end try
    tell application "Finder"
    set extension hidden of item theFullPath to false
    end tell
    -- END OF SNIPPET

  • HT1222 Cannot update existing apps or install new ones

    I have been having trouble UPDATING or even INSTALLING new apps.
    Is this because I have not installed the iOS 6.0.1 version?

    Probably not. What trouble? Describe what is happening. Error messages at all? The dreaded "waiting" icons?

  • Replacing an existeing theme with a new one

    Hello,
    I have an application built that require some new cosmetics. How can I replace the current theme to a new theme without disturbing it's navigation and functionality?
    This is on Apex 32/Oracle 10gxe
    Thanks,
    R

    Hi,
    You can change your application theme
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/themes.htm#sthref1520
    Or you can edit your theme templates
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/themes.htm#sthref1547
    Br,Jari

  • How do I remove a favicon once set and replace with a new one?

    I want to replace an existing favicon with a new one and it won't allow me.  does anyone have a work around?

    File > Site Properties & select the layout tab. You can delete and upload a new favicon image at the bottom

  • When upgrading Firefox I get the message, "An older item named "Firefox" already exists in this location. Do you want to replace it with the newer one you're moving?". Choosing YES results in "Operation can't be completed because item "Firefox" in use."

    Using Mac Snow Leopard 10.6.7
    Current Firefox: 3.6.18
    Trying to update latest version: 5.0.1
    This seems quirky. In Updating a newer version of Firefox is should seem obvious that the existing firfox executable would be replaced by the newer version ?!?
    Thanks for any help you can give.

    If you have problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the DMG file to the desktop
    * Firefox 5.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the Firefox Profile Folder, so you won't lose your bookmarks and other personal data.
    * http://kb.mozillazine.org/Profile_folder_-_Firefox

Maybe you are looking for

  • Is there anything more amusing than

    it being 10F outside and people shivering to death while smoking for 5 minutes damn am i glad i never started

  • Missing Index in DB02

    Hi, When I go to DB02->Diagnostics->Missing Tables and Indexes in our ECC6 system. I see some missing primary and secondry indexes there.I also see option " Create on Db" there. Please suggest should I create such indexes by option "Create in Db" and

  • EventListeners class

    Hello All, I am learning ActionScript 3.0 A simple question for you. In my Actions panel. I am trying to get a video feed from the Camera. How do i you use addEventListeners to see if the feed is successfull or unsuccessfull?

  • Multiple listings

    Sorry if this one has already been posted but there are just so many iPhoto problems to post about! Apart from the double and triple letters, apart from the inability to recognise so many places and recommending locations in San Francisco instead, ap

  • Packing materials in delivery problem

    Hi ,   I m creating handling units with BAPI_HU_CREATE and then packing them with BAPI_HU_PACK. But the problem is the items that i pack dont go away from my lower table in delivery, they remain available for packing. My objective is to programmatica