VF command to add a data source to a container in a page box 5

Updated on technology 2024-06-04
13 answers
  1. Anonymous users2024-02-11

    If you use Tomcat, Jetty or other web containers, you need to install third-party JTA plugins, assuming that JBoss containers are used here, you need to configure JNDI data sources in JBoss, for example, there are two MySQL data sources that need to be managed by JTA. You need to create two new data source files in the server default deploy directory of jboss, here only one file is taken as an example, the content is as follows:

    mysqlds1

    jdbc:mysql://localhost:3306/testrootroot

    falsetrue

    After MySQL completes the configuration of the JNDI data source, you need to obtain the JNDI data source in Spring, and configure the following parameters:

    Then define the JTA transaction as follows:

    With the declarative transaction template (**), a specific method for specifying the target class takes JTA transactions:

    propagation_required

    propagation_required

    propagation_required

  2. Anonymous users2024-02-10

    Data sources are typically added to the form.

  3. Anonymous users2024-02-09

    After selecting the page frame control, press the right mouse button, click "" in the pop-up window, and then you can drag the table in the control or data environment to the subpage box after selecting a subpage box.

    Supplementary reply: You can first drag the table in the control rent Sakura socks or data environment to the form, select the corresponding control, and then watch the page box Songhui control, and then paste the control or table over.

  4. Anonymous users2024-02-08

    When you add it, it's actually added to the outside of the page frame, you should right-click Sun Zhijian on the page frame, and then you can add content to each Mengling page of the page frame separately.

  5. Anonymous users2024-02-07

    That only shows that your pure ** is not put in the page frame!

    Common practice: (Form and page boxes are created).

    First select the page frame -- "mouse type high staring right button--".

    Click on the toolbar and the control to draw in the page frame -- "This is the first page frame in the mainland** practice, and then click on the other page name titles of the page frame, click on the toolbar **control, draw... And so on.

    ok?!

  6. Anonymous users2024-02-06

    Right-click on the page frame and select a different page to add a different **.

  7. Anonymous users2024-02-05

    After inserting a page frame in the form, open the page frame property Modify pagecount property to 3

  8. Anonymous users2024-02-04

    This problem occurs because before the page frame control, the entire page frame control as a whole is just a part on the form, so you drag and drop the table to the form after dragging, that is to say, the page box and the ** control are independent of each other. Therefore, changing the page frame after running the form is either invisible or does not change with the change of the page frame activepage. There are several ways to solve this problem:

    1. After adding the page frame control to the form, right-click the control, select "", and then click the label of the page frame to change the page, that is to say, you can operate on the corresponding page of the page frame, and the control you added is in the page frame. For example, if you select page1 and drag and drop the table control, the table control will be on the first page of the page box. 2,In the properties window,That is, the window that can modify the caption attribute of the form,You can find a drop-down list box,In it you can see the relationship between all your controls and the form,Of course, it also includes the page box control and the page number of the control,Select the corresponding page there,For example, page2,And then add the control to it。

    It should be noted that not only page frames, but also container controls, commandgroup, and optiongroup controls can also be used when creating detailed interfaces. If you still can't understand it, it is recommended to find some tutorials on the Internet.

    As for the ** control that is dragged and dropped from the data environment is too large, this is not a problem, this ** size you can modify. By modifying the columcount property of this control, you can also determine which columns to display at runtime. For example, if you set this to 2, only the first 2 columns will be displayed.

  9. Anonymous users2024-02-03

    It's as simple as holding down the CTRL key and clicking on the middle of the page frame.

    At this time, you will find that the perimeter of the page frame is surrounded by blue, and you can just put the ** in the original way.

    This method is useful for all container controls, such as container

  10. Anonymous users2024-02-02

    Click (Selected) on the form - Right-click Properties - Right-click Select - Click Columns to Set - Find "ControlSource" in the Properties window"properties, and select the appropriate data source.

  11. Anonymous users2024-02-01

    The view can also be added to the data environment of the form, but the commands in the form command are mostly sql statements, so there is no need to open the table and other operations... But it's recommended to add it first.,So as not to be troublesome when choosing a table.··

    According to the question, the answer is done... There's no problem... RecordSourceType=0 (the view is fully table-operational, so that's fine) and RecordSource=View Grade will allow you to display the contents of the view at runtime!!

    Exit the command button in the click event written:

    But sometimes the answer is as simple as that, concise and space-saving...

  12. Anonymous users2024-01-31

    Right-click - on the page frame, and you can proceed to each page frame.

  13. Anonymous users2024-01-30

    Select the page box and right-click to select it. A green color appears around the inside of the page frame. The same applies to other container-based controls.

Related questions
12 answers2024-06-04

Create a form, then add two text boxes text1 and text2 to the form to enter the user and password, respectively. Then add two buttons, called OK and Exit. >>>More

7 answers2024-06-04

a. Page numbers start from the second page.

1. Select "Insert - Page Number" to open the "Page Number" dialog box. >>>More

15 answers2024-06-04

I don't quite understand what you mean.

13 answers2024-06-04

When the value of the drop-down box changes, get the value of the drop-down box, then read the information you want based on that value, and then fill it in the gridview >>>More

4 answers2024-06-04

1.Place the mouse at the end of the previous page and delete it with del jian. If the blank side is the last page and the mouse is on the first line, you can select "Format" - "Paragraph", set the line spacing of this line to a fixed value of 1 point, and the blank page will disappear automatically. >>>More