Portlet Form Example
Can anyone point me to an example of a portlet in PLSQL that is
interactive. IE it shows a form and takes the input from that
form when submitted. I am able to show information from PLSQL in
the portlet but can't work out how to take information from a
form into a portlet.
Thanks in advance
Bryan
One of your options is to build a Struts portlet. Alternatively, you can use the trick highlighted in the multi-page portlet sample.
Peter
Similar Messages
-
Error in Simple Input Form Example for CE 7.1?
Hi @,
I am trying to execute Simple Input form example in sdn for CE 7.1. But its not working as per the functionality.
Can anyone suggest what is the issue ?
Regards,hi,
This particular example is given in the sdn and is for ce 7.1 but its not working .
Regards -
How to run the parameter form example report :pform_report.jsp
how to run the parameter form example report : pform_report.jsp ?
I got these error message:
Reports Error Page
Sat Oct 18 11:58:24 CST 2003
javax.servlet.jsp.JspException: rwlib-1: REP-6106: (, 4 L, XML 1h��/�� ' PI with the name 'xml' can occur only in the beginning of the document.'.
javax.servlet.jsp.JspException: rwlib-1: REP-6106: (, 4 L, XML 1h��/��
PI with the name 'xml' can occur only in the beginning of the document.'.
at oracle.reports.jsp.ObjectsTag.doEndTag(ObjectsTag.java:180)
at examples.tools._pform__report._jspService(_pform__report.java:79)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:66)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:539)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:285)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:771)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:152)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:796)
at java.lang.Thread.run(Thread.java:484)repost !
please help! -
I've got a portlet with an edit JSP that allows the user to set some portlet settings. The edit JSP uses a form defined with the tag <portlet:form event="bea.portal.framework.internal.refresh" >. This in essence allowed the edit JSP to submit the form to itself, so it could then process (store) the settings.
This tag is no longer supported in 8.1. I haven't been able to find what the equivalent is. Am I going to be able to do the same thing, or am I going to have to rewrite the Edit piece as a page flow?I've already tried that and it's not working in my current portal.
The other things I've tried are <render:postBackUrl/> and <render:windowUrl> for the form action, and they weren't working, either. But since then I've discovered that in a new vanilla portal installation, the <render:postBackUrl/> action works fine (I assume the controller would, too, but I didn't try it).
It seems I now have a different problem to work through to figure out why <render:postBackUrl/> works in a new installation, but not in my current one. The same goes for the controller. -
Passing parameters from portlet reports to portlet forms
Hi,
I'm tring to pass parameters between a Report displayed as a portlet in a page ( page 1) and a form displayed in other page ( page 2).
The problem is i can't do this.
I only can pass parameters from a report ( running as normal or in a portlet displayed in a page) to a form running "normal" by using application links. Can i do this between a report that show's me every employees of scott.emp table. Then when i click on each employee, it open's me another page with the portlet form of the specified employee.
I'm not sure i made myself clear. Please send me some feedback.
PedroI have the same problem. Please let me know if this could be done.
In particular my form is a type of "Form on Table/View."
Thanks
Henry -
HTML template on portlet form ?
Hello,
we have some functionality in our portal forms that will for example set my cursor in some predefined field. This is accomplished thru a javascript and a call to wwv_javascript.fetch_script in the HTML template. This does not work when running the forms as portlets as another HTML template is used there.
How can I access and modify these HTML templates ?
TIAAnyone who knows the answer to this one ?
-
Could anybody post an example of a simple UIX-BC4J Form with Insert, Update and Delete event handlers but NOT in automatic mode?
TIA.
FranciscoI still consider myself a beginner in UIX/BC4J, but I presented a paper at June's ODTUG conference that included an example. Try www.odtug.com, look at the 2002 handouts, under JDeveloper. You should be able to download the Powerpoint. If you're interested, e-mail me and I'll send you the actual paper (as a Word document). Or just buy the conference proceedings from ODTUG. They papers should also be up soon in the "Members Only" section of the ODTUG site.
-- jim -
Error while running the Dynamically generated forms example
HI,
I am getting an error when trying to run the web dynpro example "Interactive Forms Integration into Web Dynpro for Java".
I am not able to trace out what exactly is going wrong. So kindly help me in this issue.
com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:282)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:224)
at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:483)
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:185)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1154)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:402)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:85)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:95)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:279)
... 27 more
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:836)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1238)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:78)
... 29 more
Thanks and regards
krisThe Not authorized message indicates that you haven't set up your Adobe document services properly.
Please check the ADS Configuration Guide available at http://service.sap.com/adobe > Media Library > Documentation.
Best regards,
Markus Meisl -
Error running an interactive form example
Hi everyone,
I'm trying to run a basic AIF scenario on a local machine.
I created a web dynypro example according to the Guide "How to Create Online and Offline Forms in Web Dynpro".
I configured the Adobe Document Services and my credential as described in the ADS Configuration Guide.
What I get when I deploy the example in the NW Developer Studio is the follwing error message:
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "Render" operation.
Request start time: Thu Feb 02 15:20:47 CET 2006
at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:460)
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:158)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1123)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:402)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:252)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:392)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
Can anybody help me?
Thanks in advance
OlafHi Olaf,
if you are absolutely certain that you have configured the ADS correctly and have looked at the ADS troubleshooting documentation in the SAP Help Portal at http://help.sap.com/saphelp_nw04s/helpdata/en/c2/42c437004b4d74bd74100d327a3354/frameset.htm and still get the error, please create a customer message on component BC-SRV-FP.
Best regards,
Markus -
Hi Experts,
I need to submit the data in the adobe interactive form to the R/3 using abap webdynpro.
But I don't know how to complete the submit code in the R/3 or the adobe form?
Action:
1. create a adobe interactive form (a_interactive_form)in the view of the WDA for abap.
2. create a adobe form (b_form)in the R/3 using sfp with a inputfield and submit button.
3. bind the b_form to the a_interactive_form, and bind the context to the b_form so that the data can be transfered to the b_form.
4. type code in the WDA for abap for setting data to the context.
5. active the WDA and run the WDA.
6. Type the inputfield "ssssss" in the adobe form and click the submit button.
now, the step 1 to 5 is ok. But I don't know how to complete the submit code in the R/3 or the adobe form so that the WDA may get the data "ssssss"?
Do you give some example or some hint for this problem ?
Thanks & Regards,
Taohttps://www.sdn.sap.com/irj/sdn/interactiveforms-elearning
-
Hi all,
I am trying out this example.
[Simple Input Form|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/837d9290-0201-0010-1381-e633fe17cb14]
In the method onActionSave(),
//@@begin onActionSave(ServerEvent)
this.checkMandatory(IPrivateForm.IContextElement.NAME);
A Simple Input Form 25
SAP Online Help
this.checkDateInPast(IPrivateForm.IContextElement.BIRTHDAY);
this.checkDesired(IPrivateForm.IContextElement.E_MAIL_ADDRESS);
wdComponentAPI.getMessageManager().raisePendingException();
wdComponentAPI.getMessageManager().reportSuccess(
"The sample form data was successfully saved!");
It states that if there is any error, raisePendingException() would stop the flow of the codes.
However when i am running the application, the application still calls the reportSuccess method.
What could be wrong here?Hi,
The raisePendingException() method checks if any exceptions were reported to the exception manager and are still stored in the exceptions manager. If there is at least one exception still stored, this method does not return, but raises a framework internal exception instead to return to the framework error handler.
So probably there are no exceptions reported to messagemanager in your functions checkmandatory() etc.
Try writing foll code
wdComponentAPI.getMessageManager().reportException("Some Message");
just before the raisePendingException() statement and see if it works.
Best Regards,
Mayuresh -
SAPscript Prgram/Form Example
Hi
I'm new to sapscript. so please bear with me.
When using SAPscript one has a program that gets all the data, then a form is created on top of it. I would like to know the following on the program.
1) The ABAP program will retrieve the data, is there any certain place it must place the data for you to be able to make the SAPscript form be able to access the data.
2) Does anyone have a simple example with all the steps. When I say example I would like to see a small program that asks for 1 paramater (document numer,ect), retrieves data based on that parameter. Then step by step how to create that form based on the data from the simple program. Nothing fancy, just show one line, one column (one field) of data on the print. I just hope to get an example where I see just one field printed out that came from the ABAP programs data retrieved from the database.
I will happily reward points for helpfull answers. Full points instantly if I can do number 2 on my side based on feedback from posts.
Thank you in advanceThis is the sample program used to print a script.
REPORT Z1SCRIPT_TO_PDF .
All these are data declarations to select data and pass it to the script.
***************************DECLARATIONS*******************************
DATA: BEGIN OF ITAB OCCURS 0,
CARRID TYPE SFLIGHT-CARRID,
CONNID TYPE SFLIGHT-CONNID,
PRICE TYPE SFLIGHT-PRICE,
END OF ITAB.
DATA: struct TYPE ITCPO.
DATA: PDFTAB TYPE TABLE OF TLINE WITH HEADER LINE,
DATAB TYPE TABLE OF ITCOO WITH HEADER LINE,
DATA: BINFILESIZE TYPE I,
FILE_NAME TYPE STRING,
FILE_PATH TYPE STRING,
FULL_PATH TYPE STRING.
© 2006 SAP AG 4
***************************END OF DECLARATIONS*******************************
To specify Printer name
struct-tddest = 'LP01'.
To specify no Print Preview
struct-tdnoprev = 'X'.
To access the SAP Script output in OTF format
struct-tdgetotf = 'X'.
**************************SAPSCRIPT GENERATION*******************************
This Function Module is used to open a form for Printing. With out this function module you can't print anything in the form.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
APPLICATION = 'TX'
ARCHIVE_INDEX =
ARCHIVE_PARAMS =
DEVICE = 'PRINTER'
DIALOG = space
FORM = 'ZSCRIPT'
LANGUAGE = SY-LANGU
OPTIONS = struct
MAIL_SENDER =
MAIL_RECIPIENT =
MAIL_APPL_OBJECT =
RAW_DATA_INTERFACE = '*'
SPONUMIV =
IMPORTING
LANGUAGE =
NEW_ARCHIVE_PARAMS =
RESULT =
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
© 2006 SAP AG 5
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
INVALID_FAX_NUMBER = 8
MORE_PARAMS_NEEDED_IN_BATCH = 9
SPOOL_ERROR = 10
CODEPAGE = 11
OTHERS = 12
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'START_FORM'
EXPORTING
ARCHIVE_INDEX =
FORM = 'ZSCRIPT'
LANGUAGE = ' '
STARTPAGE = ' '
PROGRAM = ' '
MAIL_APPL_OBJECT =
IMPORTING
LANGUAGE =
EXCEPTIONS
FORM = 1
FORMAT = 2
UNENDED = 3
UNOPENED = 4
UNUSED = 5
SPOOL_ERROR = 6
CODEPAGE = 7
OTHERS = 8
© 2006 SAP AG 6
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
This function module is used to display for particular window and particular text element. In this FM you have to specify the name of the window and element. You have to call this FM as many times as the number of windows you have.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ELEM1'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
IMPORTING
PENDING_LINES =
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SELECT CARRID CONNID PRICE FROM SFLIGHT INTO TABLE ITAB.
LOOP AT ITAB.
CALL FUNCTION 'WRITE_FORM'
© 2006 SAP AG 7
EXPORTING
ELEMENT = 'ELEM2'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
IMPORTING
PENDING_LINES =
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDLOOP.
This is to close the form after printing. With out this function module you can't print any thing. It is mandatory to close the form at end of printing.
CALL FUNCTION 'END_FORM'
IMPORTING
RESULT =
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SPOOL_ERROR = 3
CODEPAGE = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT =
RDI_RESULT =
TABLES
OTFDATA = DATAB[]
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SEND_ERROR = 3
SPOOL_ERROR = 4
CODEPAGE = 5
OTHERS = 6
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
**************************END OF SAPSCRIPT GENERATION*******************************
Reward points if helpfull.
with regards,
Srinivasu..... -
Hi Experts
Thare are a few free examples that come with Adobe and they are located at
"C:\Program Files\Adobe\Designer 7.1\EN\Samples\Purchase Order\Dynamic Interactive\Forms\ ..etc.Purchase Order.pdf".
I can run and test out the form But don't know how to get to the programming codes behind the form to learn more about Adobe Form.
Could someone please show me how to view those codes? Thanks
Points will be rewarded for any reply.Hi Liem,
Just click the UI elements on the form and check the script written in the script editor. In the editor select "events with scripts" in the show checkbox. To show script editor go to windows-->script editor on the menu. That contains all the coding which is required to process the form.
For example click on the button "add item" on the purchase order form and see its events as mentioned above.
Hope it will help.
Regards,
Vaibhav Tiwari. -
Oracle Form : example of check box usage
Hi,
My form has colums A,B and C then a check box against each record like the following:
record 1: a b c checkbox
reocrd2: e f g checkbox
record 1o: x y x checkbox
AND I have 2 buttons on the form, they are 'Update selected record(s)' and 'Update all recors' respectively. Couls you tell me what is the best way to implement this? Any example codes?
Many Tnanks
MichaelHi Manu,
Could I ask you a couple queston about the following codes you provided?
1. This form has two date fields start-date and end_date, user needs to enter 2 field in query mode and then excute the query.
Only reocrds which meet start date<:block.expiry_date< end date conditions returned
So where is the best place to put this condition? pre_query/pre-select/on-select?
2. After records displayed on the screen, user then select the ones they want to change the expiry_date and clicked "
the updated selected" button. Then the following codes need to be put in pre-update trigger to make it happen. Couuld you confirm that?
DECLARE
Num_Total_Records NUMBER;
Num_Loop_I NUMBER;
BEGIN
GO_BLOCK(<BLOCK_NAME>);
FIRST_RECORD;
LAST_RECORD;
Num_Total_Records := TO_NUMBER(NAME_IN('SYSTEM.CURSOR_RECORD'));
FIRST_RECORD;
FOR Num_Loop_I IN 1..Num_Total_Records LOOP
IF <CHECKBOX> = 1 THEN
:block.expiry_date :=sysdate + 365;
END IF;
NEXT_RECORD;
END LOOP;
END;
Many Thanks
Michael -
Manual tabular form example.
Hi,
Need to create a manual tabular form in oracle apex 4.0.
Any example.
Thanks,
Yogesh Phadtare
Edited by: 947749 on Jan 23, 2013 8:55 PMHi,
Here is one that I have written
http://apex.oracle.com/pls/apex/f?p=64394:2:7739945988858:APPLY_CHANGES:NO:::&success_msg=1%20rows%20inserted%2C%200%20rows%20updated%2C%200%20rows%20deleted%2FAFB854A52A2F8EFAB00ED188BE63627B%2F
Username guest1
pw Surfing123
Google Skillbuilders Manual Tabular Form
Chris
Maybe you are looking for
-
How do I move contacts from 1 address book to another?
I have tried to "select" then drag and drop contacts from the Mac OS x address book, and vice versa, to the personal address book but nothing happens.
-
Unibody MacBook Pro sensitive spacebar
Just recently I've noticed my MacBook Pro picks up spacebar input on nothing more than a brush of the key. It's not sticky, just stupidly sensitive to touches. Unfortunately this means whenever I close the lid, the spacebar input is registered and th
-
Tables to find Invoice for a mocement type 101.
Hi, My requirement is to find out invoice for all the material which has movement type 101. So please I need flow logic and tables for this requirement . thanks Imran
-
Inserting historical data for flashback queries
We would like to start using this feature, but we have 10+ years of historical data changes in our tables. Is there a way to "load" these changes prior to enabling flaskback? Is there really a "point forward" only option? _mike
-
Cannot download app into the iPhone but the same app can be downloaded into iPad
I have downloaded google search app into my iPad but i cannot download to my iphone. At the AppStore I can see google search app but it does not allow me to download it, i.e the download icon is grey. Have removed the app from iTune library.