Navigation between ionic pages 3 - ionic-framework

I'm having trouble with navCtrl.push. The flow is as follows:
n pages' 1.1, 1.2 and 1.3` I can go back and forth as many times as I want, but when I click the back button I need to return on page 1.
To go to the next page I use the button click event like this:
(Click) = "quickAccess ('Page1.1')"
And to go back I add navPop to my navbar` button.
THE MISTAKE
When I click on the back, you are returning parts for the pastes of pages 1.2, 1.2 and 1.3 if I have navigated 10 times between these pastes it will return the 10 times.
ATTEMPTS
I'm trying to follow the following thinking when I navigate for example from page 1.1 to1.2 I should remove '1.1and so on, but I'm having this problem, how do I do this, already tried to index byView name` but none of them work.
PLEASE NOTE
It is important to know that there are other pages prior to PAGE 1 the flow with problem is only in this case, in the rest everything goes as expected.

I found the problem!
According to this inssue no ionic team:
https://github.com/ionic-team/ionic/issues/12238
An error is occurring in the structure, a solution for installing the fix via npm as reported in inssue:
npm install ionic-angular # night
So my .remove () works perfectly now.

Related

Laravel Backpack devtools add-on not working?

I'm having an issue with devtools.
I just did a clean install of Laravel followed by new backpack install. During the install when I was prompted to install paid add-ons, I went to the backpack site and purchased "backpack pro" and "devtools". Went back to installer and installed both add-ons. Everything worked as expected with no errors.
Then went to http://project.test/admin. Registered an admin account. Logged in. Then went to http://project.test/admin/devtools. App/Models/User is shown on the models screen so I clicked the generate CRUD button. It seemed like it was doing something, but I didn't see anything change.
Now on the Models screen, the "Generate button" under actions is disabled and the disabled class is present on the button in the inspector. The CRUDs link in the top navbar links to nothing (a href="#").
So now I click the "Generate All CRUDs button". It pops up the green notification which displays "CRUD generated for: " nothing, it doesn't show a CRUD name.
When I click the "See files" button on the model, it shows a list of all the files it created except the Route link and the Menu link are disabled.
I'm not sure if missing something - what do I do now?
NEW INFO
I finally found an error. Creating a new model with migration works. However, when trying to generate a CRUD for any model, I get this error:
str_repeat(): Argument #2 ($times) must be greater than or equal to 0
It's happening in the middleware:
App\Http\Middleware\CheckIfAdmin
in the handle function on line 66. Line 66 is: return $next($request);
I've just create a new Laravel app and followed the steps to add the PRO and Devtools repo.
I did the same as you did, opened the "Models" and saw only User. I made sure I deleted the user migration before as you said that Models without migration wouldn't work.
I clicked Generate CRUD, and got the green notifications.
This is what I get when I click on See Files
https://prnt.sc/t7kbQme68yVM
Route and Menu are disabled because it's a feature we are still working on, nothing that impacts the application.
If your issue persist please open a issue report on https://github.com/Laravel-Backpack/devtools-issues
UPDATE: We found a situation where that str_repeat could trigger, we are working on it and will patch it ASAP. I will let you know here when we do it
UPDATE 2: It was fixed. Thanks for the report!
Cheers

Script doesn't want autoload Facebook-Wall-Module (Joomla)

I try to build a little "social-media-wall" with Joomla 3.4.8. and the "Facebook Wall"-Module (Vers. 8.2) from WebKul.
Example:
On Page 1 I let show the last Post from Rihanna's Facebook-Wall, on Page 2 I let show the last Post from David Guetta's FB-Wall.
It works!!
Now I want to show this two Sites in rotation. Forethat I use a little "Browsershow"-Code. This Code shows this two sites in an iframe. If site 1 ist shown, the Code load/refresh in the background Site 2, and if site 2 is shown, the Code load in the backgroud Site 1.
And now the Problem: On some Desktop-Computers, the browsershow doesnt show the Facebook-Box (only one time directly after the start of the browsershow).
It seems, that the Code cannot load the FB-Box automaticly.
I don't know why. At home, the Box is showing on all Computers (all browsers), but on work, the box is invisible (in all browsers)
Do you have any idea, why? Is there any conflict or problem in the site-code?
Please take a short look at:
http://www.social-studio.de/browsershows/browsershow_2.html
Sorry for my complicated explaining & thank you for help!
Best regards,
Christian

Page is not loading properly with editor.html in the url AEM6.1

My page is not loading properly with the url having "editor.html" (http://localhost:4502/editor.html/content/mypage.html). But when I remove editor.html, it loads perfectly (http://localhost:4502/content/mypage.html).
I am using AEM6.1. If I open the page in classic UI, its looks good. But when I open it in touch UI, its not loading properly.
I already have a property "sling:resourceSuperType = wcm/foundation/components/page"
Some of the content is coming on the page.
It can be a JS issue, but even if I remove all the js files from my component, the issue is still there.
Anyone experienced the same issue?
This issue might be due to the 'Apache Sling Main Servlet' default configuration.
And also we can observe the error message 'components could not be loaded' or 'out of memory' in browser console when we are in Touch UI editor Mode.
By default 'Apache Sling Main Servlet' is configured with 1000 calls per request. If we increase this limit then the issue will be resolved.
For updating this follow the steps.
1. Go to the http://<host>:<port-number>/system/console/configMgr (ex: http://localhost:4502/system/console/configMgr)
2. Ctrl + F and Search for "Apache Sling Main Servlet".
3. Change the value of 'Number of Calls per Request' from 1000 (defaulut value) to 1500 or 2000.
4. Click on Save.
5. Now you can go to Touch UI edit mode and can be able to edit the components.
Check in your CRXDE under the folder /libs/wcm/core/content and look for a folder called "editor.html" with the sibling of just "editor". If you delete the editor.html folder and keep "editor", then your page will start working again.

Trouble executing example apps in Examples.xcworkspace , XCode tries to execute them all at once

Thank you for taking the time to read my question. I am quite new to server side development, but do have some experience with Swift.
I opened Examples.xcworkspace.
So my issue is that I am trying to run Tap Tracker, and
1) when I run it I get this in the output terminal (I think the route of the issue must lie here):
2) when I go to the URL, it returns the data from the URL Routing example only
3) when I press the button on the iOS app, it returns the following:
I'm trying to get TapTracker to work on its own, I know that if I open the project on its own and then add PerfectServer and PerfectLib to the project it works, but how do I just run TapTracker if I'm opening it in Examples.xcworkspace?
I'm not sure how you started the program. But I can tell you how I run it successfully.
To execute Tap Tracker only, select Tap Tracker button on the upper left corner of Xcode.
Select Product -> Run
Then you'll see Tap Tracker running on your device.
Tap Tracker needs a corresponding server(Tap Tracker Server) so that it can work.
You can start Tap Tracker Server using the same way as you start Tap Tracker.

Handling pop ups using selenium with perl

I want a solution for the following scenario:
In a page I am uploading an xml and while clicking on the upload button I am going to recieve an pop up for confirmation (I am able to detect this), after this again I am recieving an pop up which I am not able to detect (The page is still getting loaded in the browser ). Kindly help me to sort this out .
I have tried with many solutions for this like: get window ids,titles .
Thanks
You can you use -
$sel->get_confirmation()
This retrieves the message of a JavaScript confirmation dialog generated duringthe previous action. By default, the confirm function will return true, having the same effectas manually clicking OK. This can be changed by prior execution of thechooseCancelOnNextConfirmation command. If an confirmation is generatedbut you do not get/verify it, the next Selenium action will fail.
NOTE: under Selenium, JavaScript confirmations will NOT pop up a visibledialog.
NOTE: Selenium does NOT support JavaScript confirmations that aregenerated in a page's onload() event handler. In this case a visibledialog WILL be generated and Selenium will hang until you manually clickOK.
Returns the message of the most recent JavaScript confirmation dialog.
You should always refer to WWW::Selenium - Perl Client while working with perl and RC.
I have found what is the problem #amey ...I am tring to upload an file which is not actually not permitted due to some security issues with firefox... There was actually an work around for this
http://cakebaker.42dh.com/2006/03/29/file-upload-with-selenium/
.....Which will not work with latest Selenium RC with Firefox since firefox have removed the support for enablePrivilege
https://support.mozilla.org/en-US/questions/944433.
So it is a mandate to shift to WEBDRIVER it seems.............
http://git.erp5.org/gitweb/erp5.git/commitdiff/06898bbfae4f238b7e79ce05048646529216064e
Thanks for your support....
my solution was using the function:
$driver->execute_script("Events.invokeEvent('UserDetailPage:UserDetailScreen:UserDetailToolbarButtonSet:UserDetailToolbarButtons_DeleteUserButton_act', true);");
analyzing what the javascript code does when the Accept button was pressed. and executing that code in the function.