Issue during manually enter sub-menu using query in joomla 3.4 - joomla3.0

As per client requirement in Joomla 3.4, I have to add menu manually from admin custom component.
I added menu successfully in table but due to LFT and RGT filed for position menu in front side create a problem to display properly.
I added sub-menu under parent menu and display sub-menu on other parent due to position problem. I checked it in database but change position of all menus on every entry automatically.
Not understand how its count.
Can any one have a idea or suggestion how to enter menu using query?

Related

How to dynamically add a new form step to react multi-page form for each selected item on the first page?

I need a bit of direction. I'm working on an application with React, Typescript, and Material UI. I've created a simple modal. The first page contains an MUI DataGrid with checkSelection enabled. The User can select as many options as appear on the table.
Now, for each selection, the User will then have a new form step to complete. So, if the User selects 5 items from the table, they will then see 5 corresponding steps. The form steps are tied to the selection. So, if the first selection is a menu item, for example, then the next step in the form will be about that menu item, with fields to add to that item.
I've been searching for a similar solution and haven't found one. I'm hoping that someone can point me in the right direction or has some sources they can recommend.
Much appreciated.

Tabbed Reports in SSRS

I have been working on reports in Sql Server Reporting services and I am trying to create a tabbed report.
I wish to have a main report which read in parameter details from the user then in the report there are tabs to other reports which use the same parameter details entered by the user on the main report.
Anyone got any idea how to go about this ? Have tried creating subreports but it doesnt quite create that overall feel of a tabbed report.
There is no native feature for tabs, but you can create that functionality with a combination of existing features.
Add textboxes along the top which will be your tab names.
Add a hidden parameter which will track which tab is selected. Have the first value selected by default.
Add an action to each textbox which goes back to the report with a specific value passed to the parameter.
Add an expression to the border properties of each textbox so that you can visually see which one is selected. For example you can remove the bottom border for the selected tab.
Add a visibility expression to everything else on the report so that the items only show up when their tab is selected.
Now each time you click a tab, it will refresh the report and show that tab highlighted along with the content it contains. It's a lot of steps, but it's the best workaround I've found for this feature.

Select box automatically opens on clicking button in Chrome Android and Chrome Responsive Mode using IONIC FRAMEWORK

Short description of the problem:
I have a form in which a group of fields in repeated based on an array of objects.
There is a button which pushes an object into the array. So the user can add as many groups as he like one by one.
There is a select box as the first element of this group.
However, upon clicking the button, the select box is opened automatically after the new group appears.
Steps to reproduce:
1. Visit http://52.66.117.243/app-test/ for testing.
2. Scroll down and click on add more button.
3. The new select box for title automatically opens
Chrome in responsive mode is also able to reproduce the problem
I think the issue might be due to the click event passed on to the newly added select box since the position w.r.t screen of the button is occupied by the new select element. However, I cannot be very sure.
Interestingly, a small timeout before adding of the new elements seems to solve the problem.
If the problem is indeed the click event being propagated, can someone be kind enough to explain what is causing it, event bubbling/capturing on the ng-click or something else ?
Thank you.

MS Access 2016 Open Record on Click and Then Be Able To Go To Previous Or Next Record

Long time reader first time poster here. I have basic knowledge of access coding but nothing fancy. Anyways here it goes. I have coded on click from a Tubular List in access of our products table to be able to open up a certain specific file. When I click on a product name or SKU it does just that and opens that specific record for me called (Product Profile Form). AWESOME! I have on that Product Profile Form Next and Previous Buttons to go to the next or previous records. But if I go through the Product List and click on the Product Title. It Opens and If I then click Next or Previous record Button it first shows a blank Product Profile but on the next click it says "You cant go to that specific record" in a pop up. The Code Macro I have on the Tubular Product List Form is
/ Form Name: Parent Product Profile Form /
View: Form /
Filter Name: /
Where Condition=: ="[Product Parent SKU]='" & [Product Parent SKU] & "'" /
Data Mode: Edit /
Window Mode: Normal /
Parent Product SKU is The Primary Key Field Name in my ParentProductTable
I have tried and tried to figure this out for hours online and here.
Thank you all for any help.
Ok I solved it myself and if anyone else has this same issue the resolution is this. Make a command button on your form. You will have to run a few different macros for the on click event for the command Button. For the Next Record Button After clicking where you want your command button to go on your form the Command button wizard will pop up. Choose Record Navigation in the categories box and then choose Go To Next Record in the Actions Box. Finish the Command Button Wizard. Then Right click the button and choose Build an event. This will open the Macro Tools. Click add new action and choose the Macro RemoveFilterSort.After that if you hover over the macro RemoveFilterSort you will see green arrows to place your macros in the order you want. Click the green arrows up until it is first at the top. Click Save and then exit. Now you should be able to go to the next record. Do the same for the previous record except in the command wizard pop up choose Record Navigation in the Categories area and then choose Go To Previous Record instead of like before we chose Go To Next Record. I am using Access 2016. What you basically did is told the button to remove the filters before moving on to the next or previous record. If you dont want to make command buttons and use the access supplied navigation buttons at the bottom. You can make a command button with the macro RemoveFilterSort only and you will have to click this button to remove the filter then you can click the Access supplied navigation button. I hope this helps someone.

Added row is not visible until scrolling

I've built a simple master - detail form consisting of a form for the master element and table for the details.
In the toolbar of panel collection around the table I placed a CreateInsert button which ads a row to the table. My problem is that I this row is invisible until after I move my cursor over to the table and scroll down. Then it appears.
Before that a small scrollbar appear after pressing the button which can't be pressed.
Related to this is the problem when I press the delete button in the details, the table gets cut in half. I suspect these two problems are related.
This is my table:
This is after I press CreateInsert. The table should add another row below this one, and it does, but it is not visible until after I scroll. This happens only for the first row.
I am using JDeveloper 12c with Oracle ADF Fusion Web Applications.
This is a late answer I know , but try to programmatically refresh the PanelCollection and its container.
AdfFacesContext.getCurrentInstance()
.addPartialTarget (getThePanelCollection());
AdfFacesContext.getCurrentInstance()
.addPartialTarget (getThePanelCollectioncontainerLayout());
I tried this myself and it solved the problem after trying many other solutions.
Did u check with the Size.?
Try giving Styles for Table and Panel Collection "StyleClass=AFStretchWidth"
Add Execute in binding side of the jspx page for the particular table
Add invoke action for the execute in executables
Change the properties to render model in refresh condition of the invoke action
It will automatically make the master table to trigger the new values
Thanks

Resources