Is validation always  necessary ?

What does it mean when your website does not validate?
I know what it means but I'm confused because people say your
website must pass validation.
Even the adobe website does not pass validation.
So if your website does not pass validation does that mean
something is wrong with it?
I recently created a website with hacks for IE, the had cause
the validation to fail, should I be worry about that even though
everything is working perfectly in Firefox, IE 6,7 and Safari and
Opera.
Please advised. When do you ignore validation?
Patrick

quote:
Originally posted by:
Newsgroup User
"Webethics" <[email protected]> wrote in
message
news:gffenr$dgl$[email protected]..
>I think people are being a little sensitive.
>
> I could careless if Adobe Validates or not. That's not
the point.
> I was under the impression that all websites had to
validate or they were
> not
> meeting "professional standards."
>
> So I tested Adobe - means nothing.
>
> My idea of a great website is
> A. I can find my way around.
> B. I can clearly see and read the information and
understands it's
> presentation.
But it's more *global* than that. Look at the big picture,
forget how *you*
use the web, instead try to imagine how *other* users do...
> I don't go to websites checking their codes or
validation, unless I'm
> checking
> how they did their design or development.
>
> Oh by the way I was able to separate the style sheet
with conditional
> comments
> for IE Hack, feel stupid asking, so simple.
If you believe validation is not a big deal and if you've
read replies to
your post saying it was indeed not a big deal, then *why* do
you end up
using Conditional Comment?
> Just read a book on my shelf. CSS Missing Manual.
Keep reading, there is plenty to learn...
Thierry
http://www.TJKDesign.com/go/?0
| Articles and Tutorials
http://divahtml.com/products/scripts_dreamweaver_extensions.php
| Extensions
that keep your markup clean
http://www.fourlevel.com/ |
CSS Menus, Gallery, Tab Panels, etc
Just because I don't think something is necessary, that
doesn't mean I don't want to learn how.
I use the conditional comment for IE Hack as a way of
learning. Maybe a client would want his or her page to use that
method.
My web career will be 10 percent about me, 90 percent about
the client.
Patrick

Similar Messages

  • Is a BOM always necessary?

    Hey Guru's
    Is it necessary to have a BOM when you use ETO? What happens if you don't?
    If you don't use a BOM in ETO then how do you know what to take out of the inventory?
    Is there a difference on how SAP uses the BOM in MTO, ETO, Disc. manu, rep. manu and Process industries?
    If it is not necessary to use the BOM, what is then used, and what is the significance of that?
    Sincerely
    Nina

    Hi Nina,
    I thought this mighht be useful to you.
    It was compiled from a lot of helpful people from here and other sites.
    Please let us kno wwhen we can be of any assistance.
    What is the difference between MD04 and MD05?
    MD04 Transaction shows the actual Stock/Requirement situation while MD05 shows the situation at the time of the last MRP run. That date is also displayed on the screen.
    Validation of Accounting Document Type in MIRO
    Check in User Exit EXIT_SAPLMR1M_004 (Enhancement LMR1M001).
    Source of Supply Determination during PR Creation
    Check in User Exit EXIT_SAPLMEQR_001 which is called in the ME_SEARCH_SOURCE_OF_SUPPLY. For further details, check in Question 6 of OSS Note 457110.
    Source of Supply Determination during PR Creation
    Check in User Exit EXIT_SAPLMEQR_001 which is called in the ME_SEARCH_SOURCE_OF_SUPPLY. For further details, check in Question 6 of OSS Note 457110.
    Source List Maintenance without Info Record
    To avoid the maintenance of source list maintenance without info record, make sure the Message Number 06 341 shall be set as 'E'.
    Services PO on hold
    It is not possible for SAP to hold the Services PO. For further details, check in OSS Note 380296.
    Pricing condition maintenance in Outline Agreement
    If you would avoid any change in the pricing conditions of the outline agreement during maintainance in Transaction ME31K, then make sure the Activity Code '3' shall be set for Authorization Object V_KONH_VKS.
    PR Document Type Determination when converting planned order
    It is of the SAP standard functionality that only 'NB' Document Type is assigned to the PR during conversion of planned order into purchase requisition. For further details, check in OSS Note 46919.
    PR Document Type Determination during MRP run
    The Document Type determination for the PR is made during MRP run using the MRP Group via Transaction OPPZ.
    PR Deletion while PO is active
    To avoid the deletion of purchase requistion line items while the PO document (with reference to this PR line item) is active, make sure the Message Number 06 152 shall be set as 'E' via Transaction OME0. For further details, check in OSS Note 521174.
    PR Creation with reference to Scheduling Agreement
    PR can be created with reference to another PR and can't be created referring to a PO or Scheduling Agreement. PO & Scheduling are created and controlled by Purchasing Organizations. PR can be created by end-users. Yet, requisition will be generated referring to Scheduling agreement when MRP is run. In this case, source list must be maintained for that item-vendor combination & the MRP shall be properly set. Selection Parameter '2'.
    PO Price Default from PR Price
    Follow the OSS Note 393367 describing how to use the EFB settings to control the PR price coming into PO.
    1. First, use Transaction Code OMET to set up the new function authorization for Buyer;
    2. Tick on the 'Order Price Adoption' field.
    3. Select the 'Maintain Users' to insert EFB into Parameter view.
    PO Price Default from Material Master
    If we wish to have the Price Determination to use the cost price from the Material Master as we create the Purchase Order, then create the new Condition Type (which could be based on the standard Base Condition PB00). This Condition Type must not have any Access Sequence assigned to it and must have the Condition Category 'G'. The Calculation Schema must have this new Condition Type as the first Condition Type (replacing PB00). For further information, check in OSS Note 496720.
    PO Document Type Determination in ME59
    The OSS Note 114213 details the determination of PO Document Type during automatic creation of purchase order from purchase requisition.
    Planned Delivery Costs maintenance in the PO
    If the planned delivery costs need to be assigned to material valuation, you just enter them under conditions for the specific material. However, if you need to assign the costs for defined account, you need to create an item line for the delivery costs and buy them as text for defined account assignment. Depending on acct. assignment specified for the item, you then fill in the needed accounts in item details, tab account assignments.
    Multiple Functional Tips and Hints
    0001 - FI/CO IMG - Configuration Menus
    The following IMG Configuration Menus work on all versions up to 4.7 Enterprise:
    ORK1 - Profit Center Accounting
    ORKA - Internal Orders
    ORKE - Profitability Analysis
    ORK0 - General Controlling
    ORKS - Cost Center Accounting
    ORFB - FI
    ORKL - Reconciliation Ledger
    ORFA - Asset Management
    These Tcode will open IMG/Configuration related menus.
    MRP Area Set Up Configuration
    The MRP Area is purposely used if we would like to control the material requirement planning at the lower level than the default plant level. Subject to the Type of MRP Area (which is defined in Transaction OMIZ), the MRP Area will correspond to the whole plant or the storage location or to a subcontractor. If the MRP Area Type is selected as at the Storage location level, then you will assign the storage location to the MRP Area in the storage location field. As far as the MRP Area configuration is concerned, there have been three main Transactions you should use:
    1. Activate MRP for MRP Areas (Transaction OM01)
    2. Define MRP Areas (Transaction OMIZ) and
    3. Define Scope of Planning for Total Planning (Transaction OM0E).
    MPN Missing in RFQ, Contract or Scheduling Agreement
    The MPN functionality is the same for both types of transactions with the exception that in the Enjoy transactions you have fields Manufacturer part number and Manufacturer. The only way to have a preferred MPN number when creating a document is only having a relationship one-to-one. This is just possible in the purchasing view of the internal material or just have one MPN material assigned to an Internal material. For further details, check in OSS Note 663302.
    Mass Maintenance via MEMASSPO Transaction
    Function Module ME_LIMIT_FIELDS_PO contains all non-changeable fields for the mass change of the Purchase Order. In addition, the following item fields can not be changed with existing items –
    1) Material Number (EKPO-EMATN)
    2) Material Description (EKPO-TXZ01)
    3) Purchase Order Quantity (EKPO-MENGE)
    4) Order Unit (EKPO-MEINS)
    5) Net Price (EKPO-NETPR)
    6) Purchase Order Price Unit (EKPO-BPRME)
    7) Plant (EKPO-WERKS).
    For further details, check in OSS Note 501853.
    Mass maintenance of Purchasing Info Record
    Use either Transaction LSMW or Program RM06IBI0.
    Mass maintenance of MRP Area
    Go to Program RMMDDIBE. Both 'Material Number' and 'Plant' number range should be entered. Go to 'Set/Reset Deletion Indicator' tab page and enter the proper entry in the 'MRP Area' and the radio button to set deletion flag.
    Invoicing Plant Configuration Set-up
    The invoicing plan enables you to schedule the desired dates for the creation of invoices relating to the planned procurement of materials or services independently of the actual receipt of the goods or actual performance of the services. It lists the dates on which you wish to create and then pay the invoices.
    You have the system create the invoices automatically on the basis of the data in the purchase order, thereby triggering payment of the vendor. It is also possible to enter the invoice for an invoicing plan manually.
    There are two kinds of invoicing plan: Periodic Invoicing Plans and Partial Invoicing Plans. Both types are available as of SAP R/3 4.0A.
    To be able to work with invoicing plans, the following conditions must be satisfied:
    1) Maintaining the settings in Customizing for purchasing (for example, invoicing plan type, date categories, date descriptions, and date sequence proposals). The path is IMG ---> Material Management ---> Purchasing ---> Purchase Order ---> Invoicing Plan ...
    2) The Purchase Order item must have an account assignment
    3) The 'AutoEvalGRSetmtDel.' indicator must be flagged in the Vendor master record for automatic settlement utilization.
    4) The Framework Order (document type FO) must be used. This document type requires that a validity period be entered in the PO header. This specification is adopted in the invoicing plan, provided that this has been predefined in Customizing for the relevant invoicing plan type.
    5) The LIV must be used.
    How to set the PR field mandatory when creating PO
    Use Transaction Code OMET Create a new entry, give it a name and tick :-
    1) Ref. to PReq;
    2) Ref. to P.O.
    3) Ref. to quotation.
    Next, you've got to associate via SU01 and click Parameters, insert a new parameter id EFB to the authorization code. Type in Parameters value you want e.g. XX You have to assign the control for ALL the SAP buyers via the SAP users id.
    How to block the unused storage location?
    1)     Restrict the users from posting any material document by maintaining authorization check at storage location level. Use path in SPRO - Materials management -> Inventory Management & Physical inventory -> Authorization Management -> Authorization check at storage location.
    2) If you are using external procurement, go to the MRP2 View of the material master and maintain the field 'Storage loc. for EP'. This will default the storage location to the planned order or PR and then on to the PO. Upon the receipt the material will be received to the correct storage location. You also need to move existing stock from the old location to the new location by material transfer 311, remove the bin location and mark the old storage location for deletion.
    3) Use Transaction Code MM06 to set a deletion flag for material at storage location level. This shall be done for all materials that have this storage location that can be found by checking the table MARD with SE16. As well the message M7 127 from warning to error message (transaction OMCQ) must be changed.
    Goods Receipt up to current date for Scheduling Agreements
    The implementation of OSS Note 741385 will enable the posting of GR for Scheduling Agreement Delivery Schedule with delivery date in the future.
    Goods Receipt for Scheduling Agreement Delivery Schedule
    The OSS Note 741385 details how to enable the posting of GR for Scheduling Agreement Delivery Schedule with delivery date in the future.
    External Delivery Note for Goods Inbound Delivery Document
    The OSS Note 520534 details the possibility of external delivery note in the Inbound Delivery Document.
    Difference between VAX and VAY
    The account grouping VAY is used for account determination for the offsetting entry for inventory posting (Account Key GBB) if the posting is assigned to the cost account-related object (cost center, order, project, profitability segment etc…). Otherwise, the account determination is carried out with account grouping VAX. This procedure was chosen since the posting with a cost account-related account assignment is only possible to the G/L account which is a cost element. For further details, check in OSS Note 77764.
    Difference between MB5B and MCBC
    The MB5B is the Transaction Code for Material Valuation Analysis at the Plant level whereas the MCBC is the Material Valuation Analysis at the Storage Location Level. In case of Standard Valuation, the MCBC (or MC.9) does not reflect the valuation in the Material Master Data Records.
    Determination of GR/IR Clearing Account
    Check in Enhancement LMR1M002 which includes User Exit EXIT_SAPLKONT_011. This User Exit is called by the F. Module MR_ACCOUNT_ASSIGNMENT. The disadvantage of this User Exit is that the program will determine the GR/IR Clearing Account based on this program (which is referring to the Purchase Order Data) and therefore, we have to assure the same GR/IR Clearing Account is to be posted during Goods Receipt and Invoice Receipt posting. For further details check in OSS Note 301477 and 165692.
    BOM explosion for Subcontract Scheduling Agreement
    The explosion of the BOM is subject to the calculation of the requirement dates. The details of such calculation logic is seen in OSS Note 196684.
    Automatic Source of Supply Determination for services without service master record
    Set out below are necessary steps to be done/set up in the system -
    1) Maintain the purchasing master data record (contract) for material group;
    2) Go to IMG -
    External Services Management -
    Source Determination and Default Values -
    for Purchasing Organization where the 'Material Group at Item Level' indicator checkbox shall be activated.
    Once the PR is created for your service item, using Transaction ME57 will enable you to make the automatic default of source of supply into the PR line item.
    Auto Source of Supply Determination in ME56 Transaction
    Check in Program RM06BZ10.
    Account Posting Differences - GR before IR and vice versa
    1)     With GR before IR: The GR is done at PO price and the invoice will check the price and revaluate the materials if necessary. In this particular case, we may get postings for the revaluation of existing stock and/or postings for the price difference in case (part of) the stock is no longer there. Furthermore, GR will hit the cost object on the PO item (ie. cost center, order number or stock) and posts $ to the GR/IR clearing account for the plant used on the item; whereas
    2) With IR before GR: the GR is done at IR price. In this case, we don't have these differences except in case of subsequent debit/credit postings. IR hits the GR/IR clearing account and posts $ to the Vendor account. If there is a difference in the amount in the GR and the invoice amount, the difference will post back to the cost objective.
    Account Posting Difference when GR before IR and vice versa
    1. With GR before IR: The GR is done at PO price and the invoice will check the price and revaluate the materials if necessary. In this particular case, we may get postings for the revaluation of existing stock and/or postings for the price difference in case (part of) the stock is no longer there. Furthermore, GR will hit the cost object on the PO item (ie. cost center, order number or stock) and posts $ to the GR/IR clearing account for the plant used on the item; whereas
    2. With IR before GR: the GR is done at IR price. In this case, we don't have these differences except in case of subsequent debit/credit postings. IR hits the GR/IR clearing account and posts $ to the Vendor account. If there is a difference in the amount in the GR and the invoice amount, the difference will post back to the cost objective.

  • Mixdown: is it always necessary?

    I don't know much about audio (as this question demonstrates). If I have a project where all the audio is on A1 and A2 only (stereo pair) (not on A3, A4 etc.) do I ever need to mixdown?

    Ian,
    The Mixdown creates a single render file from all the audio tracks.
    The more tracks you have, the more work your Mac has got to do. It has to find and play the audio back. Too many tracks (particularly if they are in different locations) can choke the system and bits and pieces will be dropped, no sound.
    Whereas:
    The Mixed Down audio plays just the one file it's made from all the others. Your Mac says thanks because it's not chasing stuff all over the place.
    I've found I can get away with really simple and few audio tracks without Mixing Down. That being said, I recently whipped up a DVD that I estimated would be OK. WRONG. A bit of very obvious BLANK audio.
    Lesson to self:
    "Always MixDowm, don't risk it, alwyas MixDown, it's a lot easier than re-doing that DVD".
    Al

  • MPLS Customer Edge always necessary?

    Hello,
    As I wrote in a previous discussion, I'm planning to deploy a MPLS network with VPN capabilities.
    My question is, is it really necessary to have a router on every client?? Does it has to be a specific router?
    What features does a customer edge needs to work with MPLS VPNs?
    If I use a 3750 Metro can I avoid the need for a router on the customer edge? I'm thinking about enabling EoMPLS on the customer ports, connecting the customers to that ports and then establish the MPLS link using the enhanced services ports.
    Thanks in advance for your help.

    Hi,
    MPLS now a days is used frequently by pre-sales guys to impress clients, like we will give you a MPLS connection, etc.
    However from clients or CE perspective MPLS is nothing more then a leased line.
    So, it doesn't matter if your CE is router or PC or any other thing, as far as it is capable of send traffic to the PE.
    All the label switching and also VPN forwarding is done on PE.
    Kindly let me know if you have any queries.
    Regards,
    Smitesh

  • Response.setContentLength() always necessary when writing to OuputStream?

    Hi All -
    I have a situation where I have a proxy servlet between my Portal and various back end systems. Different sub-classes of this Servlet work to proxy different back end systems. The main task is brute-force URL rewriting.
    I'm working in a Portal 9.2.2 environment.
    Basic flow: Read InputStream from back end system via HttpURLConnection, write InputStream to StringBuffer, replace URLs as necessary in the String, get ServletOutputStream via response.getOutputStream(), write modified String to OutputStream, call flush on OutputStream.
    The odd issue I'm seeing is:
    Use Case 1:
    After doing my URL rewriting - the length of the output is shorter than before.
    If I call response.setContentLength(lengthOfOutput) my proxied page does not render - although no error is thrown.
    If I do not call response.setContentLength(lengthOfOutput) everything renders just fine.
    Use Case 2:
    After doing my URL rewriting - the length of the output is longer than before.
    If I call response.setContentLength(lengthOfOutput) everything outputs just fine.
    If I do not call response.setContentLength(lengthOfOutput) my page does not render - an exception is thrown that the output exceeded the stated length. (this makes sense)
    It seems to me that I should be able to call setContentLength every time - but that's not working out...if anyone has any ideas I'd love to hear them.
    Thanks in advance!

    hi
    when we had to do a similar task, we had suppresed Content Length.
    However unless you are streaming the output , you seem to have all the data in memory in order to rewrite the URL's in which case there is no reason why you cant output the correct content length (dont rely on the content-length the backend server is sending, you have to set the content length after your manipulations and take care of the encoding your using).
    Browser's generally work OK with no content length but give you problems with incorrect length , and the BEA code also throws up exceptions. Either suppress this value or output the correct one.

  • Is a an update of Flash Player always necessary?

    Hello Adobe forum,
    I get an message that I have to update my Flash Player every once and while, and I always do. I'm wondering what will happen if I don't do it. Will videos run slower? Can someone explain it to me, I'm just not very familiar with Flash Player.
    Greetings,
    Robin

    Flash Player updates usually contain
    functionality updates
    security updates
    Because of the first, some websites may refuse to show Flash content on old players.
    And the second; it's always best to have the latest security updates installed.

  • "Valid address necessary to use store credit" ERROR MESSAGE

    I have been unable to complete the rental process.
    I bought Apple TV and was able to connect to my WI-FI, ugrade the firmware, enter my personal settings. Ther problem is that when I select a movie and click to rent it, it connects to iTunes Store and comes back with an error message about "valid address needed to use store credit"
    I checked my .mac account personal and billing settings and everything seems OK. I am not even sure what "store credit" means. I am trying to execute a transaction with a credit card on file...
    Thanks.RS.

    I had the same problem. I tried logging in using my .mac address, thinking that that would work. Is it supposed to work? Doesn't work for me. Not only that, but I can't figure out how to go back and correct it and change it to something else.
    Why would Apple let me buy music and movies using my .mac account, and not rent movies? Or is this pilot error and I'm doing something stupid?
    Suggestions welcome.

  • Gamma Correction - always necessary (?)

    Has anyone else had a problem with their gamma curves being seemingly whacked after going through Compressor for DVD? I've been dealing with this for the last three years and haven't seemed to find anyone else on the web with the issues I've got. Maybe I'm seeing things.
    I've been working with Varicam and XDCAM HD footage primarily. I've found that every time I export to m2v without any Gamma Correction filter adjustments, the video looks more milky and faded when viewed in the DVD Player application (after going through DVDSP) compared to the way it looks in FCP. But the m2v file looks fine when playing it though QuickTime Player. When I apply a Gamma Correction filter in Compressor to compensate for this milkiness, I get a great picture in DVD Player, but in QuickTime, it looks a little dark.
    Am I compensating for something I don't need to be compensating for? The reason I feel like I need to be compensating is because when I play regular store-bought movies on DVD Player, they don't have the same milky look in their blacks as I see in my exported files. And I know I'm not supplying milky footage because my deepest blacks are at or very near 0 IRE, and it looks great in FCP and QuickTime.
    Anyone know what's going on? I've had this problem through all generations of FCP/Compressor/DVDSP that I've worked with for the last three years or so.
    Is the problem really just with DVD Player and I'm worrying over nothing?

    Hi! I have experienced the same issues. I so happy i finally found one person with the same problem. I have also used the gamma correction and i am pretty happy with the results. As to why i get this milkiness, i have no idea. I am afraid of actually using this gamma correction thing, because i feel my settings are feirly random at times. How much do you normally correct?
    Anders Holm

  • Is it always necessary to patch Oracle when installing under Linux?

    I did a search first and, yes, I checked http://www.puschitz.com/.
    Everything I have seen to this point suggests Oracle cannot be installed without patching it first, even if it certified for that platform.
    Please advise.

    Anser is NO, the oracle 8.0.5 can be installed on redhat 5.2 without any patch, the oracle10g can be installed on redhat EL3 without any patch too. Those version of oracle with those version of Redhat linux are standard couple. Though something need a little skill to fix such as the ora8.0.5 precompile need some fix on redhat 5.2. Ora8i and Ora9i having too much bugs, after the patch, the bug will be bigger than before. However the Ora10g is good, the only problem is user SYSTEM seems having control right problem, but we can using user SYS replace SYSTEM user.
    Does any one have other idea?

  • Why always necessary to Force Quite Micro Office?

    I realize it doesn't run natively, but then I have several other programs that don't either. Nearly every time I use Word Or Xcell in OS X I have to Force Quite.
    Any ideas?
    Thanks.
    MacBook Pro - week 9   Mac OS X (10.4.6)   Bootcamp installed / NO WHINE / Reasonable heat

    I have the same issue. About 3 out of 5 times I exact an MS Office app it will hang and peg one core at around 90%. I usually don't notice it --- man is that computer fast. But I do notice it on battery, so now I check activity monitor after I exit and just force quit if the process doesnt go away after a minute. Weird thing is that the UI menu bar and window all go away, so it appears it's closed properly.

  • SelectBooleanCheckbox required=true not working - need custom validator?

    To All:
    Searched the web (and this forum) and saw only one post related to this issue and it concluded that a custom validator was necessary.
    I want to have the required attribute make the selectBooleanCheckbox actually required when the form is submitted.
    1. Is it true that I have to wrtie a custom validator? It seems by now MyFaces or somewhere out there a validator must exist
    OR
    2. Does someone know how to make a checkbox required in JSF?
    Many Thanks!
    Matt

    The problem with a selectBooleanCheckbox is that it will ALWAYS return a value. Thus, if you set it to required, it doesn't matter if it's checked or unchecked, it has returned a value. It would incorrect to assume that setting the required flag to true would mean the checkbox must be checked. What if it's required to be unchecked?
    Anyways, the bottom line is that you will have to create a custom validator to ensure that the checkbox is checked (or unchecked, depending on what your requirements might be). However, this is simpler than you might be thinking. Use the validator attribute and a method in your backing bean to perform the check.
    Like this:
    <h:selectBooleanCheckbox id="myRequiredCheckbox"
              value="#{backBean.requiredBox}" validator="#{backBean.checked}" />backBean will have something like the following validator method (this one throws an error if the box isn't checked):
         public void checked(FacesContext context, UIComponent component,
              Object value) throws ValidatorException {
              if (context == null || component == null || value == null)
                   throw new NullPointerException();
              Boolean isChecked = (Boolean)value;
              if (!isChecked .booleanValue()) {
                   FacesMessage msg = new FacesMessage("You must check the box before proceeding.");
                   msg.setSeverity(FacesMessage.SEVERITY_ERROR);
                   throw new ValidatorException(msg);
         }See, pretty easy eh?
    CowKing

  • Is "Time Machine" necessary if you have iCloud?

    Is "Time Machine" necessary if you have "iCloud" installed on your Mac?

    Peatree2 wrote:
    iCloud does not actually back up any of your data. Time Machine is never "necessary", but is useful if you want to have a backup of your data.
    Time machine may not be necessary, but some form of backup is always necessary, drives fail, laptops get stolen, etc. Operating without backup is just waiting until you lose your stuff!

  • Execution of entity validation multiple times (adf bc 10g)

    Implementing entity method validators sometimes causes the validation (e.g. validateEntity method) to execute multiple times. We have figured out that this case occurs when we call method setAttribute programmatically when we implement business rules on the entity level. For example in many cases that we want to enforce dml operation execution, we override the method prepareForDML so that the framework works as follows:
    •     calls validateEntity, validates entity for the first time
    •     calls prepareForDML –> setAttribute this method invalidates the entity row
    •     calls validateEntity, validates entity for a second time
    I can understand that sometimes multiple entity validation is necessary and important, there are cases though that this behaviour is not necessary and additionally it degrades performance especially when we utilize sql queries inside the validation (as it executes the queries multiple times).
    Is there any workaround to avoid multiple execution of entity validation or enforce the validation to occur only once, for example after the prepareForDML method and not before?
    Edited by: user647567 on 9 Σεπ 2010 6:58 πμ

    Hi there:
    I don't think JDeveloper provides a switch to bypass the Entity Validation. Too much meddling. MVC model has those layers and advocates reducing unnecessary dependencies between layers. Entities and Views are both in Model layer though. But you can build a view without an Entity and vise versa you can have an Entity that doesn't have default views. So my understanding is the Entity Validation is quite necessary.
    Though from View layer, on a jspx page, you can use command buttons and set their "immediate" property to "true" to bypass form validation temporarily and postpone it to form submission time.
    My understanding for Entity validator is they should be light weighted. You properly should avoid SQL queries directly in them. Instead you should use EntityImpl or ViewObjImpl/ViewRowImpl instead of SQL queries directly in validator.
    If you feel my answer helpful to you, please mark it so.
    Thanks,
    Alex
    Edited by: Alexbie on Sep 9, 2010 11:11 AM

  • Invalid URL ; How to make it valid ??

    HI All,
    After recent netweaver upgrade due to enhanced security checks ,few URLs which were working earlier are not accepted  by the system now.
    Actually in my scenario the URLs are shown as "Link to Actions" on the UI. 
    To avoid the dump first I am checking the validity of the "URL string" using this method.
    cl_abap_utility=>is_valid_url( ).
    If it is valid, only then the URL is binded on UI otherwise its ignored.
    Following is an example of an invalid URL:
    https://portal.wdf.sap.corp/irj/go/km/docs/guid/600840f6-2d2d-2e10-5bb7-##fca7779a24cc
    I checked, presence of extra characters '#' makes it invalid .
    Is there any way to remove this extra character '#' from the URL ??
    (I tried replacing all occurences of # and condense it: but that did not work ).
    or
    Is there any other way to convert this invalid URL to a valid format, accepted by system ???
    Thanks a lot in advance..!!!!!
    Best Regards,
    Kumar Ashesh

    Hi ,
    I got one alternative which seems working for this scenario:
    I used cl_utility_abap again
    First use escape URL, convert to hexa form :
    Then replace  hexa values of '#' or '##" or "###' by space and condense
    Again unescape the URL
    Now the new URL becomes valid always 
        <fs_url>-url = cl_http_utility=>escape_url( <fs_url>-url ).
        REPLACE ALL OCCURRENCES OF '%23' IN <fs_url>-url  WITH ' '.              " (    '#'    =  '%23'  )
        REPLACE ALL OCCURRENCES OF '%0d%0a' IN <fs_url>-url  WITH ' '.       "(   '##" =  '%0d%0a' )
        CONDENSE <fs_url>-url NO-GAPS.
        <fs_url>-url = cl_http_utility=>unescape_url( <fs_url>-url ).
        lv_is_link_ok = cl_http_utility=>is_valid_url( <fs_url>-url ).
    Well this alternative is working, but how fool proof it is I dont know.
    Regards,
    Ashesh

  • Client Side Validation Problems

    Hi,
    When I use .Net validation controls on my aspx pages, the validation always executes server-side, even on IE clients, regardless of the EnableClientScript property on the validators.
    If i hit the remote server directly, the validators work correctly - ie Client-side for IE and server side for all others.
    So I assume that the remote server is unable to correctly identify the client browser as it's gatewayed via the portal. Does anyone know a way around this please?
    Cheers,
    Simon

    Hi Jonathan,
    Thanks for your reply.
    I'm a .Net developer who's new to Plumtree development, so my appologies if i'm missing something obvious.
    We're using the Broadcast Listener pattern, Portal Server v 5.0.3, Web Controls 2.1 and .Net Framework 1_1_4322_2032. We've generated the client script to support this version of .Net and installed in onto the ImageServer.
    We have a menu portlet, which broadcasts a 'linkSelected' event on click of a menu item. Our main portlet is the listener and has an event handler that invokes a PTGetHTTPRequest call to one of a number of page for processing (depending on the menu item selected etc). This 3rd page contains all of the form fields, the validators and the validation summary.
    When this aspx page has finished processing, there is an event handler in the 2nd page which scrapes the content of Response.ResponseText into a container <DIV> element on page 2 - ie dynamically building the html content with client script.
    I've built a routine that can scrape this dynamically generated content of the <body> of the Listener portlet at this stage and when I examine this output, the validation js file and the inline __doPostback functions are all present.
    I've done some debugging of the WebUIValidation.js file and although each individual validator is firing ok, it appears that the problem is manifesting itself in the ValidationSummaryOnSubmit_1_1_4322_2032()function. This function is called correctly, but it can't evaluate the Page_ValidationSummaries object.
    This Page_ValidationSummaries object is defined and set within the inline script as follows :
    var Page_ValidationSummaries;
    function PTSetValidationSummaries_490()
    { [/b]
    [b] var valsInput = document.getElementById('PT_VALIDATORS_SUM_490');
    if(valsInput)
    Page_ValidationSummaries = eval(valsInput.value);
    else Page_ValidationSummaries = new Array();
    and the PT_VALIDATORS_SUM_490 element is defined as :
    <INPUT id=PT_VALIDATORS_SUM_490 type=hidden value="new Array(document.all['vsAll'])">
    and the vsAll element is defined as :
    <DIV id=vsAll style="DISPLAY: none; COLOR: red" showmessagebox="True"></DIV>
    If I debug the WebUIValidation.js file, I can successfully evaluate document.getElementById('PT_VALIDATORS_SUM_490'), so I believe that the error occurs when the PTSetValidationSummaries_490()function executes (or perhaps PTSetValidators_490isn't actually calling it??).
    I can't really debug this any further as I've now traced the error back to the inline script that's appended at runtime by the Plumtree environment.
    Would it be possible for me to email this source code to you for inspection and comment please?
    Cheers,
    Simon

Maybe you are looking for

  • SRM - creation of new account assignment

    Hello, I just created a new account assignment that combines an asset and a cost center. My client wants to be able to purchase products as a asset and use the cost center to the workflow approval of the shopping cart. The customizing I did in MM was

  • How can i get version 4.0 to work with microsoft office online help? I hit F1 and it takes to a page on my c drive

    just upgraded to 4.0 and my help function no longer works in MS office. When I hit F1, it sent me to: file:///C:/Users/rob/AppData/Local/Microsoft/Windows/Temporary%20Internet%20Files/Content.IE5/6TIXUB0P/transition%5B1%5D.htm. Do I need to update my

  • InDesign Tables: Row and Column Strokes

    Using InDesign Tables: How do you get row and column strokes in a table to appear perfectly joined? When I choose "Column Strokes in Front" (Under Table Setup) i still see a tiny row stroke, and vice versus.. it's really visible in the PDF almost can

  • Commercial invoice is missing hoew to find

    Dear SAP Guru's One commercial invoice no. is missing,no where it is available.User has created exice invoice for that particular delivery no. in J1iin,but he has not created commercial invoice no. for that delivery no. But further he has creeated an

  • Please help me :/ I can't connect to anything!

    Alright, the restrictions in my moms iPod were on and she couldn't remember what the password was, so she wanted me to figure it out. I found out very quickly that wouldn't be easy. So, I did everything it said to do, which was restore everything (Ma