voyent
using icefaces project, can't use getSessionBean1  XML
Forum Index -> Woodstock to ICEfaces Migration
Author Message
jakemonO


Joined: 23/Jan/2007 00:00:00
Messages: 2
Offline


following the Netbeans tutorial Using Databound Components to Access a Database but using icefaces project and components only instead of woodstock, whcn I get to the part where I'm adding event handling to the dropdown list to control the data that's displayed in the table, I can't access the getSessionBean1() method. SessionBean1 is there, as it is in an identical VWP Woodstock project only, but I can't access its methods. What am I missing?
frank.ye

Joined: 26/Oct/2004 00:00:00
Messages: 709
Offline


not sure if I understanding your question, but it is a simple EL reference.

protected SessionBean1 getSessionBean1() {
return (SessionBean1) getBean("SessionBean1");
}

Run time not working?
[Email]
jakemonO


Joined: 23/Jan/2007 00:00:00
Messages: 2
Offline


@Frank. That seems to work, although I'm flummoxed as to why it wasn't autocreated in the page1.jsp code as it is when using a Woodstock project
RaymondMari

Joined: 17/May/2009 00:00:00
Messages: 2
Offline


thats a valid question @jakemon , "why it wasn't autocreated in the page1.jsp code as it is when using a Woodstock project"

can sm1 help out
 
Forum Index -> Woodstock to ICEfaces Migration
Go to:   
Powered by JForum 2.1.7ice © JForum Team