Where is Button Action in Captivate 8?

I am working on a responsive project in Captivate 8.
In the Properties panel of the slides you can select Style, Action and Options.  When you selct Action, you find 'on Enter' and 'on Exit'.
On some of my slides there are buttons.  Properties for Buttons are Properties, Timing and Position.  None of these show Action.
The Properties section contains Style Name, Fill, Stroke, Character and  Shadow and Reflection, but according to the manual, this section should also contain an Action section.  It doesn't.
Action is not to be found under Timing and Position either.
Obviously I am missing something.  Where can I set actions for a button in a responsive project? 

Hi Moked,
Objects properties are listed under Properties panel only.
Probably you have not selected the button object to view its properties.(or have not clicked on the "Action" tab listed under the Properties panel)
Button properties are listed as 3 tabs(Style, Action and Option) under Properties panel at Right hand side of the canvas.
Style Tab lists all the formating options for the text in botton. and"Action" tab will list the On success action options.
Select button and click on the Action tab under Properties panel to view the action option for any object.
Thanks
devraj

Similar Messages

  • Button actions and Paste into

    Hi,
    working with the new InDesign CC, I'm somewhat disappointed that the paste into bug, where the button actions are going to be lost if you paste a group of objects/frames into another frame (ex.: go to state action), still exists. The same if you take a group out of a frame with simple cut feature. I know this is a more InDesign related bug and was already reported several times. But as this feature is mainly used for scrollable content and is part of  a very immature scrollable content creation workflow, I've decided to post it here in this forum.
    Why not making it as other DPS systems. The content of the scrollable frame is placed in a separate document (with links, actions, videos, ...) and you have to import this separate document as link into a frame. This would make updating the content a lot more easy as always cut, make changes, paste into again, recreate actions, ...
    Thanks and kind regards,
    Yves

    I agree it's annoying but it's not a DPS issueŠit's an InDesign issue. I've
    reported and I suggest everyone else do the same:
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Bob

  • Quiz slides - editing button actions

    All,
    I have a Captivate 3 project with various quiz slides
    throughout that act as section reviews. I was able to have the
    submit button send users back to a ToC slide; however, I want the
    same to happen when they click "Next" on the quiz slides (if they
    just want to skip the review). Is there any way to edit individual
    button actions on quiz slides?
    Andy

    FYI - Captivate REALLY hates jumping around where scored
    quizzes are concerned... it seems to expect each project to contain
    a single scored quiz and it expects the user to complete that quiz
    linearly. The "Allow backwards movement" option in the Quiz
    preferences may allow things to work as expected, but I doubt the
    user will be able to "retake" a section once it's been completed.
    Captivate doesn't seem to like that, either.
    If you continue to have problems jumping back to your TOC,
    try breaking everything into individual projects and have your
    links open the appropriate project to create your lesson flows.
    Captivate has no problem randomly jumping between projects,
    and doing so will also allow users to retake a section if desired.
    PS - Since you've created your own TOC, I'm guessing you're
    not reporting user results to an Learning Management System of some
    sort. The "link between projects" approach is typically not an
    option in an LMS environment since the LMS usually needs to launch
    all files itself in order to create the necessary results reporting
    interface.

  • How to view an Image in ABAP Webdynpro on button action

    Hi Experts,
    I want to view an image on a button action without creating a new view or window.
    I just need to display the image.
    Thanks,
    R Sahu

    Hi Rabi,
    Add Context Attribute "SOURCE_IMG" with type String.
    Add Image UI "img_id" in layout and bind its source with this context attribute.
    on any method where you want to change/show image dynamically, put this code :
    here url can be path to image on local or any url-path for web image.
    call method wd_context->set_attribute
           EXPORTING
             name = 'SOURCE_IMG'
             value          = url .
    I hope this is what you are looking for.
    Thank you
    Meet Vajaria

  • Button actions only work the first time used then nothing?

    This is what I have...
    I Have 2 buttons in MC named mcMovieTrans the AS for these buttons are in the MC's timeline, the code is:
    stop();
    function playLifeboy(event:MouseEvent):void
    gotoAndStop(3);
    function playKrave(event:MouseEvent):void
    gotoAndStop(2);
    lifeboy_btn.addEventListener(MouseEvent.CLICK, playLifeboy);
    krave_btn.addEventListener(MouseEvent.CLICK, playKrave);
    when the buttons are activated they go to there corresponding frames and Stop. As an example of what happens next I'll show you frame 3 which plays MC mcKraveMovie:
    Frame 45 has a flv. movie on it that plays at this frame. The AS for this timeline on Frame 45 is:
    stop();
    function playReturn(event:MouseEvent):void
    gotoAndPlay(46);
    return_btn.addEventListener(MouseEvent.CLICK, playReturn);
    The AS for the timeline on Frame 90 is:
    MovieClip(parent).gotoAndStop(1);
    This is where the problem occurs because when this action takes place and it returns to the parent MC (mcMovieTrans) The buttons actions dont work anymore.
    And I get this error message:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at capQinc_fla::mcMovieTrans_89/frame1()[capQinc_fla.mcMovieTrans_89::frame1:15]
    at flash.display::MovieClip/gotoAndStop()
    at capQinc_fla::mcKraveMovie_97/frame90()[capQinc_fla.mcKraveMovie_97::frame90:1]
    Thanks

    Thanks,
    I replaced all the button symbols that where in tweens on the MC mcKraveMovie with static art. But I still Get this error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at capQinc_fla::mcMovieTrans_89/frame1()[capQinc_fla.mcMovieTrans_89::frame1:15]
    at flash.display::MovieClip/gotoAndStop()
    at capQinc_fla::mcKraveMovie_97/frame90()[capQinc_fla.mcKraveMovie_97::frame90:1]
    This is the timeline for the (Parent) MC mcMovieTrans:
    If that helps at all, the only place where the buttons are (and there actions) are in Frame 1 of this Timeline
    Thanks

  • Button action event not call in dataprovider

    hi,
    i have JSF table and it's bound to Mysql database table. when i bound the table and run it's working properly but it's button action event is not call action. when i use static jsf table then it's table action event work properly.
    my jsp code is
    <ui:table binding="#{search.search_table}" id="search_table" lite="true" selectMultipleButton="true" sortPanelToggleButton="true"
                                style="height: 70px; left: 240px; top: 240px; position: absolute; width: 600px" title="Search Text :" visible="true" width="600">
                                <ui:tableRowGroup binding="#{search.tableRowGroup1}" id="tableRowGroup1" rows="5" sourceData="#{search.srch_tablevalDataProvider1}" sourceVar="currentRow">
                                    <!--    <ui:tableColumn headerText="Script" id="tableColumn2" width="700">
                                        <ui:staticText id="staticText4" text="#{currentRow.value['search_script']}"/>
                                    </ui:tableColumn>-->
                                    <ui:tableColumn binding="#{search.tableColumn13}" headerText="Search Word" id="tableColumn13" style="#{search.columnStyle}">
                                        <ui:staticText binding="#{search.search_word1}" id="search_word1" text="#{search.search_word1}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{search.tableColumn4}" headerText="#{search_lang['search.contentName']}" height="39" id="tableColumn4"
                                        style="#{search.columnStyle}" width="100">
                                        <ui:staticText id="staticText1" onMouseOver="play_video(this);" text="#{currentRow.value['name']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{search.tableColumn6}" headerText="#{search_lang['search.srchTag']}" id="tableColumn6"
                                        sort="search_tags" style="#{search.columnStyle}">
                                        <ui:staticText id="staticText3" text="#{currentRow.value['search_tags']}"/>
                                    </ui:tableColumn>
                                    <ui:tableColumn binding="#{search.tableColumn5}" headerText="#{search_lang['search.tpDetail']}" id="tableColumn5" style="#{search.columnStyle}">
                                        <ui:imageHyperlink action="#{search.action}" id="imageHyperlink1" text="#{currentRow.value['details']}"/>
                                        <ui:button action="#{search.button2_action}" id="button2" text="Button"/>
                                    </ui:tableColumn>
                                </ui:tableRowGroup>
                             </ui:table>and back bean code is
    public String button2_action() {
            // TODO: Process the button click action. Return value is a navigation
            // case name where null will return to the same page.
            System.out.println("Invoke");
            return null;
        }i don't know what is problem there if found any solution, help me.

    You need to make sure that the getter of the datatable value returns exactly the same list in the apply request values phase of the form submit as it did during the render response phase of the initial display. Only this way JSF can find out which action which row was been invoked. Alternatively you can also place the data bean in session scope (which may have more impact), or use for example Tomahawk's t:dataTable with preserveDataModel attribute set to "true".

  • Solution to Button Action not being called in IE

    All,
    Thought I'd post a solution to a problem I had recently. I have seen variations on a theme elsewhere on the net.
    IDE: Java Studio Creator 2, Update 1.
    Problem: The button action associated with a button component on a jspx page is not called when using IE 6, but is called using M. Firefox 1.5.
    Background: The jspx page is a combination of one core jsp page and four jsp fragments (header, main nav bar, module nav bar, authorization code). Several components are present on the core jsp page (layout components, table, buttons), several on the header, main nav bar, module nav bar fragments (images, hyperlinks, text), JSTL and a lonesome form on the authorization fragment. You can see where I'm going....
    Solution: The problem was with the authorization fragment. The authorization fragment is meant to be dropped on pages that I want to protect from users without the authorized role, perhaps by these users trying to navigate to it by URL manipulation. I added some JSTL code to specifically look at the role authorization for the current session user. If not in that role, they are redirected to the home page. Navigation links are secured by similar authorization using the rendered property bound to session data. The form was the problem. Unfortunately, I didn't give much thought to the additional component I would need on the fragment. I had to add something so I picked a layout one. The IDE appears to require a component. To correct the problem, I simply set the rendered property to "false". IE 6 now works fine, M. Firefox 1.5 was always happy. Code example below...
    Code Pre:
    <?xml version="1.0" encoding="UTF-8"?>
    <div style="-rave-layout: grid; width: 400px; height: 200px" xmlns:c="http://java.sun.com/jstl/core" xmlns:f="http://java.sun.com/jsf/core"
        xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
        <c:if test="${SessionBean1.monitor==false}">
            <c:redirect url="/faces/Welcome.jsp"/>
        </c:if>
        <ui:form binding="#{MonCheck.form1}" id="form1" />
    </div>
    Code Post:
    <?xml version="1.0" encoding="UTF-8"?>
    <div style="-rave-layout: grid; width: 400px; height: 200px" xmlns:c="http://java.sun.com/jstl/core" xmlns:f="http://java.sun.com/jsf/core"
        xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
        <c:if test="${SessionBean1.monitor==false}">
            <c:redirect url="/faces/Welcome.jsp"/>
        </c:if>
        <ui:form binding="#{MonCheck.form1}" id="form1" rendered="false"/>
    </div>

    Hi there,
    Great to know you were able to fix your problem. Thanks for posting the solution as well, Im sure It'll help the community.
    Thanks
    K

  • Can I parameter a fullscreen button in a captivate project?

    Can I parameter a fullscreen button in a captivate project?

    Hi there
    I'm not sure what you are asking. What do you mean when you say "parameter a button"? Are you wanting to create a button with actions that accept different values?
    Cheers... Rick

  • Ui:hyperlink and ui:button "action" methods stopped working in IE

    Hi
    I'm developing my application for few months, but few days ago all ui:hyperlink and button action methods stopped working in IE. They are not invoked at all... No javascript errors, everything works fine in Firefox. Can anybody tell me where to look as I'm sitting 6h in front of screen and cannot find anything wrong...
    The only thing I have changed was adding a filter which changes encoding to UTF-8. Class below:
    * CharsetFilter.java
    * Created on 17 maj 2007, 11:18
    package tools.filter;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.text.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.ServletContext;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    * @author  Michal
    * @version
    public class CharsetFilter implements Filter {
        public CharsetFilter() {
        private String encoding;
        public void init(FilterConfig config) throws ServletException {
            encoding = config.getInitParameter("requestEncoding");
            if( encoding==null )
              encoding="UTF-8";
        public void doFilter(ServletRequest request, ServletResponse response, FilterChain next)
             throws IOException, ServletException
    //          request.setCharacterEncoding(encoding);
              next.doFilter(request, response);
         * Destroy method for this filter
        public void destroy() {
    }

    anyways, it can't be a problem becasue new application is facing the same problem and there's no filter. I'm using tomcat 5.5.18 on jboss 4.0.5.

  • Buttons actioning in different movie clips?

    So ive set up some buttons into a movie clip, but i want to get them performing actions in a movie clip that is within another clip.
    For example, the code below is what I have attached to one of my buttons. The Movieclip 2photosMC2 is inside a DIFFERENT movie clip to the ones where the buttons are stored. How can I script so that the button actions activate the correct clip?
    on(release){
        photosMC.gotoAndPlay("img 02");
    With the code above, photosMC is the movie clip i want to play and img 02 is within this. The button with this code in is in a different movie clip to the one in which photosMC is held
    Any ideas?
    Many Thanks
    Dave

    If you get away from attaching code to buttons you might find it easier to manage that targeting you will need to do.  If you assign instance names to your buttons and movieclips, then you can have your code in the main timeline and assign the interaction to the objects from there.  As an example, le's say you have a button named "gtn" inside a movieclip named "btnHolder" that sits on the main timeline.  And you want to have that button tell a movieclip named "mc" that sits inside another movieclip named "mcHolder" that is also on the main timeline.  Then in the main timeline you could use...
    btnHolder.btn.onRelease = function(){
         mcHolder.mc.gotoAndPlay("img02");
    To do it the way you want would require using  _root or _parent targets, which is usually better to avoid...
    on(release){
         _root.mcHolder.mc.gotoAndPlay("img 02");
    or maybe...
    on(release){
         _parent.mcHolder.mc.gotoAndPlay("img 02");

  • [Solved] Acpi handler not triggering power button action

    I'm editing the acpi handler.sh script to react to my power button, here is a relevant snippet from the code:
    #!/bin/sh
    set $*
    logger "$1 $2"
    case "$1" in
    button/power)
    logger "$1 $2"
    case "$2" in
    PWRF)
    logger "$1 $2"
    logger "ACPI action undefined: $2"
    esac
    button/lid)
    When i then press power, the log shows a single entry:
    Aug 28 11:53:35 localhost logger: button/power PWRF
    Which is from the first logger action above case "$1".
    Does anyone have a clue why the following actions under button/power don't produce any output? The code below button/lid does work properly, so it seems to be just the power button action misbehaving.

    I must've made a typo somewhere because it seems to work now. I'm not really sure where i went wrong though.. 

  • Quiz Results Page - Review Button Action

    Greetings All,
    Does anybody know if there is a way to access the variables/actions that are associated with the retake/review buttons on the quiz review page?
    For example, I would love to be able to do something like this: assign cpCmndReviewQuiz 1. That would lock-in the last answers selected on the quiz and navigate back to the first quiz question.  This is the same behavior as the quiz review button on the Captivate-generated review page.
    Alternatively, I would like to know if there is a way to lock the quiz so the last set of responses are frozen.
    Oh, BTW - captivate 6.. Thanks

    Hi Lilybiri,
    I would like to develop a 'custom' quiz review screen.  Unfortunately, there are very limited options as to what you can add to the 'stock' review page. For example, you can neither add a button, nor change the behavior of the buttons that are generated with that page. It would be nice if I could add a 'print certificate' button when the learner passes the exam.
    When developing my own 'custom' review page, I ran into some interesting behavior.
    I setup a quiz and allowed the learner 3 attempts to pass the quiz:
    Using the 'stock' review page: If the learner passes the quiz in under 3 attempts, then clicks the review button, the learner is returned to the first quiz question, and they can review their responses to each quiz question.  Their responses are locked, and cannot be changed.
    Using my 'custom' review page: I placed 'review' button on the final slide of the course. The button simply shows the navigation bar, unlocks TOC, then returns the learner to the first quiz question.  If the learner passes the quiz in under 3 attempts, then clicks this 'custom' review button, they are taken back to the first quiz question.  The only problem is that the learner's responses aren't indicated, like when you press the 'stock' review button.  The quiz and all of the responses are reset.
    Anyway, it would be nice to know if there is a way to mimic the behavior of the 'stock' review button, but it doesn't sound like it's possible.
    Thanks - hope my post makes some sense...

  • Can't update GridPane from Button Action

    I'm making a simple gui for Conway's Game of Life with a grid (GridPane) and a simple toolbar with Start/Stop buttons. My start button action looks like this:
    startButton.setOnAction(new EventHandler<ActionEvent>() {
            @Override
            public void handle(ActionEvent actionEvent) {
                grid.change();
        });So when i click it the grid updates ones as i expect. But i when i add something like a Service/Platform.runLater/Runnable inside it evaluates generations, grid model, but refuses to update the grid view. My Service code looks like this:
    private Service task = new Service(){
        @Override
        protected Task createTask() {
            System.out.println("Task created");
            return new Task<Void>() {
                @Override
                protected Void call() throws Exception {
                    for (int i = 0; i < 3; i++) {
                        System.out.println("calling");
                        Platform.runLater(new Runnable(){
                            @Override
                            public void run() {
                                System.out.println("running");
                               grid.changeGeneration();
                                try {
                                    Thread.sleep(1500L);
                                } catch (InterruptedException e) {
                                    e.printStackTrace(); 
                    return null;
    };It prints Task created calling calling calling running running running to the console, but doesn't update the GridPane after each running, only after everything is done it updates it (in this case after the third "running"). Where am i making a mistake and how to fix this. I don't want to use Swing =)
    Same question on [http://stackoverflow.com/questions/13820734/cant-update-gridpane]
    Edited by: Riddle on 11.12.2012 7:21

    public void changeGeneration() {
            Cell[][] newGen = new Cell[rows][cols];
            Cell cell;
            for (int i = 0; i < newGen.length; i++) {
                for (int j = 0; j < newGen.length; j++) {
    cell = new Cell(destiny(cells, i, j));
    newGen[i][j] = cell;
    add(cell, i, j);
    curGen = newGen;
    My grid class is a subclass of GridPane
    So when i click button it's working, but not from other Runnable
    Edited by: Riddle on 11.12.2012 9:11                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Button actions sometimes buggy

    we have quite a lot of buttons with 4 or 5 actions that are controlling several MSO most of the time they work, but on some pages they are behaving irratically even tho the pages all follow the same template with the same action.
    For instance we have a button that triggers a MSO that is showing different images of a product, that button also has actions to change all other MSO's on the page to a blank state so they are hidden, for most pages this is working as expected yet on some the button only works the first time you press it, the second time it does nothing - but if you slightly swipe the page then the button action will suddenly work

    Yes I'm using the latest tools.
    The pages where this is an issue are ones where there are buttons inside MSO although they are not the buttons that are causing the problem.
    We have 2 products on each page, each has an 'interactivity bar' beneath containing 10 buttons that display a key feature panel, colour change image, specs panel, video and product features. Which are all MSOs. Each button has action to go to next stage of the relevant MSO and to a blank state on all other MSO (they all appear in the same place on the page so need to be hidden).
    Most pages are working ok but one section is more complex as alongside the colour changes there are alternative angled images and for that to work we have had to put buttons inside the MSO so the button is different on each colour image and each angled image (quite hard to explain!) but basically the products are fridge freezers, so the colour change button cycles between 3 or 4 colour variation and clicking the alternate angle button will cycle through open/ closed / angled image but just for the colour variation that you are currently showing. This is working but is causing the other buttons to misbehave.
    I've sort of got round it by changing all the other buttons on these pages from go to next state (so the same button opens and closes the panel) to just go to a specific state, its the only compromise I could come up with without reworking the whole thing, which is on deadline tomorrow!

  • Value  set in constructor is not getting saved in button  Action method

    Hi All,
    I am not understanding why the value set ( On Condition )in constructor is not hold in the button actoin method.
    Could any body explain me on that
    for this I will try to explain with sample example
    I have taken a button and add a integer property in session bean.
    now if session bean's property is even then I am trying to set the button value to bidNow other wise Accept Invitation.
    Till this opstion everything is OK
    but once I click on Button,
    Constructor is doing the right job only. But I do not understand why in button action I am getting the First Value only.
    public Page1() {
            // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Initialization">
            try {
                if (getSessionBean1().getIntValue()%2==0)
                    button1.setValue("BidNow");
                else
                    button1.setValue("Accept Invitation");
                getSessionBean1().setIntValue(getSessionBean1().getIntValue()+1);
                log("In Constructor Button Value : "+button1.getValue());
            } catch (Exception e) {
                log("Page1 Initialization Failure", e);
                throw e instanceof javax.faces.FacesException ? (FacesException) e: new FacesException(e);
            // </editor-fold>
            // Additional user provided initialization code
        public String button1_action() {
            // TODO Replace with your code
            log("In Action Button Value : "+button1.getValue());
            return null;
        }and here is the log
    [#|2005-07-19T11:55:17.859+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:17.859+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:18.359+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:18.359+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:18.843+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:18.843+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:19.312+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:19.312+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:19.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:19.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:20.234+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:20.250+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:20.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:20.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:21.328+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:21.328+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:35.437+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:35.437+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:35.906+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:35.921+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:36.265+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:36.265+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:36.890+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:36.890+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:37.171+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:37.171+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:37.468+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:37.468+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]As per this log every time I am getting Bid Now only in action, though the value is changed in Construtcor
    Can u explain the reason for this

    Hi Sudhakar,
    Please try the following and you will get an idea as to what is happening:
    1. Drag and drop a button, 2 outputText components
    2. Add a property to the session bean called intValue of type int. Customize it to set it's initial value to 0
    3. Add the following lines of code to the constructor
    outputText1.setValue("" + getSessionBean1().getIntValue());
    getSessionBean1().setIntValue(getSessionBean1().getIntValue()+1);
    4. Double click on the button component to go to the button action method.
    5. Add the following line of code
    outputText2.setValue("" + etSessionBean1().getIntValue());
    6. Save and run the application
    7. Watch the values of outputText1 and outputText2 with each click of the button
    Also, try the application with the following code block in the button action method:
    if(getSessionBean1().getIntValue()%2==0){
    button1.setValue("Bid Now");
    } else{
    button1.setValue("Accept Invitation");
    getSessionBean1().setIntValue(getSessionBean1().getIntValue()+1);
    outputText1.setValue(button1.getValue());
    outputText2.setValue("" + getSessionBean1().getIntValue());
    When the above code block is in the button action method the values set to button are as expected.
    Hope that helps
    Cheers
    Giri :-)

Maybe you are looking for