Add CCS - R/3 objects in tx CRMD_EMAIL

Hi All,
I need to use CCS or R/3 objects in my letters made on tx CRMD_EMAIL in CRM 5.0. But I only know how to use CRM objects using scenarios in this tx. What I need to know is if there is any way to bring CCS or R/3 object fields to use in CRMD_EMAIL.
Hope anyone can help me!
Thanks,
Marcella

Hi Rajasekhar
Yeah it is very much required to download the customising objects as the customising data is required for creating say:business partner in CRM.
The customising data is usually the same for R/3 and IS-U scenario other than the data exchange specific settings
Regards
Jay.

Similar Messages

  • How can I add hyperlink to the object in iCloud pages ?

    Hi, there
    I want to add hyperlink to the object(image) in icloud pages.
    But it looks no such function on  icloud(any "add link" botton)
    I know that how to add hyperlint to the object in pages v5.2.
    1. place object
    2. prepare text box and add hyperlink to the text(invisible color)
    3. overlay object and textbox
    But, in icloud pages, I coundln't do above method.
    Pls give me some advice.
    Thanks.

    The feature to add images in tables is gone, ike about another 90 features that exists in Pages 09.

  • How do I do to add and remove Shape3D objects dynamically from TransfGroup?

    Hi, everyone,
    How do I do to add and remove Shape3D objects dynamically from TransformGroup?
    I have added two Shape3D objects in the TransformGroup and I wanted to remove one of it to add another. But, the following exception occurs when I try to use �removeChild� :
    �Exception in thread "AWT-EventQueue-0" javax.media.j3d.RestrictedAccessException: Group: only a BranchGroup node may be removed at javax.media.j3d.Group.removeChild(Group.java:345)�.
    Why can I add Shape3D objects and I can�t remove them? Do I need to add Shape3D object in the BranchGroup and work only with the BranchGroup? If I do, I think this isn�t a good solution for the scene graph, because for each Shape3D object I will always have to use an associated BranchGroup.
    Below, following the code:
    // The constructor �
    Shape3D shapeA = new Shape3D(geometry, appearance);
    shapeA.setCapability(Shape3D.ALLOW_GEOMETRY_READ);
    shapeA.setCapability(Shape3D.ALLOW_GEOMETRY_WRITE);
    shapeA.setCapability(Shape3D.ALLOW_APPEARANCE_READ);
    shapeA.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
    Shape3D shapeB = new Shape3D(geometry, appearance);
    shapeB.setCapability(Shape3D.ALLOW_GEOMETRY_READ);
    shapeB.setCapability(Shape3D.ALLOW_GEOMETRY_WRITE);
    shapeB.setCapability(Shape3D.ALLOW_APPEARANCE_READ);
    shapeB.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
    BranchGroup bg = new BranchGroup();
    bg.setCapability(ALLOW_CHILDREN_READ);
    bg.setCapability(ALLOW_CHILDREN_WRITE);
    bg.setCapability(ALLOW_CHILDREN_EXTEND);
    TransformGroup tg = new TransformGroup();
    tg.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    tg.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
    tg.setCapability(TransformGroup.ALLOW_CHILDREN_READ);
    tg.setCapability(TransformGroup.ALLOW_CHILDREN_WRITE);
    bg.addChild(tg);
    tg.addChild(shapeA);
    tg.addChild(shapeB);
    // The method that removes the shapeB and adds a new shapeC �
    Shape3D shapeC = new Shape3D(geometry, appearance);
    shapeC.setCapability(Shape3D.ALLOW_GEOMETRY_READ);
    shapeC.setCapability(Shape3D.ALLOW_GEOMETRY_WRITE);
    shapeC.setCapability(Shape3D.ALLOW_APPEARANCE_READ);
    shapeC.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
    tg.removeChild(shapeB);
    tg.addChild(shapeC);Thanks a lot.
    aads

    �Exception in thread "AWT-EventQueue-0"
    javax.media.j3d.RestrictedAccessException: Group:
    only a BranchGroup node may be removed I would think that this would give you your answer -
    Put a branch group between the transform and the shape. Then it can be removed.
    Another thing you could try: This doesn't actually remove the shape, but at least causes it to hide. If you set the capabilities, I think you can write the appearance of the shapes. So, when you want to remove one of them, write an invisible appearance to it.

  • Add logo in business object

    Dear All,
    Does anyone knows how to add logo in Business Objects?
    Thanks in ton for advance help.
    Best Regards,
    Tarun

    HI <b>TARUN</b>
    <b> How to Upload graphics (IMAGE) to your Sapscript?
    Command in your Sapscript</b>
    /: INCLUDE Z_YOUR_LOGO OBJECT TEXT ID ST LANGUAGE E
    <b>These are the steps to be followed for uploading graphics in R/3 system </b>
    1.   First save the file as BMP 
    2.   Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and 
          make it Zoom as 100% and save as *.TIFF 
    3.   Open SE38 and execute program RSTXLDMC
    4.   Give your TIFF file path name 
    5.   Select Bcol (for Color) 
    6.   TEXT ID will be ZHEX-MACRO-*. 
    7.   Inplace of * write your own logo name (ZCOMPANYLOGO) 
    8.   Execute the program 
    9.   Now Goto SE71 create your ZFORM 
    10. Create logo window 
    11. Goto text element of logo window 
    or
    <b>In 4.6x :-</b>
    1.  Goto SE71 Change the mode to GRAPHICAL 
    2.  Choose the Graph Tabstrips
    3.  Now type in some name for the LOGO WINDOW 
    4.  Press the IMPORT BUTTON (third button from left) and then IMPORT the BMP file from your DESKTOP 
    5.  The code will be written automatically. You just need to drag and drop wherever you want
         the graphics to be. 
    /:   INCLUDE Z_COMPANY_LOGO OBJECT GRAPHICS ID BMON LANGUAGE EN
    Please note that in 4.6c onwards, you can also used Windows Bitmap file ( .BMP).

  • How to add the Match code object for the requisitioner field in TCODE ME51N

    Hi,
    How to add the search help (Match code object) for the requisitioner field in transaction ME51N.
    Please  do the needful to me.
    Regards
    Rajesh

    don't you think that posting your question to a microsoft developer site would be more efficient?
    regards,
    anton

  • Cannot add new components in Object Browser

    Hi,
    We have a complex file with about 80 components. The problem is that when I try to add new components, they're not visible in Object Browser. It's possible to drag components into canvas, but not only they don't appear in object browser but also vanish after saving and re-opening the file.
    No error messages or hang-ups. It's just as if adding become disabled or something.
    I'll appreciate nay help on this

    Is the new component hidden in the grouped objects, can you see it in the Objects browser?
    You can drag a component out of a grouped object from within the object browser.  Select the component and drag it up onto the grouped component name, it should then be outside of the grouping.
    What version of Xcelsius are you using?
    Regards
    [Charles|http://www.reportex.co.uk/xc_waterfallchart.html]

  • Add BUS2009 to generic object services

    Hi Experts,
    We have header level release strategy to PR approval. We are using BUS2105 delegated to ZBUS2105.
    There is another custom workflow has been defined, using BUS2009 delegated to ZBUS2009.
    in ME53n, Generic object services I can only see ZBUS2105 Workflows.
    Is there any method I can add show both the workflows there.
    Your help is much appreciated.
    Thanks,
    Gaurav

    Ya Arghdip, please elaborate how to instantiate the object inside the workflow design using GenericInstantiate Method of SYSTEM Business Object.
    in my case I am getting required entries in table but even thn I am not able to see workflow overview from Generic Object Services.
    Please help.
    Regards
    Nitin

  • How to add attributes in Cost Objects via Data Bridge?

    Hi everyone,
    I need your help. I want to know if is possible to add attributes via Data Bridge in Cost Objects tables like the country or address of a customer?
    Thanks for all.
    Sincerely,
    Pedro Sousa

    Hi,
    Jef is right you need to use the different values in the "Attribute Flag" field for creating attribute hierarchy using data bridge.
    For attribute Hierarchy you need to use option 12 & 15 depending on your requirement.
    12  - Attribute Assignment  - Used for assigning attribute to a member of the main hierarchy
    15  - Attribute Hierarchy only - used for creating hierarchy within attribute hierarchy.
    As mentioned by Jef for details you can refer the Data bridge user guide section 4.3.
    Regards,
    Niraj

  • Acrobat Pro Extended - how can I add links to 3D-objects?

    Hi there,
    I'm using Acrobat Pro Extended 9.0 and I would like to attach links to different filetypes to a 3D-object in a 3D-PDF. I tried to use the link-tool but it seems like that only works for 2D-PDF. Also in the 3D-Reviewer I haven't found a way yet to make it work.
    Thanks
    what eva

    It's possible, but not in the simple tools-based way.
    The "easiest" way is to add a Javascript to the 3D annotation which hooks the mouse event, scans the event.hits array and reacts based on the contents. If a mesh object is clicked the hits array will contain the mesh name in position 0 (then everything behind it in order). Your only issues arise when you want the "normal" clicking action to work as well (for selecting nodes, etc.), in which case you have to ensure your script passes the events about.
    Many of the example files on the acrobatusers.com 3D gallery use that principle, and there are also some in the adobe.com section on 3D Javascript. The idea of a '3D linking tool' is a loooong way off - the way 3D is handled by Acrobat isn't set up to understand things at that level - the UI sees the 3D model as nothing but a black box that can be shouted at.

  • How to add new EEW Business Objects

    Hi guys,
    could you please give me a solution how to add new business objects? Following are the SAP Objects that you can Enhance Using EEWB:
    ADS Analytical Data Storage
    BUPA Business Partner
    BUPR Business Partner Relationships
    BUSINESS_ACTIVITY Business Activity
    BUSINESS_TRANSACTION CRM Business Transaction
    CATEGORY_ENHANCEMENT Category Extension
    COMPLAINTS Complaint
    COUNTERS Counter
    CRM_CASE СRM Case
    CRM_RPT Resource Planning Tool
    GRANTOR_PROJECT Grantor Project
    INDIVIDUAL_OBJECT Individual Object
    INSTALLED_BASE Installed Base
    LEAD Lead
    MARKETING_ELEMENT Marketing Element
    OPPORTUNITY Opportunity
    PPR Partner/Product Range
    RELTYPE Relationship Category
    SALES_CONTRACT Sales Contract
    SALES_TRANSACTION Sales Transaction
    SERVICE_CONFIRMATION Service Completion Confirmation
    SERVICE_CONTRACT Service Contract
    SERVICE_TRANSACTION Service Process
    SOLUTION_DATABASE Solution Database
    But, i didn`t find how add it.

    Hi,
    To my knowledge adding objects to EEWB is possible by customers, SAP controls which all objects enhancement are possible through EEWB, the objects which you have listed are supported by sap for enhancement via EEWB.
    If you are on CRM 7.0 you can use AET which supports more objects that can be enhanced.(AXTREG - transaction for AET supported objects)
    Hope this helps.
    Cheers,
    Sumit Mittal

  • How to add aggregation on multiple objects in a single webi table?

    Hi experts,
    I recently face an requirement that show a report table in a specific format.
    Let me show you in a simple example, let's say we have three dimensions and one measure. Product, Region, Quarter and Sales. When put these objects in an vertical table, it display data in this way.
    Product
    Region
    Quarter
    Sales
    TV
    North
    Q1
    37
    TV
    North
    Q2
    6
    TV
    North
    Q3
    4
    TV
    North
    Q4
    89
    TV
    East
    Q1
    81
    TV
    East
    Q2
    5
    TV
    East
    Q3
    32
    TV
    East
    Q4
    99
    Mobile
    North
    Q1
    13
    Mobile
    North
    Q2
    50
    Mobile
    North
    Q3
    95
    Mobile
    North
    Q4
    65
    Mobile
    East
    Q1
    58
    Mobile
    East
    Q2
    80
    Mobile
    East
    Q3
    76
    Mobile
    East
    Q4
    97
    However, we expect to append some aggregation value in this table as this.
    Product
    Region
    Quarter
    Sales
    TV
    North
    Q1
    37
    TV
    North
    Q2
    6
    TV
    North
    Q3
    4
    TV
    North
    Q4
    89
    TV
    East
    Q1
    81
    TV
    East
    Q2
    5
    TV
    East
    Q3
    32
    TV
    East
    Q4
    99
    Mobile
    North
    Q1
    13
    Mobile
    North
    Q2
    50
    Mobile
    North
    Q3
    95
    Mobile
    North
    Q4
    65
    Mobile
    East
    Q1
    58
    Mobile
    East
    Q2
    80
    Mobile
    East
    Q3
    76
    Mobile
    East
    Q4
    97
    TV
    All region
    Q1
    TV
    All region
    Q2
    TV
    All region
    Q3
    TV
    All region
    Q4
    Mobile
    All region
    Q1
    Mobile
    All region
    Q2
    Mobile
    All region
    Q3
    Mobile
    All region
    Q4
    All product
    North
    Q1
    All product
    North
    Q2
    All product
    North
    Q3
    All product
    North
    Q4
    All product
    East
    Q1
    All product
    East
    Q2
    All product
    East
    Q3
    All product
    East
    Q4
    All product
    All region
    Q1
    All product
    All region
    Q2
    All product
    All region
    Q3
    All product
    All region
    Q4
    As you see, we add "All region" and "All product" here, and combine them with real product, region and quarter value to show aggregations.
    Can anyone tell me how to get such table in webi? Can we implement it simply in report level?
    Best regards and thank you,
    Ocean

    Actually, this question is more focus on the report structure. I know the calculation context. In my first thought, I create the report similar with above one. The problem is in that case, there are a lot of duplicate rows. If you don't know what I am talking about, you can just take a little try in a real webi report sample.
    The key of the question is about how to put the aggregated "All product", "All region" rows in the right place with right frequency and in a single table. As I said, it is more about the format/structure problem.
    Any thought?

  • Dreamweaver adds animate project as object.. any way around this?

    I'd like to have my project added as normal div instead of a its default behaviour which is to add the project as an object.
    Does dreamweaver support this?
    Thanks for any feedback.

    Yes, I'm inserting the OAM file generated by Edge Animate by going the through the 'Select Insert > Media > Edge Animate Composition' options available in Dreamweaver.
    In code view you can see that the what's inserted is an <object> tag which contains the animation. An object tag makes sense for a plugin like Flash, but much less so for an animation that can naturally run in the pages DOM. Instead of calling up a whole new html document it would be great to see everything running inside a regular div.
    I'm assuming this isn't an option?

  • Problem during Add row in View Object : View Row of Key Not found

    Hello,
    I'm facing this problem during insert of new row in the view object. I'm having 2 entities that belong to the same DB table (I need this because one is required with the composition assoc and the other one without it).
    I have three tables, COMPANY, USERS and PRIVILEGES.
    Company (1) to USERS (N)
    USERS (1) to PRIVILGES (N)
    While adding users for a specific company , i get this error msg.
    P.S: I'm not getting this error, if i add company, then user. Only if i directly add users i'm getting this error.
    04/11/27 19:31:46 [12511] DCUtil.RETURNING oracle.jbo.uicli.binding.JUFormBinding
    04/11/27 19:31:46 [12512] **** refreshControl() for BindingContainer :new_cuserUIModel
    04/11/27 19:31:46 [12513] *** DCDataControl.sync() called from :DCBindingContainer.refresh
    04/11/27 19:31:46 [12514] Decompressed BC state:BCST:Reousers1View1Iterator=0001000000042D323535,UsertypeView1Iterator=0001000000124141414B6639414142414141537653414141,StatesView1Iterator=0001000000124141414B5A77414142414141536643414141,
    04/11/27 19:31:46 [12515] **** refreshControl() for BindingContainer :new_cuserUIModel
    04/11/27 19:31:46 [12516] *** DCDataControl.sync() called from :DCBindingContainer.refresh
    04/11/27 19:31:46 [12517] Column count: 21
    04/11/27 19:31:46 [12518] ViewObject: Reousers1View_254_findByKey_ close prepared statements...
    04/11/27 19:31:46 [12519] ViewObject: Reousers1View_254_findByKey_ Created new QUERY statement
    04/11/27 19:31:46 [12520] SELECT Reousers1.USERID, Reousers1.CID, Reousers1.UTYPE, Reousers1.DESIGNATION, Reousers1.NAME, Reousers1.ADDRESS, Reousers1.CITY, Reousers1.STATE, Reousers1.ZIP, Reousers1.EMAIL, Reousers1.TEL, Reousers1.FAX, Reousers1.WEBSITE, Reousers1.ENTRY FROM REOUSERS Reousers1 WHERE (Reousers1.USERID = :1)
    04/11/27 19:31:46 [12521] Bind params for ViewObject: Reousers1View_254_findByKey_
    04/11/27 19:31:46 [12522] Binding param 1: -255
    04/11/27 19:31:46 [12523] OracleSQLBuilder Executing Select on: REOUSERS (false)
    04/11/27 19:31:46 [12524] Built select: 'SELECT USERID, CID, UTYPE, DESIGNATION, NAME, ADDRESS, CITY, STATE, ZIP, EMAIL, TEL, FAX, WEBSITE, ENTRY FROM REOUSERS Reousers1'
    04/11/27 19:31:46 [12525] Executing FAULT-IN...SELECT USERID, CID, UTYPE, DESIGNATION, NAME, ADDRESS, CITY, STATE, ZIP, EMAIL, TEL, FAX, WEBSITE, ENTRY FROM REOUSERS Reousers1 WHERE USERID=:1
    oracle.jbo.RowNotFoundException: JBO-25020: View row of key oracle.jbo.Key[-255 ] not found in Reousers1View1.

    Hi Timo,
    once again thanks for ur reply.
    as my vo are based on procedure, i know that i can't update the table using them.
    i only wanted to insert the rows in the vo and show it to user (only for selection purpose).
    Now my problem is sorted as i have changed the code like this-
    Row new_row=vo1.createRow();
    new_row.setAttribute(index,vo2.getAttribute(index)) ;
    vo1.insertRow(new_row);
    Earlier i was only inserting a new row, without creating any row.
    Thanks a lot.

  • HOW TO remove nodes add nodes dynamically create objects branchgroup

    After much trial and error, frustration and reading this forum I have come across a good way to dynamically add/remove objects. This is working in my model with 1.3 and jdk 1.4.1_02 Sorry if its sloppy.
    Here goes:
    Adding objects (cap bits may not be optimised):
    (A)
    BranchGroup newDynObj = null;
    switch (workerType)
    case 1: //create a rawEntry BranchGroup
    newDynObj = new RawEntry();
    break;
    case 2: //create a Finshed Node
    newDynObj = new FinishedNode();
    break;
    default:
    newDynObj.setCapability(BranchGroup.ALLOW_CHILDREN_EXTEND);
    newDynObj.setCapability(BranchGroup.ALLOW_DETACH);
    newDynObj.setCapability(Group.ALLOW_CHILDREN_READ);
    newDynObj.setCapability(Group.ALLOW_CHILDREN_WRITE);
    Transform3D t = new Transform3D();
    t.set(scale, new Vector3d(xpos, ypos, zpos));
    TransformGroup objTrans2 = new TransformGroup(t);
    objTrans2.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    objTrans2.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
    objTrans2.setCapability(TransformGroup.ALLOW_CHILDREN_READ);
    objTrans2.setCapability(TransformGroup.ALLOW_CHILDREN_WRITE);
    objTrans2.setCapability(BranchGroup.ALLOW_CHILDREN_EXTEND);
    Sphere obj = new Sphere(1.0f, Sphere.GENERATE_NORMALS | Sphere.GENERATE_TEXTURE_COORDS,
    5, app);
    //add to scene graph
    objTrans2.addChild(obj);
    newDynObj.addChild(objTrans2);
    newDynObj.compile();
    return newDynObj;
    call this ftn with:
    Space3DPanel.objTrans.addChild(createObject(createAppearance(workerType), 0.04, x, y, z, 2)); where objTrans is your tansformGroup
    Removing branchgroup:
    Its easy to add. But the trick is to delete/remove these !?! Detach doesnt seem to do anything. The method/pattern that works for me is to..
    1. make a new class subclassing BranchGroup like this:
    public class FinishedEntry extends BranchGroup
    { private String type;
    public FinishedEntry(){  }
    public FinishedEntry(String type)
    { this.type = type; }
    and
    public class RawEntry extends BranchGroup
    private String type;
    public RawEntry(){  }
    public RawEntry(String type)
    { this.type = type;}
    2. To when adding the BG to the TG of the parent (objTrans)
    add a BG of the type you subclassed.
    see (A) above.
    3. Now scan through the children of the TG that you have been adding these children to. Like this:
    static synchronized public void removeNodeFromModel(int workerType)
    try {
    switch (workerType)
    case 1: //raw Entry
    for (int i = 0; i < Space3DPanel.objTrans.numChildren(); i++)
    if (Space3DPanel.objTrans.getChild(i) instanceof RawEntry)
    Space3DPanel.objTrans.removeChild(i);
    break;
    break;
    case 2: //result Entry
    for (int i = 0; i < Space3DPanel.objTrans.numChildren(); i++)
    if (Space3DPanel.objTrans.getChild(i) instanceof FinishedNode)
    Space3DPanel.objTrans.removeChild(i);
    break;
    } //end for
    break;
    default:
    } catch (Exception e) { e.printStackTrace(); }
    The main idea is to use instanceof !! then use removeChild (see above).. Also, you can compile your BGs using this method.
    Thanks for the great forum!
    Jacob Pyrett
    [email protected]

    First, to add child nodes to a branch group, you must follow two rules:
    (1) The child you are adding to the branch group is also a BranchGroup
    (2) The BranchGroup.ALLOW_CHILDREN_EXTEND capability is set
    From here, you are able to add children on the fly.
    To remove a child from the branch group was harder to figure out, but I eventually got it to work. To accomplish this you must do the following:
    (1) have the capability BranchGroup.ALLOW_DETACH) set on the child BranchGroup you wish to remove.
    (2) call the child's detach() method rather than calling the parent's removeChild()
    Hope this helps.

  • Add/Edit Form with object

    OK, I'm somewhat of a newbie, but I know enough to make me dangerous. Here's my problem.
    I have a form that I want to use for both Adding a course and Editing an existing course. I have a Course object. My ideal situation is to check an "action" parameter when the page is loaded. If action == Add, then I would like to instantiate an object with default values, if action == Edit, then get the Course object that corresponds to the CourseID that is also passed in. The form values would be set to Course.getXXX(). That part is pretty basic.
    When the form is submitted I want to validate the fields. If they are valid, then update the DB, otherwise, go back to the form with the fields restored to the users input plus error messages. Here's where I am getting tripped up.
    First, I would like to save the Course object in the Request scope, so I check that first on the Form page. If a course already exists in the Request scope, then I use that Course object, otherwise I create a new Course object like I described in the first paragraph. The problem is really passing that on to the next page that does the validating. I was told to use a JSP tag and setProp="*" blah blah blah, then call a validate method. The question I have is what happens to Course fields that are set to datatypes such as long or timestamp ??? And what kind of validate method should I write? Should I pass it a long or String? Do I really have to write TWO validation methods for every field I have that isn't a String? What's the most common way to do this? And should I validate BEFORE I try to set properties? Maybe through a static method or something?
    The other thought I had was to create a CourseView object in which everything field was a String, then I could validate, then if everything was fine and dandy, I could set or create a new Course object using CourseView and then update the DB. This would mean I would use the CourseView instead of Course for the forms. The problem I have is what's the best way to go about that? I'm not that familiar with abstraction, extending or implementing. What would work best? I would like to have the validation methods with the Course object and just utilize them in CourseView, but I'm sure there are loopholes to that.
    Oh, and the other big problem...null values. How do forms treat null, how do validation methods treat nulls and what about objects that require some fields but not others? Or even worse yet, a field that is not required unless another field is not null. There has to be an answer for this already.
    Oh yeah, Struts is out of the question for reasons to involved to go into here.
    I thank everyone in advance and hope any response help many more people then just I.

    Basically lets say I have this:
    AddEditForm.jsp
    <%@ import com.mycomp.Course, com.mycomp.CourseMgr %>
    <%
    String action = request.getParameter("action");
    Course crs;
    if (request.getAttribute("crs") != null){
    //if crs exisits in request, then form was submitted and rejected
    crs = request.getAttribute("crs");
    //otherwise this is the first time the page has been loaded
    } else if (action == add){
    crs = new Course();
    }else if (action == edit){
    //course_id is a long
    crs = CourseMgr.getCourse(course_id);
    %>
    <HTML>
    <BODY>
    <% Custom tag here to display errors from errorMsg hashtable %>
    <FORM action="process.jsp">
    <input type="text" name="course_id" value="<%=crs.getCourse_id()=%>">
    <input type="text" name="status" value="<%=crs.getStatus()=%>">
    <input type="text" name="created_by" value="<%=crs.getCreated_by()%>">
    <input type="text" name="created_date" value="<%=crs.getCreated_date()%>">
    </FORM>
    </BODY>
    </HTML>
    Process.jsp
    //Call validation methods and set methods
    //If everything validates OK, then call CourseMgr.setCourse(Course crs);
    //The question is, do I write the Course class to have all String values
    //and then change them to longs before I send to the DB?
    //Should I try to validate before I set course_id (my idea)
    //or set them and validate before I call setCourse() (someone else's)
    //If the later is the case, then the object must be very loose
    //and you have to trust that a person is going to call the validation
    //method. I would like to not allow sets without validation. The only
    //way I see it right now is to have a set for both String and long
    //and validations for both. You can still leverage all the code,
    //but it still seems stupid. I worked with ColdFusion for a while
    //and the loose datatypes were a god send for this kinda thing.
    Course.java
    import com.mycomp.CourseMgr;
    public class Course {
         private long course_id;
         private String status="";
         private String version;
    private long created_by;
    private Timestamp created_date;
    public static Hashtable errorMsg;
         public Course() {
    course_id = CourseMgr.getNextCourse_ID();
    public long getCourse_id(){
    return course_id;
    public void setCourse_id(long l){
    this.course_id = l;
    //I would like to be able to not have to write two sets
    //for every long. If the form input is named course_id
    //doing a setProp(*) should reflect it.
    //But it reflects as a String, doesn't it?
    //I also don't know if I should put a try in here.
    //A try is part of the validation method and it seems
    //redundant. But how do I ensure validation before set?
    public void setCourse_id(String s){
    this.course_id = Long.parseLong(s);
    public boolean validateCourse_id(long vL){
    if ( valUtils.isInRange(vL,"Course_id")){
    //if it's within a predetirmined range
    return true;
    }else{
    errorMsg.put("course_id","Course ID out of range.");
    return false;
    //I would love to be able to call only one validation method
    //but other objects need to use a long. It's only the
    //view that uses Strings all the time. I would like it
    //if the request could keep the form field for course_id as
    //the type t was meant to be.
    public boolean validateCourse_id(String vS){
    if ( valUtils.isPositiveLong(vS)){
    //if it can be parsedLong and is positive
    return validateCourse_id(Long.parseLong(vS));
    }else{
    errorMsg.put("course_id","Course ID is invalid Long.");
    return false;
    I really hope this helps. Thank you greatly in advance for any assitance.

Maybe you are looking for

  • Can't include a jsp in another jsp?

    I am useing Jbuilder7.0+wls7.0           I got the Exception:           "index.jsp": weblogic.utils.ParsingException: nested           TokenStreamException: antlr.TokenStreamException: Could not include           conn/conn.jsp           

  • Startdoc fails on Adobe PDF printer

    I am doing an hdc.startdoc on the Adobe PDF printer. It fails with a pop up message that asks me to repair the installation or not. Previously, I had several other adobe products (Acrobat Reader 7, Photoshop Elements 5.0, and Flash) on my system and

  • This software requires Mac OS X version 10.6.8 or later.

    I can not back up my new iphone 5 to y itunes because my apple computor won't let me upgrade my itunes. After I try to download the latest itunes, it tells me "This software requires Mac OS X version 10.6.8 or later" I don't know how to get it to dow

  • Green hue to black images ?

    My eMac (1.25 GHz,USB 2.0 model) looks fine when I look at any kind of photo or graphic on the screen. Unless it is a graphic that is mostly black. Like the iPhone page now on the Apple home page. When a black image is covering most of the screen the

  • What to enter in dropdown for eBook vendor? [was:Vixy143]

    This is all new to me, what do I put in the drop down on the Adobe Digital Editions to authorise my computer where it asksfor  eBook vendor ?