Layout Altered

Hi
I have created a web page, the layout looks fine in
Dreamweaver 8 but when I preview it in IE one of the tables has
appeared top left instead of central (above the other table).
Is there anyway to group them together?
Thanks for all your help, Louisa

Let's see the page, please.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"LoobieLouLou" <[email protected]> wrote in
message
news:f99hrf$vb$[email protected]..
> Hi
> I have created a web page, the layout looks fine in
Dreamweaver 8 but when
> I
> preview it in IE one of the tables has appeared top left
instead of
> central
> (above the other table).
> Is there anyway to group them together?
> Thanks for all your help, Louisa
>

Similar Messages

  • Layout Mode

    Hi
    I have created my site in dreamweaver, but it is not
    appearing in the browser as it should.
    I have two tables that need to be lined up with each other in
    the centre. Although, when I create it in layout mode it appears
    correctly but then when I preview the site in browser the tables
    are off to the left.
    Any ideas of how to fix it?
    Thanks Lou

    This post was made to the identical thread called "Layout
    Altered" - posted
    yesterday -
    Yes, it does.
    DW's timeline code is such an antique (dating from DW2, I
    believe) that it
    fails in some of the more recent browsers. Unless there is a
    compelling
    reason to use it, I wouldn't.
    It's likely that your problems stem from this code -
    <table width="748"" height="419" align="center"
    cellspacing="10"
    id="Content"
    style="border: 1px solid black; </table>
    Note that not only is the opening table tag improperly
    closed, but the whole
    thing is bogus anyhow. You cannot have
    <table></table> in your code. I
    assume that the closing </table> is an error, meaning
    that the code should
    be -
    <table width="748"" height="419" align="center"
    cellspacing="10"
    id="Content"
    style="border: 1px solid black;">
    This should fix part of your problem. You will have another
    immediate
    problem, though, that is caused by your use of absolute
    positioning with
    centering tables. The tables will center, but the absolutely
    positioned
    elements will be fixed in their location. Thus, the table's
    content will
    slide under the 'layers', breaking your layout.
    Finally, you have used Layout mode to build these tables. In
    my opinion,
    there are three serious problems with Layout Mode -
    1. Perhaps most importantly, it sits between you and *real*
    HTML tables,
    and fools you into believing that concepts like "layout cell"
    and
    "autostretch" really mean something. They do not. As long as
    you use
    Layout Mode, you'll never learn one of the most important
    things for new web
    developers - how to build solid and reliable tables.
    2. Actually, #1 wouldn't be *so* bad, except that the code
    that is written
    by Layout Mode is really poor code. For example, a layout
    table contains
    MANY empty rows of cells. This can contribute to a table's
    instability.
    In addition, if your initial positioning of the table's cells
    is a bit
    complex,
    Layout Mode will throw in col- and rowspans aplenty as it
    merges and splits
    cells willy-nillly to achieve the pixel-perfect layout you
    have specified.
    Again,
    this is an extremely poor method for building stable tables,
    because it
    allows
    changes in one tiny cell's shape (i.e, dimensions) to ripple
    through the
    rest
    of the table, usually with unexpected and sometimes
    disastrous consequences.
    This is one of the primary reasons for the final result's
    fragility - read
    this -
    http://apptools.com/rants/spans.php
    3. The UI for Layout Mode is beyond confusing - many options
    that you might
    want to use are inaccessible, e.g., inserting another table,
    or layer onto
    the page.
    I can understand the new user's desire to use this tool to
    make their life
    easier,
    but the cost is just too heavy in my opinion.
    To make good tables, keep it simple. Put a table on the page,
    and begin to
    load your content. If you would want a different table
    layout, instead of
    merging or splitting cells, consider stacking tables or
    nesting simple
    tables instead, respectively.
    And above all, do not try to build the whole page with a
    single table!
    To read more about this approach, visit the DW FAQ link in my
    sig, and run
    through the table tutorials.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Malcolm N_" <[email protected]> wrote in message
    news:[email protected]...
    > On Wed, 8 Aug 2007 12:07:34 +0000 (UTC), "LoobieLouLou"
    > <[email protected]> wrote:
    >
    >>I am not absolutely sure how the table html code
    should look, please could
    >>you
    >>show me?
    >
    > in a new file - create a new table and then look at the
    code
    >
    > it starts with a <table>
    > then a <tr> to start the row
    > then <td> or <th> to start a cell - each
    <td> needs a balancing </td>
    > to close it
    >
    > to end a row it uses a </tr>
    >
    > look at your code and you will see missing </td>
    and </tr>
    >
    > and the first table has no content i.e a <table>
    immediately followed
    > by a </table> with no rows or cells
    >
    > Just using Dw to produce a site without undertstanding
    html and css is
    > not a recipe for success.
    >
    >
    >
    >
    > --
    >
    > ~Malcolm N....
    > ~

  • Something weird going on with this forum?

    I'm getting "safari cannot find the page because of a problem with the network connection a lot on this board today! Also when I hit refresh the font and layout alters! Also some of the icons are not appearing.
    Is this a result of some "improvement" that it took all weekend to make?

    The error i keep getting says
    "Safari can’t open the page “http://discussions.info.apple.com/category.jspa?categoryID=132”. The error was: “lost network connection” (NSURLErrorDomain:-1005)"
    and if I hit reload, the page usually comes through. I have tried deleting the Safari cache, and every other site I visit is working fine.
    So what is going on here?

  • Altering the report's format without destroying the report layout....{solv}

    Hi,
    I have developed a tabular report and the layout (lines, rectangles... etc as customer wants) ....
    Now , i want to alter only the report style.... that is to change it to group left....
    Is it possible... to select the group fields and the fields displayed in the report without redeveloping the report UI (lines , rectangles... e.t.c).
    I have tried the report wizard... but the layout destroyed... and have to do the UI from the beginning.....
    NOTE : I use Dev10g
    Thanks ,
    Sim

    Hi Sim,
    Group Left or Group Above means that you are grouping for 1 or more fields.
    In the Data model, you will have to create a new group and drag the group fields to this new group.
    In the Layout, you will need to add a new repeating frame below all the other repeating frame, frames, etc. ie. create a repeating frame over existing objects. You may need to move all existing objects down and to the right so that there is enough room to create a new repeating frame over these objects. With the repeating frame selected, from the Arrange Menu, select Send to back (F6) or Move Backwards (F8) several times so that the new repeating frame is below all the objects from the tabular layout.
    Also, fix up the source property for the repeating frame. Create a new field(s) inside this new repeating frame for your group left field(s).
    Good luck.
    John

  • Altering copied SAP report layout

    I've copied SAP std report from investment management (in IME2) to create my own layout. I've copied the report and form, and have alterred the form to my liking.
    When I execute the report, the summary section at the bottom of the report appears correctly, but the middle section doesn't show the same columns.
    I can't find where this is controlled/stored. How do I get into the centre section of the report layout to alter the column layouts and bring in my new columns when the report executes.
    Can anyone tell me how I get into this area of a report to configure the column layout
    Thanks
    Graham

    Hi Prasanna
    No I've checked throughout Report painter/writer, and its not there.  Style wise, it appears to be more of a Profitability Analysis report.
    I've managed to create my own copy of  SAP standard report S_ALR_87012825, with a modified form that gives me what I nee at the bottom summary section.  I've spent hours trying to get into the middle section, but just can't find a way.
    the nearest I got was in IME2, where I can right click on the program name, and choose "Layout Display", but there doesn't seem to be any editing options where I can alter the columns in the middle section of the report, which I basically want to replicate the summary section at the bottom.
    Graham

  • Cc cleaner has altered page layout, missing buttons, pictures not shown with txt but below, certain pages also not now intertactive..cannot scroll and over buttons and click to enable choice. help to

    Hi, Please help.
    I'm currently using Firefox v4.0.1, which I like and am happy with, as it allows me to use my Kaspersky link filter and virtual keyboard.
    Anyway, I recently decided to clean my registry and history using cc cleaner.. I did not back up as I had never experienced problems before. Once cc cleaner had finished and I opened Firefox I noticed that my two home page layouts had altered. The Supanet home page is now all disjointed, buttons are scattered to the left and right of the page, where once they where side by side, all of the images and text seem to be beneath each other and instead of one page i now have to scroll down and down to the full page, all text and image seem to be left margin.
    On the google home page certain buttons are there but the text within has disappeared, although the buttons work, a search for Mail online through google..(or Supanet home page) is not a problem, however, once we arrive at the site it pretty much displays the info in the same layout/manner as the Supanet hompage. Further more certain buttons on other sites are no longer interactive..eg, Asda voucher print out. i do not wish to update to other version of firefox as i would lose Kaspersky buttons..so please help..I've tried everything..even re installing version 4.0.1..Help, I now it must be simple..but I'm not a techie!! Many thanks!

    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.org/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If that new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    Please update Firefox to the latest version via "Help > About Firefox" or "Help > Check for Updates"<br />
    The Firefox Firefox 4.0.1 version that you currently run is no longer supported with security updates.
    You can find the latest Firefox release in all languages and for all Operating Systems here:
    *Firefox 9.0.x: http://www.mozilla.org/en-US/firefox/all.html

  • Altering the layout(fields,lines..) in the Edit Current Record tag fields (JSP)

    Can anyone help me please?
    Can I alter the layout(fields, lines, bold..) between the fields in a Edit Current Record Data Web Bean Tag (JSP)?
    null

    Can anyone help me please?
    Can I alter the layout(fields, lines, bold..) between the fields in a Edit Current Record Data Web Bean Tag (JSP)?
    null

  • Alteração dos layout's de impressão padrão do SAP B1

    Pessoal, bom dia.
    Gostaria de saber como faço para incluir um novo dado em um layout padrão do SAP B1, por exemplo: Fluxo de Caixa.
    Toda vez que tento incluir ou alterar qualquer campo o layout traz informações que não tem nada a ver ou repete em todas as linhas.
    Eu queria alterar por exemplo, no Fluxo de Caixa, que ele traga o Nome do PN e não o código do PN.
    Agradeço desde já.
    Abraços,
    Antonio Melo

    Danilo,
    A questão é que os campos demonstrados no layout de impressão do fluxo de caixa não demonstram de quais tabelas sao os campos.
    Criei um novo campo e o relacionei ao campo Código do PN. Ele me trouxe como resultado o nome do meu primeiro PN cadastrado no sistema para todas as linhas, ou seja, trouxe errado.
    Continuo na mesma.
    Abs,
    Melo

  • Viewing layout has altered in latest iTunes, version 10.3.1.55

    Since downloading the latest version of iTunes (10.3.1.55) the main viewing window has changed so that it only shows one vertical column of slightly larger 'app' icons down the lefthand side of the window. It is also the same when any other part of the 'store'.
    Tried altering the setting in the pull-down viewing menu but none of the settings make any difference. Any ideas?

    Follow these instructions to completely remove Apple software
    http://support.apple.com/kb/HT1923
    Then use free Ccleaner to repeatly repair your registry until it's fixed.
    http://www.piriform.com/ccleaner/download/standard
    download iTunes again from Apple.
    http://www.apple.com/itunes/
    If you have 64bit Vista or Windows 7, look for the seperate download of iTunes for that further down the page.
    Once installed, use the Apple Software Update under your Start Menu to fully update all Apple components.
    Your content will remain on the drive in the Music > iTunes Folder, nothing is deleted.
    You should be making backups of your content regularly, either through iTunes or via copying the iTunesFolder in your Music folder to a external drive.
    Windows is notorious for having "other" issues that make it unstable, we as volunteers helping others can't always resolve those issues.

  • Alter screen field layout in MIRO - Item level

    Dear All,
    I would like to know whether I can change the field sequence in MIRO transaction at the item level. I want to move the Reference Doc field (GRN No)  next to the item field in MIRO and this needs to be premanent whenever I create a new invoice in MIRO.
    This sort of a change is possible in ME21N at the line item level. I want to know if a similar setting is possible in MIRO, if so please guide me.
    Regards
    Karthikeyan G

    Can anyone kindly updated on this pls........
    Karthik

  • SPED ECD Layout 3 - Nota de anúncio

    Olá Pessoal,
    A SAP lançou hoje a SAP Note 2145930 - LC Announcement Note SPED ECD: Ato Declaratório Executivo COFIS 17/2015. Essa nota de anúncio tem as informações sobre os campos/registros a serem alterados e a previsão de entrega da solução, que é 30.04.2015.
    Qualquer alteração na data ou na solução será atualizada na própria nota. Assim que tivermos mais novidades sobre a solução do ponto de vista técnico ( campos de seleção, BAdI's ou alterações no mapeamento ) irei atualizar com um blog post.
    att,
    Renan Correa

    A nota para o Layout 3.00 do SPED ECD saiu em 24/04/2015.
    2154499 - SPED ECD: Ato Declaratório Executivo COFIS 17/2015
    Após aplicar a nota você terá problema com o registro 0000 campo 19.
    O campo tem valor numérico no código abap, o que faz os casos de não participantes do SCP, sair um "0", no arquivo, quando se deveria sair em branco.
    Tentamos modificar o valor no código para texto, para sair em branco, mas ao executar o programa é gerado um dump.
    Estou aguardando uma nota de correção, para esse caso.
    No caso do layout 3.00, você deverá usar o plano de contas referencial do ECF obrigatoriamente.
    Boa sorte.

  • NFE 3.10 layout de conteúdo atualização PI/XI

    NFE 3.10 layout de conteúdo atualização XI
    Olá Experts,
    Estamos planejando fazer o upgrade para NFE layout de 3.10. Tenho consultas soem regardign os chnages PI / XI para a atualização. De acordo com a guia de disposição é mencionado:
    Os novos WebServices precisam de um novo conjunto de configuração PI - os cenários de integração correspondentes são entregues com namespace http://sap.com/xi/NFE/008. Note que você também precisa configurar os Cenários de Integração para emissão de eventos do mesmo espaço! A única atualização para Layout 3.10 exceção são os dois cenários de integração necessários para o XML download que você ainda pode acessar emhttp :/ / sap.com/xi/NFE/006.
    Minhas consultas são:
    1. Será que precisamos para configurar cada cenário usando 008 namespace? Por exemplo BATCH_AEX_WebAS_Outbound_Batch ou ETB2B_AEX_WebAS_Outbound_B2B_Event. Será que precisamos para configurar estes também no novo namespace?
    2. Uma vez que configurar as interfaces no novo namespace ou seja, 008. Depois disso deve ser desativar a configuração do 006 ou deixá-lo como ele é.
    Se alguém está tendo uma correlação precisa para o qual será necessária todas as alterações PI / XI, em seguida, por favor, compartilhe.
    obrigado
    Gaurav

    Obrigado novamente,
    Outra consulta está no portal do governo para links webservice eu descobri há certas regiões para as quais não existe uma versão 3.10 webservices URL definida. Por exemplo Sefaz Ceará - (CE) e Sefaz Paraná - (PR).
    Além disso, algumas outras regiões não têm wbservice 3.10 URL para todos os serviços. Por exemplo SEFAZ_RS - No 3.10 serviços para estes? :
    NfeConsultaCadastro
    NfeConsultaDest
    NfeDownloadNF
    A única agência adequada / região que encontrei é de SEFAZ_SP que tem conjunto completo de URL webservice.
    Você pode por favor, compartilhe yor views / comentários.
    obrigado
    Gaurav Ranjan

  • How can I alter an existing OA Page to call my JSP page ?

    hi,
    I want to use the existing oracle payslip page that when the user selects a date and clicks the Submit button it does all the relevant processing as normal but instead of displaying the Oracle payslip it should then display mine.
    I don't think this possible in Personalization so i tried creating my own controller code. I decompiled the Controller Code on the server and copied that into my new Controller class. I then added my own code to do a setForward to my page.
    I copied this new class to the server under XXmycust.oracle.etc etc and added this entry top the jserv.properties file.
    I then went into Personalize this Page to alter the controller - I set the Controller for the page layout to be my new controller, and bounced Apache. But when I try to access the page I just get the red Error message. !!!
    What is the correct procedure if you want to alter an existing page's Controller code ?

    Hi,
    Here is more information for you.
    Here is the ORIGINAL decompiled oracle controller :
    // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.kpdus.com/jad.html
    // Decompiler options: packimports(3)
    // Source File Name: PayPayslipChoosePayslipCO.java
    package oracle.apps.pay.selfservice.payslip.US.webui;
    import oracle.apps.fnd.common.AppsContext;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.*;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OARawTextBean;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.layout.OATableLayoutBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean;
    import oracle.apps.pay.selfservice.common.server.PayGetCommonFunction;
    import oracle.apps.pay.selfservice.common.server.PayOnlineSSPrefs;
    import oracle.apps.pay.selfservice.payslip.webui.PdfPayslip;
    import oracle.apps.per.selfservice.arch.webui.Constants;
    import oracle.apps.per.selfservice.common.SSHRParamTable;
    import oracle.apps.per.selfservice.common.SSHRParams;
    import oracle.cabo.ui.beans.BaseWebBean;
    import oracle.cabo.ui.beans.RawTextBean;
    import oracle.jbo.*;
    public class PayPayslipChoosePayslipCO extends OAControllerImpl
    private String buildURL(OAPageContext oapagecontext, String s)
    boolean flag = oapagecontext.isLoggingEnabled(1);
    String s1 = oapagecontext.getRootApplicationModule().getDbc();
    StringBuffer stringbuffer = new StringBuffer("OA.jsp?akRegionCode=PAY_PAYSLIP_TOP_SS");
    stringbuffer.append("&akRegionApplicationId=801");
    stringbuffer.append("&dbc=" + s1);
    if(flag)
    oapagecontext.writeDiagnostics(this, "redirect URL = " + stringbuffer, 1);
    return stringbuffer.toString();
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    boolean flag = oapagecontext.isLoggingEnabled(1);
    String s = "";
    String s1 = "";
    oapagecontext.isLoggingEnabled(6);
    String s2 = PayGetCommonFunction.getLaunchedFunction(oapagecontext);
    String s3 = "";
    PayOnlineSSPrefs payonlinessprefs = new PayOnlineSSPrefs();
    String s4 = "PAYSLIP";
    if(flag)
    oapagecontext.writeDiagnostics(this, "processRequest start", 1);
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
    OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl)oaapplicationmodule.getOADBTransaction();
    SSHRParams sshrparams = new SSHRParams(oapagecontext.getRootApplicationModule().getOADBTransaction());
    String s5 = String.valueOf(sshrparams.getLegislationCode());
    s5 = "".equals(s5) ? (String)oadbtransactionimpl.getValue("INIT_LOCALIZATION_CODE") : s5;
    String s6 = sshrparams.getSelectedPersonName();
    String s7 = sshrparams.getPersonId();
    String s8 = sshrparams.getAssignmentId();
    String s9 = sshrparams.getEffectiveDate();
    String s10 = oapagecontext.getMessage("PAY", "PAY_NO_SS_PREF_PAYSLIP_WEB", null);
    if(flag)
    oapagecontext.writeDiagnostics(this, "legislationCode = " + s5, 1);
    oapagecontext.writeDiagnostics(this, "personName = " + s6, 1);
    oapagecontext.writeDiagnostics(this, "personId = " + s7, 1);
    oapagecontext.writeDiagnostics(this, "assignmentId = " + s8, 1);
    oapagecontext.writeDiagnostics(this, "effectiveDate = " + s9, 1);
    OARawTextBean oarawtextbean = (OARawTextBean)oawebbean.findIndexedChildRecursive("PayPayslipCheckRecord");
    OAMessageChoiceBean oamessagechoicebean = (OAMessageChoiceBean)oawebbean.findIndexedChildRecursive("PayPayslipChoosePayslip");
    OATableLayoutBean oatablelayoutbean = (OATableLayoutBean)oawebbean.findIndexedChildRecursive("PayPayslipChseTable");
    if(flag)
    oapagecontext.writeDiagnostics(this, "Got noRecordMessage, poplist, chseTable", 1);
    if(oapagecontext.getTransactionValue("") == null)
    String s11 = payonlinessprefs.getPreferences(oaapplicationmodule, Integer.parseInt(s7), s4, s9, "Online_Doc");
    if(s11 == null)
    oapagecontext.putTransactionValue("", "Y");
    else
    oapagecontext.putTransactionValue("", s11);
    if(flag)
    oapagecontext.writeDiagnostics(this, "DISPLAY_PAYSLIP = " + oapagecontext.getTransactionValue(""), 1);
    if(oapagecontext.getTransactionValue("").equals("N"))
    if(oarawtextbean != null)
    oarawtextbean.setText(s10);
    oarawtextbean.setRendered(true);
    if(oamessagechoicebean != null)
    oamessagechoicebean.setRendered(false);
    if(oatablelayoutbean != null)
    oatablelayoutbean.setRendered(false);
    if(!oapagecontext.getTransactionValue("").equals("N"))
    if(oapagecontext.getTransactionValue("payslipDateChk") == null)
    String s12 = (String)oaapplicationmodule.invokeMethod("checkDate");
    oapagecontext.putTransactionValue("payslipDateChk", s12);
    String s13 = oapagecontext.getTransactionValue("payslipDateChk").toString();
    if(flag)
    oapagecontext.writeDiagnostics(this, "PAYSLIP_DATE = " + s13, 1);
    if(oapagecontext.getTransactionValue("payslipDateChk") == null)
    String s14 = oapagecontext.getMessage("PAY", "PAY_34978_PROFILE_PAYSLIP_WEB", null);
    if(oarawtextbean != null)
    oarawtextbean.setText(s14);
    oarawtextbean.setRendered(true);
    if(oamessagechoicebean != null)
    oamessagechoicebean.setRendered(false);
    if(oatablelayoutbean != null)
    oatablelayoutbean.setRendered(false);
    return;
    } else
    String s15 = "pay_us_employee_payslip_web.get_term_info( " + sshrparams.getSelectedPersonBusinessGroupId() + ",person_id,action_context_id) = 'Y'";
    OAViewObject oaviewobject = (OAViewObject)oaapplicationmodule.findViewObject("PayPayslipChoosePayslipVO");
    if(!oaviewobject.isExecuted())
    oaviewobject.setWhereClauseParams(null);
    oaviewobject.setWhereClauseParam(0, s5);
    oaviewobject.setWhereClauseParam(1, s5);
    oaviewobject.setWhereClauseParam(2, s7);
    oapagecontext.getTransactionValue("payslipDateChk").toString();
    oaviewobject.setWhereClauseParam(3, oapagecontext.getTransactionValue("payslipDateChk"));
    if(oapagecontext.getParameter("pEnableTerms") == null)
    oaviewobject.setWhereClause(s15);
    else
    if(!oapagecontext.getParameter("pEnableTerms").equals("Y"))
    oaviewobject.setWhereClause(s15);
    } else
    OAViewObject oaviewobject1 = (OAViewObject)oaapplicationmodule.findViewObject("PayPayslipGetFunctionParamVO");
    if(!oaviewobject1.isExecuted())
    oaviewobject1.setWhereClauseParams(null);
    oaviewobject1.setWhereClauseParam(0, "pEnableTerms");
    oaviewobject1.setWhereClauseParam(1, s2);
    oaviewobject1.executeQuery();
    oaviewobject1.reset();
    boolean flag2 = oaviewobject1.hasNext();
    if(flag2)
    OARow oarow = (OARow)oaviewobject1.first();
    if(oarow != null)
    String s18 = oarow.getAttribute("Funcparameter").toString();
    String s20 = PayGetCommonFunction.getParameterValue(s18, "pEnableTerms", "&");
    if(s20 != null)
    oapagecontext.putTransactionValue("N", s20);
    if(!s20.equals("Y"))
    oaviewobject.setWhereClause(s15);
    oaviewobject.executeQuery();
    if(flag)
    oapagecontext.writeDiagnostics(this, "executed PayPayslipChoosePayslipVO, Query is " + oaviewobject.getWhereClause(), 1);
    oapagecontext.writeDiagnostics(this, "executed PayPayslipChoosePayslipVO", 1);
    oaviewobject.reset();
    boolean flag1 = oaviewobject.hasNext();
    if(flag)
    oapagecontext.writeDiagnostics(this, "choosePayslipExists = " + flag1, 1);
    if(!flag1)
    String s16 = oapagecontext.getMessage("PAY", "PAY_34977_NO_EMP_PAYSLIP_WEB", null);
    if(oarawtextbean != null)
    oarawtextbean.setText(s16);
    oarawtextbean.setRendered(true);
    if(oamessagechoicebean != null)
    oamessagechoicebean.setRendered(false);
    if(oatablelayoutbean != null)
    oatablelayoutbean.setRendered(false);
    if(flag1)
    oarawtextbean.setRendered(false);
    if(oamessagechoicebean != null)
    oamessagechoicebean.setListDisplayAttribute("PayslipChoice");
    oamessagechoicebean.setListValueAttribute("ActionContextId");
    oamessagechoicebean.setPickListCacheEnabled(false);
    oamessagechoicebean.setPickListViewUsageName("PayPayslipChoosePayslipVO");
    oamessagechoicebean.setRequiredIcon("NO");
    if(flag)
    oapagecontext.writeDiagnostics(this, "Choose Payslip Drop down is set.", 1);
    Object aobj[] = oaviewobject.getWhereClauseParams();
    for(int i = 0; i < aobj.length; i++)
    if(flag)
    oapagecontext.writeDiagnostics(this, "Value of Bind variable of Choose Payslip (" + i + ") : " + aobj.toString(), 1);
    if(oapagecontext.getTransactionValue("pActionContextId") == null)
    OARow oarow1 = (OARow)oaviewobject.first();
    if(oarow1 != null)
    dbTrans = oaapplicationmodule.getOADBTransaction();
    s = dbTrans.decrypt(oarow1.getAttribute("ActionContextId").toString());
    oapagecontext.putTransactionValue("EffectiveDate", oarow1.getAttribute("EffectiveDate").toString());
    s1 = oarow1.getAttribute("ActionContextId").toString();
    oapagecontext.putTransactionValue("pActionContextId", s);
    oapagecontext.getTransactionValue("pActionContextId").toString();
    oamessagechoicebean.setDefaultValue(s);
    if(flag)
    oapagecontext.writeDiagnostics(this, "pActionContextId = " + s, 1);
    if(oapagecontext.getTransactionValue("pActionContextId") != null)
    s = oapagecontext.getTransactionValue("pActionContextId").toString();
    if(flag)
    oapagecontext.writeDiagnostics(this, "process_asg_action not null, pActionContextId = " + s, 1);
    if(oapagecontext.getParameter("pCalledFrom") != null)
    oapagecontext.putTransactionValue("", "Y");
    if(s2 != null)
    OAViewObject oaviewobject2 = (OAViewObject)oaapplicationmodule.findViewObject("PayPayslipGetFunctionParamVO");
    oaviewobject2.setWhereClauseParams(null);
    oaviewobject2.setWhereClauseParam(0, "pCallfromMgr");
    oaviewobject2.setWhereClauseParam(1, s2);
    oaviewobject2.executeQuery();
    oaviewobject2.reset();
    boolean flag3 = oaviewobject2.hasNext();
    if(flag3)
    OARow oarow2 = (OARow)oaviewobject2.first();
    if(oarow2 != null)
    String s23 = oarow2.getAttribute("Funcparameter").toString();
    s3 = PayGetCommonFunction.getParameterValue(s23, "pCallfromMgr", "&");
    if(!s3.equals("Y"))
    String s19 = String.valueOf(oapagecontext.getEmployeeId());
    String s21 = oadbtransactionimpl.getAppsContext().getFNDGlobal("EMPLOYEE_ID");
    String s22 = sshrparams.getLoginPersonId();
    String s24 = null;
    if(s != null && !s.equals(""))
    OAViewObject oaviewobject3 = (OAViewObject)oapagecontext.getApplicationModule(oawebbean).findViewObject("PayPayslipGetPersonDetails");
    if(!oaviewobject3.isExecuted())
    oaviewobject3.setWhereClauseParam(0, s);
    oaviewobject3.executeQuery();
    oaviewobject3.reset();
    boolean flag4 = oaviewobject3.hasNext();
    if(flag)
    oapagecontext.writeDiagnostics(this, "personExists = " + flag4, 1);
    if(flag4)
    OARow oarow3 = (OARow)oaviewobject3.first();
    if(oarow3 != null)
    s24 = oarow3.getAttribute("PersonId").toString();
    if(!s22.equals(s7) || !s21.equals(s22) || !s21.equals(s7) || !s19.equals(s7) || !s24.equals(s7))
    oapagecontext.writeDiagnostics(this, "BUG3926332 Security Violation : Login person id is not same as person id, HrLoginPersonId = " + s22 + " PersonId = " + s7 + " fndGlobalLoginUser " + s21 + " asgPersonId " + s24 + " pCurrentUser " + s19, 6);
    oapagecontext.writeDiagnostics(this, "BUG3926332 Security Violation : SessionId :" + oapagecontext.getSessionId(), 6);
    oapagecontext.writeDiagnostics(this, "BUG3926332 Security Violation : EncryptedActionContextId :" + s1, 6);
    oapagecontext.putTransactionValue("", "N");
    String s25 = oapagecontext.getMessage("PAY", "PAY_34977_NO_EMP_PAYSLIP_WEB", null);
    if(oarawtextbean != null)
    oarawtextbean.setText(s25);
    oarawtextbean.setRendered(true);
    if(oamessagechoicebean != null)
    oamessagechoicebean.setRendered(false);
    if(oatablelayoutbean != null)
    oatablelayoutbean.setRendered(false);
    throw OAException.wrapperException(new OAException("Not allowed to view payslip due to security violation"));
    PdfPayslip pdfpayslip = new PdfPayslip();
    if(flag)
    oapagecontext.writeDiagnostics(this, "Identifying payslip architecture ...", 1);
    String s17 = pdfpayslip.chooseArchitecture(oapagecontext, oaapplicationmodule, Integer.parseInt(s7), oapagecontext.getTransactionValue("EffectiveDate").toString(), s5);
    if(flag)
    oapagecontext.writeDiagnostics(this, "Payslip architecture -> " + s17, 1);
    if(s17.equals("PDF"))
    pdfpayslip.generate(oapagecontext, oaapplicationmodule, Integer.parseInt(s7), oapagecontext.getTransactionValue("pActionContextId").toString(), oapagecontext.getTransactionValue("EffectiveDate").toString(), s5);
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    boolean flag = oapagecontext.isLoggingEnabled(1);
    if(flag)
    oapagecontext.writeDiagnostics(this, "-----ProcessFormRequest start\n", 1);
    super.processFormRequest(oapagecontext, oawebbean);
    if(oapagecontext.getParameter("HrGoButton") != null)
    if(flag)
    oapagecontext.writeDiagnostics(this, "****** Go Pressed\n", 1);
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
    dbTrans = oaapplicationmodule.getOADBTransaction();
    String s = dbTrans.decrypt(oapagecontext.getParameter("PayPayslipChoosePayslip").toString());
    if(flag)
    oapagecontext.writeDiagnostics(this, "Assignment_action_id = " + s, 1);
    oapagecontext.putTransactionValue("pActionContextId", s);
    OAViewObject oaviewobject = (OAViewObject)oaapplicationmodule.findViewObject("PayPayslipArchDataVO");
    oaviewobject.setWhereClauseParam(0, s);
    oaviewobject.executeQuery();
    OARow oarow = (OARow)oaviewobject.first();
    oapagecontext.putTransactionValue("EffectiveDate", oarow.getAttribute("EffectiveDate").toString());
    String s1 = buildURL(oapagecontext, s);
    if(flag)
    oapagecontext.writeDiagnostics(this, "redirecURL >> " + s1 + "\n", 1);
    oapagecontext.setRedirectURL(s1, true);
    public PayPayslipChoosePayslipCO()
    public static final String RCS_ID = "$Header: PayPayslipChoosePayslipCO.java 115.21 2006/04/20 04:04:30 sdahiya noship $";
    public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion("$Header: PayPayslipChoosePayslipCO.java 115.21 2006/04/20 04:04:30 sdahiya noship $", "oracle.apps.pay.selfservice.payslip.US.webui");
    public static final String PROCESS_ASG_ACTION = "pActionContextId";
    public static final String DISPLAY_PAYSLIP = "";
    public static final String PAYSLIP_DATE = "payslipDateChk";
    public static final String CALLED_FROM_MGR = "";
    public static final String EnableTerms = "N";
    public OADBTransaction dbTrans;
    =====================================================
    HERE IS MY NEW CONTROLLER
    =====================================================
    package XXmizuho.oracle.apps.pay.selfservice.payslip.US.webui;
    import oracle.apps.pay.selfservice.payslip.US.webui.PayPayslipChoosePayslipCO;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.OARow;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    public class XXmizuhoPayPayslipChoosePayslipCO extends PayPayslipChoosePayslipCO
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    boolean flag = oapagecontext.isLoggingEnabled(1);
    if(flag)
    oapagecontext.writeDiagnostics(this, "-----ProcessFormRequest start\n", 1);
    super.processFormRequest(oapagecontext, oawebbean);
    if(oapagecontext.getParameter("HrGoButton") != null)
    if(flag)
    oapagecontext.writeDiagnostics(this, "****** Go Pressed\n", 1);
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
    dbTrans = oaapplicationmodule.getOADBTransaction();
    String s = dbTrans.decrypt(oapagecontext.getParameter("PayPayslipChoosePayslip").toString());
    if(flag)
    oapagecontext.writeDiagnostics(this, "Assignment_action_id = " + s, 1);
    oapagecontext.putTransactionValue("pActionContextId", s);
    OAViewObject oaviewobject = (OAViewObject)oaapplicationmodule.findViewObject("PayPayslipArchDataVO");
    oaviewobject.setWhereClauseParam(0, s);
    oaviewobject.executeQuery();
    OARow oarow = (OARow)oaviewobject.first();
    oapagecontext.putTransactionValue("EffectiveDate", oarow.getAttribute("EffectiveDate").toString());
    String s1 = buildURL(oapagecontext, s);
    if(flag)
    oapagecontext.writeDiagnostics(this, "redirecURL >> " + s1 + "\n", 1);
    oapagecontext.setRedirectURL(s1, true);
    oapagecontext.setForwardURL("testdb1.jsp",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    =================================================
    HERE ARE THE ERRORS WHEN I ACCESS THE PAGE
    ===================================================
    oracle.apps.fnd.framework.OAException: java.lang.ClassCastException
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:597)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1133)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2318)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1717)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._RF._jspService(_RF.java:102)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.ClassCastException
         at oracle.apps.pay.selfservice.payslip.US.webui.PayPayslipChoosePayslipCO.processRequest(PayPayslipChoosePayslipCO.java:177)
         at XXmizuho.oracle.apps.pay.selfservice.payslip.US.webui.XXmizuhoPayPayslipChoosePayslipCO.processRequest(XXmizuhoPayPayslipChoosePayslipCO.java:14)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1133)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2318)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1717)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._RF._jspService(_RF.java:102)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    java.lang.ClassCastException
         at oracle.apps.pay.selfservice.payslip.US.webui.PayPayslipChoosePayslipCO.processRequest(PayPayslipChoosePayslipCO.java:177)
         at XXmizuho.oracle.apps.pay.selfservice.payslip.US.webui.XXmizuhoPayPayslipChoosePayslipCO.processRequest(XXmizuhoPayPayslipChoosePayslipCO.java:14)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1133)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2318)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1717)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._RF._jspService(_RF.java:102)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)

  • Print Module templates layouts do not update on the fly

    Print layouts do not update on the fly when attempting to choose between various Print Module>Template Browser> Lightroom or User templates. This occurs in all three Layout Styles. The very first layout chosen in Single Image/Contact Sheet, Picture Package, or Custom Package is the permanent 'default' and cannot be changed. The Preview will show as expected however any image stays stuck in the very first layout I chose after installing LR4 beta.
    For example, I first chose Template Browser>Lightroom Templates>Maximum Size, and Layout Style>Single Image/Contact Sheet. Clicking through any other Templates (Lightroom or User defined) will alter the preview but not the layout display in the Print window. Same problem in either of the other Layout styles. I have been trying for days to rectify this, but it seems somehow more difficult than LR3. and not what I expect.
    As a comparison, using the same steps in LR3 works perfectly as all print template/layouts can be changed on the fly as expected. I have no problems generating different layouts in LR3 and have been using LR print module since version 1 without this issue.
    Is this a bug or are there any extra steps or workarounds I have not discovered? Any other testers seen this?

    Update with more info. What am I doing wrong, if anything?
    Print layouts do not update on the fly when attempting to choose between various Print Module>Template Browser> Lightroom or User templates. This is not a hang since the layouts do not change after the initial choice no matter how much time elapsed.
    iMac OS 10.6.8. 8GB RAM.Processor Intel Core 2 Duo. NVIDIA GeForce 8800 GS.
    The steps as follows:
    1) Lightroom 3.6 & LR4Beta exist side by side.
    2) LR4 Beta> Print Module;
    3) From filmstrip choose image;
    4) Template Browser> Lightroom4Beta Templates>Maximum Size;
    5) Preview displays as expected;
    6) Layout Styles>Single Image/Contact Sheets
    7) Template Browser> Lightroom4Beta Templates>click through any other templates (Lightroom or User defined);
    8) Image layout in main window does not update;
    9) Previews update;
    10) Layout Style>Picture Package;
    11) Template Browser>Maximum size is then automatically shown, however the template in the main window is actually (1) 7x5, (2) 2.5x3.5;
    12) Any further attempts to change the layouts regardless of Style Layout choices are not successful.
    13) Close LR4Beta>re-open LR4Beta;
    14) Repeat test;
    15) Print Module layouts do not update on the fly as expected;
    16) Close LR4Beta and all applications;
    17) Reboot iMac.
    18) Open LR4Beta only;
    19) LR4Beta>Print Module>Template Browser >Lightroom Templates>Maximum Size;
    20) Image displays in main layout window with Template and Preview display as expected;
    21) Choose different image>Template Browser>Lightroom Templates>Maximum Size;
    22) Click through templates, layouts DO NOT update in main window although previews do automatically update.
    23) CONCLUSION - In Lightroom 4 Beta>Print Module>Template Browser, image layouts do not change after initial choice as expected.
    I posted this on Photoshop.com as a problem.

  • How to update a large (over 4 million item) List(Of Byte) quickly by altering indexes contained in a Dictionary(Of Integer, Byte) where the Dictionaries keys are the indexes in the List(Of Byte) that need to be changed to the values for those indexes?

       I'm having some difficulty with transferring images from a UDP Client to a UDP Server. The issue is receiving the bytes necessary to update an original image sent from the Client to the Server and updating the Servers List(Of Byte) with the
    new bytes replacing bytes in that list. This is a simplex connection where the Sever receives and the Client sends to utilize the least amount of bandwidth for a "Remote Desktop" style application where the Server side needs image updates of whatever
    occurs on the Client desktop.
       So far I can tranfer images with no issue. The images can be be any image type (.Bmp, .Gif, .JPeg, .Png, etc). I was working with sending .JPeg's as they appear to be the smallest size image when a Bitmap is saved to a memory stream as type
    .JPeg. And then I am using GZip to compress that byte array again so it is much smaller. However on a loopback on my NIC the speed for sending a full size screen capture is not very fast as the Server updates fairly slowly unless the Clients screen capture
    Bitmap is reduced in size to about 1/3'd of the original size. Then about 12000 bytes or less are sent for each update.
       Due to .JPeg compression I suppose there is no way to get the difference in bytes between two .JPegs and only send those when something occurs on the desktop that alters the desktop screen capture image. Therefore I went to using .Bmp's as each
    .Bmp contains the same number of bytes in its array regardless of the image alterations on the desktop. So I suppose the difference in bytes from a second screen capture and an inital screen capture are what is different in the second image from the initial
    image.
       What I have done so far is save an initial Bitmap of a screen capture using a memory stream and saving as type .Bmp which takes less than 93 milliseconds for 4196406 bytes. Compressing that takes less than 118 milliseconds to 197325 bytes for
    the current windows on the desktop. When that is done PictureBox1 is updated from nothing to the captured image as the PictureBox's background image with image layout zoom and the PictureBox sized at 1/2 my screens width and 1/2 my screens height.
       Then I save a new Bitmap the same way which now contains different image information as the PictureBox is now displaying an image so its back color is no longer displayed (solid color Aqua) and the cursor has moved to a different location. The
    second Bitmap is also 4196406 in bytes and compressed it was 315473 bytes in size.
       I also just found code from this link Converting a Bitmap to a Byte Array (and Byte Array to Bitmap) which gets a byte array
    directly from a Bitmap and the size of that is 3148800 for whatever is full screen captured on my laptop. So I should be able to work with smaller byte arrays at some point.
       The issue I'm having is that once the Client sends an image of the desktop to the Server I only want to update the server with any differences occuring on the Clients desktop. So what I have done is compare the first screen captures bytes (stored
    in a List(Of Byte)) to the second screen captures bytes (stored in a List(Of Byte)) by using a For/Next for 0 to 4196405 where if a byte in the first screen captures List is not equal to a byte in the second screen captures List I add the index and byte of
    the second screen captures list to a Dictionary(Of Integer, Byte). The Dictionary then only contains the indexes and bytes that are different between the first screen capture and second screen capture. This takes about 125 milliseconds which I think is pretty
    fast for 4196406 byte comparison using a For/Next and adding all the different bytes and indexes for each byte to a Dictionary.
        The difference in Bytes between the inital screen capture and the second screen capture is 242587 as an example which changes of course. For that amount of bytes the Dictionary contains 242587 integers as indexes and 242587 bytes as different
    bytes totaling 485174 bytes for both arrays (keys, values).  Compressed the indexes go from 242587 to 43489 bytes and the values go from 242587 to 34982 bytes. Which means I will have to send 78, 481 bytes from the Client to the Server to update the display
    on the server. Quite smaller than the original 4196406 bytes of the second Bitmap saved to type .Bmp or the compressed size of that array which was 315473 bytes. Plus a few bytes I add as overhead so the server knows when an image array ends and how many packets
    were sent for the array so it can discard complete arrays if necessary since UDP is lossfull although probably not so much in current networks like it may originally have been when the internet started.
        In reality the data from the Client to the Server will mostly be the cursor as it moves and updating the Server image with only a few hundred bytes I would imagine at a time. Or when the cursor selects a Button for example and the Buttons
    color changes causing those differences in the original screen capture.
       But the problem is if I send the Dictionaries Indexes and Bytes to the Server then I need to update the original Bitmap List(Of Byte) on the server by removing the Bytes in the received informations Index locations array from the Servers Bitmap
    List(Of Byte) and replacing those Bytes with the Bytes in the received informations Byte array. This takes so long using a For/Next for however many indexes are in the received informations Index array to update the Bitmap List(Of Byte) on the server using
    "Bmp1Bytes.RemoveAt(Index As Integer)" followed by "Bmp1Bytes.Insert(Index As Integer, Item As Byte)" in the For/Next.
        I've tried various For/Next statements including using a new List(Of Byte) with If statements so If the the integer for the For/Next ='s the Key in a Dictionary(Of Integer, Byte) using a Counter to provide the Dictionaries Key value then
    the Dictionaries byte value will be added to the List(Of Byte) and the counter will increas by one Else the List(Of Byte) adds the original "Bmp1Bytes" byte at that index to the new List(Of Byte). This takes forever also.
       I also tried the same For/Next adding to a new Dictionary(Of Integer, Byte) but that takes forever too.
       I think I could use RemoveRange and AddRange to speed things up. But I don't know how to retrieve a contiguous range of indexes in the received indexes that need to be updated in the servers "Bmp1Bytes" List(Of Byte) from the received
    array of indexes and bytes which are in a Dictionary(Of Integer, Byte).  But I believe this would even be slower than some realistic method for replacing all Bytes in a List(Of Byte) when I have the indexes that need to be replaced and the bytes to replace
    them with.
       Even if I just used AddRange on a new List(Of Byte) to add ranges of bytes from the original "Bmp1Bytes" and the changes from the Dictionary(Of Integer, Byte) I think this would be rather slow. Although I don't know how to do that
    by getting contiguous ranges of indexes from the Dictionaries keys.
       So I was wondering if there is some method perhaps using Linq or IEnumerable which I've been unable to figure anything out which could do this.
       I do have some copy and pasted code which I don't understand how it works that I am using which I would guess could be altered for doing something like this but I can't find information that provides how the code works.  Or even if I did
    maybe I can't understand it. Like the code below which is extremely fast.
       Dim strArray() As String = Array.ConvertAll(Of Integer, String)(BmpComparisonDict.Keys.ToArray, Function(x) x.ToString())
    La vida loca

    Monkeyboy,
    That was quite a bit to read, but still a bit unclear. Could you put a specific list of goals/questions, asked in the smallest possible form?
    It seems like either you're making a program that monitors activity on your computer, or you're writing some kind of remote pc app.
    When you do get your bytes from using lockbits, keep in mind all the files header info would be lost. I think retaining the header info is worth the extra bytes.
    The other, thing: I'm not sure if you're taking 32bpp screen shots, but also keep in mind that the "whole desktop" is the final destination for blended graphics, if that makes sense. What I mean is that there is no need to capture an "alpha"
    channel for a desktop screenshot, as alpha would always be 255, this could save you 1 byte per pixel captured... Theres nothing "behind" the desktop, therefore no alpha, and every window shown above the desktop is already blended. I suggest using
    24Bpp for a full screen capture.
    Your X,Y information for the mouse could be stored as UINT16, this would save you a measly 2 bytes per location update/save.
    When you update your byte arrays, maybe you can turn the array into a stream and write to whatever index, however many bytes, that should prevent a "Shift" of bytes, and instead overwrite any bytes that "get in the way".
    ex
    Dim example As String = "This is an example."
    Dim insertString As String = "was"
    Dim insertBytes As Byte() = System.Text.Encoding.ASCII.GetBytes(insertString)
    Dim bytes As Byte() = System.Text.Encoding.ASCII.GetBytes(example)
    Dim modifiedBytes As Byte() = {}
    Using ms As New System.IO.MemoryStream(bytes)
    ms.Position = 5
    ms.Write(insertBytes, 0, 3)
    modifiedBytes = ms.ToArray
    End Using
    Dim newString As String = System.Text.Encoding.ASCII.GetString(modifiedBytes)
    'Notice how below there isn't the word "is" anymore, and that there isn't a
    'space.
    'This demonstrates that you overwrite existing data, versus shifting everything to
    'the right.
    'Returns: This wasan example.
    MsgBox(newString)
    “If you want something you've never had, you need to do something you've never done.”
    Don't forget to mark
    helpful posts and answers
    ! Answer an interesting question? Write a
    new article
    about it! My Articles
    *This post does not reflect the opinion of Microsoft, or its employees.
    Well it's too much to read. I was really tired when I wrote it. Even the below is too much to read but perhaps gets the point across of what I would like to do which I think
    Joel Engineer may have answered but I'm not sure. As I'm still too tired to understand that yet and research what he said in order to figure it out yet.
    But maybe the code below can provide the concept of the operation with the comments in it. But seeing as how I'm still tired it may be confused.
    Option Strict On
    Imports System.Windows.Forms
    Imports System.IO
    Imports System.IO.Compression
    Imports System.Drawing.Imaging
    Imports System.Runtime.InteropServices
    Public Class Form1
    Dim Bmp1Bytes As New List(Of Byte)
    Dim Bmp1BytesCompressed As New List(Of Byte)
    Dim Bmp2Bytes As New List(Of Byte)
    Dim BmpComparisonDict As New Dictionary(Of Integer, Byte)
    Dim BmpDifferenceIndexesCompressed As New List(Of Byte)
    Dim BmpDifferenceBytesCompressed As New List(Of Byte)
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    SomeSub()
    End Sub
    Private Sub SomeSub()
    ' Pretend this code is in UDP Client app. A screen capture is performed of the desktop. Takes about 90 milliseconds.
    Bmp1Bytes.Clear()
    Using BMP1 As New Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)
    Using g1 As Graphics = Graphics.FromImage(BMP1)
    g1.CopyFromScreen(0, 0, 0, 0, BMP1.Size)
    Cursor.Draw(g1, New Rectangle(Cursor.Position.X, Cursor.Position.Y, Cursor.Size.Width, Cursor.Size.Height))
    Using MS As New MemoryStream
    BMP1.Save(MS, System.Drawing.Imaging.ImageFormat.Bmp)
    Bmp1Bytes.AddRange(MS.ToArray)
    End Using
    End Using
    End Using
    Bmp1BytesCompressed.AddRange(Compress(Bmp1Bytes.ToArray))
    ' UDP Client app sends Bmp1BytesCompressed.ToArray to UDP Server which is the entire image of the desktop that the UDP
    ' Client is on. This image takes awhile to send since compressed it is about 177000 bytes from over 4000000 bytes.
    ' I will be using different code just to get the bytes from the actual Bitmap in the future. That is not important for now.
    ' Pretend the UDP Server has received the bytes, decompressed the array received into a List(Of Byte) and is displaying
    ' the image of the UDP Clients desktop in a PictureBox.
    ' Now the image on the UDP Clients desktop changes due to the mouse cursor moving as an example. Therefore a new Bitmap
    ' is created from a screen capture. This takes about 90 milliseconds.
    Bmp2Bytes.Clear()
    Using BMP2 As New Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)
    Using g1 As Graphics = Graphics.FromImage(BMP2)
    g1.CopyFromScreen(0, 0, 0, 0, BMP2.Size)
    Cursor.Draw(g1, New Rectangle(Cursor.Position.X, Cursor.Position.Y, Cursor.Size.Width, Cursor.Size.Height))
    Using MS As New MemoryStream
    BMP2.Save(MS, System.Drawing.Imaging.ImageFormat.Bmp)
    Bmp2Bytes.AddRange(MS.ToArray)
    End Using
    End Using
    End Using
    ' Now I have the original images bytes in Bmp1Bytes and the new images bytes in Bmp2Bytes on the UDP Client. But I don't
    ' want to send all of the bytes in Bmp2Bytes to the UDP Server. Just the indexes of and the bytes that are different in
    ' Bmp2Bytes from Bmp1Bytes.
    ' This takes less than 100 milliseconds for what I've tested so far where over 500000 bytes in Bmp2Bytes are different
    ' than the bytes in Bmp1Bytes. Usually that amount would be much less. But during testing I was displaying the image
    ' from Bmp1 bytes in a PictureBox so a large amount of data would change between the first screen shot, the PictureBox
    ' then displaying an image on the same PC and then the second screen shot.
    BmpComparisonDict.Clear()
    For i = 0 To Bmp1Bytes.Count - 1
    If Bmp1Bytes(i) <> Bmp2Bytes(i) Then
    BmpComparisonDict.Add(i, Bmp2Bytes(i))
    End If
    Next
    ' So now I have all the difference bytes and their indexes from Bmp2Bytes in the BmpComparisonDict. So I compress
    ' the indexes into on List and the Bytes into another List.
    BmpDifferenceIndexesCompressed.Clear()
    BmpDifferenceBytesCompressed.Clear()
    BmpDifferenceIndexesCompressed.AddRange(Compress(BmpComparisonDict.Keys.SelectMany(Function(d) BitConverter.GetBytes(d)).ToArray()))
    BmpDifferenceBytesCompressed.AddRange(Compress(BmpComparisonDict.Values.ToArray))
    ' Now pretend the UDP Client has sent both those arrays to the UDP Server which has added both decompressed arrays
    ' to a Dictionary(Of Integer, Byte). And the server has the original image decompressed bytes received in a List
    ' called Bmp1Bytes also.
    ' This is where I am stuck. The UDP Server has the Dictionary. That part was fast. However there is no
    ' fast method I have found for creating a new List(Of Byte) where bytes in the originally received List(Of Byte) that
    ' do not have to be altered are placed into a new List(Of Byte) except for the indexes listed in the
    ' Dictionary(Of Integer, Byte) that need to be placed into the appropriate index locations of the new List(Of Byte).
    ' The below example for doing so is exceptionally slow. Pretend UpdateDictionary has all of the decompressed indexes
    ' and bytes received by the UDP Server for the update contained within it.
    Dim UpdateDictionary As New Dictionary(Of Integer, Byte)
    Dim UpdatedBytes As New List(Of Byte)
    Dim Counter As Integer = 0
    For i = 0 To Bmp1Bytes.Count - 1
    If i = UpdateDictionary.Keys(Counter) Then ' Provides the index contained in the Keys for the Dictionary
    UpdatedBytes.Add(UpdateDictionary.Values(Counter))
    Counter += 1
    If Counter > UpdateDictionary.Count - 1 Then Counter = 0
    Else
    UpdatedBytes.Add(Bmp1Bytes(i))
    End If
    Next
    ' So what I'm trying to do is find an extremely fast method for performing something similar to what the
    ' above operation performs.
    End Sub
    Private Function Compress(BytesToCompress() As Byte) As List(Of Byte)
    Dim BytesCompressed As New List(Of Byte)
    Using compressedStream = New MemoryStream()
    Using zipStream = New GZipStream(compressedStream, CompressionMode.Compress)
    zipStream.Write(BytesToCompress, 0, BytesToCompress.Count)
    zipStream.Close()
    BytesCompressed.AddRange(compressedStream.ToArray)
    End Using
    End Using
    Return BytesCompressed
    End Function
    Private Function Decompress(BytesToDecompress() As Byte) As List(Of Byte)
    Dim BytesDecompressed As New List(Of Byte)
    Using DecompressedStream = New MemoryStream()
    Using zipStream = New GZipStream(DecompressedStream, CompressionMode.Decompress)
    zipStream.Write(BytesToDecompress, 0, BytesToDecompress.Count)
    zipStream.Close()
    BytesDecompressed.AddRange(DecompressedStream.ToArray)
    End Using
    End Using
    Return BytesDecompressed
    End Function
    End Class
    La vida loca

Maybe you are looking for

  • Class not found Exception when accessing database through java using ASP

    I am trying to access the database through ASP via java: the database is setup as a system database.. the java class works fine if i try to run it as a stand alone.. but as soon as I run it through ASP.. it does not get passed the driver line.. is th

  • External Fiber Channel Raid options for New Xserve besides Promise V-Trak

    I was wondering if anyone out there knows if there is an alternate option for a External Raid that can be hooked up via 4gb Fiber Channel to my new Xserve. I am really looking for a more cost efficient one than the 12K Promise set up from Apple. My T

  • Problem in adding of tab in MIGO

    hi all,      I added one tab in MIGO at item details. i created one program and designed one screen. here i am calculating batch code based on screen fields . i need to update standard batch code field with my calculated batch code.  How to update fi

  • Plug-ins for LE9

    Hi all. I've just bought the following gear for a small home recording setup: MacBook Pro 2.44mhz, LE9, TC Electronic Impact Twin, SE Electronic 2200A Mic, M-audio midi keyboard. The music I'm doing is minimalistic folk or something like it. Currentl

  • External facing Web Dynpro - Java or ABAP

    We are planning a external facing web site delivering dealer information from SAP backend. We would like to use Web Dynpro to build the site since that give us easy access to SAP data. But we are not sure if Web Dynpro is suited for such use. Can any