Netui tags - ADA Compliance

I've run into a situation with netui tags that I'm wondering if anyone can shed some light on. Before we release apps here, they're checked for compliance with the Americans with Disabilities Act. The folks that do this checking asked that my app have <label> tags for all my form fields with a "for=" attribute that matches an "id=" attribute in the input tag, like the following:
          <label for="xyz">Select location</label>
          <select name=setting_key id="xyz">
          </select>
          I think having these tags help screen readers to read the screens or something. My problem is that the netui tags don't offer the id attribute. I've ripped out most of my netui tags and replaced them with standard html tags, but for a radio button, I can't get it to work. My netui tags that work look like this:
          <netui-data:repeater dataSource="{pageFlow.addrArray}">
          <netui-data:repeaterItem>
          <netui:radioButtonGroup dataSource="{actionForm.addressid}">
          < netui:radioButtonOption value="{container.item.addressID}" />
          </netui:radioButtonGroup>
          </netui-data:repeaterItem>
          </netui-data:repeater>
          I've tried several varations on something like this:
          <input type="radio" name="{actionForm.addressid}" value="{container.item.addressID}" id="addrid">
          Anyone have any ideas?
          Thanks.

Use tagId

Similar Messages

  • A list of inputs using netui tags

    Hi all,
    we have a family of netui problems which occur quite frequently.
    The main problem is: what to do when we have a list of items (we don't
    now how many), and we want to display them, and get some input from the
    user.
    1. The simplest form, when the user only has to select one, is ok: we
    create a list of netui:anchor -s, with parameters, or we use a
    netui:select (but even in this case we don't know what to do if the name
    and the key of the items are different).
    2. The user should choose more then one item.
    a) We tried to use netui:select multiple=true. It renders fine, but we
    can't get the results properly. If the user selects only one item,
    it's ok, we can get it with a String field in the actionform. But if the
    user selects more items, then we can't catch them.
    We tried with String and List fields, but none of them worked (they
    contained null).
    b)It is more complicated, if we also want to display some attributes of
    the items, like:
    <checkBox> name1 description1 other attribute1
    <checkBox> name2 description2 other attribute1
    <checkBox> name3 description3 other attribute1
    3. The user should enter some text or number for each item
    e.g. (quite similar to 2.b)
    name1 description1 <input type='text'/>
    name2 description2 <input type='text'/>
    name3 description3 <input type='text'/>
    For 2.b) and 3) we have a workaround: we don't use netui:checbox or
    netui:textfield, but manually construct input boxes. The names of the
    boxes are the same that would be created by netui tags (e.g.
    {actionForm.input[1]}), so when the user submits the form the framework
    thinks that they were normal netui stuff and fills the actionForm with
    their data.
    4. The user can create a list on the fly, so he/she can even add more
    elements to the list. We can do it with a submit per new item method,
    but it would be better if could do it on the client side, and the user
    would click on submit only when he finished editing. e.g.:
    we want discounts in a tiered fashion: when the user buys at least 10
    pieces of a product, he gets 10%, more then 100 means 15%, and more then
    1000 means 20%. But it shouldn't be a fixed list, the administrator
    should be able to create as many ranges as he wants. It looks like this:
    Limit Discount
    <input1_L> <input1_D>
    <input2_L> <input2_D>
    <add more button>
    On the client side we can create the input boxes dynamically, with
    proper names, so the system will know which field(s) of the actionform
    we try to set. The problem is that when he submits the form, we get
    IndexOutOfBoundsException, since the field of the actionForm doesn't
    contain enough space for the items. Of course, we can initialize the
    field in the reset() method of the actionform, but at this time we don't
    know how many elements will it store.
    We checked the docs, samples, and the bea newsgroups, but couldn't find
    solutions to these questions (We have seen some similar questions in the
    newsgroups, so it seems other people also have some of these problems).
    I hope I described them clearly and you will be able to find ways to
    solve (at least some of ) them.
    Thanks in advance,
    don

    Hi all,
    we have a family of netui problems which occur quite frequently.
    The main problem is: what to do when we have a list of items (we don't
    now how many), and we want to display them, and get some input from the
    user.
    1. The simplest form, when the user only has to select one, is ok: we
    create a list of netui:anchor -s, with parameters, or we use a
    netui:select (but even in this case we don't know what to do if the name
    and the key of the items are different).
    2. The user should choose more then one item.
    a) We tried to use netui:select multiple=true. It renders fine, but we
    can't get the results properly. If the user selects only one item,
    it's ok, we can get it with a String field in the actionform. But if the
    user selects more items, then we can't catch them.
    We tried with String and List fields, but none of them worked (they
    contained null).
    b)It is more complicated, if we also want to display some attributes of
    the items, like:
    <checkBox> name1 description1 other attribute1
    <checkBox> name2 description2 other attribute1
    <checkBox> name3 description3 other attribute1
    3. The user should enter some text or number for each item
    e.g. (quite similar to 2.b)
    name1 description1 <input type='text'/>
    name2 description2 <input type='text'/>
    name3 description3 <input type='text'/>
    For 2.b) and 3) we have a workaround: we don't use netui:checbox or
    netui:textfield, but manually construct input boxes. The names of the
    boxes are the same that would be created by netui tags (e.g.
    {actionForm.input[1]}), so when the user submits the form the framework
    thinks that they were normal netui stuff and fills the actionForm with
    their data.
    4. The user can create a list on the fly, so he/she can even add more
    elements to the list. We can do it with a submit per new item method,
    but it would be better if could do it on the client side, and the user
    would click on submit only when he finished editing. e.g.:
    we want discounts in a tiered fashion: when the user buys at least 10
    pieces of a product, he gets 10%, more then 100 means 15%, and more then
    1000 means 20%. But it shouldn't be a fixed list, the administrator
    should be able to create as many ranges as he wants. It looks like this:
    Limit Discount
    <input1_L> <input1_D>
    <input2_L> <input2_D>
    <add more button>
    On the client side we can create the input boxes dynamically, with
    proper names, so the system will know which field(s) of the actionform
    we try to set. The problem is that when he submits the form, we get
    IndexOutOfBoundsException, since the field of the actionForm doesn't
    contain enough space for the items. Of course, we can initialize the
    field in the reset() method of the actionform, but at this time we don't
    know how many elements will it store.
    We checked the docs, samples, and the bea newsgroups, but couldn't find
    solutions to these questions (We have seen some similar questions in the
    newsgroups, so it seems other people also have some of these problems).
    I hope I described them clearly and you will be able to find ways to
    solve (at least some of ) them.
    Thanks in advance,
    don

  • Render information into a jsp page using netui tags

    Hi,
    Using netui tag in JSP, how can I display data that is stored in a array list or collection object? For example, the collection object has a list of href links. What is the appropriate netui tag that I can use to display the content in the jsp page?
    Any suggestions on this?
    Thanks,
    Latha

    look at the netui:data repeater tags.

  • Beehive NetUi Tags and Controls in Workshop 10.1!

    Hi,
    I have a question, whenever I tried to create a Beehive netui and controls project on workshop studio, it asks me for the WSL 10.1 runtime, it means Beehive netui tags and controls are dependent on WLS runtime, if I do not have WLS runtime installed in workshop runtimes, I can not use beehive netui and controls in my project. So, it means, it is only weblogic specific implementation in Workshop, I tried with other containers runtime like JBoss and it did not work. Is there any way I can implement beehive netui tags and controls that is an open source using Workshop on other application containers without WLS run time? If someone tested this kind of scenario and developed some applications and had some hands-on experience, please respond to my question. I will greatly appreciate any comment and/or help.
    Thanks,
    -Gary Hassan

    Hi Gary,
    The Beehive tooling features available in Workshop are currently only supported with a WebLogic 9.2 or 10.x Runtime.
    However, regarding your question on using Beehive runtime classes with a non WLS runtime, there is documentation available on the Apache site on building and running against a Tomcat server. In this case, you will need to add the beehive library jar as any other party jar instead of using the beehive facets and library modules.
    http://beehive.apache.org/docs/1.0.2/samples/petstore.html
    cheers
    Raj

  • How to make ADA Compliance Website in SharePoint

    Hello,
    We are facing problem to make our SharePoint website to ADA Compliance. This is because, on most of the pages, SharePoint renders Html that can not be changed.
    Can anybody helps how can we change or  make a SharePoint Website ADA Compliance.
    An immediate reply will be highly appreciable.
    Thanks,
    Rajesh Lohar

    Hi,
    According to your description, my understanding is that you want to make SharePoint site complicate with Americans with Disabilities Act.
    SharePoint provides a More Accessible Mode that changes the rendering and behavior of page links to be more compatible with accessibility tools such as screen readers. 
    Here are some detailed articles for your reference:
    http://blogs.msdn.com/b/markarend/archive/2007/07/03/moss-2007-and-accessibility-ada-guidelines-and-standards.aspx
    http://msdn.microsoft.com/en-us/library/office/jj841103(v=office.15).aspx
    Best Regards
    Jerry Guo
    TechNet Community Support

  • Netui tags and javascript

              Hello Gang, not sure if anyone has run into this issue, but here it goes.
              I got a netui:form with netui:checkboxes that I need to have a specific type of
              functionality.
              The first netui:checkbox when checked calls a javascript function that enables
              the remaining netui:checkboxes so that the user can check them.
              Except the first netui:checkbox, all other netui:checkboxes need to be disabled
              at run time and then enabled once the first check box is checked, below is the
              code I got thus far, can't get the diable/enable part to work for the netui tags.
              (Keep in mind that this works well with regular html checkbox tag and javascript)
              The following code wont generate javascript errors.
              It's not doing anything in terms of enabling/disabling the netui:checkboxes.
              <script language="javascript">
              function checkBoxDisable()
              document[getNetuiTagName("updateForm")][getNetuiTagName("tue")].disabled=true;
              document[getNetuiTagName("updateForm")][getNetuiTagName("wed")].disabled=true;
              document[getNetuiTagName("updateForm")][getNetuiTagName("thu")].disabled=true;
              document[getNetuiTagName("updateForm")][getNetuiTagName("fri")].disabled=true;
              function checkboxEnable()
              if (document[getNetuiTagName("updateForm")][getNetuiTagName("mon")].checked)
              document[getNetuiTagName("updateForm")][getNetuiTagName("tue")].disabled=false;
              document[getNetuiTagName("updateForm")][getNetuiTagName("wed")].disabled=false;
              document[getNetuiTagName("updateForm")][getNetuiTagName("thu")].disabled=false;
              document[getNetuiTagName("updateForm")][getNetuiTagName("fri")].disabled=false;
              else
              document[getNetuiTagName("updateForm")][getNetuiTagName("tue")].disabled="true";
              document[getNetuiTagName("updateForm")][getNetuiTagName("wed")].disabled="true";
              document[getNetuiTagName("updateForm")][getNetuiTagName("thu")].disabled="true";
              document[getNetuiTagName("updateForm")][getNetuiTagName("fri")].disabled="true";
              </script>
              <netui:form action="updateContact" tagId="updateForm">
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[0]}"
              tagId="mon" onClick="checkboxEnable()"/>Monday
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[1]}"
              tagId="tue"/>Tuesday
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[2]}"
              tagId="wed"/>Wednesday
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[3]}"
              tagId="thu"/>Thursday
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[4]}"
              tagId="fri"/>Friday
              </netui:form>
              Any help on this will be appreciated ..
              

              Hello Gang, not sure if anyone has run into this issue, but here it goes.
              I got a netui:form with netui:checkboxes that I need to have a specific type of
              functionality.
              The first netui:checkbox when checked calls a javascript function that enables
              the remaining netui:checkboxes so that the user can check them.
              Except the first netui:checkbox, all other netui:checkboxes need to be disabled
              at run time and then enabled once the first check box is checked, below is the
              code I got thus far, can't get the diable/enable part to work for the netui tags.
              (Keep in mind that this works well with regular html checkbox tag and javascript)
              The following code wont generate javascript errors.
              It's not doing anything in terms of enabling/disabling the netui:checkboxes.
              <script language="javascript">
              function checkBoxDisable()
              document[getNetuiTagName("updateForm")][getNetuiTagName("tue")].disabled=true;
              document[getNetuiTagName("updateForm")][getNetuiTagName("wed")].disabled=true;
              document[getNetuiTagName("updateForm")][getNetuiTagName("thu")].disabled=true;
              document[getNetuiTagName("updateForm")][getNetuiTagName("fri")].disabled=true;
              function checkboxEnable()
              if (document[getNetuiTagName("updateForm")][getNetuiTagName("mon")].checked)
              document[getNetuiTagName("updateForm")][getNetuiTagName("tue")].disabled=false;
              document[getNetuiTagName("updateForm")][getNetuiTagName("wed")].disabled=false;
              document[getNetuiTagName("updateForm")][getNetuiTagName("thu")].disabled=false;
              document[getNetuiTagName("updateForm")][getNetuiTagName("fri")].disabled=false;
              else
              document[getNetuiTagName("updateForm")][getNetuiTagName("tue")].disabled="true";
              document[getNetuiTagName("updateForm")][getNetuiTagName("wed")].disabled="true";
              document[getNetuiTagName("updateForm")][getNetuiTagName("thu")].disabled="true";
              document[getNetuiTagName("updateForm")][getNetuiTagName("fri")].disabled="true";
              </script>
              <netui:form action="updateContact" tagId="updateForm">
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[0]}"
              tagId="mon" onClick="checkboxEnable()"/>Monday
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[1]}"
              tagId="tue"/>Tuesday
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[2]}"
              tagId="wed"/>Wednesday
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[3]}"
              tagId="thu"/>Thursday
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[4]}"
              tagId="fri"/>Friday
              </netui:form>
              Any help on this will be appreciated ..
              

  • Custom Tags That Extend NetUI Tags

    In http://docs.oracle.com/cd/E12840_01/wlw/docs103/guide/upgrading/conUpgradingPageFlows.html, "Custom Tags That Extend NetUI Tags is not supported. Likewise, extending JSP tags in version 10.x is not supported." What does it mean? I have a few jsp tags that extend AbstractTag. Using TagSupport is the only way or I still can extend the beehive tags. Thanks!

    Found a solution to 2) all of a sudden.
    I have to compile my tag with the netui-tags-html JAR file from version 8.1.6. It is very importalt that this does not get included in the WEB-INF lib of the portal web-application.
    So my code looks something like ;
    import com.bea.wlw.netui.tags.html.Label; // from netui-tags-html.8.1-sp6.jar
    public class ErrorLabelTag extends Label
    Strange?

  • Use netui tags within javascript function

    Is there anyway to use netui tags within a javascript function? I am trying to create a onChange event handler for a netui:select tag that will call a javascript function which will execute a few netui callMethod tags. The problem is that if the netui tags are embedded within a javascript function they are not translated into javascript. Is there some kind of function that I can wrap the embedded netui tags with so that they will be translated into javascript at runtime? Thanks.

    Hi,
    I am trying to embed JSP code within javascript
    t function, so that it can be called when the user
    leaves the page. No,you can't.
    JSP files are complied on server side while the javascript is the clint side code.
    if you really want to call the functio when the user leaves the page, you can call a function runs on the server side to set the session.
    regards

  • Including NetUI tags with jspf files

    Hello
    I'm trying to clean up my jsp code by putting some of it into .jspf
    files. But apparently this include means that my netUI tags are rendered
    at text and not interpretated.
    Is this how it should be?, can one only put pure HTML into .jspf files?
    Oliver Billing

    Hey Vimala
    Found out why it dosent work. Its because I use the danish letters ???
    Example:
    <td><netui:label
    value="{pageFlow.st?vne.DRFSt?vne.overst?vne.navn}"></netui:label></td>
    The above is rendered as text when included in a jspf file.
    <netui:label value="{pageFlow.ekvipage.hest.navn}"></netui:label>
    The above works (same file)
    So its actually a bug :-)
    Oliver Billing
    [email protected] skrev:
    Hey Vimala
    I'm using <%@ include file="/header.jspf"%> and it dosent work. I'm
    using workshop 8.1
    Oliver Billing
    Vimala Ranganathan skrev:
    Hi Oliver
    How are you including the jspf file into the jsp's?
    If you use <jsp:include> tag then it will not be executed.
    Do NOT do this way:
    <jsp:include page="/jspf/sample.jspf"/>
    However, in this way it should works fine:
    <%@include file="/jspf/sample.jspf"%>
    Can you please try and check if this works?
    Thanks
    Vimala
    Some more technical info:
    There is a fundamental difference between the include directive <%@ include %> and <jsp:include >
    The <%@ include %> tag includes the file at translation/compile time. It is like copying and pasting the contents of the "fragment" into the main JSP. It is then translated, compiled and run.
    The <jsp:include> tag includes the result of running that page at execution time. ie it is as if you made a web request to that URL, and pasted the response you got back into the response of the including page.
    What does this mean in your case?
    1 - a .jspf file will not be evaluated by <jsp:include>. If you make a request for the jspf file directly, it will send you the source, because it doesn't invoke the JSP servlet on jspf files.
    Solution: change the file to sample.jsp, and it should include ok or use @include

  • NetUI tags

    All -
    I am very new to Java and WebLogic and WL Workshop. I would like to use WLW
    if possible. One concern my boss has is vender lockin. I know a lot of the
    stuff that WLW produces is standards based. Are the NetUI tag libraries BEA
    specific or could I use them and port my app to TomCat, etc?
    Thank you for your help,
    Marshall

    Marshall--
    There are two parts to this answer.
    For 8.1 SP2, we have shipped a binary compatibility kit that includes many of the NetUI tags
    (excluding the ones that run only on WebLogic). This is available here:
    http://dev2dev.bea.com/technologies/standards/standards_pageflow_portability_index.jsp
    It uses an XDoclet compiler to compile .jpf files into a .class and struts-config.xml file. While
    not open source, it allows many JPF applications to run on other Servlet 2.3 containers.
    Going forward, NetUI is part of the Beehive effort which will open source the Workshop
    Application Framework (NetUI + Controls + Web Service Metadata), and Beehive will run on Tomcat.
    This effort includes many of the NetUI tags (again, those that don't depend on WebLogic RowSets, for
    example). You can read more about Beehive here:
    http://dev2dev.bea.com/technologies/beehive/index.jsp
    Hope that helps...
    Eddie
    Marshall wrote:
    All -
    I am very new to Java and WebLogic and WL Workshop. I would like to use WLW
    if possible. One concern my boss has is vender lockin. I know a lot of the
    stuff that WLW produces is standards based. Are the NetUI tag libraries BEA
    specific or could I use them and port my app to TomCat, etc?
    Thank you for your help,
    Marshall

  • Netui tags to adf tags conversion mechanism

    If any one knows some way to convert netui tags to adf tags please reply to this question. If any ready code or tool is available for this conversion it would be really great.
    Please let me know any such way for this netui to adf tags conversion.
    Thanks
    Vinay MN

    We are working on a set of utilities to migrate from the old BC4J syntax to the ADF model syntax. We haven't determined yet if that conversion will be 100% automatic, but we hope to migrate as much as possible automatically

  • Netui tags and illegal Javascript names - workaround?

    I'm trying to use the netui tags and tie reference the netui generated names. For example, these look like:
    portlet_2_3{actionForm.customerGroup}
    but this is not a legal Javascript name because of the curly braces. Is there a way around this?

    Hi
    havent tried it, but you wouldnt be adding a netui tag, you would be adding a textbox whose name would be exactly like the generated name if you had the netui tag in the jsp
    i.e. add the textbox with name <portletInstance>{actionForm.fieldName[1]}
    where portletInstance is obtained dynamically. i guess the property would have to be mapped as an array type on the form bean
    regars
    deepak

  • NetUI tags and calendar popups

    Does anybody have an example of a simple calendar popup that can work with NetUI
    tags. I downloaded a couple different solutions from the net and they work fine
    when I use simple html form tags, however don't seem to work if I use the netui
    tags.
    Thanks!
    Kunal

    use the netui tagID
    <netui:form tagId="aForm" >
    <netui:textbox datasource="{actionForm.firstname}" tagId="firstName">
    then
    alert(document.forms[getNetuiTagName("aForm",this)][getNetuiTagName("firstName",this)].value)

  • Calendar popups with NetUI tags

    Does anybody have an example of a simple calendar popup that can work with NetUI
    tags. I downloaded a couple different solutions from the net and they work fine
    when I use simple html form tags, however don't seem to work if I use the netui
    tags.
    Thanks!
    Kunal

    Mike,
    Doc of choice tag says
    The <netui-data:choice> tag must be used together with the <netui-data:choiceMethod> tag in order to achieve conditional rendering of the body of a particular <netui-data:choice> tag. A single <netui-data:choiceMethod> and one or more <netui-data:choice> tags should be nested within a <b><netui-data:repeaterItem></b> tag.
    In my case, I don't have any repeaterItem...
    I have a value in pageContext; I want to compare the its value with any value in jsp. I can go for <logic:equal> as in struts. But I dont wnat to use struts. I wnat to use netui's tags. Moreover I dont want to use scriplets..
    Then How?
    Thanks.
    Prakash

  • Comparison with netui-tags?

    hi
    Are there any netui-tags to make a decision as with the logic:equal tag of the struts framework? The point is to use the xscript expression language which is available in netui tags only. We want to avoid any scriptlets but how? I know the workaround with the netui-data:getData tag. But isn't there an elegant way to do this in an xml manner? I guess there is, but i'm blind..
    thanks for any advice...
    marc

    Mike,
    Doc of choice tag says
    The <netui-data:choice> tag must be used together with the <netui-data:choiceMethod> tag in order to achieve conditional rendering of the body of a particular <netui-data:choice> tag. A single <netui-data:choiceMethod> and one or more <netui-data:choice> tags should be nested within a <b><netui-data:repeaterItem></b> tag.
    In my case, I don't have any repeaterItem...
    I have a value in pageContext; I want to compare the its value with any value in jsp. I can go for <logic:equal> as in struts. But I dont wnat to use struts. I wnat to use netui's tags. Moreover I dont want to use scriplets..
    Then How?
    Thanks.
    Prakash

Maybe you are looking for

  • Memory configuration for C30

    Hi All! I was hoping someone would be able to help me. We are about to buy new machines which will mostly be used for CFD simulations using Fire Dynamics Simulator (FDS) which is run using MPICH. We are likely to get Lenovo C30 systems with 2 x Xeon

  • Safari Public Beta 3 for Windows - 64-bit XP?

    I installed the newly released beta on XP x64 and it's missing the interface. The menus are missing, and the bookmarks are just the blue dot icons with no text. Can't type in any addresses either. Anyone else tried this? Is the app simply not x64 com

  • Oracle Linked Server problem in SQL Server

    I'm using the MS OLE DB Provider for Oracle in my SQL Server linking an Oracle 9i server to the SQL Server 2000 server. I get the following error when I try to execute a query thru the SQL Server Query Analyzer: [OLE/DB Provider 'MSDAORA' IOpenRowset

  • Fcp video not rendering in compressor.....

    I have been doing the same recurring project (but for different graduating classes) every week now. Everything is the same, except new photos that I import and new footage that I have taken on my FX1. Last week, when I went to export using compressor

  • Safari is crashing - Crashed Thread:  3  Safari: CertRevocationChecker

    Safari comes up for a few minutes and then crashes. The crash report being generated seems to indicate the same thread every time. I've done everything I could think of including re-installing Safari and then restoring it from Time Machine when that