This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes is it a problem to pass an object to a managed bean method in a jsf page?? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "is it a problem to pass an object to a managed bean method in a jsf page??" Watch "is it a problem to pass an object to a managed bean method in a jsf page??" New topic
Author

is it a problem to pass an object to a managed bean method in a jsf page??

shady ragab
Greenhorn

Joined: Dec 17, 2009
Posts: 14
hi all

i have downloaded the complete code of this tutorial(http://wiki.netbeans.org/DevelopJavaEE6App#Summary)...but it dosn't work giving me the following error

org.apache.jasper.JasperException: file:C:/Documents and Settings/ay7aga/Desktop/CustomerApp/CustomerApp-war/build/web/CustomerList.jsp(35,20) PWC6296: The function showDetails must be used with a prefix when a default namespace is not specified
org.apache.jasper.JasperException: PWC6296: The function showDetails must be used with a prefix when a default namespace is not specified
C:/Documents and Settings/ay7aga/Desktop/CustomerApp/CustomerApp-war/build/web/CustomerList.jsp(35,20)

and this is the jsf segment has the error
<h:commandLink action="#{customer.showDetails(item)}"value="#{item.customerId}"/>

and this is the method showDetails
public String showDetails(Customer customer)
{
this.customer = customer;
return "DETAILS";
}

thanks in advance,

shady ragab

shady ragab
Greenhorn

Joined: Dec 17, 2009
Posts: 14
this is the complete
http://wiki.netbeans.org/wiki/images/0/03/CustomerApp2.zip

i have deleted the code line which causes the error..but i get the following exception in the run time

javax.ejb.AccessLocalException: Client not authorized for this invocation.

can anyone help me about this tutorial pleas

 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: is it a problem to pass an object to a managed bean method in a jsf page??
 
Similar Threads
JSP Taglib - default namespace is not specified
Is it possible to access instance methods that take arguments in EL for JSP 2.1?
UrlEncode the String
calling a bean function using jstl
Why can't JSF calls method with parameter?