Netui form and textBox

I would like to use the Calendar taglib (http://www.servletsuite.com/servlets/caltag.htm) in my jsp page into bea web project.
I modified my web.xml:
<taglib>
<taglib-uri>caltag.tld</taglib-uri>
<taglib-location>/WEB-INF/taglib61.tld</taglib-location>
</taglib>
I put my taglib61.tld and caltag.jar (i have a register component) files into my project structure.
My main jsp's:
<netui:form tagId="myForm" action="toMyAction">
<netui:textBox tagId="sdate" dataSource="{actionForm.startDate}"></netui:textBox>
calendar.jsp:
<cal:Calendar header="true">
<cal:setField>myForm.sdate</cal:setField>
</cal:Calendar>
My form bean from *.jpf:
public static class ParametersForm extends FormData
private String startDate;
When I click one of them day in calendar.jsp I have a error:
Error: opener.document.myForm has no properties
Source File: javascript:opener.document.myForm.sdate.value='05/02/2006';window.close();
Line: 1
I looked my source of page, and I saw:
<form name="parametersForm" id="myForm"...
<input type="text" name="{actionForm.startDate}" id="{actionForm.startDate}">
I modified my calendar jsp page:
<cal:setField>parametersForm.startDate</cal:setField>
or
<cal:setField>parametersForm.actionForm.startDate</cal:setField>
or
<cal:setField>parametersForm.{actionForm.startDate}</cal:setField>
but, it doesn't work:
Error: opener.document.parametersForm.startDate has no properties
Source File: javascript:opener.document.parametersForm.startDate.value='17/02/2006';window.close();
Line: 1
I can't how know to use my calendar taglib.
Please help me.

I would like to use the Calendar taglib (http://www.servletsuite.com/servlets/caltag.htm) in my jsp page into bea web project.
I modified my web.xml:
<taglib>
<taglib-uri>caltag.tld</taglib-uri>
<taglib-location>/WEB-INF/taglib61.tld</taglib-location>
</taglib>
I put my taglib61.tld and caltag.jar (i have a register component) files into my project structure.
My main jsp's:
<netui:form tagId="myForm" action="toMyAction">
<netui:textBox tagId="sdate" dataSource="{actionForm.startDate}"></netui:textBox>
calendar.jsp:
<cal:Calendar header="true">
<cal:setField>myForm.sdate</cal:setField>
</cal:Calendar>
My form bean from *.jpf:
public static class ParametersForm extends FormData
private String startDate;
When I click one of them day in calendar.jsp I have a error:
Error: opener.document.myForm has no properties
Source File: javascript:opener.document.myForm.sdate.value='05/02/2006';window.close();
Line: 1
I looked my source of page, and I saw:
<form name="parametersForm" id="myForm"...
<input type="text" name="{actionForm.startDate}" id="{actionForm.startDate}">
I modified my calendar jsp page:
<cal:setField>parametersForm.startDate</cal:setField>
or
<cal:setField>parametersForm.actionForm.startDate</cal:setField>
or
<cal:setField>parametersForm.{actionForm.startDate}</cal:setField>
but, it doesn't work:
Error: opener.document.parametersForm.startDate has no properties
Source File: javascript:opener.document.parametersForm.startDate.value='17/02/2006';window.close();
Line: 1
I can't how know to use my calendar taglib.
Please help me.

Similar Messages

  • Netui:form and netui:hidden/textbox/... required datasource

    Hi all,
    1) Question
    Can I set the value of the netui:hidden tag different from the field to
    which it will post it's content?
    because datasource both defines the data to get and set to, which makes
    dynamicaly generating a form in a loop seem impossible.
    2) Problem illustration
    In a jsp of a pageflow in Portal 8.1 I am iterating through an n-size list.
    How do I dynamically generate a form for each item in the list?
    How does the datasource attribute actually works?
    <%
    List bookList = (List) session.getAttribute("bookList");
    <table>
    <%
    Iterator it = bookList.iterator();
    while (it.hasNext()) {
    BookTO book = (BookTO) it.next();
    pageContext.setAttribute("book", book);
    %>
    <tr>
    <td>
    <netui:label value="<%=book.getName()%>"/>
    </td>
    <netui:form action="viewBook">
    <netui:hidden dataSource="{book.isbnPK}"/>
    <%-- Generates a NETUI ERROR when
    clicking on the button (not before) --%>
    <td>
    <netui:button value="View"/>
    </td>
    </netui:form>
    </tr>
    <%
    %>
    </table>
    It places the isbnPK in the form without any problems,
    but when submitting the form it generates this error:
    NETUI ERROR: Unable to update expression "{book.isbnPK}" with the
    value [1-56592-403-7]. The typical cause is that the object represented by
    the
    expression is not available or is the wrong type for updating.
    The BookForm and the BookTO have these methods though:
    public String getIsbnPK() {
    return isbnPK;
    public void setIsbnPK(String isbnPK) {
    this.isbnPK = isbnPK;
    And in the pageflow:
    protected Forward viewBook(BookForm form) {
    Thank you for any and all help,
    Geoffrey

    Figured it out.
    One of the other portlets on the page had a refreshAction property set to call the begin() method for that portlets controller when the page is refreshed. It was trying to accept the multipart form data sent from the other portlet and obviously wasn't set to accept multipart data. Removing the refreshAction property fixed the problem.

  • Passing multiple parameters (caption and textbox) to another form failing to pick up Caption

    I have an Microsoft Access application that is more like a form than a database. Users complete the form and then submit it to us for review. There are many questions and memo fields on the different forms (sections). Some of the memo forms are small due
    to the limitation of the size of the form (22 inches) therefore there is a lot of scrolling. I want to include a button on each question so that when users click on it will display a form where I pass the label caption (question) and the answer to this form.
    Alternatively I can have a expanded form for each question but that would require over 50 forms. The Application is quite large. I wanted to have one form and just call the different questions/answers.
    The below is working for the text box (AnswerTxt). However the CaptionTxt is not holding it's value when it gets to the new form. It's only displaying the name of the variable name, CaptionTxt
    On the form where the data resides I have:
    Private Sub test_Click()
    Dim CaptionTxt As String
    Dim AnswerTxt As String
    CaptionTxt = Me.lblSect11_5.Caption
    AnswerTxt = Me.Section11_5.Value
    Debug.Print CaptionTxt
    Debug.Print AnswerTxt
    DoCmd.OpenForm "Form1", OpenArgs:="CaptionTxt|" & AnswerTxt
    End Sub
    On the new form with an expanded memo field
    Private Sub Form_Load()
    Dim intPos As Integer
    Dim strControlName As String
    Dim strValue As String
    If Len(Me.OpenArgs) > 0 Then
    ' Position of the pipe
    intPos = InStr(Me.OpenArgs, "|")
    If intPos > 0 Then
    strControlName = Left$(Me.OpenArgs, intPos - 1)
    Debug.Print strControlName
    strValue = Mid$(Me.OpenArgs, intPos + 1)
    Debug.Print strValue
    ' Retrieve Control Name from the first part of the string
    Me.lblText11.Caption = Left$(Me.OpenArgs, intPos - 1)
    ' strControlName = Left$(Me.OpenArgs, intPos - 1)
    ' Retrieve Value to Assign from the end of the string
    Me.txt_Section11.Value = Mid$(Me.OpenArgs, intPos + 1)
    ' strValue = Mid$(Me.OpenArgs, intPos + 1)
    ' Assign the value to the control
    ' Me(strControlName) = strValue
    End If
    End If
    End Sub
    jim neal

    The below is working for the text box (AnswerTxt). However the CaptionTxt is not holding it's value when it gets to the new form. It's only displaying the name of the variable name, CaptionTxt
    It will, because you are passing it as a literal string with:
        DoCmd.OpenForm "Form1", OpenArgs:="CaptionTxt|" & AnswerTxt
    In this "CaptionTxt|" is a literal string, whereas AnswerTxt references the variable.  It should be:
        DoCmd.OpenForm "Form1", OpenArgs:=CaptionTxt & "|" & AnswerTxt
    You might be interested in the file Args.zip in my public databases folder at:
    https://onedrive.live.com/?cid=44CC60D7FEA42912&id=44CC60D7FEA42912!169
    If you have difficulty opening the link copy its text (NB, not the link location) and paste it into your browser's address bar.
    This little demo file illustrates how to pass multiple arguments, using a module originally developed by Stuart McCall and later expanded by me to allow the passing of named arguments.
    Ken Sheridan, Stafford, England

  • 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)

  • netui:form how do i create Action URL in JavaScript

    hi,
    i want to submit the <netui:form> along with action form data to JPF from the
    java script,
    i can call the action method from the java script but actionForm is not passing
    to JPF....
    pls guide me....
    vijay

    The javascript that you suggested is similar to what we're using. When the onChange
    message is fired, both bits of javascript produce the following url;
    http://localhost:7001/mpsportal/getVersion.do?product_id=1
    This works fine in the weblogic browser but not in portal. If you use an anchor
    to fire the action, portal creates the following url;
    http://localhost:7001/mpsportal/mpsportal.portal?_nfpb=true&portlet_1_1_actionOverride=/portlets/task/getVersion
    So I've tried to put the 'extra bits', namely 'mpsportal.portal?_nfpb=true&portlet_1_1_actionOverride=/portlets/task/'
    into the javascript as below;
    javascript:window.location='mpsportal.portal?_nfpb=true&portlet_1_1_actionOverride=/portlets/task/getVersion.do?product_id='+document.forms[0][getNetuiTagName('product_id')].value;
    When this is run in portal it produces exactly the same url that portal produces
    except it has the parameter tagged onto the end;
    http://localhost:7001/mpsportal/mpsportal.portal?_nfpb=true&portlet_1_1_actionOverride=/portlets/task/getVersion.do?product_id=1
    Unfortunately portal doesn't like the parameter on the end and gives an error
    message 'Unable to find action getVersion.do?product_id=1'. The problem is that
    the value on the form, the product id in this case is not stored when the javascript
    jumps back to the server so it has to be sent in the url.
    If we can find a way of sending these values through in the url without portal
    complaining OR forcing the form to submit its values then its problem solved.
    Thomas Cook <[email protected]> wrote:
    Does this work?
    onChange="javascript:window.location='getVersion.do?product_id='+document.getElementById(getNetuiTagName('product_id',
    this)).value;"
    When you say the problem is in the onChange() method in the NetUI tag,
    can you elaborate on what you think might be happening?
    Thomas
    Steve Hicks wrote:
    Thomas
    We want to get java script to work with a netui:select tag so that whenthe user
    selects it, we populate a different netui:select tag (this requiresa call back
    to weblogic). Nothing to do with forms in Vijay's post!
    Here is a portion of our JSP:
    <td>
    <netui:select dataSource="{actionForm.product_id}"
    optionsDataSource="{pageFlow.taskProduct.taskProductSL}" nullable="false"multiple="false"
    onChange="javascript:window.location='getVersion.do?product_id='+document.forms[0][getNetuiTagName('product_id')].value;"
    tagId="product_id"></netui:select>
    </td>
    This works in the workshop debugger but NOT when we use it via portal(where nothing
    happens). The problem is in the javascript 'onChange' method in thenetui tag...
    Regards
    Steve H
    Thomas Cook <[email protected]> wrote:
    Getting back to Vijay's original post - something like the following
    should work (I can't confirm this code works since I'm in the middle
    of
    a build), but I have done this before. Does this not work? It should
    submit the form from javascript, as Vijay requests, passing the field
    value to the JPF via the action form.
    <netui:form tagId="myForm" action="doSomething">
    <netui:textBox dataSource="{actionForm.doSomethingValue}"/>
    <netui:button value="Submit" onClick="return doSubmit()"/>
    <script language="javascript">
    function doSubmit()
    var form = document.getElementById( getNetuiTagName( "myForm",
    this ) );
    form.method = "post";
    form.submit();
    return true;
    </script>
    </netui:form>
    Steve Hicks wrote:
    We have this problem and it seems quite sad that you can not perform
    this (typical)
    function using portal. Anyone from BEA watching? Could they do something
    about
    this in sp3?
    "Anant Kadiyala" <[email protected]> wrote:
    Beware that it is not entirely good idea to have action url in the
    Javascript.
    I had some problems with it. It works fine when you test it at the
    pageflow
    level.
    But when you pull the pageflow into a portlet, it starts acting strange.
    The urls
    that the portal generates behind the scenes dynamically, get messed
    up
    and you
    will notice that the new acion opens in a new browser window and
    will
    not have
    the context of the portal.
    Although the docs say we could use action urls in Javascript, youmight
    want to
    make sure it works in the portal context.
    Anant
    "julie" <[email protected]> wrote:
    do you still need help making an action url in javascript?
    "vijay patel" <[email protected]> wrote:
    hi,
    i want to submit the <netui:form> along with action form data to
    JPF
    from the
    java script,
    i can call the action method from the java script but actionForm
    is
    not
    passing
    to JPF....
    pls guide me....
    vijay
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
    <title></title>
    </head>
    <body>
    Getting back to Vijay's original post - something like the following
    should work (I can't confirm this code works since I'm in the middle
    of
    a build), but I have done this before. Does this not work?
    It should
    submit the form from javascript, as Vijay requests, passing the field
    value to the JPF via the action form.<br>
    <br>
    <tt><nobr><netui:form tagId="myForm" action="doSomething"></nobr><br>
    <nobr> <netui:textBox
    dataSource="{actionForm.doSomethingValue}"/></nobr></tt><br>
    <tt><nobr> <</nobr><nobr>netui:button value="Submit"
    onClick="return doSubmit()"/></nobr><br>
    <nobr> <script language="javascript"></nobr><br>
    <nobr> function </nobr></tt><tt><nobr>doSubmit</nobr></tt><nobr></nobr><tt><nobr>()</nobr><br>
    <nobr> {</nobr><br>
    <nobr> var form = document.getElementById(
    getNetuiTagName(
    "myForm", this ) );<br>
    form.method = "post";<br>
    form.submit();</nobr><nobr></nobr></tt><tt><nobr></nobr><br>
    <nobr> return true;</nobr><br>
    <nobr> }</nobr><br>
    <nobr> </script></nobr><br>
    <nobr></netui:form></nobr></tt><br>
    <br>
    Steve Hicks wrote:<br>
    <blockquote cite="[email protected]" type="cite">
    <pre wrap="">We have this problem and it seems quite sad that youcan
    not perform this (typical)
    function using portal. Anyone from BEA watching? Could they do something
    about
    this in sp3?
    "Anant Kadiyala" <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a>
    wrote:
    </pre>
    <blockquote type="cite">
    <pre wrap="">Beware that it is not entirely good idea to have action
    url in the Javascript.
    I had some problems with it. It works fine when you test it at thepageflow
    level.
    But when you pull the pageflow into a portlet, it starts acting strange.
    The urls
    that the portal generates behind the scenes dynamically, get messedup
    and you
    will notice that the new acion opens in a new browser window and will
    not have
    the context of the portal.
    Although the docs say we could use action urls in Javascript, you might
    want to
    make sure it works in the portal context.
    Anant
    "julie" <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a>
    wrote:
    </pre>
    <blockquote type="cite">
    <pre wrap="">do you still need help making an action url in javascript?
    "vijay patel" <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a>
    wrote:
    </pre>
    <blockquote type="cite">
    <pre wrap="">hi,
    i want to submit the <netui:form> along with action form data to
    JPF
    </pre>
    </blockquote>
    <pre wrap="">>from the
    </pre>
    <blockquote type="cite">
    <pre wrap="">java script,
    i can call the action method from the java script but actionForm is
    </pre>
    </blockquote>
    <pre wrap="">not
    </pre>
    <blockquote type="cite">
    <pre wrap="">passing
    to JPF....
    pls guide me....
    vijay
    </pre>
    </blockquote>
    </blockquote>
    </blockquote>
    <pre wrap=""><!---->
    </pre>
    </blockquote>
    </body>
    </html>

  • Netui:form in edit mode

    Hi,
    I am trying to use netui:form in the JSP of the edit mode like this :
    <netui:form action="testAction">
         <netui:button value="Valider" type="submit"/>
         <netui:button value="Annuler" type="reset"/>
    </netui:form>
    but I always get the following error : Action 'testAction' is not a valid action
    If I try to use netui:form tag in another JSP (not in the edit mode, for example the JSP displayed after the begin action), it works fine.
    And it works fine in the edit mode with a netui:anchor tag. The action specified is called.
    Here is the PageFlow Controller :
    @Jpf.Controller()
    public class favorisController extends PageFlowController {
         @Jpf.Action(forwards = { @Jpf.Forward(name = "success", path = "/site_unisvers/favoris/favoris.jsp") })
         public Forward testAction(TestActionFormBean form) {
              System.out.println("je suis testAction");
              System.out.println(form.getTextBox());
              Forward forward = new Forward("success");
              return forward;
    Here is the portlet xml file :
    <?xml version="1.0" encoding="UTF-8"?>
    <portal:root xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0"
    xmlns:portal="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0 portal-support-1_0_0.xsd">
    <netuix:portlet definitionLabel="favoris" title="Favoris">
    <netuix:titlebar>
    <netuix:maximize/>
    <netuix:minimize/>
    <netuix:help contentUri="/site_unisvers/favoris/help.jsp"/>
    <netuix:edit contentUri="/fr/su/unv/unisvers/ihm/favorisController.jpf" action="edit"/>
    </netuix:titlebar>
    <netuix:content>
    <netuix:pageflowContent contentUri="/fr/su/unv/unisvers/ihm/favorisController.jpf"/>
    </netuix:content>
    </netuix:portlet>
    </portal:root>
    Anybody can help me ?

    My code works fine. WebLogic just didn't update well the config files.
    Thomas

  • Netui form tag - onLoad

    How can I execute some javascript when the jsp loads. Basically something like
    what the onLoad would do?
    -Joe

    Vindhyachal,
    You didn't include your checkbox tag code but I expect that you may not be
    binding to the correct value which would be something like
    "actionForm.checkBoxValue. I have attached code to an example that you can
    play with. Remember that in page flows the form is scoped to request by
    default.
    If you are using 8.1 sp2 you should consider using page flow scoped forms if
    you need to keep the form and its values around for more than a single
    request.
    I hope this example helps you.
    - john
    "vindhyachal" <[email protected]> wrote in message
    news:4044a5e1$[email protected]..
    >
    Hi,
    Iam first time using BEAPortal8.1,my probleum is i have a form inthat iam
    using
    <netui:form name="sri" scope="request or session" method="get"action="addUpdateRoleAction"
    type="mytest.mytestController$FormAction" > this will call followingaction on
    controller
    * @jpf:action
    * @jpf:forward name="success" path="index.jsp"
    protected Forward addUpdateRoleAction(FormAction form)
    try{
    session = getRequest().getSession(false);
    System.out.println("Value of check box "+form.adminrole);
    System.out.println("Value of check box beforeFWD"+form.getAdminrole());
    >
    >
    >
    >
    }catch(Exception e)
    e.printStackTrace();
    form.setAdminrole(true);
    return new Forward( "success", form );
    In this iam setting the value of adminrole to true but when the requestis forward
    to index JSP value its displaying is false.So can u please tell me how tohandle
    this probleum.If iam not using name,scope and type atrribute od<netui:form> then
    its working fine.
    Thanks[Controller.jpf]
    [index.jsp]

  • Netui Form Tag Missing DOM Name Attribute

    Without a way to specify the HTML name or DOM id of the form, you cannot access
    the form in JavaScript. Both tag attributes (name, id) are already used for something
    totally unrelated. Is this going to be fixed in the next service pack?
    Thanks,
    Troy

    Vindhyachal,
    You didn't include your checkbox tag code but I expect that you may not be
    binding to the correct value which would be something like
    "actionForm.checkBoxValue. I have attached code to an example that you can
    play with. Remember that in page flows the form is scoped to request by
    default.
    If you are using 8.1 sp2 you should consider using page flow scoped forms if
    you need to keep the form and its values around for more than a single
    request.
    I hope this example helps you.
    - john
    "vindhyachal" <[email protected]> wrote in message
    news:4044a5e1$[email protected]..
    >
    Hi,
    Iam first time using BEAPortal8.1,my probleum is i have a form inthat iam
    using
    <netui:form name="sri" scope="request or session" method="get"action="addUpdateRoleAction"
    type="mytest.mytestController$FormAction" > this will call followingaction on
    controller
    * @jpf:action
    * @jpf:forward name="success" path="index.jsp"
    protected Forward addUpdateRoleAction(FormAction form)
    try{
    session = getRequest().getSession(false);
    System.out.println("Value of check box "+form.adminrole);
    System.out.println("Value of check box beforeFWD"+form.getAdminrole());
    >
    >
    >
    >
    }catch(Exception e)
    e.printStackTrace();
    form.setAdminrole(true);
    return new Forward( "success", form );
    In this iam setting the value of adminrole to true but when the requestis forward
    to index JSP value its displaying is false.So can u please tell me how tohandle
    this probleum.If iam not using name,scope and type atrribute od<netui:form> then
    its working fine.
    Thanks[Controller.jpf]
    [index.jsp]

  • Netui anchor tag in netui:form

    I have some code like following:
    <netui:form action="action1" >
    <netui:anchor action="action2">Check</netui:anchor>
    </netui:form>
    Action1 and action2 willl be finally redirected to the same JSP(for example one.jsp).
    The weird thing is that: according to log output, it seems that one.jsp has been hit twice when user click "check" link.
    Is it possible that when user click "check" link, weblogic not only trigger action2 but also trigger action1? forsubmit attribute is not set to true explicitly for netui:anchor tag.
    Thanks in advance

    hi
    verify from a browser trace tool (e.g. livehttpheaders, fiddler or firebug) how many requests your browser is making. (or you can inspect the code that portal generates in the HTML). Once we have determined whether its the browser making the two requests or something on the server, we can see if there are workarounds.
    regards
    deepak

  • 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 ..
              

  • Netui:radioButtonGroup and getNetuiTagName errors?

    Hi,
    I can't seem to get the value from my netui:radioButton group in javascript by using the getNetuiTagName function. When I submit the form and it calls the javascript, the javascript yells that it is undefined" even if I hard code one of the values in the pageFlow. The radio button will show it is selected, but I get the undefined. The javascript will focus on the individual options, but not recognize the the main datasource. What am i missing??
    Thanks,
    Wendy
    Here are the snippets of code i have:
    from javascript:
    function validateForm() {
    var methodType = document.forms[getNetuiTagName('customerSearchForm', this)][getNetuiTagName('searchMethod', this)].value;
    jsp:
    <netui:form action="updateCustomerRecord" tagId="customerSearchForm">
    <netui:radioButtonGroup tagId="searchMethod" defaultValue="ssn" dataSource="{pageFlow.method}" >
    <netui:radioButtonOption tagId="inquiryIDOption" value="id">Inquiry ID</netui:radioButtonOption> <br/>
    <netui:radioButtonOption tagId="lastNameOption" value="lastName">Customer Last Name</netui:radioButtonOption> <br/>
    <netui:radioButtonOption tagId="ssnOption" value="ssn">Customer SSN</netui:radioButtonOption>
    </netui:radioButtonGroup>
    <netui:button action="searchForRecords"
    value="Search" type="submit"
    onClick="validateForm(); return false;"
    accessKey="s" />
    </netui:form>

    Your first problem can be solved by changing your radiobuttonoptions to this:
              <td><netui:radioButtonOption value="1"> </netui:radioButtonOption></td>
              I'm not sure about your second problem...

  • Yesterday, as today's deadline for filing tax returns approached, I was paralyzed by the inability to create new IRS PDF forms and to retrieve archived ones from a year ago. My computer went crazy. 24 hours later, I am still paralyzed. Can you help?

    My computer went crazy yesterday on two occasions involving PDF documents. One dealt with attachments to an email from a bona fide corporation. The other dealt with IRS PDF forms & schedules needed for today's submission.
    As both dealt with PDF and had nothing else in common, I suspected my PC had a virus. When I asked a local store technician, he agreed. I turned to Norton, which protects my PC from viruses, and after a few hours of really thorough searching, the computer was found to have no viruses.
    Before describing what I call "crazy" computer behavior, you need to know that I have long had IE8 as my default browser but a few weeks ago switched to Mozilla Firefox because IE8 had beome incompatible with some websites from which I get information.
    When I received the email from AT&T email service and clicked the first of four icons representing attachments, there was figuratively an explosion on my monitor: a series of new tabs, each called New Tab, burst onto the monitor--but no text or picture. The new tabs appeared faster than I coul kill them. I finally decided just to shut down the computer, hoping they would not reappear when I restarted. I was wrong. After 2 repeats, I decided to forget about the attachments and asked the sender to send them to me by regular mail.
    That was no solution for my IRS PDFs. I wanted to complete filling in the various forms and schedules that I had begun months ago so that I could mail them today to the IRS (without having to copy them all in ink). When I tried to open the first one, BOOM. The same thing happened: the blizzard of New Tabs atop blank pages; my IRS form or schedule did not show up. Did the same shutdown/restart routine with the same results.
    When I looked at the list of current forms that had to be completed, I noticed something very strange: the icons that began the listing of the documents' names were replaced one by one by Mozilla icons. When I moused over them, they said Firefox HTML. Why?
    Starting the day today, I had the same experience. What's more, when I started to retrieve 2012 IRS PDFs from a year ago, the same New Tab tabs appeared and had to be killed, and Mozilla icons replaced whatever icon was there before.
    Assuming that the problem arose with Adobe Reader's reading of the PDFs, I contacted Adobe but got no helpful phone number because PDFs are a free service and was directed to use this Forum to get help.
    What do I have to do to (a) read and use PDFs in the normal way and (b) remove the Mozilla icon from those that have appeared on icon documents. If Mozilla is the source of the problem, shall I go back to IE8? (In my 80s, I want eventually to replace my old computer but for the time being I must continue using it. It will not take an IE9. Anther possible default browser would be Google Chrome, but I have unfavorable impressions of it because of its intrusiveness, loading my PC with stuff I do not need.
    Can you help?

    The problem is absolutely not Reader. The problem is that FireFox has stepped in front of Reader and handles all the PDF stuff - wrongly in your case. FireFox is DESIGNED to take over PDF files. But it is not capable of doing IRS forms!
    To start with go back to IE for these forms. When you save them to disk DO NOT DOUBLE CLICK ON THEM until this is fixed. Just open the in the normal way - start Adobe Reader and use Open from the File menu.

  • How to Install the Forms and Reports 6i in Ubuntu 6.06 LTS

    Dear All,
    I need to install Forms and Reports 6i in Ubuntu 6.06 LTS.
    I had downloaded the d2k6irelease2.tar also and extracted the tar file.
    I don't know how to start up with the installation further., Is there any document available for the installation process inubuntu.. or what are the steps that i need to follow to make it work..?
    Many thanks in advance...

    Hi,
    Here's the Forms and Reports Services Deployment Guide for OAS 10g 10.1.2:
    http://download-east.oracle.com/docs/cd/B14099_11/web.1012/b14032/toc.htm
    You will need to modify your default.env to point to the directory where your .fmx is located and formsweb.cfg to run the specific form, e.g. foo.fmx (default is test.fmx).
    HTH,
    Jim

  • Get cell value in Planning Data form and using it in a business rule

    Hi Everybody,
    if i set the data type of an Account Member as text, is there a way to get the value inserted by the user in a dataform, turning it as dimensional member and using it in a business rule?
    So, if the user insert the value "USA" in a cell, can i use any functions to tell essbase that "USA" is a dimensional member and then using it in a business rule, for example in a cross-dimension like Period1->FY12->USA?
    I tried to use the function @Member and it doesn't work, but i'm wondering if there is a way that can let me get the value inserted and use it just like a dimensional member. What are the ways that can let user input value that can be used in a business rule? I think one is by using SmartList, is there any other ways? Maybe using variables?? As an alternative i tried to use Prompt Variable but there are too many members on which the rule must run.
    Please help me, i wanna know if i can or not let the user input the member on which the rule must run...
    Thank all guys
    Bye
    Maurizio

    Thanks EW for your answer,
    YesI could use SmartList even if i think it's very tough to handle. My experience on using SmartList in caclc script is not so good. I try to enter in details of my requirement:
    I have 500 account members.
    For each one, I have to calculate the monthly budget by sharing the amount among the months. The user wants to calculate it on the basis of the actual flow(over the months) of an unspecified account of the prior year. The unspecified account must be inserted in a data form.
    So, i could use a Smart List but it colud be of 500 elements and then i should make a rule with as many IF as how many are the accounts. Or im wrong? The only way to use smart list dynamically in a business rule is by referring its values in a IF condition. Or i'm wrong.
    I tried to use execution variable ma it seems don't work. In this case the user must pay attention to write the account correctly, otherwise as you say the rule doesn't work.
    The value in PD0A020 is "PD0A000" (that is a dimensional member). The value in PD0A000 is "hello". In PD0A040 the rule returns "PD0A000" and not "hello" as i would. The function @Member appears to be not able to catch the dimensional member by the value in PD0A000.
    {Example}="test"->"Input"->"Scenario_test"->"FY12"->"PD0A020";
    Fix("test1","Input","Scenario_test","FY12")
    "PD0A040"=@Member({Example});
    endfix
    So, my doubt is: is it possible for Essbase/Planning to use the value inserted in a data form and to turn it in a dimensional member? What are the practicable ways to let the user input/choose the member on which makes the rule run?
    Thank you Ew, thank you guys
    Maurizio

Maybe you are looking for

  • Is it neccessary to maintain PK's on MV's?

    We have Materialized Views of tables that exist on another Oracle instance that are set to refresh fast every couple minutes. Of course, the tables on the other instance have PK's. We also have the same PK's on our MV's, as well as, in most cases an

  • Impossible to install on my MacBook first generation

    I try to install on my MacBook first generation with 70 gig of free space and after few minutes the installation program say "I can't copy imporant files on your hard disk, I have to restart the installation". I try to repair the hard disk, the progr

  • Adding Internal Orders to Order Groups

    Hi Abapers, Does anyone know of a function module or method that will add internal orders to an order group?  Thanks, Becky

  • Cannot find JSP file through web.xml

    Content of a.jsp function Thisthing (id, name) { this.id = id; this.descr = name; I want to access a.jsp from b.jsp. like <script type="text/javascript" src="a.js"></script> I have web.xml content <servlet> <servlet-name>DomainObjectis</servlet-name>

  • Firewall ports for Nexus 1000v

    hi all, There is firewall between nexus 1000v and vcentre and ESX 4.1i hosts. Could u pls advise which TCP/UDP ports to be opened for communication among Nexus1000v, vcentre and ESX hosts? Thank you very much! Best Regards,