Is it possible to get the pageContext in servletInclude?
HI,
I have many textinput on the base page ,when I click the button (type of button)on the page,It popup up a new page.and there is a servletInclude on the new page.The servletInclude's Source URL is "./servlet/ServletTest". Is it possible to get the pageContext in the ServletTest?
Thanks & Regards,
binghao
Is there anyone can help me?????
Similar Messages
-
Is it possible to get the total value for column and assign to other field
hi,
Is it possible to get the total value of particular column and assign that value to another field?
How to do this?
Thanks in advance,
SANAfridi,
My extended controller class code:
package xxhr.oracle.apps.per.selfservice.appraisals.webui;
import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.OAViewObject;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageStyledTextBean;
import oracle.apps.per.selfservice.appraisals.webui.OverviewPageCO;
import oracle.jbo.Row;
public class XXOverviewPageCO extends OverviewPageCO {
public XXOverviewPageCO() {
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
if(pageContext.getParameter("XXCalcAvgButton")!=null){
throw new OAException("welcome",OAException.INFORMATION);
//getSum(pageContext, webBean);
private String getSum(OAPageContext pageContext, OAWebBean webBean) {
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OAViewObject ratvo = (OAViewObject)am.findViewObject("CompetenceElementsVO");
OAViewObject valuevo = (OAViewObject)am.findViewObject("PerRatingLevelsVO");
Integer Sum = new Integer("0");
int numofRows = ratvo.getRowCount();
for (int x = 0; x < numofRows; x++) {
Object Rating =
ratvo.getRowAtRangeIndex(x).getAttribute("ProficiencyLevelId");
if(Rating!=null) {
int numofRowsforvalue = valuevo.getRowCount();
for(int i=0;i<numofRowsforvalue;i++){
if(valuevo.getRowAtRangeIndex(i).getAttribute("RatingLevelId").equals(Rating)){
Object StepValue=valuevo.getRowAtRangeIndex(i).getAttribute("StepValue");
Sum = new Integer(StepValue.toString()) + Sum;
OAMessageStyledTextBean displayCompAvg=(OAMessageStyledTextBean)webBean.findChildRecursive("XXCompAvgText");
displayCompAvg.setValue(pageContext,Sum);
return null;
But it is not affecting in the page.
Can you please tell me what is the problem. -
I've recently been given a macbook pro from uni, with lots of adobe software on. I want to pair it with my iMac which has music etc and is it possible to get the software to the imac and the files to the macbook?Giving me the best of both :-)
You would need the original installation disks or files for the Adobe software to get it onto your iMac, and having it on two computers may not be allowed by your university's licensing. Talk to whoever issued the MacBook.
As to the music, just copy it over to the MacBook, either via Home Sharing, file sharing, or an external storage medium (hard drive, USB flash drive, etc.).
Regards. -
Is it possible to get the style, font and related info of a paragraph text of a in design file and write all the stuff on the same in design file on the left side with small fonts
as
Lets this is a text in in design file :
style : abc we are going to check the condition Agence Wallonne pour la Promotion d'une Agricultur we are going to check the condition Agence Wallonne pour la font 12 d'une Agricultu we are going to check the condition Agence Wallonne pour la Promotion d'une Agricultu
style : xyz we are going to check the condition Agence Wallonne pour la Promotion d'une Agricultur we are going to check the condition Agence Wallonne pour la font 10 d'une Agricultu we are going to check the condition Agence Wallonne pour la Promotion d'une AgricultuHi Poojith
Not sure if this would solve your requirment but just in case might be helpful:
1. We can mix up the HTML and HTMLB components in the JSP Page. However, can access only the HTMLB components in the controller. The following link refers to what customizations are offered by the HTMLB framework:
[http://www.sapdesignguild.org/resources/htmlb_guidance/]
2. Another option would be to use AbstractPortalComponents or a simple web app if that's feasible. (where custom UI themes, css and layout are more in control of the developers.)
Thanks
Deepak -
I have a few ipads, iphones and ipod touches of various models, and all run iOS6 of various types (whatever they were running when I last updated them before iOS 7 came along and stopped me being able to get newer versions of 6).
I tried iOS7 for a while but hated both the appearance and some of the things that changed.
My ipods have updated to a new version of iOS6 with the SSL fix.
I can't seem to get this option for the ipads or iphones.
Is it possible to get the important SSL update for iOS 6 for iPhone5, iPad3, ipad4 and ipad mini (not retina) without having to go to iOS7?
(It seems that I can get a fix by jailbreaking but I really don't want to do that if there's another option since I have no need for it otherwise.)
Thanks a lot.Thanks, that's helpful. I expected that answer, since I read a load of stuff about Apple pushing people to get iOS 7 despite it having people who disliked it, but was hopeful it was not the case
Some of the changes, like to calendar were just frustrating.
Not a big problem though - just means that the next phone and tablet hardware update I get won't be apple.
Thanks a lot for the swift and helpful replies. -
Is it possible to get the information from the complete forms send to different email account
When i have a paid account is it than possible to get the information from the different forms send to seperate emailaddresses.
Who dont have a account from formscentral but just need the information directly in there own inboxes?
Because we're looking for a good and simple way to make qoustion & complain forms. But these need to go to different people in the company.You can have notifications sent to multiple email addresses, but each will need to have a FormsCentral account. They can be free accounts. What you do is create your form and set up the email addresses that you want the information to go to to be Co-authors or Contributors. The co-author/contributor accounts will then need to log into FormsCentral, go to the Options tab and check the email notifications checkbox.
I hope this helps.
-Jeff -
When mirroring, is it possible to get the image from the ipad to fill the screen on the TV instead of appearing as a screen within a screen?
Welcome to the Apple Community.
No, the iPad has an aspect ratio of 4:3, a TV has an aspect ratio of 16:9, to fit one into the other is impossible without distorting the picture. If your TV has a zoom feature, you may be able to use this to fill the screen a little more to your liking, but this will result in cropping top and bottom. -
Is it possible to get the position of a charcter from a string ?
Hi !
Is it possible to get the position of a charcter from a string ?
Example:
@VAR contains the following text "ABCDEFGHIJKLM"
I'am seaching for FGH, it start on pos. 6 en ends on pos 8.
How can I get these numbers 6 and 8 ?
So, I can use them in the MID(text,start,len) function.
Thanks!Hi Sooraj,
I'll explain more in detail:
From a web-service I get a variable called @Spec.
This variable contains the following:
"MOTORTYPE[CR]D-QW1234[LF]PART[CR]1234-FRD-X[LF]"
or
"MOTORTYPE[CR]ABC[LF]PART[CR]E-435[LF]"
I need the values behind MOTORTYPE[CR] and behind PART[CR]
But youll see that the positions of these values are different each time.
If there is a way to get the (start) position of "MOTORTYPE[CR]" or "PART[CR]" and the (end) position of the first "[LF]" behind that,
then I could use the MID() function to get the correct values.
The values will be displayed in a table view (between other fields).
An ABAP-call/function wont work . . . how should I invoke this within a table column/field object ? (system action ?) -
Is it possible to get the balance sheet report by using profit center
Dear Experts,
could you please help me out regarding the following issue.
business area wise we can get the balance sheet but i want to know is there any possibility to get the BS by using profit centers only for BS Items or can we assign biasness area as well as profit center in a single screen.I think you can use this report. S_ALR_87013336
Regards
Radha -
How can I get the "pageContext" object in jsp page?
Hi everyone:
I want to get struts's DataSource object in jsp page.So I should get the PageContext object in jsp page.My code is:
///////////////////datatest.jsp///////////////////////////////////
DataSource ds=(DataSource)pageContext.getAttribute(Action.DATA_SOURCE_KEY);
conn=ds.getConnection();
stm=conn.createStatement();
rs=stm.executeQuery(insertsql);
Is right?But I get the "NullPointerException" error in Tomcat.The connection pool in struts-config.xml is:
<data-sources>
<data-source key="mydatasource">
<set-property property="autoCommit"
value="false"/>
<set-property property="description"
value="MyWebSite Data Source Configuration"/>
<set-property property="driverClass"
value="org.gjt.mm.mysql.Driver"/>
<set-property property="maxCount"
value="4"/>
<set-property property="minCount"
value="2"/>
<set-property property="password"
value="qijiashe"/>
<set-property property="url"
value="jdbc:mysql://localhost:3306/myweb"/>
<set-property property="user"
value="lyo"/>
</data-source>
</data-sources>
I can query the database in servlet.
I think the method that I get the context is not right.Had someone get the pagecontext in jsp page?help :(Sorry I forgot that I had change the code:
DataSource ds=(DataSource)pageContext.getAttribute(Action.DATA_SOURCE_KEY);
conn=ds.getConnection();
stm=conn.createStatement();
rs=stm.executeQuery(insertsql);
to the code:
DataSource ds=(DataSource)pageContext.getAttribute("mydatasource");
conn=ds.getConnection();
stm=conn.createStatement();
rs=stm.executeQuery(insertsql);
mydatasource is the struts datasource in "struts-config.xml". I couldn't work -
Data recovery, possible to get the file structure back as well?
Hi Apple Smarties,
I closed my laptop lid on my external LaCie drive without ejecting the drive first (smart one!). After that the external drive wouldn't mount. I've used Data Rescue 3 to recover all the files from the drive... however it's just lumping all the files into one big batch :-( ...anybody know if it's possible to get the files into the correct files structure they were at before the drive got corrupted?
Assistance would be HUGELY appreciated.
Many thanks
Kind regards
DougThank you Barry. Yes, Comcast is my mail provider. It is a POP account.
Now, if you could point me in the right direction to do that re-build, I would be ever so grateful. I did use the "rebuild" button on the Mail tool bar for that box and it did not help. Perhaps there is something else I could do?
As I mentioned, I am very new to the Mac world, and I get a little lost. Well, at age 73, I guess that's not hard to do! Been on Windows forever so lots of the terminology in Apple is quite different for me.
Message was edited by: JanJones -
I have purchased a G3, because I am an apple fan. I want this a clean installation software provided. Only the link no longer works. Is there a possibility to get the required software. I Preferably, the Dutch version, but if only the English it's okey
What model G3 is it? An iMac, a PowerMac, a MacBook, or a PowerBook? What is the processor (machine) speed?
-
I have just updated my 4s to IOS7. and now my battery discharge is significantly increase. With my Iphone fully charged, the battery run out within 6 hours without using the phone at all. Would it be possible to get the IOS 6.1.3 back to my 4S?
Hi, thanks for the suggestion. I have tried as you suggested, and when opening the "purchased" apps some have the icloud logo next to them, but I only have "OPEN" against "Find My iPhone". When opening it up, it goes through the same routine; needs to be updated before proceeding, and wouldn't update because I don't have IOS8.
Anything else I could try, or am I doomed!
All of your help is much appreciated, thanks -
I have the I-pad 1and was wondering if it is possible to get the 5.0 update. Many aps now require it. Thanks
Yes - via iTunes on your computer.
Connect the iPad to your computer and launch iTunes. Click on your iPad name under devices. Click on the Summary Tab in the iTunes window on the right and then click on Check for Update. -
Is it possible to get the current output level??
Is it possible to get the audio output level of a stream (in this case a mic input going through GSM compression to an RTP socket).
I would like a couple of volume bars in my application so people can see how loudly they are talking.
If anyone has any ideas on how to achieve this it would be much appreciated!
Thanks,
DexYou want a volumeter, i am also interesting in it
Maybe you are looking for
-
Trying to re-install iTunes and the message "Apple mobile device failed to start. Verify that you have sufficient privileges to start system services." But I don't know what to do? Please can someone help, I'm not the most technologically advanced pe
-
4th generation shuffle not working with windows 7 64 bit
I can't get windows 7 64 bit to recognize my 4th generation ipod shuffle.....does anyone have any suggestions?
-
How to get file name on the base of extension
hi reply me how to get the filename on the base of extension from the current directory...... for example i create file with the "igg" extension and save in the folder where the exe file of director save.... i want when exe run then exe file read fil
-
Question I want to eliminate an autofill choice that pops up when I sign into yahoo using the Firefox browser. I tried yahoo help which said hover over the unwanted line and press delete, but that did not work. Do you know how I can get rid of this a
-
Where does Acrobat come up with the default email address for a form?
We're testing a form to be distributed for electronic signatures by a variety of clients. I created the original form from a Word document, then added signature fields. I then submitted the form to others, but when they add their signatures and click