Search found 11 matches

Go to advanced search

by damir
Fri Apr 06, 2012 10:29 am
Forum: Issues
Topic: Changing ids when something is deleting from a page
Replies: 1
Views: 444
 
Jump to post

Changing ids when something is deleting from a page

Why is tiggzi changing id of an element every time I add or delete something from the page. I think much better practice would be to leave id alone so you can style using ids and not changing css every time you remove something from the page.

by damir
Thu Apr 05, 2012 9:39 pm
Forum: Issues
Topic: Drupal authenication cookie
Replies: 9
Views: 1389
 
Jump to post

Drupal authenication cookie

// get sessName and sessId from localstorage that you got from calling your service at least those are the names in Drupal var sessName = localStorage.getItem("sessName"); var sessId = localStorage.getItem("sessId"); // create a cookie make sure you included jquery.cookie.js in e...
by damir
Thu Apr 05, 2012 9:09 pm
Forum: Issues
Topic: Drupal authenication cookie
Replies: 9
Views: 1389
 
Jump to post

Drupal authenication cookie

Yes it was I had some other problem in the app. I made a new app just for testing that and managed to get it to work. I had to setup a cookie with cookie.js but after that app was using cookie natively. If anyone needs help with this just respond to this tread I should get a message and will probabl...
by damir
Thu Apr 05, 2012 9:04 pm
Forum: Issues
Topic: Drupal authenication cookie
Replies: 9
Views: 1389
 
Jump to post

Drupal authenication cookie

I managed to get it to work. Thank you for your help.

by damir
Thu Apr 05, 2012 4:15 pm
Forum: Issues
Topic: Drupal authenication cookie
Replies: 9
Views: 1389
 
Jump to post

Drupal authenication cookie

I alredy managed to write cookies that not the problem anymore. My question is:

If I use that method to write a cooke is the cooke going to be sent when I make a rest service invoke ?

Will cookie be sent in a header?

by damir
Wed Apr 04, 2012 1:32 pm
Forum: Issues
Topic: Drupal authenication cookie
Replies: 9
Views: 1389
 
Jump to post

Drupal authenication cookie

To answer a part of my question alone. I managed to get cookie to save using var sessName = localStorage.getItem("sessName"); var sessId = localStorage.getItem("sessId"); $.cookie(sessName,sessId); It was just a problem that i didnt have jquery.cookie.js library I thought jQuery ...
by damir
Wed Apr 04, 2012 11:16 am
Forum: Issues
Topic: Drupal authenication cookie
Replies: 9
Views: 1389
 
Jump to post

Drupal authenication cookie

Drupal authenication. I'm using REST server to authenticate on a drupal site. When I run the service I get back the expected data including session_name and session_id. If I want to request something back from drupal site as logged in user I'm supposed to send that data in a header as a cookie. My q...
by damir
Tue Apr 03, 2012 1:45 am
Forum: Issues
Topic: Is it possible to prefetch screens?
Replies: 10
Views: 3872
 
Jump to post

Is it possible to prefetch screens?

If I can barge in :) So does this mean if I for example have 3 screens Body part Condition Medicine all 3 have a list that is beeing fetched from rest server for example Body part has rest service that fetches body parts (Head, Neck, Hands...) when you click on one of those you get list of condition...
by damir
Sun Apr 01, 2012 11:58 pm
Forum: Issues
Topic: Bind variable to component (label->text)
Replies: 3
Views: 833
 
Jump to post

Bind variable to component (label->text)

I'm sorry now I realized what I did wrong I bound it to mobilelist instead of item got it sorted :)

by damir
Sun Apr 01, 2012 11:49 pm
Forum: Issues
Topic: Bind variable to component (label->text)
Replies: 3
Views: 833
 
Jump to post

Bind variable to component (label->text)

https://d37wxxhohlp07s.cloudfront.net/s3_images/720584/1_inline.png?1333323892 Notice that it is indeed mobilelabel2 https://d37wxxhohlp07s.cloudfront.net/s3_images/720585/2_inline.png?1333323990 application preview where number 7 there is showing correctly in label2 https://d37wxxhohlp07s.cloudfro...

Go to advanced search