On Jun 9, 2003, Sandeep Takhar <[EMAIL PROTECTED]> wrote:
|can you store in the database and find in the
|resources.
|
|Really want to try and get away from
|
|if (company='')
|else if...
Sandeep,
I could store them in a db, but how does that get you away from the
'if' you mention? I definitely want to get away from that 'if' -
that's what prompted my initial question.
I was thinking of constructing resources like (pseudo code to follow):
company1.app1.page1.item=value
company2.app1.page1.item=value
company3.app1.page1.item=value
and then constructing the resource like (in either java or
javascript):
company = user.getCompany(); // "company2" for example
imgResource = company + "app1.page1.item";
But, I'm not sure if this is acceptable.
Comments?
Thanks,
/greg
--
Gregory F. March -=- http://www.gfm.net:81/~march -=- AIM:GfmNet
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]