How to put two conditions (rendered) in a panelGrid

I have two conditions to renderize a panelGrid, how I declare that? I tried to put two rendered but it didn't work. I tried a lot of things, nothing worked.
Here is one of the codes I tried:
<h:panelGrid styleClass="boxForm" columns="1"
rendered = "#{!DHCPMainBean.newParameterDhcp} "
rendered = "#{DHCPMainBean.newGroup}">

Your code throwed the following error:
javax.servlet.ServletException: ServletException in '/network/dhcpMain.jsp': java.lang.String
I tried another forms like this:
<h:panelGrid styleClass="boxForm" columns="1"
rendered= "#{!DHCPMainBean.newParameterDhcp && DHCPMainBean.newGroup} ">throwed this error:
javax.servlet.ServletException: ServletException in '/network/dhcpMain.jsp': /network/dhcpMain.jsp(135,46) The entity name must immediately follow the '&' in the entity reference.
I tried this other:
<h:panelGrid styleClass="boxForm" columns="1"
rendered=
"#{!DHCPMainBean.newParameterDhcp&DHCPMainBean.newGroup;}">But, it didn't work either:
javax.servlet.ServletException: ServletException in '/network/dhcpMain.jsp': /network/dhcpMain.jsp(136,57) The entity "DHCPMainBean.newGroup" was referenced, but not declared.

Similar Messages

  • How to put Two condition at once

    Dear all
    I am combining two file here for the calculation, but the proble is that i have given a condition when colulm 4 of file-1 and column -2 of file are same then make calculation,, 
    But i want put a condition when column 4 of file -1 is identical with column 2 of file-2, and column 3 of file-1 is identical with colum -3 of file2 then make calculation,
    here i ahve attache my programme and files
    Thanks and regards
    Prince
    Attachments:
    test fiel-1.txt ‏99 KB
    test-2.txt ‏2 KB
    test.vi ‏29 KB

    Simply use an "AND" node:
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway

  • How to put two ipods on one computer

    how to put two ipods on one computer

    Set up the second exactly the same way as you set up the first. If iTunes is already installed, it doesn't need to be installed again.
    (64746)

  • HOW TO PUT TWO PANNEL IN THE SAME PAGE

    HI ALL
    I NEED TO KNOW HOW TO PUT TWO PANNEL IN THE SAME PAGE TO FULLY UTILIZE FULL PAGE AREA BECAUSE THE PANNEL WIDTH IS TOO SMALL , SO I WANT TO MAKE THE PAPER CONTAIN TO PANNELS VERTICALLY.
    THANK YOU

    So Barb,
    I like to use multiple desktops and move back and forth between then using gestures. At the moment I have 5 open: Chrome, Firefox, Safari, Photoshop CS 6 and a desktop. I use "gestures" to navigate between them:
    Mac Basics: Multi-Touch gestures - Apple Support
    and I use Mission Control (F3) to move the various desktops around in the order I want them.
    Mac Basics: Mission Control - Apple Support
    So say I'm searching for a photo to open in CS 6, I find it on the open desktop then hit select "open" in CS 6 and go to that folder in the select pane.
    Even right now I'm typing this in Safari and "gesturing" back to Chrome where I did the search about multi touch and mission control. I drag copy the URL there  and gestured back here to paste the URL into this text.
    If you did a lot of photo searches, I set professional clients of mine in Chicago up with dual monitors (In this case you'd have an external monitor on extended desktop.). So all you need to do is just glance over at the second monitor slide your cursor over there open stuff up find your photo and go back to Photoshop and open it up.
    Hope this helps.

  • Using iMovie-does anyone knows how to put two videos side by side in the same screen/

    Using iMovie-Does anyone knows how to put two videos side by side in the same screen?

    See iMovie Help here.
    http://help.apple.com/imovie/mac/10.0/#movb8c659f55

  • How to put two pictures side by side without loosing the size?

    how to put two pictures side by side without loosing the size? I did create a new canvas and double the size but my pictures are smaller in the new canvas please help meeeeeeee!!! my pictures are High13.6 and wide 20.533 with a resolution 240 im working on photoshop cs3 or cs6

    Are you trying to print two pictures on the same sheet of paper?  If so, then use Picture Package in CS3  (it is not part of CS6 unfortunately)
    http://voices.yahoo.com/using-adobe-photoshop-picture-package-great-digital-614329.html

  • How to put two files with the same name into the same folder?

    How can I put two files with the same name and the same extention into the same directory?
    Is this even possible?
    Thanks in advance. 

    Are you sure? I would be very surprised if that was the case.
    How does the computer/filing system differentiate the files, if not by their names?
    How do you tell the computer which one you want? (On the command line.)

  • How to put two mono tracks into the usual stereo view in Edit view of Audition 3 ?

    Hi guys,
    Previously I have had no issues simply using Adobe Audition 3 for simple stereo recording and editing of a stereo feed taken from a mixer... well nearly no issues....  :-)
    Today, I'm having a bad day or else it's because I'm getting used to being retired.. :-)  ......
    Query :    How do I put two mono tracks into the usual stereo view in Edit view so they both display correctly there?
    Put simply I have two mono wav files. Let's call them Left_wav and Right_wav.
    I cannot seem to get them imported into a new clean Edit view (Normal stereo track layout) so that Left_wav is on the top half and Right_wav is on the bottom half.
    Whenever I try, I just get either Left_wav or Right_wav taking up the whole of the edit view. i.e. it just shows one track.
    Can anyone familiar with Audition 3 kindly help? I'd appreciate a simple step by step... I just can't see where I've been going wrong, and it's driving me bananas :-).
    Thanks

    There are various ways to do this in Audition 3. here's one.
    Open both mono files separately in Edit view. Then convert Left_wav to Stereo by going to Edit/Convert Sample Type and under Channels select Stereo with Left Mix at 100% and Right Mix at 0%. This will give you a new stereo file with Left_wav on the top channel. Next go to the Right_wav and copy to the clipboard using Edit/Copy. Return to your new stereo file and enable Edit Right channel only in Edit/Edit Channel/Edit Right Channel. Then make sure that the cursor is at start of the stereo file and Paste Right_wav into the bottom channel of the new stereo file. Finally Save As.

  • How to combine two conditions :  Exists and Item not null ?

    Hello !
    I have a flash chart region that I would like to display only if two conditions are both true.
    The first condition is this one :
    Exists (SQL query returns at least one row) :
    select 1
    from    observatoire.fiche aa, observatoire.activite_faite bb
    where   aa.fiche_id = bb.fiche_id
    and     bb.fiche_id = aa.fiche_id
    AND     bb.activites_id = TO_NUMBER(:P23_ACTIVITES_ID)
    AND     TRUNC(aa.date_activite, 'YYYY') = TRUNC(TO_DATE(:P23_ANNEE, 'YYYY'), 'YYYY')And the second condition would be :
    Item not null :
    P23_ACTIVITES_IDHow to combine these two conditions into one display condition ?
    Thank you .
    Christian

    Hello,
    The issue is that you're doing -
    TO_NUMBER(:P23_ACTIVITES_ID)When you leave the Null return value blank like that, you'll typically see '%null%' used in session state (i.e. it's not actually null). Obviously '%null%' can't be converted to a number, hence the error you're seeing.
    A simple solution would be to make your null return value -1 or some other value that is guaranteed not to be a valid id (and alternative is to convert the %null% to a real null via an App/Page process etc (if you search this forum you'll find a few examples on how to do that). Another alternative is to use a DECODE to detect the '%null%' etc.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • How to set two Conditions Simultaneously in set where clause

    Hi,
    I have a messgechoice item , and i need to fire messagechoice VO with two conditions.
    For Eg:-- we have three Items ProjectContractor& Work Order on a custom Page , now i need work order list should populate on lelection of project & contractor both, so i have apply a fire partial event on contractor where i i get the parameter values as follows:--
    CO Code
    if("OrderNoself".equals(event))
    String value21 = (String)pageContext.getParameter("ProjectName");
    System.out.println("The Selected Project Name for self Contractor is "+value21);
    String value22 = (String)pageContext.getParameter("ContractorName");
    System.out.println("The SelectedContractor Name for ContractorName is "+value22);
    Serializable [] params11 = {value21,value22} ;
    am.invokeMethod("initWorkOrderNumberself",params11);
    AM Code
    public void initWorkOrderNumberself(String ProjectName,String ContractorName");
    getDprWorkOrderpopVO1().setWhereClause("PROJECT_NAME = " + "'"+ProjectName+"'");
    getDprWorkOrderpopVO1().setWhereClause("CONTRACTOR_NAME = " + "'"+ContractorName+"'");
    getDprWorkOrderpopVO1().executeQuery();
    Now when i run my form then Work order list only populateon set conditions ofContractor NAme only.
    Please suggest....

    Hi Tarun,
    Thanx for ur reply,
    i have used below mwntioned code provided by you but still i m getting error...
    public void initWorkOrderNumber(String ProjectName,String ContractorName)
    //getDprWorkOrderpopVO1().setWhereClause("CONTRACTOR_NAME = " + "'"+ContractorName+"'");
    //getDprWorkOrderpopVO1().executeQuery();
    getDprWorkOrderpopVO1().setWhereClause("PROJECT_NAME =:1 AND CONTRACTOR_NAME=:2");
    getDprWorkOrderpopVO1().setWhereClauseParams(null);
    getDprWorkOrderpopVO1().setWhereClauseParam(1,ProjectName);
    getDprWorkOrderpopVO1().setWhereClauseParam(2,ContractorName);
    getDprWorkOrderpopVO1().executeQuery();
    ERROR:---
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (select * from omaxe_work_order_headers
    where work_order_number is not null) QRSLT WHERE (PROJECT_NAME =:1 AND CONTRACTOR_NAME=:2)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:985)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:210)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:721)
         at omaxe.oracle.apps.xxopa.boqmain.webui.OmaxeDPRCO.processFormRequest(OmaxeDPRCO.java:107)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01006: bind variable does not exist
    Regards
    Saurabh

  • How to put this condition in Query

    Dear experts,
    I have a scenario where in the calculation should be dynamic between key figures in query
    For example i have a
    Target Cost and Actualcost1, Actualcost2, Actualcost3
    i need to findout the variance between the Target and Actual
    but the catch is that i need to findout the variance with the latest actual cost
    1. )  Target cost = 100
    Actual cost1=10, Acutal cost2=0, actual cost3=0
    then the formula should be Actual cost1-target cost
    2. )But if
    Target cost  =100
    Actual cost1=10, Actual cost2=5, Actual cost3=0
    then the formula should be Actual cost2- Target cost
    3. Target cost =100
    Actual cost1=10, Actual cost2 = 5, Actual cost3= 15
    then the formula should be Actual Cost3-Target cost
    How to achieve this
    Thanks and regards
    Neel

    Hi Neel,
    Do you have indicator saying that a particular actual cost is the latest? If you have any indicator thsi would make the job easy. Else you need to create new formulas to derive the logic.
    Else you can proceed with the belwo logic.
    1.target cost
    2. Actual Costs 1 - Hide
    3. Actual Costs 2 - Hide
    4. Actual Costs 3 - Hide
    5. New formula whcih evaluates the latest.
    Write the condition
    If Actual costs3 = 0 and actual cost2 = 0 then actual cost1.
    else if actual cost2= 0 then actual cost1
    else if actual cost1 NE 0 and actual cost2 NE 0 then Actual cost3.
    Then hide the above new formula.
    And in a new formula you can find the diff between the Target cost and the latest cost derived in teh above new formula.
    If the conditions is too big in the above new formula, you can split across two three new formulas and derive the logic.
    Just make some changes to the above logic if it is not 100%.
    I believe this logic will work.

  • How to put if condition by using visual studio 2012 for project server 2013 worflow

    Hi,
     If Project Data:Funding Required equals Yes
        Go to s2- Lead Approval
    Else
        Go to End of Workflow
     above condition is used it in sharepoint designer. I want same condition used in visual studio 2012.
    Please help me how to get fields of project server in visual studio 2012.
    Thanks in Advance in helping us.
    Thank you
    Vinay

    Hi Vinay,
    I can't help you for the code, but the IF THEN ELSE statement is pretty well documented in the article below:
    http://msdn.microsoft.com/en-us/library/752y8abs.aspx
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • How to put two devices on one Data plan?

    I've had my phon with a 2gb Data plan for about a year and just recently bought a Jetpack with a 6gb Data plan to replace my original and be shared between the two.
    A month later I get my bill and find im still being charged for both. I kind of expect this seeing as I didn't buy the new plan when my original bill was scheduled for payment.
    Two months after, Im still paying for both. And what's worse, Im being overcharged with my phone Data plan because I had thought I had more Data to use.
    I've tried going back to the retailer, but the just directed me to contact Verizon. I've made very many attempts to contact Verizon, to no avail. Whether it be through calling, Chat, forums, anything. I can't find any direct email for customer support. I am angry and very unhappy with the service. 
    Any suggestions on either getting in contact with Verizon (my available calling hours never seem to match up with theirs) or fixing it myself if possible. Thank you.

    If you're on the old Nationwide plans data between devices can not be shared. You need to be on Share Everything to share Data. Of course if you didn't become a Verizon customer until after June 28th 2012 you SHOULD be on Share Everything.
    For the record a Share Everything plan with a smartphone a jetpack and 8 GB of data would be $150 plus taxes/fees

  • HT1473 Please help!How to put two iTunes accounts on the same computer?

    I have an Ipod and my mum has an IPhone. The songs from my IPod are backed up on my computer and we would like to have different music, but both backed up on the same computer. How do i do this without erasing all the music etc that is already on my mums phone?

    Launch iTunes with the Shift key held down, create a new library, and import her song files to it. Alternatively, create a new user account on the computer, move the song files to a shared area, and then import them.
    (104363)

  • How to Put two icons together in a result field in ABAP

    Hi All,
    I have a results column in a report which basically show if the delievery was made on time/late/early. I also have a another column which shows icons as below.
    On Time: ICON_LED_GREEN.
    Late:     : ICON_LED_RED.
    Now what I am trying to do is in the same column I want to have 2 Icons. example i want to merge the following icons together,
    ICON_LED_RED & ICON_LESS_RED in the field.
    Is this possible? if so how
    Thanks

    why you need to merge both the lights in a column when there is no need to have  thse lights in ur column you just have to use them in your write statement.
    loop at i_final.
    if i_final-filed1 = 'early' or
       i_final-filed1 = 'timely' .
    write:/10 icons_led_green, 20 i_final-filed1.
    else.
    write:/10 icons_led_red, 20 i_final-filed1.
    endif.
    endloop.

Maybe you are looking for

  • Can't execute OS-level command from java stored proc

    I've written a couple simple java stored procs, the first of which writes an file and the second attempts a chown on it. I can write the file (which is written as the oracle user) just fine. I need to chown it, but can't. Here's the first proc: publi

  • Weird character being generated by contact form (link to image attached)

    Has anyone ever seen this? It looks like an ASCII image of a Rolodex contact insert. The person receiving the contact form results has just sent this to me. It can be seen at: http://www.emurtagh.com/rolodex_image.htm Any help would be great. Thanks.

  • CS5 Extended:Importing 3D Models queries

    Hi, I just spent some time having fun  playing with 3d in CS5 for the last 4 weeks.  The 3D does offer a new exciting aspect to PS however I have come across some issues while experimenting with importing models. I'm a experienced PS user  but new to

  • Lightroom for Photoshop CS3

    I have Photoshop CS3.  I bought a Nikon D800.  I cannot download RAW photos from the camera.  I previously had no such problem with the Nikon D700 and RAW.  I was told to buy Lightroom.  I did - Lightroom 4.  When it arrived I saw that I had purchase

  • Z835 What order do I install the drivers?

    I want to do a clean install and I want to be in control what drivers I install, but I need some guideance in what order I should install the different drivers for every thing to work optimal. thanks Z835-P360