Design Scenario Question

Hello, I have a question about how to architect a certain part of my code and I will try to formulate an example here:
Say I have a class Parent that should only be constructed with variables a and b. A no-arg constructor does not make logical sense for Parent, as it should not exist without the a and b instance variables having a value.
Parent has two subclasses, ChildOne and ChildTwo which are also constructed using the a and b variables in Parent. The a and b attributes in Parent should be used across the board for all Parent�s children to do class-specific processing. For instance, ChildOne will use Parent�s a and b attribute to derive ChildOne-specific information.
Parent also has a method, getDataFromChildren(int id) which does something similar to:
if (id == 1) {
     ChildOne one = new ChildOne(this.a, this.b);
     one.getChildData();
} else if (id==2) {
     ChildTwo two = new ChildTwo(this.a, this.b);
     two.getChildData();
}     I understand this may violate OO polymorphism principals, which will be one of my two questions listed below:
1. My first problem is that I understand to be correct, this getDataFromChildren method should accept a Parent parameter and then simply invoke a method polymorphically, such as:
getDataFromChildren(Parent p) {
     p.getChildData();
}Then from other parts of my application, one of the child classes will be passed to this method. But, my other parts of the application know nothing about the Parent, ChildOne and ChildTwo classes. All they know is an ID. So, how can they possibly pass a Parent object to this method? Furthermore, this getDataFromChildren method exists within Parent itself. That doesn�t sound correct either.
2.     My second problem involves constructors. Within my children, I have constructors to match the Parent constructor. I also have explicit calls to the super(a, b) constructor in Parent. So, when a child class is instantiated as say ChildOne(a, b), it makes an explicit call to super(a, b). That creates a new instance of parent with a and b, when I already had one in the first place. To make matters worse, my original Parent object contained some other information specific to that instance that the child classes need. When they are instantiated and make the call to super(a, b), they create new instances of Parent completely separate from my original, relevant one.
I suspect that what I need to do here is have some type of intermediate class that takes the ID from another part of my system and interprets it there. I considered that my child classes should accept a Parent object in their constructor, but that doesn�t seem to make sense.
Please help, sorry for being so verbose. Hopefully this made sense.

Learn about object-oriented design patterns a bit. It will help you design applications a bit better and come up with working solutions for isues such as the one you describe.
if (id == 1) {
     ChildOne one = new ChildOne(this.a, this.b);
     one.getChildData();
} else if (id==2) {
     ChildTwo two = new ChildTwo(this.a, this.b);
     two.getChildData();
}Considering the fragment above, you should check out the Abstract Factory design pattern. You could have a factory return the appropriate object based on the logic in the conditional structure. Also, coding to an interface is much more flexible that what you have right now. Below is a example:
Child child = null;
if (id == 1) {
     child = ChildFactory.getChild("1", this.a, this.b);
} else if (id==2) {
     child = ChildFactory.getChild("2", this.a, this.b);
child.getChildData();
...The goal is to reduce the number of hard-coded class names in your code. The only place where there are hard-coded class names is inside the factory. When you want to introduce a new behavior and a new class type, all you need is to add it to the factory.

Similar Messages

  • Design basic question

    Hi All,
    These are kind of a newbie questions. Appreciate if someone with couple of feathers in their cap could give some practical perspective. Thanks in advance for your time in sharing your experience.
    1) In a planning project we load actual data periodically from your OLTP to your OLAP and then to BPC. You then plan and forecast for next few months or qrtrs so on.
        Lets say our application is to plan ahead on major capital project expenses for coming half year. It could be for labor, material and other goods expenditure in next 6 months. Ideally our expenses are booked at WBS level in your SAP -PS system.
        Now my question is, how would one plan for a new and up coming project. My assumption is in all practical purpose the project mayn't have been created in PS yet hence the master data element is not available in BPC (am i right?) but in BPC you have to plan ahead.
    2) Similar situations arise for other master data elements too. How are these scenarios handled in practice in various projects.
    Appreciate if you could share your insight on this matter.

    Thanks Nilanjan.
    In the case we decide to do a member sheet entry for this qrtr planning, during next extraction cycle what kind of general housekeeping to be done ... I understand that it depends on our cube design if we are planning in a separate cube or on the same cube.. but do we delete the manual entry.
    Basically my question is , in this approach, we end-up entering these master data manually always and not as a synchup from ECC, correct? Because subsequent loads always finds this member already available in BPC.

  • Design Process Question

    I have a process that should make the control of the estimate for the sale of each department of a company.
    The scenario is:
    1 - The finance department estimates a goal for each segment (web, stores, call center);
    2 - The manager of each segment approves or not the estimate;
    3 - If the manager does not approve the estimate, it can redistribute the values between the departaments of this segments (Baby, Beauty, Books, Auto..);
    But I have a great question about the design of this process. In step 2 of the scenario, I have been repeating the same activity according to the number of segments, but the activity is the same and they both need to be made by managers of each segment, only after every manager I should take a decision to follow the process. My question is: which the best way t to create an activity that may occur in N instances (number of segments) simultaneously?

    You could use a Split or Multiple activity (OraBPM 10gR3) or Split or Split N (ALBPM 6).

  • Misc Basic PL/SQL Application Design/Programming Questions 101 (101.1)

    ---****** background for all these questions is at bottom of this post:
    Question 1:
    I read a little on the in and out parameters and that IN is "by reference" and OUT and IN-OUT are by value. To me "by reference" means "pointer" as in C programming. So it seems to me that I could call a function with an IN parameter and NOT put it on the right side of an assignment statement. In other words, I'm calling my function
    get_something(IN p_test1 varchar2) return varchar2;
    from SP1 which has a variable named V_TEST1.
    So.... can I do this? (method A):
    get_something(V_TEST1);
    or do I have to do this (method B):
    V_TEST1 := get_something(V_TEST1);
    Also, although this may muddy the thread (we'll see), it seems to me that IN, since its by reference, will always be more efficient. I will have many concurrent users using this program: should this affect my thinking on the above question?
    -- ******* background *******
    So Far:<< I've read and am reading all over the net, read and reading oracle books from oracle (have a full safari account), reading Feurstein's tome, have read the faq's here.
    Situation Bottom Line:<< Have an enormous amount to do in a very little time. Lots riding on this. Any and all pointers will be appreciated. After we get to some undetermined point I can re-do this venture as a pl/sql faq and submit it for posting (y'alls call). Some questions may be hare brained just because I'm freaking out a little bit.
    Situation (Long Version):<< Writing a pl/sql backend to MS Reporting Services front end. Just started doing pl/sql about 2 months ago. Took me forever to find out about ref-cursor as the pipe between oracle and all client applications. I have now created a package. I've been programming for 20 years in many languages, but brand new to pl/sql. However, pl/sql sql has freed me from myriad of limitations in MS RS's. My program is starting to get big (for me -- I do a lot in a little) pks is currently 900 lines with 15 functions so far. Currently SP (pls) is back up to 800 lines. I get stuff working in the sp then turn it into a function and move it to the package.
    What does application do?:<<<< Back End for MS Reporting Services Web front end. It will be a very controlled "ad-hoc" (or the illusion of ad-hoc) web interface. All sql queries are built at run-time and executed via "open ref cusor for -- sql statement -- end;" data returned via OUT ref_cursor. Goal is to have almost 100% of functionality in a package. Calling SP will be minimalist. Reporting Services calls the SP, passes X number of parameters, and gets the ref_cursor back.
    Oracle Version: 10.2 (moving to 11g in the next 3 months).Environment: Huge DW in a massively shared environment. Everything is locked down and requires a formal request. I had to have my authenticated for a couple dbms system packages just to starting simple pl/sql programs.

    Brad Bueche wrote:
    Question 1:
    I read a little on the in and out parameters and that IN is "by reference" and OUT and IN-OUT are by value. To me "by reference" means "pointer" as in C programming. So it seems to me that I could call a function with an IN parameter and NOT put it on the right side of an assignment statement. The IN parameter is not passing by reference. It is passing by value. This means variable/value of the caller used as parameter, is copied to the (pushed) stack of code unit called.
    An OUT parameter means that the value is copied from the called unit's stack to the caller (and the current value of the caller's variable is overwritten).
    To pass by reference, the NOCOPY clause need to be used. Note that is not an explicit compile instruction. The PL/SQL engine could very well decide to pass by value and not reference instead (depending on the data type used).
    Note that the ref cursor data type and the LOB data types are already pointers. In which case these are not passed reference as they are already references.
    The NOCOPY clause only make sense for large varchar2 variables (these can be up to 32KB in PL/SQL) and for collection/array data type variables.
    As for optimising PL/SQL code - there are a number of approaches (and not just passing by reference). Deterministic functions can be defined. PL/SQL code can be written (as pipelined tables) to run in parallel using the default Oracle Parallel Query feature. PL/SQL can be manually parallelised. Context switches to the SQL engine can be minimised using bulk processing. Etc.
    Much of the performance will however come down to 2 basic issues. How well the data structures being processed are designed. How well the code itself is modularised and written.

  • File to SOAP scenario question???

    Hi,experts
    let's take source system is A,target system is B.
    I have a File to soap scenario using BPM,the scenario is send file request(from A) to PI,PI will be communicating target system(B) with soap(syn).After that, PI receives the soap response and send the response data to A.
    Now the requirement is, we need to archive the file request msg(before sending to B) to a folder and archive the response msg(response from B) to a folder as well.how could it be achived?
    any help will be much appreciated!
    Thanks

    Hello Rajesh_V2009 ,
    I am trying to implement exactly the same pi scenario, but having some problems :
    File -> file adapter -> ccBPM -> soap receiver adapter -> web service request -> web service response -> ccBPM -> output file adapter.
    The web service that I call works file from wsnavigator. I have created all the design and configuration objects
    needed for the scenario.
    I place a file with following contents:
    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <pns:GetSetNameWS xmlns:pns="urn:file2soap2fileWSVi">
    <pns:name1>ajeet</pns:name1>
    <pns:name2>phadnis</pns:name2>
    </pns:GetSetNameWS>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    When I look at the process monitor I get this:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!-- Receiver Determination
    -->
    - <SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SAP:Category>XIServer</SAP:Category>
    <SAP:Code area="RCVR_DETERMINATION">CX_RD_PLSRV</SAP:Code>
    <SAP:P1>Problem while determining receivers using interface mapping: No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists.</SAP:P1>
    <SAP:P2 />
    <SAP:P3 />
    <SAP:P4 />
    <SAP:AdditionalText />
    <SAP:Stack>Error when determining the receiver: Problem while determining receivers using interface mapping: No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists. Problem while determining receivers using interface mapping: No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists. No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists.</SAP:Stack>
    <SAP:Retry>M</SAP:Retry>
    </SAP:Error>
    I have no clue about this error. Can you help me with this ?
    If yes I can send you more details, if you liked 
    Hoping to get help from you,
    Cheers,
    Ajeet Phadnis

  • Forum for graphic design related questions?

    Does anyone know of any good graphic design discussion forums? I'm looking for a place to ask questions about typography, color, layout, etc.
    Thanks in advance.

    Not as much activity on soem of these, btu here are some good ones
    http://typophile.com/
    http://www.underconsideration.com/brandnew/
    http://www.howdesign.com/forum/

  • Simple Design Analysis Question before designing dimensions and facts

    Hi I have a simple question ... (I think its simple)
    Suppose that i have the following staging table with the following columns:
    Student_Name | RollNo | Test_Date | Subject-Taken
    with data such as
    Kevin |123|12-4-2010|Physics
    now suppose that I want to design a cube on the basis of the above table so that I can succesfully get the result of a query such as
    List the names of all those students who took the test b/w 12-4-2010 to 12-5-2010 of the Subject Physics
    Here what i need to know what dimensions/Levels would u set and what would be our fact?
    I think that one dimension would be time ( but i am not sure how i would  accommodate and handle duration... any idea )
    would it be wise to make each column a dimension ??? for example the student_nanme a dimension and details of the student its attributes??
    Anyways the main thing is what bothers me is looking at the query we see that we are required 3 things the name of the student , the TestDate and subject taken so if i make the 3 columns the  dimension i am still not sure that i would be able to acomodate the query properly...any ideas on how to approach and handle these situations
    Edited by: Johnacandy on Dec 14, 2010 9:26 AM

    ScoobySi wrote:
    Yes I mean Time dimension, however in a DW you will have many Time dimensions, instead of creating a physical object for each you use a ROLE. If you edit a dimension in OWB you'll see that you can specify a ROLE on the first tab.
    Thanks for the great explaination... could you explain the process of roles a little more that will really save me some time... furthermore u stated
    + "instead of creating a physical object for each you use a ROLE" +
    The way i create dimensions is right clicking dimensions and selecting dimension.... for a standard dimension
    however incase of a time dimension i use a wizard... I am still a bit confused about "Physical objects" ... Id really really appreciated it if you can clarify this up...
    as discussed before one dimension would be Student and other would be subject
    and 3rd one would be TEST_DATE with role ?? and should that be a time_dimension or a standard dimension with a role defined ???

  • Designer datamodel questions

    I've got a couple of questions about how to do a few tasks in Designer.  First, a little background:<br />I've got a dataconnection called "report_data" that's derived from and xml schema.  The structure of the schema is somehing like this: <br /><report><br />    <job_description><br />       <name/><br />       <start_date/><br />       <end_date/><br />    </job_description> <br />    <task><br />       <name/><br />       <description/><br />       <resource> <br />            <name/><br />            <cost/><br />       </resource><br />       <subtask><br />          <name/><br />          <description/><br />            <resource> <br />               <name/><br />               <cost/><br />           </resource><br />       </subtask><br />    <task><br /></report><br /><br />a report has a single jobdescription, and multiple tasks.  Each task has a name and decription, multiple resources, and multiple subtasks.  Each subtask has a name and description, and multiple resources.<br /><br />I've designed a report entry form, with multiple subforms for job_description, tasks, resources, and subtasks.  I've then bound these subforms to the datamodel.  This is all good and works.  The problems start occuring when I want this form to be dynamic.  The Task subform has a button "add_new_task", which adds a new task to the report.  It does this by calling a function "add_new_task()" in a script object.  The function is as follows:<br />function add_new_task(){<br />    var t_node = xfa.datasets.dataDescription.report.task.clone(1);<br />    t_node.resolveNode("name").value = "task " + (xfa.record.resolveNodes("task[*]").length + 1).toString();<br />    xfa.record.nodes.append(t_node);<br />    xfa.form.remerge();<br />}<br />This function appears to work, new instances of the task subform are appended to the document. <br /><br />The task subform also contains subtask subforms.  They are added with a button "add_new_subtask", that calls a function "add_new_subtask(task)".  the function is as follows:<br />function add_new_subtask(task){<br />    var st_node = xfa.datasets.dataDescription.report.task.subtask.clone(1);<br />    st_node.resolveNode("name").value = "subtask " + (xfa.record.resolveNodes("subtask[*]").length + 1).toString();<br />    task.nodes.append(s_node);<br />    xfa.form.remerge();<br />}<br /><br />The button click function is:<br />scripts.add_new_subtask(xfa.record.task);<br /><br />Resources work in a similar way.<br /><br />The problem is now that when I try to create subtasks, they are appended to the initial task, not the task associated with the current record.  Same thing for Resources.<br /><br />Doesn't xfa.record refer to the current record?  If not, how to I determine the current record?  xfa.dataWindow.currentRecordNumber is always returning 0.  I'm assuming that's because there is only 1 instance of the report.  How do I determine the record associated with a given subform?  Is there a better way than using the index of the subform and getting the record with the same index?

    To determine the instance of the record associated with a given subform, you can get the subform's
    index property value. Since new instances are created with the same name as siblings of one another, they end-up getting index numbers in order to make them unique.
    For example, if you create a new instance of the Task subform, you'll have "Task[0]" and "Task[1]" where
    this.index will be 0 or 1. If it's an object parented to the Task subform which needs to know the instance of the Task subform/record in which it occurs, you can use the
    parent property to drill up to the Task subform which contains the object in question and then get its index property value.
    Creating bookmarks is a little more complicated. Unfortunately, XFA doesn't support bookmarks so you have two options:
    Use the xfa.host.setFocus("field name") method to set focus, when the user clicks a button, to a field somewhere on the form to have Acrobat automatically scroll the field in view and set focus to it (see post #6 of the
    Links Within PDF thread for an example); or
    Use the
    target property of the event object you get in an XFA event script to access the Acrobat Document object and then programmatically add bookmarks to the form (but
    this will only work if the form is viewed using Acrobat):
    event.target.bookmarkRoot.createChild("Next Page", "this.pageNum++");
    I'm not familiar enough with creating bookmarks in Acrobat to elaborate further on the subject but you can read more about it in the
    Acrobat JavaScript Scripting Reference.
    I hope this helps!
    Stefan
    Adobe Systems

  • Receiver RFC synchronouse scenario question:

    Dear All,
    I have a doubt in Receiver RFC sync scenario. for example file to XI to RFC.
    Question: when ever Response RFC is triggered in R/3 Side. How the data reaches XI.
    By just creating Synch Communication channel for the RFC in XI, will  the data to come to XI for RFC respose.
    How when a Respose RFC is Triggered in R/3 Server, how the data points or reaches XI port?
    How the Auto Triggered RFC Respose data points to XI and Comes to XI in a Synchronous RFC Receiver scenario.
    PS: I am not from ABAP background. if any code has to be written in R/3 side for making the response RFC point to XI, please provide a generalized code also if possible.
    Please Advice,
    Prakash.

    RFC destination,port at XI would help to get response data
    No need to write any code,because RFC provide sync communication.
    use links RFC Scenario using BPM --Starter Kit
    https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    Exposing BAPI as Web Services through SAP XI
    RFC Scenario using BPM --Starter Kit
    The specified item was not found.
    The specified item was not found.
    HTTP to RFC - A Starter Kit

  • SRM, ROS and SUS scenario question

    Hello Experts,
    We are in the process of implementing MDM, ROS, EBP and SUS scenario in our present project. I went through the documentation. I have couple of questions.
    1. Do we need to have seperate clients for ROS and SUS. What is the best practise.
    2. Since we have SUS, once I transfer BP from ROS to EBP, check the portal vendor box, I would like to know how the registration code will be sent to supplier. Do we need to create the userid in EBP or with the receipt of registration code supplier will be able to create his first initial userid? Also how we can implement this with CUA and EP as part of landscape?
    3. Also since we have MDM, how the new BP information can be migrated or mapped in MDM and how new BP can be sent to backend system? I understand there is BP monitor to check and approve the changes, but how the new BP will be transferred? Do we need to develop new XI message for this? if Yes, from where that can be managed? from EBP or MDM?.
    I searched through help.sap.com for any documentation but no success.
    Thanks in advance
    Vijay.

    Hi,
    1.Refer the foll thread:
    Re: Supplier Registration without SUS or XI?
    2.For supplier registration,SUS is not mandatory.You need to configure ROS for this scenario.The extrenal vendors will register in ROS and then be replicated to R/3.
    You can use EBP only for Supplier registration.
    SUS,ROS and Bidding engine make up the SRM server 5.5/EBP component of SRM 5.0.
    Pls refer the foll link for the complete process:
    http://www50.sap.com/businessmaps/8F152C1AE8F1426FA3B442F905815F54.htm
    For detailed settings/config  of supplier registration,refer the foll threads:
    Re: Not able to transfer suppliers from ROS to EBP
    problems with ROS_PRESCREEN application for screen suppliers and manage bp
    Re: SUPPLIER DIRECTORY (ROS) link not appearing in EBP in "SCREEN SUPPLIERS"
    Supplier Directory
    Re: Supplier Self registration
    Re: SRM Supplier registration config
    Re: External Web Service setting for Supplier Registration ROS to EBP
    Re: Problems when transferring supplier from ROS to EBP...
    3.Not worked on MDM so cant help you on this.
    BR,
    Disha.
    Do  reward points for useful answer

  • Helping in Designing Scenario

    Hello people!
           i need some helping in designing a solution,  i'm kinda new in the PI world, and i never made BPM stuff and so...
          Here is my situation, i have 2 Webservices that i have to consume in PI
         R/3 will send information to PI
          in PI i have to Consume the first Webservice with some information and that will Response a Token,
    then i have to Merge this Token with another XML message and send to another Webservice, the i get the Response Message of this webservice and send back to R/3
        whats the best way of doing this? is it using BPM?
    this is the two Webservices i will have to use:
    http://siatepqa.suseso.cl:8888/Siatep/WSToken?wsdl
    http://siatepqa.suseso.cl:8888/Siatep/WSIngreso?wsdl
    Can anyone help me?
    Thanks!
    Edit:
    i've already read alot of BPM topics and  i think this is the way... but i'm not sure
    i want to use abap_proxy conection in r/3 > PI and the webservice connections will use SOAP/WS
    Edited by: pitoshi on Jun 9, 2010 10:57 PM

    Liang Ji,
    thanks  very mutch for your answer, this is very helpfull,
    But in:
    "R/3 send message to PI via Outbound proxy (using XI Adapter) ---> PI receive Message and execute Mapping program --> during the mapping program, you can have SOAP lookup to call first web service to get token, then you can use lookup value in your mapping, ---> Use SOAP receiver adapter to call first web service, then PI get response from it, then pass to R/3. "
    You mean " ---> Use SOAP receiver adapter to call first web service, then PI get response from it, then pass to R/3. ""
    call the Second Webservice?
    in spite of my difficulties with BPM, is this solution is better than using BPM?
    Edit: * and if any of these processes do not respond? how I treat it? *
    anyone else have any other option or tips to this scenario?
    Edited by: pitoshi on Jun 10, 2010 12:34 AM

  • Synch scenario question

    Hello,
    I have following scenario.
    SOAP (Request) -
    >   XI  -
    > RFC(Receiver)
    SAOP (response) <----- XI <--
    RFC
    The above is synch. scenario.
    This scenario is used by several clients. Now my question is as follows.
    When a specific client request comes through, I do not want to map specific feilds in the mapping.
    How would I do this?
    I appreciate your help.
    Thank you,
    Balaji

    Hey,
         In this case if you have client value is one of the fields then it becomes very easy for you.
    you just need to compare the client field with the client number for which you want to by pass the values.
    for example,
      if there is say employee number, and you want to send it only for client 400, 500 and 600. then
    your mapping for the field employee number will include an if condition like this.
    if-->client(field) equals 400 or client(field) equals 500 or client(field) equals 600 then employee number.
    use ifwithouelse function provided by XI.
    in case you have many clients and graphical mapping becomes tedious you can also write a user defined function.

  • Design View question

    Good evening,
    I'm working on a site using a Dreamweaver template and for
    some reason my "Design View" shows up only like you'll see in the
    top image on this page:
    http://community.middlebury.edu/~nmeiers/question.htm
    I want the pages to appear like the template I put on the
    bottom so I can see the design. It used to look like that and I
    don't know what I changed. Any ideas?
    (Yeah, I know Design View isn't ideal, but I'm not very good
    at this and I like seeing the graphics.)
    Thank you,
    Nick

    Looks like for the top image the style sheet isn't attached.
    Walt
    "Topkdlfs" <[email protected]> wrote in
    message
    news:gcro26$pnf$[email protected]..
    > Good evening,
    > I'm working on a site using a Dreamweaver template and
    for some reason my
    > "Design View" shows up only like you'll see in the top
    image on this page:
    >
    >
    http://community.middlebury.edu/~nmeiers/question.htm
    >
    > I want the pages to appear like the template I put on
    the bottom so I can
    > see
    > the design. It used to look like that and I don't know
    what I changed. Any
    > ideas?
    >
    > (Yeah, I know Design View isn't ideal, but I'm not very
    good at this and I
    > like seeing the graphics.)
    >
    > Thank you,
    > Nick
    >

  • Layout / Design View questions

    This is the sort of thing I've wondered about before, but
    would really like to get to the bottom of.
    Sometimes things seem to go a bit funny in design view -
    although the page will display correctly in a browser - but can
    anyone let me know if there is something not quite right somewhere,
    or if it actually really matters?
    As an example, I've posted some screenshots on the link
    below. The only difference is that the 'footer' div has been added
    to the second page. They're both fine in the browser, but as you
    can see from the screenshots, the first is fine in design view, but
    the second (the bottom two screenshots) it all looks wrong.
    Basically is this anything to worry about?
    Even if it isn't, it is a bit annoying, as from a design POV
    it's good to see things as they should be!
    screenshot
    1
    My second question is about TD widths - in these pages I have
    a wrapper div set at 780px, and in the table containing the
    navigation, they navigation buttons/graphics seem to need to be one
    px narrower than they actually are (54 instead of 55px etc) in
    order for them to line up to the total 780px, as per the screenshot
    below :
    screenshot
    2
    If anyone could shed any light on any of this it would be
    greatly appreciated.
    Cheers,
    Iain

    dukla wrote:
    > Basically is this anything to worry about?
    No its nothing to worry about.
    I don't know what version of DW you are using but all
    versions up to
    2004 didn't handle css that well.
    I believe DW8 has improved. However having said that I have
    found a lot
    of the time that it also has a lot to do with how you write
    the css. I
    can't believe version 8 can possible cover all eventualities
    so it
    probably still shows the odd thing or two incorrectly.
    Personally I never had much trouble with DW04. It works
    pretty well with
    the css I write.
    > Even if it isn't, it is a bit annoying, as from a design
    POV it's good to see
    > things as they should be!
    Yeah it does get a bit annoying but you have to work through
    it.
    > My second question is about TD widths - in these pages I
    have a wrapper div
    > set at 780px, and in the table containing the
    navigation, they navigation
    > buttons/graphics seem to need to be one px narrower than
    they actually are (54
    > instead of 55px etc) in order for them to line up to the
    total 780px, as per
    > the screenshot below :
    >
    >
    http://www.handprintwebdesign.co.uk/CollinsBartholomew/tableDesign.htm
    >
    > If anyone could shed any light on any of this it would
    be greatly appreciated.
    I don't think this web thing is totally precise and sometimes
    you have
    to 'hack' it to do the job. Usually if thing are a px out I
    don't bother
    unless it screws the design up in too mmnay browsers.

  • OIM Approval Workflow Scenario/Question

    Hello,
    Can anybody please explain how the approval workflow actually works in OIM?
    Scenario - After a user does self registration using the web console - how can we specify tasks in between that workflow - so that the user's manager should receive/approve the request first and then suppose then the request goes to some Department Head for his approval and then only the user will receive and confirmation email for logging into OIM.
    I understand the Provisioning workflow perfectly from OIM User Form to PRocess Form and from their to Target. But really want to understand this 'Approval/Self REgistration' workflow. Can anybody explain me with the steps that are needed to be configured in OIM Design Console for the 'scenario' explained above.
    Many Thanks!

    Hi,
    There is one possible solution for your requirement. I jsut the forget the name of the workflow which trigger while self registration.
    You can do one thing in that process add two task which assign task to manager and once he approved the request task will be assigned to deapartment head and once he approved the user will be created in OIM.
    Task will be assigned not as approval but as asisgned task, if its ok with you; just try this and let me know.
    Regards
    Alabhya Goel

Maybe you are looking for

  • Creation of Organisation management infottype

    Hi Experts, Iam an abap-hr. I am creating OM infotype. First i created a structure for that infotype. I went to  TCode po10 n create Object n Relationship. After that i want to see my created infotype means Iam not able to see. Can anyone give me the

  • Why can't I change ACL permissions of a volume on mac os x 10.6

    Hello, I'm currently working with a Mac OS X 10.6.8 Server with 2x1TB drive installed in RAID configuration (/Volumes/LTRK) and 1x2TB installed as a regular volume (/Volumes/LTRK2/). For both volumes I could set all permissions perfectly, but recentl

  • Multiple Deliverys in to Single Billing document for same part number

    Hi all, We want to combine multiple delivery items into one invoice line item for same material code, Scenario is like this, Sales order getting created with BOM ( Header items and more then 50 Component items with 30 to 40 quantity for each line ite

  • PLEASE HELP!! Why do my file dates change on import?

    I'm trying to drag and drop iPhotos into Aperture or export a collection of files and then import them into Aperture, but the image date changes to a random date in the future when I do so. What am I doing wrong? How do I solve the problem?

  • SAP-MM Material Master

    Dear Friends, I have created material using T.code:MM01 but when I go in change mode(MM02) system throws an error message ::The material does not exist or is not activated..So,what may be the problem? Any clue? Thanks&regards Eliaz