3rd party tags and design view customization

I know that Dreamweaver allows me to replace third party tags
with images in design view. My question is can I make my jsp widget
tags look dependent on attributes of that tag?
And why can’t I say that my <widget:suggestionBox
… size=”10” /> should look like a <input
size=”10” /> in design view?
Are there plans to support this long overlooked functionality
in the near future?

Well I am sure you wrote in good faith and I appreciate
anybodys help . However, I do not want to be rude, but if you have
nothing to say, than please don't post something useless. I am sure
there are many areas where you can post real solutions.
Of course DW works nicely with xsl in design view. My problem
was finally answered in another thread, I hope that link works.
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=190&threadid=1266443&fo rumid=12
I mark this as the answer, so everybody with that problem
knows where the solution is.
Joe

Similar Messages

  • Using 3rd party tags in JSF application

    I have a 3rd party tag library used previously in a Struts application to check if an user is authenticated / has logged in. The tag looks like this: <authn:authenticate userVarName="user" scope="session" errorPage="error.jsp" successPage="/faces/Page1.jsp"></authn:authenticate>. One unusual thing about the tag is that the uri for it references a jar file that includes the tld.
    I can build the app okay but deployment fails with the following error:
    Deploying application in domain failed; Error loading deployment descriptors for authapp Line 91 Column 10 -- cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'. One of '{"http://java.sun.com/xml/ns/j2ee":description, "http://java.sun.com/xml/ns/j2ee":display-name, "http://java.sun.com/xml/ns/j2ee":icon, "http://java.sun.com/xml/ns/j2ee":distributable, "http://java.sun.com/xml/ns/j2ee":context-param, "http://java.sun.com/xml/ns/j2ee":filter, "http://java.sun.com/xml/ns/j2ee":filter-mapping, "http://java.sun.com/xml/ns/j2ee":listener, "http://java.sun.com/xml/ns/j2ee":servlet, "http://java.sun.com/xml/ns/j2ee":servlet-mapping, "http://java.sun.com/xml/ns/j2ee":session-config, "http://java.sun.com/xml/ns/j2ee":mime-mapping, "http://java.sun.com/xml/ns/j2ee":welcome-file-list, "http://java.sun.com/xml/ns/j2ee":error-page, "http://java.sun.com/xml/ns/j2ee":jsp-config, "http://java.sun.com/xml/ns/j2ee":security-constraint, "http://java.sun.com/xml/ns/j2ee":login-config, "http://java.sun.com/xml/ns/j2ee":security-role, "http://java.sun.com/xml/ns/j2ee":env-entry, "http://java.sun.com/xml/ns/j2ee":ejb-ref, "http://java.sun.com/xml/ns/j2ee":ejb-local-ref, "http://java.sun.com/xml/ns/j2ee":service-ref, "http://java.sun.com/xml/ns/j2ee":resource-ref, "http://java.sun.com/xml/ns/j2ee":resource-env-ref, "http://java.sun.com/xml/ns/j2ee":message-destination-ref, "http://java.sun.com/xml/ns/j2ee":message-destination, "http://java.sun.com/xml/ns/j2ee":locale-encoding-mapping-list}' is expected.
    ; requested operation cannot be completed
    Exception=Deployment failed.
    The tag's tld is <tlib-version>1.1</tlib-version> <jsp-version>1.2</jsp-version>. I'm not sure if this is the problem or if 3rd party tags don't necessarily work within JSF (am using Creator) without modification. Does anyone have any advise on this? Should 3rd party tags work? If not, how do they need to be modified or turned into a component to work? This tag doesn't display anything - it checks if users have logged in and redirects them to another site to login if they did not log in.
    Message was edited by:
    sstgermain
    Message was edited by:
    sstgermain

    Thanks for your reply! I do have the jar file, which includes the .tld, in my WEB-INF/lib
    On Page1.jsp I tried using <%@ taglib uri="/WEB-INF/lib/myLibrary.jar" prefix="myTag" %> but got errors so I moved it to <jsp:root version="1.2" xmlns:myTag="/WEB-INF/lib/myLibrary.jar"...Should the <%@taglib uri = work? When I tried to use <%@taglib version I got errors saying strict xml enforced.
    I am using the format prefix:tag format <myTag:checkaccess userVarName="user"
    scope="session"
    errorPage="error.jsp" ></myTag:checkaccess>
    Do I need to somehow convert this tag into a component?
    I think the jar is fine since I'm using it in a number of other applications.
    Should the tag work? Do non-JSF tags have to be turned into components?

  • Using 3rd party tags

    I have a 3rd party tag library, used previously in Struts apps, that I would like to use in a JSF application. The tag checks if a user has logged in to the app and redirects to a login site if not. It doesn't display anything to the screen. Should a 3rd party tag that worked with JSP/Struts work with JSP without modification???? If not, how do I need to modifiy it? Please let me know!
    I imported the necessary libaries for the tag using <jsp:directive.page import="myFiles.*"/>
    I added the tags uri (which happens to be a jar file in /web-inf/ to the <jsp:root version="1.2" xmlns:authn="/WEBINF/lib/myLibrary.jar"
    The tag itself which I put between <jsp:root tags on Page1.jsp looks like this: <myTag:checkaccess userVarName="user"
    scope="session"
    errorPage="error.jsp"
    Info from the tld: <tlib-version>1.1</tlib-version>
    <jsp-version>1.2</jsp-version>
    I have the taglib entry in the web.xml
    I can build the app but when I try to deploy it I get the following error:
    Deploying application in domain failed; Error loading deployment descriptors for devpin Line 91 Column 13 -- cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'. One of '{"http://java.sun.com/xml/ns/j2ee":description, "http://java.sun.com/xml/ns/j2ee":display-name, "http://java.sun.com/xml/ns/j2ee":icon, "http://java.sun.com/xml/ns/j2ee":distributable, "http://java.sun.com/xml/ns/j2ee":context-param, "http://java.sun.com/xml/ns/j2ee":filter, "http://java.sun.com/xml/ns/j2ee":filter-mapping, "http://java.sun.com/xml/ns/j2ee":listener, "http://java.sun.com/xml/ns/j2ee":servlet, "http://java.sun.com/xml/ns/j2ee":servlet-mapping, "http://java.sun.com/xml/ns/j2ee":session-config, "http://java.sun.com/xml/ns/j2ee":mime-mapping, "http://java.sun.com/xml/ns/j2ee":welcome-file-list, "http://java.sun.com/xml/ns/j2ee":error-page, "http://java.sun.com/xml/ns/j2ee":jsp-config, "http://java.sun.com/xml/ns/j2ee":security-constraint, "http://java.sun.com/xml/ns/j2ee":login-config, "http://java.sun.com/xml/ns/j2ee":security-role, "http://java.sun.com/xml/ns/j2ee":env-entry, "http://java.sun.com/xml/ns/j2ee":ejb-ref, "http://java.sun.com/xml/ns/j2ee":ejb-local-ref, "http://java.sun.com/xml/ns/j2ee":service-ref, "http://java.sun.com/xml/ns/j2ee":resource-ref, "http://java.sun.com/xml/ns/j2ee":resource-env-ref, "http://java.sun.com/xml/ns/j2ee":message-destination-ref, "http://java.sun.com/xml/ns/j2ee":message-destination, "http://java.sun.com/xml/ns/j2ee":locale-encoding-mapping-list}' is expected.
    ; requested operation cannot be completed
    Exception=Deployment failed.
    Deployment failed.
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:210)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:75)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:242)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
    C:\Documents and Settings\sstgerma\My Documents\Creator\Projects\devpin\nbproject\build-impl.xml:607: Deployment failed.
    BUILD FAILED (total time: 0 seconds)
    Message was edited by:
    sstgermain

    Thanks for your reply! I do have the jar file, which includes the .tld, in my WEB-INF/lib
    On Page1.jsp I tried using <%@ taglib uri="/WEB-INF/lib/myLibrary.jar" prefix="myTag" %> but got errors so I moved it to <jsp:root version="1.2" xmlns:myTag="/WEB-INF/lib/myLibrary.jar"...Should the <%@taglib uri = work? When I tried to use <%@taglib version I got errors saying strict xml enforced.
    I am using the format prefix:tag format <myTag:checkaccess userVarName="user"
    scope="session"
    errorPage="error.jsp" ></myTag:checkaccess>
    Do I need to somehow convert this tag into a component?
    I think the jar is fine since I'm using it in a number of other applications.
    Should the tag work? Do non-JSF tags have to be turned into components?

  • Safari allows 3rd party cookies and all cookies even when prefernces are set to "never allow" with Mac os 10.6.8

    safari ALWAYS allows 3rd party cookies and all cookies even when set to "block cookies: always" and "from 3rd party and advertisers."  I have removed the website data, emptied the cache, reset safari, erased the history and it STILL dumps cookies.  (For example, if I go to the usgov weather website only I end up with 11 cookies, the top one being "addthis.com" listed as cashed in local storage.  But didn't I just empty the cache... multiple times??? Is my Safari application "broken" or "corrupt."  Can the application be renewed so that it actually does what it is commanded to do?

    Not using any extensions, Andy.
    Allowed a guest account and tested that.  Lots of cache/cookies showed up for my "guest" that on face value, appeared 3rd party:  the familiar "addthis.com" cache and others including a facebook cache and I did not, nor have ever, participated in facebook. But it could be that the "trusted" site my virtual guest visited had a relationship with facebook such that my COMPUTER "friended" facebook even though my guest and I most certainly would have declined the invitation :-)  But what I really don't get is why washington post cookies keep showing up every single time.  Isn't that the absolute definition of 3rd party cookies?!
    forgive my rant.
    On the other hand, when I logged out as guest, all data was automatically deleted, and when I relogged in as guest, it appeared that all the data, including cached data, had indeed been deleted.  But when I relogged in as myself, the same old garbage reappeared in the cache and cookie bin. The fact is, there appears to be no such thing as truly and completely emptying ones cache, resetting ones browser, or deleting ones cookies. They are here to stay.
    (And, oh yes, I have tried logging out, turning off and on the computer right after performing emptying tasks, etc.)

  • Problem with code and design view

    When I try to have both the code and design view
    side by side in Dreamweaver CS4 on a PC -- I get the html code in both sections.
    How  do I see the layout while looking at the code?
    Thanks for help.
    Library Friend

    You've probably got View > Split Code checked.
    Click View > Code and Design

  • Combined code and design view broken

    I use Dreamweaver MX 2004 and normally work in the "split"
    (code and design) view. I just opened a site to work on it and that
    mode does not work - I click on the link in the toolbar, but it
    does not take effect. I also cannot make it work from
    View-->Code and Design. The individual Code and Design views DO
    work so I suspect it's a configuration problem. I checked
    Edit->Preferences->Filte Types/Editors, and .html is not
    listed in the "open in code view" dialog box. What would cause this
    feature to suddenly stop working? I've Googled every conceivable
    keyword and phrase to find an answer, without success. Has anyone
    else experienced this behavior?

    Never mind - figured it out. Duh, do I feel like a dummy! I
    had apparently dragged the bottom border of the code window all the
    way down, so the design view was hidden. Sorry!

  • Dreamweaver Momentarily Freezing When Moving Between Code and Design View

    I have Dreamweaver CS4 and have had a problem that just started yesterday.  I have rebooted my machine to no avail.  The local copy and the live copy of the site are on two different servers that we access through a local network.
    Dreamweaver slows to a standstill if I click to another program and then attempt to go back into Dreamweaver or if I switch between design and code view.
    I haven't made any changes to Dreamweaver in the way of added extensions or updates.  Is it possible that the cause of this could be either a server problem or a connectivity to the server problem?
    Many thanks in advance for any help you could provide.
    Andy

    You can use CTRL+# to switch between Code and Design View.
    By the way, this is the Dreamweaver Application Development forum which deals with questions about using server-side scripting languages like PHP or ColdFusion. General Dreamweaver questions should be posted in the regular Dreamweaver General Discussions forum.
    And while I´m at it: please use descriptive headlines such as "how to switch between Code and Design View" for your posts -- mentioning your screen name "Goula129" is not helpful to other users.

  • BT Mulitast on 3rd Party Routers and IP Addressing

    I know a few of us use 3rd party routers and have got BT Youview IPTV channels working fine.
    But I have spotted a possible issue and not sure if this is my box or not.
    When set the Youview box to static ip, every few seconds it is requesting an ip address from the DHCP range. This should not happen when using a static ip.
    When the unit goes into standby it is still requesting the ip address which is odd as this again should not happen.
    Even resetting the device to DHCP, I get the same issue of it constantly requesting an IP address.
    I have performed the 'Software Reset' and both 'Factory Reset' options in maintenance mode and get the same issue once the unit is back up and running.
    I'm more inclined to say this is a possible faulty unit as neither of the 'Internet/USB Recovery' options work and instead they both say 'Sorry, selected option failed'
    Can some users just check their logs files for their routers and see if their BT Youview boxes are doing the same. For info my Retail Youview box does not have this issue.
    regards
    Walkerx

    thanks Tim,
    I think my box is faulty as I've now tried 3 different routers and get the same issue
    The device is set to static ip, but is still requesting a DHCP address.
    The BT HomeHubs have no decent logging so can't check anything on that and my Retail Youview box is not inheriting this same issue.
    Just waiting to hear back from BT but don't think they will class it as faulty as it still works, but if the recovery options don't work and getting this issue with the ip address then you would think it was faulty

  • Altering ID3 Tags with 3rd party software and having it recognized by iTunes

    Hi,
    Long time mp3 user but new to the iPod/iTunes family so I'm super unfamiliar with how it works. I currently use as separate mp3 retagger to batch process new ID3 tags and I noticed my iTunes library doesn't update the changes. Is there an easy way to keep updating folders without having to delete everything and reimport?
    So,  I have VA albums but itunes shows them as different albums with only one track in them - how do I change/fix this?  Example: Punk-o-Rama vol 1 is a best of collection but instead of 1 album with multiple artists, iTunes shows it as multiple albums with 1 artist per "album" and only stores the album art on the alphabetically first "album". Fix please?

    Maybe this has something to do with connection timeout for Oracle network configuration settings:
    in file sqlnet.ora (located on server side), check these values or set them
    appropriately:
    SQLNET.INBOUND_CONNECT_TIMEOUT
    SQLNET.RECV_TIMEOUT
    SQLNET.SEND_TIMEOUT
    See http://download-east.oracle.com/docs/cd/B19306_01/network.102/b14213/sqlnet.htm#sthref370

  • Div tags in design view

    How is it that I can no longer control the position and size of a Div in design view? There appears to be no way to resize or move the div tag.I am using CS5

    Do you mean Divs or AP Divs?

  • Dreamweaver crashes when i drag my div tags in design view

    Hi
    Ive just encountered a problem with dreamweaver cs4 at work.
    I was creating a website using CSS and creating multiple div tags to house my images around the page. I normally position them using the CSS style sheet, but on this occasion, I grabbed the div tag whilst in design view and dragged it manually, and dreamweaver crashed! See image below It does so everytime I try the same thing again. Ive even restarted my PC. Anyone know why?

    I've not see this before, so can't say why it would be happening.  Would the pc be low on resources?  but then again you say it happened even after a restart of the pc.
    Maybe you could try the file cache and the personal configuration folder fix to see if it fixes any issues.
    http://forums.adobe.com/thread/417116#cache
    PS:  While I'm at it, it would be wrong for me to point out that using AP divs is not the optimum way to create a layout....  unless you know the repercussions of using them.
    Here's why:  (from the Dreamweaver FAQ)
    http://forums.adobe.com/thread/477969

  • Auto Inserting tags in Design View

    Hi,
    I keep running into a problem that is bugging the crap out of
    me and I was hoping the Dreamweaver community could help me solve
    it.
    Whenever I am in Design View, and I add, say a table, then
    type some text inside any of the cells, there is a opening and
    closing p tag that automatically is added around the text.
    p tags are no good for me because stylesheets in my CMS
    controls the p tags and in order to avoid this from happening, I
    would have to apply styling to every page, which obviously is
    horribly inefficient. I figured Dreamweaver being the powerful
    beast of a website editor it is, would have some option that allows
    me to either turn this off entirely, or modify what gets added.
    Could someone help me out?
    Thanks!

    On Fri, 1 Aug 2008 20:00:44 +0000 (UTC), "bothead1"
    <[email protected]> wrote:
    >Hi,
    >
    > I keep running into a problem that is bugging the crap
    out of me and I was
    >hoping the Dreamweaver community could help me solve it.
    >
    > Whenever I am in Design View, and I add, say a table,
    then type some text
    >inside any of the cells, there is a opening and closing p
    tag that
    >automatically is added around the text.
    >
    > p tags are no good for me because stylesheets in my CMS
    controls the p tags
    >and in order to avoid this from happening, I would have
    to apply styling to
    >every page, which obviously is horribly inefficient. I
    figured Dreamweaver
    >being the powerful beast of a website editor it is, would
    have some option that
    >allows me to either turn this off entirely, or modify
    what gets added.
    >
    > Could someone help me out?
    >
    > Thanks!
    Don't touch the return key them
    I just tested it on Dw CS3 - brand new page - created new
    table, and
    entered text.
    No <p> tags -
    but if you hit return key - it put in a new paragraph - as
    one might
    expect
    ~Malcolm~*...
    ~*

  • 3rd party charts and graphs

    I would like to find out if there are any 3rd party (Free or for purchase) libraries which contain enhanced graphics objects.  For example, I would like to find a robust strip chart capable of displaying multiple simultaneous (Time locked or common X axis) strips in separate plots with the ability to re-arrange the plots vertically (Drag and drop), save the configuration, etc.  I'm sure this can be done via a lot of detailed programming, but I'd rather just use already available solutions if they exist.
    Are there 3rd party controls that replace and enhance the built in LabView graphs and charts?
    Thanks,
    Robert

    Below are some options for advanced graphical controls:
    VantagePoint Trend
    The VantagePoint Trend control is a scalable and highly-customizable data visualization control that allows you to track changes in data over time from a given data source or set of data sources, all in a cross-platform cross-browser environment.  This control have serperate versions for WPF andSilverlight.
    Visifire Charts
    Visifire is a set of data visualization controls - powered by Microsoft® Silverlight™ & WPF. Visifire is a multi-targeting control which can be used in both WPF & Silverlight applications. Using the same API, charts in both Silverlight & WPF environments can be created within minutes. Visifire is independent of server side technology, and can be used with ASP, ASP.Net, SharePoint, PHP, JSP, ColdFusion, Python, Ruby or just simple HTML. Check out more information on page http://www.visifire.com/.
    amCharts Bundle for WPF
    It is a set of highly customizable, interactive WPF charts for WPF applications.
    Quick Charts for WPF&Silverlight
    It is an easy to use, fast set of charting controls. Compared to amCharts Bundle, it has less features and only supports column and line graphs.
    You should be able to find online documentation further describing the specifications of the above products.

  • Flash Builder 4.7 and design view question

    I have programmed a large, commercial level mobile application using Flash Builder 4.6. It is working GREAT when ran on both iOS and Android devices. 
    I was using the trial version of Flash Builder 4.6 to develop this application. I used the states feature that FB has built in to handle Portrait, Landscape, and Phone / Tablet configs. This means that I built 4 different layouts for all 8 of my views in my mobile application. Using the design view in FB 4.6 was what allowed me to do this.
    I have to say that I LOVE Flash Builder so far. GREAT tool. 
    My trial ended just last week. I had to purchase version 4.7 of the software, only to find out that they REMOVED the design view from the software.
    All complaining aside, what have other programmers who are in the same boat as me done as a solution? I would like to continue to program in AS and Flash Builder as I have taken the time to write the application and learn the whole platform. 
    As it stands now, I am in the process of downgrading my liscence keys from 4.7 to 4.6, but in order to do this I had to RETURN my retail version of FB 4.7 premium (bought online) and buy a volume liscening version (NOT through adobe, only allowed to do this through a reseller such as CDW). then once I have a key for 4.7 through volume liscencing, it can be downgraded to 4.6.
    I'm hoping to get input from others in the same boat. Did you change Programming languages? if so, to what? Did you change IDE's? If so, to what?

    Joe -
         I actually never completed the downgrade to 4.6 so I've been using 4.7 without the design view.    In 4.6, I would put a control on the view within design view.  Then I would change each state, move it around, and it would be placed that way.  In my case, each view has 4 states - portraitPhone, landscapePhone, portraitTablet, and landscapeTablet.   I had to do this 4 times for each control under 4.6
         So I went back and looked at my code in 4.7 and all the resulting code was these explicit x, y, height, and width values.  See the code below:
    <s:states> <s:State name="portraitPhone" stateGroups="phone,portrait"
    />
     <s:State name="landscapePhone" stateGroups="phone,landscape"/>
     <s:State name="portraitTablet" stateGroups="tablet,portrait"/>
     <s:State name="landscapeTablet" stateGroups="tablet,landscape"/>
     </s:states>
     <s:List id="lstMake" x="10" y="19" height="25%" allowMultipleSelection="false"borderVisible="
    true" click="changeMake(event)" labelField="label"width.landscapePhone="
    295" height.landscapePhone="105"x.landscapeTablet="
    25" y.landscapeTablet="54" width.landscapeTablet="461"height.landscapeTablet="
    292" fontSize.landscapeTablet="24"width.portraitPhone="
    182" height.portraitPhone="175"x.portraitTablet="
    16" y.portraitTablet="35" width.portraitTablet="399"height.portraitTablet="
    360" fontSize.portraitTablet="24">
     <s:dataProvider>
     <s:ArrayList id="makeCollection">
     <fx:Object label="Cadillac" data="18"/>
     <fx:Object label="Chevrolet" data="1"/>
     <fx:Object label="Dodge" data="2"/>
     <fx:Object label="Ford" data="3"/>
     <fx:Object label="GMC" data="4"/>
     <fx:Object label="Isuzu" data="6"/>
     <fx:Object label="Jeep" data="7"/>
     <fx:Object label="Licoln" data="8"/>
     <fx:Object label="Mazda" data="9"/>
     <fx:Object label="Mercury" data="10"/>
     <fx:Object label="Nissan" data="11"/>  
    <fx:Object label="Oldsmobile" data="12"/>
     <fx:Object label="Sterling" data="20"/>
     <fx:Object label="Suzuki" data="13"/>
     <fx:Object label="Toyota" data="14"/>
     </s:ArrayList>
     </s:dataProvider>
     </s:List>
     <s:Label x="10" y="8" fontSize="11" text="Vehicle Make"x.landscapeTablet="
    10" y.landscapeTablet="23" fontSize.landscapeTablet="24"fontSize.portraitTablet="
    24"/>
     <s:Label x="143" y="11" fontSize="11" text="Vehicle Year"x.landscapePhone="
    354" y.landscapePhone="10"x.landscapeTablet="
    517" y.landscapeTablet="23" width.landscapeTablet="143"height.landscapeTablet="
    26" fontSize.landscapeTablet="24"x.portraitPhone="
    204" y.portraitPhone="8"x.portraitTablet="
    446" y.portraitTablet="11" fontSize.portraitTablet="24"/>
     <s:List id="lstYear" x="145" y="20" height="25%" allowMultipleSelection="false"borderVisible="
    true" click="doYearChange(event)" dataProvider="{yearCollection}"labelField="
    value"x.landscapePhone="
    313" y.landscapePhone="19" width.landscapePhone="157"height.landscapePhone="
    105"x.landscapeTablet="
    524" y.landscapeTablet="54" width.landscapeTablet="343"height.landscapeTablet="
    292" fontSize.landscapeTablet="24"x.portraitPhone="
    200" y.portraitPhone="19" height.portraitPhone="194"x.portraitTablet="
    453" y.portraitTablet="37" width.portraitTablet="276"height.portraitTablet="
    358" fontSize.portraitTablet="24">
     </s:List>
     <s:List id="lstModel" x="10" y="147" height="30%" borderVisible="true"dataProvider="
    {modelCollection}" labelFunction="lblFunct"width.landscapePhone="
    460" height.landscapePhone="99"x.landscapeTablet="
    13" y.landscapeTablet="384" width.landscapeTablet="992"height.landscapeTablet="
    309" fontSize.landscapeTablet="24"x.portraitPhone="
    10" y.portraitPhone="221" width.portraitPhone="301"height.portraitPhone="
    184" allowMultipleSelection="false"click="doModelSelected(event)" fontSize.portraitPhone="
    12"x.portraitTablet="
    16" y.portraitTablet="428" width.portraitTablet="742"height.portraitTablet="
    521" fontSize.portraitTablet="24"></s:List>
     <s:Label x="12" y="132" fontSize="11" text="Vehicle Model"x.landscapeTablet="
    10" y.landscapeTablet="354" fontSize.landscapeTablet="24"x.portraitPhone="
    10" y.portraitPhone="207"x.portraitTablet="
    10" y.portraitTablet="401" width.portraitTablet="154"height.portraitTablet="
    21" fontSize.portraitTablet="24"/>
      So instead of continuing to try and modify these values by hand, then run the program, using trial and error, I took a different tact.   I removed ALL x y height and width values.  Then, I wrapped all the mxml code in either <s:HGroup or <s:Vghroup tags depending on what I wanted.  Then I would just set the vertical and horizontal align on these groups.  This allows everything to scale correctly based on the size of the view (each device really is a little different).   Finally,  I hand entered things like font sizes by using State Groups like this:   fontSize.phone="12"  fontSize.tablet="22".    It still took testing on the screen to see how my layouts worked but it just makes the UI so much easier to change around and works so much better with out all the static stuff in it.
    If you have some time , I would suggest taking one of your 4.6 views that has all these static variables and trying to modify it to work like I said above.    My modified code (to do the same thing as above) is below:
    <s:states> <s:State name="portraitPhone" stateGroups="phone,portrait"
    />
     <s:State name="landscapePhone" stateGroups="phone,landscape"/>
     <s:State name="portraitTablet" stateGroups="tablet,portrait"/>
     <s:State name="landscapeTablet" stateGroups="tablet,landscape"/>
     </s:states>
     <s:VGroup height="100%" width="100%" verticalAlign="top">
     <s:HGroup paddingTop="10" width="100%" height="50%">
     <s:VGroup width="60%" paddingLeft="5">
     <s:Label fontSize="11" text="Vehicle Make"fontSize.tablet="
    24"/>
     <s:List id="lstMake" width="100%" allowMultipleSelection="false"borderVisible="
    true" click="changeMake(event)" labelField="label"fontSize.tablet="
    24" fontSize.phone="12">
     <s:layout>
     <s:VerticalLayout horizontalAlign="contentJustify" requestedMaxRowCount.portraitTablet="8" requestedMaxRowCount.phone="6" requestedMaxRowCount.landscapeTablet="4"gap="
    0" rowHeight.phone="28" variableRowHeight="false" rowHeight="55"verticalAlign="
    middle"/>
     </s:layout>
     <s:dataProvider>
     <s:ArrayList id="makeCollection">
     <fx:Object label="Cadillac" data="18"/>
     <fx:Object label="Chevrolet" data="1"/>
     <fx:Object label="Dodge" data="2"/>
     <fx:Object label="Ford" data="3"/>
     <fx:Object label="GMC" data="4"/>
     <fx:Object label="Isuzu" data="6"/>
     <fx:Object label="Jeep" data="7"/>
     <fx:Object label="Lincoln" data="8"/>
     <fx:Object label="Mazda" data="9"/>
     <fx:Object label="Mercury" data="10"/>
     <fx:Object label="Nissan" data="11"/>  
    <fx:Object label="Oldsmobile" data="12"/>
     <fx:Object label="Sterling" data="20"/>
     <fx:Object label="Suzuki" data="13"/>
     <fx:Object label="Toyota" data="14"/>
     </s:ArrayList>
     </s:dataProvider>
     </s:List>
     </s:VGroup>
     <s:VGroup width="30%">
     <s:Label fontSize="11" text="Vehicle Year"fontSize.tablet="
    24"/>
     <s:List id="lstYear" width="100%" allowMultipleSelection="false" borderVisible="
    true" click="doYearChange(event)" dataProvider="{yearCollection}"labelField="
    value" fontSize.phone="12" fontSize.tablet="24">
     <s:layout>
     <s:VerticalLayout horizontalAlign="contentJustify" requestedMaxRowCount.portraitTablet="8" requestedMaxRowCount.phone="6" requestedMaxRowCount.landscapeTablet="4"gap="
    0" rowHeight.phone="28" variableRowHeight="false" rowHeight.tablet="55"verticalAlign="
    middle"  
    />
     </s:layout>
     </s:List>
     </s:V

  • 3rd party Certificate and AAA Authentication

    I am using a cisco asa5520 and i have set up remote access vpn with an AnyConnect connection profile.
    In the connection profile i have set up that users should authenticate using both certificate and AAA.
    Due to a high security requirement, the user certificate is issued from a 3rd party.
    This is working fine and the user now need a valid certificate and a username/password to authenticate successfully.
    I added the CA certificate as a associated trustpoint on the ASA box to get the certificate verification working.
    Problem:
    If Jane and Joe both have a valid certificate AND a valid username/password, Jane could authenticate using a combo of Joes certificate, and Janes username/password. Both are valid (isolated), but i only want jane to be able to authenticate with her username/password and her personal certificate.
    I got an idea that i could put the Serial Number of the users certificate on the user object in AD (on the users department field or something like that) and check if this value match during authentication.
    So, to sum things up, i want to compare the Serial Number (SER) field of the users certificate with a field on the user object in AD during authentication. As far as i can see the user would need a valid certificate and a valid username/password to authenticate. The user would also be authenticated only if the serial field match the value on the user object in AD.
    I am happy for any help that could point me in the right direction on how to accomplish this.
    Best regards,
    Kenneth

    I actually got a better idea, and i think this will work great!
    One of the guys at work pointed out that the sAMAAccountName is still used in many areas even though it is called pre-windows 2000.
    After some trying and failing i got the idea that should try to change the "Naming Attribute(s)" on the defined AAA (ldap) server under "AAA server groups".
    So i change the Naming attribute to "department", and put in the certificate serial number. I changed the connection profile and specified that it should use the "SER" value from the certificate as username. After that i tried to log in, and voila:
    [123] LDAP Search:
            Base DN = [dc=Testlab,dc=local]
            Filter  = [department=xxxx-xxxx-xxxxxxxxx]
            Scope   = [SUBTREE]
    [123] User DN = [CN=Peter Pan,OU=Wonderland,DC=testlab,DC=local]
    The ldap debug is clear, the ldap query during authentication is now searching for the user using the department field, and looking for the value of the serial number from my certificate.
    I wasnt quite happy about using the "department" field and i took a look at the user object looking for a more suitable attribute. To my surprise the user has got a "serialNumber" attribute, and it can hold multiple values. I changed the "Naming Attribute(s)" from "department" to "serialNumber" and added the serial number from the certificat to the "serialNumber" attribute on the user object:
    [138] LDAP Search:
            Base DN = [dc=Testlab,dc=local]
            Filter  = [serialNumber=xxxx-xxxx-xxxxxxxxx]
            Scope   = [SUBTREE]
    [138] User DN = [CN=Peter Pan,OU=Wonderland,DC=testlab,DC=local]
    Worked like a charm!
    I will settle for this solution, i cant see any issues regarding security, and it will be a breeze to admin. I will make a tool now so i can search for users in AD and update/view this attribute on the user objects.
    Thank you for the input Marcin

Maybe you are looking for

  • Macbook pro via HDMI to panasonic ae2000 projector not working.

    Hi Last night I tried to connect my mid 2009 macbook pro to my panasonic ae2000 projector. I have a mini dvi to hdmi adapter lead. The macbook pro display would flicker when hdmi plugged in but the projector would not come up as a display device. (in

  • Latest version of Itunes for Windows Error 45075 Missing Componet

    I have had no problem with my IPad or Itunes for a year. Till today. I was moving Itunes from internal C drive to D. Freeing up space. It was suggested that I just uninstall and reinstall in new drive with clean copy from Itunes direct. So each time

  • IPad mini mail question

    My home wifi is working and I can receive mail on my iPad mini but it will not send mail. It gives me a message that says an error occurred while delivering the message. Help?

  • Color Correcting In CC - Making Whites Actually White

    Okay so my main question is, Are there any functions or plugins where I can look at the clip, and then click on a spot that I know should be white (But its not because the camera wasn't white balanced 100%), and have After effects automatically adjus

  • BPC  7.0 MS - Office 2003 to 2007

    Hi All, When we installed BPC 7.0 MS version, we have Office 2003. Now, we installed Office 2007. Do we have to make any changes or configuration on BPC side to work Office functionality since it is migrated from 2003 to 07?? Thank you, Raju Edited b