Add Child Element Appears Twice on Different Panels?

Hi,
I am guessing that I must have done something wrong here. I
have two panels here that I have used a large amount of
Actionscript draw a diagram, and when the users finish making the
selections, it should bring users the result.
I have no problems with the result display of the first
panel, except that when the result changes to a different state,
the added child I attempt to add only to the second panel also gets
displayed on the first panel.
I have attached the entire code below, and I hope that
someone on the list could help me figure out what the problem is
here.
Thanks in advance.
Alice

"alice_data" <[email protected]> wrote in
message
news:[email protected]...
> Hi, Amy:
>
> Thanks for helping me figuring this out. The attached is
the code from
> my
> ShapesFactory.as
> What I have noticed is that if I shift around my
rectangle, if I shift
> my
> mx:AddChild element to
>
> <mx:AddChild relativeTo="{myCanvas4}"
position="lastChild">
> <mx:Label text="The answer to 5*4 is
{total_incidence}"
> id="text6" x="40.9" y="9.95" fontWeight="bold"
fontSize="12"/>
> </mx:AddChild>
>
> The text does show properly on the right tab, but if I
shift around the
> "rectangle," I do have the text hidden behind the
rectangle.
>
> Thanks again for your help.
>
> Alice
>
> // ActionScript file
>
> package {
>
> import flash.display.*;
>
> import mx.core.UIComponent;
>
> public class ShapesFactory extends Sprite
> {
> //some initial values
>
> public function Rectangle(x:int, y:int, width:int,
height:int,
> color:uint):UIComponent
> {
> var rect:UIComponent=new UIComponent();
> rect.graphics.lineStyle(1);
> rect.graphics.beginFill(color,2);
> rect.graphics.drawRect(x,y,width,height);
> rect.graphics.endFill();
> return rect;
> }
>
> }//class
> }//package
http://www.magnoliamultimedia.com/flex%5Fexamples/Alice/#
Also note that I slimmed down your ShapesFactory by making it
extend Object.
It doesn't need to extend Sprite.
Also note that with the way you're using it, I would probably
make it static
and would not instantiate it. Instead, I'd call the static
methods right
from the class:
package {
import flash.display.Graphics;
import mx.core.UIComponent;
public class ShapesFactory
//some initial values
public static function Rectangle(x:int, y:int, width:int,
height:int,
color:uint):UIComponent
var rect:UIComponent=new UIComponent();
rect.graphics.lineStyle(1);
rect.graphics.beginFill(color,2);
rect.graphics.drawRect(x,y,width,height);
rect.graphics.endFill();
return rect;
}//class
}//package
Then use it like this:
//don't put extra blank space in the UIComponent instead of
positioning it
myUIComponent = ShapesFactory.Rectangle(0, 0, 100, 30);
//position it here
myUIComponent.move(100, 100);
Also note that properties and methods of classes, by
convention, usually
start with lowercase letters, so you should consider renaming
the method
rectangle instead of Rectangle. By the same token, you shouls
consider
renaming the Result state to result.
HTH;
Amy

Similar Messages

  • Add child element by name with namespace

    I'm trying to add element by name that is in namespace. This call
    mod.addAppendStep ( Exp, XmlModify.Element, Name, Text )
    fails with error:
    Error: XmlModify::addStep: Cannot create content for step
    Name in abobe call is "my_ns:elem_name", query context is linked to that namespace (I tried query context not linked to namespace as well).

    If you want to add an element in a namespace, you need to do it using an empty name, and put the element (with namespace decl). E.g.:
    mod.addAppendStep(Exp, XmlModify.Element, "", "<my_ns:elem_name xmlns:my_ns='uri_for_my_ns' />").
    The exception you're seeing is saying that it can't create the content, and the content is created by parsing what is passed in, and <my_ns:elem_name/> is not well-formed (namespace prefix hasn't been mapped).
    Regards,
    George

  • Systemd device dev-disk-by\{stuff} appeared twice with sysfs diff path

    $ dmesg -l err
    [ 6.330201] systemd[1]: Device dev-disk-by\x2duuid-d527fcab\x2d1897\x2d46a1\x2d8324\x2d18de507f4993.device appeared twice with different sysfs paths /sys/devices/virtual/block/bcache0 and /sys/devices/virtual/block/bcache2
    [ 6.332384] systemd[1]: Device dev-disk-by\x2dlabel-raid0.device appeared twice with different sysfs paths /sys/devices/virtual/block/bcache2 and /sys/devices/virtual/block/bcache1
    [ 6.334041] systemd[1]: Device dev-disk-by\x2duuid-d527fcab\x2d1897\x2d46a1\x2d8324\x2d18de507f4993.device appeared twice with different sysfs paths /sys/devices/virtual/block/bcache0 and /sys/devices/virtual/block/bcache1
    [ 6.730564] systemd[1]: Device dev-disk-by\x2dlabel-raid0.device appeared twice with different sysfs paths /sys/devices/virtual/block/bcache2 and /sys/devices/virtual/block/bcache3
    [ 6.732213] systemd[1]: Device dev-disk-by\x2duuid-d527fcab\x2d1897\x2d46a1\x2d8324\x2d18de507f4993.device appeared twice with different sysfs paths /sys/devices/virtual/block/bcache0 and /sys/devices/virtual/block/bcache3
    [ 6.997304] systemd[1]: Device dev-disk-by\x2dlabel-jabod.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata4/host3/target3:0:0/3:0:0:0/block/sdc/sdc3 and /sys/devices/pci0000:00/0000:00:1c.7/0000:0c:00.0/ata17/host16/target16:0:0/16:0:0:0/block/sdf/sdf3
    [ 6.999960] systemd[1]: Device dev-disk-by\x2duuid-0d19cfc3\x2d7588\x2d4c19\x2db85e\x2dbf3a3db2d4a0.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata4/host3/target3:0:0/3:0:0:0/block/sdc/sdc3 and /sys/devices/pci0000:00/0000:00:1c.7/0000:0c:00.0/ata17/host16/target16:0:0/16:0:0:0/block/sdf/sdf3
    [ 7.003235] systemd[1]: Device dev-disk-by\x2dlabel-raid1.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata4/host3/target3:0:0/3:0:0:0/block/sdc/sdc2 and /sys/devices/pci0000:00/0000:00:1c.7/0000:0c:00.0/ata17/host16/target16:0:0/16:0:0:0/block/sdf/sdf1
    [ 7.005881] systemd[1]: Device dev-disk-by\x2duuid-99fd7889\x2dde7a\x2d4b30\x2d9745\x2d8ccb2b1ee75d.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata4/host3/target3:0:0/3:0:0:0/block/sdc/sdc2 and /sys/devices/pci0000:00/0000:00:1c.7/0000:0c:00.0/ata17/host16/target16:0:0/16:0:0:0/block/sdf/sdf1
    [ 7.194594] systemd[1]: Device dev-disk-by\x2dlabel-aroot.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1c.7/0000:0c:00.0/ata17/host16/target16:0:0/16:0:0:0/block/sdf/sdf4 and /sys/devices/pci0000:00/0000:00:01.1/0000:04:00.0/ata7/host6/target6:0:0/6:0:0:0/block/sde/sde1
    [ 7.197369] systemd[1]: Device dev-disk-by\x2duuid-3873d8ba\x2d9472\x2d4d92\x2dab0d\x2de94574bd0eae.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1c.7/0000:0c:00.0/ata17/host16/target16:0:0/16:0:0:0/block/sdf/sdf4 and /sys/devices/pci0000:00/0000:00:01.1/0000:04:00.0/ata7/host6/target6:0:0/6:0:0:0/block/sde/sde1
    [ 7.207859] systemd[1]: Device dev-disk-by\x2dlabel-raid1.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata4/host3/target3:0:0/3:0:0:0/block/sdc/sdc2 and /sys/devices/pci0000:00/0000:00:01.1/0000:04:00.0/ata7/host6/target6:0:0/6:0:0:0/block/sde/sde3
    [ 7.210477] systemd[1]: Device dev-disk-by\x2duuid-99fd7889\x2dde7a\x2d4b30\x2d9745\x2d8ccb2b1ee75d.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata4/host3/target3:0:0/3:0:0:0/block/sdc/sdc2 and /sys/devices/pci0000:00/0000:00:01.1/0000:04:00.0/ata7/host6/target6:0:0/6:0:0:0/block/sde/sde3
    [ 7.240459] systemd[1]: Device dev-disk-by\x2dlabel-aroot.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1c.7/0000:0c:00.0/ata17/host16/target16:0:0/16:0:0:0/block/sdf/sdf4 and /sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb2
    [ 7.243114] systemd[1]: Device dev-disk-by\x2duuid-3873d8ba\x2d9472\x2d4d92\x2dab0d\x2de94574bd0eae.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1c.7/0000:0c:00.0/ata17/host16/target16:0:0/16:0:0:0/block/sdf/sdf4 and /sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb2
    [ 8.062829] systemd[1]: Device dev-disk-by\x2dlabel-jabod.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata4/host3/target3:0:0/3:0:0:0/block/sdc/sdc3 and /sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb4
    [ 8.065328] systemd[1]: Device dev-disk-by\x2duuid-0d19cfc3\x2d7588\x2d4c19\x2db85e\x2dbf3a3db2d4a0.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata4/host3/target3:0:0/3:0:0:0/block/sdc/sdc3 and /sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb4
    I've been getting this since I upgraded systemd last week. I tried fixing some of these by removing partitions with the same label that I wasn't using, which worked. The reason I have so many partitions with the same label is due to btrfs. Each partition that makes up a volume in btrfs has the same label. Apparently systemd doesn't like this.
    Everything on my system seems to be working fine, however I would like to stop these errors since they are annoying/scary, but without having to reduce all my volumes to single.
    Last edited by nstgc (2015-04-26 15:53:20)

    I'm running with a wired-only set up. I'll have to wait for the weekend to look into the wireless angle, however I doubt that is the cause for me.
    Following dront78's example below is the output of "# hwinfo --partitions"
    75: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: bdUI.SE1wIdpsiiC
    Parent ID: 3OOL.7ppt9e3ai+9
    SysFS ID: /class/block/sda/sda1
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sda1
    Device Files: /dev/sda1, /dev/disk/by-id/ata-KINGSTON_SH103S3240G_50026B7234025EC8-part1, /dev/disk/by-id/wwn-0x6829766019904589826x-part1, /dev/disk/by-partuuid/77f1354c-3b20-454d-ba60-9dbab9bc8640, /dev/disk/by-uuid/ff387510-d0ad-498f-8d1b-576b26ed103e
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #74 (Disk)
    76: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: 2pkM.SE1wIdpsiiC
    Parent ID: 3OOL.7ppt9e3ai+9
    SysFS ID: /class/block/sda/sda2
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sda2
    Device Files: /dev/sda2, /dev/disk/by-id/ata-KINGSTON_SH103S3240G_50026B7234025EC8-part2, /dev/disk/by-id/wwn-0x6829766019904589826x-part2, /dev/disk/by-partuuid/44596381-4cfe-4a2d-8e7b-f6427cc089d0
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #74 (Disk)
    77: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: W__Q.SE1wIdpsiiC
    Parent ID: 3OOL.7ppt9e3ai+9
    SysFS ID: /class/block/sda/sda3
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sda3
    Device Files: /dev/sda3, /dev/disk/by-id/ata-KINGSTON_SH103S3240G_50026B7234025EC8-part3, /dev/disk/by-id/wwn-0x6829766019904589826x-part3, /dev/disk/by-partuuid/c9b404ec-f407-4081-a69c-9b10360d4cf7
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #74 (Disk)
    78: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: z9FV.SE1wIdpsiiC
    Parent ID: 3OOL.7ppt9e3ai+9
    SysFS ID: /class/block/sda/sda4
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sda4
    Device Files: /dev/sda4, /dev/disk/by-id/ata-KINGSTON_SH103S3240G_50026B7234025EC8-part4, /dev/disk/by-id/wwn-0x6829766019904589826x-part4, /dev/disk/by-partuuid/69c0972d-51ed-429c-acea-6e1afd7ebb1f
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #74 (Disk)
    80: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: h4pj.SE1wIdpsiiC
    Parent ID: WZeP.bTSLTpVNGx8
    SysFS ID: /class/block/sdb/sdb1
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdb1
    Device Files: /dev/sdb1, /dev/disk/by-id/ata-WDC_WD1003FBYX-01Y7B1_WD-WCAW33388736-part1, /dev/disk/by-id/wwn-0x17950130428369588225x-part1, /dev/disk/by-uuid/2c0f1039-2d4b-4f75-8fa4-529d19cd18fc
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #79 (Disk)
    81: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: 8G3o.SE1wIdpsiiC
    Parent ID: WZeP.bTSLTpVNGx8
    SysFS ID: /class/block/sdb/sdb2
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdb2
    Device Files: /dev/sdb2, /dev/disk/by-id/ata-WDC_WD1003FBYX-01Y7B1_WD-WCAW33388736-part2, /dev/disk/by-id/wwn-0x17950130428369588225x-part2, /dev/disk/by-label/aroot, /dev/disk/by-uuid/3873d8ba-9472-4d92-ab0d-e94574bd0eae
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #79 (Disk)
    82: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: bRJs.SE1wIdpsiiC
    Parent ID: WZeP.bTSLTpVNGx8
    SysFS ID: /class/block/sdb/sdb3
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdb3
    Device Files: /dev/sdb3, /dev/disk/by-id/ata-WDC_WD1003FBYX-01Y7B1_WD-WCAW33388736-part3, /dev/disk/by-id/wwn-0x17950130428369588225x-part3, /dev/disk/by-label/old-raid1, /dev/disk/by-uuid/dfa989d8-edac-4c7e-b6fc-45237e6a0ebc
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #79 (Disk)
    83: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: 2dZw.SE1wIdpsiiC
    Parent ID: WZeP.bTSLTpVNGx8
    SysFS ID: /class/block/sdb/sdb4
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdb4
    Device Files: /dev/sdb4, /dev/disk/by-id/ata-WDC_WD1003FBYX-01Y7B1_WD-WCAW33388736-part4, /dev/disk/by-id/wwn-0x17950130428369588225x-part4, /dev/disk/by-label/jabod, /dev/disk/by-uuid/0d19cfc3-7588-4c19-b85e-bf3a3db2d4a0
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #79 (Disk)
    85: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: mX79.SE1wIdpsiiC
    Parent ID: _kuT.rgQvtxWxfg6
    SysFS ID: /class/block/sdc/sdc1
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdc1
    Device Files: /dev/sdc1, /dev/disk/by-id/ata-WDC_WD1003FBYX-01Y7B1_WD-WMAW31235179-part1, /dev/disk/by-id/wwn-0x4611505914592251905x-part1, /dev/disk/by-uuid/80780835-de4b-462c-b7f0-2b389d3e2c2f
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #84 (Disk)
    86: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: DjND.SE1wIdpsiiC
    Parent ID: _kuT.rgQvtxWxfg6
    SysFS ID: /class/block/sdc/sdc2
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdc2
    Device Files: /dev/sdc2, /dev/disk/by-id/ata-WDC_WD1003FBYX-01Y7B1_WD-WMAW31235179-part2, /dev/disk/by-id/wwn-0x4611505914592251905x-part2, /dev/disk/by-label/raid1, /dev/disk/by-uuid/99fd7889-de7a-4b30-9745-8ccb2b1ee75d
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #84 (Disk)
    87: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: gudH.SE1wIdpsiiC
    Parent ID: _kuT.rgQvtxWxfg6
    SysFS ID: /class/block/sdc/sdc3
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdc3
    Device Files: /dev/sdc3, /dev/disk/by-id/ata-WDC_WD1003FBYX-01Y7B1_WD-WMAW31235179-part3, /dev/disk/by-id/wwn-0x4611505914592251905x-part3, /dev/disk/by-label/jabod, /dev/disk/by-uuid/0d19cfc3-7588-4c19-b85e-bf3a3db2d4a0
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #84 (Disk)
    88: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: 74uL.SE1wIdpsiiC
    Parent ID: _kuT.rgQvtxWxfg6
    SysFS ID: /class/block/sdc/sdc4
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdc4
    Device Files: /dev/sdc4, /dev/disk/by-id/ata-WDC_WD1003FBYX-01Y7B1_WD-WMAW31235179-part4, /dev/disk/by-id/wwn-0x4611505914592251905x-part4, /dev/disk/by-label/old-aroot, /dev/disk/by-uuid/b396dd50-e3f1-4b74-8cac-7d8d79a75386
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #84 (Disk)
    90: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: r_Ra.SE1wIdpsiiC
    Parent ID: Rw8Y.lfY9_MpZuK1
    SysFS ID: /class/block/sdd/sdd1
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdd1
    Device Files: /dev/sdd1, /dev/disk/by-id/ata-ST4000NM0053-1C1170_Z1Z6NSNF-part1, /dev/disk/by-id/wwn-0x14865109125905272832x-part1, /dev/disk/by-partlabel/Microsoft\x20reserved\x20partition, /dev/disk/by-partuuid/f3e9ce24-988d-40ef-bd5c-6313c808bef2
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #89 (Disk)
    91: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: IAie.SE1wIdpsiiC
    Parent ID: Rw8Y.lfY9_MpZuK1
    SysFS ID: /class/block/sdd/sdd2
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdd2
    Device Files: /dev/sdd2, /dev/disk/by-id/ata-ST4000NM0053-1C1170_Z1Z6NSNF-part2, /dev/disk/by-id/wwn-0x14865109125905272832x-part2, /dev/disk/by-partlabel/Basic\x20data\x20partition, /dev/disk/by-partuuid/f3344931-99c3-11e4-8601-806e6f6e6963, /dev/disk/by-uuid/30F403F0F403B75E
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #89 (Disk)
    92: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: lLyi.SE1wIdpsiiC
    Parent ID: Rw8Y.lfY9_MpZuK1
    SysFS ID: /class/block/sdd/sdd3
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdd3
    Device Files: /dev/sdd3, /dev/disk/by-id/ata-ST4000NM0053-1C1170_Z1Z6NSNF-part3, /dev/disk/by-id/wwn-0x14865109125905272832x-part3, /dev/disk/by-partlabel/EFI\x20system\x20partition, /dev/disk/by-partuuid/ffbaa0cc-99c7-11e4-8625-806e6f6e6963, /dev/disk/by-uuid/0DE5-0CB0
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #89 (Disk)
    93: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: CXCn.SE1wIdpsiiC
    Parent ID: Rw8Y.lfY9_MpZuK1
    SysFS ID: /class/block/sdd/sdd4
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdd4
    Device Files: /dev/sdd4, /dev/disk/by-id/ata-ST4000NM0053-1C1170_Z1Z6NSNF-part4, /dev/disk/by-id/wwn-0x14865109125905272832x-part4, /dev/disk/by-partlabel/Basic\x20data\x20partition, /dev/disk/by-partuuid/ffbaa0b6-99c7-11e4-8625-806e6f6e6963, /dev/disk/by-uuid/FE2648382647EFE7
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #89 (Disk)
    94: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: fiSr.SE1wIdpsiiC
    Parent ID: Rw8Y.lfY9_MpZuK1
    SysFS ID: /class/block/sdd/sdd5
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdd5
    Device Files: /dev/sdd5, /dev/disk/by-id/ata-ST4000NM0053-1C1170_Z1Z6NSNF-part5, /dev/disk/by-id/wwn-0x14865109125905272832x-part5, /dev/disk/by-label/flbck, /dev/disk/by-partuuid/bd84f197-066e-4b9e-bf9b-b0b3a4090cde, /dev/disk/by-uuid/832bcc8d-836e-4b4e-8d9c-0a19f5bcf7dd
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #89 (Disk)
    95: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: 6uiv.SE1wIdpsiiC
    Parent ID: Rw8Y.lfY9_MpZuK1
    SysFS ID: /class/block/sdd/sdd6
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdd6
    Device Files: /dev/sdd6, /dev/disk/by-id/ata-ST4000NM0053-1C1170_Z1Z6NSNF-part6, /dev/disk/by-id/wwn-0x14865109125905272832x-part6, /dev/disk/by-partuuid/8f77bc79-ba57-462e-8beb-d09db5c77490
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #89 (Disk)
    96: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: oKuO.SE1wIdpsiiC
    Parent ID: Rw8Y.lfY9_MpZuK1
    SysFS ID: /class/block/sdd/sdd7
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdd7
    Device Files: /dev/sdd7, /dev/disk/by-id/ata-ST4000NM0053-1C1170_Z1Z6NSNF-part7, /dev/disk/by-id/wwn-0x14865109125905272832x-part7, /dev/disk/by-partuuid/7ca3eb27-d198-4915-9c71-e96fa7a34d8b, /dev/disk/by-uuid/fd43f1bd-9f52-41b7-badc-4ab7881473ee
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #89 (Disk)
    97: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: GW8T.SE1wIdpsiiC
    Parent ID: Rw8Y.lfY9_MpZuK1
    SysFS ID: /class/block/sdd/sdd8
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdd8
    Device Files: /dev/sdd8, /dev/disk/by-id/ata-ST4000NM0053-1C1170_Z1Z6NSNF-part8, /dev/disk/by-id/wwn-0x14865109125905272832x-part8, /dev/disk/by-partuuid/550f9e19-c0ec-4474-9e98-84c727854158
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #89 (Disk)
    98: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: cPdt.SE1wIdpsiiC
    Parent ID: Rw8Y.lfY9_MpZuK1
    SysFS ID: /class/block/sdd/sdd10
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdd10
    Device Files: /dev/sdd10, /dev/disk/by-id/ata-ST4000NM0053-1C1170_Z1Z6NSNF-part10, /dev/disk/by-id/wwn-0x14865109125905272832x-part10, /dev/disk/by-label/bckup, /dev/disk/by-partuuid/de7eaa1e-66b0-4058-ad71-d0f8ea470b2f, /dev/disk/by-uuid/723d7788-8514-4777-8e07-e0faa48c9a83
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #89 (Disk)
    100: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: wRm+.SE1wIdpsiiC
    Parent ID: u5Pc.jfv0tLKpnVA
    SysFS ID: /class/block/sde/sde1
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sde1
    Device Files: /dev/sde1, /dev/disk/by-id/ata-ST2000NM0053-1C1175_Z1X48TVG-part1, /dev/disk/by-id/wwn-0x9832618751734861824x-part1, /dev/disk/by-label/aroot, /dev/disk/by-uuid/3873d8ba-9472-4d92-ab0d-e94574bd0eae
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #99 (Disk)
    101: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: Nd04.SE1wIdpsiiC
    Parent ID: u5Pc.jfv0tLKpnVA
    SysFS ID: /class/block/sde/sde2
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sde2
    Device Files: /dev/sde2, /dev/disk/by-id/ata-ST2000NM0053-1C1175_Z1X48TVG-part2, /dev/disk/by-id/wwn-0x9832618751734861824x-part2, /dev/disk/by-uuid/aa19d2cf-e59d-4277-a5e6-d0078ede6d3b
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #99 (Disk)
    102: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: qoG8.SE1wIdpsiiC
    Parent ID: u5Pc.jfv0tLKpnVA
    SysFS ID: /class/block/sde/sde3
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sde3
    Device Files: /dev/sde3, /dev/disk/by-id/ata-ST2000NM0053-1C1175_Z1X48TVG-part3, /dev/disk/by-id/wwn-0x9832618751734861824x-part3, /dev/disk/by-label/raid1, /dev/disk/by-uuid/99fd7889-de7a-4b30-9745-8ccb2b1ee75d
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #99 (Disk)
    103: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: H_WC.SE1wIdpsiiC
    Parent ID: u5Pc.jfv0tLKpnVA
    SysFS ID: /class/block/sde/sde4
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sde4
    Device Files: /dev/sde4, /dev/disk/by-id/ata-ST2000NM0053-1C1175_Z1X48TVG-part4, /dev/disk/by-id/wwn-0x9832618751734861824x-part4
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #99 (Disk)
    105: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: +u4R.SE1wIdpsiiC
    Parent ID: LHfg.eZsVjjzwg10
    SysFS ID: /class/block/sdf/sdf1
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdf1
    Device Files: /dev/sdf1, /dev/disk/by-id/ata-WDC_WD1003FBYX-01Y7B1_WD-WCAW33509457-part1, /dev/disk/by-id/wwn-0x8355873293896667137x-part1, /dev/disk/by-label/raid1, /dev/disk/by-uuid/99fd7889-de7a-4b30-9745-8ccb2b1ee75d
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #104 (Disk)
    106: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: S4LV.SE1wIdpsiiC
    Parent ID: LHfg.eZsVjjzwg10
    SysFS ID: /class/block/sdf/sdf2
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdf2
    Device Files: /dev/sdf2, /dev/disk/by-id/ata-WDC_WD1003FBYX-01Y7B1_WD-WCAW33509457-part2, /dev/disk/by-id/wwn-0x8355873293896667137x-part2, /dev/disk/by-uuid/96fa47c5-061d-4849-8582-7186cc1695d2
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #104 (Disk)
    107: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: vFbZ.SE1wIdpsiiC
    Parent ID: LHfg.eZsVjjzwg10
    SysFS ID: /class/block/sdf/sdf3
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdf3
    Device Files: /dev/sdf3, /dev/disk/by-id/ata-WDC_WD1003FBYX-01Y7B1_WD-WCAW33509457-part3, /dev/disk/by-id/wwn-0x8355873293896667137x-part3, /dev/disk/by-label/jabod, /dev/disk/by-uuid/0d19cfc3-7588-4c19-b85e-bf3a3db2d4a0
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #104 (Disk)
    108: None 00.0: 11300 Partition
    [Created at block.414]
    Unique ID: NRrd.SE1wIdpsiiC
    Parent ID: LHfg.eZsVjjzwg10
    SysFS ID: /class/block/sdf/sdf4
    Hardware Class: partition
    Model: "Partition"
    Device File: /dev/sdf4
    Device Files: /dev/sdf4, /dev/disk/by-id/ata-WDC_WD1003FBYX-01Y7B1_WD-WCAW33509457-part4, /dev/disk/by-id/wwn-0x8355873293896667137x-part4, /dev/disk/by-label/aroot, /dev/disk/by-uuid/3873d8ba-9472-4d92-ab0d-e94574bd0eae
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #104 (Disk)
    i don't have time to look at this in detail this morning, but I will this afternoon.
    Thank you for all the replies. Have any of you found this to actually be damaging?
    [edit] In an effort to not be completely lazy, and because I was curious, I did check a bit into netctl. Running "$ netctl list" returned exactly nothing. I have no profiles.
    [edit2]
    I just ran "$ dmesg -l err" on my laptop and I'm not getting any errors.
    Last edited by nstgc (2015-04-27 15:09:46)

  • ADF Faces showDetailItem seems to "load" child elements twice on tab select

    Problem Summary:
    Child elements of showDetailItem are being loaded/executed twice. The parent of the showDetailItem is a showOneTab, and the child of showDetailItem is an af:objectImage, which calls a servlet I have written that outputs an image.
    The problem I am having is that when I click on a tab (showDetailItem) my servlet is called twice. It is as if the af:objectImage line of my JSP is executed twice.
    I have proven this with breakpoints in the servlet and printing a message to the console. The doGet() method of my servlet is called twice. Using breakpoints in the JSP I see the JSP is executed/read only once.
    Details:
    I am requesting help with this problem as I cannot solve it one my own. I have tried the following, but have had no success.
    1. Searched the web for a similar problem.
    2. Searched this forum for a similar problem.
    3. Consulted the ADF Developer Guide version 10.1.3.0
    4. Upgraded my version of JDeveloper to 10.1.3.2.0, which has ADF Faces (oracle.faces.dt) version 10.1.3.40.66.
    5. Debugging with print statements and stepping through JSP and servlet code.
    6. Created the simplest JSP possible that I could still produce the problem with.
    The Scenario:
    My goal is to use the ADF Faces showOneTab and showDetailItem tags to create two tabbed panels that will contain a blank tab (tab one) and an image (on tab 2).
    I have written a servlet, BrowserImage, which takes and ID as a parameter retrieves a BLOB from view object and then outputs a jpeg image to the browser. This is done by using the af:objectImage tag and specifying my servlet in the source parameter. The image is displayed fine, but I don't want the servlet to be called twice for performance reasons.
    Here is the simplest JSP that contains the problem.
    Note: I tried to simplify even more by calling the servlet in different ways (jsp:include etc..), but was unable to produce the problem. I think it is key that I call the servlet using an ADF Faces tag (af:objectImage).
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ page import="javax.faces.context.FacesContext"%>
    <%@ page import="javax.faces.el.ValueBinding"%>
    <%@ page import="oracle.adf.model.BindingContext"%>
    <%@ page import="oracle.adf.model.binding.DCDataControl"%>
    <%@ page import="oracle.jbo.ApplicationModule"%>
        <%! FacesContext fc = FacesContext.getCurrentInstance(); %>
        <%! ValueBinding vb = fc.getApplication().createValueBinding("#{data}"); %>
        <%! BindingContext bc = (BindingContext)vb.getValue(fc); %>
        <%! DCDataControl dc = bc.findDataControl("AdSearchAppModuleDataControl"); %>
        <%! ApplicationModule am = (ApplicationModule)dc.getDataProvider();%>
        <% session.setAttribute("theAm", am); %>  
    <f:view>
      <afh:html>
        <afh:head title="showOneTest">
          <meta http-equiv="Content-Type"
                content="text/html; charset=windows-1252"/>
        </afh:head>
        <afh:body>
          <af:form>
            <af:showOneTab position="above">
              <af:showDetailItem text="showDetailItem 1">
              </af:showDetailItem>
              <af:showDetailItem text="showDetailItem 2">
                <af:objectImage source="/BrowserImage?imgId=1"/>
              </af:showDetailItem>
            </af:showOneTab>
          </af:form>
        </afh:body>
      </afh:html>
    </f:view>Note: The Java Script code included in the JSP is used to get an application module instance and pass it to my servlet in the session scope, so my servlet can access a view object, which contains the BLOB to output. I thought I should explain this as it may look confusing.
    Any help would be appreciated.
    Thanks,
    Mark

    I don't think adding a flag to my servlet will work. I left out some details in the original posting that will likely make the flag solution unusable.
    It is true that when I click on a tab that my servlet is called twice. My main goal is to ensure that the BrowserImage servlet only called when truly needed. The part I left out of the original posting is that if I click on a tab for the first time I can see my messages in the console indicating it was called twice.
    . BrowserImage severlet called (doGet)
    . BrowserImage servlet called (doGet)
    The key is if I click on the tab again I only see the message appear once.
    . BrowserImage severlet called (doGet)
    At first I thought this was the correct behavior, but I now feel this is wrong as I think the image is being cached locally on the client browser by ADF Faces, so the first call to BrowserImage is not made, but for some reason on the second "load" of the panel the BrowserImage servlet is called.
    To summarize the new details, I still think the showDetailItem is "loading" twice, but BrowserImage is only being called once, because the first loading used a locally cached image. This is my best guess, I did not prove this 100%. I did prove that the image is shown on the page before my servlet outputs it this made me start thinking about the client cache. Also I think it is an ADF Faces specific cache because if I use the "img" tag I don't think caching is used and the image is output by the call to my servlet. I don't want to use img for two reasons, 1 I would d like to use the client cache, 2 the img tag will not stay inside the showDetailItem, showDetail Item needs af: components as children it seems.
    So the reason I feel this problem can't be solved with a flag is because I think the image will be cached on the client side and if the showDetailItem is loaded twice it seems my servlet is called once, but it was not required to be called to render the image. I can't use the concept of checking for the servlet being called by the same session in very quick succession, because the real problem I am trying to solve is the servlet should not be called at all, if the client cache had been used.
    Perhaps there is a way for my servlet to determine if the client cache was used, but I have no idea how.
    I should also point out I am displaying images in a table instead of a showOneTab using the same servlet and technique and the client cache is always used correctly, the BrowserImage is only called if the image is not cached on the client. This is why I think this is a showOneTab problem.
    Sorry for leaving out these details, but I did not want to confuse the original posting with too much info. I figured if the tab was only loaded once, the cached image would be used and all would be good.
    Again if you can provide more help I really appreciate it.

  • Urgent!!!Want to add different panels in different rows..

    i am trying to add different Panels in differnt rows of same column..
    But each time i am getting the default panel which is being retuned by the MyTableCellRenderer class which i have implemented from TableCellRenderer .
    Would you like reply whats wrong in my approach...Can anyone modify my code???
    public class TablePanel extends JPanel
    JTable alertInsertTable;
    JScrollPane alertInsertPane;
    String columnnames[]={"Insert Alert"};
    Object[][] values={
    new JPanel()
    DefaultTableModel tableModel= new DefaultTableModel(values,columnnames);
    TablePanel()
    setLayout(new BorderLayout());
    alertInsertTable= new JTable(tableModel);
    alertInsertPane = new JScrollPane(alertInsertTable);
    alertInsertTable.setAutoResizeMode(JTable.AUTO_RESIZE_ALL_COLUMNS);
    this.add(alertInsertPane,BorderLayout.CENTER);
    setDataInTable();
    public void setDataInTable()
    int count=0;
    alertInsertTable.setRowHeight(80);
    MyTableCellRenderer ob=new MyTableCellRenderer();
    this.alertInsertTable.getColumn("Insert Alert").setCellRenderer(ob);
    JPanel panel1=new JPanel();
    JPanel panel2=new JPanel();
    panel1.add(new JLabel("HIiiiiiiiiiiiiiii"));
    panel2.add(new JLabel("Hellooooooooooooo"));
    Object[] ob1={panel1};
    Object[] ob2={panel2};
    model.addRow(ob1);
    //its always adding to the Panel with label new JLabel("Oppsssss")
    //which is the panel instance returned by MyTableCellRender
    model.addRow(ob2);
    // this also adding to the Panel with label new JLabel("Oppsssss")
    //which is the panel instance returned by MyTableCellRender
    // ? What code should i write here so that i can add panel1 and panel2
    //which i have created here.
    class MyTableCellRenderer extends JPanel implements TableCellRenderer
    public Component getTableCellRendererComponent(JTable table, Object value,
    boolean isSelected, boolean hasFocus, int rowIndex, int vColIndex)
         JPanel panel = new JPanel();
         panel.add(new JLabel("Oppsssss"));
    return panel;
    }

    Only three exclamation marks; can't be that urgent.And only 1 cross-post...
    Let's continue here:
    http://forum.java.sun.com/thread.jspa?threadID=742590

  • I need the XML elements appear in different paragraphs ...  Could do this with a script?

    I need the XML elements appear in different paragraphs ...
    Could do this with a script?
    Thanks...

    You can use this / Puedes usar esto
    insertTextAsContent("\n",XMLElementPosition.beforeElement);                  
    //  or             
    insertTextAsContent("\r", XMLElementPosition.afterElement);
    Necesitaria mas información,

  • Word 2007, Add-ins menu, items appear twice ...

    Hi
    I'm using win7 word 2007 and OPM 10.1.
    I'm attending a course in OPA/OPM and we have seen that the Add-ins menu appear weird.
    Several students that attend the course are seeing the same phenomena.
    If I select the add-in tab in word, the OPM short cuts appear twice, first one set, then when I scroll further to the right a second set appears.
    It is only the right most set that works.
    If I hover the mouse over the first set smiley face, the tooltip says "Haley Office Rules: Compile (Alt+R) ". If I check the tooltip of the rightmost set it says, "Oracle Policy Modeling: Compile (Alt+R)"
    I have only installed OPM 10.1 on this pc. Not any older version (like old Haley versions)
    kind regards,
    Michael

    Hi
    Try these 3 tips to restore the toolbar to how it should display:
    1. With your project open in Oracle Policy Modeling, run Update Oracle Policy Templates from the Tools menu. This will attempt to make sure the correct Word template is attached to each project Word document that is not currently excluded from the build. Open a Word document to see if the toolbar/ribbon is now displayed correctly. If not, continue to step 2.
    2. Try resetting the UI language for your project. To do this, choose Options from the Tools menu in Oracle Policy Modeling. Select Environment. Select General. Under Authoring UI Language, choose a language other than your preferred UI language, and click OK. Then repeat these steps to revert to your preferred language. Open a Word document to see if the toolbar/ribbon is now displayed correctly. If not, continue to step 3.
    3. Open one of the Word documents in your Policy Modeling project. Run the macro UpdateToolbar: In Word 2007, choose the View ribbon, then select Macros/View Macros, highlight the UpdateToolbar macro, then choose Run.
    Regards
    Matthew Bickham
    Applications Consulting Project Manager, Phone: +447787 570634
    Email: [email protected], Oracle Policy Automation, United Kingdom

  • Order By Clause For Retrieving Child Elements

    Hi All,
    I got a toplink question regarding adding an order by clause for retrieving the child elements in a 1 to many mapping.
    I have an Order with a collection of Order Events. ( one to many mapping). The OrderEvent model is the super class of all events and it is abstract. The mapping for the order event descriptors has a class hierarchy mapping which uses a table for its super class (i.e OrderEvent abstract class) and different tables for its sub class elements (e.g ShippingEvent, LifeCycleEvent etc which are concrete classes).
    If I add an order by clause to order the event by a spuerClassProperty in the super class descriptor, it gets ignored and the ordering is done by the alphabetic order of the indicator field values.
    I also noticed that if there is more than one sub class instance for a specific class indicator value, the ordering by is observed.
    I got around it with a Comparator, but just want to know if it could be possible to achieve this with toplink.
    Regards.

    Does the Order By appear on the SQL that get issued? TopLink only does ordering on the database, and not in memory. This means that subclass queries will be ordered per type, on not as one big list.
    A Comparator is a good solution.

  • How to add a Description Column in the Content Panel (Bridge CS5)

    Hi,
    Is it possible to add a Description Column in the Content Panel. If so, how?
    I'm talking about the Description from the IPTC Core data and I'm using Bridge CS5.
    Thanks in advance,
    Frank

    This is the screenshot of the Metadata Workspace with the Content Panel (not Metadata Panel). As you can see it shows Name, Label, Keywords etc. but it's not possible to show Description in that list as a column.
    I still agree that it would be a big bonus if you could alter this workspace with description field (even with more lines etc) but what Curt shows you might be an alternative. I couldn't help noticing that you have not created your own custom workspaces.
    Try and play with this. You have the option to divide the window in 3 columns max but you can create different panels as a row in 1 column.
    Grabbing a tab and move it to a new location until a single blue line appears (between the borders, a bit tricky). A vertical blue line means as a column and a horizontal line means a row. A surrounding blue line means same panel but adding as a tab. You can rearrange the tabs by dragging to left or right. under the menu window you can select which panels are visible or use right mouse click menu on top of a panel to choose.
    Sadly enough only 3 columns and only one panel of it's kind per workspace, but you can resize the panels also to your own workflow needs.
    In Bridge preferences you can change the colors for background in the general tab and in the metadata tab you can select what info to view in certain sections. Personally I have set my IPTC to view only description, keywords, date created and a few other subjects.
    That is the nice thing about Bridge, creating custom workspaces, save them and being able to recreate them without problems :-)
    I attach some screenshot of my daily workflow (with the luxury of having a 30' screen) but there are plenty of other options possible, don't forget to name and save your workspace.

  • OutputLabes, values in selectOneChoice are appearing twice in the jspx page

    Hi All,
    In a Jspx Page, there are two menu tabs. Each Tab has a PanelForm and each panelform has certain components.
    By default the first panelform in the first tab will be shown on page load and while clicking on second tab, the second panelform will be shown.
    The first panelform has three selectonechoices and three command buttons.
    If i click on reset button, these 3 selectonechoices are set to null by backing bean.
    Here comes the problem, after clicking on reset, if you click on second tab where the second panel form available, certain components like outputLabel and the values in selectOnechoice, are appearing twice on the page.
    Can anyone suggest me how to get rid of this problem..
    Here is my Jspx Page..
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:loadBundle basename="GeneralAdmin" var="gadmin"/>
    <f:loadBundle basename="HoldCapabilites" var="holdc"/>
    <f:view>
    <afh:html>
    <afh:head title="editManualProfileAttributes">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <script type="text/javascript">
    function cancel() {
    var flag = false;
    flag=window.confirm('You want to discard the entered data');
    return flag;
    </script>
    </afh:head>
    <afh:body>
    <af:messages/>
    <h:form>
    <afh:tableLayout>
    <afh:rowLayout width="100%">
    <jsp:include page="/jsps/webutils/template/header.jsp"/>
    </afh:rowLayout>
    <afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:menuPath>
    <af:commandMenuItem text="#{gadmin.admin}" action="adminHome"/>
    <af:commandMenuItem text="#{gadmin.epaAttr}" selected="true"/>
    </af:menuPath>
    </afh:rowLayout>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="20"/>
    </afh:rowLayout>
    <afh:rowLayout halign="center" valign="bottom">
    <afh:cellFormat width="20%" height="20px" valign="bottom">
    <af:menuTabs>
    <af:commandMenuItem text="#{gadmin.epAttr}"
    action="#{EditManualProfileAttributes.firstTab}"
    binding="#{EditManualProfileAttributes.commandMenuItem2}"
    id="commandMenuItem2"/>
    <af:commandMenuItem text="#{gadmin.auditHistory}"
    action="#{EditManualProfileAttributes.secondTab}"
    binding="#{EditManualProfileAttributes.commandMenuItem1}"
    id="commandMenuItem1"/>
    </af:menuTabs>
    </afh:cellFormat>
    <afh:cellFormat styleClass="bottomLine" width="80%"
    height="20px" valign="bottom">
    <af:objectSpacer height="1" width="1"/>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="100%" height="10"/>
    </afh:rowLayout>
    <af:panelForm id="panelForm1" width="100%"
    binding="#{EditManualProfileAttributes.panelForm1}">
    <afh:rowLayout width="100%">
    <afh:cellFormat width="15%">
    <af:outputText value="#{gadmin.mpAttr}"
    inlineStyle="font-family:Arial; font-size:9.0pt; font-weight:bold;"/>
    </afh:cellFormat>
    <afh:cellFormat width="85%">
    <f:verbatim>
    <hr align="left"
    style="border-width:2.0px; color:rgb(219,238,243);"/>
    </f:verbatim>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="20"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <afh:cellFormat width="5%"/>
    <afh:cellFormat width="15%">
    <af:outputText value="#{gadmin.refName}"
    styleClass="outputText"/>
    <af:outputText value=" * "
    inlineStyle="font-size:10.0pt; font-family:Arial; color:rgb(255,0,0);"/>
    </afh:cellFormat>
    <afh:cellFormat width="80%">
    <af:selectOneChoice id="navList1" autoSubmit="true" partialTriggers="commandButton2"
    valuePassThru="true" unselectedLabel="Select"
    binding="#{EditManualProfileAttributes.navList1}"
    valueChangeListener="#{EditManualProfileAttributes.getDetails}">
    <af:forEach var="li"
    items="#{bindings.GetRefNamesVO1.rangeSet}">
    <af:selectItem label="#{li.ReferenceName}"
    value="#{li.Id}"/>
    </af:forEach>
    </af:selectOneChoice>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="10"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <afh:cellFormat width="5%"/>
    <afh:cellFormat width="15%">
    <af:outputText value="#{gadmin.refId}"
    styleClass="outputText"/>
    <af:outputText value=" * "
    inlineStyle="font-size:10.0pt; font-family:Arial; color:rgb(255,0,0);"/>
    </afh:cellFormat>
    <afh:cellFormat width="15%">
    <af:selectOneChoice id="navList2" autoSubmit="true"
    partialTriggers="navList1 commandButton2"
    binding="#{EditManualProfileAttributes.navList2}"
    valueChangeListener="#{EditManualProfileAttributes.getColumns}">
    <af:forEach var="li"
    items="#{bindings.LookupRefTableVO1.rangeSet}">
    <af:selectItem label="#{li.LookupDesc}"
    value="#{li.LookupId}"/>
    </af:forEach>
    </af:selectOneChoice>
    </afh:cellFormat>
    <afh:cellFormat width="15%">
    <af:selectOneChoice id="navList3"
    binding="#{EditManualProfileAttributes.navList3}"
    partialTriggers="navList1 navList2 commandButton2">
    <af:forEach var="li"
    items="#{bindings.EditRefColumnVO1.rangeSet}">
    <af:selectItem label="#{li.DetailDesc}"
    value="#{li.DetailsId}"/>
    </af:forEach>
    </af:selectOneChoice>
    </afh:cellFormat>
    <afh:cellFormat width="50%"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="10"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <afh:cellFormat width="5%"/>
    <afh:cellFormat width="6%">
    <af:outputText value="#{gadmin.stDt}"
    styleClass="outputText" id="outputText1"
    binding="#{EditManualProfileAttributes.outputText1}"/>
    </afh:cellFormat>
    <afh:cellFormat halign="left">
    <af:outputText value=" * " id="outputText2"
    binding="#{EditManualProfileAttributes.outputText2}"
    inlineStyle="font-size:10.0pt; font-family:Arial; color:rgb(255,0,0);"/>
    </afh:cellFormat>
    <afh:cellFormat width="4%"/>
    <afh:cellFormat width="80%">
    <af:selectInputDate id="startDate"
    binding="#{EditManualProfileAttributes.startDate}"
    partialTriggers="navList1 commandButton1 commandButton2">
    <af:convertDateTime pattern="dd/MMM/yy"/>
    </af:selectInputDate>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="10"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <afh:cellFormat width="5%"/>
    <afh:cellFormat width="15%">
    <af:outputText value="#{gadmin.edDt}"
    styleClass="outputText" id="outputText3"
    binding="#{EditManualProfileAttributes.outputText3}"/>
    </afh:cellFormat>
    <afh:cellFormat width="80%">
    <af:selectInputDate id="endDate"
    binding="#{EditManualProfileAttributes.endDate}"
    partialTriggers="navList1 commandButton1 commandButton2">
    <af:convertDateTime pattern="dd/MMM/yy"/>
    </af:selectInputDate>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="10"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <afh:cellFormat width="20%"/>
    <afh:cellFormat width="7%">
    <af:commandButton text="#{gadmin.save}"
    action="#{EditManualProfileAttributes.save}"
    id="commandButton1"
    binding="#{EditManualProfileAttributes.commandButton1}"/>
    </afh:cellFormat>
    <afh:cellFormat width="7%">
    <af:commandButton text="#{gadmin.reset}"
    action="#{EditManualProfileAttributes.reset}"
    id="commandButton2"
    binding="#{EditManualProfileAttributes.commandButton2}"/>
    </afh:cellFormat>
    <afh:cellFormat width="7%">
    <af:commandButton text="#{gadmin.cancel}"
    id="commandButton3"
    binding="#{EditManualProfileAttributes.commandButton3}"
    action="adminHome"
    onclick="return cancel()"/>
    </afh:cellFormat>
    <afh:cellFormat width="59%"/>
    </afh:rowLayout>
    </af:panelForm>
    <af:panelForm id="panelForm2" rendered="false" width="100%"
    binding="#{EditManualProfileAttributes.panelForm2}">
    <afh:rowLayout width="100%">
    <afh:cellFormat width="15%">
    <af:outputLabel value="#{holdc.mpaAttr}" id="abc"
    inlineStyle="font-family:Arial; font-size:9.0pt; font-weight:bold;"/>
    </afh:cellFormat>
    <afh:cellFormat width="85%">
    <f:verbatim>
    <hr align="left"
    style="border-width:2.0px; color:rgb(219,238,243);"/>
    </f:verbatim>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="20"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <afh:cellFormat width="15%">
    <af:outputLabel value="#{holdc.refeName}"
    styleClass="outputText"/>
    <af:outputLabel value=" * "
    inlineStyle="font-size:10.0pt; font-family:Arial; color:rgb(255,0,0);"/>
    </afh:cellFormat>
    <afh:cellFormat width="85%">
    <af:selectOneChoice id="navList4" autoSubmit="true"
    unselectedLabel="Select"
    valuePassThru="true"
    binding="#{EditManualProfileAttributes.navList4}"
    valueChangeListener="#{EditManualProfileAttributes.getVersions}">
    <af:forEach var="li"
    items="#{bindings.AuditRefNamesVO1.rangeSet}">
    <af:selectItem label="#{li.ReferenceName}"
    value="#{li.Id}"/>
    </af:forEach>
    </af:selectOneChoice>
    </afh:cellFormat>
    </afh:rowLayout>
    </af:panelForm>
    </afh:tableLayout>
    </h:form>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>

    Hi Puthanampatti,
    Thanks a lot for your reply, but i am using JDev 10.1.3.3. There is no panelFormLayout component and i am not using that component.
    Even i am strange this duplicating of components and values in selectoneChoice occuring from past 2 days in the old file. I am wondering whether my file got corrupted by any sort.
    Regards,
    R N V Prasad

  • One Components into 2 different panel problems

    Hi,
    I have one component, just call it A, and 2 different
    panels just call it PA and PB.
    I put A into PA and then I put A into PB,
    and display PA & PB into screen together.
    The problem is A is missing in PA but displayed
    into PB. I know this is behavior of AWT/Swing,
    but maybe some of you know how to solve
    this problem without creating two instances of A.
    Thank you in advance...

    You could make something like this:
    public class multicomponent
         Vector activecomponents=new Vector
         //all methods you intend to use on this component this way
         public method(somearg arg)
               for //all c in vector
                   c.method(arg);
          public void addto(Container co)
               comp=new yourcomponent();
               co.add(comp);
               activecomponents.add(comp);
    }You can enhance that by using weak references for the elements in the vector and you will have to think what to do for get methods.

  • Getting XML child elements

    Dear Indesign scripters,
    This script is making from all the XML tags ParagraphStyles.
    But it refuses to take the child elements. Do I have to use XPath expression? And how?
    function main() { 
      var xes, n, doc, ps, xe; 
      if ( !app.documents.length ) return; 
      doc = app.activeDocument;
      xes = doc.xmlElements[0].xmlElements; 
      n = xes.length; 
      while ( n-- ) { 
      xe = xes[n];
      st = doc.paragraphStyles.itemByName (xe.markupTag.name ); 
      !st.isValid && doc.paragraphStyles.add({name:xe.markupTag.name}); 
    main();
    The XML
    <Workbook> 
         <Element_A_01> 
              <Element_A_01></Element_A_01> 
         </Element_A_01> 
         <Element_B_02> 
              <Element_B_02></Element_B_02> 
         </Element_B_02> 
    </Workbook>
    Greetings from Holland

    The code creates two paragraph styles namely Element_A_01 and Element_B_02. These two are created for the immediate child nodes of the Workbook node. Now it seems that you are trying to create pstyles for all the nodes in the XML, which in your case would still be these two as Element_A_01 has a child node that is also named Element_A_01 and the same is the case for Element_B_02.
    If i get your point right then you need to create 4 pstyles if all the nodes have different names, but that is not working. For this you will have to recursively traverse each node that you get from the code xes[n].
    The code be something like this
    function main() {   
      var xes, n, doc, ps, xe;   
      if ( !app.documents.length ) return;   
      doc = app.activeDocument; 
      xes = doc.xmlElements[0].xmlElements; //This gives the immediate child nodes of the Workbook node, hence the length in the next statement is 2  
      n = xes.length;   
      while ( n-- ) {   
      xe = xes[n];   //Here you need to recursively traverse the node xe
      //The no of child elements of xe can be obtained as xe.xmlElements.length
      //First element can be obtained by xe.xmlElements[0]
    main();
    Hope this solves the issue

  • Disk appears twice in Project and Event window

    There seems to be a bug in iMovie that causes the default disk to appear twice in the project and event viewer if you have a symbolic link in the path.
    For years I have used a symlink to allow me to locate my Users area onto a second drive. This keeps all my user data separate from the more generic system data. Occasionally an application gets confused by this link and this seems to be the case with iMovie.
    I think what is happening is that iMovie is trying to list my home directory which by default is usually on Macintosh HD/Users/louie but when it hits the symlink at /Users -> /Volumes/DataDisk/Users it sees this is actually on drive DataDisk. Then I think it looks for all mounted volumes and it finds DataDisk again and doesn't realize that this is already recorded and includes it again.
    Other than this odity it seems to work just fine. If I add a project or event, initially it appears in only one of the DataDisk entries in iMovie. Then if I restart iMovie the new project and/or event will show under both entries. The actual project and events are correcty created in my ~/Movies directory.
    -louie

    I don't know an easy way to fix that if you are using a symlink.
    Click on this link for some good information about how to set up your home folder in a different location. You can set it up on OSX where you will not need a symlink. On the other hand, if its working well for you, may be best to leave it alone.
    http://pondini.org/OSX/SetupOther.html

  • SCCM 2012 SP1 - Software Center appears twice in Start Menu

    Hi guys,
    i just finished implementing a fresh SCCM 2012 SP1 Installation for a customer. The whole OSD works like a charm (except some issues with the latest Windows updates breaking the whole OSD, will open a separate thread for this soon), but after the deployment
    the Software Center is appearing twice in the Start Menu (We're using Win7 Enterprise SP1 x86 English with 5 integrated language packs). I first thought this has something to do with the integrated language packs, but both Start Menu entries
    are always in the same language.
    The strange Thing is, that one entry for the SCCM Software Center is called "Software Center" and the other one "SoftwareCenter" (without a space). We configured 2 Client policies, one with EP-enabled and one without EP. We
    deployed the Client Settings to different collections so i don't think that this is causing the Problem?Do you guys have any idea why this is Happening?
    Has anyone ever seen this? See a screenshot below:
    Thank you.
    Cheers
    Stefan

    Thanks for your Response Thomas.
    I don't think it is related to the upgrade to SP1.I think it might be a General issue in SP1. I started with a fresh SCCM 2012 SP1 Installation and i also have 2 Software Center entries in my start menu. If i check the shortcut i can see that one shortcut
    was created when i captured my base Image, the other one was created during the Install OS Task Sequence.

  • Time Capsule appears twice in Airport drop down menu

    Menu Bar > Airport drop-down menu: My Time Capsule's wireless name shows up twice in my list of wifi sources. Once in the group with all the other routers and again in a group called "Devices".
    Long story short…
    I start with a perfectly functional, WPA/WPA2 password-protected Time Capsule: Over a year old. Two MbP's using it for Time Machine backup. Connected to a 1.5TB MyBook external HD via usb. Doubles as my wifi router. Everything's connected to it, including my wifi-enabled printer. Works great. No issues.
    I get this idea in my head that I need to hide my wifi signal. I figure it out and ¡Viola! Hidden. Then I try to add my wifi-enabled printer to the list of allowed devices in "Access Control". I hit a big snag and can't figure out how to get it to connect (btw, don't buy a Brother printer. Pure crap). So, I give up and revert permissions back to visible, password-protected state.
    Skipping irrelevant issues that I already resolved, I now have the wireless name of my Time Capsule appearing twice in the airport drop down menu. It appears with all the other wifi sources my machine detects AND appears at the bottom under a new category called "Devices".
    All I want is to have things back the way they were and this anomaly in the drop down menu is a constant reminder that I #1 failed and #2 bought a crap printer.
    (Long story long, I guess. Sorry.) How do I delete this "Devices" group from the airport drop down menu?

    Stilts McCoy wrote:
    Menu Bar > Airport drop-down menu: My Time Capsule's wireless name shows up twice in my list of wifi sources. Once in the group with all the other routers and again in a group called "Devices".
    You might find useful advice in this thread:
    http://discussions.apple.com/message.jspa?messageID=12156248
    If you want to post a reply, please do so to this thread, not the other one.

Maybe you are looking for

  • How can I restrict X11 apps to my primary display?

    The question's in the subject line, but here's why. I have a secondary display attached to my iMac and I find it very useful as a dumping ground for useful ancillary windows and apps. The arrangement of my workspace dictates that the secondary displa

  • Problem in IOS7.1. About (personal hotspot)

    I am using ios7.1 in my iphone4s but i am unable set personal hotspot name ...so plz help me....this problem come after ios7.1upgrade

  • At least 100 messages a day in bulk mail!

    I am receiving at least 100 messages a day from Zero Gravity in my bulk mail I am loathe to click on the link to unsubscribe in case I open a further can of worms Any ideas how I can stop this as every time I go into my mail there are usually 20 new

  • Flashback Recovery Area Issue!!!

    Oracle Version -10.2.0.3 Running on Windows 2003 Server Flashback recovery area is defined as -C:\oracle\product\10.2.0\flash_recovery_area (Currently FRA is only used for storing archivelogs) RMAN Backups are going on -C:\Backups\ I am running Night

  • How to turn on audio when scrolling

    I'm not sure what its called but I want to be able to hear the audio when I scroll through the timeline, not only when I'm playing the clip. Final cut is able to do this can motion?