Pls help   how to check the condition in java server faces.....???

Hi All
I have strucked with code pls help....
How can i check the codition in java server faces.....?
like in my Application when user provides the in put like some state name in the next page i have to display some url for that state .......if he provide some other state name it will be different url .....pls help me how can i do that,,,,,,???
thanks in advance..

There are certainly ways to do that. E.g. using the rendered attribute, using conditional statements in EL, using a specialized getter for that (lazily loaded if necessary), etcetera. But your functional requirement is unclear, so I can't go in detail with that.
In the future, please try to write normal English sentences. Don't write like SMS talk and save the periods and commas. The more effort you put in your question, the more chance you will be taken for serious and the more effort others will post in their answers.
Also, in the future, JSF related questions should be posted in the JSF forum.
Edited by: BalusC on 12-aug-2008 7:47

Similar Messages

  • How to check the Conditional transition while submit the jsp as screenflo

    Hi All,
    I want to know that how to check the conditional transition, which result is used to decide the next Activity while submit the JSP as Screen Flows
    Edited by bpmvasu at 03/27/2007 11:14 PM

    Hi,
    Unlike BPM Object Presentations where the 'selectedButton' is automatically assigned to the predefined screenflow 'result' variable, when using JSP Persentations you need to do the mapping yourself (I don't think there is a way around this).
    Assuming you're using a JSP Presentation with a Fuego Object Interactive Call, click the 'Advanced' button at the bottom of the Main Task dialog.
    Select the 'showOut' argument set, add a new argument mapping. Select 'result' from the Screenflow's instance variables and map it to 'parameters["paramName"]'. Where paramName is the name of the HTML submit input element in your JSP.
    Hope this helps,
    Tim

  • Help--how to check the exact time?

    Pls help me:
    How to check the accurate down-time when the Sun machine (with solaris 8 sparc) abnomally shutdown (eg. power failure)?
    or
    Is there any way to detect the exact time when I shutdown the Sun machine ?
    thanks.

    check /var/adm/messages ; uptime ; last ..
    there are quite a few method u can use

  • Pls help me to check the imp par file sytax

    hi, buddy:
    here is a imp par file for a 8i database:
    FROMUSER=(B)
    TOUSER=(B)
    FILE=${TMP_FS}/XXX_imp
    BUFFER=400000000
    LOG=XXXXXXX
    TABLES=(A.table1, A.table2.......)
    IGNORE=N
    COMMIT=Y
    I import selected tables from schema A, and all objects from B.
    is that OK, just double make sure. pls help have a check
    thanks a lot
    Jerry

    Doing a table level import will not import anything other than the tables listed (including database objects like views, packages, etc).
    If you want to import all object from schema B into schema B on the target db, and only selected tables from schema A in the source DB, into schema A then you are going to need to do this in 2 steps. First do the import fromuser=B touser=B. Then do the import again with fromuser=A touser=B tables=a.table1, a.table2...

  • [Help] How to check the object locks held by a specific thread?

    As the title I want to check locks held by a specific thread. How can I do this? In Java lock is acquired and release automatically by stating synchronized keyword. I have no idea on how to check the lock status and who owns whick lock.
    Regards,
    Skeeter

    Look for the method:
        public static native boolean holdsLock(java.lang.Object);Its in the java.lang.Thread class. It will check the lock status for an object for the calling thread.

  • Pls help : How to get the client ip address in EJB

    Hi experts,
    I need to find the ip addr of the client which makes the remote call.
    I tried using
    java.rmi.server.RemoteServer.getClientHost()
    But it throws ServerNotActiveException .
    When I tried this in RMI it works fine perfectly.
    If i am right EJB is just similar to RME and it should work in it too..
    Can you please help me in finding out the ip address of the client which makes the ejb call.
    Thanks & Regards,
    Mukunt

    Hi Mukunt,
    There is no portable way to do this in the Remote EJB programming model. The bean class
    is written in a way that is agnostic to those kind of plumbing-related details of the caller.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to check the records that were inserted in a day?Please Help!

    HI All,
    How to check the records that were insterted in a day in a standard SAP table?
    For example : I want retrieve the records that were added in a day in WLK1 table.
    How do i do this?
    Urgent!! Please help!
    Thanks in advance!
    Sandeep Shenoy

    HI
        Changes to data within a table can be automatically logged. Such automatic logging of changes is called automatic table history. To turn on logging, tickmark the Log Data Changes check box on the Technical Settings screen
    IF THIS IS ALREADY DONE FOR A PARTICULAR TABLE, YOU CAN GET THE RECORD OF CHANGES THAT YOU MADE FOR THAT PARTICULAR TABLE AS EXPLAINED UNDER
    <a href="http://64.233.179.104/search?q=cache:pOdVy55jfAIJ:cma.zdnet.com/book/abap/ch06/ch06.htmHISTORYOFUPDATESINADAYINABAP&hl=en&gl=in&ct=clnk&cd=1">Automatic Table History and Change Documents</a>
    IF ITS HELPFUL PLEASE REWARD POINTS
    REGARDS
    ANOOP

  • HELP !!! How to check the size of an object in Photoshop ?

    Hello,
    I'm using Photoshop CS 3 to design a website. I used several shapes such as rectangle, line or ellipse of different size. Probably it is a stupid question but I don't know how to check the size of an existing rectangle. I tried free transform tool that selects my rectangle but doesn't show its size. Then I made a selection with rectangular marquee tool but I see nowhere the size of the selected area.
    If you know the name of such a tool please help me !
    Have a nice day !

    Web images are all pixels. View at 100% at pixel view. that is your exact size

  • Help! how to check the SQL run in Oracle?

    Hi all,
    I have a problem. the developer said the SQL written in Java code are not the one executed in Oracle DB. that mean the query is some how manipulated by some PL/SQL so the final query run in Oracle is different. So can someone teach me how to check the actual SQL run in Oracle?
    Thanks a lot.
    Regards,
    Jason

    Hi Michel Thanks. But it looks like the query stored in v$sqlarea is not the final executable SQL. for example, the code in application is "select column_A from default_table where column_A = ?" and this ? will be given some value in run time. the query stored in v$sqlarea will be like "select column_A from default_table where column_A = :1"... what is this :1?
    Also if some PL/SQL procedure appends some condition to the SQL, is it possible to view the full query from database side?
    ok, let me try trace and tkprof first.

  • Hi there, pls help since I upgraded the software to ios7 i have no more facetime neither in my contacts nor in settings... so i cannot activate it. anyone knows why this happened and how to fix it?thankso

    Hi there, pls help since I upgraded the software to ios7 i have no more facetime neither in my contacts nor in settings... so i cannot activate it. anyone knows why this happened and how to fix it?thanks

    Tap and hold the Home button and the On/Off buttons for approximately 10-15 seconds, until the Apple logo reappears. When the logo appears, release both buttons.
    No content is affected by this procedure.

  • Hi, since i updated my iphone5 to 7.1 version,i found the battery easy run out,pls help how to back to 7.0.2 version,thanks

    since i updated my iphone5 to 7.1 version,i found the battery easy run out,pls help how to back to 7.0.2 version,thanks

    Downgrading of iOS is not supported by Apple.
    However, See these steps for troubleshooting battery or charging issues.

  • HT201359 Why i have been billed six times for the same item? Pls help how to refund..

    Why i have been billed six times for the same item? Pls help how to refund..

    Did you change your card details on your account a number of times when trying to purchase the item, and five of them are temporary store holding charges : http://support.apple.com/kb/HT3702 ?
    If they are all 'proper' charges then try the 'report a problem' link to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Pls. explain me  u0093Split numberu0094 and how to check the created u0093Capacity IDu0094

    When I switching the network activity to TECO, the system throws an error “There are CATS records for the object to be deleted”. However we have transferred all the CATS records, but in CATSDB table found “Split number” as 1 and there is “Capacity ID” 10000426.
    Can anyone explain what is “Split number” and how to check the created “Capacity ID” 10000426
    Thanks in advance.
    Regards,
    Harisha

    Hai Lokesh,
    Here is help from my side.
    <b>Schedule the job so as to run the report for every 1 hour or what ever you want.</b>
    Before that:
    <b>Juat add the below logic:</b>
    Get the Text data into a ITAB1.
    LOOP AT THAT ITAB.
      SELECT SINGLE PRIMARY KEY FIELDS
          FROM DATABASE_TABLE
        WHERE f primary keys of text data EQ DATABASE_TABLE-PRMARY KEY FIELDS.
    IF SY-SUBRC EQ 0.
       SELECT SINGLE ORDER_NO
          FROM ORDER_TABLE
      WHERE ORDER_NO EQ ORDER_NO.
    IF SY-SUBRC NE  0."If Order already not created
       "* write the code to create Order
      "* Store this record into other ITAB2.
    ENDIF. 
    ENDIF.
    Finally,
    Get a new ITAB3 where it contans data in ITAB1 BUT NOT IN ITAB2.
    Delete itab1 from presen.Server
    Upload itab3 into presn.Server
    Hope this helps you.
    <b>Reward points if it helps you.</b>
    Regds,
    Rama chary.Pammi

  • How can i check the condition of my iphone 4 battery?

    Is there a way to check the condition of a battery in an iphone, to see the number of cycles and present capacity?

    there are some apps in the app store but it's all statistics
    a technology like batteries is soooo analogue the only thing the iphone have access to is
    the volt level the batt can currently provide

  • How to check the newline character

    Hi,
    I want to check a character whether it is '\n'. I tried with the code,
    <code>
    char nl='\n';
    if(nl=='\n')
         System.out.println("its a newline");
    </code>
    But, the above condition is not checked. How to modify the condition?Thanks in advance.
    bhuvana.

    Remember newline characters differ on different platforms. For example under DOS its \r\n and under UNIX its \n. Thankfully you can retrieve this information using System.getProperty("line.separator");.
    Here is some code
    public class nl
         public static void main(String args[])
              String newLine = System.getProperty("line.separator");
              String dos = "\r\n";
              String unix = "\n";
              if(newLine.equals(dos))
                   System.out.println("dos newline");
              else if(newLine.equals(unix))
                   System.out.println("unix newline");
              else
                   System.out.println("not a newline");
    }I hope this helps!

Maybe you are looking for

  • Changing report order using the break order property

    I am trying to allow the user to pick the order of the report's data. This has lead me to ask the following questions: How can the break order property of a Database Column be set at runtime, specifically in the Before Report program unit??? (changin

  • BtTray.exe error on startup in Windows 8.1

    I receive a BtTray.exe Error, BsSdk.dll missing on startup in Windows 8.0.......... PC is 2 months old and has always done this. Joe_Rock 

  • ACS for 802.1x Authentication using RSA Tokens and Microsoft PEAP

    Has anyone been able to configure 802.1x authentication on Windows XP machines using RSA tokens using Cisco ACS as the RADIUS server? I have come up with bunch of incompatibilities between the offered support e.g. 1. Microsoft PEAP does not support a

  • OUTPUT CONTORL /Type COnfiguration

    Hi, Please guide me step by step, how to configure output control. I have created a z print program for a z print form..which should be triggered from MIGO. I guess I have to create a Z output type also (say ZMGO) ..Please advice how to proceed. Rewa

  • Limit the Oracle query run time using Pro*C

    All, I would like to limit my sql query for say a duration of only 10-15 secs. I do not want to kill the oracle process but send a signal to the C program with some message that " its taking more time" Is there an param which I can use it to limit, w