I use PHP and WebORb for PHP so anything I show will use that.
Please do not ask for a tutorial using something else.
There should be enough here for you to extrapolate for use with any
language.
This is a quick and dirty example that hard codes things. In a real
application
I would loosely couple
: geting info of a user who has loged in
am sorry for sounding naive and inexperienced, but i am stack. i have
read thru all the solutions suggested but have failed. please can
someone help with a small tutorial on how to do this. i know am asking
for too much but please help. thanks
am sorry for sounding naive and inexperienced, but i am stack. i have
read thru all the solutions suggested but have failed. please can
someone help with a small tutorial on how to do this. i know am asking
for too much but please help. thanks
For simplicity's sake, I would add a public var to your Admin
component and populate it with pop.username_txt.text:
viewstack1.selectedChild = admin;
admin.username = pop.username_txt.text;
In your Admin component's creationComplete handler, you would have
another RemoteObject call to gather user
hi this is my the login code functionality am using that i got from
flex cookbook example and works perfect.
"login.mxml"
http://www.adobe.com/2006/mxml";
layout="absolute" title="Login Form">
[Event(name="loginSuccessful", type="flash.events.Event")]
John
Please post the code you have for the login functionality. I can use
that to show you how to do the info bit.
--- In flexcoders@yahoogroups.com, "johndoematrix"
wrote:
>
> please guys help me out here.
>
please guys help me out here.
hi am using rpc(remote object). do you mind showing a simple example
on how to go abt this. one other thing, am using states so when one
logs in and its successful, the state changes and they can view thier
information like username, password, email and can edit it. thanks
If you implemented le login functionality, then you should have some
mechanism (httpservice, rpc ...) to exchange data with the server to send
login info and get a response back. Just use the same mechanisms to send a
request and get the data back.
Haykel Ben Jemia
Allmas
Web & RIA Development
ht
yes i have implemented the login functionality and its working. nw i
am faced with the issue of showing the details of the logged in user.
any help?
yes just pass the info back to the httpservice
maybe this example will help you
http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/
you call the httpservice upon login button clicked
login.send();
and then the httpservice provider passes the login to your backend code
info of a user who has loged in
the example shown there using the datagrid's selecteditem to populate
the textinputs. is there a way of populating them without the need of
a datagrid, combobox or list based selected item? like when i sign in
i can view my profile based on my userid and use
the example shown there using the datagrid's selecteditem to populate
the textinputs. is there a way of populating them without the need of
a datagrid, combobox or list based selected item? like when i sign in
i can view my profile based on my userid and username used to signin.
thanks
http://livedocs.adobe.com/flex/3/html/help.html?content=data_access_2.html
any example on how to actually do this? it would be of great help. thanks
You'll need an httpservice to get info to and from your backend language
--- In flexcoders@yahoogroups.com, "johndoematrix"
wrote:
>
> hi guys, i have a database with user info like username, password,
> firstname, lastname, email and so on... so i created a flex login such
> that a user is prom
16 matches
Mail list logo