Actions in combination with Checkobex and ToggleButtons

Hello,
I would like to link checkboxes and togglebuttons using actions. The togglebutton and checkbox that have the same function are created with the exact same action. Is there a way to make sure the right togglebutton and checkbox is selected at any moment without having to store all the buttons and checboxes in lists?
So when I click on a togglebutton, the right checkbox is selected? The checkobxes would be JCheckBoxMenuItem in a JMenu, the togglebuttons JToggleButtons in a JToolBar.

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class ActionsTest
    JMenuBar menuBar;
    JToolBar toolBar;
    public ActionsTest()
        initializeActions();
        JFrame f = new JFrame();
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.setJMenuBar(menuBar);
        f.getContentPane().add(toolBar, "South");
        f.setSize(240,200);
        f.setLocation(200,200);
        f.setVisible(true);
    private void initializeActions()
        JMenu menu = new JMenu("menu");
        menuBar = new JMenuBar();
        menuBar.add(menu);
        toolBar = new JToolBar();
        new GroupAction(menu, toolBar);
    public static void main(String[] args)
        new ActionsTest();
class GroupAction implements ActionListener
    String[] ids;
    JMenu menu;
    JToolBar toolBar;
    AbstractButton[] abs;
    public GroupAction(JMenu menu, JToolBar toolBar)
        ids = new String[] { "one", "two", "three" };
        this.menu = menu;
        this.toolBar = toolBar;
        abs = new AbstractButton[ids.length * 2];
        addItems();
    public void actionPerformed(ActionEvent e)
        AbstractButton button = (AbstractButton)e.getSource();
        String ac = button.getActionCommand();
        System.out.println("ac = " + ac);
        if(ac.equals("one"))
        if(ac.equals("two"))
        if(ac.equals("two"))
        updateState(button);
    private void updateState(AbstractButton button)
        for(int j = 0; j < abs.length; j++)
            if(button == abs[j])
                int k = j - 1;
                if(j % 2 == 0)
                    k = j + 1;
                abs[k].setSelected(button.isSelected());
    private void addItems()
        for(int j = 0, k = 0; j < ids.length; j++, k += 2)
            JCheckBoxMenuItem item = new JCheckBoxMenuItem(ids[j]);
            item.setActionCommand(ids[j]);
            menu.add(item);
            item.addActionListener(this);
            abs[k] = item;
            JToggleButton tb = new JToggleButton(ids[j]);
            tb.setActionCommand(ids[j]);
            toolBar.add(tb);
            tb.addActionListener(this);
            abs[k + 1] = tb;
}

Similar Messages

  • VAT registration number in combination with country and company code

    Hi,
    Is there configuration where we can define the VAT registration number with combination of country and company code.
    thanx in advance

    Hi,
    Thanx for the reply.bt the issue is like we have a condition type zvat where condition table have the following fields departure country and destination country,The country of our company code is GB and we maintain a record for condition type zvat i.e GB (departure country) to GB (destination country) 17.5%.While creating a contract if vat is applicable we told user to maintain country GB in both the fieds i.e tax departure country and tax destination country in billing tab at header level of the contract .It is working fine for other company where  company code country is different then GB.But for this where company code  country is GB.An error occurs i.e.There is no vat registration number fot this comapny code XXXX for  country GB.
    Now how should i go about it?

  • Multiple inner joins combined with outer and right.

    Hello
    Can someone give me an example of multiple inner joins?
    Meaning inner join on more than 3 tables. Can someone provide me sql statement that would be great?
    Also can you combine inner outer and right in one query if so how? Again, can someone provide me sql statement that would be great?
    Thank you so much

    You can look at my sample Re: Need Assistance to write a procedure for the below requirements!!!
    John

  • Problem with SDO_FILTER combined with Timestamp and Order By using JDBC

    I'm having a problem with using SDO_FILTER. I've included a test driver below. It seems that I'm having a problem with combining the SDO_FILTER, Timestamp, ORDER BY and a nested table using the Oracle 11.1.0.7.0 driver against Oracle 11g. The below query queryNoWork results in the following error:
    Caused by: java.sql.SQLException: ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "MDSYS.SDO_3GL", line 1320
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
    at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3488)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
    at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.execute(WrappedPreparedStatement.java:299)
    All of the other query variations seem to work. The GEOM column referenced is a Linestring that has only 2 points, start and end. Any help on this would be greatly appreciated. Thanks!
    import java.math.BigDecimal;
    import java.sql.Connection;
    import java.sql.Date;
    import java.sql.Driver;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.Timestamp;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    import java.util.Enumeration;
    public class QueryTester
         public static void main(String[] args)
              try
                   SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
                   ArrayList<Object> queryParameters = new ArrayList<Object>();
                   queryParameters.add(new BigDecimal(0));
                   queryParameters.add(new Double(0));
                   queryParameters.add(new BigDecimal(180));
                   queryParameters.add(new Double(90));
                   queryParameters.add(new java.sql.Date(sdf.parse("2005-12-25").getTime()));
                   queryParameters.add(new java.sql.Date(sdf.parse("2005-12-26").getTime()));               
                   BigDecimal one = new BigDecimal(1);
                   DriverManager.registerDriver((Driver) Class.forName("oracle.jdbc.driver.OracleDriver").newInstance());
                   Enumeration<Driver> drivers = DriverManager.getDrivers();
                   while(drivers.hasMoreElements())
                        System.out.println(drivers.nextElement().getClass().getName());
                   Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@xxxx:1521:xxxx", "xxxx", "xxxx");
                   String queryNoWork = "select * from (select ROWNUM rowcount, a.* from (select * from TRACK_SEGMENTS where ( ( sdo_filter(GEOM, sdo_geometry(2003, 8307, null, sdo_elem_info_array(1, 1003, 3), sdo_ordinate_array(?, ?, ?, ?) ), 'MASK=ANYINTERACT') = 'TRUE' and END_DATE >= ?and START_DATE < ?) and 1 = 1 and 1 = 1) and ((START_DATATYPE = 'maritime_dense')) ORDER BY ID ) a) where rowcount between 1 and 30000";
                   String queryWorks0 = "select * from (select ROWNUM rowcount, a.* from (select * from TRACK_SEGMENTS where ( ( sdo_relate(GEOM, sdo_geometry(2003, 8307, null, sdo_elem_info_array(1, 1003, 3), sdo_ordinate_array(?, ?, ?, ?) ), 'MASK=ANYINTERACT') = 'TRUE' and END_DATE >= ?and START_DATE < ?) and 1 = 1 and 1 = 1) and ((START_DATATYPE = 'maritime_dense')) ORDER BY ID ) a) where rowcount between 1 and 30000";
                   String queryWorks1 = "select * from (select ROWNUM rowcount, a.* from (select * from TRACK_SEGMENTS where ( ( sdo_filter(GEOM, sdo_geometry(2003, 8307, null, sdo_elem_info_array(1, 1003, 3), sdo_ordinate_array(?, ?, ?, ?) ), 'MASK=ANYINTERACT') = 'TRUE' and END_DATE >= TO_TIMESTAMP('2005-12-25','YYYY-MM-DD') and START_DATE < TO_TIMESTAMP('2005-12-26','YYYY-MM-DD')) and 1 = 1 and 1 = 1) and ((START_DATATYPE = 'maritime_dense')) ORDER BY ID ) a) where rowcount between 1 and 30000";
                   String queryWorks2 = "select * from (select ROWNUM rowcount, a.* from (select * from TRACK_SEGMENTS where ( ( sdo_filter(GEOM, sdo_geometry(2003, 8307, null, sdo_elem_info_array(1, 1003, 3), sdo_ordinate_array(?, ?, ?, ?) ), 'MASK=ANYINTERACT') = 'TRUE' and END_DATE >= ?and START_DATE < ?) and 1 = 1 and 1 = 1) and ((START_DATATYPE = 'maritime_dense')) ) a) where rowcount between 1 and 30000";
                   String queryWorks3 = "select * from TRACK_SEGMENTS where ( ( sdo_filter(GEOM, sdo_geometry(2003, 8307, null, sdo_elem_info_array(1, 1003, 3), sdo_ordinate_array(?, ?, ?, ?) ), 'MASK=ANYINTERACT') = 'TRUE' and END_DATE >= ?and START_DATE < ?) and 1 = 1 and 1 = 1) and ((START_DATATYPE = 'maritime_dense')) ORDER BY ID";
                   String query = queryWorks0;
                   PreparedStatement s = conn.prepareStatement(query);
                   int parameterIndex = 0;
                   for (Object object : queryParameters) {
                        if (object instanceof Timestamp)
                             s.setDate(++parameterIndex, (Date) object);
                        else
                             s.setObject(++parameterIndex, object);
                   s.execute();
                   ResultSet results = s.getResultSet();
                   results.next();
                   System.out.println("executed query - " + results.getLong(1));
              catch (Exception e)
                   e.printStackTrace();
    }

    Is the TRACK_SEGMENTS table partitioned ?
    It looks like in the case where the SQL does not work, it is not using the Spatial index. So can you add some index hints
    in the query to force it to use the spatial index TRACK_SEGMENTS table ?
    siva

  • Muse combined with BC and CRM

    Hi there,
    I have created a site in Muse which has BC integrated, in particular secure zones. I now want to create a function within these secure zones where the user (on their secure page) can submit a custom form and the data from that form goes directly into my CRM database within BC. I need to know who the form was submitted by as they will be submitting details regarding potential customers. (we are a business which has a number of agents/affiliates who work by bringing in business).
    I am just getting to grips with BC so any help/advise would be great.
    I look forward to hearing peoples responses.
    Thanks a lot,
    Leo

    You can create custom form from BC end or use Muse form and then add that to any page. The page can be made secure , so that users have to login for access.
    Once form is submitted , it would create a CRM case with a customer record. The details of form summary will be triggered with workflow notification , where you can see the details as who submitted the form and with what details.
    More details :
    www.businesscatalyst.com/LiteratureRetrieve.aspx?ID=35137
    Thanks,
    Sanjit

  • IOS4.2 kills Camera Kit operation in combination with USB-Sticks and more

    Hi guys,
    When I decided to go for an iPad, one of the main reasons why not to stay with Microsoft was the connectivity in combination with cameras and USB-sticks.
    Well then, the update to iOS4.2 killed this because the software seems to lower the max.current limit from 200mA down to some 20mA. This "unfriendly" action by Apple is in my opinion fraud. I bought a lot of accessories to work with the iPod and all of them I can now dump into the trash cane, because Apple is doing the same ignorant "politics" to consumer just like their biggest rival Microsoft.
    This is company arrogance in excellence....
    ...never again an Apple product, that was is, over

    I'm experiencing the same problem and Apple is jacking me around. A great product but behind the phone are no customer service.
    Bring back the true IPAD and apple fix the problem.
    Apple can read the Dissuasions and do something about it.
    Unhappy customer too

  • Video conference with Messages and FaceTime

    I would like to show two other people a Keynote. - I know it´s really simple with iChat and I think it hasn´t changed with Messages.
    But one of the two other people has only an iPad (2).
    So, is a combination with Facetime and iChat/Messages possible?
    2 iChat/ Messages User and 1 FaceTime User = 1 conference?

    No, that is not possible at this time. iOS devices only support text and FaceTime video chats.

  • Any Experiences with OODBMS and WLS (also Javlin or VEJB)

    Hi guys,
    we are evaluating WLS in combination with OODBMS and RDBMS. Has anybody
    done this before and want to give us some hints on it. We take a look at
    Versant and Object Store versus Oracle 8i. We have to build a high
    traffic site with approx. 1000 hits/sec. We intend to modell the
    business logic in the EJB Modell. We have to present product-infos, news
    etc from a database. There are to pretty new containers out there :
    Javlin and VEJB(Versant). Has anybody experience with these products ?
    As I learn from this newsgroup there seem to be some performance
    problems regarding Entity Beans. I would like to know if this problems
    occur with OODBMS or RDBMS or both. Is the Container the bottlenack or
    the database ? It seems that from the performance point of view
    stateless Session Beans with pooled jdbc-Connections are the best
    solution. Is this right. Has anybody put in Java-Instances right in an
    OODBMS without involving a container ? What experiences have you made ?
    Thanks for your help
    regards Oliver

    Oliver,
    I suggest contacting the ODI or Versant folks. They can provide a wealth of
    benchmarks that explain why they're up there in performance with RDBMSes.
    Michael Girdley
    BEA Product Manager
    Oliver Renz <[email protected]> wrote in message
    news:[email protected]..
    Hi guys,
    we are evaluating WLS in combination with OODBMS and RDBMS. Has anybody
    done this before and want to give us some hints on it. We take a look at
    Versant and Object Store versus Oracle 8i. We have to build a high
    traffic site with approx. 1000 hits/sec. We intend to modell the
    business logic in the EJB Modell. We have to present product-infos, news
    etc from a database. There are to pretty new containers out there :
    Javlin and VEJB(Versant). Has anybody experience with these products ?
    As I learn from this newsgroup there seem to be some performance
    problems regarding Entity Beans. I would like to know if this problems
    occur with OODBMS or RDBMS or both. Is the Container the bottlenack or
    the database ? It seems that from the performance point of view
    stateless Session Beans with pooled jdbc-Connections are the best
    solution. Is this right. Has anybody put in Java-Instances right in an
    OODBMS without involving a container ? What experiences have you made ?
    Thanks for your help
    regards Oliver

  • Use of action links in combination with hierarchy object in analysis

    Hi All,
    From OBI 11g release hierarchy objects are available in the presentation layer of OBI. We make often use of these hierarchy objects. We also make use of action links to drill down to a analysis with more detailed information. This more detailed analysis should inherit the values of the higher-level analysis. In combination with the hierarchy objects this can give problems.
    An example:
    Let's say we have the following atttributes:
    Hierarchy object date (year, quarter, month), a product column and # of units shipped measure. On the column # of units shipped we have defined an action link to a more detailed analysis.
    Now, let's say the user clicks on the year 2011 in the hierarchy object. The quarters for 2011 are shown. The 'normal' product column attributes contains 'Product A'. The user makes use of the action link that is available by clicking on the measure value of # of units shipped. He clicks on the value that is based on quarter 2 of 2011 and 'Product A'. The detailed analysis is set to filter the analysis on the product and date dimension. In this example the analysis is filtered on 'Product A' but not on the value Quarter 2, 2011. Hierarchy object values are not passed through on clicking on a action link.
    Is there any workaround for this issue? We want to make use of the hierarchy object but users expect to also pass the hierarchy object value to the underlying detailed analysis

    I am facing the same issue...
    First check it out:
    http://prasadmadhasi.com/2011/12/15/hierarchicalnavigationinobiee11g/
    http://www.rittmanmead.com/2010/10/oracle-bi-ee-11g-navigation-passing-parameters-using-hierarchical-columns/
    I solved it by using Go URL link. I pass value of hierarchy level (whichever level it is). For Year it is 2012, month: 2012-03.
    Now ugly part: in url I pass 2 parameters that refers to the same value : "Time"."Year"="2012", "Time"."Month"="2012"
    In target report I apply filter: "Time"."Year" "Is Prompted" OR "Time"."Month" "Is Prompted"
    This way in target report only one of filters will work : depending from which level you navigated from source report.
    If you decide use this approach be carefoul with URL syntax, remember about double quotes etc. In my case it was:
    Parameter : value
    PortalGo : [LEAVE EMPTY]
    path : %2Fusers%2Fweblogic%2FMIS%20EVAL%2FT_Target
    options : dr
    Action : Navigate
    col1 : "Time"."Year"
    val1 : [SELECT TIME HIERARCHY COLUMN]
    col2 : "Time"."Month"
    val2 : [SELECT TIME HIERARCHY COLUMN]
    Remember to:
    Remove “=” after PortalGo
    Surround value attribute with double quotes - e.g. @val1=”@{6}”
    After you "adjust" your URL text manually (unfortunatelly it won't be done automatically) it should look like:
    http://10.10.10.100:7001/analytics/saw.dll?PortalGo@{1}&path=@{2}&options=@{3}&Action=@{4}&col1=@{5}&val1=”@{6}”&col2=@{7}&val2=”@{8}”

  • Can Oracle be forced to use the spatial index for sdo_filter in combination with an or clause? Difference between Enterprise and SE?

    We’re seeing the following issue: sql - Can Oracle be forced to use the spatial index for sdo_filter in combination with an or clause? - Stack Overflow (posted by a colleague of mine) and are curious to know if this behaviour is due to a difference between standard and enterprise, or could we doing something else wrong in our DB config.?
    We have also reproduced the issue on the following stacks:
    Oracle SE One 11.2.0.3 (with Spatial enabled)
    Redhat Linux 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 20:59:36 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
    11.2.0.3.0 Standard Edition and 11.2.0.4.0 Standard Edition (both with Spatial enabled)
    Microsoft Windows Server 2003R2 Standard x64 Edition
    However, the SQL works fine if we try it on Oracle 11.2.0.3.0 *Enterprise* Edition.
    Any help or advice would be much appreciated.
    Kindest Regards,
    Kevin

    In my experience sdo_filter ALWAYS uses the spatial index, so that's not the problem. Since you did not provide the explain plans, we can't say for sure but I think yhu is right: Standard Edition can't use the bitmap operations, and thus it'll take longer to combine the results of the two queries (because the optimizer will surely split this OR up in two parts, then combine them).
    BTW: when asking questions about queries here, it would be nice if you posted the queries here as well, so that we do not have to check another website in order to see what you are doing. Plus it will probably get you more answers, because not everyone can be bothered to click on that link. It would also have been nice if you had posted your own answer on the other post here as well, because my recommendation would have been to use union all - but since you already found that out for yourself my recommendation would have been a little late.

  • Issue with language specific characters combined with AD-Logon to BO platform and client tools

    We are using SSO via Win AD to logon to BO-Launchpad. Generally this is working which means for Launch Pad no manual log on is needed. But  this is not working for users which have language specific letters in their AD name (e.g. öäüéèê...).
    What we have tried up to now:
    If the AD-User name is Test-BÖ the log on is working with the user name Test-BO with logon type AD
    If the logon Type "SAP" is used than it is possible to use the name Test-BÖ as the username
    Generally it is no problem in AD to use language specific letters (which means it is possible to e.g. log on to Windows with the user Test-BÖ)
    It is possible to read out the AD attributes from BO side and add them to the user. Which means in the user attributes the AD name Test-BÖ is shown via automatic import from AD. So it's not the problem that the character does not reach BO.
    I have opened a ticket concerning that. SAP 1th level support is telling me that this is not a BO problem. They say it is a problem of Tomcat. I don't believe that because the log on with authentification type SAP is working.
    I have set up the same combination (AD User Test-BÖ with SAP User Test-BÖ) as a single sign on authentification in SAP BW and there it is working without problems.
    Which leads me to the conlusion: It is not a problem of AD. It is something which is connected to the BO platform but only combined with logon type AD because SAP Logon is working with language specific characters.

    I have found this article with BO support:
    You cannot add a user name or an object name that only differs by a character with a diacritic mark
    Basically this means AD stores the country specific letters as a base letter internally. Which means that if you have created a user with a country specific letter in the name you can also logon with the Base letter to Windows.
    SAP-GUI and Windows are maybe replacing the country specific letters by the base letter. Due to that SSO is working. BO seems not to be able to do that. Up to now the supporter from BO is telling me that this is not a BO problem.
    Seems to be magic that the colleagues of SAP-GUI are able to to it.

  • Is an Air 13,3 (1.8 Core i7) in combination with an apple tv 2 (with xbmc) and a new time capsule a good combo to have a flawless mediacentre / network?

    Hi there,
    I ordered a mac Air and now looking into the possibilities to have a nice mediacenter / network setup.
    Already searched the net but mostly finding posts about older airs, apple tv and tc's. Some of them not very positive as in the tc in combination with the air being slow etc.
    What advise can you people give me in this?
    Any input is highly appreciated!

    Hi there,
    I ordered a mac Air and now looking into the possibilities to have a nice mediacenter / network setup.
    Already searched the net but mostly finding posts about older airs, apple tv and tc's. Some of them not very positive as in the tc in combination with the air being slow etc.
    What advise can you people give me in this?
    Any input is highly appreciated!

  • JSF Actions and ActionListeners with Tiles and forms

    I�m having a problem trying to use the Tiles functionality in Struts 1.1 with JSF and was wondering if anyone could help me.
    I have defined a very simple header, menu, content Tile that doesn�t involve nesting of tiles (ExampleTile_content1Level.jsp).
    I have 3 JSP pages, the first testHarness.jsp is NOT built using Tiles and is just used to load some test data into a session scoped bean using an actionListener and then forward to a Tile generated page (ExampleTile3.jsp) using a hard-coded action �applicationSummary� when a commandLink is pressed. This works fine for both the action and actionListener.
    ExampleTile3.jsp contains another commandLink that is meant to forward to another tile ExampleTile2.jsp. This also works until I try to add the <h:form> � </h:form> tag around the outside of the <h:panelGrid> tags in ExampleContent1.jsp when the action and actionListener then fail to fire and I get an �Error on Page� message in Explorer the detail of which says �Error �com_sun_rave_web_ui_appbase_renderer_CommandLinkRendererer� is null or not an object�.
    However I need a form so that I can bind UI controls to data from the bean stored in the session scope. This is only a problem when I use Tiles to define the pages. Does anyone know what I am doing wrong?
    Any help would be much appreciated.
    Tiles.xml
       <definition name="example3" path="/pages/exampleTile_content1Level.jsp" >
              <put name="headerClass" value="someStyle"/>
              <put name="menuClass" value="someStyle"/>
              <put name="contentClass" value="someStyle"/>
              <put name="header-title" value="/pages/exampleHeader.jsp" />
              <put name="menu" value="/pages/exampleMenu.jsp" />
              <put name="content" value="/pages/exampleContent1.jsp" />
       </definition>
       <definition name="example2" path="/pages/exampleTile_content1Level.jsp" >
              <put name="headerClass" value="someStyle"/>
              <put name="menuClass" value="someStyle"/>
              <put name="contentClass" value="someStyle"/>
              <put name="header" value="/pages/exampleHeader.jsp" />
              <put name="menu" value="/pages/exampleHeader.jsp" />
              <put name="content" value="/pages/exampleContent2.jsp" />
       </definition>ExampleTile3.jsp
    <f:view>
         <h:form>
              <tiles:insert definition="example3" flush="false" />
         </h:form>
    </f:view> ExampleTile2.jsp
    <f:view>
         <h:form>
              <tiles:insert definition="example2" flush="false" />
         </h:form>
    </f:view> Faces-config.xml
    <navigation-rule>
        <from-view-id>/pages/testHarness.jsp</from-view-id>
           <navigation-case>
                <from-outcome>applicationSummary</from-outcome>
                <to-view-id>/pages/exampleTile3.jsp</to-view-id>
              <redirect/>
           </navigation-case>
    </navigation-rule>
    <navigation-rule>
        <from-view-id>/pages/exampleTile3.jsp</from-view-id>
           <navigation-case>
                <from-outcome>nextPage</from-outcome>
                <to-view-id>/pages/exampleTile2.jsp</to-view-id>
                <redirect/>
           </navigation-case>
    </navigation-rule> ExampleTile_content1Level.jsp
    <tiles:importAttribute scope="request"/>
    <h:panelGrid columns="1" >
         <f:subview id="header-title">
              <tiles:insert name="header-title" flush="false" />
         </f:subview>
         <f:subview id="menu">
              <tiles:insert name="menu" flush="false" />
         </f:subview>
         <f:subview id="content">
              <tiles:insert name="content" flush="false" />
         </f:subview>
    </h:panelGrid> ExampleHeader.jsp / ExampleMenu.jsp
    <tiles:importAttribute scope="request"/>
    <h:panelGrid columns="1" columnClasses="someSyle">
         <h:outputFormat value="This is the {0}.">
              <f:param value="Header / Menu as appropriate "/>         
         </h:outputFormat>
    </h:panelGrid> ExampleContent1.jsp
    <tiles:importAttribute scope="request"/>
    <h:form>     <----- Fails with this tag included but works without it.
    <h:panelGrid columns="1" >
              <h:outputFormat value="This is the {0}.">
                   <f:param value="Content on the FIRST page"/>
              </h:outputFormat>
              <h:commandLink action="nextPage" immediate="false">
                   <h:outputText value="Click to go to next page"/>
              </h:commandLink>
    </h:panelGrid>
    </h:form> ExampleContent2.jsp
    <tiles:importAttribute scope="request"/>
    <h:panelGrid columns="1" >
         <h:outputFormat value="This is the {0}.">
              <f:param value="Content on the SECOND page"/>
         </h:outputFormat>
    </h:panelGrid>

    jezzica85 wrote:
    Hi everybody,
    I want to overload a method so it can take either 2 Actions, 2 ActionListeners, or one of each. The issue with this is that I'd have to make 4 overloaded signatures and almost identical methods, like this:
    method( action, action )
    method( action, listener )
    method( listener, action )
    method( listener, listener )
    Well, if you want to support that then you are just going to have to do suffer through it, the only shortcut I can recommend is that your method(action, listener) and method(listener, action) are the same so you only have to implement 1 and just use the other as a entry point to call the one you wish to contain the code.

  • SC with combination of Limit and account assignment category as unknown(U)

    Hi,
    We are at SRM 5.5, Please let me know is it possible to create SC with combination of Limit and account assignment category as unknown(U) then PO with same combination and distrribution of cost to different cost centers at the time of confirmation from SRM side.
    Please guide me processs of the same in steps
    Many Thanks,
    Venkat

    It is for Extended Classic scenario

  • In the iMovie 11 event library, how can I get the iPhoto video clips to combine with my camcorder pics listed below and in chronological order?

    In the iMovie 11 event library, how can I get the iPhoto video clips to combine with my camcorder pics listed below and in chronological order?

    Try forcing iPhoto to load the Library on the External Hard drive by launching it while holding down the Option key. Choose the Library on the External HD, and quit iPhoto, see if iMovie can see the Library with the iPhoto Videos contained inside.

Maybe you are looking for