Need help in bounded taskflow

Hi
I have created one fusion web application with bounded taskflow with 2 views .When i click command button in first page it should navigate to second page by taking the action name "go".But the redirection is not happening.
please Help me out in this issue

You need t use control flow cases and refer them in the action property of your button.
See - http://docs.oracle.com/cd/E16162_01/web.1112/e16182/taskflows.htm#insertedID4

Similar Messages

  • Refresh of a bound taskflow in a popup results in an error.

    I have a bounded taskflow in a popup which needs to be refreshed every time the parameter templateName is updated.
    <taskFlow id="list_wkbk_workflow1" taskFlowId="/WEB-INF/list_wkbk_workflow.xml#list_wkbk_workflow" Refresh="ifNeeded"
    xmlns="http://xmlns.oracle.com/adf/controller/binding">
    <parameters>
    <parameter id="templateName" value="#{ListWbkController.templateName}"
    xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
    </parameters>
    </taskFlow>
    I get this error each time the region is refreshed.
    java.lang.IllegalStateException: Unable to queue marking of region as dirty because of a problem (see included cause).null
    at oracle.adf.view.rich.model.RegionModel._markComponentAsPartialTarget(RegionModel.java:320)
    at oracle.adf.view.rich.model.RegionModel.markRegionDirty(RegionModel.java:221)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModel.dirtyRegion(TaskFlowRegionModel.java:436)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:91)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2913)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2651)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:548)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:222)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:190)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:19)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:393)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:58)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:42)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:218)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)...
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.adf.view.rich.model.RegionModel._markComponentAsPartialTarget(RegionModel.java:313)
    ... 47 more
    Caused by: java.lang.IllegalArgumentException: ADF_FACES-60041:Phase RENDER_RESPONSE 6 has already started or passed; at least at phase RENDER_RESPONSE 6.
    at oracle.adfinternal.view.faces.context.RichPhaseListener._queueTaskForPhase(RichPhaseListener.java:175)
    at oracle.adfinternal.view.faces.context.RichPhaseListener.queueTaskForBeforePhase(RichPhaseListener.java:144)
    ... 52 more
    I did not see this error with an earlier version, I see it with the Build JDEVADF_MAIN_GENERIC_081202.1750.*5232* build. Any help is appreciated.
    Thanks,
    Suneetha

    Hi,
    The D810 requires Camera Raw 8.6 or later - the latest version that is compatible with Photoshop Elements 12 is Camera Raw 8.5 as far as I can see.
    You need to either buy a new version of Photoshop Elements or use the free Adobe DNG converter.
    DNG  Converter 8.8
    Win – http://www.adobe.com/support/downloads/detail.jsp?ftpID=5888
    Mac – http://www.adobe.com/support/downloads/detail.jsp?ftpID=5887
    Useful Tutorial
    http://www.youtube.com/watch?v=0bqGovpuihw
    Brian

  • Need help with my usecase based on transient ViewObject

    I am using 11.1.1.4.0 Jdev version. I need help with my usecase.Been trying it for 2 days but couldn't figure out the issue.
    I have a transientVO . In this VO Rows will be populated programmatically. CountryId is an attribute of this VO. I have created a viewAccessor "CountriesVA" from Country VO of HR schema.
    I have a LOV for the countryId which is based on this VA ,getting countries from CountryTable.
    This is the model part which works fine.
    Before the page load i have called  a method to create a row for this transientVO.Once the row is created i can see the SOC in my page which i have created as below.
    Now i want to insert a row in the transientVO if user selects a country and restrict duplicate entry . (As One row is already created 1st time there will be no rows created.after that rows will be inserted)
    The issue is :: Suppose there are 2 countries. A & B .When user does the following actions :
    Insert A . Done //as 1st entry
    Insert B . Done //as 1st time entry
    Insert A . duplicate not inserted
    Insert B . getting inserted // the bug.
    <af:selectOneChoice value="#{bindings.CountryId.inputValue}"
                            label="#{bindings.CountryId.label}"
                            required="#{bindings.CountryId.hints.mandatory}"
                            shortDesc="#{bindings.CountryId.hints.tooltip}" id="soc1"
                            immediate="true" autoSubmit="true"
                            valueChangeListener="#{pageFlowScope.managedBean.countryIdVC}">
        public void countryIdVC(ValueChangeEvent valueChangeEvent) {
            // Add event code here...
            String oldValue=null;
              setEL("#{bindings.CountryId.inputValue}", valueChangeEvent.getOldValue());
              if(evaluateEL("#{bindings.CountryId.attributeValue}")!=null)
             oldValue =evaluateEL("#{bindings.CountryId.attributeValue}").toString();
                    setEL("#{bindings.CountryId.inputValue}", valueChangeEvent.getNewValue());
            String newValue=evaluateEL("#{bindings.CountryId.attributeValue}").toString();
            BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
             DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("ViewObj1Iterator");
             //access the underlying RowSetIterator
             RowSetIterator rsi = dciter.getRowSetIterator();
          boolean duplicate=true;
          if(oldValue!=null){
                    rsi.getCurrentRow().setAttribute("CountryId", oldValue);
        //  Row row= rsi.findByKey(new Key(new Object[] { newValue}), 1)[0];
          Key key =new Key(new Object[] { newValue});
          Row row=rsi.getRow(key);
          if(row==null){
          System.err.println(duplicate);
            duplicate=false;
          }else{
            rsi.setCurrentRow(row);
             if(!duplicate){
             //get handle to the last row
             Row lastRow = rsi.last();
             //obtain the index of the last row
             int lastRowIndex = rsi.getRangeIndexOf(lastRow);
             //create a new row
             Row newRow = rsi.createRow();
             newRow.setAttribute("CountryId", newValue);
             //initialize the row
             newRow.setNewRowState(Row.STATUS_INITIALIZED);
             //add row to last index + 1 so it becomes last in the range set
             rsi.insertRowAtRangeIndex(lastRowIndex +1, newRow);
             //make row the current row so it is displayed correctly
             rsi.setCurrentRow(newRow);

    I read the reply from Andrejus Baranovskis and thought of studying and implementing that in my useCase.Well it worked . I implemented the same Logic but rowIteration was done in AppModule.
    Con-Fusion, Bugs, Facts &amp;amp; Workarounds: Iterating through View Object RowIterator Bug.(NOT ADF BUG, Development B…
    http://docs.oracle.com/cd/E15523_01/web.1111/b31974/bcservices.htm#sm0206
    9.7.6 What You May Need to Know About Programmatic Row Set Iteration
    The problem is solved ,the above links helped me solve the problem.
    what i did is i have created a method in appmodule to iterate rows and all the method y operation bindings and my logic works fine ....
    MY Advice to all Adf developers ,though i am not an expert but i can assure you to follow the above process for rowIteration.If you use the  iterator binding in the manage bean to navigate the rows u'll face issues which are unexpected.
    In AppModule :::::
        public boolean createRow(String oldValue,String newValue){
         System.err.println(oldValue+""+newValue);
          ViewObjectImpl vo=getViewObj1();
          boolean duplicate=false;
          if(oldValue!=null){
          RowSetIterator iter = vo.createRowSetIterator(null);
          System.err.println("iterating rows ");
             while (iter.hasNext()) {
                 Row r = iter.next();
                 System.err.println(iter.getRangeIndexOf(r)+" row is "+r.getAttribute("CountryId"));
                 if(r.getAttribute("CountryId").toString().equals(newValue)){
                     duplicate=true;
                     break;
                 // Do something with the current row.
             // close secondary row set iterator
             iter.closeRowSetIterator();
          return duplicate;
    In ManageBean :::::
        public void countryIdVC(ValueChangeEvent valueChangeEvent) {
            // Add event code here...
            String oldValue=null;
           System.err.println("Old Value"+valueChangeEvent.getOldValue());
              setEL("#{bindings.CountryId.inputValue}", valueChangeEvent.getOldValue());
              if(evaluateEL("#{bindings.CountryId.attributeValue}")!=null)
             oldValue =evaluateEL("#{bindings.CountryId.attributeValue}").toString();
                    setEL("#{bindings.CountryId.inputValue}", valueChangeEvent.getNewValue());
            String newValue=evaluateEL("#{bindings.CountryId.attributeValue}").toString();
            BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
             //access the name of the iterator the table is bound to. Its "allDepartmentsIterator"
             //in this sample
             DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("ViewObj1Iterator");
             //access the underlying RowSetIterator
             RowSetIterator rsi = dciter.getRowSetIterator();
             if(oldValue!=null){
                          rsi.getCurrentRow().setAttribute("CountryId", oldValue);
               OperationBinding operation = bindings.getOperationBinding("createRow");
               operation.getParamsMap().put("oldValue", oldValue);
               operation.getParamsMap().put("newValue", newValue);
          if(!(Boolean)operation.execute()){
          //get handle to the last row
          Row lastRow = rsi.last();
          //obtain the index of the last row
          int lastRowIndex = rsi.getRangeIndexOf(lastRow);
          //create a new row
          Row newRow = rsi.createRow();
          newRow.setAttribute("CountryId", newValue);
          //initialize the row
          newRow.setNewRowState(Row.STATUS_INITIALIZED);
          //add row to last index + 1 so it becomes last in the range set
          System.err.println("Inserting row at index "+lastRowIndex+1);
          rsi.insertRowAtRangeIndex(lastRowIndex +1, newRow);
          //make row the current row so it is displayed correctly
          rsi.setCurrentRow(newRow);
          else{
            System.err.println("Data found So not inserting,only setting current Row");
          Key key =new Key(new Object[] { newValue});
            rsi.setCurrentRow(rsi.getRow(key));

  • NEED HELP PLEASE Setting up 2 VLANS and a redundant WAN connection

    I have a remote branch office which is actually a huge bar/lounge. The bar wants to enable patrons to access the Internet with their wireless laptops. I want to prevent those patrons from accessing our private network, and also prevent them from traversing our static VPN tunnel back to HQ.
    The bar processes all credit cards via the T1 connection, and this has caused us to lose money every time the T1 goes down while we're open, since there is no WAN redundancy right now.
    Here is my current hardware configuration:
    1) one PIX 501 50-user 3des.
    2.) two Dell 3024
    3.) one Aironet 1100(g) AP.
    Current LAN Network: 10.35.35.0
    (internal employees only, static VPN tunneled to remote HQ network)
    Current Wireless SSID's:
    SSID1=PRIVATESSID
    SSID2=PUBLICSSID (not currently in use, waiting to figure this out)
    Current WAN: one T1 connection.
    WHAT I WOULD LIKE TO DO AND NEED HELP FIGURING OUT:
    #1a) I want to create two separate VLAN's that are able to share the WAN connection, but not be able to "see" each other.
    #1b) These VLAN's would be mapped to their respective SSID's on the AP (PRIVATESSID>10.35.35.0 and PUBLICSSID>192.168.1.0).
    #1c) The 192.168.1.0 network should not be able to traverse the static tunnel between the branch site and HQ.
    #2) I would like to install a backup WAN connection such as a modem 56k dial-up to an ISP or a cable modem to an ISP. In case the primary T1 goes down, I would like the router to automatically dial out over the modem conection and route all Internet bound traffic over that backup WAN connection, until the primary comes back online.
    Question 1:
    I'm assuming I need a router to do the intervlan routing. Could this router also do the on-demand WAN backup dialing to an ISP via analog modem?
    What IOS version and flavor (IP base, IP+, etc.) would I need? What is the cheapest router I can do all that with (i.e. 2620/2621/1720/3600 series)? What WIC's or NM's would I need?
    Question Two:
    I would like to prioritize PRIVATESSID's traffic over PUBLICSSID's traffic, which I know I can do on the access point. Can I do this on the router so that any 10.35.35.0 traffic takes priority over any 192.168.1.0 traffic?
    Question Three
    If the primary T1 WAN connection goes down, I don't want the router to re-route the 192.168.1.0 traffic over the backup 56k dial-up WAN connection. That traffic can wait until the T1 comes back up.
    Any help you can provide would be very much appreciated.

    Assuming your access points can place SSID into separate vlans and support 802.1q trunks then I can attempt to answer your questions. There are seperate secuity issues with both SSID for protection and VLANs for seperation but in your case in may be minimal.
    q1
    Any cisco router that will run 802.1q trunking will work. Since you are looking at older routers you will need IP+ to get it. Even 2610's will support 802.1q on their 10m ethernet at the correct code level but 10m and 802.1q is sorta nonstandard. Since your backup is only 56k you can use the internal modem port as a dial backup. A wic-2a/s will also work if you prefer not to use the modem port. You will need some wic to run your t1 line. If you are planning to leave the t1 on another router it makes the next 2 questions much harder.
    q2
    This is fairly simple and depends on your ios level. "priority queing" is supported on even the older software. I assume you do not control the far end of the t1 line since it sounds as if this goes to a ISP.
    You will need to have them do the QoS since most issues with the internet are inbound and not outbound. You can only control outbound traffic.
    q3
    If the T1 is on the same router then this is fairly simple. You can just put a floating static default route in that will cause the dialer to come up if the the t1 goes down. There is no easy way to protect against the line being up but no traffic passing. This is also why it would be best to have the t1 on the same router. If its not you will need to get very creative to solve this. You could build a GRE tunnel to a remote location and montior the tunnel or run a routing protcol over the tunnel. In the newest software you could use SAA and policy routing to force the traffic over the dialer but the router must support ios 12.4.
    3a. You mentioned a cable modem as a backup. That can be much easier sometimes since it is all routing and no dialer interfaces with nasty modem issues. This does not make the issue of the t1 not on the same router easier.

  • How can we use Bounded Taskflow in another project.

    Greetings!
    Suppose we have 2 projects: projectA and projectB.
    In projectB we have 4 bounded taskflows: T1, T2, T3, T4.
    In projectA we have a view with a dynamic region, text input for digits and a command button.
    How can we fill our dynamic region with taskflows from projectB, by typing a number of it and pressing a button.
    Thank you.

    Hi,
    Yes, I know.
    However, I'm under the impression that this is not the preferred method. All the documentation describe the ADF library method and I cannot find any description about putting them in a separate project.
    All said, it seems to kind of work, using the 'jar dependencies', except for taskflows with a nested taskflow from another project. An I still need to import them as adf library.
    We'd like to develop our taskflows separately using a short development lifecycle. Putting each of them in a separate application and publish and import them in the main application seems to be too complicated and takes to much time, everytime.
    Am I correct that the shortest development lifecycle is to have all the taskflows in our webapplication, and have full debug and hot-swap functionality?
    Ciao
    Aino

  • Need Help Need Help PLZ PLZ

    my problem is that i have made a calendar by using jtable and i can't highlight or put any sign to keep track on date, but the biggest problem is that i have to submit this project after two days, so i will appreciate any help or tips from you. Here is my code:
    CODE
    /*Contents of CalendarProgran.class */
    //Import packages
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class CalendarProgram{
    static JLabel lblMonth, lblYear;
    static JButton btnPrev, btnNext;
    static JTable tblCalendar;
    static JComboBox cmbYear;
    static JFrame frmMain;
    static Container pane;
    static DefaultTableModel mtblCalendar; //Table model
    static JScrollPane stblCalendar; //The scrollpane
    static JPanel pnlCalendar;
    static int realYear, realMonth, currentYear, currentMonth;
    public static void main (String args[]){
    //Look and feel
    try {UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());}
    catch (ClassNotFoundException e) {}
    catch (InstantiationException e) {}
    catch (IllegalAccessException e) {}
    catch (UnsupportedLookAndFeelException e) {}
    //Prepare frame
    frmMain = new JFrame ("Gestionnaire de clients"); //Create frame
    frmMain.setSize(330, 375); //Set size to 400x400 pixels
    pane = frmMain.getContentPane(); //Get content pane
    pane.setLayout(null); //Apply null layout
    frmMain.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); //Close when X is clicked
    //Create controls
    lblMonth = new JLabel ("January");
    lblYear = new JLabel ("Change year:");
    cmbYear = new JComboBox();
    btnPrev = new JButton ("<<");
    btnNext = new JButton (">>");
    mtblCalendar = new DefaultTableModel(){public boolean isCellEditable(int rowIndex, int mColIndex){return false;}};
    tblCalendar = new JTable(mtblCalendar);
    stblCalendar = new JScrollPane(tblCalendar);
    pnlCalendar = new JPanel(null);
    //Set border
    pnlCalendar.setBorder(BorderFactory.createTitledBorder("Calendar"));
    //Register action listeners
    btnPrev.addActionListener(new btnPrev_Action());
    btnNext.addActionListener(new btnNext_Action());
    cmbYear.addActionListener(new cmbYear_Action());
    //Add controls to pane
    pane.add(pnlCalendar);
    pnlCalendar.add(lblMonth);
    pnlCalendar.add(lblYear);
    pnlCalendar.add(cmbYear);
    pnlCalendar.add(btnPrev);
    pnlCalendar.add(btnNext);
    pnlCalendar.add(stblCalendar);
    //Set bounds
    pnlCalendar.setBounds(0, 0, 320, 335);
    lblMonth.setBounds(160-lblMonth.getPreferredSize().width/2, 25, 100, 25);
    lblYear.setBounds(10, 305, 80, 20);
    cmbYear.setBounds(230, 305, 80, 20);
    btnPrev.setBounds(10, 25, 50, 25);
    btnNext.setBounds(260, 25, 50, 25);
    stblCalendar.setBounds(10, 50, 300, 250);
    //Make frame visible
    frmMain.setResizable(false);
    frmMain.setVisible(true);
    //Get real month/year
    GregorianCalendar cal = new GregorianCalendar(); //Create calendar
    realMonth = cal.get(GregorianCalendar.MONTH); //Get month
    realYear = cal.get(GregorianCalendar.YEAR); //Get year
    currentMonth = realMonth; //Match month and year
    currentYear = realYear;
    //Add headers
    String[] headers = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; //All headers
    for (int i=0; i<7; i++){
    mtblCalendar.addColumn(headers);
    tblCalendar.getParent().setBackground(tblCalendar.getBackground()); //Set background
    //No resize/reorder
    tblCalendar.getTableHeader().setResizingAllowed(false);
    tblCalendar.getTableHeader().setReorderingAllowed(false);
    //Single cell selection
    tblCalendar.setColumnSelectionAllowed(true);
    tblCalendar.setRowSelectionAllowed(true);
    tblCalendar.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    //Set row/column count
    tblCalendar.setRowHeight(38);
    mtblCalendar.setColumnCount(7);
    mtblCalendar.setRowCount(6);
    //Populate table
    for (int i=realYear-100; i<=realYear+100; i++){
    cmbYear.addItem(String.valueOf(i));
    //Refresh calendar
    refreshCalendar (realMonth, realYear); //Refresh calendar
    public static void refreshCalendar(int month, int year){
    //Variables
    String[] months = {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"};
    int nod, som; //Number Of Days, Start Of Month
    //Allow/disallow buttons
    btnPrev.setEnabled(true);
    btnNext.setEnabled(true);
    if (month == 0 && year <= realYear-10){btnPrev.setEnabled(false);} //Too early
    if (month == 11 && year >= realYear+100){btnNext.setEnabled(false);} //Too late
    lblMonth.setText(months[month]); //Refresh the month label (at the top)
    lblMonth.setBounds(160-lblMonth.getPreferredSize().width/2, 25, 180, 25); //Re-align label with calendar
    cmbYear.setSelectedItem(String.valueOf(year)); //Select the correct year in the combo box
    //Clear table
    for (int i=0; i<6; i++){
    for (int j=0; j<7; j++){
    mtblCalendar.setValueAt(null, i, j);
    //Get first day of month and number of days
    GregorianCalendar cal = new GregorianCalendar(year, month, 1);
    nod = cal.getActualMaximum(GregorianCalendar.DAY_OF_MONTH);
    som = cal.get(GregorianCalendar.DAY_OF_WEEK);
    //Draw calendar
    for (int i=1; i<=nod; i++){
    int row = new Integer((i+som-2)/7);
    int column = (i+som-2)%7;
    mtblCalendar.setValueAt(i, row, column);
    //Apply renderers
    tblCalendar.setDefaultRenderer(tblCalendar.getColumnClass(0), new tblCalendarRenderer());
    static class tblCalendarRenderer extends DefaultTableCellRenderer{
    public Component getTableCellRendererComponent (JTable table, Object value, boolean selected, boolean focused, int row, int column){
    if (column == 0 || column == 6){
    setBackground(new Color(255, 220, 220));
    else{
    setBackground(new Color(255, 255, 255));
    super.getTableCellRendererComponent(table, value, selected, focused, row, column);
    return this;
    static class btnPrev_Action implements ActionListener{
    public void actionPerformed (ActionEvent e){
    if (currentMonth == 0){ //Back one year
    currentMonth = 11;
    currentYear -= 1;
    else{ //Back one month
    currentMonth -= 1;
    refreshCalendar(currentMonth, currentYear);
    static class btnNext_Action implements ActionListener{
    public void actionPerformed (ActionEvent e){
    if (currentMonth == 11){ //Foward one year
    currentMonth = 0;
    currentYear += 1;
    else{ //Foward one month
    currentMonth += 1;
    refreshCalendar(currentMonth, currentYear);
    static class cmbYear_Action implements ActionListener{
    public void actionPerformed (ActionEvent e){
    if (cmbYear.getSelectedItem() != null){
    String b = cmbYear.getSelectedItem().toString();
    currentYear = Integer.parseInt(b);
    refreshCalendar(currentMonth, currentYear);

    Welcome to the forum. You will need to learn a couple things if you want to receive help and not get flamed to death:
    1) All code needs to be posted within code tags. You can read up on them here:
    http://forum.java.sun.com/help.jspa?sec=formatting
    You want to make it as easy as possible for the volunteers here to help you. That means making your code readable.
    2) Do not put "urgent" "need help" "hurry please" in your posts if you are smart. Definitely don't put them in the header of the post. The urgency is yours, not ours. Putting that stuff in there only turns people off. If you have a problem deemed worthwhile by the volunteers here, if you have put thought into your post so you make it easy as possible for others to help you, and if you show some effort on your own, you are almost guaranteed to get timely help.
    3) List all error messages completely.
    4) Keep all necessary code, get rid of all unnecessary code. Your code should be compilable on its own, but it should not contain anything that isn't necessary for demonstrating your problem.
    5) Specifics:
    Why are you throwing out all those exceptions?
    Why is everything in one big huge GUI class? Break your code down into functional units. Make sure the logic works in a non-GUI way, THEN add a GUI class.
    Why the huge main method? The main should be short and sweet.
    Why the static inner classes? Do you know what is the difference between static inner classes and non-static inner classes?
    Why all the static variables anyway? You are doing procedural programming with an OOP language. You should use OOP if you can with an OOP language.
    Sorry, but this code looks like it was thrown together in a big hurry. I think that you have a lot of work to do. Good luck!

  • Frustrated: Novice Illustrator User Needs HELP

    Frustrated: Novice Illustrator User Needs HELP
    Hello All
    I am a novice user of Illustrator [after you read my question it will probably be obvious] running Illustrator 14.0.0 (CS4) - on a MAC iMac running 10.4.11.  I am a small business owner and have to wear many hats and so I am forced to be my graphic designer by default - ha ha
    PROBLEM - If I make a box using the RECTANGLE TOOL... The box should have a point at each Corner and the Middle of the box, as well as, in the Middle of each Side, and middle of Top and Bottom for a total of 9 anchor points...  but it only has 5... missing the 4 anchor points in the Middle of each Side, and middle of Top and Bottom. It is the same on Text Boxes too..  I can NOT find a setting to change this.... More, when running Illustrator on my MAC Laptop, It has all 9 anchors on the box...   I looked at Preferences etc... and matched everything to be the same but the problem is not fixed?
    Any help would be greatly appreciated
    Thanks-
    13CrazyTrain

    Aw, c'mon James. Chill it a bit.
    Yeah. You continually throw around your little personal jibes, and then if someone calls your bluff, you think you can back out of it with the old "can't you take a joke?" comeback.
    In my previous work environment where everyone used Illie, Freehand was a word to be used cautiously – a bit like Macbeth in the theatre.
    Well, I didn't work in your previous environment. And FreeHand specifically had nothing to do with this thread until you brought it up. Seems to me it's you who has a FreeHand chip on his shoulder.
    I thought you knew my way of expressing myself better...
    What, you think I keep a personality registry of regulars here or something? I'll tell you what I don't do: I don't engage in personal insults here. Yet your personal jibes are frequent enough for me to have grown weary of them.
    I think I was not dismissing bounding boxes as useless...
    Excuse me? "There's absolutely no need to use bounding boxes"?
    You are probably right that bounding boxes came with Illie 9.
    Probably before that. But I can personally recall that the current-selection bounding box was present in AI9. Unlike some, I try to avoid making claims that I can't immediately substantiate.
    I hopped straight from 6 to 9 and that was the first time I had seen them outside of Freewotever.
    I'm not familiar with "Freewotever." But if you're again trying to be funny, you are also again revealing your near complete unfamiliarity with it. FreeHand is not the program that continually cluttered the interface with bounding boxes. In fact, for many years that is exactly one of the distractions FreeHand users complained about re Illustrator.
    First off, FreeHand's interface doesn't display bounding boxes. It displays only bounding box handles (four dots) on non-basic constructs like clipping paths. (Somewehere around FH 9, it implemented the optional Transform Handles, but that's another thing.) In the cases of rectangles and ellipses, FreeHand doesn't display Bounding Boxes per se. Working in FreeHand has always provided more functionality with much less visual clutter (and tool glut) than Illustrator's defaults.
    The difference is that FreeHand has always provided proper live geometric shape primitives--something which Illustrator still doesn't provide, even though it's one of the most basic of all vector drawing interface expectations, being present in just about any vector drawing program on the planet--except Illustrator. That point of confusion is common among those who are experienced only with Illustrator's chronically outdated and archaic interface.
    Quite to the contrary, a rectangle drawn in a program that does provide basic live primitives doesn't need a bounding box to perform the bare-bones basic manipulation exemplified, because you can change the aspect ratio of it (and corner radius) anytime you want, regardless of its rotation. You can do this not only in FreeHand, but Canvas, Inkscape, Xara Designer, and even in just about any basic drawing module of just about any "works" or "office" bundle. It's just Illustrator that still fails to provide live shape primitives, and therefore needs a rotated bounding box to provide a very limited subset of such common functionality. You draw a rectangle (or any other geometric primitive) in Illustrator, and all you get is a dumb path. So Illustrator actually needs bounding boxes more than other programs, because of its anemic core funciton set and its hideous user interface.
    But of course, someone who is familiar only with Illustrator wouldn't know that. Which is fine...so long as they don't spew derision at programs they know next to nothing about (and users of such programs).
    ...bearing in mind that I have been at this job since the days of Rotring pens with nosebleeds.
    So? I was using Rapidographs and constructing compound rotation in isometric on the board for about a decade before I came to prefer Staedtler pens because I found them less prone to clog. What does that have to do with anything?
    Obviously newcomers should be encouraged to use new features, but preferably not before they have grasped the basics thoroughly. How basic bounding boxes are is perhaps a moot point.
    Nonsense. Other self-proclaimed "experts" in Illustrator would no doubt argue that bounding boxes were added for the benefit of "beginners." Again, this is not a "new feature." And yes, it is bare-bones basic; just implemented in a half-baked manner in Illustrator.
    As for step 3 you are right, but if you turn off the preview you can use the pixels on the paths for alignment,
    Egads. That's really grasping at straws, Steve.
    ...Or use bounding boxes.
    Or use bounding boxes.
    JET

  • I need help with Modbus Ethernet communicat​ion

    I try to communicate with a Modbus RTU controller with a MOXA Ethernet to RS232 converter. I use DSC module to create a modbus Ethernet driver, and create a list of shared
    variables that are bound to individual addresses in the modbus register.
    I have tried for a long time to make this communication stable, but I lose communication after a couple of hours..
    I read hex values from the controller registers, and they normally is from 100 to 140 depends.. But after a while some of my
    registers drop to zero, and others up to 65408 for instance..  and some digital values hang..
    When I restart my vi, it works again for some hours..
    Maybe it is a communication problem true Ethernet, because I have tested shared variables in other ways, and it works fine..
    I want to know if there is any specific rules how to put up a good way to communicate with my modbus driver true Ethernet.. I have enclosed one of the examples that I tried, and I have also tried to read values directly into while loops, but I lose communication after a while
    Anybody…  please I need help. I would be happy to see a good and stabile way to put up a communication example.. 
    I also tried some of the modbus examples, but I didn't manage it to work.. I use one master controller and one slave, and I use ID 32 for
    the master and ID 01 for the slave..
    Thanks..
    Very best regards from..
    Benji..
    Attachments:
    test37.vi ‏83 KB

    Hi.. and thank's for your answer..
    Yes, I have downloaded and tried the modbus lib before, and it works, but I have to rebuild it to make it work good for my system..
    Maybe that is the way to go..  But I also thought that when I have DSC installed, it would be easier to use that one..
    In the mean time I've did some test's and, I see that the problem maybe is in my modbus gateway..
    Anyhow.. thank's for your answer...
    Regards from Benji..

  • ADF UI Shell Pattern- How to pass parameter to the called bounded taskflow?

    The sample Launcher class of the ADF UI Shell template has the following code:
        private void _launchActivity(String title, String taskflowId, boolean newTab)
          try
            if (newTab)
              TabContext.getCurrentInstance().addTab(
                title,
                taskflowId);
            else
              TabContext.getCurrentInstance().addOrSelectTab(
                title,
                taskflowId);
          catch (TabContext.TabOverflowException toe)
            // causes a dialog to be displayed to the user saying that there are
            // too many tabs open - the new tab will not be opened...
            toe.handleDefault();
        }How do I pass a parameter to the bounded taskflow that will be launched?
    For example:
    1) I have a list of employees displayed on a tab.
    2) When I select a record and click an edit button inside the tab, A separate tab should open with the corresponding employee to be edited.
    How then could I pass the employee id to the edit-employee-task-flow?
    I can't think on how/what would a "calling taskflow" come into this picture?
    help!
    pino
    Edited by: pino on 16-Dec-2009 05:57
    Edited by: pino on 16-Dec-2009 09:59

    Hi Arunkumar,
    Thanks for the info. I was actually using EJB DataControls, and something similar to what you have suggested can also be done programmatically, but I wanted to follow the one promoted in the Fusion Developers' Guide to take advantage of the "ADF task flow framework" (like pass-by-value, pageflowScope, etc.) especially that we were having problems when we will just follow the procedures that was presented in the tutorials(I mean that- not all the procedures in the tutorials will work on an application based on the UI Shell pattern which do have multiple active taskflows.).
    For instance, you have an active List of employees in one tab, and two other tabs that try to edit employee records. If these employee list and employee edit forms are based on a single iterator binding, then what would happen to the information in the two edit forms on each separate tabs if you selected another row on the employee list tab? -- In our case, the edit tabs' values synchronized to the new selected row in the list tab.
    There are sure many work-arounds for these, but I am looking for a cleaner, clearer, or best way to handle this scenario.
    regards,
    pino

  • Need help to develop Pythagoras theorem-

    Hi i need help to develop proofs 2,3,4
    of pythagoras theorems in java as demonstrations
    These are applets can anyone help me with it or give me an idea of how to go about developing it -
    the site is the following
    http://www.uni-koeln.de/ew-fak/Mathe/Projekte/VisuPro/pythagoras/pythagoras.html
    then double click on the screen to make it start

    Pardon my ASCII art, but I've always liked the following, simple, geometric proof:
         a                   b
    ---------------------------------------+
    |       |                                |
    a|   I   |              II                |
    |       |                                |
    ---------------------------------------+
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    b|  IV   |              III               |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    ---------------------------------------+It almost goes without saying that I+II+III+IV == (a+b)^2, and II == IV == a*b,
    I == a*a and III == b*b, showing that (a+b)^2 == a^2+a*b+a*b+b^2.
    I hope the following sketch makes sense, stand back, ASCII art alert again:     a                   b
    ---------------------------------------+
    |               .             VI         |
    |     .                 .                |a
    | V                               .      |
    |                                        +
    |                                        |
    |   .                                    |
    b|                                     .  |
    |                                        |
    |                  IX                    |
    | .                                      |
    |                                    .   |b
    |                                        |
    +                                        |
    |      .                                 |
    a|               .                  . VII |
    |  VIII                   .              |
    ---------------------------------------+
                     a                    bThe total area equals (a+b)^2 again and equals the sum of the smaller areas:
    (a+b)^2 == V+VI+VII+VIII+IX. Let area IX be c^2 for whatever c may be.
    V+VII == VI+VIII == a*b, so a^2+b^2+2*ab= c^2+2*a*b; IOW a^2+b^2 == c^2
    Given this fundamental result, the others can easily be derived from this one,
    or did I answer a question you didn't ask?
    kind regards,
    Jos

  • I need help to find and open a job app that I exported, was able to fill out and sign and saved and now can't open it? What did I do wrong?

    I need help to find and open a job app that I exported, was able to fill out and sign and saved and now can't open it? What did I do wrong?

    What file format did you export it to?

  • Need help to open audios attached in a PDF file

    Hello
    I just need help. I have ordered a reviewer online that has audios and texts in a pdf file. I was told to download the latest adobe reader on my computer. I have done the same thing on my ipad mini. I am not so technical with regards to these things. Therefore I need help. I can access the audios on my computer but not on my ipad.
    I want to listen to audios with scripts or texts on them so i can listen to them when i am on the go. I was also informed that these files should work in any device. How come the audios doesnt work on my ipad.
    Please help me on what to do.
    Thanks

    Audio and video are not currently support on Adobe Reader. :-<
    You need to buy a PDF reader that supports them. My suggestion is PDF Expert from Readdle ($US 9.99)

  • Need help to open and look for file by name

    Hi,
            Im needing help to open a folder and look for a file (.txt) on this directory by his name ... The user ll type the partial name of file , and i need look for this file on the folder , and delete it ....
    How can i look for the file by his name ?
    Thx =)

    Hi ,
        Sry ,, let me explain again ... I ll set the name of the files in the follow order ... Name_Serial_date_chanel.sxc ..
    The user ll type the serial that he wants delete ...
    I already figured out what i need guys .. thx for the help ^^
    I used List Directory on advanced IO , to list all .. the Name is the same for all ... then i used Name_ concateneted with Serial(typed)* .. this command serial* ll list all serials equal the typed , in my case , ll exist only one , cuz its a count this serial .Then i pass the path to the delete , and its done !
    Thx ^^

  • I need help, my ipod touch is not recognized by windows as a harddisk

    i need help, my ipod touch is not recognized by windows like a memory card or a harddisk.
    i would like to transfer the files from pc to my ipod touch without useing itunes.
    as i see theres some people here that theires ipod touch are recongnzed as a digitl camra, mine is reconzied as nothing, some help plz.
    Message was edited by: B0Om

    B0Om wrote:
    ok but i still dont understed, only my itnes recongnize my ipod, when i go to " my cumputer, it dosent show up there, not even as a digital camra
    Your Touch is working correctly. Currently, without unsupported third party hacks, the Touch has NO disc mode. It will only show up in iTunes.
    how do i put programes and games in my ipod touch
    Right now, you don't. The SDK is scheduled to be released in Feburary. Then developers will be able to write programs that will be loadable.

  • Weird error message need help..

    SO.. i havent updated my itunes in a while because i keep getting this weird message.. it comes up when im almost done installing the newest/newer versions of itunes. it says
    "the feature you are trying to use is on a network resource that is unavailable" "click ok to try again or enter an alternate path to a folder containing the installation package 'iTunes.msi' in the box below"
    now when ever i choose a file from the browse box it replies with this message "the file 'xxx' is not a valid installation package for the product iTunes. try to find the installation package iTunes.msi in a folder from which you can install iTunes."
    no idea need help thanks
    ~~~lake
    Message was edited by: DarkxFlamexCaster
    Message was edited by: DarkxFlamexCaster

    +it comes up when im almost done installing the newest/newer versions of itunes. it says+ +"the feature you are trying to use is on a network resource that is unavailable" "click ok to try again or enter an alternate path to a folder containing the installation package 'iTunes.msi' in the box below"+
    With that one, let's try the following procedure.
    First, head into your Add/Remove programs and uninstall your QuickTime. If it goes, good. If it doesn't, we'll just attend to it when we attend to iTunes.
    Next, download and install the Windows Installer CleanUp utility:
    Description of the Windows Installer CleanUp Utility
    Now launch Windows Installer CleanUp ("Start > All Programs > Windows Install Clean Up"), find any iTunes and/or QuickTime entries in the list of programs in CleanUp, select those entries, and click “remove”.
    Next, we'll manually remove any leftover iTunes or QuickTime program files:
    (1) Open Local Disk (C:) in Computer or whichever disk programs are installed on.
    (2) Open the Program Files folder.
    (3) Right-click the iTunes folder and select Delete and choose Yes when asked to confirm the deletion.
    (4) Right-click the QuickTime folder and select Delete and choose Yes when asked to confirm the deletion. (Note: This folder may have already been deleted if QuickTime was successfully removed using Add/Remove Programs earlier.)
    (5) Delete the QuickTime and QuicktimeVR files located in the C:\Windows\system32\ folder. Click Continue if Windows needs confirmation or permission to continue. (Note: These files may have already been deleted if QuickTime was successfully removed using Add/Remove Programs earlier.)
    (6) Right-click on the Recycle Bin and on the shortcut menu, click Empty Recycle Bin.
    (7) Restart your computer.
    Now try another iTunes install. Does it go through properly now?

Maybe you are looking for

  • I wish to migrate to web-based application from forms 6i

    Dear All, Please inform me the technique / tools to convert my designed forms (using 6i) to web based forms, so any user can easily use an application through web browser instead of developer client. I'll be grateful to you. Mustansir Shehzad Khatri.

  • Peel off hourly output value and subtract from previous hours (then write to file)

    Here is another problem I have been working with and what I have tried so far.  Right now, my current VI is writing data to an excel file at a point every second.  I would LIKE peel off a point from this datastream once every hour and subtract it fro

  • Time_out - Time limit exceed - Error

    Hi, The following code gives the Time_out run time error. LOOP AT i_outtab.     IF p_cust = 'X'.      Select single kunnr from vbak into sales_cust                  where kunnr =  i_outtab-kunnr                  and  ERDAT GE date.     IF sy-subrc NE

  • Material in stock after goods issue

    Hi Friend, Though material is issued to cost center , it is showing in stock under inresticted stock ,WHY? (In MMBE report) Regards, Mahesh.

  • Get server health via SNMP get

    Hello, is it possible to get the health of a server (or deployment) in weblogic using snmpget? All documentation and examples I found so far assume that a use traps. I tried to walk over the bea tree once when a specific server is stopped and once wh