Lee Mark

Ranch Hand
+ Follow
since Mar 05, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Lee Mark

Hi.
I am using netbeans components to develop my application.
I want to implement a menu grid

Suggest me a component to use,
I don't want to go for pure canvas programming.
It would be better if i will get a sample code :p


link to snapshot link
13 years ago
yeah i have ended up like that only..
further in my architecture i have used prettyfaces
Thanks for answer.
14 years ago
hey if you got the solution please post it..
i am having similar issue..


14 years ago
Link

following this link i can get the custom messages but from properties file. what if i need same from class i mean

some thing like.. public class Messages_en_US extends ListResourceBundle {

@Override
protected Object[][] getContents() {
labelsArray = new Object[labels.size()][2];
int counter = 0;


labelsArray[counter][0] = "key.val";
labelsArray[counter][1] = "value from Db";

labelsArray[++counter][0] = "key";
labelsArray[++counter][1] = "value from Db";
return labelsArray;


}
}
yeah..
but i am not getting initilized context at the servletContextListener's context initilized method.
in jSF 1.2 beans having application scope gets initilized when it is needed not at start up //



14 years ago
JSF
Thanks Macro,

web.xml



i am getting 'var' as null at deployment time,
how to inject properties that i dont understand,
can you please tell me,
Thanks again
!
14 years ago
JSF
can you please elaborate this ?
i mean i can track the context initilized by ServletContextListner but how can i initilize a manage bean with fully blown dependencies, and how can i put this to application scope
can you please elaborate with sample ..

thanks in advance.
14 years ago
JSF
nop its not working..
any one has any idea ?
14 years ago
JSF
i tried..
but at this time context is not initilized so i am not getting injected properties..


Thanks .
14 years ago
JSF
i need to do this in JSF 1.2 only..
is there any way out ?/

Thanks in advance ..
14 years ago
JSF
i need to do this in JSF 1.2 only..
is there any way out ?/

Thanks in advance ..

14 years ago
JSF




i am getting...


14 years ago
JSF
here is my faces-config

here is my bean





*/



and my server log when i deploy this app

14 years ago
JSF
IN JSP i used to put things in bean's constructor which is in APPLCIATION scope,
similarly
i want to load a function upon deploy of application where i can put .

i tried putting in listener but @ that time i am not getting faces config 's injection .

so is there any way out ?
14 years ago
JSF