Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
shady ragab
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!