How to use Calander Component in JSF JSCreater

i am using the calander component in JSCreter .
i have one jsp page with a button and a calander component . If i let the calander field blank then the action event of button is fired but if i select some value in calandar field then then click the button then on action is fired
what can be the reasion .

I saw the documentation. But it uses com component which has ClassID / GUID. but how to use .net component and I think .net component doesn't maintain any registry information like classid / guid.

Similar Messages

  • How to use ternary operator in JSF using EL expression

    how to use ternary operator in JSF using EL expression

    I want to use ternary operator for h:datatable columnclasses attribute like as below
    <h:datatable
    columnClasses="#{booleanExpression ? style1,style2 : style3,style4}"
    />
    But it's not working.Is there any other alternative to do this?

  • How to use ObjectDataProvider component in WDA

    Hello all,
    I hv an urgent requirement to develop an OADP based application in SAP webdynpro Abap (to fetch tree like structure). i don't know how its possible, but i heard we can use ObjectDataprovider component to do the same.
    Does anybody know how to use "ObjectDataProvider" component in web dynpro abap to develop OADP based Webdynpro abap application, a step by step guide would be very nice. or do i need to fetch data myself using methods in webdynpro.
    any reply will be highly appreciated.
    thanks
    Mani

    Hi,
    Know this is an old post, but for future people:
    In se80, see example Web Dynpro components:
    OADP_EXAMPLE
    OADP_TEST
    Good luck,
    Garth

  • How to Use COM Component in a Java Bean

    Dear Sir,
    How can I use a COM Component in a Java-Bean . I am having a COM Component for reading Weighment Reading on a Serial Port and want to use this Component in a Java-Bean . I would also like to call the methods of this COM Component inside my Java-Bean . COM Component is a dll file .
    Please guide me how to go ahead . If possible kindly provide some sample code for the same .
    With Thanks and Regards
    B V Mittal

    You need a Java to COM bridge like Jacob. Try searching this forum for more information, I've answered this question several times before.
    Dom.

  • How to use custom component configuration

    Hi Experts,
    For a standard webdynpro object I have created a new z component configuration by copying from existing one. In the standard there are already 2 existing component configuration.
    This webdynpro does not have any application created so I am not able to directly assign this component configuration.
    During run time in portal when I view the properties I can see a application for this webdynpro component and the standard component configuration being used.
    My question is how to use the z component configuration I have created in the webdynpro?

    Hi Srinivas
    I researched your problem. I hope the below code helps you. You could add the below code to wddoinit.
    DATA:  lo_api_controller       TYPE REF TO if_wd_component,
              lo_pers_manager      TYPE REF TO if_wd_personalization,
              ls_config_key           TYPE wdy_config_key.
               lo_api_controller = wd_comp_controller->wd_get_api( ).
               lo_pers_manager = lo_api_controller->get_personalization_manager( ).
                     ls_config_key-config_id = 'ZTEST' .
                     lo_pers_manager->load_config_by_key( ls_config_key ).
    Regards
    Lorraine

  • How to use WD component DPR_SINGLE_SERVICES

    Hello cProjects experts!
    Does anyone know how to use the webdynpro component DPR_SINGLE_SERVICES ? I think it could be used for accessing single cprojects elements from my custom WD application. But I am lacking an example.
    Thank you !
    Johannes

    Hi
    I was successfully able to create a DC that uses the components of other DCs by following the steps given in the link :
    http://help.sap.com/saphelp_nw04/helpdata/en/ae/1ae58540ea454db1aa14fd635bc10d/frameset.htm
    Now the problem is that the used DCs should already be deployed before we can deploy the DC that is using these DCs.
    Is there any way by which all the used DCs get deployed automatically when we deploy the DC that uses these DCs?
    Thanks and Regards,
    Sangeeta Bhandari
    Message was edited by: Bertram Ganz
    corrected help link

  • How to use Stored Procedures in JSF Components

    Please tell me how to map the result of a strored procedure stored in a database to a component in JSF page

    Create a method in a managed bean, e.g. getMyStoredProcResult(), and refer to this method in a binding, e.g. #{theBean.myStoredProcResult}.
    In the method, you can do whatever's necessary to obtain the stored procedure's result.

  • How to use postback property for JSF to reneder a popup only once

    Hi All,
    I'm using java script function to show a JSF page as popup. I have called the javascript function on page load of another JSF page.
    How do i make sure that the popup is getting rendered only once and not everytime the page is getting refreshed .
    Can i use postback property in JSF page for this purpose ?
    Thanks in Advance.

    try postback..
            Boolean postBackValue = (Boolean)resolveExpression("#{adfFacesContext.postback}");
            Boolean defaultBooleanValue = new Boolean("false");
            if (postBackValue.equals(defaultBooleanValue)) {
      public static Object resolveExpression(String expression) {
        FacesContext ctx = FacesContext.getCurrentInstance();
        Application app = ctx.getApplication();
        ExpressionFactory elFactory = app.getExpressionFactory();
        ELContext elContext = ctx.getELContext();
        ValueExpression valueExp = elFactory.createValueExpression(elContext,expression,Object.class);
        return valueExp.getValue(elContext);
      }

  • How to use web services in JSF app

    I am unsure if this is the right forum for this question. Let me know if it is not - and where I should go.
    Anyways, I'm building a JSF web app, in which there is a datatable page displaying some business data. The app is going to be deployed and run in the customer's web server, but the data to be displayed is from the business solution provider's database. Currently the provider supplies web services to retrieve the data. So, my task is to call these web services from my JSF page, get and display the data.
    I've never used web services before. Can someone give me a quick start, as what I need to know to use these web services, and how to use them in coding terms. I googled the web quite a bit and finally decided to turn to SDN forum.
    Thanks!

    http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/2d/64d029e74911d6b2e400508b6b8a93/content.htm

  • Urgent ..How to use Tree component in a web based interface

    I want to make a Java web based windows explorer type interface.
    For that i want to use tree component .
    Is it possible for me to do this.
    Can anybody suggest me how to do ?

    Hi,
    I assume you plan to do this in a browser and you plan to use JTree. When using an applet, you'd have to make sure that the latest Java Plug-In is available on the client.
    If you not plan to use JTree, you could use a Tree component which is not based on swing such as the one at http://www.calcom.de/eng/dev/cctree.htm
    In this case still the browser would have to be 'Java enabled' by any kind of plug-in
    Ulrich

  • ScrollableDataTable filtering using calender component in JSF

    Hi,
    I just want to filter scrollableDataTable on basis of calender component in JSF. For example I want to search the activate member for a subscription in between a time period of startDate and endDate. I also want to rerender the table data using Ajax.
    Any suggestion !

    This fixes the compile error, but now there's a validation error on the data (see below). The property in the data object is a BigDecimal, the setter method takes a BigDecimal and the converter is the javax.faces.BigDecimal converter. Not sure why there would be a validation error.
    I've noticed that if I'm using an <h:inputText> component, I don't need to specify a converter. The value entered by the user is automatically (somehow) converted to a BigDecimal and applied correctly. However, when I'm using an <h:selectOneMenu> component, I get the validation error even with specifying the converter. I've tried specifiying the converter on the <h:selectOneMenu> component as well as using the <f:converter> tag on each of the <f:selectItem> components. The validation error is persistent. Any other suggestions?
    code sample:
         <h:selectOneMenu     id="priority"
                   required="false"
                   converter="javax.faces.BigDecimal"
                   title="classification select"
                   value="#{takeUserModel.developmentActivityModel.developmentactivity.branchpriority}"
                   immediate="true" >
              <f:selectItem itemLabel="1" itemValue="1" />
              <f:selectItem itemLabel="2" itemValue="2" />                                        
              <f:selectItem itemLabel="3" itemValue="3" />                                        
              <f:selectItem itemLabel="4" itemValue="4" />                                        
              <f:selectItem itemLabel="5" itemValue="5" />                                        
         </h:selectOneMenu>

  • How to use j query in .jsf page which is designed using adfpagetemplate.

    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <af:document title="untitled7.jsf" id="d1">
    <af:form id="f1">
    <af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx" id="pt1">
    <f:facet name="center">
    <af:resource type="javascript"
    source="/lib/jquery/jquery-1.3.2.min.js"/>
    <af:resource type="javascript">
    function slideSwitch() {
    var $active = $('#slideshow IMG.active');
    if ( $active.length == 0 ) $active = $('#slideshow IMG:last');
    // use this to pull the images in the order they appear in the markup
    var $next = $active.next().length ? $active.next() : $('#slideshow img:first');
    $active.addClass('last-active');
    $next.css({opacity: 0.0})
    .addClass('active')
    .animate({opacity: 1.0}, 1000, function() {
    $active.removeClass('active last-active');
    $(function() {
    setInterval( "slideSwitch()", 15000 );
    </af:resource>
    <af:resource type="css">
    #slideshow IMG {
    position:absolute;
    top:0;
    left:0;
    z-index:8;
    opacity:0.0;
    #slideshow IMG.active {
    z-index:10;
    opacity:1.0;
    #slideshow IMG.last-active {
    z-index:9;
    </af:resource>
    <af:panelGroupLayout id="slideshow" layout="vertical">
    <!-- The use of groups avoids that each image gets surrounded by a div -->
    <af:group>
    <af:image source="/images/cristo1.jpg" id="i1" />
    <af:image source="/images/cristo2.jpg" id="i2"/>
    <af:image source="/images/ipanema1.jpg" id="i3"/>
    </af:group>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="header"/>
    <f:facet name="end"/>
    <f:facet name="start"/>
    <f:facet name="branding"/>
    <f:facet name="copyright"/>
    <f:facet name="status"/>
    </af:pageTemplate>
    </af:form>
    </af:document>
    </f:view>
    Above content is my code written in jsf page....
    jquery working fine if i create page withoput pagetemplate...
    Any please guide me to use jquery in the jsf page(created with page template)...
    Thanks in advance
    Edited by: 991543 on May 7, 2013 11:05 PM

    Hi frank,
    thanks for your reply frank........still am facing the same issue even i tried wat you told.
    I have pasted the code below for your reference.....
    please let me knw wat is the wrong thing in below code if any thing wrong plz guide me to resolve because this is needed in our project, thanks in advance.
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <af:document title="untitled7.jsf" id="d1">
    <af:form id="f1">
    <af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx" id="pt1">
    <f:facet name="center">
    <af:resource type="javascript"
    source="/lib/jquery/jquery-1.3.2.min.js"/>
    <af:resource type="javascript">
    function slideSwitch() {
    var $active = $('#pt1:slideshow IMG.active');
    if ( $active.length == 0 ) $active = $('#pt1:slideshow IMG:last');
    // use this to pull the images in the order they appear in the markup
    var $next = $active.next().length ? $active.next() : $('#pt1:slideshow img:first');
    $active.addClass('last-active');
    $next.css({opacity: 0.0})
    .addClass('active')
    .animate({opacity: 1.0}, 1000, function() {
    $active.removeClass('active last-active');
    $(function() {
    setInterval( "slideSwitch()", 1000 );
    </af:resource>
    <af:resource type="css">
    #pt1:slideshow IMG {
    position:absolute;
    top:0;
    left:0;
    z-index:8;
    opacity:0.0;
    #pt1:slideshow IMG.active {
    z-index:10;
    opacity:1.0;
    #pt1:slideshow IMG.last-active {
    z-index:9;
    </af:resource>
    <af:panelGroupLayout id="slideshow" layout="vertical">
    <!-- The use of groups avoids that each image gets surrounded by a div -->
    <af:group>
    <af:image source="/images/cristo1.jpg" id="i1" />
    <af:image source="/images/cristo2.jpg" id="i2"/>
    <af:image source="/images/ipanema1.jpg" id="i3"/>
    </af:group>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="header"/>
    <f:facet name="end"/>
    <f:facet name="start"/>
    <f:facet name="branding"/>
    <f:facet name="copyright"/>
    <f:facet name="status"/>
    </af:pageTemplate>
    </af:form>
    </af:document>
    </f:view>
    Thanks & Regards
    Gowthaman Narayanan
    Edited by: 991543 on May 15, 2013 4:27 AM
    Edited by: 991543 on May 15, 2013 4:30 AM

  • How to use MyFaces component with Java Creator 2

    Please advise for me the way to use Myfaces component with Java Creator 2. Thanks

    Apologies for the late reply, but currently what exists generally for MyFaces integration with Creator is on this blog:
    http://wiki.java.net/bin/view/Javatools/CustomComponentLibraries
    You might also want to post the same question on the nbusers alias on netbeans.org, referencing Visual Web Pack
    Regards,
    -Brad Mayer

  • How to use flex Component Kit to make a button

    Hi all.
    i have a little confuse about use Flex Component Kit to make a simple button.
    i try to use Flex button templte in FlashCs3 to make a button.
    the three frame i draw like this way:
    on:
    [url=http://xs.to][img]http://xs142.xs.to/xs142/09332/snap1958.jpg[/img][/url]
    over:
    [url=http://xs.to][img]http://xs142.xs.to/xs142/09332/snap3362.jpg[/img][/url]
    down:
    [url=http://xs.to][img]http://xs142.xs.to/xs142/09332/snap4122.jpg[/img][/url]
    but , when i mouse over the button , it seem turn to over frame one second.
    and then the colour turn to overFrame colour but the size is onFrame size.
    same happen when i click the button .
    somehow ,the colour turn to what i want, but the size still the same as onFrame , no matter over the button or click the button.
    can i make the button size different with normal button size?
    thankes.
    link:[url]http://up.izy8.cn//up1/1250033814.swf[/url]

    Hi,
    this is from the ADF Developers guide which is available on OTN:
    if (!password.equals(confirmPassword))
    FacesMessage fm = new FacesMessage();
    fm.setSummary("Confirm Password");
    fm.setDetail("You've entered an incorrect password. Please verify that you've
    entered a correct password!");
    FacesContext.getCurrentInstance().addMessage(null, fm);
    }Brenden

  • How to use xcelsious Component

    Hi Experts,
          How to use  xcelsious components in webi document ?
    Regards,
    Shanmugam k

    Hi,
    take a look here:
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/000df5cd-6d64-2b10-9ca7-d84ea2d8d951]
    Regards,
    Stratos

Maybe you are looking for

  • I want to see lead sheets/lyrics during play back.

    I want to be able to set the visualizer to display full screen text/ or pdf images I've added. There is all this wasted real estate during playback. It would be best if there were options to: 1. auto close the added text and return to the library @ t

  • P2P multicast and upstream bandwidth

    Hi, I'm in the process of developing a realtime video chat application where multiple users can send video streams simultanuously. The number of users receiving the streams can be very big, e.g. 10 broadcasters and 500 receivers, each receiver should

  • Activity report for end-user ?

    Hi, One of my customers wish to get information about the use of it´s application. He is not the adminsitrator of the workspace. As an administrator of the workspace you can run reports about activity for applications/users. I would like to build it

  • How to make downpayment to onetime vendor

    Hi experts, When I post a down payment to one-time vendor, the system responded that: Special GL indicator to vendor is not define. How could I fix this error? First let me know whether it is possible or not (downpayment to one time vendor) Please he

  • What Function Module is used in a Virtual Cube

    Hi, where can is see what Function Module is used for a Virtual Provider(Cube)?