Master form detail table delete and save all
I use jdeveloper 10.1.2 with jheadstart 10.1.2 I have a problem about delete and save in master detail.I create 1 master form ,1 detail table and 1 detail form in jheadstart.I want to delete details when I pressed delete button in master and I want to save all changes when I pressed save button.But delete and save are only work for master.So my detail data cant delete or save.What can I do for this problem?Thank alot.......
To delete the details when you delete the master, it is easiest to define the foreign key in the database with CASCADE option instead ogf RESTRICTED.
I cannot reproduce your issue with Save not working. Can you reproduce this using the HR schema?
Steven Davelaar,
JHeadstart team.
Similar Messages
-
Jheadstart 10.1.2 master form-detail table error
Hi everyone;
I use Jheadstart 10.1.2 and I have 1 master 6 detail table.I want to show master form and 3 detail table in same page. I configure pages in jheadstart and generate master form- detail table when module run it gives this error in detail tables place;
java.lang.RuntimeException: Range binding ALTERNATIF_SATICILAR does not exist in STOK_MASTERUIModel
at oracle.jheadstart.view.strutsadf.TableBindingFactory.get(TableBindingFactory.java:137)
at org.apache.taglibs.standard.lang.jstl.ArraySuffix.evaluate(ArraySuffix.java:221)
at org.apache.taglibs.standard.lang.jstl.ComplexValue.evaluate(ComplexValue.java:146)
at org.apache.taglibs.standard.lang.jstl.ELEvaluator.evaluate(ELEvaluator.java:242)
at org.apache.taglibs.standard.lang.jstl.ELEvaluator.evaluate(ELEvaluator.java:201)
at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:138)
at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:166)
at org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager.evaluate(ExpressionEvaluatorManager.java:109)
at org.apache.taglibs.standard.tag.el.core.ForEachTag.evaluateExpressions(ForEachTag.java:191)
at org.apache.taglibs.standard.tag.el.core.ForEachTag.doStartTag(ForEachTag.java:102)
at web2d__131_nf._page._STOK__MASTER._jspService(STOK_MASTER.jsp:872)
[SRC:/WEB-INF/page/STOK_MASTER.jsp:251]
at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:567)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:172)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
Thanks for all helps..........Which build of JHeadstart are you using?
kind regards,
Sandra Muller
JHeadstart Team -
Pagination for Master Form, Detail Table
Hi,
I am using JDev11.1.2.1.0
I am creating a page having master detail relationship (master as a form and detail as a table). On click of First, Prev, Next, Last pagination button of master should change the data and refresh child table data.
So created a Master VO & Child VO joined with View Link and dragged into page as Master form, Detail table. But during pagination, NEXT works once, then it seems to stop there. LAST works and FIRST & PREVIOUS seem to both go to the first record.
Can anyone suggest me when I went wrong.Yes Frank, its st. forward use case. I tired with master table with detail table works fine but master form with details table behaviors differently.
Below snippet of code in JSPX page master form detail table as shown below :
<af:panelFormLayout id="pfl6">
<af:panelLabelAndMessage label="Name:" id="plam1">
<af:outputText value="#{bindings.EMP_NAME.inputValue}" id="ot2"/>
</af:panelLabelAndMessage>
<af:panelGroupLayout id="pgl15" layout="horizontal">
<af:commandButton text="First"
disabled="#{!bindings.First.enabled}"
partialSubmit="true" id="cb1"
actionListener="#{bindings.First.execute}"/>
<af:commandButton text="Previous"
disabled="#{!bindings.Previous.enabled}"
partialSubmit="true" id="cb2"
actionListener="#{bindings.Previous.execute}"/>
<af:commandButton text="Next"
disabled="#{!bindings.Next.enabled}"
partialSubmit="true" id="cb3"
actionListener="#{bindings.Next.execute}"/>
<af:commandButton text="Last"
disabled="#{!bindings.Last.enabled}"
partialSubmit="true" id="cb4"
actionListener="#{bindings.Last.execute}"/>
</af:panelGroupLayout>
</af:panelFormLayout>
<af:table rows="#{bindings.EmpSchemesViewObj1.rangeSize}"
fetchSize="#{bindings.EmpSchemesViewObj1.rangeSize}"
emptyText="#{bindings.EmpSchemesViewObj1.viewable ? 'No data to display.' : 'Access Denied.'}"
var="row" styleClass="AFStretchWidth" autoHeightRows="5"
columnStretching="column:c2"
value="#{bindings.EmpSchemesViewObj1.collectionModel}"
rowBandingInterval="0" contentDelivery="immediate"
selectedRowKeys="#{bindings.EmpSchemesViewObj1.collectionModel.selectedRow}"
selectionListener="#{bindings.EmpSchemesViewObj1.collectionModel.makeCurrent}"
rowSelection="single" id="t1"
partialTriggers="::cb1 ::cb2 ::cb3 ::cb4">
<af:column headerText="#{msg.LONG_NM}"
sortProperty="#{bindings.EmpSchemesViewObj1.hints.REGISTERED_NAME.name}"
sortable="false" id="c1">
<af:outputText value="#{row.REGISTERED_NAME}" id="ot9"/>
</af:column>
</af:table>
Edited by: 879073 on Jan 22, 2013 3:36 AM -
Hi,
Jdeveloper Verison: 11.1.2.1.0
I m creating a master detail form .
hr_feedback_mt
id_feedback
employee_no
id_training_program
trainer
location
attended date
hr_ratings_tt
id_feedback
id_question
rating
hr_questions_mt
id_question
question
I have created master EO and VO for hr_feedback_mt, hr_ratings_tt. created associations and viewlink between EO and VO's.
On the form I have dragged the master VO from the data control as form, and detial VO as editable table.
On master from i clicked createinsert operation and filled the attributes. on details table, i click on createinsert operation, it creates on row in the detail table.
But actually when i click on createinsert operation of detail table, i need to display all the questions(rows and the ratings so that user fills all the questions.
on commit master and detail should be saved into the database.
How to achieve detail table to show all the questions on one click of createinsert operation and user fills all the questions and ratings.There is no automatic insert of all possible question in the detail table. You have to do this by hand in a beam method or better in a service method in the Application module or VO.
Timo -
Is it possible to delete and drop all database without describe table after table, sequence after sequence etc??
you mean just do it , with one single statement yeah you can.but be careful that this is irreversible.It can be done it in 2 ways:
1-launch dbca and choose Delete database,provide credentials and proceed.
2-from sqlplus, mount your database in exclusive restricted mode and issue drop database.
SQL>startup mount exclusive restrict
SQL>drop database
both yield same result
see http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#i1009497
or
http://download-east.oracle.com/docs/cd/B14117_01/server.101/b10759/statements_8009.htm
for details. -
I have been using Google Calendar, and syncing info from it to my Mac, iPad and iPhone. Now that all the info I originally entered into Google Calendar is on my Apple devices, can I turn off syncing it and save all the events, birthdays, etc. that were put into iCal up to this point? I have only been adding to my iCal via the Mac, iPad or iPhone for several months now, so it seems silly to keep using Google Calendar.
Unless you have backed up your iCal data, there is no way to retrieve the now missing data. To easily back up your calendar data, simply choose the Back up Database… option under the File menu in iCal.
Microsoft cautions users that deletion of the Entourage calendar in iCal—without first disabling the synchronization function with Entourage—will result in exactly the outcome you see.
If you have not subsequently synchronized with .Mac since you deleted the iCal calendar, you can selectively restore calendar files as a collection of calendars from .Mac by using the Reset Sync Data… option in the .Mac preference pane by launching System Preferences, pressing the .Mac icon then the Advanced tab, and waiting for your client list to update. Once you've done that, press the Reset Sync Data… button, choose Calendars from the drop down menu and pick the option to replace the data on your Macintosh with data stored on the .Mac servers. -
i synced my iphone 5 with my computer and save all the photos to my phone through itunes. i restored my mac and lost all my photos on the mac but i still have them on my phone. how do i get them on my new mac now?
how do i get them on my new mac now?
Be careful, when you connect the iPhone to your mac, unless you have saved the photos. Synced photos may easily be accidentally deleted by syncing again. And do not enable iCloud Photo Library (Beta), that will erase synced photos as well. Synced Photos are not included in the device backups.
Set your iTunes Preferences to "Devices > Prevent iPos, iPhones, iPads from syncing automatically". Otherwise iTunes may launch and sync your iPhone with an empty iPhoto library the moment you connect it.
Unfortunately, it is not possible to sync the synced photos back. Apple recommends to mail them back, but that would be a lot of clicking (iTunes: Syncing photos - Apple Support). You could also share them to a Shared Album, but a third party app like TD recommended, will be better. -
Cannot delete and save a bracket in custom controller
hii all,
I am getting a strange problem.I have long methods in custom controller.
The final end bracket at the bottom is giving an error:unmatched bracket....When i try delete and save it, itz not getting saved....
I cant find a solution to this.Please do help out.
Thanks,
Parama.Hi Parama,
This is a small but a very common problem.
Its only a matter of finding out the missing closing bracket that you must have deleted by mistake.
The way to solve this problem is to take one method at a time.
Double click on the opening bracket of your methods. The only code that should get selected, must be the code belonging to that method only.
If so, then there is no problem with brackets in that method. Repeat with the next method.
If not so, then go into the code & repeat the above by double clicking on the opening brackets of all the for/if/while/try-catch/ etc statements.
This way, you will be able to quickly & systematically findout the missing closing bracket.
I hope this helps in resolving your mystery of the missing bracket..;-)
Regards,
Hanoz -
Condition on Page Button - Delete and Save
I have condition not to delete are Update changes on the records which are Linked to Other records in the table so that those does not get orphaned. I am trying to do that with PL/SQL function returning Boolean .
I Code goes like below.
<Code>
Declare
v_found NUMBER := 0;
BEGIN
SELECT count(*) into v_found from cases
WHERE lower(REGION) like lower(:P21_ID);
IF v_found = 0 then
RETURN true;
ELSE
RETURN false;
END IF;
END;
</Code>
But
The condition does not seem to be firing right and I still see the DELETE and SAVe buttons on the page. Am I going wrong somewhere?Hi,
Have you try write that as query and use Not Exists condition ?
And you use like without %
SELECT 1
FROM cases
WHERE lower(REGION) like lower('%' || :P21_ID || '%');Regards,
Jari -
I have an mac air and an iMac 5k - pages runs on both. I use pages on my air and save all my documents to iCloud drive. I can see the documents on my iMac but some won't open in pages which is bizarre? They will open if I change it to open with preview but then all I can do is read it - I can't add to the document - All I want is to be able to see all my documents on all my devices and to be able to have them sync so I can add to the documents from any of my devices. I also have an iPhone 6 and an iPadair2 but I would be happy just to have the iMac and macair sync for starters. I have folders within folders in my documents,. The folders which contain pdf's and individual files open OK . The one I am having difficulty with is the file which I use for ongoing correspondence - in other words it is quite long - I keep adding to it ( by copying letters in and letters out so I can see a sequential history of what has been going on by scrolling down ) in date order so that it could be 1 - 100 pages long - but I don't think the size is a problem. I don't understand why some folders can open and others not . Has anyone any suggestions please. I have been trying to get this to work for months since iCloud drive came in. It has got much better but it is still not good enough - or maybe it's me?
All I can suggest is that you open that file on the MBA and save it as a new file, then see if you can open the new one on the iMac.
-
Pass Values to Edit Form thru Query String and Save in List
I have developed a custom Edit form from SharePoint Designer and I am passing values thru Query String as below;
http://<>/cli/acc/Lists/GIInfo/testEdit.aspx?ID=262&com=POD_Send
And, user supposed to save the form directly without changing the values came thru Query String as below.
Now, issue is, when user saves the form, values is not getting saved. It saves when we change the value in text box or when we do a text change event in form. Becasue data binding says Text Change even in data binding property.
__designer:bind="{ddwrt:DataBind('u',concat('ff22',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Actions')}"/>
Kindly guide me what is the issue, or correct approach to do that? I want to pass values to Edit Form thru Query string and save in List without changing those.
-Rajesh A.I know this is late, but i found a very good solution on this post and credit goes to the author.
https://social.msdn.microsoft.com/Forums/sharepoint/en-US/4be1be38-0663-4b80-8f28-45f38f98f9d0/sharepoint-designer-2010-custom-newformaspx-data-in-textbox-fields-dont-save-on-submission?forum=sharepointcustomizationprevious
The issue was resolved by changing the textbox values,
<asp:TextBox runat="server" id="ff1{$Pos}" Name="Title" Text="" Value="{$Destination}" __designer:bind="{ddwrt:DataBind('i',concat('ff1',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}">
instead of
<asp:TextBox runat="server" id="ff1{$Pos}" Name="Title" Text="{$Destination}" __designer:bind="{ddwrt:DataBind('i',concat('ff1',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}"> -
Is there a fix to deleting already deleted address book contact, from messages search? i.e. when you type in say letter c in messages search, all contact with a c, past already deleted and current all appear? How do you make the old deleted ones appear?
only way is to restore the phone as new. OR wait until IOS 7 comes out in the fall.
-
How to add Save and Save All to a toolbar in Dreamweaver?
How do you add Save and Save All to a toolbar in Dreamweaver? Selecting File Save All is not very efficient. I am looking for a one button click.
Where can you right click and select Save?
Right-click on a document tab (or anywhere in the dark grey area next to the tabs)
Save/Save All buttons on Standard toolbar -
I lost my hard drive in my old computer, replaced the computer, merge didn't transfer the I-Tunes files, I have them on my I-pod, any way to get my songs back in my computer w/o deleting and reloading all the CD's?
What is the make and model of this recorder? Do you have that information available?
You can still use iTunes to transfer and manage your recorded audio.
iPod: Recording voice memos
B-rock -
I just bought a Macbook Air. I also have an external harddrive for which to transfer and save all my existing music from my PC. Will I have any troubles with iTunes recognizing where my music is located if I keep it on the external harddrive and not save it on the computer's harddrive?
Just be sure to Follow the steps here to transfer your iTunes to an External Drive...
Backup iTunes to an External Drive
http://support.apple.com/kb/HT1751
Maybe you are looking for
-
I want to use my Photoshop CS4 for windows on my iMac.
I have tried the Adobe site, tried to phone ( no answers and then cut off), left messages...to no avail. How can I use my CS4 on my iMac - I am not inclined to spend ridiculous money on a new licence. Thanks to anyone who can help me. Adobe site and
-
LDAP user no longer able to log in
We have CQ 5.3 set up using LDAP authentication. We have one user who has been using CQ with her AD Userid/password for over a year with no issues, but she came in one day and now it's saying her user id and password don't match. We've tried on mult
-
Limiting access to copyright-restricted material on a web server
Hello Folks, I know this is close in topic to some other recent discussions but please indulge me here. I have access to a stand-alone web server running OS X 10.5 server. I need to limit access to some copyrighted material on that web server to staf
-
Flash 10.3 not recognized in IE9 on W7x64
System specs Windows 7 Pro 64bit (not SP1 yet) Intel I7, Boot drive RAID 0 SSD Norton Internet Security MalwareBytes Anti_Malware PRO (no malware found) Downloaded and installed latest nVidia GT9500 drivers Problem Details and attempted solutions Exp
-
Read custom field's values in GRAC_UIBB_ACCESS_REQUEST
Hi All, We have added new fields in webdynpro component: GRAC_UIBB_ACCESS_REQUEST and displayed new fields in front end. Enhanced above webdynpro component but not able to read those new field's values inside the enhancement, as the context doesn't h