How to concatenate 2 outcomes in the action part of a button?
I have a button that has an actionListener and an action and in action I want to concatenate two outcomes like this:
action="#{bindings.Execute.outcome bindings.Commit.outcome}"
I don't know how to concat the two. Execute updates an LOV , commit commits. I want them both to be executed....
Wendy, have you considered double-clicking on button in the visual designer and allowing JDeveloper to create an action for you (stub) in the backing bean? From there you could even call these two programs using the method of calling things in the binding layer from the bean using java calls and passing the same EL expressions. This method is spelled out in the ADF Developer's guide. From that point you can concatenate the outcomes using the java concatenation operator.
Similar Messages
-
How to use decode on the value part ?
i have a query
select
col1, col2, col3
from
tab1, tab2
where
cond1= 'parameter1'
I need to modify this query to use a decode function instead of this parameter1.
something like
select
col1, col2, col3
from
tab1, tab2
where
cond1= decode(parameter1, 'x','val1','val2')
How can i use such a decode function on the value part ?
IF i try this, it gives me no data found error....
The following is also not working..IS there a way to do such cases ?
select
col1, col2, col3
from
tab1, tab2
where
cond1= ( select decode(parameter1, 'x','val1','val2') from dual )Of course it works...
test@ORA10G>
test@ORA10G> drop table table1;
Table dropped.
test@ORA10G> create table table1 (
2 name varchar2(50),
3 condition1 varchar2(2),
4 condition2 varchar2(10)
5 );
Table created.
test@ORA10G> insert into table1 (name,condition1,condition2)
2 values ('Hi there!!','xx','VAL1');
1 row created.
test@ORA10G> commit;
Commit complete.
test@ORA10G>
test@ORA10G> select * from table1;
NAME CO CONDITION2
Hi there!! xx VAL1
1 row selected.
test@ORA10G>
test@ORA10G> declare
2 CodeL varchar2(3) := 'AB';
3 CodeName varchar2(50) := '';
4 begin
5 select decode(CodeL,'AB','VAL1', CodeL)
6 into CodeName
7 from dual;
8 dbms_output.put_line('CodeName: '||CodeName);
9 select Name
10 into CodeName
11 from table1
12 where condition1='xx'
13 and condition2 in ( select decode(CodeL,'AB','VAL1', CodeL) from dual );
14 dbms_output.put_line('CodeName: '||CodeName);
15 end;
16 /
CodeName: VAL1
CodeName: Hi there!!
PL/SQL procedure successfully completed.
test@ORA10G>pratz -
How to add parametes in the action calss
hello friends
Iwant to add parametes in the action cladd
<action
path="/QuickSearch"
type="app.struts.QuickSearchAction"
name="quickSearchForm"
scope="request"
input="quickSearch.jsp"
validate="true">
<forward name="success" path="/jsp/appController.jsp"/>
I need url like that "appController.jsp?name=namevalue&old=oldvalue"
public class QuickSearchAction extends Action
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception
return mapping.findForward("success");
}thanks
</action>I try with
public class QuickSearchAction extends Action
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception
ActionForward Myorward = mapping.findForward("success")
Myorward.setPath("/jsp/appController.jsp?name=namevalue&old=oldvalue");
return Myforward;
}but it work not !!!!!!! please help me
thanks -
Hi,
How can we Hide / Disable the Help(?) and Close(x) buttons which are located in the right corner of the Top Link Bar in the Sharepoint Document Library pages as well as Excel Web Access?
Our requirement is : When we try to view the Excel Services Report from another web site, Help(?) and Close(x) icons are also appearing in the Excel Web Access Web Part, but we don't want to display them in our site.
Please let us know the solution for this case.
Thanks in advance.
Regards,
SanjanaHi,
In the xlviewer.aspx, we can find the two buttons like this:
To hide them, you need to add the CSS into the xlviewer.aspx which stays in:
C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS
Best regards,
Patrick
Patrick Liang
TechNet Community Support -
On TV the left part of shape button disappear
Hi to everyone, please a little help...
This is the problem: I choose a shape for my button in DVDSP, try with the simulator, all is OK, try with the DVD player on my iMac, all is OK, but when I insert the DVD in my player on TV (PAL) when the button is highlited the left part disapper.... just like incomplete.
I tryed another shape button but is the same thing ... Why?
Thanks to allIt could be that it is outside title/action safe areas.
In menu/settings pulldown (right beneath the right side of the red box here http://dvdstepbystep.com/layofland.php), select to show title safe and action safe.
Title safe guides (everything will show up within those lines), action safe (area from title safe to action safe usually shows up) and then outside action safe should not be counted on. -
How do I find if the Invoice was added ( add button )
Is there a way that I can catch if the Invoice was added successfylly or not, Given that the adding invoice is a manual user action and NOT a SDK process.
Version: SAP 2005A
any sugesstions/workarounds are highly appreciated.
Thanks,
IndikaHi Indika
Are you using the UI Api? If so you can catch an item event and see if the transaction was successful:
!itemEvent.BeforeAction - tells us the action has already happened.
itemEvent.FormType == 13 - only looks at Object Type 13 (Invoices)
itemEvent.ActionSuccess - tells us the action was successful (ie the Invoice was added)
public override void CatchItemEvent(string formUid, ref SAPbouiCOM.ItemEvent itemEvent, out bool BubbleEvent)
if(!itemEvent.BeforeAction && itemEvent.ActionSuccess && itemEvent.FormType == 13)
// transaction has occured successfully
Daniel -
How to use logging in the actions classes extends standart actions?
Hello!
I have some action classes extends standart actions, for example Z_ExtMaintainBasketDispatcherAction extends MaintainBasketDispatcherAction. I tried to use logging functionality in my classes but there were no my lines in log and trace files.
For example I added followed lines in basketPerform() method of Z_ExtMaintainBasketDispatcherAction:
boolean isDebugEnabled = log.isDebugEnabled();
if(isDebugEnabled){
log.debug("++++++++++++++++ Test tracing in B2B_SNG. ++++++++++++++++");
but in there was no such line neither in log file nor in trace file.
How I can use logging functionality in my own classes? I need it for tracing and logging.
CRM 5.0
regards, LevWell, here is solution. I created a log formatter and log destination like this:
<log-formatters>
<log-formatter name="application_sap.com/crm~b2b" type="TraceFormatter" pattern="%d,%-3p %t %s %l %m"/>
</log-formatters>
<log-destinations>
<log-destination name="application_sap.com_crm.b2b" type="FileLog"
count="10" effective-severity="ALL" limit="10000000" pattern=".\log\applications\isa_ru.log">
<formatter-ref name="application_sap.com/crm~b2b"/>
</log-destination>
</log-destinations>
and new log controller like this:
<log-controller effective-severity="ALL" name="ru.sng.isa">
<associated-destinations>
<destination-ref name="application_sap.com_crm.b2b" association-type="LOG"/>
</associated-destinations>
</log-controller>
in file META-INF\log-configuration.xml
Thanks everybody for help!
Regards, Lev. -
AG310:How to upgrade firmware on the Voice part?
Team, Very simple question, where do I get the latest sipura code to upgrade the voice section of the AG310. Currently running 5.1.5(GWa). Is that the latest, I check the AG310 download section, it only has the router firmware and not the voice component, unless it gets bundled together ? Please help. Thanks.
You can use the Phone Upgrade area on the web page to upgrade firmware files on the phones by using the USB connection or by using the WLAN. To upgrade the phone software, enter the phone software TAR (firmware file name) or use the Browse button to locate the firmware file on the network.
To display the Phone Upgrade area, access the web page for the phone as described in the Accessing the Configuration Web Page for a Phone section available at http://www.cisco.com/en/US/docs/voice_ip_comm/cuipph/7921g/5_0_1/english/administration/guide/21adm50.pdf -
Help: How to get rid of the default None from Radio buttons?
Hi, I searched the forum and found a work around for inputSelect. It seemed it does not work for Radio buttons, i.e., inputSelectGroup with multiple=false.
Please anyone help us to get rid of the none choice for gender among female and male. Thank you very much in advance.
ZDThe 'none' choice is automatically displayed for fields that allow nulls.
-
HT1343 how can we delete on the right of curser (delet button)
i am using Windows 7 Pro & i would like to delete on fron of the word on my office file (like word or outlook) but i can not find the delete button, kindly assist me ?
fn + delet
Thank you for all, i got it -
How do I update just the day of a date value?
Example:
Table: FC_GQ_SOURCE_ANALYSIS
Sample_type = C
Effective_date = null
Sample_date = 20/13/07/14 09:00:00
What needs to happen is for any sample analysis that has a sample_type of "C" we need the effective date to be the first of the month for whatever month the sample date is and keep the time as it is…
so in the example data the effective date should be 2013/07/01 09:00:00.
How would I update just the day part of that date string?Hi,
You don't need to convert to a string and back again to do that. Use TRUNC to get the right day, and date arithmetic to get the right time, like this:
UPDATE fc_gq_source_analysis
SET effective_date = TRUNC (sample_date, 'MONTH')
+ (sample_date - TRUNC (sample_date))
WHERE sample_type = 'C'
TRUNC (sample_date, 'MONTH') is midnight on the 1st of the month that you want.
sample_date - TRUNC (sample_date) is the time that you want, expressed as a number of days (e.g., 9/24 of a day). -
How do i turn off the service searching?plz read
Ok so I was stationed to Iwankuni Japan and of course my awesome iphone doesn't work out here :'-( how can i turn off the phone part so that i can still have my wifi on and it isn't searching for service?
pretty much i want to make it an ipod touch.
Any ideas?Hi there,
Just put it into Airplane mode: settings> airplane mode on
This will also disable Wi-Fi and Bluetooth though. To avoid this, take out the SIM card; then you'll have Wi-Fi, and all the non-phone features. Use a paperclip to press on the hole next to to the earphone recess; press firmly and the SIM card tray will pop out. Make sure you put the SIM card somewhere safe, away from magnetic sources. When you return home, simply put the SIM card back in; and you'll resume normal service, with no need to activate again.
Message was edited by: jia10 -
Trying to make a clean version of a song. Once I select the area I want to cut, how do I listent to the shaded part of the song I have selected before I cut it? I don't want to cut the part that is approximately the area. I want to be sure b4 I delete it.
There's no way in GB to listen to just a selected region. You will always have to move the playhead to the starting point of that region and press play. However, if you double-click the region and look at its waveform in the finder, you can see very exactly where the sounds start and end, that gives you a very precise option to split and cut your regions.
-
How to upoload images and give actions to those images
Hi,
I want to upload images to view and want to give action to the image.
insted of creating a button (for eg : save . instead of creating save button i want to upload an image for the this save and once user clicks on image it shouls perform the action like as save button)
pls guide me on this.
Regards,
PavaniHi,
The image type can be .jpg or .gif. After putting the image in the folder suggested by Armin, do the following :
1. Create a link to action
2. In the properties of this LTA, make the 'image first' property as true.
3. Now in the image source property, choose component image and select the desired image (one which you have already put in the folder)
4. Now declare the action for the LTA.
The image would appear on the screen and clicking on it would fire the desired LTA.
Hope this helps.
Regards,
Himanshu -
Edit action on purple submit button
I am creating interactive PDF forms, and I see that Acrobat adds a submit button in the purple message bar, but how do I add or edit the action for that submit button? It is only visible when in preview mode so I am unable to double click and add an action (such as email) like when creating a new button within Properties.
No Jay. The embedded buttons on quiz slides are not normal buttons.
If you tell what you want to achieve? Because after the two-step process (submitting) either the action specified under Success or Last Attempt will be executed. You can replace the default action 'Continue' by an Advanced action.
Question Question Slides in Captivate - Captivate blog
Lilybiri
Maybe you are looking for
-
Importing already-made SQL*Loader control files in OWB 10g
Hi all, Suppose that I have a certain amount of already hand-made SQL*Loader control files, say 50 or so. Each of these control files have a variable quantity of fields. I feel really lazy, so I would like to know if it is possible to import directly
-
Okay i will make this as short as possible. I was using a macbook to do imovie. My father bought a new 27 inch imac. Well I got his 24" imac. Stoked and boy what a difference !! On the old one I used an external hard drive and woking and saving off o
-
I have a reporting requirement in which I have to calculate the number of days. The requirement is something like this: A person receives his promotion on 01/20/2006 so when user pulls the report he wants to see how long that person has been in that
-
Is there any plan on cleaning this forum up?
If not can anyone recommend another source for ARD discussion.
-
Automatic logout after daily time limit reached
Hey there, I'd like to be able to limit the amount of time my daughter uses the computer in a day. I know that if I tell her she can use it for 2 hours a day, we'll just get into arguments about when she's reached the limit. So, what I'd like is some