Problem with Forte Express, on priorities of the ORDERBYconstraints .

In my businessModel I've got 2 Tables :
Table MACHINE : - MACHINE_ID, MACHINE_NAME, MACHINE_BRAND, MACHINE_MODEL,
USERS_ID (which is a foreign key of the table USERS.)
Table ACTIVITY : - ACTIVITY_ID, ACTIVITY_NAME.
In my applicationModel I've got a businessClass : MACHINE -> OutlineField.
In this Outlinefield, I display : MACHINE_NAME, MACHINE_BRAND,
MACHINE_MODEL, ACTIVITY_NAME (Which is a joint with the table ACTIVITY, made
by
Express).
So, the MACHINEQuery contains 6 constants : ATTR_MACHINE_ID,
ATTR_MACHINE_NAME, ATTR_MACHINE_BRAND, ATTR_MACHINE_MODEL, ATTR_USERS_ID,
ATTR_ACTIVITY
With your help, last time I've been able to order data by every kinds of
field.
But, when I put several ORDERBY restrictions in the restricUserSearch(),the
priority is not respected any more.
Here I want to order data first by ACTIVITY and then by MACHINE_NAME.
So I've writen this code :
in the RestrictUserSearch(searchCriteria:BusinessQuery) event of MACHINE :
/* ******** Here I Order MACHINE DATA by activity *********************** */
myActivityQ : ACTIVITYQuery = new() ;
myActivityQ.AddConstraint(
attr = ACTIVITYQuery.ATTR_ACTIVITY_NAME,
operation = ConstraintOperation.OP_ORDERBY);
//Set fields to retrieve from USERS table
myActivityQ.AddAttr(attr = ACTIVITYQuery.ATTR_ACTIVITY_NAME ) ;
searchCriteria.AddAttr(
attr = MACHINEQuery.ATTR_ACTIVITY
query = myUsersQ);
/* ******** Here I order MACHINE by MACHINE_NAME *********************** */
searchCriteria.AddConstraint(
attr = MACHINEQuery.ATTR_MACHINE_NAME,
operation = ConstraintOperation.OP_ORDERBY);
The result of this code is that DATA are ordered only by MACHINE_NAME. I
don't understand why .
Any suggestions would be greatly appreciated,
Thanks for your help. :o)
Sébastien MARIE
E-MAIL : [email protected]
TEL : 04.93.95.40.62

I suppose you don't use qualified parameters.
http://download-uk.oracle.com/docs/cd/B14099_13/portal.1014/b14135/pdg_java_adv.htm#CBBGHHDC
7.2.3.3.2 URL Parameters
"The portlet developer must ensure that the portlet:
properly qualifies its own parameters when they are built into links and forms.
leaves unchanged any parameters that do not belong to it.
The following API call transforms an unqualified parameter name into a qualified parameter name:
HttpPortletRendererUtil.portletParameter(HttpServletRequest request, String param);
HttpPortletRendererUtil is in the package oracle.portal.provider.v2.render.http.
For example:
qualParamQ = HttpPortletRendererUtil.portletParameter(r, "q");
To fetch the value of a portlet parameter from the incoming request, you can use the following API:
Note:
The API converts the parameter name into the qualified parameter name before fetching the value from the incoming request. Hence, you need not perform this step.
PortletRenderRequest.getQualifiedParameter(String name)"

Similar Messages

  • DDE with Forte/Express

    Subject: DDE with Forte/Express 7/28/97 1:01 PM
    Has anyone tried feeding data into Forte via an external system? The manual has a few pages containing command etc but I would like to find some actual code/examples. We are looking into feeding data from perhaps Reuter into Forte. At this point I am not familiar with DDE nor Reuter. Is there somebody who have experience in this? How much work is involved and can you send me any examples or documentations?
    Internet: [email protected]

    I had a problem similar to this trying to install Express 1.0.c. with Forte
    2.f installed. I had to reinstall E2 and then install Express and then
    reinstall 2F
    It appears to be working now.
    Chris Capadouca,
    Forte First Strike Team
    SHL Systemhouse Inc
    [email protected]
    From: Garry Fong[SMTP:[email protected]]
    Sent: Wednesday, March 26, 1997 11:03 AM
    To: [email protected]
    Subject: Forte express installation
    RE: Forte express v. 1.0.c.2
    Does anyone would give a hand regarding Forte express installation?
    I encount a problem where the setup.exe always returns a message
    --"...Unable to find forte directory, installation is unable to
    continue..",
    despite the fact that I have had a up-and-running versin of Forte.
    In the warming message, it also mentions that they need version of
    2.0.E.2. I only have Forte system software v2.0.F.2. Does it matter? Is it
    because I have a latter version of the software which makes Forte
    express unable to detect?
    Many thks!
    Garry
    [email protected]

  • Probleme with PCI Express Root Complex

    I bought an hp 15t - j100 with Windows 8.1 but on windows 8.1 but i needed change to windows 8 and now i have a problem with PCI Express Root Complex code 28. The drives i have donwload for hp site http://h10025.www1.hp.com/ewfrf/wc/softwareCategor​y?os=4158&lc=en&cc=us&dlc=en&sw_lang=&product=6521​...
    I need help to solve that problem
    thanks
    and i waiting for help
    This question was solved.
    View Solution.

    Hi:
    You need this driver...
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloa​dIndex?softwareitem=ob-124661-1&cc=us&dlc=en&lc=en​...

  • Problem with Regular Expression

    Hi There!!
    I have a problem with regular expression. I want to validate that one word and second word are same. For that I have written a regex
    Pattern p=Pattern.compile("([a-z][a-zA-Z]*)\\s\1");
    Matcher m=p.matcher("nikhil nikhil");
    boolean t=m.matches();
    if (t)
              System.out.println("There is a match");
         else
              System.out.println("There is no match");
    The result I am getting is always "There is no match
    Your timely help will be much appreciated.
    Regards

    Ram wrote:
    ErasP wrote:
    You are missing a backward slash in the regex
    Pattern p = Pattern.compile("([a-z][a-zA-Z]*)\\s\\1");
    But this will fail in this case.
    Matcher m = p.matcher("Nikhil Nikhil");It is the reason for that *[a-z]*.The OP had [a-z][a-zA-Z]* in his code, so presumably he know what that means and wants that String not to match.

  • Problem with Airport express N (2nd gen)

    Problem with Airport express N (2nd gen)
    Firmware 7.6.4
    ISP - 20 Mbps ethernet cable
    I have MacBook Air 13 mid 2013 os x 10.9.5, ipad 4 ios 8.0.2, ipad4 ios 7.1.2 , iphone 5 ios 7.1.1
    When i try to use speedtest.net from my Macbook i got good results of download speed and incredible upload http://www.speedtest.net/my-result/3801286946 (connection 300 Mbps) , both ipads got terrible speedtest download result and incredible uploadhttp://www.speedtest.net/my-result/i/981631804 (connection 150 Mbps), iphone 5 got bad download and great uploadhttp://www.speedtest.net/my-result/i/981695357.
    All these tests were done near airport express with really good signal and 5ghz. I tried to choose different channels, 802.11 mode, guest ssid, 5ghz ssid ...
    I think that something is wrong with my new airport express. Can anyone help me to solve this problem?
    ps sorry for my bad english

    As a last resort, try a factory default reset on the AirPort Express as follows:
    Power off the AirPort Express
    Wait a minute
    Hold in the reset button first, and keep holding it in for another 8-10 seconds while you simultaneously plug the Express back in to power
    Release the reset button after the hold period and allow a full minute for the Express to restart to a slow, blinking amber light status
    On an iPhone or iPad home screen....
    Tap Settings
    Tap WiFi
    Look for a heading of Setup a New AirPort Base Station. If it appears.....
    Tap on AirPort Express just below the heading to start the configuration process on the Express again
    If you try several factory default resets, and the AirPort Express does not appear under the heading of Setup a New AirPort Base Station, the Express most likely is defective and will need to be replaced.

  • Have a  problem with Lightroom 5.4.  Since the program crashed yesterday it won't launch, it comes up with the message "Lightroom encountered an error when reading its preview cache and needs to quit".  "  Lightroom will attempt to fix this problem net ti

    Have a  problem with Lightroom 5.4.  Since the program crashed yesterday it won't launch, it comes up with the message "Lightroom encountered an error when reading its preview cache and needs to quit".  "  Lightroom will attempt to fix this problem next time it launches".  Except that it doesn't, I keep getting the same message and the program closes.  Does anyone know what I  can do to repair it?  Can't back up, can't do anything.

    There are dozens of threads in this forum that describe the fix

  • HT1871 Hello i have one IPhone 4S and I use 3G net in my mobile sometime I have problem with temperature in my phone at the SIM card or battery how can I fix this problem. By update or version of 6.1.3

    Hello i have one IPhone 4S and I use 3G net in my mobile sometime I have problem with temperature in my phone at the SIM card or battery how can I fix this problem. By update or version of 6.1.3

    Could it be because the SIM card got damaged while I cut it to fit the IPhone?
    Very likely. Hard to believe the carrier in Mexico doesn't have a micro-SIM card available.
    Or somehow the Chinese carrier found out and locked it?
    No, which is not possible.
    What can I do? Get a new SIM and see if it works again?
    Get a micro-SIM from the carrier in Mexico that you don't have to manually cut down. If that carrier doesn't provide one, switch to another carrier that is not so low-budget.

  • I have problem with buying in games , I got the massage that the purchased can not be completed , please contact iTunes support.. I need help for my case please

    I have problem with buying in games , I got the massage that the purchased can not be completed , please contact iTunes support.. I need help for my case please

    http://www.apple.com/support/itunes/contact/

  • Ive downloaded some apps onto my pc yet only 1 has synced to my ipad, it says something about theres a problem with my billing, yet I purchased the 1 app I got for $20, but 1 free app and another paid, wont sync, i di have money in my account

    Ive downloaded some apps onto my pc yet only 1 has synced to my ipad, it says something about theres a problem with my billing, yet I purchased the 1 app I got for $20, but 1 free app and another paid, wont sync, i di have money in my account

    Right click on your iPad's name in the iTunes app on your computer and choose to transfer purchases. That should transfer anything that you have bought with the App Store app on the iPad to the iTunes app on your computer.

  • Hi i have a problem with my iphone 3gs. i updated the software to ios 6 but now when trying to activate the phone it comes up with a message saying that the activation server is currently unavailable, also it always says no sim! what can i do?

    i have an activation problem with my iphone 3gs. i updated the software to io6 using itunes but now the phone will not complete activation because it keeps saydin the activation server is not available and to re try later. ive been trying for 6 hours but it still wont activate. if i try using itunes then it sayd no sim inserted when there is one inserted, what can i do?

    You are right, but how could i send it to Apple? when the phone company first replaced my iphone they had in stock alots of iphones and they just sent mine back to Apple and gave me a new one, so all i did is to give them my phone, but now how could i sent it to Apple? and i cant send it by myself, and the store wont do that, its a lost for them.. so sending it to Apple wasnt an option from the begining.
    and for the record, i dont think the store where i bought it is an authorized shop.. its just a store who boughts phone's from Apple in a low price and sells it in much more money..

  • I have a problem with my iPhone 5 stopped working the sleep / power and simultaneously refused to obey the HOME button. I can not use either one or the other. I can not enable or disable the device, display lights up when you plug the charger. same displa

    I have a problem with my iPhone 5 stopped working the sleep / power and simultaneously refused to obey the HOME button. I can not use either one or the other. I can not enable or disable the device, display lights up when you plug the charger. same display works fine as it is surprising. or maybe someone knows what is the reason for this? is there any way to solve this problem?

    More than likely its a hardware issue, I have never encountered such a problem and best bet is to just go get it replaced. If you have insurance on your device apple will replace it as long as there was no water damage, if you dont have insurance they will charge $200 more or less. Hope you get it fixed

  • TS1702 I had this Scrabble on my iPad2 and began to have connection problems, it would lock in the "connecting" position. This is not the first time Scrabble has had problems with interface. Typically customers delete the Ap then download it again to rein

    I have contacted EA about this and can find no help. I had this Scrabble on my iPad2 and began to have connection problems, it would lock in the "connecting" position. This is not the first time Scrabble has had problems with interface. Typically customers delete the Ap then download it again to reinstall it. During the process you sign in and approve the purchase KNOWING that another window will open saying that you have previously purchased it and that there is no charge. So what happened this time? It will not connect and all of my saved and current games are wiped out. I want my money back, this game interface is pretty junk and operates like some ancient DOS program,,bug,bug,buggy. I want my money back.

    Go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report the issue to the iTunes Store.
    Regards.

  • I bought a new MacBook Pro several months ago.  I keep losing my wireless connection (my wife, sitting several feet from me has no problem with her iPad2).  I find the quickest fix ix to turn Airport off and back on.  Very annoying.   Suggestions please?

    I bought a new MacBook Pro several months ago.  I keep losing my wireless connection (my wife, sitting several feet from me has no problem with her iPad2).  I find the quickest fix ix to turn Airport off and back on.  Very annoying.   Suggestions please?

    What kind of wireless router are you using? more importantly which protocol are you connecting with? Are you and wife connecting using the 2.4Ghz band? or do you have a dual band router that offers the 5GHZ band?  Are you both connecting vie 802.11 a/b/g or n?
    The best thing to do is to go into SYSTEM PREFERENCES and select NETWORK, then select AIRPORT and click on the ADVANCED button.
    Under the AirPort tab you should delete all the preferred networks and only add back in your network with the proper security settings and passwords.
    If you hold down the option key on your keyboard while clicking on the airport icon at the top on your macbook pro. you'll seesome data that will tell you what band and mode you're connecting at, as well as in an indication of signal strength (RSSI) if you write down and post back that information it'll tell us what's going on.

  • I have a problem with my PC mobile device that the keyboard stop working and the mouse also

    I have a problem with my PC mobile device that the keyboard stop working and the mouse also

    All I can suggeset is:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    or
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    Have you looked at the AMDS topic of:
    iOS: Device not recognized in iTunes for Windows
    Do you have han image capture programs linstalled like for a camers or scanner?

  • Is it somebody Except for me Who has problems With waching videos on ipad after the 5.0.1 update

    Is it somebody Except for me Who has problems With waching videos on ipad after the 5.0.1 update

    Hi,
    yes I have big problems as soon as I open the video app i get a total black screen, even the upper bar with the time disappears. I already tried to:
    1. closing the app and reopen it
    2. restart the iPad
    3. restore the iPad via iTunes
    4. Begging the app to work again.

Maybe you are looking for

  • Multiple Sites, Multiple Domains, one .mac account?

    So, is this possible? Can you create multiple sites in iWeb, save them to a .mac account, and then purchase domain names for each of those sites and have one assigned to each? I'm assuming no, but I'm seeing if someone knows how or someone has some w

  • Open Ibook PDF's with adobe reader

    How do I open a PDF document from the Ibooks library with adobe reader, so I can use all the tools like the highlighter?

  • TCP Listen vi does not work in Labview RT 7.0

    I'm trying to use a TCP Listener to accept connections from another PC on the local network. When running the program with Labview 7.0 all works fine and I'm able to receive IP packets from the remote PC. However, when I run it in Labview RT 7.0, the

  • N95 8GB with v15 & emTube

    Hi Now the N95 8GB comes with v15, and v15 has Flash Lite 3 preinstalled - does emTube still install and function correctly? Has anyone had a chance to test? Id try myself but v15 is not on my UK phone yet!

  • Querying many tables at once from a select statement for specific values

    Hi all, I'm very new to PL/SQL and have a daunting task ahead of me. I'm pretty sure our database normalization scheme is all out of whack, which I dont have the experience to fix yet, but this is the task ahead of me without getting to change or fix