[10.1.2] Automate Attribute Property assignments in View Objects

My JHeadstart based application has over 300 tables, and many of these tables have field properties that are repeated (e.x. a discontinued checkbox, choice pull downs, naming conventions, and so on...)
Is there anyway to automate via scripting, a batch job, fancy find & replace, etc. to automatically assign specific attribute properties to specific fields in a project of View Objects?
[I assumed this would be question for the JDeveloper forum since it deals directly with ADF business objects but they told me to ask on the JHeadstart forums instead]

Well yes, ADF Business Components has a design-time API to do things like you want. I am sorry, but I agree with you, this is a JDeveloper question. May be you can repost without mentioning JHeadstart?
Steven Davelaar,
JHeadstart Team.

Similar Messages

  • [JDev 10.1.2] Automate Attribute Property assignments in View Objects

    My JHeadstart based application has over 300 tables, and many of these tables have fields that are repeated (e.x. a discontinued checkbox, choice pull downs, and so on...)
    Is there anyway to automate via scripting, a batch job, fancy find & replace, etc. to automatically assign specific attribute properties to specific fields in a project of View Objects?

    Steven Davelaar from the JHeadstart forum directed me back to this forum (as expected), so I am bumping my thread back up.
    Please reconsider my question as it actually a JDeveloper / Oracle ADF question - it has no reliance on JHeadstart.
    Even if I could automate / script the renaming of the fields in a view object it would greatly help my cause.
    Thanks.

  • How to set transient value to persistent attribute at commit in View Object

    Hi
    I'm using JDev11.1.1.2
    I have a transient atttribute X in my View Object and a persistent attribute Y. I want the value of X to be assigned to Y before commit.
    I saw that the entity has a method doDML that is used for this, but the problem is that this transient attribute is in my View Object, not entity object.
    Any ideas?
    Thanks

    Hi
    My transient attribute has a groovy expression assigned. This expression is calculated from other attributes in the view object.
    It seems that the setter method of the transient attribute is not called when the value gets updated through groovy.
    I used a transient attribute that duplicates my persistent attribute because groovy expression on transient attributes are recalculated, and the groovy expression on persistent attributes are not recalculated - they are used only for default values.
    Any other ideas are appreciated!
    Thanks

  • Changing the Updatable property of a View Object Attribute through code

    Hi,
    Is there a way to set the "Updatable" property of an attribute in a view object through code ?
    I checked the API docs for the AttributeDef class but there is no method to set this. there is a constant (UPDATEABLE_WHILE_NEW) which gives the current value.
    My requirements in short - I have a ADF editable Table. Based on a flag whether it is SET or NOT, i need to make a particular column such that the inputTextBox on this column must appear for only the new rows inserted into the table. For all the existing rows users should not be allowed to edit values on this column.
    I know this can be controlled with the UPDATABLE property on the attribute in the view object by setting the value as "WHILE  NEW".
    Now i need to control this through code at runtime.
    Please let me know on ow to do this.
    JDev version: 11.1.2.3
    Thanks.

    the method you are looking for is available in the AttributeDefImpl class which you can get from the EntityImpl like
    this.mDefinitionObject.getAttributeDefImpl("YOUR_ATTRIBUTE_NAME").setUpdateableFlag(AttributeDef.UPDATEABLE_WHILE_NEW);
    Timo

  • How to reference the Parent view Object attribute in Child View object

    Hi , I have the requirememt to generate Tree like struture to display Salary from joining date to retirement date in yearly form.I have writtent two Pl/SQL function to return parent node and child nodes(based on selected year).
    1.First function --> Input paramter (employee id, retirement date , joining date) --> return parent node row with start_date and end_date
    2. 2nd function --> input paarmter(employee id, startDate, end_date) --> return child node based on selected parent node i.e. start date and end date
    I have created two ADF view object based on two function return
    Parent Node --> select * from Table( EUPS.FN_GET_CONTR_SAL_BY_YR(employeeId,retirement Date, dateOf joining)) ;
    Child Node --> select * FROM TABLE( EUPS.FN_GET_CONTR_SAL_FOR_YEAR( employeId,startDate, endDate) ) based on selected parent node.
    I am giving binding variable as input for 2nd function (child node) . I don't know how to reference the binding variable value in child view from parent view.
    Like I have to refernce employeId,startDate, endDate values in 2nd function from parent view object. some thing like parentNode.selectedStart_date parentNode.employeeId.
    I know we can achive this writing the code in backing bean.But i want to know how can we refernce parent view object attribute values in child view object using Groovy or otherway?
    I will appreciate your help.
    Thanks

    I have two view com.ContractualSalaryByYearlyView for Parent Node and com.ContractualSalaryByYearlyView for child Node.
    I have created view link(ContractualSalYearlyByYearViewLink) betweem two view by giving common field empId, stDate , endDate.(below is the view link xml file).
    I tried give the binding attribute values using parent object reference like below in com.ContractualSalaryByYearlyView xml file but getting error
    Variable ContractualSalaryByYearlyView not recognized.I think i am using groovy expression.
    Thanks for quick response.
    com.ContractualSalaryByYearlyView xml
    <ViewObject
    <DesignTime>
    <Attr Name="_isExpertMode" Value="true"/>
    </DesignTime>
    <Variable
    Name="empId"
    Kind="where"
    Type="java.lang.Integer">
    <TransientExpression><![CDATA[adf.object.ContractualSalaryByYearlyView.EmpId]]></TransientExpression>
    </Variable>
    ContractualSalYearlyByYearViewLink.xml file
    <ViewLinkDefEnd
    Name="ContractualSalaryByYearlyView"
    Cardinality="1"
    Owner="com.ContractualSalaryByYearlyView"
    Source="true">
    <DesignTime>
    <Attr Name="_finderName" Value="ContractualSalaryByYearlyView"/>
    <Attr Name="_isUpdateable" Value="true"/>
    </DesignTime>
    <AttrArray Name="Attributes">
    <Item
    Value="com.ContractualSalaryByYearlyView.EmpId"/>
    <Item
    Value="com.ContractualSalaryByYearlyView.StDate"/>
    <Item
    Value="com.ContractualSalaryByYearlyView.EndDate"/>
    </AttrArray>
    </ViewLinkDefEnd>
    <ViewLinkDefEnd
    Name="ContractualSalaryForYearView"
    Cardinality="-1"
    Owner="com.ContractualSalaryForYearView">
    <DesignTime>
    <Attr Name="_finderName" Value="ContractualSalaryForYearView"/>
    <Attr Name="_isUpdateable" Value="true"/>
    </DesignTime>
    <AttrArray Name="Attributes">
    <Item
    Value="com.ContractualSalaryForYearView.EmpId"/>
    <Item
    Value="com.ContractualSalaryForYearView.StDate"/>
    <Item
    Value="com.ContractualSalaryForYearView.EndDate"/>
    </AttrArray>
    </ViewLinkDefEnd>

  • Need Clarification for the Attribute Property (Calculated)

    hi
    I am new to Web Dynpro and i am in need of clarification regarding the Attribute
    Property - Calculated
    Thanks in Advance
    Regards
    S.Chandran

    Hi,
    Calculated Property in webdynpro is required when you want to handle node context attribute programmatically.
    When you say Context Attribute as True, it generates two methods, Setter and Getter Method for that attribute.
    In getter method you will be getting one ‘element’ it is the context node, where you created attribute. These methods will be called automatically.
    For more Info check this link
    Related to calculated property
    Hope that helps

  • How to use visual attribute property for the tab canvas

    Hi all,
    i wanted to use set_tab_page_property ,and a visual attribute property for that
    respective tab page .
    but is saying to many declarations to match up . how will i able to do that.
    can any one helip me out ...
    example....
    i wanted to set the page name (just name of the tab page) red color when i query the form under some conditions .
    can anyone help me out in this.
    thanks in advance
    vardhi

    Hi all,
    i wanted to use set_tab_page_property ,and a visual attribute property for that
    respective tab page .
    but is saying to many declarations to match up . how will i able to do that.
    can any one helip me out ...
    example....
    i wanted to set the page name (just name of the tab page) red color when i query the form under some conditions .
    can anyone help me out in this.
    thanks in advance
    vardhi

  • Setting property attribute values for multiple selected objects.

    Hello,
    Is there an easy way to set the attribute property values for more that one selected Table Operator Attribute (column) at a time. For example the target table has over 100 columns but I only want to INSERT/UPDATE 10 of those columns. The generated MERGE, INSERT and UPDATE statements will perform DML on all of the columns in the target table, setting the 90 columns with no mapping set to NULL. This is due to the Loading Properties 'Load Column when Updating Row' and 'Load Column when Inserting Row' both default to Yes. I would like to select multiple Attributes in the Table Operator and change the 'Load Column when Updating Row' and 'Load Column when Inserting Row' to No. This is similar to what you were able to do in Oracle Forms 9.0 Designer select multiple Items in a Block and change the properties en-masse.
    Thanks

    Hi,
    Using OMB scripting to set attribute properties in a data mapping sort of defeats the purpose of utilizing a graphical user interface to define and set properties for a data mapping? Surely the GUI data mapping tool was created to get away from writing scripts and scripting would also require that you know the name of the data mapping, table operator and the set of attribute names for which you have to write one line of script to set each property value, i.e. 90 lines to set 90 attribute values.
    Cheers,
    Phil

  • Custom Tag is missing required attribute property

    Hello,
    Here is my struts config file source;
    <global-forwards>
              <forward name="mainpage" path="/index.jsp">
              </forward>
              <forward name="CustomerDetailsForward" path="/GoToCustomerPage.do">
              </forward>
         </global-forwards>
         <!-- Action Mappings -->
         <action-mappings>
              <action path="/SubmitCustomerForm" type="action.SubmitCustomerForm" name="CustomerForm" scope="request" validate="true" input="/CustomerDetails.jsp">
                   <forward name="success" path="/Success.jsp">
                   </forward>
                   <forward name="failure" path="/Failure.jsp">
                   </forward>
              </action>
              <action path="/GoToCustomerPage" type="org.apache.struts.actions.ForwardAction" parameter="/CustomerDetails.jsp">
              </action>
         </action-mappings>
    And my index.jsp source;
    <html:html>
    <head>
    <html:base/>
    </head>
    <body>
    <html:button></html:button>
    <html:link forward="CustomerDetailsForward">Go To Customer Form </html:link>
    </body>
    </html:html>
    And here is the error;
    Error Message:JSPG0227E: Exception caught while translating /index.jsp: /index.jsp(13,1) --> JSPG0006E: Custom Tag is missing required attribute property
    Root Cause:com.ibm.ws.jsp.translator.JspTranslationException: JSPG0227E: Exception caught while translating /index.jsp: /index.jsp(13,1) --> JSPG0006E: Custom Tag is missing required attribute property     at com.ibm.ws.jsp.translator.visitor.validator.ValidateVisitor.visitCustomTagStart(ValidateVisitor.java:304)     at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:267)     at com.ibm.ws.jsp.translator.visitor.JspVisitor.processChildren(JspVisitor.java:309)     at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:268)     at com.ibm.ws.jsp.translator.visitor.JspVisitor.processChildren(JspVisitor.java:309)     at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:139)     at com.ibm.ws.jsp.translator.visitor.JspVisitor.visit(JspVisitor.java:121)     at com.ibm.ws.jsp.translator.JspTranslator.processVisitors(JspTranslator.java:121)     at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJsp(JspTranslatorUtil.java:181)     at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJspAndCompile(JspTranslatorUtil.java:83)     at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.translateJsp(AbstractJSPExtensionServletWrapper.java:349)     at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper._checkForTranslation(AbstractJSPExtensionServletWrapper.java:317)     at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.checkForTranslation(AbstractJSPExtensionServletWrapper.java:226)     at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:131)     at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:270)     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:308)     at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:472)     at com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:111)     at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129)     at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)     at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)     at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)     at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)     at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)     at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)     at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)     at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)     at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)     at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)     at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)     at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)     at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)

    volkov wrote:
    Error Message:JSPG0227E: Exception caught while translating /index.jsp: /index.jsp(13,1) --> JSPG0006E: Custom Tag is missing required attribute propertyWhich is line 13 then? And check the syntax for that tag.

  • Custom tag SetProperty: Mandatory attribute property missing

    Ok, first some code. Here's the contents of my displayCollection.tag:
    <%@ tag body-content="scriptless" import="com.serco.inquire.*" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ attribute name="mgr" required="true" %>
    <jsp:useBean id="irc" scope="session" class="com.serco.inquire.irCollection">
      <jsp:setProperty name="mgrid" value="${mgr}" />
    </jsp:useBean>
    ${irc.mgrid}Here's the JSP I'm calling it from (myq.jsp):
    <%@page language="java" import="java.util.*,com.serco.inquire.*" %>
    <%@ taglib prefix="inq" tagdir="/WEB-INF/tags" %>
    <inq:displayCollection mgr="Chris Novish" />Here's the java class for irCollection (used in the tag file):
    package com.serco.inquire;
    import java.sql.*;
    import java.util.*;
    public class irCollection {
         public String mgrid;
         public irCollection() {
              super();
         public void setMgrid(String datum) {
              this.mgrid = datum;
         public String getMgrid() {
              return this.mgrid;
    }And finally, here's the error I get when i try to run myq.jsp:
    org.apache.jasper.JasperException: /WEB-INF/tags/displayCollection.tag(7,2) SetProperty: Mandatory attribute property missing     org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:41)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
         org.apache.jasper.compiler.JspUtil.checkAttributes(JspUtil.java:174)
         org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:595)
         org.apache.jasper.compiler.Node$SetProperty.accept(Node.java:1150)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
         org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:647)
         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1182)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2434)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:475)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
         org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1789)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:216)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:372)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:339)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:594)
         org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:231)
         org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:577)
         org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:48)
         org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:642)
         org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1539)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2434)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:475)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
         org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:660)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:228)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:372)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:339)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:594)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:722)>
    as far as I can tell, the attribute mgr is set in myq.jsp when it invokes displayCollection.tag, and displayCOllection.tag's only attribute (required) is mgr. so uhm... what do I misunderstand?

    Nick,
    Thanks for your help.
    But I also face another problem that is
    "unable to load class com.jguru.FormBean" when I tried to call another jsp.
    Here are my code :
    package com.jguru;
    public class FormBean {
    private String LName;
    private String FName;
    private String Passwd;
    private String Tel;
    private String Title;
    private String Dept;
    private String Email;
    private String Accesstype;
    public FormBean() {
    LName="";
    FName="";
    Passwd="";
    Tel="";
    Title="";
    Dept="";
    Email="";
    Accesstype="";
    public String getLName() {
    return LName;
    public String getFName() {
    return FName;
    public String getPasswd() {
    return Passwd;
    public String getTel() {
    return Tel;
    public String getTitle() {
    return Title;
    public String getDept() {
    return Dept;
    public String getEmail() {
    return Email;
    public String getAccesstype() {
    return Accesstype;
    public void setLName(String x) {
    LName = x;
    public void setFName(String x) {
    FName = x;
    public void setPasswd(String x) {
    Passwd = x;
    public void setTel(String x) {
    Tel = x;
    public void setTitle(String x) {
    Title = x;
    public void setDept(String x) {
    Dept = x;
    public void setEmail(String x) {
    Email = x;
    public void setAccesstype(String x) {
    Accesstype = x;
    Thanks.

  • Using attribute property to link to dimension members

    New to MDX so no sure if what I'm attempting makes sense or not.      
    I want to be able to compare Product A to a related product (I've called it B below)
    Product A  Product B     
    A               N     
    B               M     
    C               E     
    D               D     
    E               C     
    M               B     
    N               NULL     
    Product B is itself a value in Product A, and this is always a One to One relationship.      
    Will the following work and how Or am I barking up the wrong tree????      
    If I create a calculated member that is a count of sales, can I then also create a calculated member that is a count of sales of Product B that I can use to compare to Product A and slice and dice using the prouct dimension (which uses the Product A relationship?
    I did think that I could maybe create Product B as a Attribute Property and then pass this in as the member      
    i.e.      
    WITH      
    MEMBER      
    Measures.RelatedProduct AS [Product].[Product].Properties( "Related Product")      
    MEMBER      
    [Measures].[RelatedSales_Count] AS COALESCEEMPTY(SUM(([Product].[Product].&[Measures.RelatedProduct], [Measures].[Sales_Count])),0)      
    SELECT      
    {Measures.Sales_Count, Measures.RelatedSales_Count} ON COLUMNS      
    , {[Product].[Product]}       
    ON ROWS      
    FROM      
    [ProductSales]      

    I ended up doing the following which seems to work :)
    WITH
    MEMBER  Measures.RelatedProduct AS [Product].[Product].Properties( "Related Product")
    MEMBER  [Measures].[RelatedSales_Count] AS COALESCEEMPTY(SUM((StrToMember("[Product].[Product].&[" + Cstr(Measures.RelatedProduct) + "]"), [Measures].[Sales_Count])),0)
    This allows me to compare two related products.
    Which also means that I can implement something similar to look at sales in week 5 this year to last year where my time dimension is non standard and defined by the sale director (week 5 last year is not the same week 5 this year)....

  • How to Handle Automatic Skip Property of Item in Oracle Forms through Custom.pll or from other methods

    Hi All,
    How to Handle Automatic Skip Property of Item in Oracle Forms through Custom.pll or from other methods.
    This is a enhancement requirement.
    When ever user enter value in field 1 then automatically cursor should go to next field.

    Hello Bobb,
    You can create a trigger(when-list-changed) for each list item where you could:
    1.recreate the record groups and then use POPULATE_LIST so you can hide the selected values. In forms builder online help there are some good examples about create record groups dynamically.
    or
    2.you can perform a validation instead of hiding the selected values. If the values is already selected the display a message 'Value already selected....'
    Second option is much faster(only an 'if clause')
    Hope this helps.
    Regards,
    Alex

  • Mandatory attribute property missing problem

    Hi All,
    I tried to do the simple display output, but it can't work.
    My code is as below;
    <HTML>
    <BODY bgColor="#c8d8f8>
    <form action="webapps\ROOT\form.jsp" method=POST>
    <center>
    <table cellpadding=4 cellspacing=2 border=0>
    <th bgco;or="#CCCCFF" colspan=2>
    <font size=5>User Registration</font>
    </th>
    <tr>
    <td valign=top>
    <b>First Name</b>
    <br>
    <input type="text" name="LName" size=15"></td>
    <td valign=top>
    <b>Full Name</b>
    <br>
    <input type="text" name="FName" size=15"></td>
    </tr>
    <tr>
    <td valign=top>
    <b>Password</b>
    <br>
    <input type="text" name="Passwd" size=15"></td>
    <td valign=top>
    <b>Telephone</b>
    <br>
    <input type="text" name="Tel" size=15"></td>
    </tr>
    <tr>
    <td valign=top>
    <b>Password</b>
    <br>
    <input type="text" name="Passwd" size=15"></td>
    <td valign=top>
    <b>Telephone</b>
    <br>
    <input type="text" name="Tel" size=15"></td>
    </tr>
    <tr>
    <td valign=top>
    <b>Titile</b>
    <br>
    <input type="text" name="Title" size=15"></td>
    <td valign=top>
    <b>Department</b>
    <br>
    <input type="text" name="Dept" size=15"></td>
    </tr>
    <tr>
    <td valign=top>
    <b>Email</b>
    <br>
    <input type="text" name="Email" size=15"></td>
    <td valign=top>
    <b>Access</b>
    <br>
    <input type="text" name="Accesstype" size=15"></td>
    </tr>
    <%-- Create the bean only when the form is posted --%>
    <%
    if (request.getMethod().equals("POST")) {
    %>
    <jsp:useBean id="formHandler" class="com.jguru.FormBean">
    <jsp:setProperty name="formHandler" property="*"/>
    </jsp:useBean>
    <p>
    <hr>
    <font color=red>
    You submitted : <p>
    <b>Login Name:</b><br>
    <jsp:getProperty name="formHandler" pripoerty="LName"/><br>
    <b>Full Name:</b><br>
    <jsp:getProperty name="formHandler" property="FName"/><br>
    <b>Password:</b><br>
    <jsp:getProperty name="formHandler" property="Passwd">/><br>
    <b>Telephone:</b><br>
    <jsp:getProperty name="formHandler" property="Tel">/><br>
    <b>Title:</b><br>
    <jsp:getProperty name="formHandler" property="Title">/><br>
    <b>Department:</b><br>
    <jsp:getProperty name="formHandler" property="Dept">/><br>
    <b>Email:</b><br>
    <jsp:getProperty name="formHandler" property="Email">/><br>
    <b>Access:</b><br>
    <jsp:getProperty name="formHandler" property="Accesstype">/><br>
    <%
    %>
    </font>
    </body>
    </html>
    The error message is
    Internal Servlet error
    org.apache.jasper.compiler.ParseException: getProperty:Mandatory attribute property missing
    Thanks in advance for any assistance.

    Nick,
    Thanks for your help.
    But I also face another problem that is
    "unable to load class com.jguru.FormBean" when I tried to call another jsp.
    Here are my code :
    package com.jguru;
    public class FormBean {
    private String LName;
    private String FName;
    private String Passwd;
    private String Tel;
    private String Title;
    private String Dept;
    private String Email;
    private String Accesstype;
    public FormBean() {
    LName="";
    FName="";
    Passwd="";
    Tel="";
    Title="";
    Dept="";
    Email="";
    Accesstype="";
    public String getLName() {
    return LName;
    public String getFName() {
    return FName;
    public String getPasswd() {
    return Passwd;
    public String getTel() {
    return Tel;
    public String getTitle() {
    return Title;
    public String getDept() {
    return Dept;
    public String getEmail() {
    return Email;
    public String getAccesstype() {
    return Accesstype;
    public void setLName(String x) {
    LName = x;
    public void setFName(String x) {
    FName = x;
    public void setPasswd(String x) {
    Passwd = x;
    public void setTel(String x) {
    Tel = x;
    public void setTitle(String x) {
    Title = x;
    public void setDept(String x) {
    Dept = x;
    public void setEmail(String x) {
    Email = x;
    public void setAccesstype(String x) {
    Accesstype = x;
    Thanks.

  • How do I update "Rendered" attribute property from VO in runtime?

    I can override isAttributeUpdateable() in RowImpl for "updateable" attribute property of a VO in runtime.
    Is there API to update "Rendered" attribute property? I need to set it based on some condition or business rule in runtime.
    thanks,

    If you have a work flow there are several ways to do this. If the attribute is global, and can change on all resources, you can set user.global.<attribute> to what ever you want and it will usually propagate out fine. You can also update the attribute specifically on the resource with user.accounts[LDAP].<attribute>.

  • Invert Attribute/Property ("NOT") for context binding

    When I bind a contex node to the property "enabled" of a checkbox, there is a special setting for the binding called "Invert Attribute/Property ("NOT")", which I can use to invert the value from the context.
    However, for the property "checked" of the checkbox, this setting is not offered.
    Is there anything, i can do?

    Hi Daniel ,
    Invert property is not available for checked because its the data which it is going to be represented by checkbox   like for inputfield - value  , textview- text . properties are enabled , readonly......for which this function id present.

Maybe you are looking for