Community Questions & Answers
Tableview and modal windows data
Hi there, I have created a tableview, and then when a row is clicked it opens up a modal window. This all works perfectly and as it should. But, I am having trouble sending data to the modal window, can this be done? I want to send the date that is...
iPad Modal window and hiding keyboard on blur
So, I am working on a project where I use a modal window (MODAL_PRESENTATION_FORMSHEET) on the iPad in which the user can see the settings for the app. The problem is that when they first enter a textfield and the keyboard shows up, running...
Keyboard not hiding upon blur() on iPad
Hi everyone, Have anyone had a problem where the `blur()` function was removing focus from the textField but wasn't hiding the keyboard? I'm running on iPad (SDK 2.1.4, a little old, I know, but that's another topic) and noticed this happens on a modal...
Modal Window Does not react to activity indicator properly in titanium
Hi My question is what i though bug in titanium appcelerator.The activity indicator works very fine without making a modal window in titanium but it does not react properly when the window is modal.Have anybody seen this problem using titanium with...
Reviving a Topic - Modal Windows and Opacity for FORMSHEET Modals
Hi all- I wanted to see if others have revisited this topic over the past 3 years, and have alternate solutions (much of how is in kitchen sink, and most applications that create modal popups that are smaller than an iPad screen). I am looking to open a...
Make user sign/create account before processing
I need to force a user to login/register when firing an app in ALLOY. Sorry a newbie here and I am sure this is really easy...but after 20 hour coding session (and getting other stuff to work) this one has me stumped.
Open a new window behind a modal window while is being closed
Hello everyone, my app needs this: open a fullscreen modal window, a login form, when the user press a button the window is closed (disappears on the bottom) and a new window is already opened behind while the modal one is being closed. Instagram do...
dismiss 2 modal views gets error
HI! I have 3 views. A present B modally, then B present C modally. when user selects item on C i want to dismiss both C & B and return to A. in C i implement so it will call ~~~ window.close() ~~~ and post notification to B when selection is made. B...
Modal pop ups and opacity
I'm following the Window (stand alone) example in trying to create a modal popup (Open animation fun on kitchen sink). The example button do not inherit the transparency but when I try to use an image it does. I've tried setting the opacity to 1.0 just for...
Close modal window on form submit.
I am opening a modal window to have the user enter some text into a textField then on submit I am passing that text to another page to display a list filtered by the text just passed. This all works great the problem I am having is it is opening the page...
Modal Window Smaller than Full Screen
In the image example for Modal windows ([here](http://img.skitch.com/20100406-bqb3f8pb6e4ger7wkcdcw5mbar.png), [Window API Reference](http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.Window-object)) The modal window is shown smaller than...
Alloy + Window (modal) : Refreshing issue with the simulator...
Does anyone faced or know a solution for that problem: CONTEXT - A Window containing a TableView. - This Window is opened as modal - $.window.listener('open') populate the TableView with some Titanium.App.Properties() - No bug, No exception.. All Run...
POP-UP window :)
Hello folks, Yesterday I'm able to create my own pop-up window.. and as what i promised with Sir. Trevor (a.k.a thewarpedcoder) i'll share this code to you :).. In this pop-up window i use 3 objects.. The window (container of 2 views) -createWindow 1st...
Open a modal window AFTER modal window has finished close event, call back or anything
I have 2 modal windows in a titanium iOS app. win1 is open. I want to close it, then when that is finished animating, open modal win2. so pseudo code of what i want would be: `win1.addEventListener('onclosecomplete', function(e) { ...
DatePicker in a TextField
Hello, I'm new in Titanium Studio and I want to do a DatePicker in a modal display when we click in a TextField element. I saw exactly what I want with jQuery mobile : [Mobiscroll](http://demo.mobiscroll.com/#display=modal&theme=sense-ui) Is it...
Close event on a "page curl" modal window
It seems that the close event is never fired on a window with a "partial curl". Hitting the curl closes in fact the window, but the "close" event is never listened (changing the modal transition and adding a real "close"...
Open emailDialog in TableView
I would like to open the modal of emailDialog inside the TableView. Right now I it opens a new window, since I open mail.js (which contains emailDialog). It works, but I don't like this new window. I prefer to see the modal right away. Now I have been...
Modal dialogs on Android 4.1 (Jellybean) don't blur the background
When I open a modal window in Android 4.1, the background window doesn't get blurred and dimmed so it just looks like I have two windows on top of each other. Any solution to this?
concept question about navbar in modal window
i have a situation in an app where a user has a prev/next to display windows - and this could be 1 or 50 views either way - since i dont want the prev/next in new nav window (a user could have to use "back" a number of times) i thought about...
Window.setTitleControl not worked
I've been developing a big iOS application so I cannot post all source code. Each window, I have 3 buttons combined in a View and set this View as window title by using setTitleControl (they look like Facebook mobile app) but they are not show at every...
Android modal window always fully cover other window
I want to make a popup window like the following pic:  But when I set modal property to true, the created window always fully cover other...
adding toolbar to mapview in a modal window
i have a modal window that im adding a mapview to - i'm now trying to add a toolbar to that modal so i can show the sat type, zoom etc this is the normal code i'm using elsewhere in a normal window containing a...
Open window within a window to retain top navbar
No matter what I try, I can't preserve the top navbar so users can go back. I'm new to windows and modal and can't get it to not load over the entire page and navbar. ~~~ // create main day window var dayWindow =...
I need a modal window like as offering Appcelerator with Facebook Login
I need a modal window like as offering Appcelerator with Facebook Login. Any idea??
Can't create a modal window in 2.1.3
I opened a project from last year, and when compiled in 2.1.3GA I get this warning: `[WARN] Trying to open a new window from within a Modal Window is unsupported.` I had been opening a modal window at launch: ~~~ wIntro.open({ modal : true, ...
ActivityIndicator pops up underneath heavyweight window!
Hi, My application has a root TabGroup as the base. I am poping open heavyweight windows over the tabgroup to display information as required. Sometimes I have the need to display things modally from the pop-up window. Eg: Case: ---- Tabgroup opens...
Setting Partial Curl Distance
In the Kitchen Sink app, in the section that previews animations for modal windows, the Partial Curl demo on curls the page up halfway, but when I add this into my app, the page always curls up 95% of the way. At first I thought it was because of the...
Modal Transition Flip shows back BEFORE flipping
I got a simple modal window that opens like so. ~~~ _mapWindow.open({modal: true, modalTransitionStyle: Ti.UI.iPhone.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL}); ~~~ The window is built like so: ~~~ var _self = Ti.UI.createWindow({ title:...
Modal Window in Android
I trying to create a modal window that when opens will cover approx 80% of the previous window. The screen that I'm getting is fullscreen, completely covering the prior screen and displays the nav bar even though I have set navBar set to false. Here is...
How to open table view in the middle of the list?
I have a large table view with calendar events in it, sorted by date, that is dispalyed in a modal window that pops up. Is it possible to open the table view halfway down the list, displaying the event nearest to today's date (say for instance the events...
Window Open Transition Issue
I have a problem when I want to open a window with a transition. When I click the button the window opens first then the transition happens. So what you get is: - Window A is the one that open when the app starts - Click button - Window B opens - Window...
Modal window can some one tell me why we need to use it or the utility of the modal windows
hi, I never understand why model windows exist and witch is the utility of this. Thanks
Datepicker shows behind modal
Hey developers, I've got a modal with a little form in it wich I create like this: ~~~ var modalWindow = Ti.UI.createWindow(); modalWindow.open({ modal : true, modalTransitionStyle: Ti.UI.iPhone.MODAL_TRANSITION_STYLE_COVER_VERTICAL,...
How to get a reference to the currently open modal window (in push notification callback)
Hi, I have an app that I sometimes send push notifications to. When a push notification arrives, I use the callback to switch to the correct "news" tab that is related to this notification. However if a modal window is open at that moment, it...
How to open navigation group within modal window?
Basically how do I do it? In my iPhone app I want to open a modal window (that slides up from the bottom), and then from inside that window be able to move left/right or back/forward through a navigational hierarchy. How would I go about doing that? All I...
Is it possible to trigger "go back" event for the parent window by a modal window (trying to implement modal "sign in" form)
Hi, I am trying to implement the following flow. There is an app with different tabs, links, buttons, etc.. Most of those windows are powered by data that is retrieved via HTTP. When I make an HTTP request, I can receive two general responses:...
Problem with Modal Window duplicating
I have a modal window with a UI Picker it loads properly and closes properly the first time it pops up. The second time it runs there are 2 UI Pickers, the third time it runs there are 3 UI Pickers, etc... I am closing the modal properly and it is being...
FORMSHEET Email Dialog on iPad
[This Link](http://docs.appcelerator.com/titanium/2.1/index.html#!/api/Titanium.UI.Window) gives a wonderful example showing an iPad with a formsheet email dialog window. The code below it works to create a window. But, is there a way to simply bring the...
Custom Navigation of Windows avoiding modal:true property
Hey folks, I CANT USE THE MODAL:TRUE property (as it has some bugs for kindlefire[https://jira.appcelerator.org/browse/TIMOB-7012]) for windows navigation in android so i have to override the android:back event. I am opening win3 from win2 and win2 from...
Setting focus on textarea doesn't work in modal window
I have a modal window with a textarea. If I call textarea.focus() nothing happens. I've been able to go around it by putting the textarea.focus() in the window's 'open' event listener. But not being able to set it directly during the creation process...
AdMob web ads not displaying properly in Modal window
Morning! I have a small issue, which is actually quite a big issue. If you get me? I have an app which has a news feed in a TableView, when tapped the story loads in a modal window. I have the latest AdMob module for the Marketplace installed and if the...
Size (height, width) of modal window
It is still not clear for me if setting the height or width of a modal window is possible or not. Can anyone please clarify? And if it is possible, could anyone provide me with an example of how to do it?
Opening and Closing a Window Error
Application Type: Mobile; Titanium SDK version: 2.0.1 (04/12/12 16:33 999c68a); Platform: iOS 5.1 SDK; Host Operating System: iOS; Titanium Studio, build: 2.0.2.201205311912; I have the following code which i cannot seem to get working. Basically i...
Modal Window Text Field Value 'undefined'
I have a modal window that opens a form for user input, but when I add an event listener for the done button in the title bar and then try and extract the value from the text fields, the value is 'undefined. My code is: ~~~ var moreInformationButton1 =...
External module Successfully build for android but Fail for iOS?
Hi, I was experimenting with Parse Module by forge42. I can successfully build for android. But when I try the iOS module, I got the following errors ~~~ [ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation) [ERROR]...
How to focus (run eventListener) on Modal when the Modal window open?--iOS
Hi, Id like to do httpClient request when a modal window open. How would you do? thanks in advance.
AlertDialog is not modal, is there a workaround?
The AlertDialog object is defined as modal, but (on Android anyway, API version 1.8.2) when you click outside the dialog box, the box disappears and returns a bogus result. Here's some simple code: ~~~ var alertDialog = Ti.UI.createAlertDialog( {...
iPhone modal window error
Hi guys! I encountered this error message and I haven't found any solution until now, so I decided to ask the question here. Here is the error message `While executing Timer, received script error. 'Attempting to begin a modal transition from...
Refresh window after modal close
Hello, I been trying to figure this out for hours now...and no luck, maybe I can find some light here. I have an app that popups a modal window for login proposes. That window asks the user to login and saves some info on a .db and after that it closes...
Opening modal window from modal window doesn't work like expected?
I'm running into a problem, I have an app and in a normal window I have a table with a number of items. If I click on a row I open a modal row with the details of that row. In that modal window with details I have a small thumb and if people click on that...