Form getting misaligned in QUA SYS and PROD SYS , fine in DEV SYS

We have a PO smart form in development system which is working fine .But in QUA and Prod sys the text is getting misaligned.
The problem is with the text that is assigned to a table line type with fixed column width , which is not displaying in the respective column width assigned to it.
Instead it acts as if there is no table line type  assigned to it .(display as normal text and not as columns in table line type)
There is also an smartstyle assigned to it.
I checked with the table values in both sys and it is same.
Also the smartstyle is active and is same in both the systems.
Please note that this problem didn't pop up previously and was displaying fine in QUA SYS and PROD SYS
This problem happened when the previously working form( in Dev sys) was altered with a small text in the heading of the
form and was transported to QUA and PROD SYS.Apart from changing the heading we didn't touch any text or tables or styles anywhere in the form .
Why is this problem  happening ?
Please help us to resolving the issue !

HI Just remove the new text which you have added in the header and check. SO that we can can find out this problem is due to Text or not.
Thanks
Partha

Similar Messages

  • Lync 2013 + Windows 8 phones not getting any notification but android and iphone works fine

    Dear All,
    Issue : None of the windows 8 phones gets alert when someone pings in lync2013
    Description: We get notification when someone pings to lync2013 im configured in android or iphone and it fails to notify when someone pings lync2013 configured in windows phones Example : Lumia 920,930,625
    Environment:
    Singe FE and Edge
    Assessments:
    Push notification is enabled in the server side and on mobile
    Tried using 2010 version client had the same issue
    Push testing was successful until I updated the server and now after update I am getting the following error
    PS C:\Users\administrator.tester> Test-CsFederatedPartner -Domain push.lync.com -ProxyFqdn sipfed.online.lync.com -verbos
    e
    cmdlet Test-CsFederatedPartner at command pipeline position 1
    Supply values for the following parameters:
    TargetFqdn: edge.tester.com
    VERBOSE: Reading access proxy port from topology process started.
    VERBOSE: Reading access proxy port '5061' from topology process successfully finished.
    VERBOSE: Reading certificate process started.
    VERBOSE: Reading certificate process successfully finished.
    VERBOSE: Searching for certificate with issuer name = 'CN=test-certsrv-CA, DC=tester, DC=com' and serial number =
    '4200000013a701fa4732b0475b000000000013'.
    VERBOSE: Successfully found certificate with the matching issuer name and serial number.
    VERBOSE: Workflow Instance Id 'd283786a-ba07-42ad-83e2-ad4ed5692597', started.
    VERBOSE: Command line executed is 'Test-CsFederatedPartner -Domain push.lync.com -ProxyFqdn sipfed.online.lync.com
    -verbose'.
    Test-CsFederatedPartner : A 500 (The server encountered an unexpected internal error) response was received from the
    network and the operation failed. See the exception details for more information.
    At line:1 char:1
    + Test-CsFederatedPartner -Domain push.lync.com -ProxyFqdn sipfed.online.lync.com  ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OperationStopped: (:) [Test-CsFederatedPartner], FailureResponseException
        + FullyQualifiedErrorId : WorkflowNotCompleted,Microsoft.Rtc.Management.SyntheticTransactions.TestFederatedPartner
       Cmdlet
    VERBOSE: Workflow Instance ID 'd283786a-ba07-42ad-83e2-ad4ed5692597' completed.
    VERBOSE: Workflow run-time (sec): 0.1410312.
    Please let me know if this is causing the issue,
    Please note : As soon as I see this tried invoking the csmanagementstore replication and got to know my edge server is not up to date - I am sure this has no relation with push this is for getting the changes informed to edge server,
    Everything works normal with no issues apart from this,
    Seeking your valuable advice here,
    Thanks
    Nelson
    Nelson N Exchange 2003|2007|2010

    Hi Nelson,
    To better understand the issue, I would like to collect the following information.
    1. Have you added the new hosting provider, Microsoft Lync Online, and then set up hosting provider federation between your organization and Lync Online ?
    Configuring for push notifications in Lync Server 2013
    2. Have you installed the new root certificate?
    Lync Servers currently use the GTE CyberTrust Global Root and beginning on June 1st, 2013 will migrate to the Baltimore CyberTrust Root. The
    migration of Lync Online Service to use the new Baltimore trusted root Certificate Authority is planned during May 2013. As of June 1st 2013,
    all of our servers including the Lync Push Notifications Clearing House Service will be on Baltimore certs only. So please ensure that your Lync Server deployments have been updated to trust the Baltimore Root before that.
    http://blogs.technet.com/b/lync/archive/2013/05/02/lync-mobile-push-notifications.aspx
    In addition, it is recommend to update the Lync servers to the lasted version.
    Best regards,
    Eric

  • Hi I need help in creating role for DEVELOPERS and HCM GUYS in ERP DEV. sys

    Hi Experts
    I am working as a Support Security Consultant. Now I have assigned to another implemenation Project.
    My client asks to create 2 roles in DEV. system the requirement is:
    1) He asks to create a role for develpoers in dev system fro devepment activities ( report creation, screen creation..etc..) and these people don't modify the HR related tables
    2) He asks to create role for HCM guys in development system to work on HCM Configuration and to work on HCM areas but these people should not involve into develpometn activites
    My questions is what are the tcodes we have to maintain in the roles to reach his requirement.
    I asked the same thing to my Client he doesn' t provide any information
    Please anyone help me on this
    Thanks
    Naresh

    Hi,
    for the first query please check auth object -Authorization Object S_TABU_DIS (Table Maintenance)
    http://help.sap.com/saphelp_nw04s/helpdata/en/1e/e867408cd59b0ae10000000a155106/content.htm
    No Worries
    KG

  • Cant get abc iview to load and play, works fine on google and internet explorer.

    it worked ok then just wont work now and all my plug-ins are up to date. it just wont play from abc Ivew web site. It will on google and internet explorer and on my samsung tablet.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes).
    '''If Firefox is open,''' you can restart in Firefox Safe Mode from the Help menu:
    * Click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    '''If Firefox is not running,''' you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".
    ;[[Image:SafeMode-Fx35]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • Verify the database fails in the SYS and SYSTEM schemas

    Hi all,
    When we execute a verify: brconnect -u / -c -f stats -v cascade -t all -p 8
    we obtain some errors from some tables (NOT PARTITIONED) of SYS and SYSTEM schemas:
    BR0996W Table/index SYS.UTL_RECOMP_SORTED does not exist anymore
    and
    BR0301E SQL error -14508 at location stats_tab_validate-2
    ORA-14508: specified VALIDATE INTO table not found
    BR0893E Validating structure failed for table/cluster SYSTEM.LOGMNR_TABPART$
    but the tables exists.
    any ideas??
    Thanks in advance

    HI,
    try this:
    sqlplus system/password
    @$ORACLE_HOME/rdbms/admin/utlvalid.sql       
    grant all on invalid_rows to public;
    exit
    sqlplus "/ as sysdba"
    create synonym ops$ora<sid>.index_stats for sys.sap_index_stats; 
    exit
    sqlplus system/password
    create synonym ops$<sid>adm.invalid_rows for system.invalid_rows;
    Thanks

  • My computer crashed necessitating re-install of op sys and all programs including iTunes. At the iTunes store when I click a song in my library get error message "can't find, do you want to search?" What's happening? How can I listen to my library on this

    My computer crashed necessitating re-install of operating sys and all programs including iTunes. When I click on a song in my library I get an error message "can't find this song, want to search?" What gives? How can I listen to songs in my library on this computer now?

    It is working now. I no longer get the message about the item not being available in the US and I can access the store.

  • Hi, just need to know how to get my music, video, pictures and apps form my iPhone to my new laptop as the old computer, which I used before was stolen. I only have my phone left and if I try to conect it to my new laptop it's trying to delete everything.

    Hi, just need to know how to get my music, video, pictures and apps form my iPhone to my new laptop as the old computer, which I used before was stolen. I only have my phone left and if I try to conect it to my new laptop it's trying to delete everything.

    I have also noticed all my settings won't stay set, example....I removed the check mark from "third party cookies", the when I close Firefox and reopen the check mark is back, also my tool bar has screwed up....can't reset, been having trouble the up grade.

  • Oracle Forms Designer has encountered a problem and needs to close

    Dear All,
    I got the following error when I compile the form,
    Oracle Forms Designer has encountered a problem and needs to close
    I am using Oracle 10g Developer suite(Forms 32 Bit Version 10.1.2.0.2)
    and Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    and Window Xp Professional 32 Bit Operating system
    Now I can't do any changes in the form.
    I searched lot of oracle forums .but i can't solve it.
    Please give me one solution
    I am strugling this issue.
    Please help me........
    a lot of thanks in advance.
    Thanks and Regards,
    Fazil

    Hi,
    I am doing the bug fixing in the existing form.Its size is 4.07 MB.when i will get the mentioned error.then i will take previos fmb.then again doing the changes after some time agin will come the mention error.I added some if else condtion code.Its a small code.I think its not a reason for the mentioned error.I think something is happended.I don't know what happened?
    Please help me..
    Thanks and Regards,
    Fazil

  • How to get the values for checked and unchecked chekboxes

    Hai i have using the checkbox in for loop.
    I need the urgent help from anyone,
    for example in the loop there is having 5 checkbox if i checked 3 of the ckeckboxes and 2 of the checkboxes are unchecked. I need to get the values for checked checkboxes and unchecked checkboxes. Because if i checked the checkboxes, those values need to be inserted into the database. Those for unchecked checkboxes values need to be deleted from the database. Can anyone help me for this
    i am using the following jsp code for this. If anyone can know about this please post me the sample code.
    <form name="confirmcontainer" id="confirmcontainer" method="post" action="submit.jsp">
    <% for(int i=0;i<value.length;i++) {%>
    <tr>
    <td><input name="assigncontainer_chkbox" d="assigncontainer _chkbox" type="checkbox" value="<%=value[0]%>"></td>
    <td class="bottomborder"><div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=value[1]%> </font></div></td>
    <td bgcolor="#FFFFFF" class="bottomborder"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=value[2]%></font></td>
    </tr>
    <% } %>
    <tr><td><input type="submit" name="submit" value="submit"> </td></tr>
    </form>
    Thanks & Regards,
    Tamilvanan

    Hey thanks Alex and Catastrophe for the quick response...
    I'll be sitting with the functional team and reviewing the roles created.
    Thanks for all the help once more
    Regards,
    Akash.

  • General questions on how to get started with Oracle OEPE and databases

    My company has a server in the cloud, written using Ruby on Rails. The server is designed to work with a browser, so it communicates via standard HTTP.
    The server has an SQL database.
    The server sends and receives HTTP requests from clients, which are then used to either update the database or retrieve information from the database.
    The database can be edited from a separate admin dashboard.
    I have recently rewritten our client software as a native android app. The new app makes calls to the server that look like browser calls. I have used Eclipse to develop the Android app.
    Sounds pretty standard so far, right? :-)
    I now want to replace the Ruby on Rails server with a new Java server that I will write. I want to use Eclipse to develop the new server. During development, I want to be able to have the new Android app communicate with the development server software that will reside on my desktop.
    So I was thinking that Oracle's tools might be perfect for me, if only I knew which tools to use. There are lot to choose from. :-)
    I believe that all I need is OEPE and a database. I would like to keep it pretty simple. I don't want to learn 20 new tools. It will be enough effort to become proficient in OEPE and a database.
    I looked at "Oracle Database Tools >> Connecting to an Oracle database" in the help files for OEPE 12.1.1. I tried going through the help files for Database connections, but I got to a "New Connection Profile" form that asks me for a SID, a user name, a password, etc. I don't have any of those. I tried to enter some data in the forms and ping the database, but I could not get any results from the ping. So my first question is: Do I have to sign up for an Oracle database in the cloud or is there a database contained within the OEPE software that I just installed. I will have to do the former anyway when I eventually deploy my new server software, so maybe the right thing to do is sign up for the "database in the cloud" service now, and use it during development.
    The other question I have is about getting a simple application client and server application sample. I found a "hello world" example at http://docs.oracle.com/cd/E13224_01/wlw/docs103/guide/webapplications/workshopJSP/tutorialJSP/TutorialJSPMakeJSP.html, but that is for WLS 10.3 and it doesn't seem to match the 12.1.1 software very well.
    So does anybody know where I can find a simple client and server sample program for WLS 12.1.1?
    If I can get these two questions answered, I can start making some progress.
    Thanks in advance to anybody who can help me navigate this minefield.
    Jim

    I wanted to add some information to my previous posting.
    1. The server I will develop will communicate ONLY with Android and iOS native apps, so the interface will not be HTML or XML. The information sent by the server to the client will be JSON. The information sent by the client to the server will be HTTP parameters, usually in the form of URL-encoded form data. This is not a browser-to-server server interface, so JSP is probably not appropriate for the server. The communication protocol will be HTTP.
    2. I don't need anything fancy on the server side. The server will simply be a Java program that emits JSON responses to the client and receives URL-encoded form data from the client. The server program will also make database queries and update the database.
    3. I don't understand how my native Android app will be able to communicate with my development server code running on my desktop. I want that communication to be over the internet, but my desktop does not have a static IP address, so I don't see how the app will be able to address the development server software on my desktop PC. I don't want to deploy the server software into the cloud every time I start a debug run, but I don't see any other way for my app to be able to address the server code over the Internet.
    If anybody has any ideas, I would appreciate hearing them.

  • Need Help ASAP  my State tax form is in a PDF file and the attachment in my email says Please wait

    Need Help ASAP  my State tax form is in a PDF file and the attachment in my email says Please wait...
    I tried downloading updates like it said to but it still will not display the document.  How do I print the PDF file ASAP

    Can you give us a LOT more info?
    What email client? What version of Reader (I can only assume you even have Reader at this point)?
    Please wait? I'm sure it says more than that, right?
    Have you tried simply saving the PDF (it IS a PDF correct?) to your desktop and opening it from there?
    Did you get this form from the IRS or did it come from somewhere else? If the IRS again, what version of Reader?
    Help us help you.

  • Performance problems between dev and prod

    I run the same query with identical data and indexes, but one system takes a 0.01 seconds to run while the production system takes 1.0 seconds to run. TKprof for dev is:
    Rows Row Source Operation
    1 TABLE ACCESS BY INDEX ROWID VAP_BANDVALUE
    3 NESTED LOOPS
    1 NESTED LOOPS
    41 NESTED LOOPS
    41 NESTED LOOPS
    1 TABLE ACCESS BY INDEX ROWID VAP_PACKAGE
    1 INDEX UNIQUE SCAN SYS_C0032600 (object id 51356)
    41 TABLE ACCESS BY INDEX ROWID VAP_BANDELEMENT
    41 AND-EQUAL
    82 INDEX RANGE SCAN IDX_BE2 (object id 53559)
    41 INDEX RANGE SCAN IDX_BE1 (object id 53558)
    41 TABLE ACCESS BY INDEX ROWID VAP_BAND
    41 INDEX UNIQUE SCAN SYS_C0034599 (object id 53556)
    1 INDEX UNIQUE SCAN SYS_C0032549 (object id 51335)
    1 INDEX RANGE SCAN IDX_BV1 (object id 53557)Tkprof for Prod is :
    Rows Execution Plan
    0 SELECT STATEMENT MODE: ALL_ROWS
    1 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF 'VAP_BANDVALUE' (TABLE)
    52001 NESTED LOOPS
    26000 NESTED LOOPS
    26000 NESTED LOOPS
    26000 NESTED LOOPS
    1 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF 'VAP_PACKAGE' (TABLE)
    1 INDEX MODE: ANALYZED (UNIQUE SCAN) OF 'SYS_C0018725' (INDEX (UNIQUE))
    26000 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF 'VAP_BANDELEMENT' (TABLE)
    26000 INDEX MODE: ANALYZED (RANGE SCAN) OF 'IDX_BE2' (INDEX)
    26000 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF 'VAP_BAND' (TABLE)
    26000 INDEX MODE: ANALYZED (UNIQUE SCAN) OF 'SYS_C0030648' (INDEX (UNIQUE))
    26000 INDEX MODE: ANALYZED (UNIQUE SCAN) OF 'SYS_C0018674' (INDEX (UNIQUE))
    26000 INDEX MODE: ANALYZED (RANGE SCAN) OF 'IDX_BV1' (INDEX).The row count varies greatly. But it shouldn't as the data is the same.
    Any ideas?

    From DEV you show the Row Source Operations for the query. The column named "Rows" signifies the actual number of rows processed with each step.
    From PROD you show the Execution Plan for the query; that is, tkprof was executed with the EXPLAIN option which generates the execution plan as of the time when tkprof was run. The "Rows" column in the Explain Plan output comes from the PLAN_TABLE.CARDINALITY, which represents an estimate by the CBO for the number of rows [expected to be] processed with each step.
    So, if by <quote>The row count varies greatly</quote> you meant these "Rows" columns outputs then you're are comparing actuals from a database with estimates from another. Get the Row Source Operations from both.
    "Identical data and indexes":
    1. data may be the same, but it is not necessarily stored physically the same way.
    2. Indexes being the same means their definitions are the same; again, physically they are not necessarily identical
    In other words, data in PROD (the way it is stored on disk) may have evolved as a result of discrete deletes/updates/inserts ... in DEV it could be, for example, stored more compact if you took a copy of PROD and moved into DEV. So, the number of blocks for your segments will likely be different between PROD and DEV, the clustering factor for your indexes are likely different, etc ... things which could [and do] influence the CBO. The statistics may be different.
    I guess what I'm saying is ... it is quite hard, if not outright impossible, to get two identical databases/instances/load ... hence, don't expect the executions to be 100% identical, even if you have "identical data and indexes". By all means compare between DEV and PROD (make sure you compare the same thing though) and use the observed differences as an indicator for further investigation ... don't chase the goal of 100% identical behavior.
    Now, by all means look at that query taking 1 second in PROD ... I have only addressed <quote>The row count varies greatly. But it shouldn't as the data is the same.</quote>

  • My ipod reset itself it would not let me log into my old itunes account so  I made a new one how can I get to all my music and stuff.

    My ipod reset itself it would not let me log into my old itunes account so  I made a new one how can I get to all my music and stuff.

    To recovery yoyr existing account:
    Is there a way to find my Apple ID Name if I can't remember it?
    Yes. Visit My Apple ID and click Find your Apple ID. See Finding your Apple ID if you'd like more information.
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.
    If necessary:
    Forgotten Security Questions/Answers
    You need to contact Apple by:
    1 - Use the Express lane and start here:
    https://expresslane.apple.com
    then click More Products and Services>Apple ID>Other Apple ID Topics>Forgotten Apple ID security questions.
    or
    Apple - Support -form iTunes Store - Contact Us
    2 - Call Apple in your country by getting the number from here:
    http://support.apple.com/kb/HE57
    or           
    Apple ID: Contacting Apple for help with Apple ID account security
    3 - Use your rescue email address if you set one up
    Rescue email address and how to reset Apple ID security questions
    For general  information see:
    Apple ID: All about Apple ID security questions

  • Urgent - can't set managed bean value using a form, getting null

    I have a form with a bean -- unbelievably, I can't get the values entered into the form by the user to get stored into the bean. Everything is null... I've looked at a zillion examples, posts and compared etc...yet still can't see what is missing.
    Here's part of a trace :
    [cc]Dec-31 01:25:02 ApplicationImpl - Created bean resourceBean successfully
    [cc]Dec-31 01:25:02 ApplicationImpl - Storing resourceBean in scope request
    [cc]Dec-31 01:25:02 VariableResolverImpl - resolveVariable: Resolved variable:id=null name=null
    [cc]Dec-31 01:25:02 ValueBindingImpl - getValue Result:id=null name=null
    [cc]Dec-31 01:25:02 ValueBindingImpl - -->Returning id=null name=null
    If you have any ideas, please let me know--it seems just as I solve one JSF issue, I run into another on unexpectedly simple things.
    Here's the ResourceBean.java, the bean-config.xml and my jsp.
    package com.intalio.qa.tcm.view.beans;
    import java.util.Map;
    import javax.faces.context.FacesContext;
    import javax.faces.model.SelectItem;
    import org.apache.log4j.Logger;
    import com.intalio.qa.exceptions.DuplicateIdException;
    import com.intalio.qa.tcm.model.Resource;
    import com.intalio.qa.tcm.view.builders.ResourceBuilder;
    import com.intalio.qa.tcm.view.util.FacesUtils;
    * Resource backing bean.
    public class ResourceBean extends RootBean {
         * Class logger
         public static final Logger LOG =
              Logger.getLogger(ResourceBean.class);
    * The Resource id
         private String id = null;
         * The Resource name
         private String name = null;
    * Description
    private String description= null;
         * the resource type id associated with the Resource
         private String resourceTypeId= null;
         private static SelectItem[] resourceTypeIds = new SelectItem[] {
              new SelectItem("External Software"),
              new SelectItem("Hardware"),
              new SelectItem("Intalio Product Software"),
              new SelectItem("Machine - Dual CPU"),
              new SelectItem("Machine - CPU Single"),
              new SelectItem("Memory - UNIX"),
              new SelectItem("Memory - Windows") };
    * @return Returns the resourceTypeIds.
    public SelectItem[] getResourceTypeIds() {
    return resourceTypeIds;
    * @param resourceTypeIds The resourceTypeIds to set.
    public void setResourceTypeIds(SelectItem[] typeIds) {
    resourceTypeIds = typeIds;
         * Default constructor.
         public ResourceBean() {
    super();
    init();
         * Initializes ResourceBean.
         * @see RootBean#init()
         protected void init() {
         /*True, but I'd strongly recommend instead using:
    FacesContext fContext = FacesContext.getCurrentInstance();
    Map requestParams = fContext.getExternalContext().getRequestParameterMap();
    String companyId = (String) requestParams.get("companyID");
    The getRequest(), getSession(), and getContext() methods of ExternalContext should only be used as a last resort.*/
         * Backing bean action to update Resource.
         * @return the navigation result
         public String updateAction() {
              LOG.info("updateAction is invoked");
              try {
                   Resource Resource = ResourceBuilder.createResource(this);
                   LOG.info("ResourceId = " + Resource.getId());
              //     viewServicesManager.getResourceService().updateResource(Resource);
              } catch (Exception e) {
                   String msg = "Could not update Resource";
                   LOG.error(msg, e);
                   FacesUtils.addErrorMessage(msg + ": Internal Error.");
                   return ActionResult.FAILURE;
              LOG.info("Resource with id of " + id + " was updated successfully.");
              return ActionResult.SUCCESS;
         * Backing bean action to create a new Resource.
         * @return the navigation result
         public String addAction() {
              try {
                   Resource resource = ResourceBuilder.createResource(this);
    LOG.info("resource created: " + resource.getName() + " with typeId = " + resource.getResourceTypeId());
                   viewServicesManager.getResourceService().saveResource(resource);
              } catch (DuplicateIdException de) {
                   String msg = "This id already exists";
                   LOG.info(msg);
                   FacesUtils.addErrorMessage(msg);
                   return ActionResult.RETRY;
              } catch (Exception e) {
                   String msg = "Could not save Resource";
                   LOG.error(msg, e);
                   FacesUtils.addErrorMessage(msg + ": Internal Error");
                   return ActionResult.FAILURE;
              String msg = "Resource with id of " + id + " was created successfully.";
              LOG.info(msg);
              return ActionResult.SUCCESS;
         * Backing bean action to delete Resource.
         * @return the navigation result
         public String deleteAction() {
              LOG.info("deleteAction is invoked");
              try {
         //          Resource Resource = ResourceBuilder.createResource(this);
         //          viewServicesManager.getResourceService().deleteResource(Resource);
                   //remove the ResourceList inside the cache
    //               FacesUtils.resetManagedBean(BeanNames.RESOURCE_LIST_BEAN);
              } catch (Exception e) {
                   String msg = "Could not delete Resource. ";
                   LOG.error(msg, e);
                   FacesUtils.addErrorMessage(null, msg + "Internal Error.");
                   return ActionResult.FAILURE;
              String msg = "Resource with id of " + id + " was deleted successfully.";
              LOG.info(msg);
              FacesUtils.addInfoMessage(msg);
              return ActionResult.SUCCESS;
         public String getId() {
              return id;
         * Invoked by the JSF managed bean facility.
         * <p>
         * The id is from the request parameter.
         * If the id is not null, by using the id as the key,
         * the Resource bean is initialized.
         * @param newQueryId the query id from request parameter
         public void setId(String newId) {
              LOG.info("setId " + newId);
              id = newId;
         public String getName() {
              return name;
         public void setName(String newName) {
              name = newName;
         public String getDescription() {
              return description;
         public void setDescription(String newDescription) {
              description = newDescription;
         public String getResourceTypeId() {
              return resourceTypeId;
         public void setResourceTypeId(String newResourceTypeId) {
              resourceTypeId = newResourceTypeId;
         public String toString() {
              return "id=" + id + " name=" + name;
         <!-- view -->
         <managed-bean>
              <description>
                   Managed bean
              </description>
              <managed-bean-name>applicationBean</managed-bean-name>
              <managed-bean-class>
                   com.intalio.qa.tcm.view.beans.ApplicationBean
              </managed-bean-class>
              <managed-bean-scope>application</managed-bean-scope>
              <managed-property>
                   <property-name>viewServicesManager</property-name>
                   <value>#{viewServicesManagerBean}</value>
              </managed-property>
              </managed-bean>
         <managed-bean>
              <description>
                   View service manager impl for business services
              </description>
              <managed-bean-name>viewServicesManagerBean</managed-bean-name>
              <managed-bean-class>
                   com.intalio.qa.tcm.view.beans.ViewServicesManagerBean</managed-bean-class>
              <managed-bean-scope>application</managed-bean-scope>
         </managed-bean>
         <managed-bean>
              <description>
                   Backing bean that contains product information.
              </description>
              <managed-bean-name>resourceBean</managed-bean-name>
              <managed-bean-class>
                   com.intalio.qa.tcm.view.beans.ResourceBean
              </managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>
              <managed-property>
                   <property-name>viewServicesManager</property-name>
                   <value>#{viewServicesManagerBean}</value>
              </managed-property>
         </managed-bean>
    </faces-config>
    <f:view>
         <h:form id="createResourceForm" target="dataFrame">
              <h:outputText value="#{applicationBean.dummyVariable}" rendered="true" />
              <div align="center">
              <head>
              <link href="../../css/stylesheet.css" rel="stylesheet" type="text/css">
              <FONT color="#191970" size="4" face="Arial">Resources View</FONT>
              </head>
              <table style="margin-top: 2%" width="35%" cellpadding="10">
                   <div align="left">
                   <FONT color="#191970" size="3" face="Arial">Update Resources </FONT>
                   </div>
                   <tr>
                        <td align="center" valign="top" align="center" style="" bgcolor="white" />
                        <table>
                             <tbody>
                                  <tr>
                                       <td align="left" styleClass="header" width="100" />
                                       <td align="left" width="450" />
                                  </tr>
                                  <tr>
                                       <td align="right" width="100"><h:outputText value="Id" /></td>
                                       <td align="left" width="450"><h:inputText value="#{resourceBean.id}" id="id"/> <h:message for="id" styleClass="errorMessage" /></td>
                                  </tr>
                                  <tr>
                                       <td align="right" width="100"><h:outputText value="Name" /></td>
                                       <td align="left" width="450"><h:inputText value="#{resourceBean.name}" id="name" /> <h:message for="name" styleClass="errorMessage" /></td>
                                  </tr>
                                  <tr>
                                       <!--td align="right" width="100" valign="bottom"><h:outputText value="Type" /></td>
                                       <td align="left" width="550"><h:selectOneMenu>
                                            <f:selectItems value="#{resourceBean.resourceTypeIds}" />
                                       </h:selectOneMenu> <h:outputText value="#{resourceBean.resourceTypeId}" id="dresourceTypeId" /> <h:message for="resourceTypeId" styleClass="errorMessage" />
                                       </td>
                                  </tr>
                                  <tr>
                                       <td align="right" width="100" valign="bottom"><h:outputText value="Description" /></td>
                                       <td align="left" width="450"><h:inputText value="#{resourceBean.description}" id="description" size="96" /> <h:message for="description" styleClass="errorMessage" /></td>
                                  </tr>
                             </tbody>
                        </table>
         </h:form>
         </td>
         <!-- END DATA FORM -->
         <!-- BEGIN COMMANDS -->
         <td width="30%" align="left" valign="top"><h:form id="buttonCommandsForm">
              <h:panelGroup id="buttons">
                   <h:panelGrid columns="1" cellspacing="1" cellpadding="2" border="0" bgcolor="white">
                        <h:commandButton value="Add" style="height:21px; width:51px;font-size:8pt; font-color: black;" action="#{resourceBean.addAction}">
                        </h:commandButton>
                        <h:commandButton id="deleteCB" value="Delete" style="height:21px; width:51px;font-size:8pt" action="#{resourceBean.deleteAction}">
                        </h:commandButton>
                        <h:commandButton id="spaceFillerButton" style="height:21px; width:51px;font-size:8pt;background-color: #ffffff;color: #ffffff;border: 0px;">
                        </h:commandButton>
                        <h:commandButton id="saveCB" value="Save" style="height:21px; width:51px;font-size:8pt" action="#{resourceBean.saveAction}">
                        </h:commandButton>
                        <h:commandButton id="updateCB" value="Update" style="height:21px; width:51px;font-size:8pt" action="#{resourceBean.updateAction}">
                        </h:commandButton>
                   </h:panelGrid>
              </h:panelGroup>
         </h:form> <!-- end buttons --></td>
         </tr>
         </table>
         <HR align="center" size="2" width="60%" />
         <!-- data table -->
         </div>
    </f:view>
    THANKS.
    -L

    I solved this.
    Since I was testing the action code only, I didn't define a navigation entry corresponding to the action string returned for this button:
    <h:commandButton value="Add" style="height:21px; width:51px;font-size:8pt; font-color: black;" action="#{resourceBean.addAction}">
    </h:commandButton>After I added a nav definition, it worked. I don't know why at this point. I suspect a key step in the lifecycle was pre-empted...someone else can probably explain why. If I get a chance to research it after I'm done with my project, I'll update this post.
    Thanks.
    -L

  • How is it posible to get the File name, size and type from a File out the H

    How is it posible to get the File name, size and type from a File out the HttpServletRequest. I want to upload a File from a client and save it on a server with the client name. I want to conrole before saving the name, type and size of the file.How is it posible to get the File name, size and type from a File out the HttpServletRequest.
    form JSP
    <form name="form" method="post" action="procesuploading.jsp" ENCTYPE="multipart/form-data">
    File: <input type="file" name="filename"/
    Path: <input type="text" readonly="" name="path" value="c:"/
    Saveas: <input type="text" name="saveas"/>
    <input name="submit" type="submit" value="Upload" />
    </form>
    proces JSP
    <%@ page language="java" %>
    <%@ page import="java.util.*" %>
    <%@ page import="FileUploadBean" %>
    <jsp:useBean id="TheBean" scope="page" class="FileUploadBean" />
    <%
    TheBean.doUpload(request);
    %>
    BEAN
    import java.io.*;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletInputStream;
    public class FileUploadBean {
    public void doUpload(HttpServletRequest request) throws IOException
              String melding = "";
              String filename = request.getParameter("saveas");
              String path = request.getParameter("path");
              PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter("test.java")));
              ServletInputStream in = request.getInputStream();
              int i = in.read();
              System.out.println("filename:"+filename);
              System.out.println("path:"+path);
              while (i != -1)
                   pw.print((char) i);
                   i = in.read();
              pw.close();
    }

    Thanks it works great.
    Here an excample from my code
    import org.apache.commons.fileupload.*;
    public class FileUploadBean extends Object implements java.io.Serializable{
    String foutmelding = "geen";
    String path;
    String filename;
    public boolean doUpload(HttpServletRequest request) throws IOException
         try
         // Create a new file upload handler
         FileUpload upload = new FileUpload();
         // Set upload parameters
         upload.setSizeMax(100000);
         upload.setSizeThreshold(100000000);
         upload.setRepositoryPath("/");
         // Parse the request
         List items = upload.parseRequest(request);
         // Process the uploaded fields
         Iterator iter = items.iterator();
         while (iter.hasNext())
         FileItem item = (FileItem) iter.next();
              if (item.isFormField())
                   String stringitem = item.getString();
         else
              String filename = "";
                   int temp = item.getName().lastIndexOf("\\");
                   filename = item.getName().substring(temp,item.getName().length());
                   File bestand = new File(path+filename);
                   if(item.getSize() > SizeMax && SizeMax != -1){foutmelding = "bestand is te groot.";return false;}
                   if(bestand.exists()){foutmelding ="bestand bestaat al";return false;}
                   FileOutputStream fOut = new FileOutputStream(bestand);     
                   BufferedOutputStream bOut = new BufferedOutputStream(fOut);
                   int bytesRead =0;
                   byte[] data = item.get();
                   bOut.write(data, 0 , data.length);     
                   bOut.close();
         catch(Exception e)
              System.out.println("er is een foutontstaan bij het opslaan de een bestand "+e);
              foutmelding = "Bestand opsturen is fout gegaan";
         return true;
         }

Maybe you are looking for

  • Clicking on a link will pop up another firefox window and nothing in box and I cannot open original link. What do I need to do?

    This has just started happening since last update of Firefox. I will be on a website, and I click on a link. Clicking on link brings up another Mozilla Firefox window with a blank window and at top of window, it asks for "type web address" in navigat

  • Ipod touch 1st gen stuck at connect to itunes screen and wont restore

    So can someone help i came home yesterday and i was looking for my ipod well when i found it. It was off when it usually stays on for ever after i charge it i try to cut it on and it goes to the connect to itunes screen so i try to restore it and it

  • OPS$ and database services

    All, I'm on 10.1 Solaris with an "OPS$" (externally identified) user, through which all application logins (batch loads) are made. I also have a range of database services and would like to connect this user to a specific service based on the batch t

  • 1.3 incompatible with 1.2 on networking

    Hi, on solaris 8 I have a program that forks out a process (Runtime.exec()) to run a command that's trying to talk to IP address. It works if I invoke this program using 1.2 jdk (/usr/java1.2/bin/java -classpath . MyPing /tmp/realPing 11.11.11.11) bu

  • How to contribute ARTICLE in SDN

    Hello Guru's m new to SDN Forum and wanted to contribu Article in SDN Forum. i have heard that 1) we have to download some Templates 2) and after creating Articles 3) submit it to SAP People so that they can approve it Now my concern is that from whe