Welcome to the RareWire Community Board. Use the field below to add your own contribution or find answers in existing topics.
No se han encontrado topics similares.
+1
Respuestas
dropdown / combo box / selection box
Does WIRE support a drop-down selection box natively or does it need to be built? If it needs to be built, is there a snippet, tutorial or example I could reference?
The reason: I have a pager of items that my user can select to use or not use, individually.
If they slide an item out of the way, it means they don't want to use it. As such, I am looking to have a drop-down selection of reasons that might apply to why they didn't want to use the item.
The drop-down selection of reasons is "under" the item that gets slid out of the way and only becomes visible to the user after they have slid an item out of the way.
P.S. If there is a better way to manage this type of interaction, I am open to ideas
The reason: I have a pager of items that my user can select to use or not use, individually.
If they slide an item out of the way, it means they don't want to use it. As such, I am looking to have a drop-down selection of reasons that might apply to why they didn't want to use the item.
The drop-down selection of reasons is "under" the item that gets slid out of the way and only becomes visible to the user after they have slid an item out of the way.
P.S. If there is a better way to manage this type of interaction, I am open to ideas
+1
Solucionado
My app is crashing after latest Fusebox update
Did something in the latest update of Fusebox affect memory? My app (issueSkin) was working fine...I updated Fusebox through my ipad....now I open my open and scroll 3 pages and it crashes on me.
+1
Respuestas
Calling an action / code in main wire after finishing with subwire?
I have separated a sign-in process into a subwire. When the sign-in process is successful I call the superwire action in the main wire and unload the subwire.
All is well at this point.
Next, since the person successfully logged in, I want to execute the data loading process for that user, in the main wire (after having come back from the subwire).
When I try to execute anything in the "superwire" action other than the unload and alpha calls the app crashes.
The question is: How do I initiate code in the superwire action that is doing the unload/alpha of the subwire beyond the unload/alpha calls?
Can I call a separate action somehow?
I have tried adding code to the superwire action as well as adding a play tag for another action in the main wire...all with no luck. The app crashes.
Any suggestions or ideas would be greatly appreciated
Thanks!
Steve
All is well at this point.
Next, since the person successfully logged in, I want to execute the data loading process for that user, in the main wire (after having come back from the subwire).
When I try to execute anything in the "superwire" action other than the unload and alpha calls the app crashes.
The question is: How do I initiate code in the superwire action that is doing the unload/alpha of the subwire beyond the unload/alpha calls?
Can I call a separate action somehow?
I have tried adding code to the superwire action as well as adding a play tag for another action in the main wire...all with no luck. The app crashes.
Any suggestions or ideas would be greatly appreciated
Thanks!
Steve
+1
Respuestas
sync tag around play tag and subsequent if tag
I am extracting my parse.com error code management to a centralized action.
To make this work, I set a globalParseError-Code variable to the return "code" from parse.com
I then call an action that uses that global parse code to check against many if tags to see which if tag the error code matches.
In the global action, when it finds a match, it assigns an error title and message to respective global variables and also assigns a value to a globalParseError-ErrorExits variable of "true" to allow the original calling action to check to see if an error exists and take the appropriate action based on the activity of the original calling action (i.e. alert tag, clear fields, etc)
The activities that are after the "play" of the global error management routine occur before the centralized global error management routine returns :(
I was able to see this based on the order of the debug alerts that I setup and the fact that the error title, message and errorexists variables were not set
As a note, the content of the calling action is wrapped in a sync tag. The thought was that the sync tag would prevent the code after the play(centralized error mgt action) from executing before the play action was finished...this doesn't seem to be the case.
Does the sync tag wait for the return of a play action?
Thanks,
Steve
To make this work, I set a globalParseError-Code variable to the return "code" from parse.com
I then call an action that uses that global parse code to check against many if tags to see which if tag the error code matches.
In the global action, when it finds a match, it assigns an error title and message to respective global variables and also assigns a value to a globalParseError-ErrorExits variable of "true" to allow the original calling action to check to see if an error exists and take the appropriate action based on the activity of the original calling action (i.e. alert tag, clear fields, etc)
The activities that are after the "play" of the global error management routine occur before the centralized global error management routine returns :(
I was able to see this based on the order of the debug alerts that I setup and the fact that the error title, message and errorexists variables were not set
As a note, the content of the calling action is wrapped in a sync tag. The thought was that the sync tag would prevent the code after the play(centralized error mgt action) from executing before the play action was finished...this doesn't seem to be the case.
Does the sync tag wait for the return of a play action?
Thanks,
Steve
+1
Respuestas
Is there an "email" keyboard type in WIRE?
How can I set the keyboard of a textfield to be the "email" keyboard? I saw the option for a keyboard being a numberpad, but nothing that allows the keyboard to be set for an "email" keyboard.
Any help would be appreciated.
Thanks,
Steve
Any help would be appreciated.
Thanks,
Steve
+1
Respuestas
Call action when pager item hits specific x coordinate
Is there a method of triggering an action when a pager item is swiped to a certain x coordinate within a pager? I have a row of images within my pager. I'd like when an image hits a certain x coordinate, call an action which shows information on that particular image.
+1
Respuestas
Record of push notifications
I have sent push notifications out, but under the Push Notification Activity tab, the studio indicates that I have not sent any messages out. Since I have received the notifications myself, I know that they have gone out. Any thoughts on this?
Thanks
Thanks
+1
Respuestas
How can I clear all downloaded objects from Fusebox
When I reset my app from Fusebox, It clears the wire but not the other downloaded assets. Is there a way to clear the downloaded assets as well (short of un-install and reinstall!)
+1
COMPLETADO
Inheriting rounded corners
I'm about 90% sure this is a feature request. I'm 10% sure I just didn't get it to work...
So, rounded corners. They look gorgeous on some things, but I've noticed that elements inside of a panel with rounded corners don't inherit them. For example, I tried to make an app with slightly rounded corners (Mailbox, Foursquare, and Tweetbot all have them, among others). So I set my corner radius of 3 or whatever on my all-encompassing container panel. However, I noticed that any other panel that reached corners (such as a title bar with a width of 100% at the top of the page) stuck it's sharp corners all the way to the top left and top right of the screen. Easy enough, I changed the cornerradius of the title bar and we're all good (assuming I don't care if my bottom title bar corners are rounded). But if I have a pager taking up the bottom 50% of the screen, I can round my pager corners, but then it's just covered up by the sharp corners on my children panels, and if I round those corners I've got round rects everywhere.
So basically, I'm used to CSS's handling of cornerradius, where it cuts off the sharp corners of whatever elements are inside a container. Can I request this or is there there a way to fix it that I'm not thinking of?
So, rounded corners. They look gorgeous on some things, but I've noticed that elements inside of a panel with rounded corners don't inherit them. For example, I tried to make an app with slightly rounded corners (Mailbox, Foursquare, and Tweetbot all have them, among others). So I set my corner radius of 3 or whatever on my all-encompassing container panel. However, I noticed that any other panel that reached corners (such as a title bar with a width of 100% at the top of the page) stuck it's sharp corners all the way to the top left and top right of the screen. Easy enough, I changed the cornerradius of the title bar and we're all good (assuming I don't care if my bottom title bar corners are rounded). But if I have a pager taking up the bottom 50% of the screen, I can round my pager corners, but then it's just covered up by the sharp corners on my children panels, and if I round those corners I've got round rects everywhere.
So basically, I'm used to CSS's handling of cornerradius, where it cuts off the sharp corners of whatever elements are inside a container. Can I request this or is there there a way to fix it that I'm not thinking of?
+1
Respuestas
New Twitter api
When you guys get a chance could you look at the twitter feed example and update it for api 1.1... tried it at the class the other day and it didn't want to play...
+1
How can we hide/close the keyboard when a user clicks away?
I am working on a page with several textfields. I was able to create a simple action.
onreturnkeypressed="keyboard-off"
action name="keyboard-off"
keyboard visible="no" /
/action
I could also place an underscore variable and make it the same as the alias so that I can target it but this seems unnecessary and tedious since I would have to make a variable for every textfield in my app.
_example=”DATE”
action name="keyboard-off"
keyboard visible="no" target="_example" /
/action
However, I would like the keyboard to close if the user clicks outside the keyboard. I believe this is standard practice.
onreturnkeypressed="keyboard-off"
action name="keyboard-off"
keyboard visible="no" /
/action
I could also place an underscore variable and make it the same as the alias so that I can target it but this seems unnecessary and tedious since I would have to make a variable for every textfield in my app.
_example=”DATE”
action name="keyboard-off"
keyboard visible="no" target="_example" /
/action
However, I would like the keyboard to close if the user clicks outside the keyboard. I believe this is standard practice.
+1
Calculator: How to display subtotal when + button is pressed
Calculator: How would you display the total when the + or - button is pressed instead of the = sign? The proposed scenario would look like this: Press '6' (display 6). Press '+ 7' (display 7) press '+' (display 13). This would eliminate the need for the = button. Note: on the current sample calculator app, if you press '6 + 7+' and then decide to press the = button, it clears out rather than giving the total.
+1
Downloadcomplete event only firing once
if I explicitly list downloads in my wire the downloadcomplete event works as expected, firing each time the file is downloaded:
However, if I put the download in a loop, the event only gets fired once, the first time:
What am I doing wrong?
Also, is there any way to add variables in the download tag so the complete has an idea as to which file has downloaded?
<download downloadcomplete="count-images" url="http://imagelocation/page0000001.jpg filename="page000001.jpg"></download><download downloadcomplete="count-images" url="http://imagelocation/page0000002.jpg filename="page000002.jpg"></download><download downloadcomplete="count-images" url="http://imagelocation/page0000003.jpg filename="page000003.jpg"></download><download downloadcomplete="count-images" url="http://imagelocation/page0000004.jpg filename="page000004.jpg"></download>
However, if I put the download in a loop, the event only gets fired once, the first time:
<assign property="var:index" value="1"/>
<assign property="var:count" value="1"/>
<action name="download-pages">
<if lhs="[var:index]" operator="lte" rhs="4">
<download downloadcomplete="count-images" url="http://imagelocation/page000000[var:index].jpg filename="page00000[var:index].jpg">
<assign property="var:index" value="[eval:[var:index] + 1]"/>
<play action="download-pages"></play>
</if>
</action>
<action name="count-images">
<assign property="var:count" value="[eval:[var:count] + 1]"/>
<scale target="PROGRESSBAR" width="[eval:[var:count] / [var:total] * 100]%" time=".15"></scale>
</action>
What am I doing wrong?
Also, is there any way to add variables in the download tag so the complete has an idea as to which file has downloaded?
+1
Respuestas
Building "back" and "forward" action for web tag
What is a good approach to implementing back/forward browser navigation capabilities for a web tag?
I am assuming it is not a capability of the web tag, natively?
I have started an implementation that tracks the "moves" between pages and stores the "from url" and the "to url" to allow tracking back and forth...it isn't pretty (and not working well at the moment) and as such I am hoping to "steal" a better implementation or idea from the community.
Thanks!
Steve
I am assuming it is not a capability of the web tag, natively?
I have started an implementation that tracks the "moves" between pages and stores the "from url" and the "to url" to allow tracking back and forth...it isn't pretty (and not working well at the moment) and as such I am hoping to "steal" a better implementation or idea from the community.
Thanks!
Steve
Servicio de atención al cliente por UserEcho