Put parameters into url -- Howto?
Hi all!
How can I post some parameters to get an url something like that
http://localhost:8080/application?user=test
So how can I get the parameter user into my url?
Can I just use the f:param Tag?
And who do I retrieve the information on the next page?
thx for help!
Wow, 1 duke dollar, geez big spender huh? :-)
Yes, f:param will work. Nest this tag inside commandLink.
Their are a couple of ways to get the paramter out of the request but the most elegant is using the "param" implicit EL varialble and the managed-property element of the managed bean configuration.
Something like:
<managed-bean>
<managed-bean-name>yourBean</managed-bean-name>
<managed-bean-class>foo.YourClass</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>yourBeanProperty</property-name>
<value>#{param.yourParamNamey}</value>
</managed-property>
</managed-bean>
Similar Messages
-
Put parameters into OAMessageChoiceBean on the PR
Hi Gurus,
I gotta problem here, how can I set the parameters of an OAMessageChoiceBean on the ProcessRequest? I already search it into the OAF dev's guide without any success for my issue, for my requirement I will have "n" messagechoice, and it may change of VO's depending of the information that the users select.
heres my code:
//VALIDATES WICH VO IS GOING TO LOAD
if(pageContext.getTransactionValue("choice1") == "1"){
String vo = null;
if(am.getIdPeriod().equals("0")){
vo = "TypeALLVO1";
}else{
vo = "TypeVO1";
OAMessageChoiceBean choice2 = (OAMessageChoiceBean)webBean.findChildRecursive("choice2");
choice2.setPickListCacheEnabled(false);
choice2.setPickListViewUsageName(vo);
choice2.setListDisplayAttribute("Service");
choice2.setListValueAttribute("IdService");
choice2.setAllowBlankValue(false);
//HERES WHERE I NEED TO SET UP THE PARAMETERS, BECAUSE MY VO CAN CHANGE
// choice2.setParameter("${oa." + vo + ".IdService}"); <---- something like this it's what I need =/
//REMOVES TRANS VALUE
pageContext.removeTransactionValue("choice1");
I hope you can Help.
Best Regards,
MentorMentor
//HERES WHERE I NEED TO SET UP THE PARAMETERS, BECAUSE MY VO CAN CHANGE
// choice2.setParameter("${oa." + vo + ".IdService}"); <---- something like this it's what I need =/Dont think there is any method like setParameter in a messageChoiceBean.
Please let us know what exactly you want to achieve.If its regarding changing the values displayed in messageChoiceBean conditionally.Then try to set the where clause of the VO associated with messageChoiceBean.
If this is not the case, Please brief more about your requirement.
Thanks
AJ -
Putting parameters into fx:include tag
Hello eevryone, I have a problem. I have a homePage.fxml file. I would like to include toolBar.fxml file into homePage.fxml file whose controller class is homePageController.java . The problem is that I need to call a method, which is located in homePageController.java , from toolBar.fxml file.
Thanks for your comments!Hello user,
If you are trying to call event triggering function from FXML then You can call the function of any FXML Controller from FXMLController but you can't call function of any FXML Controller from FXML.
You can call the function of any FXML controllers using static function.
Here is the post: http://blog.ngopal.com.np/2011/11/27/javafx-has-fxml-as-flexible-xml/
In the post I've called the static function which may be solution for your issue.
Example:
//HomePageController.java
public static void functionToBeCalled(){
//YOUR CODES HERE
//toolBarController.java
public void handleAction(ActionEvent evt){
//Call function from here
HomePageController.functionToBeCalled();
}Thanks
Narayan -
Passing parameters into an URL Services portlet
Hi,
is there any way to pass parameters into an URL Services portlet ? I want to give the user the ability to set a preference for which sections of an XML file should be displayed. The preference should be passed into the XMLFilter which should add these parameters as XSLT variables to the stylesheet. Is this possible ?
Cheers,
ErnstAs of now we do not have provision to pass parameters to the portlet dynamically. However, if required, at most could be used is headerTrim tag and footerTrim tag. If you want to discard some data from mid of the file, its not supported.
bye
Baig
null -
How do I put text into an Edge File that clients can edit easily afterwards
Hi
Can anyone explain how I can put text into an edge file (styled with google fonts) and make it so that clients can access the text and update the text as they require?
Previous suggestion was dynamically loading a .txt file - any instructions would be most appreciated.
Thanks.Hi Resdesign!
Your code is very useful to learn how to use Json in Adobe Edge Animate!
But I have a question: why you use ( i ) as argument of the function UpdateInfo and when you recall it you use ( index )?
$.getJSON('slides.json', function(data){
//for(var i=0; i<data.length; i++){
function updateInfo(i){
sym.$("photo").css({"background-image": "url('"+data[i].image+"')"});
sym.$("pillar").html(data[i].pillar);
sym.$("what").html(data[i].what);
// position
index = -1;
sym.$("btn").click(function(){
index++;
if (index>=5){
index = 0;
updateInfo(index);
Many thanks for your attention!
Davide -
REP-1425 report formula DO_SQL error putting value into column
Hi all
I have opened a report 2.5 in Oracle9i Reports Developer and, it converted ok. However, when I run the report (paper layout), the message
rep-1425 report formula DO_SQL error putting value
into column. Column may not be referenced by parameter
triggers
appears. There are several report level formula columns and corresponding placeholder columns that are the cause of this error. The formula has the following :
SRW.DO_SQL('SELECT RPAD(''DAILY TABLE AUDIT REPORT'',60,''.'')||TO_CHAR(SYSDATE,''DD-MON-YYYY'') INTO :REPORT_TIT FROM DUAL');
COMMIT;
RETURN('');
I can't work out what this error message really means as the column, report_tit is a placeholder column and, the formula column is not a parameter trigger!! The report_tit placeholder is used as a source for a layout field. I noticed that the layout field is defined as a placeholder column in the converted report but in the reports 2.5 version, it is defined as a layout field.
I can do a work around by replacing the SRW.DO_SQL statement with a normal PL/SQL SELECT statement. However, I wonder if anyone else has had the same problem and, if anyone can help provide an answer as to what this error really means and, also, how I can retain the SRW.DO_SQL statement and/or an alternative work around to the one that I have described.
Thanks.
Therese Hughes
Forest Products CommisionHi again
The firewall proved to be the problem after all! The firewall set in Reports config-files is not used for WebServices, it has to be set within the stub:
Properties prop = System.getProperties();
prop.put("http.proxyHost","yourProxyServer");
prop.put("http.proxyPort","youProxyServerPort");
I inserted this in my java-code and after some problems (see below), restarting Report Builder turned the trick, the report works now.
Cheers
Tino
Here there mail I set up before I found that restarting Report Builder helped:
Thanks for your answer, putting in the proxy-settings actually helped some - the same error message is
popping up, but instantly and not after 10 seconds like before:
My proxy lines look like this, I also tried "http://proxy.ch.oracle.com", but "proxy.ch.oracle.com" proved to
be the correct syntax:
public Float getRate(String country1, String country2) throws Exception
Float returnVal = null;
Properties prop = System.getProperties();
prop.put("http.proxyHost","proxy.ch.oracle.com");
prop.put("http.proxyPort","8080");
URL endpointURL = new URL(endpoint);
Call call = new Call();
I tested the new proxy-entries by disabling the proxy preference in JDeveloper, so I could verify the added
proxy-lines in the code work - they do. If I change the proxy to some incorrect value like
"proxyy.ch.oracle.com", they fail.
After unsuccessfully trying recompile and re-import of Java classes, I rebuild the report from scratch and
stumbled over the same problem. Now the question is, whether I'm still doing something wrong with the
proxy or whether there is another problem after passing the firewall....
------------------------------------------------------------------------------------------------------------- -
Single form that puts data into 5 tables
Hi,
I'm new to ApEx, I want to create a name and address form, that puts data into 5 tables at once, all on the same form.
Is this possible with ApEx looking at the tables?
or do I need to create a database procedure and point ApEx at that?
I have a couple of books, but I can't find an example that does what I want to do.
A URL to another resource would be a great help.
Regards
MichaelHi,
I can't remember the exact reason,
It was something to do with there being a many to one to many join in the tables in the view.
[table] > [link table] < [table]
then there isn't a parent child relationship in either direction.
I think that the other problem in webdb was the view was updated using a 'like' command
This was not good as the primary key is a number.
Since we are probably migrating to ApEx, and a procedure already exists to perform this functionality, I'll give that a try.
Regards
Michael -
Iweb; put FLASH into Idisk, only can see the FLASH when giving a password
I have a headache from it! I spent a lot of time making a website for my own company. I put flash into my site like the way Iwebunlimited do it: http://www.iwebunlimited.com/videotutorials/Entries/2008/4/4Flash_iniWeb.html
This works, but if people on other computers take a look on my website they can't see the FLASH, they have to put in a name and password. So my first page is only FLASh and they can't see anything..How can I resolve this? I'm pulling my hair out of my head..
Or is there an other way to put FLASH into Iweb?
Thank you already for maybe helping me...
Nicole Dee
URL:http://web.me.com/nicoledee/www.nicoledee.nl/Home.html
Message was edited by: Nicole DeeThis :
http://idisk.mac.com/nicoledee/Web/Sites/Flash/homenicoledee.swf
must should be this :
http://web.me.com/nicoledee/Flash/homenicoledee.swf
See this topic too:
[Image rollover prompts for password|http://discussions.apple.com/thread.jspa?threadID=2243955&tstart=0]
Magic word: Learn -
Passing parameters from URL to multiple iViews on a page.
Hi Everyone,
Could you please point me to a guide or howto, which explains on passing parameters from URL to multiple iViews on a page. I already know how to pass parameters from URL to a single iView (wiki).
Thanks!
IndyHi Indy,
Currently, passing parameters to the page which contains VC iViews is not supported, only directly in the iView's URL.
Regards,
Natty -
BSP application and IC WinClient - put parameters
hi,
We are working with the IC WinClient (transaction CIC0),
We know how we can get parameters from url:
http://host.domain.ext:port/url.htm?p1=v1
via
request->GET_HEADER_FIELDS
But, we dont know how we can PUT parameters from IC WinClient to BSP URL p1, p2....
for example we want put partner to URL from cic0.
Does anybody know if we have to modify the standard transaction to do that? how? is there another way?
Thanks a lot.Closed.
-
How do I use the Parameters from URL to filter on Content Query in ItemStyle.xsl?
Hi, I might need your help with code that Content Query under <xsl:Template...> that I need a filter for 3 parameter from url (from date, to date(for date range) and type.
eg: www.mywebsite.com/pages/Filter.aspx?DateFrom=01/01/2012&DateTo=01/01/2013&Type=sports
I've google for help and not sure they seem working so far.Hi,
If you want to filter a Content Query Web Part with the parameters from URL, we can achieve it with OOTB of Content Query Web Part by adding "Additional Filters" in "Web Part Properties"->"Query". We can add
three filters like:
date is greater than [PageQueryString:DateFrom]
And
date is less than [PageQueryString:DateTo]
And
type is equal to [PageQueryString:Type]
Then redirect to the URL: www.mywebsite.com/pages/Filter.aspx?DateFrom=01/01/2012&DateTo=01/01/2013&Type=sports, the query results will be filtered.
Please reply freely if I misunderstand your meaning or there any other questions.
best regards
Patrick Liang
TechNet Community Support -
i am trying to put music into my 3rd gen ipod touch and older ipod shuffle but neither are popping up on itunes, what could be the problem?
See
iOS: Device not recognized in iTunes for Windows
- I would start with
Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
or
Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
However, after your remove the Apple software components also remove the iCloud Control Panel via Windows Programs and Features app in the Window Control Panel. Then reinstall all the Apple software components
- New cable and different USB port
- Run this and see if the results help with determine the cause
iTunes for Windows: Device Sync Tests
Also see:
iPod not recognised by windows iTunes
Troubleshooting issues with iTunes for Windows updates
- Try on another computer to help determine if computer or iPod problem -
I got an iPhone 4 on Thursday.
I connected it to my PC, a Windows Vista, that day and nothing showed up besides a "camera."
My computer picked it up as a camera, which I understand is a common occurence in the iPhone.
After browsing countless youtube videos and Apple Forum Questions, nothing helped.
I put it into recovery mode by holding on the power and menu button, but when I opened iTunes it still didn't detect anything.
I feel like I'm almost hurting my iPhone because I turned it off and on so many times, and plugged it in and out several times, and so forth.
Here is what happened after putting it into recovery mode: 1. A Windows "device locator" popped up. 2. It was looking for a solution to help me with the unknown device, or iPhone. 3. I clicked onto the find solution button, and it told me that I needed a disc.
--- I didn't have a disc, so I looked up this problem and it told me to manually find Apple mobile device support on my driver, so I did.---
4. I then went onto Control Panel and clicked on SYSTEM and MAINTENANCE and went to DEVICE MANAGER.
5. There I found my iPhone listed under USB controllers.
6. I uninstalled and installed it several times.
7. I then manually found a program to ease the problem. The program was "apple mobile device support," which was located on my apple driver.
8. Nothing happened, besides it reporting to me that Apple USB was found and that "code 39" or "code 1" was in the way.
9. I didn't know what to do with this....
By this time, I was about to give up on my iPhone and return it back to the store.
I tried again, but in a different way this time.
1. I put it back into recovery mode and I opened itunes.
2. itunes reported to me that some burning or CD/Drive software was missing and that I needed to reinstall it.
3. SO, I reinstalled it several times, about 12 (iTunes), and nothing changed.
4. I then looked up the problem of why the CD/Drive software problem kept popping up.
5. I fixed it by going to my registry and adding an UpperFilter with the code GEARaspi...something like that.
6. The problem was fixed, but still no iPhone onto my itunes.
I stayed up all night last night to fix this problem...I'm annoyed and tired.
I tried another problem to fix this.
1. I didn't put it into recovery mode.
2. My iPhone showed up under portable devices under "device manager," from SYS/MAIN"
3. I did update software.
4. I clicked on "apple mobile device support" but nothing happened.
5. It reported to me of the Code thing again.
I even called the Apple people and they didn't know what to do, so I stopped calling them...because they only had limited options to fix the problem.
Can anyone help me?There's a whole lot to read in your post, and frankly I have not read it all.
Having said that, this troubleshooting guide should help:
http://support.apple.com/kb/TS1538
In particular, pay attention to the mobile device support sections near the bottom, assuming you have already done the items above it. -
How do I get the pictures folders in photoshop 7 out of My window XP computer and put them into my new computer windows 8 photoshop12
I am so sorry for you and your situation. Were you using iCloud photostream?
Otherwise I do not see any chance for your precious photos.
Congrats anyway on the little darling! -
When I download firefox, using recommended setting, or my own, all the sub files/folders like plugins, modules, updater end up on the desktop as well as in the file location. And when I try to put them into the file location, they don't. And when I delete them, FireFox won't open. I tried deleting FireFox and reinstalling it multiple times, and a message pops up sometimes that says FireFox may not have installed correctly, so I follow the steps, but all the extra icons on my desktop don't go away. This has happened every time I have downloaded FireFox. The browser itself works, but I need to know how to get rid of these icons, but still be able to use FireFox. This is on a new computer, with Windows 7.
== I downloaded FireFox. ==
== User Agent ==
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6Managed to solve this myself. Just went to properties > hidden.
Maybe you are looking for
-
I created a page with dreamweaver. It renders as intended in firefox but shows unwanted white space in ie 11. How do I fix this? Here is the page in firefox: Here is ie 11 page: Please respond to [email protected] Here is my code: <!DOCTYPE htm
-
Using att iPad with retina display in Australia
I would like to use the AT&T iPad w/ retina in Australia with a local SIM card , is this possible?
-
Best practise: EJB3, WORA
I've noticed that OC4J's implementation of EJB3 differs a bit from e.g. Glassfish'. For example Query.getSingleResult() throws an ObjectNotFoundException by OC4J while it throws an NoResultException on Glassfish. If I'd like to develop on OC4J but ma
-
Cp278 for non-international JVM
Hi All, I have a java applet that uses cp278, and so it needs the international version of JVM be installed on the client PC, for the app to work. Therefore, this prevents this app running on a US PC, unless I get the user to install the Internationa
-
Deleting MIC or Characteristics in QE01 or Result Recording(QA32)
Hi friends Any t.code for deleting MIC or Characteristics or Parameter in QE01 or Result Recording(QA32) Thanks & Regards Gajendranath