Nesting layers in regions

Hi All
I have created a menu type portlet. However, I want it to appear in the region that i put it in rather than at the top of the page. It appears that portal regions do not accept nested divs. If I put a whole new layer round my html so that divs underneath can be displayed relative to that layer, the items are displayed sequentially down the page with no layering effects.
Can anyone help please with nesting layers in oracle portal. Or positioning items relative to the region they are in rather than the page as a whole.
Thanks
Michelle

Why are you using timelines here instead of a simple
show/hide?
Also, this code is trouble -
<td width="50" valign="top"><div align="left">
<span id="Layer2"
style="position:absolute; z-index:2; visibility: hidden;
overflow: auto;
width: 50px; height: 30px;"><a
href="nydiabetic_sc04.htm"><img
name="rt_arrow" src="../graphics/buttons/rt_arrow.gif"
width="50"
height="30" border="0"
alt=""></a></span></div>
</td>
That's an absolutely positioned element in a table cell. It
should not be
there. I assume you have it in there so that it moves with
the table? If
that is the case, then just change its position value from
absolute to
relative, and you should be OK with this.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================

Similar Messages

  • How to preserve nested layers for versions below CS6?

    Hi there - I'm trying to save a PSD created with CC2014 for a developer who is using a version of Photoshop older than CS6. The problem is that when he opens the PSD with his version the nested layers are all lost, which makes the document organization really difficult to understand. Is there a way to downsave or export the PSD in such a way that the nested layers are preserved?
    Thanks,
    Elena

    No, because older versions of Photoshop only understood up to 5 layer groups (versus the current 10).
    And much older versions didn't understand layer groups at all.
    The nested layers themselves are not lost, but the deeper layer groups will be lost in older versions of Photoshop.  (content preserved, not organization)

  • Nested layers and Layer comps

    A couple of things I would like to see is better layer control.
    At the moment, I use nested layers the same as I use layer groups in Photoshop. ie I put all the element for the front of a label in a layer called 'Front label'. And this works great, however when I reopen the document, the layer palette looks like a mess because Illustrator has expanded all the layers!!
    I would be really useful if the Illustrator could remember the layer state of the layer view.
    Since we work in the packaging design industry for a brand which operates in a number of countries. We have the same pack but with different language clusters. It would be great to have a layer comp feature which works like layer comps in Photoshop. And to be able to export the different layer comps as separate files.

    A couple of things I would like to see is better layer control.
    At the moment, I use nested layers the same as I use layer groups in Photoshop. ie I put all the element for the front of a label in a layer called 'Front label'. And this works great, however when I reopen the document, the layer palette looks like a mess because Illustrator has expanded all the layers!!
    I would be really useful if the Illustrator could remember the layer state of the layer view.
    Since we work in the packaging design industry for a brand which operates in a number of countries. We have the same pack but with different language clusters. It would be great to have a layer comp feature which works like layer comps in Photoshop. And to be able to export the different layer comps as separate files.

  • Centering a web page with nested layers (divs)

    Hi, I know this must be asked numerous times but some help woud be appreciated. I am currently upgrading my wed site produced in Dreamweaver 6 and 8.
    I used layers and nested layers with the page aligned to the left of the browser. I am now redesigning the whole site and would like the page centred. As a designed and signmaker I am trying a avoid an out of the box design.
    How can I centre my pages, preferably adapting existing pages to start with.
    www.curtissigns.com is the site and appologies for some of the very ancient and dated pages!!!
    If any can provide some advice or point me to some discussions. 
    All my efforts with CSS seem to be failing at the moment.
    Thanks      Stuart

    All individual elements on your page at the moment are 'absolutely' positioned - very bad pracitce. But, I understand you've mentioned you made this site a while ago.
    A quick fix for now would be to add this right after opening <body> tag:
    <div id="container">
    and this right before closing </body> tag:
    </div>
    Then, add this to the CSS part of your page (just after opening <style type...> right now, Line 85 on your HTML page. This will come before #apDiv1 rule:
    #container{
    left: 50%;
    margin-left: 520px;
    position: absolute;
    left: 50% will offset the Div container to 50% of page width. margin-left: 520px will slice that in almost half (at the moment, your page is about 1004px wide), thereby displaying the entire page in the center. I've used position: absolute now since otherwise, you cannot center it (as you already have all nested elements as absolute).
    But, I'd definitely recommend taking some time to re-create your webpage - never use 'position: absolute;' unless it is definitely required. You can do a great job with using 'float' and 'position: relative' tags.
    Good luck.
    -ST

  • Nesting Layers

    I'm not having any luck nesting layers in Dreamweaver. I have
    drawn two separate layers, and unclicked the 'Prevent Overlaps'
    button, then tried to move one layer within the other - I get the
    barred circle symbol, and the moved layer snaps back the instant I
    unclick. Plus, the 'prevent overlaps' button re-checks itself. Is
    there a option or preference somewhere that I need to set that I
    haven't found?
    Thanks.

    Definitely, there is a better way.
    Check the uberlink and MacFly tutorials at PVII -
    http://www.projectseven.com/
    and the Navbar tutorial/articles at Thierry's place
    http://tjkdesign.com/articles/dropdown/
    Or this one (more recent article):
    http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp
    Or to get it done fast, go here -
    http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Sioneva88" <[email protected]> wrote in
    message
    news:foprhg$5pq$[email protected]..
    > I'm working on putting in hidden drop down menus - the
    outer layer will be
    > the
    > background, a solid color block, the inner layer will be
    the text itself,
    > which
    > should expand into submenus.
    >
    > If there's a better way to do this other than using
    hidden layers...?
    >

  • Making DW CS4 Nested Template Head Region Update to Pages

    Using DW CS4...
    So I made a template, called main_template, and obviously it has an editable region named head. Now from main_template I made the nested template locations_template. Now I have code that I put in the head region of locations_template. This code does not propagate out to pages created from locations_template. I can't place an editable region within the head section in the nested template. How do I solve this problem?

    > 1st: "Error accessing file "...here appears the file
    name/path..." bad
    > file
    > path (error code 3) OKAY
    This usually means you have other files open that may belong
    to templates
    not in the current site. Make sure that you have other such
    files closed
    and you won't get this error.
    > 2nd: When I click the OKAY button I get: "There is an
    error at line 5,
    > Column
    > 35 (absolute position 54) of "...here appears the file
    name/path..." :
    > Nested
    > edible regions.
    This usually means you have an error in the template file -
    we would need to
    see its code to diagnose further.
    > When I check the code at line 5 or 54 I find nothing
    relevant to "Nested
    > edible regions".
    It could be referring to code errors like a missing
    </head>, or <body> tag,
    too.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Roy E" <[email protected]> wrote in message
    news:fppie5$ikg$[email protected]..
    >I am using one template in my website. Upon making
    changes it would
    > automatically update associate pages as it should. Then
    it quit and now
    > when I
    > try to do a manual update (Modify > Template . Update
    Pages) I get the
    > following error messages.
    >
    > 1st: "Error accessing file "...here appears the file
    name/path..." bad
    > file
    > path (error code 3) OKAY
    >
    > 2nd: When I click the OKAY button I get: "There is an
    error at line 5,
    > Column
    > 35 (absolute position 54) of "...here appears the file
    name/path..." :
    > Nested
    > edible regions.
    >
    > When I check the code at line 5 or 54 I find nothing
    relevant to "Nested
    > edible regions".
    >
    > Am I reading the error message incorrectly re:
    line/location of the error?
    > (I
    > do not want to have to recreate the template .)
    >
    > Help!
    >
    > Thomas
    >

  • Nested Loop/Repeat Region, PHP

    Hello,
    My conundrum is trying to gather information from 4 different record sets and do some separate nested loops
    There is one record per project
    There is one client per project
    There may be more than one staff member per project
    There may be more that one consultant per project
    The MySQL schema is as follows. ( Sorry but there are 7 of them)
    mysql> describe ND_assign_consultant;
    +---------------+------------------+------+-----+---------+----------------+
    | Field         | Type             | Null | Key | Default | Extra          |
    +---------------+------------------+------+-----+---------+----------------+
    | assign_pro_id | int(10) unsigned | NO   | PRI | NULL    | auto_increment |
    | project_id    | varchar(8)       | NO   |     |         |                |
    | architect_id  | varchar(11)      | NO   |     |         |                |
    +---------------+------------------+------+-----+---------+----------------+
    mysql> describe ND_assign_project;
    +---------------+------------------+------+-----+---------+-------+
    | Field         | Type             | Null | Key | Default | Extra |
    +---------------+------------------+------+-----+---------+-------+
    | assign_pro_id | int(10) unsigned | NO   |     | 0       |       |
    | client_id     | varchar(11)      | YES  |     | NULL    |       |
    | project_id    | varchar(11)      | YES  |     | NULL    |       |
    +---------------+------------------+------+-----+---------+-------+
    mysql> describe ND_assign_staff;
    +--------------+------------------+------+-----+---------+----------------+
    | Field        | Type             | Null | Key | Default | Extra          |
    +--------------+------------------+------+-----+---------+----------------+
    | assign_id    | int(11) unsigned | NO   | PRI | NULL    | auto_increment |
    | project_id   | char(8)          | NO   |     |         |                |
    | staff_id     | char(4)          | NO   |     |         |                |
    | stake_holder | char(1)          | YES  |     | 0       |                |
    +--------------+------------------+------+-----+---------+----------------+
    mysql> describe ND_client;
    +--------------+---------------------------+------+-----+---------+----------------+
    | Field        | Type                      | Null | Key | Default | Extra          |
    +--------------+---------------------------+------+-----+---------+----------------+
    | client_id    | int(10) unsigned zerofill | NO   | PRI | NULL    | auto_increment |
    | title        | varchar(20)               | YES  |     | NULL    |                |
    | first_Cname  | varchar(30)               | NO   |     |         |                |
    | last_Cname   | varchar(30)               | NO   |     |         |                |
    | company      | varchar(80)               | YES  |     | NULL    |                |
    | phone        | varchar(12)               | YES  |     | NULL    |                |
    | mobile       | varchar(12)               | YES  |     | NULL    |                |
    | fax          | varchar(12)               | YES  |     | NULL    |                |
    | email        | varchar(80)               | YES  |     | NULL    |                |
    | road_type    | varchar(20)               | YES  |     | NULL    |                |
    | street       | varchar(100)              | YES  |     | NULL    |                |
    | city         | varchar(80)               | YES  |     | NULL    |                |
    | State        | char(3)                   | YES  |     | NULL    |                |
    | postcode     | varchar(4)                | YES  |     | NULL    |                |
    | int_city     | varchar(80)               | YES  |     | NULL    |                |
    | int_state    | varchar(80)               | YES  |     | NULL    |                |
    | int_postcode | varchar(5)                | YES  |     | NULL    |                |
    | country      | varchar(40)               | YES  |     | NULL    |                |
    | comments     | text                      | YES  |     | NULL    |                |
    +--------------+---------------------------+------+-----+---------+----------------+
    mysql> describe ND_consultant;
    +-----------------+------------------+------+-----+---------+----------------+
    | Field           | Type             | Null | Key | Default | Extra          |
    +-----------------+------------------+------+-----+---------+----------------+
    | architect_id    | int(10) unsigned | NO   | PRI | NULL    | auto_increment |
    | consultant_type | varchar(40)      | NO   |     |         |                |
    | first_name      | varchar(30)      | YES  |     | NULL    |                |
    | last_name       | varchar(30)      | YES  |     | NULL    |                |
    | company         | varchar(80)      | YES  |     | NULL    |                |
    | licence         | varchar(20)      | YES  |     | NULL    |                |
    | phone           | varchar(12)      | YES  |     | NULL    |                |
    | mobile          | varchar(12)      | YES  |     | NULL    |                |
    | fax             | varchar(12)      | YES  |     | NULL    |                |
    | email           | varchar(80)      | YES  |     | NULL    |                |
    | website         | varchar(150)     | YES  |     | NULL    |                |
    | street          | varchar(100)     | YES  |     | NULL    |                |
    | city            | varchar(80)      | YES  |     | NULL    |                |
    | state           | char(3)          | YES  |     | NULL    |                |
    | postcode        | varchar(4)       | YES  |     | NULL    |                |
    | region          | varchar(40)      | YES  |     | NULL    |                |
    | regular         | char(1)          | YES  |     | NULL    |                |
    +-----------------+------------------+------+-----+---------+----------------+
    17 rows in set (0.00 sec)
    mysql> describe ND_project;
    +----------------+-----------------+------+-----+-------------------+--------------------- --------+
    | Field          | Type            | Null | Key | Default           | Extra                       |
    +----------------+-----------------+------+-----+-------------------+--------------------- --------+
    | project_id     | int(6) unsigned | NO   | PRI | NULL              | auto_increment              |
    | listed         | timestamp       | NO   |     | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP |
    | deadline       | varchar(25)     | YES  |     | NULL              |                             |
    | contact        | varchar(30)     | YES  |     | NULL              |                             |
    | project_type   | varchar(20)     | YES  |     | NULL              |                             |
    | quote          | decimal(10,0)   | YES  |     | NULL              |                             |
    | invoice        | char(3)         | YES  |     | NULL              |                             |
    | invoice_number | varchar(8)      | YES  |     | NULL              |                             |
    | details        | text            | YES  |     | NULL              |                             |
    | status         | varchar(20)     | YES  |     | NULL              |                             |
    | streetN        | varchar(20)     | YES  |     | NULL              |                             |
    | pro_street     | varchar(100)    | YES  |     | NULL              |                             |
    | pro_city       | varchar(80)     | YES  |     | NULL              |                             |
    | pro_state      | char(3)         | YES  |     | NULL              |                             |
    | pro_postcode   | varchar(4)      | YES  |     | NULL              |                             |
    +----------------+-----------------+------+-----+-------------------+--------------------- --------+
    mysql> describe ND_staff;
    +-------------+----------------------+------+-----+---------+----------------+
    | Field       | Type                 | Null | Key | Default | Extra          |
    +-------------+----------------------+------+-----+---------+----------------+
    | staff_id    | smallint(5) unsigned | NO   | PRI | NULL    | auto_increment |
    | f_name      | varchar(30)          | NO   |     |         |                |
    | l_name      | varchar(30)          | NO   |     |         |                |
    | email       | varchar(80)          | NO   |     |         |                |
    | mobile      | varchar(12)          | NO   |     |         |                |
    | extension   | char(3)              | NO   |     |         |                |
    | username    | varchar(20)          | NO   | UNI |         |                |
    | password    | varchar(16)          | NO   |     |         |                |
    | rate        | int(3) unsigned      | NO   |     | 0       |                |
    | staff1      | char(1)              | YES  |     | NULL    |                |
    | staff2      | char(1)              | YES  |     | NULL    |                |
    | projects1   | char(1)              | YES  |     | NULL    |                |
    | projects2   | char(1)              | YES  |     | NULL    |                |
    | clients     | char(1)              | YES  |     | NULL    |                |
    | revisions1  | char(1)              | YES  |     | NULL    |                |
    | revisions2  | char(1)              | YES  |     | NULL    |                |
    | consultants | char(1)              | YES  |     | NULL    |                |
    | access      | char(1)              | YES  |     | NULL    |                |
    +-------------+----------------------+------+-----+---------+----------------+
    I tried to attach the php file and the CSS but they're not allowed.
    Record Sets:
    <?php
    mysql_select_db($database_neilly_davies, $neilly_davies);
    $query_qProject = "SELECT project_id, listed, quote, status, streetN, pro_street, pro_city FROM ND_project WHERE status ='In Progress' OR 'Quote'";
    $qProject = mysql_query($query_qProject, $neilly_davies) or die(mysql_error());
    $row_qProject = mysql_fetch_assoc($qProject);
    $totalRows_qProject = mysql_num_rows($qProject);
    mysql_select_db($database_neilly_davies, $neilly_davies);
    $query_qClient = "SELECT ND_client.client_id, ND_client.first_Cname, ND_client.last_Cname, ND_client.company, ND_assign_project.client_id, ND_assign_project.project_id FROM ND_client, ND_assign_project, ND_project WHERE ND_project.project_id = ND_assign_project.project_id AND ND_client.client_id = ND_assign_project.client_id";
    $qClient = mysql_query($query_qClient, $neilly_davies) or die(mysql_error());
    $row_qClient = mysql_fetch_assoc($qClient);
    $totalRows_qClient = mysql_num_rows($qClient);
    mysql_select_db($database_neilly_davies, $neilly_davies);
    $query_qStaff = "SELECT ND_staff.staff_id, ND_staff.f_name, ND_staff.l_name, ND_assign_staff.staff_id, ND_assign_staff.project_id, ND_assign_staff.stake_holder, ND_project.project_id FROM ND_staff, ND_assign_staff, ND_project WHERE ND_staff.staff_id = ND_assign_staff.staff_id AND ND_assign_staff.project_id = ND_project.project_id";
    $qStaff = mysql_query($query_qStaff, $neilly_davies) or die(mysql_error());
    $row_qStaff = mysql_fetch_assoc($qStaff);
    $totalRows_qStaff = mysql_num_rows($qStaff);
    mysql_select_db($database_neilly_davies, $neilly_davies);
    $query_qConsultant = "SELECT ND_consultant.architect_id, ND_consultant.first_name, ND_consultant.last_name, ND_consultant.company, ND_assign_consultant.architect_id, ND_assign_consultant.project_id FROM ND_consultant, ND_assign_consultant WHERE ND_consultant.architect_id = ND_assign_consultant.architect_id";
    $qConsultant = mysql_query($query_qConsultant, $neilly_davies) or die(mysql_error());
    $row_qConsultant = mysql_fetch_assoc($qConsultant);
    $totalRows_qConsultant = mysql_num_rows($qConsultant);
    ?>
    Table requiring the nested loops:
          <tr valign="top">
            <th width="90" align="left"><?php echo $row_qProject['project_id']; ?> </th>
            <td width="90" align="left"><?php echo $row_qProject['status']; ?></td>
            <td align="left"><?php echo $row_qProject['pro_street']; ?> <?php echo $row_qProject['streetN']; ?> <?php echo $row_qProject['pro_city']; ?></td>
            <td align="left"><?php echo $row_qClient['first_Cname']; ?> <?php echo $row_qClient['first_Cname']; ?><br />
                <?php echo $row_qClient['company']; ?></td>
            <td align="left"><?php echo $row_qProject['listed']; ?></td>
            <td width="6">$</td>
            <td align="right"><?php echo $row_qProject['quote']; ?></td>
            <td align="left"><?php echo $row_qStaff['f_name']; ?> <?php echo $row_qStaff['l_name']; ?></td>
            <td align="left"><?php echo $row_qStaff['stake_holder']; ?> </td>
            <td align="left"><?php echo $row_qConsultant['first_name']; ?> <?php echo $row_qConsultant['last_name']; ?><br />
                <?php echo $row_qConsultant['company']; ?> </td>
          </tr>
    <tr>
    Thanks in advance if you can point me in the right direction.
    Steve

    Tom Muck has a free Dreamweaver extension that does this: http://www.tom-muck.com/extensions/help/HorizontalLooper/. There's also a reasonably priced commercial version that does more. The link to the commercial version is at the bottom of the page on Tom's site.

  • How to deserialize xml with structure of abitrary nested layers of base class?

    let say i want to represent arithmetic expression using xml:
    <?xml version="1.0" encoding="utf-8" ?>
    <expr>
    <add>
    <num>10</num>
    <num>20</num>
    </add>
    </expr>
    and here is my classes to represent this:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    namespace Test
    public abstract class Evaluable
    public abstract int Eval();
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Xml.Serialization;
    namespace Test
    [Serializable]
    [XmlRoot("expr")]
    public class Expr
    [XmlElement]
    public Evaluable Evaluable { get; set; }
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Xml.Serialization;
    namespace Test
    [Serializable]
    [XmlRoot("add")]
    [XmlType("add")]
    public class Add : Evaluable
    [XmlElement]
    public List<Evaluable> Elems { get; set; }
    public override int Eval()
    return Elems.Select(e => e.Eval()).Sum();
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Xml.Serialization;
    namespace Test
    [Serializable]
    [XmlRoot("num")]
    [XmlType("num")]
    public class Num : Evaluable
    [XmlText]
    public int Val { get; set; }
    public override int Eval()
    return Val;
    but it doesn't work, and it's reasonable, since Serializer doesn't know any thing about the subclass. but how to make it work?
    here is my deserialization code:
    var serializer = new XmlSerializer(typeof(Expr), new[] { typeof(Add), typeof(Num) });
    Expr expr = null;
    using (var file = new StreamReader("expr.xml"))
    expr = serializer.Deserialize(file) as Expr;

    I think what you want is to set the XmlElement attribute on the container (Elems).
    It can be done if the deserializer can be made aware of all the potential subclasses of the base class.  It's ok to put multiple XmlElement attributes on the container to let the deserializer know about the various subclasses it can deserialize.
    I don't think there's a way to tell the XmlSerializer externally about new types.  I could be wrong.  [If someone shows me how to do that, I'd sure appreciate it!]   [WORKAROUND:  A potential workaround
    is to create a class that contains all the potential children including the class itself and serialize that.  Seems a little like cheating.]
    Here is a complete example:
    [Serializable]
    public class Foo
    [XmlAttribute( "name" )]
    public string name;
    [XmlElement( "Foo", Type = typeof( Foo ) )]
    [XmlElement( "Bar", Type = typeof( Bar ) )]
    public List<Foo> children = new List<Foo>();
    public void Dump( int level )
    ShowProperties( level );
    foreach( var f in children ) {
    f.Dump( level + 1 );
    protected virtual void ShowProperties( int level )
    Console.WriteLine( "{0}{1}", new string(' ', level * 4 ), name );
    [Serializable]
    public class Bar : Foo
    public string stuff;
    protected override void ShowProperties( int level )
    base.ShowProperties( level );
    Console.WriteLine( "{0}{1}", new string(' ', level * 4 ), stuff );
    class Program
    static void Main( string[] args )
    // <Foo name="A">
    // <Bar name="B">
    // <Foo name="D" />
    // <stuff>B's Stuff</stuff>
    // </Bar>
    // <Bar name="C">
    // <stuff>C's Stuff</stuff>
    // </Bar>
    // </Foo>
    // A
    // B
    // B's Stuff
    // D
    // C
    // C's Stuff
    Foo a = new Foo() { name = "A" };
    Bar b = new Bar() { name = "B", stuff="B's Stuff" };
    Bar c = new Bar() { name = "C", stuff="C's Stuff" };
    Foo d = new Foo() { name = "D" };
    a.children.Add( b );
    a.children.Add( c );
    b.children.Add( d );
    XmlSerializer xs = new XmlSerializer( typeof( Foo ) );
    // There:
    XmlSerializerNamespaces ns = new XmlSerializerNamespaces( new[] { XmlQualifiedName.Empty } );
    StringBuilder sb = new StringBuilder();
    using( XmlWriter xw = XmlWriter.Create( sb, new XmlWriterSettings() {
    OmitXmlDeclaration = true,
    Indent = true
    xs.Serialize( xw, a, ns );
    Console.WriteLine( sb.ToString() );
    // And Back Again:
    using( StringReader sr = new StringReader( sb.ToString() ) )
    Foo root = (Foo)xs.Deserialize( sr );
    root.Dump( 0 );

  • How to create a nested hierarchy of layers in Acrobat X

    After researching on line for a few days it appears that AutoCAD 2012 64 bit no longer supports PDFMaker.  In the old PDFMaker it would appear that I could select AutoCAD layers to make a layer groups or nested hierarchy.  I want create something like the first page of this http://floridadisaster.org/publicmapping/HELP.pdf  Multiple groups with nested sublayers to several levels.  With no luck on the exporting end I wonder if there is an Adobe product that can do this.  Illustrator creates the same structure and then only exports the top layer.  InDesign doesn't allow for layer groups or nested layers unless it has the DTP plugin, but then it only exports the top level layers.  Any ideas?  I have yet to find a product other than ArcGIS which is overkill for just the creation of a layer/sublayer hiearchy and expensive.
    Thanks,
    Josh

    Actually, the "tree" you see on the right panel isn't a layers tree at all. OCGs (aka "layers") in a PDF file are in a simple 1-level stack, but you can define groups of layers, which Acrobat displays using the tree style. While there's no grouping or ungrouping tool in the user interface in Acrobat, you can do it via JavaScript by writing arrays of arrays into the doc.OCGOrder object. To quote the Acrobat SDK:
    The simplest order array is a flat array of OCG objects. In this case, the listed OCGs are displayed in the UI as a flat list in the same order. If a subarray is present in the order array and the first element of the array is a string, the string will be listed with the rest of the array nested underneath it. If the first element of the array is not a string, the entire array will appear nested underneath the OCG preceding the subarray.

  • Is it possible to nest AE layers?

    Hi all,
    I've always wondered why you can't do this or it hasn't been brought in... but then maybe I'm really missing something.
    I would have thought it would be really useful to be able to nest layers. For instance, put layers 5 to 9 into a folder or 'superlayer' (TM) this could be opened up or minimised in a similar fashion to the folders in the project window.
    The time when I'd love to be able to do this is when I need to attach a single matte to multiple layers, but it could also be useful for effects.
    I realise the normal way to do this is to make a pre-comp but sometimes it's just so handy to be able to tweak things without having to change comps.
    Any thoughts?

    Thanks guys.
    Yes, I realise that's what Precomps achieve. Sometimes however, I personally find it useful not to have to many PreComps or levels of PreComps in a main composition. Also when I PreComp a bunch of layers thier relative in and out points aren't as immediately visable as they would be if a group of layers could be opened and closed in the main comp.
    Sorry, I'm probably not explaining myself . Imagine a function a bit like 'shy' but it would open and close a group of layers, and the group itself acting as if it was a PreComp I guess is what I'm trying to say.
    The idea of having 2 timelines visible is fantastic, and would help me out. Thanks for that.
    Currently if I need to tweak a PreComp but view the result in the Main Comp, I open 2 comp windows. Unfortunately when I go to the PreComp my feed to my broadcast monitor also changes.
    The 2 timeline idea should ease this. If I lock a single comp window.
    Thanks.

  • Select nested WMS layers with specific SRS value using XQuery

    A WMS getcapabilities document contains a nested list of Layers. I need to get a list of layers for which is true: - It is queryable and - It has an SRS value of EPSG:28992 or any of it's parent layers (or parents parents etc) has an SRS value of EPSG:28992.
    I came up with this query which I'm not very happy with because it only allows for three nested Layers.
    select t.*
            from xmltable(xmlnamespaces('http://www.w3.org/1999/xlink' as "xlink")
                          ,'for $d in /WMT_MS_Capabilities/Capability/Layer[SRS="EPSG:28992"]
                            where $d/@queryable="1"  return $d'
                          passing p_xml columns name varchar2(100) path 'Name'
                          ,title varchar2(100) path 'Title'
                          ,url varchar2(4000) path 'Style[1]/LegendURL/OnlineResource/@xlink:href'
                          ,style xmltype path 'Style') as t
          union all
                select t.*
                     from xmltable(xmlnamespaces('http://www.w3.org/1999/xlink' as "xlink")
                                ,'for $d in /WMT_MS_Capabilities/Capability/Layer/Layer
                                  where $d/@queryable="1"
                                    and (/WMT_MS_Capabilities/Capability/Layer/SRS="EPSG:28992"
                                         or /WMT_MS_Capabilities/Capability/Layer/Layer/SRS="EPSG:28992") return $d'
                                passing p_xml columns name varchar2(100) path 'Name'
                                ,title varchar2(100) path 'Title'
                                ,url varchar2(4000) path 'Style[1]/LegendURL/OnlineResource/@xlink:href'
                                ,style xmltype path 'Style') as t
          union all
                   select t.*
                      from xmltable(xmlnamespaces('http://www.w3.org/1999/xlink' as "xlink")
                                ,'for $d in /WMT_MS_Capabilities/Capability/Layer/Layer/Layer
                                  where $d/@queryable="1"
                                    and (/WMT_MS_Capabilities/Capability/Layer/SRS="EPSG:28992"
                                         or /WMT_MS_Capabilities/Capability/Layer/Layer/SRS="EPSG:28992"
                                         or /WMT_MS_Capabilities/Capability/Layer/Layer/Layer/SRS="EPSG:28992") return $d'
                                passing p_xml columns name varchar2(100) path 'Name'
                                ,title varchar2(100) path 'Title'
                                ,url varchar2(4000) path 'Style[1]/LegendURL/OnlineResource/@xlink:href'
                                ,style xmltype path 'Style') as t;I'm wondering if there is a better approach using Oracle 10.2.05.

    A couple of options (both quite slow unfortunately) :
    XQuery recursive function :
    select x.*
    from tmp_xml t
       , xmltable(
           xmlnamespaces('http://www.w3.org/1999/xlink' as "xlink")
         , 'declare function local:getLayer($e as element(Layer)*) as element(Layer)*
              for $i in $e
              where $i/SRS = "EPSG:4269"
              return $e[@queryable="1"] | local:getLayer($i/Layer)
            local:getLayer( /WMT_MS_Capabilities/Capability/Layer[SRS="EPSG:4269"] )'
           passing t.object_value
           columns name  varchar2(100)  path 'Name'
                 , title varchar2(100)  path 'Title'
                 , url   varchar2(4000) path 'Style[1]/LegendURL/OnlineResource/@xlink:href'
                 , style xmltype        path 'Style'
         ) x
    Ancestor axis :
    select x.*
    from tmp_xml t
       , xmltable(
           xmlnamespaces('http://www.w3.org/1999/xlink' as "xlink")
         , 'for $i in /WMT_MS_Capabilities/Capability/descendant::Layer
            where $i/@queryable = "1"
            and exists($i/ancestor-or-self::Layer[SRS="EPSG:4269"])
            return $i'
           passing t.object_value
           columns name  varchar2(100)  path 'Name'
                 , title varchar2(100)  path 'Title'
                 , url   varchar2(4000) path 'Style[1]/LegendURL/OnlineResource/@xlink:href'
                 , style xmltype        path 'Style'
         ) x
    ;Tested on a modified version of this document (stored in an XMLType table) :
    http://wms.ess-ws.nrcan.gc.ca/wms/toporama_en?VERSION=1.1.1&request=GetCapabilities&service=wms

  • Can Illustrator CS mask layers without grouping them?

    Windows XP Pro SP2
    Intel Pentium 4 CPU 3.60GHz
    2.75GB RAM
    I draw a lot of complex maps using Illustrator 8 in preference to higher versions. I customarily use a top layer clipping path to mask out the edges and "crop" the image.
    The advantage of Illustrator 8 is that the clipped artwork still rests on its respective layers, allowing me to turn on/turn off whichever layers I desire, while still maintaining the mask.
    As far as I can tell, later versions automatically group (and thus place on the top layer) all items that are masked by the clipping path, meaning that my map layers no longer exist, and the map has lost its funtionality.
    I've been using version 8 for years despite having access to CS but now my company is losing 8 and moving over exclusively to CS. I can't figure out an effective way to maintain the same layer functionality in masked artwork in Illustrator CS.
    The mass of nested layers and sub-layers for each and every object has me lost. It seems over complicated but doesn't offer me anything I can use, instead removing the ability to do what I used to do.
    Is there any way I can still mask my artwork and maintain ungrouped layer functionality in Illustrator CS?

    Any object on a parent layer can mask child layers. Here I selected the topmost path and chose Make Clipping mask from the Layers flyout menu. Masked items remain on their own child layers. If I use the Selection tool (black arrow) and click on a tree, only the tree is selected.
    The interface is surprisingly buggy, even for Illustrator. If it's not working, try Cutting and Pasting in front to get Illustrator to figure out it can use the path for a mask.

  • How Can You Bring Illustrator Cs5 Layers into Photoshop Cs5?

    Hi everyone, Is it possible to bring Illustrator artwork into Photoshop so that the layers in Illustrator are layers in Photoshop, and so that all the content is arranged as it was in Illustrator.
    What I have been doing is bringing in a shape or a group of shapes into Photoshop by pasting them into a layer in PS then bringing in some more stuff from another layer in Illustrator and pasting that into another layer in PS but obviously it's a mission to line up the contents again so it is arranged like it was in Illustrator in the first place.
    Any help appreciated
    thanks Gareth

    No, it doesn't say how to do it there
    Well, then you probably haven't read carefully enough about what can be set up when exporting as .psd in Illustrator.
    When you export as .psd there are several export options about preserving layers. As mentioned, there are some restrictions.
    But tell me, what is unclear about the following quote?
    Write Layers
    Exports groups, compound shapes, nested layers, and slices as separate, editable Photoshop layers. Nested layers that are more than five levels deep are merged into a single Photoshop layer. Select Maximum Editability to export transparent objects (that is, objects with an opacity mask, a constant opacity less than 100%, or a blending mode other than Normal) as live, editable Photoshop layers.
    Preserve Text Editability
    Exports horizontal and vertical point type in layers (including nested layers up to five levels deep) to editable Photoshop type. If doing so compromises the appearance of the artwork, you can deselect this option to rasterize the text instead.
    Maximum Editability
    Writes each top-level sublayer to a separate Photoshop layer if doing so doesn’t compromise the appearance of the artwork. Top-level layers become Photoshop layer sets. Transparent objects remain editable transparent objects. Also creates a Photoshop shape layer for each compound shape in a top‑level layer if doing so doesn’t compromise the appearance of the artwork. To write compound shapes with solid strokes, change the Join type to Round. Whether or not you select this option, all layers over 5 levels deep are merged into a single Photoshop layer.

  • Opening Illustrator documents-all layers are open!

    When I open an Illustrator file with many layers, nested groups, etc. I have to spend the first minute or so closing all the nested layers in the layers palette.
    It's very annoying. I've searched for a preference  but can't find anything to tell Illustrator to open with all layer triangles closed. Is this possible?

    That's a frequently asked question. There are workarounds.
    Have you already searched the forum?

  • Nesting Fireworks HTML in Dreamweaver Layer?

    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=189&threadid =1187756&enterthread=y

    Start by reading this page -
    http://www.great-web-sights.com/g_layerlaws.asp
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Shyid" <[email protected]> wrote in message
    news:[email protected]...
    > Hi, I?ve recently created a banner graphic, including
    popup menus, in
    > Fireworks
    > for my website. You can see the banner acting as I
    intend it to on the
    > following page:
    >
    >
    http://www.theundergroundnation.com/test1.htm
    >
    > Notice that the popup menus are positioned so that one
    side is flush with
    > the
    > button that reveals them.
    >
    > However this positioning is of issue on the following
    page, I have the
    > banner
    > on a hidden layer (Layer 1) in Dreamweaver, upon mouse
    over of the table
    > at
    > the top of the page (Layer 2) Layer 1 is revealed
    displaying the Fireworks
    > html. The Entire page is covered in an invisible layer
    (Layer 3). Upon
    > Mouse
    > over of Layer 3, Layer 1 is again hidden. I should note
    that the
    > positioning
    > problem of the popup menus occurs regardless of Layer
    3?s existence.
    > Layers 1
    > and 2 are inside a table (w 780 px) that is centered on
    the page for
    > aesthetic
    > purpose.
    >
    >
    http://www.theundergroundnation.com/template.htm
    >
    > I know the issue is because of the layers, fireworks
    sets the positioning
    > relative to the top left corner, and because I have the
    layers within a
    > table
    > that is centered on the page, this is obviously throwing
    the numbers off.
    > Notice that if you change the width of your browser, the
    menus shift
    > position.
    > The wider your browser the further to the left the menus
    appear.
    >
    > I?ve heard rumors of nesting layers etc? Could I somehow
    nest the
    > fireworks
    > html within the layer to fix this problem? Any help is
    appreciated thanks.
    > I
    > also have access to Flash if that makes any difference.
    >
    > To answer some questions in advance; I could ditch the
    show hide layers
    > all
    > together and just leave the banner at the top of the
    page as I do in the
    > following page:
    http://www.theundergroundnation.com/test1.htm
    . Without
    > the
    > layers I can center the banner without any issue;
    however it is my intent
    > to
    > only leave the banner visible on the main pages of the
    site due to its
    > large
    > size. Seeing as most people still keep their monitor at
    800x600 I want to
    > use
    > the rollover effect to save headroom on the sub pages of
    the site,
    > especially
    > for pages congaing photographs, I want the full photo to
    be totally
    > visible
    > upon loading the page.
    >
    > Anyhow, if you haven?t noticed I?m mildly OCD about my
    design. Any help
    > appreciated, thanks.
    >
    >

Maybe you are looking for