Design Time Bean Customizer validate Rule and use multiple time problem

Hi,
I have implement a custom validation rule ,add a design time bean customizer for my rule then register on datamodel project,i can use the graphic design time bean customizer and add my validate rule to my entity xml file,but when i add another instance to the same entity,data added to entity xml file was not correct,it may be not integrity or all data are same ,how can i do ? I found all bean validation with the same name ,it is the registered rule name "plsql rule", any suggestion are appreciative
thank you advance
li xin zhu 2007/09/08

Hi,
One thing you can do in the FOX would be to mark all fields in 'to be changed'. This will have the impact of having all data in the same data package and the FOX code will execute only once.

Similar Messages

  • ADF Faces: Design-time problems

    Hi!
    We are working at JetBrains on several JSF features, and we have some serious problems with components' behavior on design time. Can we recieve an engineer contact, who can be discussed these problems with?

    I think your question is still confusing - are you saying JetBrains is not used? Is this a pure ADF Faces issue? - it would also help people on the list if you can explain WHAT the actual component is and WHAT the problem you are seeing....
    Regards
    Grant

  • How to set up and use multiple Ext HD compatible with Windows w/o emulating

    I am in deep doodle and confused, sit down and get a cup of coffee cuz is going to be loooooong.
    I need some suggestions for my present situation. I have posted a similar question but I only got partial answer and I need to complete this task.
    I migrated to my Mac from Windows, and I still have a Windows XP laptop. At first, I formatted my Ext HD as FAT 32 but I noticed that it was too slow. I was suggested to reformat the drives back to Journal. However, recently I had to replace my internal HD and backed up all my data to several Ext. HD. Oh brother what a mistake, while my Mac was at Apple I couldn't get access to my files using my Windows XP laptop because all drives were formatted as Journal (only for Mac).
    At the moment, I have the following:
    1- Seagate (350 GB orig)- complete back up images 110 GB avail
    2- Maxtor ( 500 GB orig) - " " second copy 330 GB avail
    3- Old int w/ casing(150 GB orig) 3rd copy 78 GB avail - is working but not sure if it will last, I had this DR for a long time. All 3 DRs formatted as Journal
    4- Western Dig 1TB (new FW) 1TB avail
    I realized that at the rate that I am shooting I would be running out of space on the current Drives. So I bought 1TB Ext HD FW, but I am in great need from others with more experience than me in setting up a strategy to back up and using my Ext HD. I only use the Int. HD DR 250 GB for Apps only, anything else I use exclusively my Ext HD.
    So I would like to know which drive should I use as my primary one, and how I should set up the other subsequent drives as shown above. Do you think that I should reformat all the drives back to FAT 32, (what a task)? I'm also aware the 4 GB limitations. Or should I just format to FAT 32 the 1 TB, and can I partition the this drive and Format each partition with different format,ie. a couple NTFS and one FAT32.
    Thanks in advance to all

    You can also share a printer between the Mac/PC as well as files and mounted Volumes, see the Tiger articles here
    http://www.ifelix.co.uk/tech/
    You may want to use Bonjour for Windows on your PC
    http://www.apple.com/macosx/features/bonjour/
    Then there are VNC clients for Mac/PC that also allow you to actually control the other machine, if they aren't in the same room and you just need to check something quick that can be handy, it's kind of slow though for regular use.
    The main benefit of partitioning is being able to have different versions of bootable OS on them. You can try out Leopard on a new partition, while keeping your Tiger partition intact, you can have a XP/Vista partition for parallels or BootCamp, etc... other than that drives are pretty much fast enough, having smaller partitions probably won't realize any significant speed ups over searching the whole large drive.

  • Can i daisy chain external drives and use multiple disks for my iTunes libraries

    It's amazing how much content you can acquire. I've filled my 2TB external drive with content. I purchased another drive and daisy chained them. How do I get additional uploads to automatically go to the new drive? Itunes is indicating that the drive is "full".
    Please help! I've got 6 downloads effectively "paused"

    No, sorry, Time Machine can only back up to a single volume.
    Short of getting a larger disk, your best bet is to back up one drive (probably the OSX drive) with Time Machine, and use a different app to back up the other one to a different drive.  See the green box in Time Machine - Frequently Asked Question #27 for some suggestions.

  • How to create new rules and using 'From' condition ?

    All,
    I know, rules are a quota max as 256 ko.
    So, my problem is to move all mail from external writer of my directory.
    I want to create a folder Inbox\external where all mail have to be move on except internal mail.
    So I looked at :
    [-From <RecipientIdParameter[]>] ; [-FromAddressContainsWords <MultiValuedProperty>] and [-ExceptIfFrom <RecipientIdParameter[]>]  but, because of quota limitation, I could add all internal exchange recipients.
    Any idea ?
    Thanks

    Hi,
    If you would like to move the emails from external senders to a specific folder using Inbox rule.
    I’d recommend you create a  Dynamic Distribution Group and name it as
    internalrecipients. Then set it as All recipients in the filter tab. Now it is a group which contains all users and contacts in your organization.
    Next, set the Inbox rule in your client as below:
    Click on the Inbox folder and  new a Rule.
    Apply the rules on messages I receive.
    Send only to me.
    Move to the specified folder (new a folder named external).
    Except if from people or public group (internalrecipients).
    Run the rule now on message already in “Inbox”
    Finish.
    See if it works as you expected.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Can you make a page layout and use multiple pictures on one page for a slide presentation?

    I thought I remebered seeing a tutorial on how to make page layouts for use in your slide presentations. I can not find this now. I am using the theme of scrapbook but have several pictures that should go together on one page or frame. I do not have iphoto11. So I am more limited I think. I do not have time to upgrade at this point. Is there anyway to customize my slide presentation in this way?

    Hi
    Yes You can in iDVD make it to add a folder with Your pictures too (to be opened on PC/Mac - not viewed on DVD-player)
    Two ways
    • iDVD menu - down to Preferences and then select like this
    or by using "Editing for DVD-ROM"
    Yours Bemgt W

  • Question: clean and use multiple System Preparation

    Hi there, I am curious if this is possible:
    - How to clean the system preparation once it is set up ? I mean, I can create a system preparation, but I'd like to
    re-create it, and I dont see any "delete" button for erase the current system prep params.
    - is it possible to have multiple system preparations profiles ? or is it one for each pool?
    thanks again.
    -Oswaldo

    Hi Oswaldo,
    You can edit the system preparation file using the 'Edit System Preparation File' link on the Cloning tab of a Pool. There is no delete action for the system preparation but you can use the 'Apply System Preparation' checkbox on the Cloning tab of a Pool to enable or disable its use during cloning which will give you a similar end result.
    You can only have one system preparation file per pool
    Stephen

  • How to install and use multiple products on same machine

    Hi,
    I installed BEA portal 9.2 a while back. Now I also installed AquaLogic Service Bus 2.6.
    How can I configure one of them so that workshop refers to one type of domain at a time.
    As of now, first installed version seems to take precedence.
    Appreciate any help in this regards.
    Regards,
    mqassim

    Hi,
    I installed BEA portal 9.2 a while back. Now I also installed AquaLogic Service Bus 2.6.
    How can I configure one of them so that workshop refers to one type of domain at a time.
    As of now, first installed version seems to take precedence.
    Appreciate any help in this regards.
    Regards,
    mqassim

  • I have created and used multiple music libraries but I now find that my actual song les have picked up a prefix on the file location of file://localhost.

    Why has this happened and what is the easiest way of removing the prefix.

    Try this. Open one of your files. The window that contains your picture is named at the top. Command click on the name and you'll see the entire path starting with its name and then moving to the folder, the folder it is contained in, etc all the way to down to the hard drive volume name. This should tell you where to find the folder.

  • Solve Drive self-ejects and System Hangs when using MULTIPLE external drives!

    I've discovered what I think is the underlying reason for many folks reporting similar problems.  I bet that I can predict the GUIDs of the drives/docks/cases you're having trouble with!  I bet that if you look in Disk Utility, if you click on the drives, you'll find "Connection ID 13757101839304263"! 
    Oh and if you look in System Profiler and click on 'FireWire' or 'USB' you'll find the GUID 0x30E002E0454647 ! 
    What are the odds?  I shouldn't be able to predict them; theyr'e supposed to be unique, after all, but google that number and you'll see that a great many devices all use that GUID.   (13757101839304263 in decimal is the same thing as 30E002E0454647 in hex.)
    Mac OS seems to rely on them to be unique, and has fits when they aren't.  I haven't found a total solution yet, but in the meantime, running this in Terminal can help:
    sudo kextload /System/Library/Extensions/IOFireWireFamily.kext/Contents/PlugIns/AppleFWOHCI.k ext/
    Sometimes it helps to run this first to unload before loading the kext (kernel extension):
    sudo kextunload /System/Library/Extensions/IOFireWireFamily.kext/Contents/PlugIns/AppleFWOHCI.k ext/
    Enter your password if/when prompted, of course.
    In most cases, if you contact your hard drive manufacturer, they'll provide a utility that will fix the drive so that it actually has a truly unique GUID.
    I'm mad at Cavalry for hiding the problem and refusing to fix it, W.R.T. the two 1TB HDs I bought from them for around $500, when that was the going price.
    I figured it'd be helpful to create a user tip off the discussion in this thread: Disk Drive ejecting itself - https://discussions.apple.com/thread/2151621?start=615&tstart=0     This is my first attempt to create a tip.  I'm not sure I'm doing it right, but here goes.

    Sorry but this is just a really bad idea.
    1. The airport is ancient.. your speed will be terrible.
    2. Hubs filled with USB drives are never reliable.. disks refuse to spin up.. become unavailable.
    No.. don't do it.
    Plug USB3 hub into the mini and use multiple decent hard drives .. that is fine.. use thunderbolt hub.. use thunderbolt drives if you can afford it.. but never use USB drives on the network.
    3. Time Machine is not reliable to external drive on Airport Extreme.. Apple do not support it in any Extreme except the latest one.
    If you want the material available to the network buy a NAS. You can buy a cheap NAS of 8TB or so and another 8TB of USB drives which you plug into the NAS for backup.. however.. iphoto is not supposed to ever be put on network drives..
    Apple explicitly states you will corrupt it.
    http://support.apple.com/kb/TS5168 Although mostly about FAT32           it adds network drives.
    http://support.apple.com/kb/HT1198
    And I quote
    It's recommended that you store your iPhoto library on a locally mounted hard drive. Storing your iPhoto library on a network share can lead to poor performance, data corruption, or data loss. If you use both iPhoto and Aperture with the same library, using a Mac OS X Extended formatted volume is recommended. For more information, see Aperture: Use locally mounted Mac OS X Extended volumes for your Aperture library.
    For backup of the drives.. use Carbon Copy Cloner.. it is much better than TM as you can setup different job.. TM is really a single function.. !!

  • Problems using multiple joins for search

    I am new to dreamweaver and coding and I am battling to get my head around joining tables and using multiple joins to create a search result recordset.
    I have a the following tables setup;
    Venues table
    venueID
    name
    category (text)
    city
    provinceID (numeric)
    country
    maxcapacity
    Province table
    provinceID
    province (text)
    Category Table
    categoryID
    category (text)
    Max Conference Table
    conferencefacilitiesID
    venueID
    maxcapacity
    I am passing the search $_POST variables via a form and displaying it in a results page.
    I have successfully done the search using only one table the problem results in using multiple joins. I cam not sure of the syntax to use but have successfully created the results page, using the outer join to link the province, category and maxcapacity to the venues table. Not all the venues have conferencing so I think need to use outer join for conferencing.
    I can't seem to access the search and not sure if I can use the WHERE command to set varialbe 'category' = varCategory 
    Below is my code which doesn't work;
    SELECT wp_dbt_venues.venuesID, wp_dbt_venues.name, wp_dbt_venues.category, wp_dbt_venues.province, wp_dbt_venues.city, wp_dbt_province.provinceID, wp_dbt_province.province, wp_dbt_conferencefacilties.venueid, wp_dbt_conferencefacilties.maxcapacity
    FROM ((wp_dbt_venues LEFT OUTER JOIN wp_dbt_province ON wp_dbt_venues.province = wp_dbt_province.provinceID)  LEFT OUTER JOIN wp_dbt_conferencefacilties ON wp_dbt_venues.venuesID = wp_dbt_conferencefacilties.venueid)
    WHERE 'category'=varCategory
    I would like to get on variable working and then expand onto the others like WHERE maxcapacity < varCapacity

    Hi bregent
    Thank you for all the help, below is the code. I have clened it up as best I could as dreamweaver seems to add recordset everytime I edit it. I then have to delete the old code. It also seems adds a totalRows variable and moves one of the runtime variables to the totalRows variable. Its all very confusing but its working.
    Results Page
    <?php require_once('Connections/tova.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
       $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    if (isset($_POST['delegates'])) {
      $varDel_results = $_POST['delegates'];
    $varProv_results = "-1";
    if (isset($_POST['province'])) {
      $varProv_results = $_POST['province'];
    $varCat_results = "-1";
    if (isset($_POST['category'])) {
      $varCat_results = $_POST['category'];
    mysql_select_db($database_tova, $tova);
    $query_results = sprintf("SELECT wp_dbt_venues.venuesID, wp_dbt_venues.name, wp_dbt_venues.category, wp_dbt_venues.province, wp_dbt_venues.city, wp_dbt_province.provinceID, wp_dbt_province.province, wp_dbt_conferencefacilties.venueid, wp_dbt_conferencefacilties.maxcapacity FROM ((wp_dbt_venues LEFT OUTER JOIN wp_dbt_province ON wp_dbt_venues.province = wp_dbt_province.provinceID)  LEFT OUTER JOIN wp_dbt_conferencefacilties ON wp_dbt_venues.venuesID = wp_dbt_conferencefacilties.venueid) WHERE wp_dbt_venues.category = %s AND wp_dbt_venues.province = %s AND wp_dbt_conferencefacilties.maxcapacity < %s", GetSQLValueString($varCat_results, "text"),GetSQLValueString($varProv_results, "int"),GetSQLValueString($varDel_results, "int"));
    $results = mysql_query($query_results, $tova) or die(mysql_error());
    $row_results = mysql_fetch_assoc($results);
    $totalRows_results = mysql_num_rows($results);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <p>Search Results</p>
    <table width="200" border="1">
      <tr>
        <td> </td>
        <td>Name</td>
        <td>Category</td>
        <td>City</td>
        <td>Province</td>
        <td>Delegates</td>
      </tr>
      <?php do { ?>
        <tr>
          <td><?php echo $row_results['venuesID']; ?></td>
          <td><?php echo $row_results['name']; ?></td>
          <td><?php echo $row_results['category']; ?></td>
          <td><?php echo $row_results['city']; ?></td>
          <td><?php echo $row_results['province']; ?></td>
          <td><?php echo $row_results['maxcapacity']; ?></td>
        </tr>
        <?php } while ($row_results = mysql_fetch_assoc($results)); ?>
    </table>
    <p> </p>
    </body>
    </html>
    <?php mysql_free_result($results);
    ?>
    Search Page
    <?php require_once('Connections/tova.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    mysql_select_db($database_tova, $tova);
    $query_category = "SELECT category FROM wp_dbt_categories ORDER BY category ASC";
    $category = mysql_query($query_category, $tova) or die(mysql_error());
    $row_category = mysql_fetch_assoc($category);
    $totalRows_category = mysql_num_rows($category);
    mysql_select_db($database_tova, $tova);
    $query_province = "SELECT * FROM wp_dbt_province ORDER BY province ASC";
    $province = mysql_query($query_province, $tova) or die(mysql_error());
    $row_province = mysql_fetch_assoc($province);
    $totalRows_province = mysql_num_rows($province);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Search</title>
    </head>
    <body>
    <p><strong>Advanced Search</strong></p>
    <form action="results.php" method="post" name="form1" target="_blank" id="form1">
      <p>
        <label>Category
          <select name="category" id="category">
            <?php
    do { 
    ?>
            <option value="<?php echo $row_category['category']?>"<?php if (!(strcmp($row_category['category'], $row_category['category']))) {echo "selected=\"selected\"";} ?>><?php echo $row_category['category']?></option>
            <?php
    } while ($row_category = mysql_fetch_assoc($category));
      $rows = mysql_num_rows($category);
      if($rows > 0) {
          mysql_data_seek($category, 0);
                $row_category = mysql_fetch_assoc($category);
    ?>
          </select>
        </label>
      </p>
      <p>
        <label>Province
          <select name="province" id="province">
            <?php
    do { 
    ?>
            <option value="<?php echo $row_province['provinceID']?>"<?php if (!(strcmp($row_province['provinceID'], $row_province['provinceID']))) {echo "selected=\"selected\"";} ?>><?php echo $row_province['province']?></option>
            <?php
    } while ($row_province = mysql_fetch_assoc($province));
      $rows = mysql_num_rows($province);
      if($rows > 0) {
          mysql_data_seek($province, 0);
                $row_province = mysql_fetch_assoc($province);
    ?>
          </select>
        </label>
      </p>
      <p>
        <label>Delegates
          <input name="delegates" type="text" id="delegates" value="" />
        </label>
      </p>
      <p>
        <label>
          <input type="checkbox" name="Facilities" value="golf" id="Facilities_0" />
          Golf</label>
        <br />
        <label>
          <input type="checkbox" name="Facilities" value="game" id="Facilities_1" />
          Game</label>
        <br />
      </p>
      <p>
        <label>Search
          <input type="submit" name="submit" id="submit" value="Submit" />
        </label>
      </p>
    </form>
    <p> </p>
    </body>
    </html>
    <?php
    mysql_free_result($category);
    mysql_free_result($province);
    ?>

  • How to use Multiple Check Box control  to make a list of items in check box

    I have a use case where i have to save update list of items required, and i want to implement it through viewobject and use Multiple check box control, how do i go about it? Code snippet will be helpful........
    Edited by: jDev_08 on Nov 17, 2012 8:31 PM

    Hi,
    Always mention your JDev version.
    Check out the ADF Faces Demo : http://jdevadf.oracle.com/adf-richclient-demo/faces/components/index.jspx#%2Fcomponents%2FselectManyCheckbox.jspx (Hint : Code snippet is available in there itself).
    -Arun

  • Create Adobe Form using Design Time for Processes and Forms

    Hi all,
    I am trying to create a form that have 3 fields:
    1. pernr
    2. ename
    3. effective_date
    I done all the necessary setup of BADI ,class, interface and form.
    I need the step to step guide where you create the adobe form using the Design Time for Processes and Forms. Anyone have any idea?
    Edited by: Siong Chao on Jan 3, 2011 4:54 AM
    Edited by: Siong Chao on Jan 3, 2011 5:00 AM

    Hi,
    I couldn't get to your query..
    What do you mean by step by step procedure for a design time & process for forms.
    if you are a beginner and looking for basic examples to implement adobe forms there are lot of them in SDN, please search them.
    let me know if your query was a very specific one.
    Cheers,
    Sai

  • Strange :Design Time Bean Customizer does not display

    hi,I write a cutomer validator rule and create beaninfo class,bean customizer class.
    and register as a rule ,it works very well.then I modify customizer class,when I want to add new rule on a entity,neither default define property nor my custormerize swing bean display,but old defined rule can be edited through new customizer swing,why ? any advise are great
    thanks
    lixz

    The USB webcam seems to update the VideoMode to value of 4 (0 before). FrameInterval stays 0.
    No errors appear during the run. When you terminate, the following errors appears.
    The firewire camera, Bassler does not have the problem. It is the USB webcam that has this issue.
    Attachments:
    Bard_Design.jpg ‏15 KB

  • Question on PG design-time web bean: rendered false

    Is there a rule or documentation on the behavior of web beans in PG when design-time property rendered is set to False?
    Bean instance is unpredictable when using findChildRecursive method of OAWebBean.
    Use Case:
    Update is needed on an existing page. We want this new item to display only on specific scenario.
    public void processRequest(final OAPageContext pageContext, final OAWebBean webBean) {
        final boolean metCriteria = true;
        if (metCriteria) {
            final OAWebBean bean = (OAWebBean)webBean.findChildRecursive("BeanId"); //alas! bean can be null!
            bean.setRendered(true); 
    }Workaround is do it negatively w/c is a little inconvenient. Set design-time render to true, and do setRendered(false) in PR when new scenario criteria is not met. You want rendered property to be false by default so you are a little sure that original behavior is not affected.
    public void processRequest(final OAPageContext pageContext, final OAWebBean webBean) {
        final boolean metCriteria = false;
        if (!metCriteria) {
            final OAWebBean bean = (OAWebBean)webBean.findChildRecursive("BeanId");//Bean is never null.
            bean.setRendered(false);
    }Any ideas?

    Hi
    Better to segregate the EJB's and put it in seperate controller keep atmost 30 in one controller (you have around 3-4 component ). Any component which is going to use in other component is basically based on create on demand priniciple automatically by framework.
    or
    as given in point third create a component , with say 8-10 Custom Controller  implement the all the methods and put a same method signature in Component Controller, call the same through interface thats it.
    Best Regards
    Satish Kumar

Maybe you are looking for