Using region attributes to populate train skip property

Hi Steven,
It's been a while since I've looked at trains in 11g and now that I picked it up again I'm working on using the "skip" property of the train stop.
Back in this thread Adding EL expression to train skip property you suggested modifying the groupAdfcConfig template like :
#if ($JHS.current.group.wizardBaseGroup)
<train-stop>
#if ($page.itemRegion)
<display-name>#REGION_TITLE($page.itemRegion)</display-name>
#elseif ($page.regionContainer)
<display-name>#REGION_TITLE($page.regionContainer)</display-name>
#else
<display-name>#GROUP_TITLE($page.group)</display-name>
#end
*<skip>${page.group.property1}</skip>*
</train-stop>
#end
The problem with this is that the skip values need to be provided at the region level (ie for each stop) rather than just once for the top level group. I've played around with the groupAdfcConfig template and now have it looking like
#if ($JHS.current.group.wizardBaseGroup)
<train-stop id="#NEW_ID("__")">
#if ($page.itemRegion)
<display-name id="#NEW_ID("__")">#REGION_TITLE($page.itemRegion)</display-name>
*<skip>${page.itemRegion.rendered}</skip>*
#elseif ($page.regionContainer)
<display-name id="#NEW_ID("__")">#REGION_TITLE($page.regionContainer)</display-name>
*<skip>${page.regionContainer.rendered}</skip>*
#else
<display-name id="#NEW_ID("__")">#GROUP_TITLE($page.group)</display-name>
#end
</train-stop>
#end
.. using the rendered property of the train region to populate the skip property. The problem I am currently facing is when I'm using a group region because there is no ${page.groupRegion} method. You simply default to ${page.group} for the group region to get the display name but the trouble with that is there is no method in the PGGroup class to retrieve the rendered attribute. For now, I've had to wrap the group region inside a region container just to be able to get the rendered attribute property back.
Is there a way I can access the rendered property of the group Region ?
Cheers,
Brent

Brent,
We would need to change the generator code for that. Can't you put the group region inside a region container an set the rendered property on the region container instead?
Steven Davelaar,
JHeadstart Team.

Similar Messages

  • Adding EL expression to train skip property

    Is there a way I can get JHeadstart to populate the skip property of a train stop ? If not, what is the best way to preserve an EL expression entered manually ?
    Cheers,
    Brent

    Brent,
    No, we don;t have decalartive support for thos yet. You can customize groupAdfcConfig.vm to implement this.
    Using the custom group properties in the application definition, you could do this in a generic way:
    #if ($JHS.current.group.wizardBaseGroup)
    <train-stop>
    #if ($page.itemRegion)
    <display-name>#REGION_TITLE($page.itemRegion)</display-name>
    #elseif ($page.regionContainer)
    <display-name>#REGION_TITLE($page.regionContainer)</display-name>
    #else
    <display-name>#GROUP_TITLE($page.group)</display-name>
    #end
    *<skip>${page.group.property1}</skip>*
    </train-stop>
    #end
    The you can specify the boolean skip expression in the first custom property of the group.
    Steven Davelaar,
    JHeadstart Team.

  • How to set value for  skip condition in train stop property of train compnt

    Hi,
    Iam using JDev 11.1.1.5 version, i have created a TaskFlow where having train components pointing to different jsff pages, moving from one jsff page to another jsff page.
    I want to validate the input fileds in one of the jsff page, then only have to move to next jsff page. For this, how can i set skip property of train component....to disable to go for next train component...?
    Note: I want to set boolean value(returns 'True', if all input fileds are filled, otherwise 'False') into skip property of train component.
    Regards.

    You can use the skip property of the train stop. You can have an EL expression for it, some thing like this #{pageFlowScope.isContinueEnabled}.
    Once all the mandatory fields are entered, you can set the isContinueEnabled flag and refresh the train button bar.
    For more info refer this: http://docs.oracle.com/cd/E14571_01/web.1111/b31974/taskflows_complex.htm#CJHFBFIE
    Also, you can try navigating to different train stops programmatically.
    Check: 082.      How-to programmatically navigate ADF train models
    in http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html

  • Skip Property in Train Stop???

    Hi, I saw some tutorial regarding Train including this >>> http://www.oracle.com/technetwork/developer-tools/adf/learnmore/82-programmatically-navigate-trains-396873.pdf
    but while conducting a research and development using the document, I can't find the Skip property of the train stop indicated in Page 8.
    Does anyone familiar with this? I have a use case wherein the train stop should be disabled and we have to navigate programaticalyl.
    Thanks..

    open your task flow in jdeveloper main menu.
    then click on the view (train stpe) you want to change its skip property.
    you will see the skip property in the property inspector.

  • Usage of other region attributes  in our current region

    Hi,
    Is it possible to use the attributes of other region in our current region in which both the regions lie under the same path (oracle/apps/ap/oie/entry/summary/webui) through personalization.
    If soo,plz can u suggest how to do it.

    Hi,
    As i am new to oaf ,i need few suggestions regarding my requirement.
    In Internet Expense Audit manager------>Manage Expense Reports Tab----->
    In it searching with an name
    and Clicking on CONFIRMATION PAGE Image
    Then it shows a page with four Tabs like Expense Lines Tab and Expense Allocation Tab etc.
    The Expense Lines Tab doesn't contain ProjectNumber Field but Expense Allocation Tab contains ProjectNumber field.
    Now my requirement is:
    I need the projectnumber to be printed in Expense Lines .
    Can u suggest me how to do this.

  • 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

  • Spry:region attributes require one or more data set names as values!

    Why am I getting this error ?
    http://www.magazooms.com/mzLite/index-php.html

    Maby you have to give the div (or what u use) that holds the
    spry:region attribute an id... See this
    http://livedocs.adobe.com/en_US/Spry/1.4/help.html?content=WS687EBFF2-AD34-47c5-BEE6-6DBFF 3EB8CCD.html

  • I am unable to get tooltips in Firefox for my application though i am using title attribute.

    I am unable to get tooltips in Firefox for my application though i am using title attribute.
    I have even set the browser.chrome.toolbar_tips property to true. I am getting tooltips for all other sites except mine application.

    Can you post the code that isn't working or a link to a website with that code?
    Did you check for other elements covering that link?
    * https://developer.mozilla.org/En/DOM_Inspector
    * https://developer.mozilla.org/en/Introduction_to_DOM_Inspector
    * DOM Inspector: https://addons.mozilla.org/firefox/addon/6622

  • Using Custom Attributes in HBR

    <p>Does anyone know how to use custom attributes to limit local orglobal HBR variables (run-time prompts)? We have business rulesthat were developed in the graphical designers and the run timeprompt was set up to limit the user's selection based on a customattribute. When these business rules are imported into EAS theywill no longer validate.</p>

    Hi Maarten,
    I have applied the logic mentioned above to my code. But it still does not procure any data from the container.
    <ItemType name="uwl.task.webflow.decision.<task>" connector="WebFlowConnector" defaultView="travel" defaultAction="launchTravelUwl" executionMode="default">
          <ItemTypeCriteria systemId="UWL_R3" externalType="<task>" connector="WebFlowConnector"/>
           <CustomAttributes>
            <CustomAttributeSource id="ABAP_BOR" objectIdHolder="NOTIFICATION" objectType="ZBUS2078" cacheValidity="final">
              <Attribute name="STARTDATE" type="date" displayName="Creation Date"/>
              <Attribute name="ENDDATE" type="double" displayName="Due By"/>
            </CustomAttributeSource>
            <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="NOTIFICATION" objectType="WebflowContainer" cacheValidity="final">
              <Attribute name="NOTIFICATION" type="string" displayName="NOTIFICATION"/>
            </CustomAttributeSource>
          </CustomAttributes>
          <Actions>
            <Action name="replan" groupAction="no" handler="UserDecisionHandler">
              <Properties>
                <Property name="UserDecisionNote" value="mandatory"/>
                <Property name="decisionKey" value="4"/>
              </Properties>
            </Action>
            <Action name="reject" groupAction="yes" handler="UserDecisionHandler">
              <Properties>
                <Property name="UserDecisionNote" value="true"/>              
                <Property name="decisionKey" value="1"/>
              </Properties>
            </Action>
          </Actions>
        </ItemType>

  • Region Attributes and Region Header on Tab Template. Apex 5

    All,
    In order to have my pages not scroll, but instead have a region scroll I would do an overflow on the region header and attributes in apex 4.
    When using this same method on a tab template, all of the reports within the tab templates get shown one after another.
    eg;
    region attribute......style="width:350px;height:758px;"
    region header..... <div style="overflow: auto; width: 350; height: 700px;">
    it does make the region scrollable, but the tabs stop working and instead are displayed one after another.
    Does anyone know of a fix / workaround?

    Hi gianpagi,
    gianpagi wrote:
    i would like to know how to have an horizontal scrollbar for an interactive report (5.0) after making a pivot from the user interface; i have a lot of columns and without the pivot the horizontal scrollbar appears . After it doesn't appear.
    I tried with the Region Header <div style="overflow:auto;"> and Region Footer </div>  but without success.
         Please mention the theme and template you are using for the Interactive Report.
         Can you re-produce the issue on apex.oracle.com and share the workspace credentials, so that can have closer look at the issue?
    Regards,
    Kiran

  • How to use weblogic.Admin to set JMS ErrorDestination property on WLS 7?

    This thread is talking about using weblogic.Admin to set the ErrorDestination property.
              http://forums.bea.com/bea/thread.jspa?threadID=200036378&messageID=202187327&start=0
              We run the script against the WLS 7.0 server, script get 'OK' result but it didn't work (property wasn't set). Some error is reported in the admin.log on the server.
              We also run the scipt against the WLS 8 server. It worked perfectly.
              Does anyone know whether this works at all on WLS 7?

    The reason we are using weblogic.Admin is that we are using conf2admin to generate the scripts. weblogic.Admin seems to be the only option for WLS7. Thanks for your suggestion and will definitely check out WLST.
              The full error message is:
              ####<Aug 27, 2004 8:55:20 AM NZST> <Emergency> <Management> <rbd1> <admin> <ExecuteThread: '9' for queue: '__weblogic_admin_rmi_queue'> <kernel identity> <> <141067> <The value n204162:JMSServer=LAS2JMSServer,Name=FailedQueue,Type=JMSQueue specified for the ErrorDestination attribute is not valid. MBean: n204162:JMSServer=LAS2JMSServer,Name=FundingQueue,Type=JMSQueue. Method: setAttributes. Exception: javax.management.InvalidAttributeValueException: BeanShell Interpreter threw exception while evaluating (((value == void)?(true):(weblogic.management.configuration.JMSLegalHelper.legalErrorDestination(self, value)))) on value n204162:JMSServer=LAS2JMSServer,Name=FailedQueue,Type=JMSQueue, getLegalCheck() for attribute ErrorDestination of MBean "n204162:JMSServer=LAS2JMSServer,Name=FundingQueue,Type=JMSQueue", Sourced file: <Inline eval of: ((value == void)?(true):(weblogic.management.configuration.JMSLegalHelper.legalErrorDestination(self, value))); > : Method Invocation weblogic.management.configuration.JMSLegalHelper.legalErrorDestination : at Line: 1 : in file: <Inline eval of: ((value == void)?(true):(weblogic.management.configuration.JMSLegalHelper.legalErrorDestination(self, value))); > : weblogic .management .configuration .JMSLegalHelper .legalErrorDestination ( self , value )
              Target exception: java.lang.NullPointerException
              .>
              javax.management.InvalidAttributeValueException: BeanShell Interpreter threw exception while evaluating (((value == void)?(true):(weblogic.management.configuration.JMSLegalHelper.legalErrorDestination(self, value)))) on value n204162:JMSServer=LAS2JMSServer,Name=FailedQueue,Type=JMSQueue, getLegalCheck() for attribute ErrorDestination of MBean "n204162:JMSServer=LAS2JMSServer,Name=FundingQueue,Type=JMSQueue", Sourced file: <Inline eval of: ((value == void)?(true):(weblogic.management.configuration.JMSLegalHelper.legalErrorDestination(self, value))); > : Method Invocation weblogic.management.configuration.JMSLegalHelper.legalErrorDestination : at Line: 1 : in file: <Inline eval of: ((value == void)?(true):(weblogic.management.configuration.JMSLegalHelper.legalErrorDestination(self, value))); > : weblogic .management .configuration .JMSLegalHelper .legalErrorDestination ( self , value )
              Target exception: java.lang.NullPointerException
                   at weblogic.management.internal.DynamicMBeanImpl.checkAttributeValueIsLegal(DynamicMBeanImpl.java:1517)
                   at weblogic.management.internal.DynamicMBeanImpl.prepareForModification(DynamicMBeanImpl.java:1440)
                   at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1004)
                   at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:353)
                   at weblogic.management.internal.DynamicMBeanImpl.setAttributes(DynamicMBeanImpl.java:827)
                   at com.sun.management.jmx.MBeanServerImpl.setAttributes(MBeanServerImpl.java:1475)
                   at weblogic.management.internal.RemoteMBeanServerImpl.setAttributes(RemoteMBeanServerImpl.java:905)
                   at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
                   at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
                   at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
                   at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
                   at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
                   at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)

  • Some Problems in Using Region Containers

    Hi,
    I have some problems in using region container which looks like bugs to me :
    1- I added 2 Item Regions to one group in app def and dragged some items into them.Then, I decided to have a region container and arrange these 2 item regions horizontally. I added a Region Container and drag the 2 Item Regions into it. in this case, all the fields in these Item Regions disappeared and I did not have control over them.
    2- If I first create a Region Container and then put a region item in it and then drag some attributes into region item everything will be fine but if I change my mind and decide not to have region container and drag region item from region container into regions, again all fields in the region item will disappear.
    3- I created a region container and added 2 region items to it and dragged some items into them. I set the layout style to horizontal and set the width of region container to 100% but I realized that regardless of width value I set, the page arrangement was always the same. I investigate the jspx file and found out that the width of region container was not set. I added width="$JHS.current.regionContainer.width" to "<afh:tableLayout" section in horizontalRegionContainer.vm and it then worked fine. I believe that this part is forgotten to be in the vm file.
    Best Regards,
    Navid

    Navid,
    regarding 1 and 2: This only happens when you add items to an item group and start to drag and drop the item region BEFORE you click the Apply button. If you click the Apply
    button before you move item groups around, it works fine.
    3: yes, this is a bug, we will add fix in next release. Thanks for reporting.
    Steven Davelaar,
    JHeadstart team.

  • Notification Body has header region attribute - 'Description' in English

    We are on R12.0.4 global instance, base language is American English, Japanese is installed language.
    The POREQAPPRV workflow was customized.
    The 'Approve Requisition' notification message was replaced with 'Approve Requisition JRAD', as required.
    But when the Japanese users opened the Approve Requisition notification message from their worklist, they are seeing many message attributes in Japanese, except the header region attribute 'Description' is in English. How does one fix the issue.

    hi,
    try this
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
       <b> i_callback_program      = 'ZTEST_DS'</b>
        i_structure_name = 'I_FINAL'
          it_fieldcat      = fieldcat_edidc[]
          i_default        = 'X'
          i_save           = 'A'
          it_events        = evnt_vbak[]
        TABLES
          t_outtab         = i_final
        EXCEPTIONS
          program_error    = 1
          OTHERS           = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    give here ur report name
    reward if useful.

  • Using condition attribute in XMLForms

    Hi all,
    Does anyone know how to use the condition attribute for label at XMLForms ? Is there a documantation or sample file that I can learn how to use this attribute ??
    Thanks,
    Amit

    Hi Amit,
    the description of the atribute leads into the right direction: "Value of the referenced object that makes this label appear."
    So you can for example add a Schema Reference or a Property Reference to the Label, reference of type string, and fill in the condition: "myTest". The label now only appears if the referenced object is of value "myTest", otherwise not.
    Hope it helps
    Detlev

  • Use of attributes in FIX statement w/ other mbrsets

    Hi all,I just discovered that in 6.1.4, using a FIX statement like:FIX (@ATTRIBUTE("Diet"), @LEVMBRS(Products, 0))will actually select all products, not just a subset that have the attribute "Diet" (where "Diet" is, of course, an attribute of products).Now you might think I'm ignorant, since it seems logical that the subset "Diet" might be overridden by the superset "Products". However the same problem happens if I use:FIX (@ATTRIBUTE("Diet"), @ATTRIBUTE("Discontinued"))This statement returns neither the intersection nor the union of those two subsets - I seem to get ALL products.What gives? Am I just a foolish country boy?-dan

    Does this select ALL of the products, or just the Level 0 products? The reason I ask is that the statement will not be combined using AND logic - only members of different dimensions will be combined using AND logic. Try the following:FIX (@LEVMBRS(Product, 0) AND @ATTRIBUTE(Diet))Now, if your attribute is at level 0 (I assume it is) and you want to select them, just use:FIX (@ATTRIBUTE(Diet))That will select all of the products that have a Diet attribute.Hope that helps.Regards,Jade-------------------------------Jade ColeSenior Business Intelligence ConsultantClarity [email protected]

Maybe you are looking for

  • Video on NTSC monitor

    Hi.. I have my monitor set up through firewire. I can capture just fine but i can not seem to get video from the timeline or the canvas (or viewer) to show up on the monitor. I have external video-all frames checked. I have mirror on desktop checked.

  • IPhoto Book with Missing Pictures

    I submitted this problem via the Apple support site but have not received an answer. I am hoping someone visiting this forum might have advice. I ordered a 50-page hardcover 8.5x11 iPhoto Book (theme: Modern Lines) that I created using iPhoto 6.0 on

  • IPhoto (and preview) not recognising Canon 350D raw files

    Hi, I'm using a Canon 350D (UK version of Digital Rebel XT) and OS X (specifically preview and iPhoto) won't recognise the .cr2 raw images it produces. The images have finder thumbnails but if I try to open them I get: The document "xxx.cr2" could no

  • Sharing photos by e-mail arranged by version name

    I need to send all photos in one project from Aperture by e-mail arranged by version name. That is, all photos in the letter must be ordered by version name. When i use Share button Aperture generates an e-mail where the photos are mixed. Does anyone

  • My podcast episode descriptions have disappeared...

    I've consulted several websites and I can't find the error in my XML file. podcast: https://itunes.apple.com/us/podcast/30-000-kilohertz-of-sound/id299700719?mt=2 xml file: http://30000khz.com/rss.xml Using this code under each item: <itunes:summary>