generator expressions multiple Variables GET conditional region.

Hi all

I hope someone can help (If master Günter Schenk thank your far in advance).

I am at a loss with the selection of multiple variables for a conditional region IF.

If there is a simple way for a person to give an example that would be great or please read below on what I am tring to do.

What I need to do

I have 2 images (1 is a button) with the command of one submission form, the other is just a message already sent to this user.

When the form send it gets a unique result of generated URL for each of the presentations that I have to check agaist the IF conditional.

So, if already present it button does not appear but the other saying you already sent message.

The IF conditional is checked agaist a recordset using two of the main values of the URL that are VenueID and VFSENQI, but not checking the RandomEnquirySent.

If the Recordset object checks the first 2 variables, which then produces the info to check the URL.

Or another way to do this would be to check the

Info

Expression 1: <? PHP @$ row_rsCKEnqSent ['RandomEnquirySent']? > or @$ row_rsCKEnqSent ['RandomEnquirySent']

That is the result of the database recordset based on below the URL that is submitted by a form.

{GET. VFSRAND} IDENQ {SESSION. VFSENQID} IDVEN {GET. VenueID}

Expression 2: be->

<? PHP echo $_GET ['VFSRAND'];? > & IDENQ <? PHP echo $_GET ['VFSENQID'];? > & IDVEN <? PHP @$ _GET ['VenueID']? >

or

[@$ _GET ['VFSRAND'] & IDENQ@$_GET['VFSENQID'] & IDVEN@$_GET['VenueID "]"

This is the URL paramiter sent to the database of unique to the message references.

<? PHP echo $_GET ['VFSRAND'];? > & IDENQ <? PHP echo $_GET ['VFSENQID'];? > & IDVEN <? PHP @$ _GET ['VenueID']? >

It is also the second part of the expression that should be removed from the URL & or a Session.

Finishing

So, if I know how to get the IF conditional to remove information from the URL to check the result recordset agast <? PHP @$ row_rsCKEnqSent ['RandomEnquirySent']? > I'd be a very happy man.

Please let me know either or to see if it can or cannot be done I would be very grateful.

Kind regards

Joseph

Another is important to keep in mind: What mix static strings (e.g. IDENQ) with dynamic values (e.g. $_GET ['VFSRAND']) inside the 'if' of a conditional region, the final result should be considered as a single string and must therefore be incorporated like the following, what - else - what is called "concatenation":

method 1)

$cond_combined = $_GET ['variable_1']. "" IDENQ ". $_GET ["variable_2"]. "" IDVEN ". $_GET ["variable_3"];

method 2)

$cond_combined = "{$_GET ['variable_1']} IDENQ {$_GET ['variable_2']} IDVEN {$_GET ['variable_3']}";

Both methods work in the same way, the only difference from Dreamweaver, method 2 loses the colorization of PHP syntax for dynamic values that are wrapped in curly braces. Well, I´d personally consider cela a bug actually, but who am I to say ;-)

However, I ve been playing with your stuff a bit using DW/uninstall. Please take a look at the attached screenshots and try to understand what I was doing and - in particular - * why * I did what I did

See you soon,.

Günter

Tags: Dreamweaver

Similar Questions

  • Conditional regions

    Hi all

    I have a transaction hidden on a page with conditional regions.

    Transaction types are 1,2,6,7 (new hire, transfer-ex, rehire, reemployee).
    The employee types are 1,2,3 (Regular, contractor, Temp).
    If I use the conditional display (item = value); Exp1 = P110_hidden_transaction; EXP2 = 1 (transaction_type), I get the good region to show (New rental, transfer,...).

    But if I try to use exp1 = P110_hidden_transaction; EXP2 = IN (1,2,6,7). I don't see any of any region. I tried many variations.

    I go about it properly?

    Hi Gina,

    Not quite. You can either use the Condition Type "Value of element in the Expression 1 is contained in the colon delimited list in the Expression 2" and use {make: Courier} P110_hidden_transaction {font} and {make: Courier} 1:2:6:7 {font} as your two fields, or you can just use the condition type "SQL Expression" and put {make: Courier}: IN P110_hidden_transation (1,2,6,7) {font} in Expression 1.

    TX, Jen-

  • links should stay in the same place when the other links disappear because of conditional regions

    I created a Recordset paging. paging consists of three links: previous, today, following.

    I also have conditional regions for the previous links and next, so that they disappear under certain conditions.

    Assume that the links are the words arranged like that in the upper left corner of the Web site:

    previous today next

    Thus, when a certain condition is met, and the previous link disappears, the other two links moving to the left. and that's what I find disturbing.

    How can I make the link disappears, but its place is replaced by blank spaces or something like that to keep the other links to the same place?

    .. .not sure if have put enough clear ^^

    Thanks for the help :)!

    MurraySummers wrote:

    What method do you use to the conditions?

    These three links are really just a menu short list of "chips" without the bullets. If you style this menu with a width explicitly to the

  • elements, and if the conditions cause the content of the list items to be written or not written on the screen, I think that you will reach your goal. This would allow you to have-

    previous | today | next
                  | today | next
    previous | today |
    

    Or other combinations these three meaningless...

    (EDIT - well spacing is off, but you get the idea!)

  • Well, I guess you can set it up like that.

  • < a="" href="previous.html">Previous

  • < a="" href="today.html">Today

  • < a="" href="next.html">Next

  • Generator expressions JDeveloper BPEL: getFaultAsString() not found

    -------------------------------------
    Problem:
    -------------------------------------
    In the dialogue of the generator Expression JDeveloper BPEL (Assign activity), I see only 4 functions under the menu "advanced functions".
    1 created-nodeset-xxxx
    2. generate guid
    3. search-xml
    4 parseXML.

    I expect functions such as getFaultAsString() to be there. No I can't get the error string. Can you please help?

    -------------------------------------
    Version information:
    -------------------------------------
    Oracle Developer J: Studio Edition Version 11.1.1.3.0
    Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660


    11.1.1.56.60 ADF business components
    BPMN Editor 11.1.1.3.0.6.84
    Java (TM) Platform 1.6.0_18
    Oracle IDE 11.1.1.3.37.56.60
    SOA Composite Editor 11.1.1.3.0.25.57
    Support versioning 11.1.1.3.37.56.60


    Thanks in advance!

    Hello

    You can put the function directly: ora: getFaultAsString()

    Ora type: get and press Ctrl-space - this will open all possible functions.

    Arik

  • [Quebec] How to express the variable in this example?

    I want to know how to express this variable in this example in the red part

    / * Variable * /.
    $old = ['old'] $row_rs_archive;
    $new = $row_rs_archive ['new'];
    $total = old + $nouveau;
    echo $total;

    If (array_key_exists ('must', $_POST)) {}
    $done = mysql_query ("UPDATE cur_total SET temp = $total'") or die (mysql_error ());
    }

    works fine echo and enter the value total, but in the UPDATE command, it does not.

    I get this error

    1500 unknown column '$total' in 'field list '.

    notice of 1500 just echo $total

    Thank you...

    I took a quick glance, but I suspect it's because you use single quotes for the query string. PHP will not analyze the variables in single quotes, and he will treat it as a literal string.

    Try this:

    $done = mysql_query ("set a DAY cur_total SET temp = $total") or die (mysql_error ());

    If that is not quite get you there, try rather concatenation.

  • Verification of empty tags using generator expressions for XPATH

    I create multiple filters in a mediator for several parallel tracks. I am trying to move the Ombudsman towards the right adapter DB according to what tags are empty in the incoming XML file. The XML has a required tag 1 and 3 in option. Then for the expression, I use the generator expressions for loading the tag name, and then put either [text()] or [not (text ())] immediately after each tag with one 'and' the 3 optional elements in between. The problem I have is that they always return false. By example, if I enter a value for an optional tag and put [text()] after him, it is false. What is the correct way to check if an element has text or not?

    Thanks in advance!

    Hello
    Its not to recognize the func getVariableData... try instead this:
    string-length (XPath) > 0
    ex: string-length($in.body/imp1:manoj/imp1:C1) > 0

    It works... Deployment of happy :)

  • I get a region code error when I try to play a new DVD

    I just bought a new DVD of the store, and I get a region code error message.  Laptop computer wants me to change the region code before I can read the DVD.

    Regardless of your operating system go to Device Manager, go to the CD/DVD drives, click the sign more or pointer, right click on the line that appears and click Properties, then go to the region of the DVD tab.

    Now, you have the choice to make, you will see changes remaining X, the value must be 4 if it has not been changed before, if you change you will need to change it back - 3-2, if you get to 0, you're stuck in this region!

    If the specified region is yours then I would take the rear DVD, if the region is other than your, you have the choice above then you must indicate other PC users.

  • When you send an e-mail using Outlook Express, I immediately get this message; "Some errors occurred while processing the requested tasks. Please see the list of errors below for more details"

    When you send an e-mail using Outlook Express, I immediately get this message; "Some errors occurred while processing the requested tasks. Please see the list of errors below for more details". Unfortunately, there are no errors listed below and the green bar is frozen on the screen. The message remains in my Outbox and repeated again and again sending. There is absolutely no record and file sent in my sent box. TIA - Ernie

    You have apparent dbx file corruption. A common problem.
     
    Spend most of your messages out of the Inbox and then create new folders to send and sent items box after having moved the messages you want to save to a local folder that you create.
     
    Tools | Options | Maintenance | Store folder will reveal the location of your Outlook Express files. Note the location and navigate on it in Explorer Windows or, copy and paste in start | Run.
     
    In Windows XP, Win2K & Win2K3 the OE user files (DBX and WAB) are by default marked as hidden. To view these files in Windows Explorer, you must enable Show hidden files and folders under start | Control Panel | Folder Options icon | Opinion, or in Windows Explorer. Tools | Folder options | View.
     
    With OE closed, find the DBX files for the items in the Outbox and sent and delete them.  New ones will be created automatically when you open OE.
     
    After you're done, followed by compacting your folders manually while working * off * and do it often.
     
    Click Outlook Express at the top of the the folder tree so no folders are open. Then: File | Work offline (or double-click on work online in the status bar). File | Folder | Compact all folders. Don't touch anything until the compacting is completed.
     
    General precautions for Outlook Express:
     
    Do not archive mail in the receipt or sent items box. Create your own user-defined folders and move messages you want to put in them. Empty the deleted items folder daily. Although the dbx files have a theoretical capacity of 2 GB, I recommend all a 300 MB max for less risk of corruption.
     
    Information on the maximum size of the .dbx files that are used by Outlook Express:
    http://support.Microsoft.com/?kbid=903095
     
    Disable analysis in your e-mail anti-virus program. It is a redundant layer of protection that devours the CPUs, slows down sending and receiving and causes a multitude of problems such as time-outs, account setting changes and has even been responsible for the loss of messages. Your up-to-date A / V program will continue to protect you sufficiently. For more information, see:
    http://www.oehelp.com/OETips.aspx#3 
     
    Why you don't need your anti-virus to scan your email
    http://thundercloud.NET/infoave/tutorials/email-scanning/index.htm
     
    Note that for some AV programs, it may be necessary to uninstall the program and reinstall in custom Mode and uncheck analysis when the option is the result of e-mail messages.
     
    Compact often as specified above.
     
    And backup often.
     
    Outlook Express Quick Backup (OEQB Freeware)
    http://www.oehelp.com/OEBackup/default.aspx 
  • When I click on Outlook Express, all I get is the blue 'title field' then the hourglass and it won't go any further than that.

    When I click on Outlook Express, all I get is the blue 'title field' then the hourglass and it won't go any further than that.  The blue box stays there indefinitely, and all other functions on my PC just slowing down.  Any ideas please?

    original title: Outlook express open used

    Glad you got it work & you are the very welcome, but some tips to follow in order to avoid this in the future, if you don't mind.

    Do not archive mail in the receipt or sent items box. Create your own user-defined folders and move messages you want to put in them. Empty the deleted items folder daily. Although the dbx files have a theoretical capacity of 2 GB, I recommend all a 300 MB max for less risk of corruption.

    Information on the maximum size of the .dbx files that are used by Outlook Express:
    http://support.Microsoft.com/?kbid=903095

    After you're done, followed by compacting your folders manually while working * off * and do it often.

    Click Outlook Express at the top of the the folder tree so no folders are open. Then: File | Work offline (or double-click on work online in the status bar). File | Folder | Compact all folders. Don't touch anything until the compacting is completed.

    Disable analysis in your e-mail anti-virus program. It is a redundant layer of protection that devours the processors and causes a multitude of problems such as time-outs and account setting changes. Your up-to-date A / V program will continue to protect you sufficiently. For more information, see:
    http://www.oehelp.com/OETips.aspx#3

    And backup often.

    Outlook Express Quick Backup (OEQB Freeware)
    http://www.oehelp.com/OEBackup/default.aspx

  • I do not use outlook express and still get msg, oe can compact the message. How to stop

    I do not use outlook express and still get msg, oe can compact the message.  How do I prevent this every time that I turn on computer to come.

    You must tell Windows Search to stop indexing OE.

    In the control panel. Indexing Options. Change. Clear the check box for Outlook Express.

    If you see the prompt again, let the compact once to reset the counter and it should be.

  • When I sign in outlook express email, im getting a blank white page, im cannot read emails as his Blanck

    When I sign in outlook express email, im getting a blank white page, im cannot read emails as his Blanck

    Outlook Express was last used in XP and it is a Windows 7 forum.
     
     
    Help for Outlook.com is located in this forum
    http://answers.Microsoft.com/en-us/windowslive/Forum/mail?tab=all
     
    Help for Microsoft Office Outlook is in these forums.
    http://answers.Microsoft.com/en-us/Office/Forum/Outlook?tab=all 
     
  • Conditional region with functions, does not

    Oracle EBS Bi Publisher standard (customer statement) report, using speaking

    I am creating a conditional region with no luck.

    <? substr (INVOICE_NUMBER, 1, 1) xdofx:If. decode (AMOUNT_DUE, ", 'NOPRINT', AMOUNT_DUE)! = "3NOPRINT"? >

    I created a field using all this substr (INVOICE_NUMBER, 1, 1) | Decode(AMOUNT_DUE,'','NOPRINT',AMOUNT_DUE) to confirm that the value is 3NOPRINT, but again the lines appear.

    Any ideas?

    Thank you

    -j

    You can try the code below

  • Bug report? The conditional regions affect the provision of grid

    Hello

    I had a few parts on my page, the 2nd has not started a new line, if it appeared horizontally when it is possible.

    In some experiments, I created a new region with a sequence between the new line started, but even when this region was under condition ever, my 2nd home region started on the new line.
    Origin:
    region 1 - region 2
    (empty) - region 3 (no new rows/columns) >
    New added region:
    region 1
    region 1.5 (added, new line)
    Region 2
    Region 3 >
    Region of 1.5 not shown:
    region 1
    region 2
    Region 3 >

    I would like to know if you would like a test case for a better visualization.

    Scott

    Hi Scott,.

    It is by design. The critical attributes as start the new grid, start the new line, start new column of a conditional component will always be used to have the independent grid if the component itself is rendered.

    Just assume that you have a conditional region that begins a new grid, the positioning of the following areas would be difficult to control by a developer, because if a new grid starts or not, depending on the layout page/positioning would be completely different. To make a long story short, it is the intendant behavior to have a predictable pattern.

    Concerning
    Patrick
    -----------
    Member of the APEX development team
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Conditional region - Advanced Edit tab

    I'm looking for include the XML of the Advanced tab. a conditional region have already filled the tab of properties with a condition, I want to add another. What is the context of the code I have to write? I've looked everywhere without success.

    Currently my Advanced tab shows:
    <? If: number (CompanyCode_ID) = 1? > result: see the "phone number".

    Example of what I'm trying to do:
    <? If: number (CompanyCode_ID) = 1? > AND / + <? If: number (Rep_ID) 010 <>? > need of these will cause: see the "phone number".

    Example of use - http://i50.tinypic.com/17tkpl.png
    Maybe you incorrectly set XPath to your XML tags? Try to use

    or better define it with absolute paths

  • Generate reports based on two conditions

    Dear all,
    I generate reports based on satisfactory conditions in two columns in a table.

    For example.
    I have a table test1 with columns A, B, C, D, E
    Now, I want to create reports based on the research of two columns A and b. What is the preferred method to do?

    Thanks in advance.

    What is the preferred method to do?

    Write the appropriate query:

    select a,b,c,d,e
    from test1
    where a = 
    and b = 
    

    In reports, the State may be a user input parameter:

    select a,b,c,d,e
    from test1
    where a = :parameter1
    and b = :parameter2
    

Maybe you are looking for

  • How to delete multiple addresses?

    How to delete multiple messages at once?

  • What is 'supply mosquito' and why it reload automatically to my list of Add-ons every time that I reboot

    There is a good bit of wisdom in the old expression, "if it ain't broke, don't fix it." You could reduce the number of updates at least 50% if you would just fix things which ARE 'broken', and, whenever you update FF, it causes another set of problem

  • Vista asks me to remove

    Whenever I try to open a file in vista, a dialog box appears asking you if I want to remove it. I tried to use avast boot time scan to eliminate the problem, but nothing seems to work. I would like suggestions. Thank you

  • Windows Live Mail problems

    I have Windows Live Mail 2011 with system opus W-7.  Recently I started having problems.  Sometimes it opens or not if I closed it, it won't open again until I restart the computer.  Other problems it will be open, but no msg appears.  Guard saying "

  • Construction of error with the sqlite3 library

    A project is built without any problem until I have add the sqlite3 library with which I get the following compilation error: /bbndk-2.0.0/target/QNX6/armle-v7/usr/lib/libsqlite3.so: reference to "decompress" undefinedCC: /mnt/Projects/PlayBook/bbndk