Re: Problem: HtmlDataTable is no ValueHolder, cannot set value

2005-03-21 Thread Grigoras Cristinel
Hi Kostas,
Maybe you want to use value="#{eventHandler.schedule}" for the bean 
property.

Cristi
Kostas Karadamoglou wrote:
Hi all,
I get the following error message:
21:36:29,728 ERROR UIComponentTagUtils:172 - Component 
javax.faces.component.html.HtmlDataTable is no ValueHolder, cannot set 
value.

when I use the following jsf tags:

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  


the only part of the code that I set data is in selectOneRadio with 
the value attribute.
What am I doing wrong?

Thank you in advance, kostas



Re: EL w/

2005-03-21 Thread Rob Williams
Hi Matthias:

I saw this post. This was how I was navigating and how I ended up in the ditch. When I do exactly as he says, I get the crazy loop I reported. It is resolving the bean properly, which is a JSF managed bean. I am sure of that. 

The reason I'm sure of it is when you suggested Tiles I figured I would plug that in since I was planning on using it anyway. Well, Tiles was not the answer for this. I got it setup, and I was going to follow the example from the Core book that shows the ability to dynamically select a book from a menu and the tile will update itself. Lo and behold, look what the core of that example has in it:

	<%@ taglib "http://java.sun.com/jstl/core_rt" "c" %>

	/>

(this is adapted to my problem but you can see David's version on page 347 of the Core book.) So once I got this all plugged in and working, now I get the following error: 

java.lang.IllegalStateException: Cannot forward after response has been committed
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:324)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
	at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:405)
	at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:280)
	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)

Of course, the difference between my example and David's is that his is only including html. I am trying to dynamically include pages that have JSF components in them. Again, somehow people on the sun newsgroups seem to think they got that working. I am pretty convinced this is not going to work in MyFaces. I think as a final exercise in futility I am going to try and get it running against the RI. The people on that thread I quoted earlier today seemed to claim they got it to work.



On Mar 21, 2005, at 11:12 PM, Matthias Wessendorf wrote:

Sergey.Smirnov from Exadel says:


#{} is a propritory notation working only with the jsf tags. jsp:include is not a jsf tag, so you cannot use it in such manner.
If your run-time environment supports Servlet 2.4 specification, you can use ${} notation to have an access to the same bean.

Try the following code:





Note, rendered="#{SomeBean != null}" is an important part here. It guarantees that the SomeBean is loaded before you use it in the jsp:include



So, are you in Servlet2.4 environment? (e.g. Tomcat5.xx)

I haven't tried it, but it looks like, that the backing bean, that
contains your page names must be created *first* via a JSF tag.

in this  the rendered="#{SomeBean != null}"> checks if it is
be created *before* that "include".

What kind of bean is behind
${sessionScope.labApplicationWizard.currentPanel}?

Is it a *normal* () or a backing / managed bean?

-Matthias


Rob Williams wrote:
Matthias:
I went back and looked this over again. Turns out that the people on  this thread:
http://forum.java.sun.com/thread.jspa?threadID=584037&tstart=360
got it to work using the RI and dynamically including jsf files. ??
Thanks.
On Mar 21, 2005, at 6:45 AM, Rob Williams wrote:
First off, guilty as charged: I am trying to dynamically include a  file that contains JSF code.

I reviewed the Core book again today to look at the Tiles section.  Looks like I am going to have
to make the WizardController in my scenario (which is deciding which  panel to include in the
wizard layout, which stays the same) into a TilesController and then  it should be ok.

My question is why on Earth do we have to do this? What is the point  of having an EL if you
can't use it for something like this? Tiles looks like a good solution  to other problems, but
for this I would prefer that dynamic content inclusion through a  simple include tag and EL
would just work!

Thanks.

On Mar 20, 2005, at 11:41 PM, Matthias Wessendorf wrote:

Amit Modi wrote:

Try putting the  tag inside the jsp you want to import.


No, that should not be the reason.
In tiles example we also have  only in *template* JSP  file.

One hint could be, that inside of JSTL you can't access  faces-config.xml

So why not using Tiles with Apache MyFaces?

-Matthias

-Original Message-
From: Rob Williams [mailto:[EMAIL PROTECTED] Sent:  Monday, March 21, 2005 4:42 AM
To: MyFaces User List
Subject: EL w/
Here's the part of the page I am trying to get working:



I did some reading about using EL and found the pieces that would  allow me
to stipulate the URL dynamically. When I first got the pieces in  place and
tried it with MyFaces, it blew up with an error saying it couldn't  find the
servlet path for the URL (but w/jsp on the end). I did some searches  and
there was some talk of a fix for it (I even found a diff of the  source
checked in on 3/10 to fix this problem). So I sync

Re: EL w/

2005-03-21 Thread Matthias Wessendorf
Sergey.Smirnov from Exadel says:

#{} is a propritory notation working only with the jsf tags. jsp:include 
is not a jsf tag, so you cannot use it in such manner.
If your run-time environment supports Servlet 2.4 specification, you can 
use ${} notation to have an access to the same bean.

Try the following code:



Note, rendered="#{SomeBean != null}" is an important part here. It 
guarantees that the SomeBean is loaded before you use it in the jsp:include


So, are you in Servlet2.4 environment? (e.g. Tomcat5.xx)
I haven't tried it, but it looks like, that the backing bean, that
contains your page names must be created *first* via a JSF tag.
in this  the rendered="#{SomeBean != null}"> checks if it is
be created *before* that "include".
What kind of bean is behind
${sessionScope.labApplicationWizard.currentPanel}?
Is it a *normal* () or a backing / managed bean?
-Matthias
Rob Williams wrote:
Matthias:
I went back and looked this over again. Turns out that the people on  
this thread:

http://forum.java.sun.com/thread.jspa?threadID=584037&tstart=360
got it to work using the RI and dynamically including jsf files. ??
Thanks.
On Mar 21, 2005, at 6:45 AM, Rob Williams wrote:
First off, guilty as charged: I am trying to dynamically include a  
file that contains JSF code.

I reviewed the Core book again today to look at the Tiles section.  
Looks like I am going to have
to make the WizardController in my scenario (which is deciding which  
panel to include in the
wizard layout, which stays the same) into a TilesController and then  
it should be ok.

My question is why on Earth do we have to do this? What is the point  
of having an EL if you
can't use it for something like this? Tiles looks like a good 
solution  to other problems, but
for this I would prefer that dynamic content inclusion through a  
simple include tag and EL
would just work!

Thanks.
On Mar 20, 2005, at 11:41 PM, Matthias Wessendorf wrote:

Amit Modi wrote:
Try putting the  tag inside the jsp you want to import.

No, that should not be the reason.
In tiles example we also have  only in *template* JSP  file.
One hint could be, that inside of JSTL you can't access  
faces-config.xml

So why not using Tiles with Apache MyFaces?
-Matthias
-Original Message-
From: Rob Williams [mailto:[EMAIL PROTECTED] Sent:  
Monday, March 21, 2005 4:42 AM
To: MyFaces User List
Subject: EL w/
 Here's the part of the page I am trying to get working:



I did some reading about using EL and found the pieces that would  
allow me
to stipulate the URL dynamically. When I first got the pieces in  
place and
tried it with MyFaces, it blew up with an error saying it couldn't  
find the
servlet path for the URL (but w/jsp on the end). I did some 
searches  and
there was some talk of a fix for it (I even found a diff of the  source
checked in on 3/10 to fix this problem). So I synced with CVS and  
built
everything and tried it again. The results this time are much more
spectacular failure, including some of the craziest stack traces  
I've ever
seen (looks like an endless loop). Here's an excerpt:
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl 
ication
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF 
ilterCh
ain.java:157)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp 
atcher.
java:704)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD 
ispatch
er.java:590)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis 
patcher
.java:510)
at
org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireStri 
ng(Impo
rtSupport.java:314)
at
org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(Im 
portSup
port.java:179)
at
org.apache.jsp.pages.labApplication_jsp._jspx_meth_c_import_0(labAppl 
ication
_jsp.java:295)
at
org.apache.jsp.pages.labApplication_jsp._jspx_meth_f_subview_0(labApp 
licatio
n_jsp.java:271)
at
org.apache.jsp.pages.labApplication_jsp._jspx_meth_h_form_0(labApplic 
ation_j
sp.java:225)
at
org.apache.jsp.pages.labApplication_jsp._jspx_meth_f_view_0(labApplic 
ation_j
sp.java:141)
at
org.apache.jsp.pages.labApplication_jsp._jspService(labApplication_js 
p.java:
90)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper 
.java:3
24)
at  
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java: 
292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl 
ication
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF 
ilterCh
ain.java:157)
at
org.apache.catalina.core.ApplicationDispatcher.

RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
Hi

Your scenario seems plausible, but not what one would desire. One of the
drivers behind JAAS in my eyes is the notion of "Container Managed". The
application it self should not have to worry about security. Security
should be something that is handled on the "outside". By that I mean
what is known as "Declarative Security". In that way you can go on
developing your application (almost) without worrying about it, and then
at some point in time you simply turn it on by setting some option in
your environment.

I have got SecurityFilter to work now (it is securing resources), but I
am seeing som odd behaviour from the MyFaces part. The Principal is not
set on the request that is returned from :
FacesContext.getCurrentInstance().getExternalContext().getRequest(). I
will look into this probably today.

Hermod

-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 2:09 PM
To: MyFaces Discussion
Subject: Re: MyFaces and JAAS on Tomcat


ah, sorry.
That is a different story, I think.

well one possibility can be using Shale for the backing beans in the 
secure area.

create a BasicSecureBackingBean that extends the default implementation
of ViewController interfaces.

on the logonBean you will do some *user-validation* and add users to a 
vector or else (application scope) *after* that forward to secure/*

each BackingBean that is used inside of secure/ will extend
BasicSecureBackingBean.

Its *advanced* lifecyle method can check on each request, if a user
is logged on.

Perhaps, I understood you now?

[EMAIL PROTECTED] wrote:
> Hi
> 
> No - What I want is what I have in my Strus version : On the frontpage
i
> have fields for username/password and a login button. That way a user
> can log in at any given time - He/She does not have do access a
secured
> resource to get a "forced" login. Thats why I have been using
> SecurityFilter ( S.F project) in my Struts app. However I have not
been
> able to get SecurityFilter to work with MyFaces (Yet). It is
configured
> as a Filter, and the init method is called OK, but the doFilter method
> is never called (!).
> 
> Hermod
> 
> -Original Message-
> From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 21, 2005 1:53 PM
> To: MyFaces Discussion
> Subject: Re: MyFaces and JAAS on Tomcat
> 
> 
> Pre-login ?
> 
> Can you explain ? I guess I missed something :-)
> 
> if you need logoff() create managedBean with a
> 
> public String logoff(); that does the stuff shown in the
> struts app for tomcat.
> 
> -Matthias
> 
> [EMAIL PROTECTED] wrote:
> 
>>Hi
>>
>>As I said in my post : It works if you try to access a secured
> 
> resource.
> 
>>You can however not "Pre-login" - That is enter you username/password
> 
> at
> 
>>the frontpage, and then be authenticated.
>>
>>Hermod
>>
>>-Original Message-
>>From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
>>Sent: Monday, March 21, 2005 1:48 PM
>>To: MyFaces Discussion
>>Subject: Re: MyFaces and JAAS on Tomcat
>>
>>
>>BTW.
>>
>>I just copied helloWorld.jsp to secure
>>
>>so please request localhsot:8080/mfaces.../secure/helloWorld.jsf
>>
>>that should present you the login form.
>>
>>HTH,
>>Matthias
>>
>>Matthias Wessendorf wrote:
>>
>>
>>>That worked!
>>>
>>>I send you (private) the WAR
>>>
>>>(user with role admin in tomcat-users.xml on my box)
>>>
>>>HTH,
>>>Matthias
>>>
>>
>>
>>
>>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> 
> * * *
> 
>>This email with attachments is solely for the use of the individual or
>>entity to whom it is addressed. Please also be aware that the DnB NOR
> 
> Group
> 
>>cannot accept any payment orders or other legally binding
> 
> correspondence with
> 
>>customers as a part of an email. 
>>
>>This email message has been virus checked by the virus programs used
>>in the DnB NOR Group.
>>
>>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> 
> * * *


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



Re: My Faces 1.0.9 gives error with Tomcat 4.1.30

2005-03-21 Thread Martin Bosak
I ran into the same problem.
Try changing the removing the xmlns attribute on the  root element 
in the myfaces_ext.tld in the META-INF directory for the myfaces extension 
taglib.

The current element is:
http://java.sun.com/xml/ns/j2ee";>
You can change it to either:
http://java.sun.com/JSP/TagLibraryDescriptor";>
or

To do this, do the following:
1) Create a temporary directory and copy the myfaces.jar to it.
2) Unzip the .jar to this directory (keeping the direcotry structure).
3) Edit the myfaces_ext.tld file located in the /META-INF directory and 
change the root element to one of the above.
4) Re-jar the myfaces.jar.

You might have to do this to some of the other .jars as well.
Interestingly, the xmlns entry for the myfaces_core.tld and myfaces_html.tld 
is
http://java.sun.com/JSP/TagLibraryDescriptor";>

I don't know why the extensions .tld would be different.
Perhaps this is a bug in the build process??
Marty
- Original Message - 
From: "Sean Schofield" <[EMAIL PROTECTED]>
To: "MyFaces Discussion" ; 
<[EMAIL PROTECTED]>
Sent: Monday, March 21, 2005 7:22 AM
Subject: Re: My Faces 1.0.9 gives error with Tomcat 4.1.30


I think I had this same problem with Tomcat 4.1.  I can't remember for
sure.  I upgraded to Tomcat 5.0.28 and now I have no problems.  I know
you probably have a reason for using Tomcat 4.1 but its getting to be
less and less common so you might want to consider upgrading to 5.0.
sean
On Mon, 21 Mar 2005 18:30:11 +0530, Mihir Solanki
<[EMAIL PROTECTED]> wrote:
I have downloaded the latest tomcat binary from apache (4.1.31)
It is still giving me the same error...
Mihir
-Original Message-
From: Bruno Aranda [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 5:27 PM
To: MyFaces Discussion; [EMAIL PROTECTED]
Subject: Re: My Faces 1.0.9 gives error with Tomcat 4.1.30
Try to remove previous versions from tomcat as there are conflicts
between the different versions... you could try on a clean
installation of tomcat to check that everybody works ok,
Bruno
On Mon, 21 Mar 2005 17:22:23 +0530, Mihir Solanki
<[EMAIL PROTECTED]> wrote:
>
> Hi all, I have just downloaded myfaces 1.0.9 examples war from apache
> website. I have deployed it in Tomcat 4.1.30 It is giving me following
error
> when I make the first request to myfaces examples application. Please
guide
> me where I am doing wrong. NOTE: I AM SUCCESSFULLY RUNNING 1.0.8 IN THE
SAME
> TOMCAT VERSION. javax.servlet.ServletException: This absolute uri
> (http://java.sun.com/jsf/html) cannot be resolved in either web.xml or 
> the
> jar files deployed with this applicationat
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:125) 
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
>at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
>at
>
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsF
ilter.java:115)
>at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:213)
>at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
>at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
>at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
>at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
>at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
>at
>
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
>at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
>at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
>  at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
>at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
>at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
>at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
>at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163
)
>at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
>at
>
org.apache.catalina.core.St

Re: folder.gif

2005-03-21 Thread Aaron Bartell
Thanks a ton Bryan!  That did it.
Bryan Dickey wrote:
The type attribute just refers to the class implementing IconProvider. 
In your case, it would be something like "package.MainController".

-Bryan
 

[EMAIL PROTECTED] 03/18/05 09:38PM >>>
   

Is that actually the syntax I am supposed to have in my jsp? I am not 
sure I understand what is supposed to go into the type="" attribute. Is

it not using EL? I can't seem to find any documentation on it in the 
JavaDocs or in the archives.



public class MainController implements IconProvider {
   private DefaultTreeModel treeModel;
   public MainController() {
   DefaultMutableTreeNode root = new DefaultMutableTreeNode(new 
TreeItem(1, "XY", "9001", "XY 9001"));
   DefaultMutableTreeNode a = new DefaultMutableTreeNode(new 
TreeItem(2, "A", "9001", "A 9001"));
   root.insert(a);
   DefaultMutableTreeNode b = new DefaultMutableTreeNode(new 
TreeItem(3, "B", "9001", "B 9001"));
   root.insert(b);
   DefaultMutableTreeNode c = new DefaultMutableTreeNode(new 
TreeItem(4, "C", "9001", "C 9001"));
   root.insert(c);

   DefaultMutableTreeNode node = new DefaultMutableTreeNode(new 
TreeItem(5, "a1", "9002", "a1 9002"));
   a.insert(node);
   node = new DefaultMutableTreeNode(new TreeItem(6, "a2", "9002",

"a2 9002"));
   a.insert(node);
   node = new DefaultMutableTreeNode(new TreeItem(7, "a3", "9002",
"a3 9002"));
   a.insert(node);
   node = new DefaultMutableTreeNode(new TreeItem(8, "b", "9002",
"b 9002"));
   b.insert(node);
   a = node;
   node = new DefaultMutableTreeNode(new TreeItem(9, "x1", "9003",
"x1 9003"));
   a.insert(node);
   node = new DefaultMutableTreeNode(new TreeItem(9, "x2", "9003",
"x2 9003"));
   a.insert(node);
  
   this.treeModel = new DefaultTreeModel(root);
   }
   public String getIconUrl(Object arg0, int arg1, boolean arg2) {
   return "/images/tree/node.gif";
   }
   public DefaultTreeModel getTreeModel() {
   return treeModel;
   }

   public void setTreeModel(DefaultTreeModel treeModel) {
   this.treeModel = treeModel;
   }
}
Bryan Dickey wrote:
 

This should work (for the old tree table comp, which may be replaced
soon - see archived "tree2" messages):
*In JSP:




*In backing bean:
import org.apache.myfaces.custom.tree.IconProvider;
public class TreeBean implements IconProvider {

//interface IconProvider (path to node icon)
public String getIconUrl(Object arg0, int arg1, boolean arg2) {
return "images/tree/node.gif";
}
}
-Bryan
   

[EMAIL PROTECTED] 03/16/05 10:29PM >>>
 

Version: 1.0.8
I am making use of the  component but am having trouble
   

getting
 

the folder.gif icon to show up in my app, though it shows up fine in
myfaces-examples. I am not seeing where I can specify a particular
image for this. The rest of the icon's show up just fine. Another
fella has this same problem in the forums, but nobody has replied to
him
yet.
Thoughts? Thanks in advance,
Aaron Bartell
Here is my code:

iconLine="/images/tree/line.gif"
iconNoline="/images/tree/noline.gif"
iconNodeClose="/images/tree/node_close.gif"
iconNodeCloseFirst="/images/tree/node_close_first.gif"
iconNodeCloseLast="/images/tree/node_close_last.gif"
iconNodeCloseMiddle="/images/tree/node_close_middle.gif"
iconNodeOpen="/images/tree/node_open.gif"
iconNodeOpenFirst="/images/tree/node_open_first.gif"
iconNodeOpenLast="/images/tree/node_open_last.gif"
iconNodeOpenMiddle="/images/tree/node_open_middle.gif"
   























   

 



Problem: HtmlDataTable is no ValueHolder, cannot set value

2005-03-21 Thread Kostas Karadamoglou
Hi all,
I get the following error message:
21:36:29,728 ERROR UIComponentTagUtils:172 - Component 
javax.faces.component.html.HtmlDataTable is no ValueHolder, cannot set 
value.

when I use the following jsf tags:

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  


the only part of the code that I set data is in selectOneRadio with the 
value attribute.
What am I doing wrong?

Thank you in advance, kostas


Problem: HtmlDataTable is no ValueHolder, cannot set value

2005-03-21 Thread Kostas Karadamoglou
Hi all,
I get the following error message:
21:36:29,728 ERROR UIComponentTagUtils:172 - Component 
javax.faces.component.html.HtmlDataTable is no ValueHolder, cannot set 
value.

when I use the following jsf tags:

   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   


the only part of the code that I set data is in selectOneRadio with the 
value attribute.
What am I doing wrong?

Thank you in advance, kostas


popup element

2005-03-21 Thread Csík Norbert
Hi!
I've tried to use the popup element in the MyFaces extensions components, but I 
failed. I use Sun's JSF 1.1 RI with MyFaces 1.0.8 extensions. I've put the 
following code into an h:panelGrid, but nothing happend.
 
   
   
 
   
 
   
 
   
 
The text "some text" rendered, with some events calling javascript functions, 
but the JSPopup.js reference is missing in the generated HTML: orgApacheMyfacesPopup is 
not defined.
Can anyone help me what to do? Is something wrong with the component, or I 
missed something?
Please reply to my e-mail address too, because I'm not in the list, yet.
Thanks
--
Norbert Csík


Re: folder.gif

2005-03-21 Thread Bryan Dickey
The type attribute just refers to the class implementing IconProvider. 
In your case, it would be something like "package.MainController".

-Bryan

>>> [EMAIL PROTECTED] 03/18/05 09:38PM >>>
Is that actually the syntax I am supposed to have in my jsp? I am not 
sure I understand what is supposed to go into the type="" attribute. Is

it not using EL? I can't seem to find any documentation on it in the 
JavaDocs or in the archives.





public class MainController implements IconProvider {
private DefaultTreeModel treeModel;

public MainController() {
DefaultMutableTreeNode root = new DefaultMutableTreeNode(new 
TreeItem(1, "XY", "9001", "XY 9001"));
DefaultMutableTreeNode a = new DefaultMutableTreeNode(new 
TreeItem(2, "A", "9001", "A 9001"));
root.insert(a);
DefaultMutableTreeNode b = new DefaultMutableTreeNode(new 
TreeItem(3, "B", "9001", "B 9001"));
root.insert(b);
DefaultMutableTreeNode c = new DefaultMutableTreeNode(new 
TreeItem(4, "C", "9001", "C 9001"));
root.insert(c);

DefaultMutableTreeNode node = new DefaultMutableTreeNode(new 
TreeItem(5, "a1", "9002", "a1 9002"));
a.insert(node);
node = new DefaultMutableTreeNode(new TreeItem(6, "a2", "9002",

"a2 9002"));
a.insert(node);
node = new DefaultMutableTreeNode(new TreeItem(7, "a3", "9002",

"a3 9002"));
a.insert(node);
node = new DefaultMutableTreeNode(new TreeItem(8, "b", "9002",

"b 9002"));
b.insert(node);

a = node;
node = new DefaultMutableTreeNode(new TreeItem(9, "x1", "9003",

"x1 9003"));
a.insert(node);
node = new DefaultMutableTreeNode(new TreeItem(9, "x2", "9003",

"x2 9003"));
a.insert(node);
   
this.treeModel = new DefaultTreeModel(root);
}
public String getIconUrl(Object arg0, int arg1, boolean arg2) {
return "/images/tree/node.gif";
}
public DefaultTreeModel getTreeModel() {
return treeModel;
}

public void setTreeModel(DefaultTreeModel treeModel) {
this.treeModel = treeModel;
}

}

Bryan Dickey wrote:

> This should work (for the old tree table comp, which may be replaced
> soon - see archived "tree2" messages):
>
> *In JSP:
> 
> 
> 
> 
>
>
> *In backing bean:
>
> import org.apache.myfaces.custom.tree.IconProvider;
>
> public class TreeBean implements IconProvider {
> 
> //interface IconProvider (path to node icon)
> public String getIconUrl(Object arg0, int arg1, boolean arg2) {
> return "images/tree/node.gif";
> }
> }
>
> -Bryan
>
 [EMAIL PROTECTED] 03/16/05 10:29PM >>>
>>>
> Version: 1.0.8
>
> I am making use of the  component but am having trouble
getting
>
> the folder.gif icon to show up in my app, though it shows up fine in
> myfaces-examples. I am not seeing where I can specify a particular
> image for this. The rest of the icon's show up just fine. Another
> fella has this same problem in the forums, but nobody has replied to
> him
> yet.
>
> Thoughts? Thanks in advance,
> Aaron Bartell
>
> Here is my code:
>  value="#{MainCtl.treeModel}"
> var="treeItem"
> styleClass="tree"
> nodeClass="treenode"
> headerClass="treeHeader"
> footerClass="treeFooter"
> rowClasses="a, b"
> columnClasses="col1, col2"
> selectedNodeClass="treenodeSelected"
> expandRoot="true"
> iconChildFirst="/images/tree/line_first.gif"\
> iconChildMiddle="/images/tree/line_middle.gif"
> iconChildLast="/images/tree/line_last.gif"
>
> iconLine="/images/tree/line.gif"
> iconNoline="/images/tree/noline.gif"
>
> iconNodeClose="/images/tree/node_close.gif"
>
> iconNodeCloseFirst="/images/tree/node_close_first.gif"
> iconNodeCloseLast="/images/tree/node_close_last.gif"
>
> iconNodeCloseMiddle="/images/tree/node_close_middle.gif"
>
> iconNodeOpen="/images/tree/node_open.gif"
>
> iconNodeOpenFirst="/images/tree/node_open_first.gif"
> iconNodeOpenLast="/images/tree/node_open_last.gif"
> iconNodeOpenMiddle="/images/tree/node_open_middle.gif"
> >
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>


Re: MyFaces and Filters not working ?

2005-03-21 Thread Jonathan Eric Miller
I don't know if this is what you're seeing, but, if you are using Tomcat 
security, the filters don't get executed until after you have logged in. I'm 
using several filters with MyFaces without problem. The only other thing 
that I can think of is that you don't have the filter URL pattern set 
correctly.

Jon
- Original Message - 
From: <[EMAIL PROTECTED]>
To: 
Sent: Monday, March 21, 2005 4:09 AM
Subject: MyFaces and Filters not working ?


Hi
I am starting get to the stage of my migration from Struts to MyFaces
where I was going to add the security stuff. In my struts application I
am using SecurityFilter from S.F, and It works flawlessly. I configured
the MyFaces Blank application first to use the standard "BASIC"
authentication using a JDBCRealm in Tomcat5. That worked ok, popping up
a logon dialog to authenticate. Then I configured it to use
SecurityFilter, and I am seeing somthing strange. The init method of the
filter is being called Ok and it does its stuff. But the onFilter method
is NEVER called. I sa somebody else seing the same behaviour in the
ExtensionFilter, althogh in a different scenario. Is this a known issue
?
Hermod
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
*

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR 
Group
cannot accept any payment orders or other legally binding correspondence 
with
customers as a part of an email.

This email message has been virus checked by the virus programs used
in the DnB NOR Group.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
*




RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread Korhonen, Kalle
We are using JAAS at work and MyFaces and JAAS work fine for us.

Kalle 

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Monday, March 21, 2005 3:23 AM
> To: myfaces-user@incubator.apache.org
> Subject: MyFaces and JAAS on Tomcat
> 
> Hi
> 
> I have observed another peculiarity with MyFaces and Tomcat 
> with regards to security. 
> 
> If I use BASIC authentication, it works fine. However if I 
> use FORM authentication (and use a regular JSP page for the 
> form), I consistently get a HTTP 408 response.
> 
> I also created a simple jsp with a form that posts to the 
> standard j_security_check, but this fails with a 404 saying 
> j_security_check does not exist !
> 
> MyFaces is going to be serously hampered in acceptance if it 
> can not coexist with standard JAAS, and not to speak of 
> integration with Tomcat's security mechanism.
> 
> 
> Hermod
> 
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
> * * * * * * *
> 
> This email with attachments is solely for the use of the 
> individual or entity to whom it is addressed. Please also be 
> aware that the DnB NOR Group cannot accept any payment orders 
> or other legally binding correspondence with customers as a 
> part of an email. 
> 
> This email message has been virus checked by the virus 
> programs used in the DnB NOR Group.
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
> * * * * * * *
> 


Re: EL w/

2005-03-21 Thread Rob Williams
Matthias:
I went back and looked this over again. Turns out that the people on  
this thread:

http://forum.java.sun.com/thread.jspa?threadID=584037&tstart=360
got it to work using the RI and dynamically including jsf files. ??
Thanks.
On Mar 21, 2005, at 6:45 AM, Rob Williams wrote:
First off, guilty as charged: I am trying to dynamically include a  
file that contains JSF code.

I reviewed the Core book again today to look at the Tiles section.  
Looks like I am going to have
to make the WizardController in my scenario (which is deciding which  
panel to include in the
wizard layout, which stays the same) into a TilesController and then  
it should be ok.

My question is why on Earth do we have to do this? What is the point  
of having an EL if you
can't use it for something like this? Tiles looks like a good solution  
to other problems, but
for this I would prefer that dynamic content inclusion through a  
simple include tag and EL
would just work!

Thanks.
On Mar 20, 2005, at 11:41 PM, Matthias Wessendorf wrote:

Amit Modi wrote:
Try putting the  tag inside the jsp you want to import.
No, that should not be the reason.
In tiles example we also have  only in *template* JSP  
file.

One hint could be, that inside of JSTL you can't access  
faces-config.xml

So why not using Tiles with Apache MyFaces?
-Matthias
-Original Message-
From: Rob Williams [mailto:[EMAIL PROTECTED] Sent:  
Monday, March 21, 2005 4:42 AM
To: MyFaces User List
Subject: EL w/
 Here's the part of the page I am trying to get working:



I did some reading about using EL and found the pieces that would  
allow me
to stipulate the URL dynamically. When I first got the pieces in  
place and
tried it with MyFaces, it blew up with an error saying it couldn't  
find the
servlet path for the URL (but w/jsp on the end). I did some searches  
and
there was some talk of a fix for it (I even found a diff of the  
source
checked in on 3/10 to fix this problem). So I synced with CVS and  
built
everything and tried it again. The results this time are much more
spectacular failure, including some of the craziest stack traces  
I've ever
seen (looks like an endless loop). Here's an excerpt:
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl 
ication
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF 
ilterCh
ain.java:157)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp 
atcher.
java:704)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD 
ispatch
er.java:590)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis 
patcher
.java:510)
at
org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireStri 
ng(Impo
rtSupport.java:314)
at
org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(Im 
portSup
port.java:179)
at
org.apache.jsp.pages.labApplication_jsp._jspx_meth_c_import_0(labAppl 
ication
_jsp.java:295)
at
org.apache.jsp.pages.labApplication_jsp._jspx_meth_f_subview_0(labApp 
licatio
n_jsp.java:271)
at
org.apache.jsp.pages.labApplication_jsp._jspx_meth_h_form_0(labApplic 
ation_j
sp.java:225)
at
org.apache.jsp.pages.labApplication_jsp._jspx_meth_f_view_0(labApplic 
ation_j
sp.java:141)
at
org.apache.jsp.pages.labApplication_jsp._jspService(labApplication_js 
p.java:
90)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper 
.java:3
24)
at  
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java: 
292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl 
ication
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF 
ilterCh
ain.java:157)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp 
atcher.
java:704)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica 
tionDis
patcher.java:474)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD 
ispatch
er.java:409)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis 
patcher
.java:312)
at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatc 
h(Servl
etExternalContextImpl.java:405)
at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspV 
iewHand
lerImpl.java:280)
at  
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java: 
300)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl 
ication
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF 
ilterCh
ain.java:157)
at
org.apache.

RE: MyFaces and Filters not working ?

2005-03-21 Thread Korhonen, Kalle
On side, I've been working on a new project utilizing AppFuse, which
supports JSF. I just threw in the SecurityFilter and got it working
without problems.

Kalle

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Monday, March 21, 2005 2:09 AM
> To: myfaces-user@incubator.apache.org
> Subject: MyFaces and Filters not working ?
> 
> Hi
> 
> I am starting get to the stage of my migration from Struts to 
> MyFaces where I was going to add the security stuff. In my 
> struts application I am using SecurityFilter from S.F, and It 
> works flawlessly. I configured the MyFaces Blank application 
> first to use the standard "BASIC"
> authentication using a JDBCRealm in Tomcat5. That worked ok, 
> popping up a logon dialog to authenticate. Then I configured 
> it to use SecurityFilter, and I am seeing somthing strange. 
> The init method of the filter is being called Ok and it does 
> its stuff. But the onFilter method is NEVER called. I sa 
> somebody else seing the same behaviour in the 
> ExtensionFilter, althogh in a different scenario. Is this a 
> known issue ?
> 
> Hermod
> 
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
> * * * * * * *
> 
> This email with attachments is solely for the use of the 
> individual or entity to whom it is addressed. Please also be 
> aware that the DnB NOR Group cannot accept any payment orders 
> or other legally binding correspondence with customers as a 
> part of an email. 
> 
> This email message has been virus checked by the virus 
> programs used in the DnB NOR Group.
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
> * * * * * * *
> 


Re: Tree2 Problem

2005-03-21 Thread Sean Schofield
> I don't think issuing a warning is the correct way to go. Since in the
> case that somebody needs this behaviour he is always bombarded by
> warnings from his tree. This will clog up his logs and can be very
> annoying. (Had a similar problem with an old version of datatable : ( )
> What I would suggest is that the tree simply ignores the fact that it
> can't find certain nodes or even better make it that the user can turn
> this behaviour on or off.
> IMHO a warning is an error.

The warning would be in addition to the option to not save the
expanded state info.  So if Time were to use that option, he would
never get a warning.  So the option to ignore the expanded state info
will solve his problem 100% without any warnings.

I was addressing a second issue that might come up.  Suppose two users
are looking at the same tree.  Suppose the first user does something
to cause the node to disappear in the database.  Now suppose user 2
clicks on that node.  What do we do now?  I think the answer depends
on the situation.  Are you just trying to record the user clicked on
that node or are you trying to load a resource or do something in an
action based on that click?

Its a complicated problem (although not one that is likely to come up
often.)  I don't think you can just ignore it as you are suggesting. 
IMO a warning is appropriate if you decide to do nothing but we may
still need to throw an exception in situations where we can't continue
without a node.

> Stefan

sean


[Shale] David Geary on Struts Shale (again ;)

2005-03-21 Thread Matthias Wessendorf
Seams that David Geary competes with Matt Raible
about the bloging crown ;)
See here:
http://www.jroller.com/page/dgeary/20050321#shale_cometh
-Matthias


Re: Tree2 Problem

2005-03-21 Thread Stefan Langer
Sean Schofield wrote:
OK well that explains the problem.  I have two ideas to improve tree2
on this front:
 

2.) Generate a warning (instead of exception) if the node cannot be
found.  This way if you do want to preserve node state but you have
the unusual case where the underlying data changes, you don't crash. 
Obviously in your case it won't be unusual but there are other cases
where perhaps another user updated the database in between posts and
so the underlying tree data changed.  Maybe also a preserveTreeModel
attribute similar to preserveDataModel for  ...

I will work on a patch for #1 and think about #2
sean
 

Hello Sean,
I don't think issuing a warning is the correct way to go. Since in the 
case that somebody needs this behaviour he is always bombarded by 
warnings from his tree. This will clog up his logs and can be very 
annoying. (Had a similar problem with an old version of datatable : ( )
What I would suggest is that the tree simply ignores the fact that it 
can't find certain nodes or even better make it that the user can turn 
this behaviour on or off.
IMHO a warning is an error.

just my 2ct.
Regards
Stefan


Re: MyFaces and Filters not working ?

2005-03-21 Thread Adrien FOURES
Hermod,
I use MyFaces 1.0.8 with JSF 1.0.1_1, and Tomcat 5.0.28, i have develop 
an filter for the authentification too, and it's working very well

- build class wich implement javax.servlet.Filter,
- put all your code in the doFilter function,
- add in your web.xml

 NameFilter
 package.class


 NameFilter
 /page/private/*

Adrien
[EMAIL PROTECTED] wrote:
Hi
I am starting get to the stage of my migration from Struts to MyFaces
where I was going to add the security stuff. In my struts application I
am using SecurityFilter from S.F, and It works flawlessly. I configured
the MyFaces Blank application first to use the standard "BASIC"
authentication using a JDBCRealm in Tomcat5. That worked ok, popping up
a logon dialog to authenticate. Then I configured it to use
SecurityFilter, and I am seeing somthing strange. The init method of the
filter is being called Ok and it does its stuff. But the onFilter method
is NEVER called. I sa somebody else seing the same behaviour in the
ExtensionFilter, althogh in a different scenario. Is this a known issue
?
Hermod
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 



Re: Tree2 Problem

2005-03-21 Thread Sean Schofield
OK well that explains the problem.  I have two ideas to improve tree2
on this front:

1.) Have the option to not maintain the expand/collapse state info. 
Basically a saveExpandedState attribute (true|false) with a default of
true.  This will fix your problem.

2.) Generate a warning (instead of exception) if the node cannot be
found.  This way if you do want to preserve node state but you have
the unusual case where the underlying data changes, you don't crash. 
Obviously in your case it won't be unusual but there are other cases
where perhaps another user updated the database in between posts and
so the underlying tree data changed.  Maybe also a preserveTreeModel
attribute similar to preserveDataModel for  ...

I will work on a patch for #1 and think about #2

sean


On Mon, 21 Mar 2005 09:22:44 -0600, Tim Pyle <[EMAIL PROTECTED]> wrote:
> On this particular page, I am only using the one tree. On this same
> page, I have a drop down, with different file extensions. When the tree
> first comes up initially, it is unfiltered(it has all files). The drop
> down has the attribute onclick=submit() on it. So when they choose a
> particular extension, the page is submitted and the tree gets rebuilt
> with only the files that have the chosen extension. So this is whee the
> problem is... you are correct, the tree is trying to rebuild nodes that
> no longer exist. In this example, I do not need the tree to save it's
> state, I need it to be rebuilt from the top down, so this is why I was
> suggesting maybe an attribute so the user can control this behavior. I
> am sure it will not be used too often, but who knows.
> 
> Tim Pyle
> 
> On Sun, 2005-03-20 at 09:21, Sean Schofield wrote:
> > Well the cookies are used during client-side toggle.  They are session
> > only cookies (they go away when the browser window is closed.)  Right
> > now they are the mechnasism for posting back any changes to the
> > expand/collapse state you made via javascript before clicking on a
> > tree node.
> >
> > There are other possible mechanisms for doing this besides cookies.  I
> > am not entirely satisified with the cookie approach but it gets pretty
> > complicated using something other than cookies.  I'd be interested if
> > anyone out there has some ideas on this.  I'd especially like to see
> > some code (or a patch) that actually works.  I've run into a few
> > issues when it gets down to actually making it work.
> >
> > My guess is that you are posting cookie information pertaining to an
> > old tree?  Is that possible?  The error message seems to indicate that
> > there is no such node 0:2:21.  Btw that notation would mean first
> > branch, then the third branch under that, then the 22nd leaf.
> >
> > Its possible that the cookie information is not being maintained
> > separately for your two trees.  (You're using two trees right?)  If
> > this is the case, it could be trying to apply the one set of state
> > information to the other tree.  Try removing the one tree temporarily
> > and see if you still have the problem.  I will look into if this is an
> > issue.
> >
> > Finally, when you say it works fine without cookies enabled, I'm
> > assuming you are not saying that the expand/collapse state information
> > works fine.  I would think that you would lose information on any
> > nodes that had a change in this state on the client before you posted.
> >
> > Regards,
> > sean
> >
> >
> > On Fri, 18 Mar 2005 10:14:30 -0600, Tim Pyle <[EMAIL PROTECTED]> wrote:
> > > Well Sean I finally found my problem with reading from the wrong
> > > myfaces.jar. It was actually picking up it from the
> > > myfaces-examples.war.  So now I have that working with the new code, and
> > > sure enough, the warnings are all gone. I am now getting this error when
> > > rebuilding the tree based on a filter.
> > >
> > > [Engine] StandardContext[/jport]Node with id 0:2:21. Failed to parse
> > > 0:2:21
> > >  [exec] java.lang.IllegalArgumentException: Node with id 0:2:21.
> > > Failed to parse 0:2:21
> > >
> > > I have found that this only occurs when cookies are enabled on the
> > > browser. If I disable the cookies, then the tree rebuilds with the new
> > > data without error. Is there a way to tell the tree not to try and save
> > > state via a cookie. Seems like maybe a simple attribute addition to the
> > > TreeTag... maybe useCookie="false" type of thing.
> > >
> > > Tim Pyle
> > >
> > >
> 
>


Re: Behavior of inputFileUpload when uploadMaxFileSize exceeded

2005-03-21 Thread Jonathan Eric Miller
I found out that I was wrong here. The problem that I was running into was 
that I had a table with text boxes in it and the table values were being 
forgotten (or more correctly, reverted to their old values (i..e it 
reverting it to the converted values rather than the submitted values)) when 
there was a validation error in a text box that came before the table. At 
the time, I was using the JSF RI. As far as I could tell, everything was 
coded properly, so, I decided to try it with MyFaces and sure enough, it 
worked fine with MyFaces (I'm glad I've figured out how to get MyFaces up 
and running now, it's great for debugging). So, I think it might be a bug in 
the JSF RI. I'm going to try to make a simplified test case and possibly 
submit it as a bug, but, I also want to try it with a JSF RI nightly build.

Jon
- Original Message - 
From: "Jonathan Eric Miller" <[EMAIL PROTECTED]>
To: "MyFaces Discussion" 
Sent: Wednesday, March 16, 2005 3:50 PM
Subject: Re: Behavior of inputFileUpload when uploadMaxFileSize exceeded


One other thing that I noticed is that it appears that if you have fields 
after a file upload field and the file upload field has required="true", 
it seems to not store the values of the later fields in the bean if no 
value is specified for the file upload field. So, it forgets those values. 
I need to test it further though, to make sure it's not something that I'm 
doing. Has anyone else seen this problem?

Jon



Re: Tree2 Problem

2005-03-21 Thread Tim Pyle
On this particular page, I am only using the one tree. On this same
page, I have a drop down, with different file extensions. When the tree
first comes up initially, it is unfiltered(it has all files). The drop
down has the attribute onclick=submit() on it. So when they choose a
particular extension, the page is submitted and the tree gets rebuilt
with only the files that have the chosen extension. So this is whee the
problem is... you are correct, the tree is trying to rebuild nodes that
no longer exist. In this example, I do not need the tree to save it's
state, I need it to be rebuilt from the top down, so this is why I was
suggesting maybe an attribute so the user can control this behavior. I
am sure it will not be used too often, but who knows.

Tim Pyle

On Sun, 2005-03-20 at 09:21, Sean Schofield wrote:
> Well the cookies are used during client-side toggle.  They are session
> only cookies (they go away when the browser window is closed.)  Right
> now they are the mechnasism for posting back any changes to the
> expand/collapse state you made via javascript before clicking on a
> tree node.
> 
> There are other possible mechanisms for doing this besides cookies.  I
> am not entirely satisified with the cookie approach but it gets pretty
> complicated using something other than cookies.  I'd be interested if
> anyone out there has some ideas on this.  I'd especially like to see
> some code (or a patch) that actually works.  I've run into a few
> issues when it gets down to actually making it work.
> 
> My guess is that you are posting cookie information pertaining to an
> old tree?  Is that possible?  The error message seems to indicate that
> there is no such node 0:2:21.  Btw that notation would mean first
> branch, then the third branch under that, then the 22nd leaf.
> 
> Its possible that the cookie information is not being maintained
> separately for your two trees.  (You're using two trees right?)  If
> this is the case, it could be trying to apply the one set of state
> information to the other tree.  Try removing the one tree temporarily
> and see if you still have the problem.  I will look into if this is an
> issue.
> 
> Finally, when you say it works fine without cookies enabled, I'm
> assuming you are not saying that the expand/collapse state information
> works fine.  I would think that you would lose information on any
> nodes that had a change in this state on the client before you posted.
> 
> Regards,
> sean
> 
> 
> On Fri, 18 Mar 2005 10:14:30 -0600, Tim Pyle <[EMAIL PROTECTED]> wrote:
> > Well Sean I finally found my problem with reading from the wrong
> > myfaces.jar. It was actually picking up it from the
> > myfaces-examples.war.  So now I have that working with the new code, and
> > sure enough, the warnings are all gone. I am now getting this error when
> > rebuilding the tree based on a filter.
> > 
> > [Engine] StandardContext[/jport]Node with id 0:2:21. Failed to parse
> > 0:2:21
> >  [exec] java.lang.IllegalArgumentException: Node with id 0:2:21.
> > Failed to parse 0:2:21
> > 
> > I have found that this only occurs when cookies are enabled on the
> > browser. If I disable the cookies, then the tree rebuilds with the new
> > data without error. Is there a way to tell the tree not to try and save
> > state via a cookie. Seems like maybe a simple attribute addition to the
> > TreeTag... maybe useCookie="false" type of thing.
> > 
> > Tim Pyle
> > 
> >



Re: MyFaces and JAAS on Tomcat

2005-03-21 Thread Matthias Wessendorf
ah, sorry.
That is a different story, I think.
well one possibility can be using Shale for the backing beans in the 
secure area.

create a BasicSecureBackingBean that extends the default implementation
of ViewController interfaces.
on the logonBean you will do some *user-validation* and add users to a 
vector or else (application scope) *after* that forward to secure/*

each BackingBean that is used inside of secure/ will extend
BasicSecureBackingBean.
Its *advanced* lifecyle method can check on each request, if a user
is logged on.
Perhaps, I understood you now?
[EMAIL PROTECTED] wrote:
Hi
No - What I want is what I have in my Strus version : On the frontpage i
have fields for username/password and a login button. That way a user
can log in at any given time - He/She does not have do access a secured
resource to get a "forced" login. Thats why I have been using
SecurityFilter ( S.F project) in my Struts app. However I have not been
able to get SecurityFilter to work with MyFaces (Yet). It is configured
as a Filter, and the init method is called OK, but the doFilter method
is never called (!).
Hermod
-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 1:53 PM
To: MyFaces Discussion
Subject: Re: MyFaces and JAAS on Tomcat
Pre-login ?
Can you explain ? I guess I missed something :-)
if you need logoff() create managedBean with a
public String logoff(); that does the stuff shown in the
struts app for tomcat.
-Matthias
[EMAIL PROTECTED] wrote:
Hi
As I said in my post : It works if you try to access a secured
resource.
You can however not "Pre-login" - That is enter you username/password
at
the frontpage, and then be authenticated.
Hermod
-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 1:48 PM
To: MyFaces Discussion
Subject: Re: MyFaces and JAAS on Tomcat
BTW.
I just copied helloWorld.jsp to secure
so please request localhsot:8080/mfaces.../secure/helloWorld.jsf
that should present you the login form.
HTH,
Matthias
Matthias Wessendorf wrote:

That worked!
I send you (private) the WAR
(user with role admin in tomcat-users.xml on my box)
HTH,
Matthias

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *
This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR
Group
cannot accept any payment orders or other legally binding
correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *


Re: EL w/

2005-03-21 Thread Rob Williams
First off, guilty as charged: I am trying to dynamically include a file  
that contains JSF code.

I reviewed the Core book again today to look at the Tiles section.  
Looks like I am going to have
to make the WizardController in my scenario (which is deciding which  
panel to include in the
wizard layout, which stays the same) into a TilesController and then it  
should be ok.

My question is why on Earth do we have to do this? What is the point of  
having an EL if you
can't use it for something like this? Tiles looks like a good solution  
to other problems, but
for this I would prefer that dynamic content inclusion through a simple  
include tag and EL
would just work!

Thanks.
On Mar 20, 2005, at 11:41 PM, Matthias Wessendorf wrote:

Amit Modi wrote:
Try putting the  tag inside the jsp you want to import.
No, that should not be the reason.
In tiles example we also have  only in *template* JSP file.
One hint could be, that inside of JSTL you can't access  
faces-config.xml

So why not using Tiles with Apache MyFaces?
-Matthias
-Original Message-
From: Rob Williams [mailto:[EMAIL PROTECTED] Sent:  
Monday, March 21, 2005 4:42 AM
To: MyFaces User List
Subject: EL w/
 Here's the part of the page I am trying to get working:



I did some reading about using EL and found the pieces that would  
allow me
to stipulate the URL dynamically. When I first got the pieces in  
place and
tried it with MyFaces, it blew up with an error saying it couldn't  
find the
servlet path for the URL (but w/jsp on the end). I did some searches  
and
there was some talk of a fix for it (I even found a diff of the source
checked in on 3/10 to fix this problem). So I synced with CVS and  
built
everything and tried it again. The results this time are much more
spectacular failure, including some of the craziest stack traces I've  
ever
seen (looks like an endless loop). Here's an excerpt:
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli 
cation
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi 
lterCh
ain.java:157)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa 
tcher.
java:704)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi 
spatch
er.java:590)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp 
atcher
.java:510)
at
org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireStrin 
g(Impo
rtSupport.java:314)
at
org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(Imp 
ortSup
port.java:179)
at
org.apache.jsp.pages.labApplication_jsp._jspx_meth_c_import_0(labAppli 
cation
_jsp.java:295)
at
org.apache.jsp.pages.labApplication_jsp._jspx_meth_f_subview_0(labAppl 
icatio
n_jsp.java:271)
at
org.apache.jsp.pages.labApplication_jsp._jspx_meth_h_form_0(labApplica 
tion_j
sp.java:225)
at
org.apache.jsp.pages.labApplication_jsp._jspx_meth_f_view_0(labApplica 
tion_j
sp.java:141)
at
org.apache.jsp.pages.labApplication_jsp._jspService(labApplication_jsp 
.java:
90)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper. 
java:3
24)
at  
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java: 
292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli 
cation
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi 
lterCh
ain.java:157)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa 
tcher.
java:704)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicat 
ionDis
patcher.java:474)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDi 
spatch
er.java:409)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDisp 
atcher
.java:312)
at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch 
(Servl
etExternalContextImpl.java:405)
at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspVi 
ewHand
lerImpl.java:280)
at  
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java: 
300)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli 
cation
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi 
lterCh
ain.java:157)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa 
tcher.
java:704)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi 
spatch
er.java:590)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp 
atcher
.java:510)
at
org.apache.taglibs.st

RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
Hi

I really hope so.

Hermod

-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 2:51 PM
To: MyFaces Discussion
Subject: Re: MyFaces and JAAS on Tomcat


:)

but looking into Shale should be not uninteressting ;)

-Matthias

[EMAIL PROTECTED] wrote:
> Hi
> 
> Oh I am embarresed - So embarresed :-(
> 
> I finally found out why the doFilter did not get called - I had
defined
> the filter, but not the filter mapping - Now it works just as it
should
> do.
> 
> Regretfully
> Hermod
> 
> -Original Message-
> From: Sean Schofield [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 21, 2005 2:25 PM
> To: MyFaces Discussion
> Subject: Re: MyFaces and JAAS on Tomcat
> 
> 
> This doesn't sound like its related to MyFaces.  Are you sure this was
> working before you tried MyFaces?
> 
> sean
> 
> 
> On Mon, 21 Mar 2005 14:02:38 +0100, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> 
>>Hi
>>
>>No - What I want is what I have in my Strus version : On the frontpage
> 
> i
> 
>>have fields for username/password and a login button. That way a user
>>can log in at any given time - He/She does not have do access a
> 
> secured
> 
>>resource to get a "forced" login. Thats why I have been using
>>SecurityFilter ( S.F project) in my Struts app. However I have not
> 
> been
> 
>>able to get SecurityFilter to work with MyFaces (Yet). It is
> 
> configured
> 
>>as a Filter, and the init method is called OK, but the doFilter method
>>is never called (!).
>>
>>Hermod
>>
>>-Original Message-
>>From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
>>Sent: Monday, March 21, 2005 1:53 PM
>>To: MyFaces Discussion
>>Subject: Re: MyFaces and JAAS on Tomcat
>>
>>Pre-login ?
>>
>>Can you explain ? I guess I missed something :-)
>>
>>if you need logoff() create managedBean with a
>>
>>public String logoff(); that does the stuff shown in the
>>struts app for tomcat.
>>
>>-Matthias
>>
>>[EMAIL PROTECTED] wrote:
>>
>>>Hi
>>>
>>>As I said in my post : It works if you try to access a secured
>>
>>resource.
>>
>>>You can however not "Pre-login" - That is enter you
> 
> username/password
> 
>>at
>>
>>>the frontpage, and then be authenticated.
>>>
>>>Hermod
>>>
>>>-Original Message-
>>>From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
>>>Sent: Monday, March 21, 2005 1:48 PM
>>>To: MyFaces Discussion
>>>Subject: Re: MyFaces and JAAS on Tomcat
>>>
>>>
>>>BTW.
>>>
>>>I just copied helloWorld.jsp to secure
>>>
>>>so please request localhsot:8080/mfaces.../secure/helloWorld.jsf
>>>
>>>that should present you the login form.
>>>
>>>HTH,
>>>Matthias
>>>
>>>Matthias Wessendorf wrote:
>>>
>>>
That worked!

I send you (private) the WAR

(user with role admin in tomcat-users.xml on my box)

HTH,
Matthias

>>>
>>>
>>>
>>>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> 
> *
> 
>>* * *
>>
>>>This email with attachments is solely for the use of the individual
> 
> or
> 
>>>entity to whom it is addressed. Please also be aware that the DnB
> 
> NOR
> 
>>Group
>>
>>>cannot accept any payment orders or other legally binding
>>
>>correspondence with
>>
>>>customers as a part of an email.
>>>
>>>This email message has been virus checked by the virus programs used
>>>in the DnB NOR Group.
>>>
>>>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> 
> *
> 
>>* * *
>>
>>>


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



Modify stylesheet

2005-03-21 Thread Ducret, Gilles (CH)








Hi all,

 

We are using the jcook menu and have problems to modify the
stylesheets. The only stylesheet we could modify was the one for ThemeIE.

 

But one problem remains: it displays a shadow as a
background of the menu and the effect is not beautiful with our style. We would
like to remove it, by suppressing the windows css filter line in the submenu
item. But this did not change anything.

 

Did anybody succeeded doing that?

Could you change the other styles?

 

All the styles are automatically loaded, even if we only
suggested to load the ThemeIE. Do you know why?

 

Many thanks in advance

 

Gilles DUCRET

IT Development

[EMAIL PROTECTED]

Tel: +41 22 307 32 29

 





__

"This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager ([EMAIL PROTECTED]) and delete the message and any attached files from your system. 
The confidentiality and integrity of this message cannot be guaranteed on the Internet and the sender does not accept liability for its content"
__






Re: [Myfaces-user] [FYI] FacesIDE (Opensource IDE for JSF)

2005-03-21 Thread Martin Marinschek
... and if there was something like that for IntelliJ, I would be
grateful, too! Even though I know they are working on an integration
of JSF in their IDE...

regards,

Martin


On Mon, 21 Mar 2005 14:38:03 +0100, Francesco Consumi
<[EMAIL PROTECTED]> wrote:
> Scrive Matthias Wessendorf <[EMAIL PROTECTED]>:
> 
> > I know only that link:
> >
> > http://coding.mu/index.php/archives/2005/01/21/how-to-set-up-netbeans-40-for
> > -java-server-faces-development/
> >
> thanks, I've already read that document. My problem is related to code
> helpers for jsf expressions:  in #{bean.value} code is very easy to do
> errors...
> 
> 
> --
> Francesco Consumi
> Ufficio Sistemi informativi
> Istituto degli Innocenti
> Piazza SS.Annunziata, 12
> 50122 Firenze
> consumi at istitutodeglinnocenti.it
> Tel. +39 055 2037320
> ICQ# 12516133
> 
>


Re: MyFaces and JAAS on Tomcat

2005-03-21 Thread Matthias Wessendorf
:)
but looking into Shale should be not uninteressting ;)
-Matthias
[EMAIL PROTECTED] wrote:
Hi
Oh I am embarresed - So embarresed :-(
I finally found out why the doFilter did not get called - I had defined
the filter, but not the filter mapping - Now it works just as it should
do.
Regretfully
Hermod
-Original Message-
From: Sean Schofield [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 2:25 PM
To: MyFaces Discussion
Subject: Re: MyFaces and JAAS on Tomcat
This doesn't sound like its related to MyFaces.  Are you sure this was
working before you tried MyFaces?
sean
On Mon, 21 Mar 2005 14:02:38 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
Hi
No - What I want is what I have in my Strus version : On the frontpage
i
have fields for username/password and a login button. That way a user
can log in at any given time - He/She does not have do access a
secured
resource to get a "forced" login. Thats why I have been using
SecurityFilter ( S.F project) in my Struts app. However I have not
been
able to get SecurityFilter to work with MyFaces (Yet). It is
configured
as a Filter, and the init method is called OK, but the doFilter method
is never called (!).
Hermod
-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 1:53 PM
To: MyFaces Discussion
Subject: Re: MyFaces and JAAS on Tomcat
Pre-login ?
Can you explain ? I guess I missed something :-)
if you need logoff() create managedBean with a
public String logoff(); that does the stuff shown in the
struts app for tomcat.
-Matthias
[EMAIL PROTECTED] wrote:
Hi
As I said in my post : It works if you try to access a secured
resource.
You can however not "Pre-login" - That is enter you
username/password
at
the frontpage, and then be authenticated.
Hermod
-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 1:48 PM
To: MyFaces Discussion
Subject: Re: MyFaces and JAAS on Tomcat
BTW.
I just copied helloWorld.jsp to secure
so please request localhsot:8080/mfaces.../secure/helloWorld.jsf
that should present you the login form.
HTH,
Matthias
Matthias Wessendorf wrote:

That worked!
I send you (private) the WAR
(user with role admin in tomcat-users.xml on my box)
HTH,
Matthias

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* * *
This email with attachments is solely for the use of the individual
or
entity to whom it is addressed. Please also be aware that the DnB
NOR
Group
cannot accept any payment orders or other legally binding
correspondence with
customers as a part of an email.
This email message has been virus checked by the virus programs used
in the DnB NOR Group.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* * *



RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
Hi

Oh I am embarresed - So embarresed :-(

I finally found out why the doFilter did not get called - I had defined
the filter, but not the filter mapping - Now it works just as it should
do.

Regretfully
Hermod

-Original Message-
From: Sean Schofield [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 2:25 PM
To: MyFaces Discussion
Subject: Re: MyFaces and JAAS on Tomcat


This doesn't sound like its related to MyFaces.  Are you sure this was
working before you tried MyFaces?

sean


On Mon, 21 Mar 2005 14:02:38 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hi
> 
> No - What I want is what I have in my Strus version : On the frontpage
i
> have fields for username/password and a login button. That way a user
> can log in at any given time - He/She does not have do access a
secured
> resource to get a "forced" login. Thats why I have been using
> SecurityFilter ( S.F project) in my Struts app. However I have not
been
> able to get SecurityFilter to work with MyFaces (Yet). It is
configured
> as a Filter, and the init method is called OK, but the doFilter method
> is never called (!).
> 
> Hermod
> 
> -Original Message-
> From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 21, 2005 1:53 PM
> To: MyFaces Discussion
> Subject: Re: MyFaces and JAAS on Tomcat
> 
> Pre-login ?
> 
> Can you explain ? I guess I missed something :-)
> 
> if you need logoff() create managedBean with a
> 
> public String logoff(); that does the stuff shown in the
> struts app for tomcat.
> 
> -Matthias
> 
> [EMAIL PROTECTED] wrote:
> > Hi
> >
> > As I said in my post : It works if you try to access a secured
> resource.
> > You can however not "Pre-login" - That is enter you
username/password
> at
> > the frontpage, and then be authenticated.
> >
> > Hermod
> >
> > -Original Message-
> > From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 21, 2005 1:48 PM
> > To: MyFaces Discussion
> > Subject: Re: MyFaces and JAAS on Tomcat
> >
> >
> > BTW.
> >
> > I just copied helloWorld.jsp to secure
> >
> > so please request localhsot:8080/mfaces.../secure/helloWorld.jsf
> >
> > that should present you the login form.
> >
> > HTH,
> > Matthias
> >
> > Matthias Wessendorf wrote:
> >
> >>That worked!
> >>
> >>I send you (private) the WAR
> >>
> >>(user with role admin in tomcat-users.xml on my box)
> >>
> >>HTH,
> >>Matthias
> >>
> >
> >
> >
> > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
> * * *
> >
> > This email with attachments is solely for the use of the individual
or
> > entity to whom it is addressed. Please also be aware that the DnB
NOR
> Group
> > cannot accept any payment orders or other legally binding
> correspondence with
> > customers as a part of an email.
> >
> > This email message has been virus checked by the virus programs used
> > in the DnB NOR Group.
> >
> > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
> * * *
> >
> >
>


Re: [Myfaces-user] [FYI] FacesIDE (Opensource IDE for JSF)

2005-03-21 Thread Francesco Consumi
Scrive Matthias Wessendorf <[EMAIL PROTECTED]>:
I know only that link:
http://coding.mu/index.php/archives/2005/01/21/how-to-set-up-netbeans-40-for
-java-server-faces-development/
thanks, I've already read that document. My problem is related to code 
helpers for jsf expressions:  in #{bean.value} code is very easy to do 
errors...

--
Francesco Consumi
Ufficio Sistemi informativi
Istituto degli Innocenti
Piazza SS.Annunziata, 12
50122 Firenze
consumi at istitutodeglinnocenti.it
Tel. +39 055 2037320
ICQ# 12516133


RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
Hi

Oh, Yes. This is a standard feature with SecurityFilter. I am currently
nesting through the code to se why the doFilter method is not getting
called.

Hermod

-Original Message-
From: Sean Schofield [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 2:25 PM
To: MyFaces Discussion
Subject: Re: MyFaces and JAAS on Tomcat


This doesn't sound like its related to MyFaces.  Are you sure this was
working before you tried MyFaces?

sean


On Mon, 21 Mar 2005 14:02:38 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hi
> 
> No - What I want is what I have in my Strus version : On the frontpage
i
> have fields for username/password and a login button. That way a user
> can log in at any given time - He/She does not have do access a
secured
> resource to get a "forced" login. Thats why I have been using
> SecurityFilter ( S.F project) in my Struts app. However I have not
been
> able to get SecurityFilter to work with MyFaces (Yet). It is
configured
> as a Filter, and the init method is called OK, but the doFilter method
> is never called (!).
> 
> Hermod
> 
> -Original Message-
> From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 21, 2005 1:53 PM
> To: MyFaces Discussion
> Subject: Re: MyFaces and JAAS on Tomcat
> 
> Pre-login ?
> 
> Can you explain ? I guess I missed something :-)
> 
> if you need logoff() create managedBean with a
> 
> public String logoff(); that does the stuff shown in the
> struts app for tomcat.
> 
> -Matthias
> 
> [EMAIL PROTECTED] wrote:
> > Hi
> >
> > As I said in my post : It works if you try to access a secured
> resource.
> > You can however not "Pre-login" - That is enter you
username/password
> at
> > the frontpage, and then be authenticated.
> >
> > Hermod
> >
> > -Original Message-
> > From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 21, 2005 1:48 PM
> > To: MyFaces Discussion
> > Subject: Re: MyFaces and JAAS on Tomcat
> >
> >
> > BTW.
> >
> > I just copied helloWorld.jsp to secure
> >
> > so please request localhsot:8080/mfaces.../secure/helloWorld.jsf
> >
> > that should present you the login form.
> >
> > HTH,
> > Matthias
> >
> > Matthias Wessendorf wrote:
> >
> >>That worked!
> >>
> >>I send you (private) the WAR
> >>
> >>(user with role admin in tomcat-users.xml on my box)
> >>
> >>HTH,
> >>Matthias
> >>
> >
> >
> >
> > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
> * * *
> >
> > This email with attachments is solely for the use of the individual
or
> > entity to whom it is addressed. Please also be aware that the DnB
NOR
> Group
> > cannot accept any payment orders or other legally binding
> correspondence with
> > customers as a part of an email.
> >
> > This email message has been virus checked by the virus programs used
> > in the DnB NOR Group.
> >
> > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
> * * *
> >
> >
>


Re: MyFaces and JAAS on Tomcat

2005-03-21 Thread Sean Schofield
This doesn't sound like its related to MyFaces.  Are you sure this was
working before you tried MyFaces?

sean


On Mon, 21 Mar 2005 14:02:38 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hi
> 
> No - What I want is what I have in my Strus version : On the frontpage i
> have fields for username/password and a login button. That way a user
> can log in at any given time - He/She does not have do access a secured
> resource to get a "forced" login. Thats why I have been using
> SecurityFilter ( S.F project) in my Struts app. However I have not been
> able to get SecurityFilter to work with MyFaces (Yet). It is configured
> as a Filter, and the init method is called OK, but the doFilter method
> is never called (!).
> 
> Hermod
> 
> -Original Message-
> From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 21, 2005 1:53 PM
> To: MyFaces Discussion
> Subject: Re: MyFaces and JAAS on Tomcat
> 
> Pre-login ?
> 
> Can you explain ? I guess I missed something :-)
> 
> if you need logoff() create managedBean with a
> 
> public String logoff(); that does the stuff shown in the
> struts app for tomcat.
> 
> -Matthias
> 
> [EMAIL PROTECTED] wrote:
> > Hi
> >
> > As I said in my post : It works if you try to access a secured
> resource.
> > You can however not "Pre-login" - That is enter you username/password
> at
> > the frontpage, and then be authenticated.
> >
> > Hermod
> >
> > -Original Message-
> > From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 21, 2005 1:48 PM
> > To: MyFaces Discussion
> > Subject: Re: MyFaces and JAAS on Tomcat
> >
> >
> > BTW.
> >
> > I just copied helloWorld.jsp to secure
> >
> > so please request localhsot:8080/mfaces.../secure/helloWorld.jsf
> >
> > that should present you the login form.
> >
> > HTH,
> > Matthias
> >
> > Matthias Wessendorf wrote:
> >
> >>That worked!
> >>
> >>I send you (private) the WAR
> >>
> >>(user with role admin in tomcat-users.xml on my box)
> >>
> >>HTH,
> >>Matthias
> >>
> >
> >
> >
> > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> * * *
> >
> > This email with attachments is solely for the use of the individual or
> > entity to whom it is addressed. Please also be aware that the DnB NOR
> Group
> > cannot accept any payment orders or other legally binding
> correspondence with
> > customers as a part of an email.
> >
> > This email message has been virus checked by the virus programs used
> > in the DnB NOR Group.
> >
> > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> * * *
> >
> >
>


Re: My Faces 1.0.9 gives error with Tomcat 4.1.30

2005-03-21 Thread Sean Schofield
I think I had this same problem with Tomcat 4.1.  I can't remember for
sure.  I upgraded to Tomcat 5.0.28 and now I have no problems.  I know
you probably have a reason for using Tomcat 4.1 but its getting to be
less and less common so you might want to consider upgrading to 5.0.

sean


On Mon, 21 Mar 2005 18:30:11 +0530, Mihir Solanki
<[EMAIL PROTECTED]> wrote:
> I have downloaded the latest tomcat binary from apache (4.1.31)
> 
> It is still giving me the same error...
> 
> Mihir
> 
> -Original Message-
> From: Bruno Aranda [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 21, 2005 5:27 PM
> To: MyFaces Discussion; [EMAIL PROTECTED]
> Subject: Re: My Faces 1.0.9 gives error with Tomcat 4.1.30
> 
> Try to remove previous versions from tomcat as there are conflicts
> between the different versions... you could try on a clean
> installation of tomcat to check that everybody works ok,
> 
> Bruno
> 
> On Mon, 21 Mar 2005 17:22:23 +0530, Mihir Solanki
> <[EMAIL PROTECTED]> wrote:
> >
> > Hi all, I have just downloaded myfaces 1.0.9 examples war from apache
> > website. I have deployed it in Tomcat 4.1.30 It is giving me following
> error
> > when I make the first request to myfaces examples application. Please
> guide
> > me where I am doing wrong. NOTE: I AM SUCCESSFULLY RUNNING 1.0.8 IN THE
> SAME
> > TOMCAT VERSION. javax.servlet.ServletException: This absolute uri
> > (http://java.sun.com/jsf/html) cannot be resolved in either web.xml or the
> > jar files deployed with this applicationat
> > javax.faces.webapp.FacesServlet.service(FacesServlet.java:125)at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:247)
> >at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193)
> >at
> >
> org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsF
> ilter.java:115)
> >at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:213)
> >at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193)
> >at
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:256)
> >at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
> >at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >   at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 
> > at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:191)
> >at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
> >at
> >
> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
> 46)
> >at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:641)
> >at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >   at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 
> > at
> > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
> 
> >  at
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
> )
> >at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
> >at
> >
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
> java:171)
> >at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:641)
> >at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163
> )
> >at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:641)
> >at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >   at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 
> > at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :174)
> >at
> >
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
> >at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >   at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 
> > at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
> 
> >  at
> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
> 
> >  at
> >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:700)
> >at
> > org.apache.tomcat.util.net.Tc

Re: MyFaces 1.0.9 not working with Tomcat 5.0.28

2005-03-21 Thread Sean Schofield
I am running MyFaces 1.0.9 on Tomcat 5.0.28 with no problem.  Try
using a *clean* install of Tomcat (no changes to the libs, or
server.xml) along with the latest simple examples WAR
(http://cvs.apache.org/builds/myfaces/nightly/)

This should verify that there is no issue with the default
installation of Tomcat 5.0.28.

sean


On Mon, 21 Mar 2005 17:26:27 +0530, Mihir Solanki
<[EMAIL PROTECTED]> wrote:
>  
>  
> 
> MyFaces 1.0.9 is also not working at my end in Tomcat 5.0.28 
> 
>   
> 
> Following is the error I am getting when I request for the index.jsp 
> 
>   
> 
> Thanks 
> 
> Mihir Solanki 
>  
>  
> 
> type Exception report 
> 
> message 
> 
> description The server encountered an internal error () that prevented it
> from fulfilling this request. 
> 
> exception 
> 
> javax.servlet.ServletException: Servlet.init() for servlet Faces Servlet
> threw exception 
> 
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
> 
>
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) 
> 
>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) 
> 
>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> 
>
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) 
> 
>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> 
> java.lang.Thread.run(Thread.java:534) 
> 
> root cause 
> 
> java.lang.IllegalStateException: No Factories configured for this
> Application - typically this is because a context listener is not setup in
> your web.xml. 
> 
> A typical config looks like this; 
> 
>  
> 
>  
> org.apache.myfaces.webapp.StartupServletContextListener
> 
>  
> 
>   
> 
> javax.faces.FactoryFinder.getFactory(FactoryFinder.java:101) 
> 
> javax.faces.webapp.FacesServlet.init(FacesServlet.java:88) 
> 
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
> 
>
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) 
> 
>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) 
> 
>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> 
>
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) 
> 
>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> 
> java.lang.Thread.run(Thread.java:534) 
> 
> note The full stack trace of the root cause is available in the Apache
> Tomcat/5.0.28 logs. 
>  
>  
> 
> Apache Tomcat/5.0.28 
> 
>   
> http://www.patni.com
>  World-Wide Partnerships. World-Class Solutions. 
>  _ 
>  
>  This e-mail message may contain proprietary, confidential or legally
> privileged information for the sole use of the person or entity to whom this
> message was originally addressed. Any review, e-transmission dissemination
> or other use of or taking of any action in reliance upon this information by
> persons or entities other than the intended recipient is prohibited. If you
> have received this e-mail in error kindly delete this e-mail from your
> records. If it appears that this mail has been forwarded to you without
> proper authority, please notify us immediately at [EMAIL PROTECTED] and
> delete this mail. 
>  _


Re: [Myfaces-user] [FYI] FacesIDE (Opensource IDE for JSF)

2005-03-21 Thread Matthias Wessendorf
I know only that link:
http://coding.mu/index.php/archives/2005/01/21/how-to-set-up-netbeans-40-for
-java-server-faces-development/
-Matthias
Francesco Consumi wrote:
Scrive Naoki Takezoe <[EMAIL PROTECTED]>:
Hi.
I'm developer of FacesIDE. Thanks for introduction, Takashi :)
Of course, I'll upgrade FacesIDE's JSF implementation to MyFaces 1.0.9
in near future.
Hi all,
as far as you know, is there anything similar for NetBeans 4 ?
thanks



Re: [Myfaces-user] [FYI] FacesIDE (Opensource IDE for JSF)

2005-03-21 Thread Francesco Consumi
Scrive Naoki Takezoe <[EMAIL PROTECTED]>:
Hi.
I'm developer of FacesIDE. Thanks for introduction, Takashi :)
Of course, I'll upgrade FacesIDE's JSF implementation to MyFaces 1.0.9
in near future.
Hi all,
as far as you know, is there anything similar for NetBeans 4 ?
thanks

--
Francesco Consumi
Ufficio Sistemi informativi
Istituto degli Innocenti
Piazza SS.Annunziata, 12
50122 Firenze
consumi at istitutodeglinnocenti.it
Tel. +39 055 2037320
ICQ# 12516133


RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
Hi

No - What I want is what I have in my Strus version : On the frontpage i
have fields for username/password and a login button. That way a user
can log in at any given time - He/She does not have do access a secured
resource to get a "forced" login. Thats why I have been using
SecurityFilter ( S.F project) in my Struts app. However I have not been
able to get SecurityFilter to work with MyFaces (Yet). It is configured
as a Filter, and the init method is called OK, but the doFilter method
is never called (!).

Hermod

-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 1:53 PM
To: MyFaces Discussion
Subject: Re: MyFaces and JAAS on Tomcat


Pre-login ?

Can you explain ? I guess I missed something :-)

if you need logoff() create managedBean with a

public String logoff(); that does the stuff shown in the
struts app for tomcat.

-Matthias

[EMAIL PROTECTED] wrote:
> Hi
> 
> As I said in my post : It works if you try to access a secured
resource.
> You can however not "Pre-login" - That is enter you username/password
at
> the frontpage, and then be authenticated.
> 
> Hermod
> 
> -Original Message-
> From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 21, 2005 1:48 PM
> To: MyFaces Discussion
> Subject: Re: MyFaces and JAAS on Tomcat
> 
> 
> BTW.
> 
> I just copied helloWorld.jsp to secure
> 
> so please request localhsot:8080/mfaces.../secure/helloWorld.jsf
> 
> that should present you the login form.
> 
> HTH,
> Matthias
> 
> Matthias Wessendorf wrote:
> 
>>That worked!
>>
>>I send you (private) the WAR
>>
>>(user with role admin in tomcat-users.xml on my box)
>>
>>HTH,
>>Matthias
>>
> 
> 
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *
> 
> This email with attachments is solely for the use of the individual or
> entity to whom it is addressed. Please also be aware that the DnB NOR
Group
> cannot accept any payment orders or other legally binding
correspondence with
> customers as a part of an email. 
> 
> This email message has been virus checked by the virus programs used
> in the DnB NOR Group.
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *
> 
> 


RE: My Faces 1.0.9 gives error with Tomcat 4.1.30

2005-03-21 Thread Mihir Solanki
I have downloaded the latest tomcat binary from apache (4.1.31)

It is still giving me the same error...

Mihir

-Original Message-
From: Bruno Aranda [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 21, 2005 5:27 PM
To: MyFaces Discussion; [EMAIL PROTECTED]
Subject: Re: My Faces 1.0.9 gives error with Tomcat 4.1.30

Try to remove previous versions from tomcat as there are conflicts
between the different versions... you could try on a clean
installation of tomcat to check that everybody works ok,

Bruno


On Mon, 21 Mar 2005 17:22:23 +0530, Mihir Solanki
<[EMAIL PROTECTED]> wrote:
>  
> Hi all, I have just downloaded myfaces 1.0.9 examples war from apache
> website. I have deployed it in Tomcat 4.1.30 It is giving me following
error
> when I make the first request to myfaces examples application. Please
guide
> me where I am doing wrong. NOTE: I AM SUCCESSFULLY RUNNING 1.0.8 IN THE
SAME
> TOMCAT VERSION. javax.servlet.ServletException: This absolute uri
> (http://java.sun.com/jsf/html) cannot be resolved in either web.xml or the
> jar files deployed with this applicationat
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:125)at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
>at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
>at
>
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsF
ilter.java:115)
>at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:213)
>at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
>at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
>at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
>at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
>at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
>at
>
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
>at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
>at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)

>  at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
>at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
>at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
>at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
>at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163
)
>at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
>at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
>at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
>at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

> at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)

>  at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)

>  at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:700)
>at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)

>  at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:683)
>at java.lang.Thread.run(Thread.java:534) 
> 
> root cause javax.faces.FacesException: This absolute uri
> (http://java.sun.com/jsf/html) cannot be resolved in either web.xml or the
> jar files deployed with this applicationat
>
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(Servl
etExternalContextImpl.java:411)
>at
>
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHand
lerImpl.java:280)
>at
> org.apache.myfaces.lifecycle

Re: MyFaces and JAAS on Tomcat

2005-03-21 Thread Matthias Wessendorf
Pre-login ?
Can you explain ? I guess I missed something :-)
if you need logoff() create managedBean with a
public String logoff(); that does the stuff shown in the
struts app for tomcat.
-Matthias
[EMAIL PROTECTED] wrote:
Hi
As I said in my post : It works if you try to access a secured resource.
You can however not "Pre-login" - That is enter you username/password at
the frontpage, and then be authenticated.
Hermod
-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 1:48 PM
To: MyFaces Discussion
Subject: Re: MyFaces and JAAS on Tomcat
BTW.
I just copied helloWorld.jsp to secure
so please request localhsot:8080/mfaces.../secure/helloWorld.jsf
that should present you the login form.
HTH,
Matthias
Matthias Wessendorf wrote:
That worked!
I send you (private) the WAR
(user with role admin in tomcat-users.xml on my box)
HTH,
Matthias

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
Hi

As I said in my post : It works if you try to access a secured resource.
You can however not "Pre-login" - That is enter you username/password at
the frontpage, and then be authenticated.

Hermod

-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 1:48 PM
To: MyFaces Discussion
Subject: Re: MyFaces and JAAS on Tomcat


BTW.

I just copied helloWorld.jsp to secure

so please request localhsot:8080/mfaces.../secure/helloWorld.jsf

that should present you the login form.

HTH,
Matthias

Matthias Wessendorf wrote:
> That worked!
> 
> I send you (private) the WAR
> 
> (user with role admin in tomcat-users.xml on my box)
> 
> HTH,
> Matthias
>


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



Re: MyFaces and JAAS on Tomcat

2005-03-21 Thread Matthias Wessendorf
BTW.
I just copied helloWorld.jsp to secure
so please request localhsot:8080/mfaces.../secure/helloWorld.jsf
that should present you the login form.
HTH,
Matthias
Matthias Wessendorf wrote:
That worked!
I send you (private) the WAR
(user with role admin in tomcat-users.xml on my box)
HTH,
Matthias


RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
Hi

Thanks

Hermod

-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 1:46 PM
To: MyFaces Discussion
Subject: Re: MyFaces and JAAS on Tomcat


That worked!

I send you (private) the WAR

(user with role admin in tomcat-users.xml on my box)

HTH,
Matthias


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



Re: MyFaces and JAAS on Tomcat

2005-03-21 Thread Matthias Wessendorf
That worked!
I send you (private) the WAR
(user with role admin in tomcat-users.xml on my box)
HTH,
Matthias


RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
Hi

Here goes - This is all based on the MyFaces "Blank" example. 

1. Create a new folder "secure" - Copy page2.jsp to it, or create a new
page there.
2. Add the snippet below to your web.xml file





Test
/secure/*


admin




  FORM
  Example Form-Based Authentication Area
  
/login.jsp
/error.jsp
  



admin




in your tomcat server.xml file make sure you have UserDatabase or
another configured security relam enabled.
make sure you have a admin role, and a user assigned to that role (in
tomcat-users.xml or whatever you have)

start tomcat and acess the following "login.jsp" file :








  












  




 
 
  
Username
  
  

  


  
Password
  
  

  




   
 



   

     

   
   
    
   
 
  
    
  
  
 



  









That should produce an error.

Now try to access /secure/page2.jsf. You should now be presented with
the login form. Enter details and go! - It works ?!

Hermod


-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 1:15 PM
To: MyFaces Discussion
Subject: Re: MyFaces and JAAS on Tomcat


no nothing!
strange.

could you post some details ?



> Did you do anything special to your faces-config file ?



> Hermod
> 
> -Original Message-
> From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 21, 2005 12:54 PM
> To: MyFaces Discussion
> Subject: Re: MyFaces and JAAS on Tomcat
> 
> 
> yes!
> 
> the example I "ported" was running on Tomcat5.0.x
> 
> HTH,
> Matthias
> 
> [EMAIL PROTECTED] wrote:
> 
>>Hi
>>
>>I'll give it a try - Noticed that this is on Tomcat 4, but I guess it
>>should be ok with Tomcat 5 too.
>>
>>
>>This does look scaringly like what I have been trying to do though.
>>
>>
>>Hermod
>>
>>-Original Message-
>>From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
>>Sent: Monday, March 21, 2005 12:41 PM
>>To: MyFaces Discussion
>>Subject: Re: MyFaces and JAAS on Tomcat
>>
>>
>>Hermond-
>>
>>I tested MyFaces and FORM authentication successfully
>>with regular JSP like that:
>>
> 
>
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/login
> 
>>.jsp?rev=1.8&view=markup
>>
>>WEB.XML similar to that:
>>
> 
>
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/WEB-I
> 
>>NF/web.xml?rev=1.15&view=markup
>>
>>
>>and a backing bean "logoff()" action method with a statement similar
> 
> to 
> 
>>that inside this Struts Action:
>>
> 
>
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/WEB-I
> 
>
NF/classes/org/apache/webapp/admin/LogOutAction.java?rev=1.3&view=markup
> 
>>HTH,
>>Matthias
>>
>>
>>[EMAIL PROTECTED] wrote:
>>
>>
>>>Hi
>>>
>>>I have observed another peculiarity with MyFaces and Tomcat with
>>
>>regards
>>
>>
>>>to security. 
>>>
>>>If I use BASIC authentication, it works fine. However if I use FORM
>>>authentication (and use a regular JSP page for the form), I
>>
>>consistently
>>
>>
>>>get a HTTP 408 response.
>>>
>>>I also created a simple jsp with a form that posts to the standard
>>>j_security_check, but this fails with a 404 saying j_security_check
>>
>>does
>>
>>
>>>not exist !
>>>
>>>MyFaces is going to be serously hampered in acceptance if it can not
>>>coexist with standard JAAS, and not to speak of integration with
>>>Tomcat's security mechanism.
>>>
>>>
>>>Hermod
>>>
>>>
>>>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>>
>>* * *
>>
>>
>>>This email with attachments is solely for the use of the individual
or
>>>entity to whom it is addressed. Please also be aware that the DnB NOR
>>
>>Group
>>
>>
>>>cannot accept any payment orders or other legally binding
>>
>>correspondence with
>>
>>
>>>customers as a part of an email. 
>>>
>>>This email message has been virus checked by the virus programs used
>>>in the DnB NOR Group.
>>>
>>>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>>
>>* * *
>>
>>
> 
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *
> 
> This email with attachments is solely for the use of the individual or
> entity to whom it is addressed. Please also be aware that the DnB NOR
Group
> cannot accept any payment orders or other legally binding
correspondence with
> customers as a part of an email. 
> 
> This email message has been virus checked by the virus programs used
> in the DnB NOR Group.
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *
> 
> 

-- 
Matthias Weßendorf
Aechterhoek 18
DE-48282 Emsdetten
Germany
phone: +49-2

Re: MyFaces and JAAS on Tomcat

2005-03-21 Thread Matthias Wessendorf
no nothing!
strange.
could you post some details ?

Did you do anything special to your faces-config file ?


Hermod
-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 12:54 PM
To: MyFaces Discussion
Subject: Re: MyFaces and JAAS on Tomcat
yes!
the example I "ported" was running on Tomcat5.0.x
HTH,
Matthias
[EMAIL PROTECTED] wrote:
Hi
I'll give it a try - Noticed that this is on Tomcat 4, but I guess it
should be ok with Tomcat 5 too.
This does look scaringly like what I have been trying to do though.
Hermod
-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 12:41 PM
To: MyFaces Discussion
Subject: Re: MyFaces and JAAS on Tomcat
Hermond-
I tested MyFaces and FORM authentication successfully
with regular JSP like that:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/login
.jsp?rev=1.8&view=markup
WEB.XML similar to that:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/WEB-I
NF/web.xml?rev=1.15&view=markup
and a backing bean "logoff()" action method with a statement similar
to 

that inside this Struts Action:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/WEB-I
NF/classes/org/apache/webapp/admin/LogOutAction.java?rev=1.3&view=markup
HTH,
Matthias
[EMAIL PROTECTED] wrote:

Hi
I have observed another peculiarity with MyFaces and Tomcat with
regards

to security. 

If I use BASIC authentication, it works fine. However if I use FORM
authentication (and use a regular JSP page for the form), I
consistently

get a HTTP 408 response.
I also created a simple jsp with a form that posts to the standard
j_security_check, but this fails with a 404 saying j_security_check
does

not exist !
MyFaces is going to be serously hampered in acceptance if it can not
coexist with standard JAAS, and not to speak of integration with
Tomcat's security mechanism.
Hermod
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR
Group

cannot accept any payment orders or other legally binding
correspondence with

customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

--
Matthias Weßendorf
Aechterhoek 18
DE-48282 Emsdetten
Germany
phone: +49-2572-9170275
cell phone: +49-179-1118979
email: matzew AT apache DOT org
url: http://www.wessendorf.net
callto://mwessendorf (Skype)
icq: 47016183


Re: JSTL Variable in commandLink value:

2005-03-21 Thread Matthias Wessendorf
Timo,
just a short hint.
using  will not work in JSF 1.1 (via Spec)
I guess it will be fixed in Spec for JSF 1.2 or even 2.0
Here is some information about JSP programming and JSF components
[1]
Okay... you are using MyFaces as your JSF implentation so perhaps
you'll try  of MyFaces' custom components?
see [2], [3], [4], [5] and [6]
(your are GErman, since I saw you post inside that German forum ;))
HTH,
Matthias
[1]http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html
[2]http://www.jsf-forum.de/jsf_app/forumdetail.jsp?entry_id=577&startkey=0&lastHistory=
[3]http://www.jsf-forum.de/jsf_app/forumdetail.jsp?entry_id=578&startkey=0&lastHistory=
[4]http://www.jsf-forum.de/jsf_app/forumdetail.jsp?entry_id=580&startkey=0&lastHistory=
[5]http://www.jsf-forum.de/jsf_app/forumdetail.jsp?entry_id=583&startkey=0&lastHistory=
[6]http://www.jsf-forum.de/jsf_app/forumdetail.jsp?entry_id=585&startkey=0&lastHistory=
Timo Schnölzer wrote:
Hi all,
I am using a jstl forEach in order to generate commandLinks (in this case navigationLinks from myfaces). 
My loopvar is "fleetRole" and accessible with: 
Now i want to create a list of commandLinks like this:





Problem: the value of the link (linktext) is empty, so --> 
If i put 
So i went to avoid the attribute from x:commandLink and used a element like: 
c:out from jstl and h:outputText from faces, still same result as commandLink 
seams to ignore output within its element:



Same empty result...



Still empty 

Any Help more than welcome
Timo


Virus checked by G DATA AntiVirusKit
Version: AVK 14.0.38 from 02.11.2003
Virus news: www.antiviruslab.com


RE: JSTL Variable in commandLink value:

2005-03-21 Thread hermod . opstvedt
Hi

As far as I know this can not be done : Mixing JSTL and JSF.

Hermod

-Original Message-
From: Timo Schnölzer [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 1:09 PM
To: myfaces-user@incubator.apache.org
Subject: JSTL Variable in commandLink value:


Hi all,

I am using a jstl forEach in order to generate commandLinks (in this
case navigationLinks from myfaces). My loopvar is "fleetRole" and
accessible with: 

Now i want to create a list of commandLinks like this:







Problem: the value of the link (linktext) is empty, so -->




Same empty result...







Still empty 



Any Help more than welcome

Timo





Virus checked by G DATA AntiVirusKit
Version: AVK 14.0.38 from 02.11.2003
Virus news: www.antiviruslab.com


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
Hi

Did the test -

On Firefox I get "HTTP Status 408 - The time allowed for the login
process has been exceeded." when i submitted the login form.
On I.E I get "HTTP Status 400 - Invalid direct reference to form login
page" when I submit the page.
On Opera I get "HTTP Status 400 - Invalid direct reference to form login
page" when I submit the page.

Did you do anything special to your faces-config file ?

Hermod

-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 12:54 PM
To: MyFaces Discussion
Subject: Re: MyFaces and JAAS on Tomcat


yes!

the example I "ported" was running on Tomcat5.0.x

HTH,
Matthias

[EMAIL PROTECTED] wrote:
> Hi
> 
> I'll give it a try - Noticed that this is on Tomcat 4, but I guess it
> should be ok with Tomcat 5 too.
> 
> 
> This does look scaringly like what I have been trying to do though.
> 
> 
> Hermod
> 
> -Original Message-
> From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 21, 2005 12:41 PM
> To: MyFaces Discussion
> Subject: Re: MyFaces and JAAS on Tomcat
> 
> 
> Hermond-
> 
> I tested MyFaces and FORM authentication successfully
> with regular JSP like that:
>
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/login
> .jsp?rev=1.8&view=markup
> 
> WEB.XML similar to that:
>
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/WEB-I
> NF/web.xml?rev=1.15&view=markup
> 
> 
> and a backing bean "logoff()" action method with a statement similar
to 
> that inside this Struts Action:
>
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/WEB-I
>
NF/classes/org/apache/webapp/admin/LogOutAction.java?rev=1.3&view=markup
> 
> HTH,
> Matthias
> 
> 
> [EMAIL PROTECTED] wrote:
> 
>>Hi
>>
>>I have observed another peculiarity with MyFaces and Tomcat with
> 
> regards
> 
>>to security. 
>>
>>If I use BASIC authentication, it works fine. However if I use FORM
>>authentication (and use a regular JSP page for the form), I
> 
> consistently
> 
>>get a HTTP 408 response.
>>
>>I also created a simple jsp with a form that posts to the standard
>>j_security_check, but this fails with a 404 saying j_security_check
> 
> does
> 
>>not exist !
>>
>>MyFaces is going to be serously hampered in acceptance if it can not
>>coexist with standard JAAS, and not to speak of integration with
>>Tomcat's security mechanism.
>>
>>
>>Hermod
>>
>>
>>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> 
> * * *
> 
>>This email with attachments is solely for the use of the individual or
>>entity to whom it is addressed. Please also be aware that the DnB NOR
> 
> Group
> 
>>cannot accept any payment orders or other legally binding
> 
> correspondence with
> 
>>customers as a part of an email. 
>>
>>This email message has been virus checked by the virus programs used
>>in the DnB NOR Group.
>>
>>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> 
> * * *
> 
>>


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



JSTL Variable in commandLink value:

2005-03-21 Thread Timo Schnölzer
Hi all,

I am using a jstl forEach in order to generate commandLinks (in this case 
navigationLinks from myfaces). My loopvar is "fleetRole" and accessible with: 


Now i want to create a list of commandLinks like this:







Problem: the value of the link (linktext) is empty, so --> 



Same empty result...







Still empty 



Any Help more than welcome

Timo





Virus checked by G DATA AntiVirusKit
Version: AVK 14.0.38 from 02.11.2003
Virus news: www.antiviruslab.com



Re: My Faces 1.0.9 gives error with Tomcat 4.1.30

2005-03-21 Thread Bruno Aranda
Try to remove previous versions from tomcat as there are conflicts
between the different versions... you could try on a clean
installation of tomcat to check that everybody works ok,

Bruno


On Mon, 21 Mar 2005 17:22:23 +0530, Mihir Solanki
<[EMAIL PROTECTED]> wrote:
>  
> Hi all, I have just downloaded myfaces 1.0.9 examples war from apache
> website. I have deployed it in Tomcat 4.1.30 It is giving me following error
> when I make the first request to myfaces examples application. Please guide
> me where I am doing wrong. NOTE: I AM SUCCESSFULLY RUNNING 1.0.8 IN THE SAME
> TOMCAT VERSION. javax.servlet.ServletException: This absolute uri
> (http://java.sun.com/jsf/html) cannot be resolved in either web.xml or the
> jar files deployed with this applicationat
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:125)at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>at
> org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:115)
>at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
>at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
>at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)   
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>at
> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
>at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)   
> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)  
>  at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
>at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
>at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)   
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 
>   at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)   
> at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)  
>  at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)  
>  at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
>at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)  
>  at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>at java.lang.Thread.run(Thread.java:534) 
> 
> root cause javax.faces.FacesException: This absolute uri
> (http://java.sun.com/jsf/html) cannot be resolved in either web.xml or the
> jar files deployed with this applicationat
> org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:411)
>at
> org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:280)
>at
> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)   
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)   
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte

MyFaces 1.0.9 not working with Tomcat 5.0.28

2005-03-21 Thread Mihir Solanki








MyFaces 1.0.9 is also not working at my
end in Tomcat 5.0.28

 

Following is the error I am getting when
I request for the index.jsp

 

Thanks

Mihir Solanki







type Exception report

message 

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception 

javax.servlet.ServletException:
Servlet.init() for servlet Faces Servlet threw exception

    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)

    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)

    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)

    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)

    org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)

    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

    java.lang.Thread.run(Thread.java:534)

root cause 

java.lang.IllegalStateException:
No Factories configured for this Application - typically this is because a
context listener is not setup in your web.xml.

A typical config
looks like this;



 
org.apache.myfaces.webapp.StartupServletContextListener



 

    javax.faces.FactoryFinder.getFactory(FactoryFinder.java:101)

    javax.faces.webapp.FacesServlet.init(FacesServlet.java:88)

    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)

    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)

    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)

    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)

    org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)

    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

    java.lang.Thread.run(Thread.java:534)

note The full stack trace of the root cause is available in the
Apache Tomcat/5.0.28 logs.







Apache Tomcat/5.0.28

 



http://www.patni.com
World-Wide Partnerships. World-Class Solutions.

_
 
This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at [EMAIL PROTECTED] and delete this mail. 
_





Re: MyFaces and JAAS on Tomcat

2005-03-21 Thread Matthias Wessendorf
yes!
the example I "ported" was running on Tomcat5.0.x
HTH,
Matthias
[EMAIL PROTECTED] wrote:
Hi
I'll give it a try - Noticed that this is on Tomcat 4, but I guess it
should be ok with Tomcat 5 too.
This does look scaringly like what I have been trying to do though.
Hermod
-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 12:41 PM
To: MyFaces Discussion
Subject: Re: MyFaces and JAAS on Tomcat
Hermond-
I tested MyFaces and FORM authentication successfully
with regular JSP like that:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/login
.jsp?rev=1.8&view=markup
WEB.XML similar to that:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/WEB-I
NF/web.xml?rev=1.15&view=markup
and a backing bean "logoff()" action method with a statement similar to 
that inside this Struts Action:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/WEB-I
NF/classes/org/apache/webapp/admin/LogOutAction.java?rev=1.3&view=markup

HTH,
Matthias
[EMAIL PROTECTED] wrote:
Hi
I have observed another peculiarity with MyFaces and Tomcat with
regards
to security. 

If I use BASIC authentication, it works fine. However if I use FORM
authentication (and use a regular JSP page for the form), I
consistently
get a HTTP 408 response.
I also created a simple jsp with a form that posts to the standard
j_security_check, but this fails with a 404 saying j_security_check
does
not exist !
MyFaces is going to be serously hampered in acceptance if it can not
coexist with standard JAAS, and not to speak of integration with
Tomcat's security mechanism.
Hermod
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *
This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR
Group
cannot accept any payment orders or other legally binding
correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *



My Faces 1.0.9 gives error with Tomcat 4.1.30

2005-03-21 Thread Mihir Solanki






Hi all, I have just downloaded myfaces 1.0.9 examples war from apache website. I have deployed it in Tomcat 4.1.30 It is giving me following error when I make the first request to myfaces examples application. Please guide me where I am doing wrong. NOTE: I AM SUCCESSFULLY RUNNING 1.0.8 IN THE SAME TOMCAT VERSION. javax.servlet.ServletException: This absolute uri (http://java.sun.com/jsf/html) cannot be resolved in either web.xml or the jar files deployed with this application    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:125)    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)    at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:115)    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)    at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)    at java.lang.Thread.run(Thread.java:534)

root cause 

javax.faces.FacesException: This absolute uri (http://java.sun.com/jsf/html) cannot be resolved in either web.xml or the jar files deployed with this application    at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:411)    at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:280)    at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)    at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:115)    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)    at org.apach

RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
Hi

I'll give it a try - Noticed that this is on Tomcat 4, but I guess it
should be ok with Tomcat 5 too.


This does look scaringly like what I have been trying to do though.


Hermod

-Original Message-
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 12:41 PM
To: MyFaces Discussion
Subject: Re: MyFaces and JAAS on Tomcat


Hermond-

I tested MyFaces and FORM authentication successfully
with regular JSP like that:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/login
.jsp?rev=1.8&view=markup

WEB.XML similar to that:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/WEB-I
NF/web.xml?rev=1.15&view=markup


and a backing bean "logoff()" action method with a statement similar to 
that inside this Struts Action:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/WEB-I
NF/classes/org/apache/webapp/admin/LogOutAction.java?rev=1.3&view=markup

HTH,
Matthias


[EMAIL PROTECTED] wrote:
> Hi
> 
> I have observed another peculiarity with MyFaces and Tomcat with
regards
> to security. 
> 
> If I use BASIC authentication, it works fine. However if I use FORM
> authentication (and use a regular JSP page for the form), I
consistently
> get a HTTP 408 response.
> 
> I also created a simple jsp with a form that posts to the standard
> j_security_check, but this fails with a 404 saying j_security_check
does
> not exist !
> 
> MyFaces is going to be serously hampered in acceptance if it can not
> coexist with standard JAAS, and not to speak of integration with
> Tomcat's security mechanism.
> 
> 
> Hermod
> 
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *
> 
> This email with attachments is solely for the use of the individual or
> entity to whom it is addressed. Please also be aware that the DnB NOR
Group
> cannot accept any payment orders or other legally binding
correspondence with
> customers as a part of an email. 
> 
> This email message has been virus checked by the virus programs used
> in the DnB NOR Group.
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *
> 
> 


RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
Hi

I have been struggling with 1.0.9 - Just for the heck of it, I am going
see what happens if I use Suns R.I

Hermod

-Original Message-
From: AUGE Frédéric GC EUR [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 12:35 PM
To: 'MyFaces Discussion'
Subject: RE: MyFaces and JAAS on Tomcat


Hi,

Just to say that we don't have any problem with form authentication on
JBoss
and MyFaces.
We don't use the latest MyFaces, something around the 1.0.7, we will
move to
the soon to be released 1.0.9.

Frederic

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyé : lundi 21 mars 2005 12:23
À : myfaces-user@incubator.apache.org
Objet : MyFaces and JAAS on Tomcat


Hi

I have observed another peculiarity with MyFaces and Tomcat with regards
to security.

If I use BASIC authentication, it works fine. However if I use FORM
authentication (and use a regular JSP page for the form), I consistently
get a HTTP 408 response.

I also created a simple jsp with a form that posts to the standard
j_security_check, but this fails with a 404 saying j_security_check does
not exist !

MyFaces is going to be serously hampered in acceptance if it can not
coexist with standard JAAS, and not to speak of integration with
Tomcat's security mechanism.


Hermod


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR
Group
cannot accept any payment orders or other legally binding correspondence
with
customers as a part of an email.

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *


Re: MyFaces and JAAS on Tomcat

2005-03-21 Thread Matthias Wessendorf
Hermond-
I tested MyFaces and FORM authentication successfully
with regular JSP like that:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/login.jsp?rev=1.8&view=markup
WEB.XML similar to that:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/WEB-INF/web.xml?rev=1.15&view=markup
and a backing bean "logoff()" action method with a statement similar to 
that inside this Struts Action:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/LogOutAction.java?rev=1.3&view=markup

HTH,
Matthias
[EMAIL PROTECTED] wrote:
Hi
I have observed another peculiarity with MyFaces and Tomcat with regards
to security. 

If I use BASIC authentication, it works fine. However if I use FORM
authentication (and use a regular JSP page for the form), I consistently
get a HTTP 408 response.
I also created a simple jsp with a form that posts to the standard
j_security_check, but this fails with a 404 saying j_security_check does
not exist !
MyFaces is going to be serously hampered in acceptance if it can not
coexist with standard JAAS, and not to speak of integration with
Tomcat's security mechanism.
Hermod
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



Re: MyFaces DataTable doesn't permit component tree manipulation with input components, why?

2005-03-21 Thread Jaroslav Rychna
Do you solve this problem? I´m facing the same and don´t know how to 
solve it.

Thanks
jarin
Eli Groesbeck napsal(a):
I'd like to create a datatable with editable cells (HtmlInputText) and
dynamic column support.  For output this works well, however when
using input boxes the save state fails since more columns could
potentially be in the component tree than in the previous rendering.
Particular error occurs in method saveDescendantComponentStates of
HtmlDataTableHack.  The JavaDoc explicitly indicates the tree can't be
manipulated,, I'm just not sure why.  The Sun RI looks like it might
support this.



RE: MyFaces and JAAS on Tomcat

2005-03-21 Thread AUGE FrÃdÃric GC EUR
Hi,

Just to say that we don't have any problem with form authentication on JBoss
and MyFaces.
We don't use the latest MyFaces, something around the 1.0.7, we will move to
the soon to be released 1.0.9.

Frederic

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyé : lundi 21 mars 2005 12:23
À : myfaces-user@incubator.apache.org
Objet : MyFaces and JAAS on Tomcat


Hi

I have observed another peculiarity with MyFaces and Tomcat with regards
to security.

If I use BASIC authentication, it works fine. However if I use FORM
authentication (and use a regular JSP page for the form), I consistently
get a HTTP 408 response.

I also created a simple jsp with a form that posts to the standard
j_security_check, but this fails with a 404 saying j_security_check does
not exist !

MyFaces is going to be serously hampered in acceptance if it can not
coexist with standard JAAS, and not to speak of integration with
Tomcat's security mechanism.


Hermod


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence
with
customers as a part of an email.

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



MyFaces and JAAS on Tomcat

2005-03-21 Thread hermod . opstvedt
Hi

I have observed another peculiarity with MyFaces and Tomcat with regards
to security. 

If I use BASIC authentication, it works fine. However if I use FORM
authentication (and use a regular JSP page for the form), I consistently
get a HTTP 408 response.

I also created a simple jsp with a form that posts to the standard
j_security_check, but this fails with a 404 saying j_security_check does
not exist !

MyFaces is going to be serously hampered in acceptance if it can not
coexist with standard JAAS, and not to speak of integration with
Tomcat's security mechanism.


Hermod


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



MyFaces and Filters not working ?

2005-03-21 Thread hermod . opstvedt
Hi

I am starting get to the stage of my migration from Struts to MyFaces
where I was going to add the security stuff. In my struts application I
am using SecurityFilter from S.F, and It works flawlessly. I configured
the MyFaces Blank application first to use the standard "BASIC"
authentication using a JDBCRealm in Tomcat5. That worked ok, popping up
a logon dialog to authenticate. Then I configured it to use
SecurityFilter, and I am seeing somthing strange. The init method of the
filter is being called Ok and it does its stuff. But the onFilter method
is NEVER called. I sa somebody else seing the same behaviour in the
ExtensionFilter, althogh in a different scenario. Is this a known issue
?

Hermod


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



Re: [Myfaces-user] [FYI] FacesIDE (Opensource IDE for JSF)

2005-03-21 Thread Naoki Takezoe
Hi.

I'm developer of FacesIDE. Thanks for introduction, Takashi :)

Of course, I'll upgrade FacesIDE's JSF implementation to MyFaces 1.0.9 
in near future.

Thanks.

On Sun, 20 Mar 2005 19:16:48 +0100, Matthias Wessendorf
<[EMAIL PROTECTED]> wrote:
> Takashi-
> 
> cool stuff the FacesIDE and cool to use MyFaces custom components.
> That is a very cool IDE! ;) I like it! thanks!
> 
> I will update our MyFaces website to encourage our users to use
> that IDE ;)
> 
> But you are using MyFaces 1.0.7 inside of your cool IDE!
> In some days there will be a newer release (1.0.9) so stay tuned!
> 
> -Matthias
> 
> Takashi Okamoto wrote:
> > REMINDER:
> > This list is deprecated: Please subscribe to new list by sending a mail to 
> > [EMAIL PROTECTED]
> > ---
> > Hi,
> >
> > I would like to notice about FacesIDE which is open source IDE for
> > JSF:
> >
> > [FacesIDE]
> > http://amateras.sourceforge.jp/cgi-bin/fswiki_en/wiki.cgi?page=FacesIDE
> >
> > It seems very valuable to develop webapp with JSF. Here is summary
> > from web page.

-- 
Naoki Takezoe <[EMAIL PROTECTED]>