Expression is expected in ExpenseManagement Tutorial

Hi Anyone,
I'm new with BPM studio.
I found a issue of expression when I was learning the Expense Management Tutorial case. The details in the below:
Defining a Virtual Attribute in Activity 3. In step 9:
# The total attribute is the sum of every item's amount value. To have the total attribute return this value, it must be calculated by adding the amounts of all the items. Remove any existing code (a line with return 0 should be all that you find), and enter the following PBL code into the editor exactly as shown, including capitalization:
amount as Decimal(2)
amount = 0
for each item in items do
amount = amount + item.amount
end
return amount
After I copy these code to the editor in BPM studio, there shows four red error icons and said 'Expression is expected' and 'statement is expected'.. I don't know how to fix this.
Hope anyone can help me to solve this simple issue.
Thanks,
James

Does it likes my BPM studio does not support BPL?

Similar Messages

  • Expression Language - Beyond binding (mini-tutorial)

    Expression Language - Beyond binding (mini-tutorial)
    Creator has a binding logic that is very easy to use. You right click on a component and choose which properties to bind onto your backing beans. Then you manipulate the backing bean property to change the bound property of your component. Or users input information into your app and the component writes through that input to your backing bean. It's cool.
    But sometimes you find yourself binding things to other things and you wonder if this is the simplest way to do things. A classic example is the old "how do I highlight a row of this table based on some datafield?" question. This has been answered by Tor Norbyte and the method works but to me it looks a little disjointed and clumsy.
    The classic solution involves binding your tableColumn's style property to a String type bean. Then inside the bean you write the logic that selectively returns a "background-color:'yellow'" string or something similar (Tor used css). The problem is that within the bean you still need to figure out what is the current row of your table. To do this you need to invoke and EL expression from the Java code which, if you were trying to avoid EL, is circular logic. Worse still, imagine you want to color columns separately.
    Here's an alternative solution using only Expression Language. It's self contained, easy to debug and maintain and once you've taken a look at it is pretty simple.
    Here's the JSP tag that does this:
    <ui:tableColumn binding="#{myHomePage.tableColumn7}"
    headerText="Expired" id="tableColumn7" 
    style="#{currentRow.value['expired']>0?'background-color: red':''}">To make it work I had to manually type the expression in the JSP file. The property editor will work with some EL statements but not all. Sometimes it mangles your EL expression and this can take a bit of debugging. <tip>Use the JSP editor...</tip>
    The bit I had to manually type is this:
    style="#{currentRow.value['expired']>0?'background-color: red':''}"All it does is check if some field in my TableRowGroup called 'expired' is greater than zero and if so highlight the cell. The construction is #{[condition]?[true value]:[false value]}
    You can also mix text and expressions in an EL expression:
    <ui:staticText ....  text="#{SessionBean1.userName}'s Home Page"/>If "Milo" is logged in he'll see "Milo's Home Page" where I placed this static text component.
    Here's an example I've got that's part of a Button tag in my JSP:
    visible="#{currentRow.value['d2.ReplacedBy']!=null}"In this case I don't want users pressing the button if the field is null, so I hide it for rows where the field is null.
    Bean or EL?
    Well strictly speaking it's not either or! In order for a Bean to be bound to a component you need an EL expression! So the question is do you implement you logic in a bean or an EL? Well that's pretty easy -- if the logic is simple and can be expressed in one line then use an EL only. Advantages: less dependencies and Bean properties floating around. If the logic is more complex use a backing bean and simple binding.
    More to explore
    Tor's blog entry:
    http://blogs.sun.com/roller/page/tor/20050113#creator_how_to_highlight_specific
    Winston's Blog entry
    http://blogs.sun.com/roller/page/winston?entry=setting_table_column_style
    [How do I add row numbers to a table?]
    http://forum.sun.com/jive/thread.jspa?threadID=112916&tstart=0
    [How do I use EL to bind to an Object's public property or field?]
    http://forum.sun.com/jive/thread.jspa?threadID=112434&tstart=0
    Addendum 1-Dec-06 Highlighting every 2nd row in a table
    The above thread on how to add row numbers to a table also exposes a pretty simple method to highlight every nth row in a table (a fairly common request)
    Something like this should work:
    <ui:tableColumn ...... style="#{currentRow.tableRow.rowId%2==1?'background-color: yellow':''}">Message was edited by:
    yossarian

    Hi Yossarian,
    Thanks for posting the simple but elegant solution. I liked the solution.
    To make it work I had to manually type the expression in the JSP file.
    The property editor will work with some EL statements but not all.
    Sometimes it mangles your EL expression and this can take a bit of
    debugging.Please file a bug against this at
    http://www.netbeans.org./community/issues.html
    Use visualweb as the sub category.
    Thanks
    - Winston
    http://blogs.sun.com/winston

  • ExpenseManagement Tutorial Error

    Hello Everyone,
    I tried the tutorial (not the Hands-on Lab) with the Expense Management Case. I went through everything and could do just until the screenflow comes up. I could add and embed the screenflow used for input in the process. My variables are just as they must be according to the tutorial.
    But as soon as i want to test it in the sandbox-test engine out of studio it crashes and tells me in the log:
    LOG_ERROR Fehler workspace-1228910301434
    The task could not be successfully executed.
    Reason: 'javax.servlet.ServletException: The task could not be successfully executed.
    Reason: 'java.lang.StackOverflowError'.'.
    Verursacht durch: The task could not be successfully executed.
    Reason: 'java.lang.StackOverflowError'.
    fuego.lang.ComponentExecutionException: The task could not be successfully executed.
    Reason: 'javax.servlet.ServletException: The task could not be successfully executed.
    Reason: 'java.lang.StackOverflowError'.'.
         at fuego.web.execution.InteractiveExecution.setExecutionError(InteractiveExecution.java:307)
         at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:166)
         at fuego.web.execution.impl.WebInteractiveExecution.process(WebInteractiveExecution.java:54)
         at fuego.web.papi.TaskExecutor.processRedirect(TaskExecutor.java:239)
         at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:104)
         at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:117)
         at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:229)
         at fuego.workspace.servlet.BaseServlet.doGet(BaseServlet.java:220)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:83)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:66)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:81)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:293)
         at fuego.web.execution.servlet.ServletExternalContext.forwardInternal(ServletExternalContext.java:197)
         at fuego.web.execution.servlet.ServletExternalContext.processAction(ServletExternalContext.java:110)
         at fuego.workspace.execution.WorkspaceInteractiveExecution.dispatchComponentExecution(WorkspaceInteractiveExecution.java:98)
         at fuego.web.execution.InteractiveExecution.invokePrepare(InteractiveExecution.java:351)
         at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:192)
         at fuego.web.execution.impl.WebInteractiveExecution.process(WebInteractiveExecution.java:54)
         at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:223)
         at fuego.web.papi.TaskExecutor.runApplicationTask(TaskExecutor.java:349)
         at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:95)
         at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:117)
         at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:229)
         at fuego.workspace.servlet.BaseServlet.doGet(BaseServlet.java:220)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:83)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64)
         at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
         at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)
    Caused by: javax.servlet.ServletException: The task could not be successfully executed.
    Reason: 'java.lang.StackOverflowError'.
         at fuego.xobject.runtime.XORuntimeManager.initPresentationComponents(XORuntimeManager.java:241)
         at fuego.xobject.runtime.DataProcessing.initData(DataProcessing.java:38)
         at fuego.xobject.runtime.DataProcessing.process(DataProcessing.java:31)
         at fuego.xobject.runtime.XORuntimeManager.makeXScreen(XORuntimeManager.java:1033)
         at fuego.xobject.runtime.XOExecutionController.input(XOExecutionController.java:291)
         at fuego.xobject.runtime.components.XOInputController.service(XOInputController.java:40)
         at fuego.web.execution.servlet.ServletRedirector$ControllerRedirector.forward(ServletRedirector.java:197)
         at fuego.web.execution.servlet.ServletRedirector.redirect(ServletRedirector.java:58)
         at fuego.web.papi.TaskExecutor.processRedirect(TaskExecutor.java:224)
         ... 101 more
    What can I do to fix it? I'm not as fit in java...
    Thx
    Ivo

    Hi!
    This is probably a JRockit memory problem, the JVM maybe exceeds memory limits.
    In BEA's documentation you can find some info to resolve this: http://edocs.bea.com/jrockit/geninfo/diagnos/crash.html#wp998430
    Regards,
    Thiago

  • Big Difference in Final Cut Express Versions????

    I still own Final Cut Express 2.02 (2004) but never really was able to master it, and went back to iMovie for my editing.
    Now, I'm thinking about making the jump again, but am curious how different Final Cut Express HD or Final Cut Express 4.0 is from the version that I own. (Which by the way doesn't even work on my iMac because it says I don't have a APG Graphics card).
    I guess that's a long way of asking your opinion if the newer versions are better and/or any easier or more user friendly than Final Cut Express 2.0. Also curious what the learning curve is. I really struggled on the 2.0 version.

    Hello Todd,
    The user interface and all of the basic functions including editing, filters, exporting are the same in the later versions of Final Cut Express.
    Later versions than 2.02 added more filters & features including support for HD video (HDV & AVCHD). The one major deletion was SoundTrack was removed from the FCE package when FCE4 was released.
    Beyond features, one of the main considerations is what versions of OSX and QuickTime you are running. With Leopard, you should really be on FCE 4. Since you already have v2.02 you can purchase the upgrade to FCE4 ($99) instead of another copy of the full program.
    With regard to learning FCE, you should get a copy of Tom Wolsky's book Final Cut Express Editing Workshop and his tutorial DVD Final Cut Express Made Easy. They are excellent materials for learning how to use FCE quickly. The book also includes a DVD with sample clips that go with the examples in the book; and he explains the differences between iMovie and FCE, which can be very helpful for someone making that transition.

  • How to create database in express edition

    I have downloaded and installed Oracle10g Express edition. As the tutorial suggests using windows /start/all program/oracle10g Express edition/go to Database home page, I am able to login as well.
    My problem is How can I create a new database in oracle 10g express edition,
    I want learn to create and manage a small database on this software.

    You are aware that XE comes with a "seed db" that is restored during the installation process, right? If you try creating your own database, you'll lose at least the management user interface, since there are no seperate install files for APEX. One could of course try to install the APEX package that is provided for other database versions, although I'm not sure if that would work. Hmmm, there's a thought ...
    C.

  • How to group expressions in EL?

    Hi in jsp when using EL the parenthesis are not allowed for grouping of expressions. I mean
    ${(2+3)-1}
    is not allowed so if i have to group expressions in EL how do i achieve it?
    I wanted to do the following in EL
    ${(a==b && b==c) || (v==r && r==d)}
    so how do i achieve this?

    well like you are posting.
    Examples of EL Expressions - The Java EE 6 Tutorial
    What error do you get when you try?

  • Logic Express 9 Crashes after Snow Leopard Upgrade from Tiger

    I just upgraded from Tiger to Snow Leopard. I have yet to install iLife, though I have it. I have installed Logic Express. Everytime I attempt to pull it up, it crashes with some sort of kern protection failue. Can anyone advise me?

    Hi Cris,
    These might be Obvious and things you have already done... But...
    Since doing the Upgrade... Have you Run Software Update... Repaired Permissions and Restarted...?
    Also how did you Put Logic on... From the Original Install Discs...?
    And, I'm not sure... But Logic Express maybe expecting to see iLife Installed...
    Cheers,

  • Were Expressions available in After Effects 5.0 ?

    Hi all,
    I purchased a slightly newer version of After Effects on the internet... I've been using 4.1 and I have a version 5.0 being delivered in a few days.
    I'm getting this 5.0 version because I found that it was the first version to have the Caustics and Wave World Effects included, but I think someone here also told me that AE 5.0 was the first version to use Expressions... is that correct?... whoopee!... big step!   ;^D
    I'm wondering if the Expressions used in AE 5.0 are the same types of Expressions used in the more current versions of After Effects... I believe the .jsx Expression files are the ones for the current versions of AE.
    Also, I was told on this forum that the script files are different from AE 4.1 in the current versions of After Effects... they are .mm files in version 4.1, but I'm wondering if they are like the more current script file formats in AE 5.0... that is, are they the same type of script files in version 5.0 as the more current versions of After Effects?
    Thanks again,
    digi

    digiday wrote:
    It looks like I have the option to get an inexpensive upgrade to AE 7 for the AE 5 that I just purchased... so I'm wondering about the .jsx Scripts and which version they were first used in.
    Scripting was added with the release of AE 6.0.  Moving to 7.0 is a great step forward, as you'll be using the unified interface that still exists today.  Tutorials and guides will start making a lot more sense to you.
    Here's some of the other features you will gain from the step up to 7.0:
    5.5
    advanced 3D renderer, multiple 3D views, import camera data, colored shadows, projection layers, effects palette, post render actions, advanced lightning, adjustment layer lights, smart mask, looping via expressions, expression controllers,
    6.0
    paint, scripting, text animators, OpenGL support, new motion tracker, Rotobezier, Keylight, Liquify, Scribble, Dust & Scratches, background rendering of RAM Previews
    6.5
    advanced clone tool, presets gallery, grain management, integration of Final Effects plug-ins, Color Finesse bundling, Photoshop & Illustrator layers support, Photoshop text editing, disk caching, Firewire video output, 1/2/4 point motion tracking, interface light/dark controls, motion track with scale, Grain Surgery bundling, AAF & OMF support
    7.0
    new unified window UI, timewarp, graph editor, OpenGL 2.0 support, 32 bpc HDR color, 32-bit audio, Adobe Bridge support, display color management, dynamic link with Premiere Pro, script editor, auto save, Photoshop file creation, smart blur, lens blur, per-character text blurring,
    And also if the same Expressions files are being used now as the ones in AE 5 or AE 7, it would be interesting to find out about too.
    AS Mylenium said, Expressions have changed somewhat since 5.0.  In 5.5 Expression Controllers were added, which made a huge difference to their capabilties. But you need to understand that expressions don't exist in any file format.  They are simply lines of code which are entered manually within the AE interface.  If you want to use an expression you find in a tutorial, you have to copy and paste it into AE. There are no Expression "files".
    There have been a few new bits and pieces added to the Expression's capabilities over the years, but the vast majority of expressions that work today will work in AE 7.0.
    Scripts DO exist as files, but like Expressions have evolved slightly, but not radically, since AE 7.0.  Most Scripts should work without problem for you.

  • Airport express causes router crash

    My air port crashes my wifi network. I am trying to connect the airport wirelessly to my Mac solely for AirPlay. Also, my Mac does not "see" my airport express?  Help, please!,

    When the AirPort Express is configured for AirPlay, it simply "joins" the existing wireless network....just like a computer or any other wireless device would join a wireless network.
    It's hard to imagine how this would cause a network to crash...but I suppose anything is possible.
    Here's what we do not know.....and need to know to provide some help.
    1) What version of the Express that you have?
    Locate the model number on the side of bottom of the Express and post back with that info.  The mode number will start with an "A" followed by four numbers.
    2) What version of operating system your Mac is using?
    Click the Apple icon in the upper left corner of the screen, then click About This Mac to see the OS X Version number.  Post back with that info.
    3) What device is providing your wireless network now?
    Make?  Model Number?
    4) What type of wireless security setting that the current wireless router is using.?
    The Express is expecting a setting of WPA/WPA2 Personal. If your wireless router does not use that type of setting, the Express will not connect.
    With some basic information, we can begin to troubleshoot the problem.

  • IPhone 5s connect to airport express but when I play in iTunes no option to pick airport ?

    iPhone 5s connect to airport express but when I play in iTunes no option to pick airport ?

    If anyone would like to know how to fix this, I discovered the answer.
    I have no idea what IPv6 is and I care not, but apparently now, all of a sudden, Apple makes iTunes talk to Airport Express units using IPv6. However, it didnt bother to make the Airport Express units expect this first, so iTunes can see the Airport Express, but it cant talk to it.
    Anyway, I found that you have to manually go into your Mac settings (scary stuff if you are a non technical person like me) and turn off IPv6.
    To do this, go to "Finder > Go > Utilities > Terminal"
    type
    networksetup -setv6off Wi-Fi  (hit enter)
    Then type
    networksetup -setv6off Ethernet (hit enter)
    and magically your iTunes will talk to your Airport Express units again.
    I presume at some point we will have to undo this as technology moves on and everything uses IPv6, so when that happens go into Terminal again and type
    networksetup -setv6automatic Wi-Fi  (hit enter)
    Then type
    networksetup -setv6automatic (hit enter)
    Thanks Apple for that.

  • Does this network work? AirPort Express connects BT Openzone

    I used to connect my mbp to a third party hotspot - BT Openzone. What I need to do is just chose the wifi connection, open safari and redirect to its login page. After put my user-name and pswd, I'm connected.
    If I do that way, I can't connect my iPhone to mbp's airport by sharing internet, which I could if I'm using ethernet.
    So, I'm thinking that if I can connect AirPort Express to BT Openzone, mbp and iPhone both connect to the AirPort Express? Or perhaps there is another solution?
    Cheers~

    I thought that a wireless extender improved the overall internet speed rather then just extend the network,
    This sounds as if you originally configured the Express to connect using wireless.....and then connected an Ethernet cable to the Express.
    Possible?
    If this was the sequence that was used, as soon as you connect the Ethernet cable to the Express, the network will effectively crash since the Express is expecting a wireless connection and the Ethernet connection creates a huge feedback loop on the network.
    We can fix this, but it will require a new setup.

  • Can't find answer to Query Of Queries runtime error

    Not only I browsed this forum but also googled this problem but unfortunnately I have no luck in finding the answer.
    All I did was writing this simple query:
    <cfquery name="test" dbtype="query">
    select SSN,BirthDate from myquery where SSN <> '' OR BirthDate <> ''
    </cfquery>
    and I got this error:
    Query Of Queries runtime error.
    Comparison exception while executing <>.
    Unsupported Type Comparison Exception: The <> operator does not support comparison between the following types:
    Left hand side expression type = "DOUBLE".
    Right hand side expression type = "STRING".
    I tried the following and did not work either, still got the same error.
    <cfquery name="test" dbtype="query"> 
    select SSN,BirthDate from myquery
    where SSN <> <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value=""/>  
    OR BirthDate <> <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value=""/></cfquery>
    Has someone ever encountered the same problem and know how to solve it?

    HELP ! ! !  Going into testing soon. I need this to work to get correct report results ! ! ! !
    My issue seems similar to the one under discussion and the reply from lawhite01 caught my eye. Can you roll my issue into this discussion?
    This is a 2 parter. The second part is the QoQ part, but the 1st part has a line in the query that is similar to the QoQ one and it uses the same data. Part 1 also throws an error.
    PART # 1.
    I'm trying to use a query table created through QueryNew and then query it.
    I need multiple columns in the query table I create:
    <cfscript>
            tot_AllCurrentDraftListing = QueryNew("AnnounceNum, JP_PDLoc, JP_JS_Title, JP_JS, JP_KW_1, JP_JobTitle, JP_Open, JP_Close, JP_CloseType, JP_CloseName, JP_PosNeed, JP_DirectHire, JP_Desc, JP_Draft, JP_Archived, JP_State, JP_AreaName, JP_AreaID, JP_AreaAlias, JP_Fac_SU, JP_Fac_Facility, JP_FAC_ID, JP_Grade1, JP_sal_low1, JP_sal_high1, JP_Grade2, JP_sal_low2, JP_sal_high2, JP_Grade3, JP_sal_low3, JP_sal_high3, JP_Grade4, JP_sal_low4, JP_sal_high4, JP_Grade5, JP_sal_low5, JP_sal_high5, JP_Posted, JP_TypeHire, JP_HRemail");
        </cfscript>
    Then I populate all the cells of the query table.
    Then I set up to use the created query table.
    I do this first:
        <cfquery name="qAltPostID" datasource="#at_datasource#">
             SELECT AltPoster, fk_Job_AnnounceNum
             from JOB_JPContacts
             Where AltJPContactType = 'AltPosterID'
             and AltPoster = '#session.IHSUID#'
             </cfquery>
    Then, in my first query using the created query, I expect to need to choose from multiple values, so I'm using this line in the query (this is NOT a QoQ query):
                and AnnounceNum IN (<cfqueryparam cfsqltype="CF_SQL_varchar" value="#ValueList(qAltPostID.fk_Job_AnnounceNum)#">)
    I've also tried:
                   and AnnounceNum IN (#ValueList(qAltPostID.fk_Job_AnnounceNum)#)   
    and:
                   and JOB_AnnounceNum IN
                    SELECT fk_Job_AnnounceNum
                    from JOB_JPContacts
                    Where AltJPContactType = 'AltPosterID'
                    and AltPoster = '#session.IHSUID#'
    ERROR is: one record should return. I get 0.
    PART # 2: Here's the QoQ part.
    I get the error:
    Query Of Queries runtime error.
    Comparison exception while executing IN.
    Unsupported Type Comparison Exception: The IN operator does not support comparison between the following types:
    Left hand side expression type = "LONG".
    Right hand side expression type = "STRING".
    A tutorial I found gave an example using only one column for this part of the fix:
         tot_AllCurrentDraftListing = QueryNew("AnnounceNum", "CF_SQL_VARCHAR")
    How would I set up the query with the datatype when I'm using multiple columns:
    <cfscript>
            tot_AllCurrentDraftListing = QueryNew("AnnounceNum, JP_PDLoc, JP_JS_Title, JP_JS, JP_KW_1, JP_JobTitle, JP_Open, JP_Close, JP_CloseType, JP_CloseName, JP_PosNeed, JP_DirectHire, JP_Desc, JP_Draft, JP_Archived, JP_State, JP_AreaName, JP_AreaID, JP_AreaAlias, JP_Fac_SU, JP_Fac_Facility, JP_FAC_ID, JP_Grade1, JP_sal_low1, JP_sal_high1, JP_Grade2, JP_sal_low2, JP_sal_high2, JP_Grade3, JP_sal_low3, JP_sal_high3, JP_Grade4, JP_sal_low4, JP_sal_high4, JP_Grade5, JP_sal_low5, JP_sal_high5, JP_Posted, JP_TypeHire, JP_HRemail");
        </cfscript>
    I used this code after all the cells contained values and before running my QoQ query:
            <cfloop index="intID" from="1" to="#tot_AllCurrentDraftListing.recordcount#" step="1">
                <cfset tot_AllCurrentDraftListing["AnnounceNum"] [intID] = JavaCast("string", intID) />
            </cfloop>
              Is that correct?
    Thanks.
    Whoever can help me with this should be awarded extra points ! ! ! !

  • Application Builder Icon Missing

    Hi,
    I am a newbie. I have brought up apex 4.1.1 on aws RDS Oracle 11g and have logged in as INTERNAL. My problem is I have been searching for Application Builder menu item or icon so i can start building applications but I can't find it.
    I only see Home, Manage Instance, Manage Requests, Manage Workspace, and Monitor Activity.
    kindly advice me on how to get the application builder icon, or do I need to install something else?
    Many thanks

    987830 wrote:
    Hi,
    I am a newbie.Welcome to the forum. Please read the FAQ and forum sticky threads (if you haven't done so already), and update your forum profile with a real handle instead of "987830".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    I have brought up apex 4.1.1 on aws RDS Oracle 11g and have logged in as INTERNAL. My problem is I have been searching for Application Builder menu item or icon so i can start building applications but I can't find it.
    I only see Home, Manage Instance, Manage Requests, Manage Workspace, and Monitor Activity.
    kindly advice me on how to get the application builder icon, or do I need to install something else?You're recommended to complete the <i>2 Day + Application Express Developer's Guide </i> tutorial (if that's not what you're already doing).
    Home, Manage Instance, Manage Requests, Manage Workspace, and Monitor Activity are the administration components in the internal workspace. See the "Setting Up Your Own Local Environment" section for how to create your own workspaces in which you will use the Application Builder.

  • Errors with querying a query table using non-QoQ query and QoQ query

    HELP ! ! !  Going into testing soon. I need this to work to get correct report results ! ! ! !
    My issue seems similar to the one just answered about Query of Queries RunTime Error
    and the reply from lawhite01 caught my eye.
    This is a 2 parter. The second part is the QoQ part, but the 1st part has a line in the query that is similar to the QoQ one and it uses the same data. Part 1 also throws an error.
    PART # 1.
    I'm trying to use a query table created through QueryNew and then query it.
    I need multiple columns in the query table I create:
    <cfscript>
            tot_AllCurrentDraftListing = QueryNew("AnnounceNum, JP_PDLoc, JP_JS_Title, JP_JS, JP_KW_1, JP_JobTitle, JP_Open, JP_Close, JP_CloseType, JP_CloseName, JP_PosNeed, JP_DirectHire, JP_Desc, JP_Draft, JP_Archived, JP_State, JP_AreaName, JP_AreaID, JP_AreaAlias, JP_Fac_SU, JP_Fac_Facility, JP_FAC_ID, JP_Grade1, JP_sal_low1, JP_sal_high1, JP_Grade2, JP_sal_low2, JP_sal_high2, JP_Grade3, JP_sal_low3, JP_sal_high3, JP_Grade4, JP_sal_low4, JP_sal_high4, JP_Grade5, JP_sal_low5, JP_sal_high5, JP_Posted, JP_TypeHire, JP_HRemail");
        </cfscript>
    Then I populate all the cells of the query table.
    Then I set up to use the created query table.
    I do this first:
        <cfquery name="qAltPostID" datasource="#at_datasource#">
             SELECT AltPoster, fk_Job_AnnounceNum
             from JOB_JPContacts
             Where AltJPContactType = 'AltPosterID'
             and AltPoster = '#session.IHSUID#'
             </cfquery>
    Then, in my first query using the created query, I expect to need to choose from multiple values, so I'm using this line in the query (this is NOT a QoQ query):
                and AnnounceNum IN (<cfqueryparam cfsqltype="CF_SQL_varchar" value="#ValueList(qAltPostID.fk_Job_AnnounceNum)#">)
    I've also tried:
                   and AnnounceNum IN (#ValueList(qAltPostID.fk_Job_AnnounceNum)#)   
    and:
                   and JOB_AnnounceNum IN
                    SELECT fk_Job_AnnounceNum
                    from JOB_JPContacts
                    Where AltJPContactType = 'AltPosterID'
                    and AltPoster = '#session.IHSUID#'
    ERROR is: one record should return. I get 0.
    PART # 2: Here's the QoQ part.
    I get the error:
    Query Of Queries runtime error.
    Comparison exception while executing IN.
    Unsupported Type Comparison Exception: The IN operator does not support comparison between the following types:
    Left hand side expression type = "LONG".
    Right hand side expression type = "STRING".
    A tutorial I found gave an example using only one column for this part of the fix:
         tot_AllCurrentDraftListing = QueryNew("AnnounceNum", "CF_SQL_VARCHAR")
    How would I set up the query with the datatype when I'm using multiple columns:
    <cfscript>
            tot_AllCurrentDraftListing = QueryNew("AnnounceNum, JP_PDLoc, JP_JS_Title, JP_JS, JP_KW_1, JP_JobTitle, JP_Open, JP_Close, JP_CloseType, JP_CloseName, JP_PosNeed, JP_DirectHire, JP_Desc, JP_Draft, JP_Archived, JP_State, JP_AreaName, JP_AreaID, JP_AreaAlias, JP_Fac_SU, JP_Fac_Facility, JP_FAC_ID, JP_Grade1, JP_sal_low1, JP_sal_high1, JP_Grade2, JP_sal_low2, JP_sal_high2, JP_Grade3, JP_sal_low3, JP_sal_high3, JP_Grade4, JP_sal_low4, JP_sal_high4, JP_Grade5, JP_sal_low5, JP_sal_high5, JP_Posted, JP_TypeHire, JP_HRemail");
        </cfscript>
    I used this code after all the cells contained values and before running my QoQ query:
            <cfloop index="intID" from="1" to="#tot_AllCurrentDraftListing.recordcount#" step="1">
                <cfset tot_AllCurrentDraftListing["AnnounceNum"] [intID] = JavaCast("string", intID) />
            </cfloop>
              Is that correct?
    Thanks.
    Whoever can help me with this should be awarded extra points ! ! ! !

                and AnnounceNum IN (<cfqueryparam cfsqltype="CF_SQL_varchar" value="#ValueList(qAltPostID.fk_Job_AnnounceNum)#">)
    If you're passing a list as a param, you need to tell <cfqueryparam> it's a list.  Read:
    http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_p-q_18.html#1102474
    ERROR is: one record should return. I get 0.
    It's a bit hard to comment on this sort of thing without knowing the data involved.
    A tutorial I found gave an example using only one column for this part of the fix:     tot_AllCurrentDraftListing = QueryNew("AnnounceNum", "CF_SQL_VARCHAR")
    How would I set up the query with the datatype when I'm using multiple columns:
    Again, this is a matter of reading the relevant docs:
    http://livedocs.adobe.com/coldfusion/8/htmldocs/functions_m-r_19.html#292759
    As a general rule, if you're having trouble with the syntax of a CFML statement, look it up in the docs.
    Adam

  • Looking up data and validating a text field

    Hi All,
    Ran into an issue with a Application Express system i support, there is a table inside a database with department codes. HG and JW. what i need to do is look up the department code and validate a text field, for example, if the user enters "HG" or "JW" then the form can be submitted. i got told it was PLSQL in the "Page Processing" Page
    Sorry for the bad descrpition, im a complete beginner to Application Express
    Thanks,
    Sam

    940648 wrote:
    Hi All, Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "940648".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    Ran into an issue with a Application Express system i support, there is a table inside a database with department codes. HG and JW. what i need to do is look up the department code and validate a text field, for example, if the user enters "HG" or "JW" then the form can be submitted. i got told it was PLSQL in the "Page Processing" Page
    Sorry for the bad descrpition, im a complete beginner to Application ExpressTake the <i>Oracle® Database 2 Day + Application Express Developer's Guide</i> tutorial in order to understand basic APEX techniques and terminology.
    What you're looking for is Validation.
    This is covered in the Oracle By Example tutorial: Building an Application using Oracle Application Express: Part 1

Maybe you are looking for