Re: Playing round with 1.5 features

2006-03-29 Thread Werner Punz
Travis Reeder schrieb:
 I'm all for anything that makes component writing easier, it's pretty
 complex right now, so many places to make mistakes and makes it hard for
 a newbie to start making components. 
 
Actually there are two areas which components probably have to tackle
api wise.
a) The number of artefacts and glue code which are a huge burden
b) The way the markup is generated.

The renderers have the basic problem of having to handcode the markup
via sending strings to writer objects. This gives maximum performance
due to linear runtime complexity, but is a huge burden on the component
developers.

a split between data and markup rendering programmingwise would be saner.
pushing the whole subrendering into something more readable would
improve comfort. For instance if they subrendering could be pushed into
something like velocity you suddenly would have the component, the
bingings to the jsp or whatever subsystems and the renderer basically
would be gathering data (mostly just pushing the component directly in)
and then rendering it away via a sane templating markup.

The main problem I see is performance, so in the end we probably are
stuck with it or have to move over to client side componentization
(which is the other approach, omit the api entirely as much as possible
and move to a higher abstraction level like facelets do it)



myfaces scrolling

2006-03-29 Thread Srinivas Surapaneni
getScrolling() _javascript_ function is not being generated in the portal environment?

Is this function being generated by the extension filter?


Re: Status of New Release

2006-03-29 Thread Sean Schofield
I haven't reviewed those discussions.  Are any of these issues so
problematic that we don't want to release for several weeks?  That's
the real decision here.  I agree that its a bit awkward to have to
configure the logging with shared_impl and shared_tomahawk but
ultimately I think the benefits of the shared solution outweigh the
problems.

Whatever solution we come up to solve the shared problem, its likely
to have a few drawbacks.  So my vote would be to go forward.

As for the sandbox, that's not an issue right now since we are
planning on releasing the core for now (and then tomahawk.)  So we can
cover that when the time comes.

Sean

On 3/29/06, Dennis Byrne [EMAIL PROTECTED] wrote:
 Basically I think the plan should be to merge down this single change.
  Create new branches for the core and shared.  Release shared.  Test
 Core and release core.  Before making the new branches I will change
 the dependency to the latest shale-test which is now available.

 Were there any conclusions from the discussion Mario started a while back?  
 There are a lot of classes that use scoped objects keyed by package name.

 What do we tell people about logging ?  Currently people have to do things 
 like this:
 org.apache.myfaces.shared_impl.StateUtils=TRACE
 org.apache.myfaces.shared_tomahawk.StateUtils=TRACE

 Any conclusions on Simon's static logger discussion ?

 I will help fix any of these.

 Dennis Byrne





Re: Playing round with 1.5 features

2006-03-29 Thread Craig McClanahan
On 3/28/06, Werner Punz [EMAIL PROTECTED] wrote:
Craig, the Shale Tiger extensions are a good startin point, I read thedocs, and liked what I saw. (I also highly recommend Seam which drivesannotations to the extreme)Yep ... good stuff there too. 
Anyway, having had to hack components again for an extende period oftime I still hate the huge mess the whole component API is in (no
offence to the Sun guys they did their best given that they had toenforce 1.3+ JDKs)What I would like to see would be a single controller and view objectwith all the taglib binding exposed via annotations instead of having to
drag around an extra tag class, an extra tld and an extra faces-configentry.Components for instance are the perfect place to get rid of the xmldefintions totally (which then can be overridden with application level
xml definitions if someone wants to use his own renderer)I was constrained in the stuff so far by what could be accomplished at runtime -- and there's no way to define a tag library on the fly at that point. But what you're describing could certainly be done by processing annotations at compile time instead (using apt or equivalent). That'd be an interesting area to explore, over and above the runtime stuff.
I'm game to work on that for Shale. There's a couple of other useful things to do at compile time ... like a tool to audit the configuration files that do exist to catch silly mistakes like wrong class names for managed beans.
With a good use of annotations we could cut down from two xmldefinitions and 3 classes, to two classes and 1-2 annotations in the
controller and view.Which means a total cut down of the code of at least 30% average and atotal cutdown of artefacts from 5 to 2.Craig 


[jira] Created: (TOBAGO-53) make runnable with weblogic

2006-03-29 Thread Udo Schnurpfeil (JIRA)
make runnable with weblogic
---

 Key: TOBAGO-53
 URL: http://issues.apache.org/jira/browse/TOBAGO-53
 Project: MyFaces Tobago
Type: Sub-task
Reporter: Udo Schnurpfeil
 Assigned to: Udo Schnurpfeil 




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (TOMAHAWK-220) Sandbox has many dependencies on MyFaces-Impl

2006-03-29 Thread Frank Russo (JIRA)
[ 
http://issues.apache.org/jira/browse/TOMAHAWK-220?page=comments#action_12372254 
] 

Frank Russo commented on TOMAHAWK-220:
--

Also: org/apache/myfaces/renderkit/html/HtmlHiddenRenderer

 Sandbox has many dependencies on MyFaces-Impl
 -

  Key: TOMAHAWK-220
  URL: http://issues.apache.org/jira/browse/TOMAHAWK-220
  Project: MyFaces Tomahawk
 Type: Bug
 Versions: 1.1.2-SNAPSHOT
 Reporter: Mike Kienenberger


 Sandbox has many dependencies on MyFaces-Impl:
 org.apache.myfaces.custom.accordion.HtmlAccordionPanelTag
 org.apache.myfaces.custom.convertDateTime.ConvertDateTimeTag
 org.apache.myfaces.custom.inputsuggestajax.HtmlOutputTextTag
 org.apache.myfaces.custom.outputlinkdynamic.OutputLinkDynamicTag
 org.apache.myfaces.custom.picklist.HtmlSelectManyPicklistTag
 org.apache.myfaces.custom.picklist.HtmlPicklistRenderer
 org.apache.myfaces.custom.statechangednotifier.StateChangedNotifierTag
 org.apache.myfaces.custom.statechangednotifier.StateChangedNotifierRenderer

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (TOMAHAWK-220) Sandbox has many dependencies on MyFaces-Impl

2006-03-29 Thread Frank Russo (JIRA)
[ 
http://issues.apache.org/jira/browse/TOMAHAWK-220?page=comments#action_12372255 
] 

Frank Russo commented on TOMAHAWK-220:
--

Also: org/apache/myfaces/shared_impl/renderkit/html/HtmlRenderer

Hopefully there aren't too many more...

 Sandbox has many dependencies on MyFaces-Impl
 -

  Key: TOMAHAWK-220
  URL: http://issues.apache.org/jira/browse/TOMAHAWK-220
  Project: MyFaces Tomahawk
 Type: Bug
 Versions: 1.1.2-SNAPSHOT
 Reporter: Mike Kienenberger


 Sandbox has many dependencies on MyFaces-Impl:
 org.apache.myfaces.custom.accordion.HtmlAccordionPanelTag
 org.apache.myfaces.custom.convertDateTime.ConvertDateTimeTag
 org.apache.myfaces.custom.inputsuggestajax.HtmlOutputTextTag
 org.apache.myfaces.custom.outputlinkdynamic.OutputLinkDynamicTag
 org.apache.myfaces.custom.picklist.HtmlSelectManyPicklistTag
 org.apache.myfaces.custom.picklist.HtmlPicklistRenderer
 org.apache.myfaces.custom.statechangednotifier.StateChangedNotifierTag
 org.apache.myfaces.custom.statechangednotifier.StateChangedNotifierRenderer

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



websphere 6 and myfaces compatibility

2006-03-29 Thread Mohamed Inelhaj








I am trying to migrate an application based on myfaces 1.1.0
from tomcat to websphere 6 with no success.

I get an nullPointerException 



[3/29/06 14:12:20:888 CEST] 0049
ServletWrappe E SRVE0068E: Could
not invoke the service() method on servlet Controller Servlet. Exception thrown
: java.lang.NullPointerException

 at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1032)

 at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1043)

 at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1043)

 at
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreComponentState(JspStateManagerImpl.java:129)

 at
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:185)

 at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:255)

 at
org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:113)

 at
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)







Has someone experienced something similar ?

Any help is welcome !!









The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information.  Messages are susceptible to alteration. Netonomy shall not be liable for the message if altered, changed or falsified. If you are not the intended recipient, or the person responsible for delivering the e-mail to the intended recipient, be advised you have received this message in error and that any use, dissemination, forwarding, printing, or copying is strictly prohibited.  Please notify the sender immediately and destroy all copies of this message and any attachments. 




Re: MyFaces without JavaScript

2006-03-29 Thread Sean Schofield
I wonder how many users actually disable javascript?  All of the non
programmers I know seem to have it enabled when I surf at their
houses.  I can't imagine writing a very decent webapp without
javascript.  I know its an issue for some projects but I wonder if
management isn't being unreasonable in their demands.

Sean


Re: Playing round with 1.5 features

2006-03-29 Thread Werner Punz
Craig McClanahan schrieb:

 I was constrained in the stuff so far by what could be accomplished at
 runtime -- and there's no way to define a tag library on the fly at
 that point.  But what you're describing could certainly be done by
 processing annotations at compile time instead (using apt or
 equivalent).  That'd be an interesting area to explore, over and above
 the runtime stuff.
 
Yes I was talking exactly the same issue over with Mario, definitely an
area which as to be explored for the next JSP version, but for now
having artefact codegens, via apt (probably a viable choice since it
will be in 1.6 officially anyway) or via xdoclet2 and or velocity would
be a good idea. The main point is just to have something which cuts down
on the number of manual maintain artefacts. If there are codegen
artefacts does not really matter.


 I'm game to work on that for Shale.  There's a couple of other useful
 things to do at compile time ... like a tool to audit the configuration
 files that do exist to catch silly mistakes like wrong class names for
 managed beans.
 
Well there are lots of areas coverable by decent codegens, facelet
definitions generation comes to my mind. Thomas had something in this
area already running.



Re: dependencies - site documentation

2006-03-29 Thread Sean Schofield
Yes and it is generated for each of the subprojects now
(http://myfaces.apache.org/api/dependencies.html).  The top level page
is actually just supposed to be a html only project so I'm not sure
why there are *any* dependencies.  Probably a mistake in the POM.

One thing that I would like to change about the maven plugin that
generates this report is the option to separate test dependencies. 
You don't really need junit to use MyFaces but you need it to compile
and test.

Sean

On 3/27/06, Dennis Byrne [EMAIL PROTECTED] wrote:
 Is this information supposed to be generated?

 http://myfaces.apache.org/dependencies.html

 Dennis Byrne





Re: Playing round with 1.5 features

2006-03-29 Thread Jacob Hookom

Craig McClanahan wrote:




I was constrained in the stuff so far by what could be accomplished at 
runtime -- and there's no way to define a tag library on the fly at 
that point.  But what you're describing could certainly be done by 
processing annotations at compile time instead (using apt or 
equivalent).  That'd be an interesting area to explore, over and above 
the runtime stuff.
I'm wondering if you couldn't provide a custom TagLibrary to Facelets 
(implements TagLibrary) that will lazily look up UIComponents from some 
other entity available on the ThreadLocal via the FacesContext to have 
them compiled into the page on first request.







I'm game to work on that for Shale.  There's a couple of other useful 
things to do at compile time ... like a tool to audit the 
configuration files that do exist to catch silly mistakes like wrong 
class names for managed beans.


With a good use of annotations we could cut down from two xml
definitions and 3 classes, to two classes and 1-2 annotations in the
controller and view.

Which means a total cut down of the code of at least 30% average and a
total cutdown of artefacts from 5 to 2.


Craig




--
--
Sent from my FrankenBerry Wireless Handheld



RE: websphere 6 and myfaces compatibility

2006-03-29 Thread sia far
Websphere 6.0 loads IBM JSF jar files during the startup. You may need to 
remove them to avoid conflicts. Though I removed those jars and changing to 
Parent_Last, I was unable to run the sample apps on WAS6.0 fully. If this 
app is a production app, then good luck to you and let me know if you can 
make it work. If not, you may want to give it a break till things get more 
stable.





From: Mohamed Inelhaj [EMAIL PROTECTED]
Reply-To: MyFaces Development dev@myfaces.apache.org
To: dev@myfaces.apache.org dev@myfaces.apache.org
Subject: websphere 6 and myfaces compatibility
Date: Wed, 29 Mar 2006 14:30:48 +0200

I am trying to migrate an application based on myfaces 1.1.0 from tomcat
to websphere 6 with no success.

I get an nullPointerException



[3/29/06 14:12:20:888 CEST] 0049 ServletWrappe E   SRVE0068E: Could
not invoke the service() method on servlet Controller Servlet. Exception
thrown : java.lang.NullPointerException

  at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBas
e.java:1032)

  at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBas
e.java:1043)

  at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBas
e.java:1043)

  at
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreComponentS
tate(JspStateManagerImpl.java:129)

  at
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspSt
ateManagerImpl.java:185)

  at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspVie
wHandlerImpl.java:255)

  at
org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.jav
a:113)

  at
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66
)







Has someone experienced something similar ?

Any help is welcome !!




The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain confidential or privileged information.  Messages are susceptible 
to alteration. Netonomy shall not be liable for the message if altered, 
changed or falsified. If you are not the intended recipient, or the person 
responsible for delivering the e-mail to the intended recipient, be advised 
you have received this message in error and that any use, dissemination, 
forwarding, printing, or copying is strictly prohibited.  Please notify the 
sender immediately and destroy all copies of this message and any 
attachments.





[jira] Resolved: (TOBAGO-53) make runnable with weblogic

2006-03-29 Thread Udo Schnurpfeil (JIRA)
 [ http://issues.apache.org/jira/browse/TOBAGO-53?page=all ]
 
Udo Schnurpfeil resolved TOBAGO-53:
---

Fix Version: 1.0.7
 Resolution: Fixed

weblogic uses zip: instead of jar: as protocoll
to load a file the url must be prefixed with file:
(this comment affect windows only)

 make runnable with weblogic
 ---

  Key: TOBAGO-53
  URL: http://issues.apache.org/jira/browse/TOBAGO-53
  Project: MyFaces Tobago
 Type: Sub-task
 Reporter: Udo Schnurpfeil
 Assignee: Udo Schnurpfeil
  Fix For: 1.0.7




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



Re: Playing round with 1.5 features

2006-03-29 Thread Adam Winer
On 3/28/06, Werner Punz [EMAIL PROTECTED] wrote:
 Craig, the Shale Tiger extensions are a good startin point, I read the
 docs, and liked what I saw. (I also highly recommend Seam which drives
 annotations to the extreme)

 Anyway, having had to hack components again for an extende period of
 time I still hate the huge mess the whole component API is in (no
 offence to the Sun guys they did their best given that they had to
 enforce 1.3+ JDKs)

A gentle reminder:  JSF was not designed by the Sun guys;
there's an expert group too. ;)

 What I would like to see would be a single controller and view object
 with all the taglib binding exposed via annotations instead of having to
 drag around an extra tag class, an extra tld and an extra faces-config
 entry.

With annotations, there certainly shouldn't be any need to define a
component in faces-config.  Nor should there be any need to write a
JSP tag or add an entry to a TLD.  Renderers are a bit trickier,
'cause I have run in to circumstances where I reuse the same renderer
for multiple components/rendeer types, but the 99% case could be
handled by annotations.

 Components for instance are the perfect place to get rid of the xml
 defintions totally (which then can be overridden with application level
 xml definitions if someone wants to use his own renderer)

 With a good use of annotations we could cut down from two xml
 definitions and 3 classes, to two classes and 1-2 annotations in the
 controller and view.

 Which means a total cut down of the code of at least 30% average and a
 total cutdown of artefacts from 5 to 2.

Is the code reduction you're noting there from eliminating the JSP tag code?

-- Adam


 Craig McClanahan schrieb:
  On 3/28/06, *Werner Punz* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
  wrote:
 
  Dennis Byrne schrieb:
   XML configuration files do quite well their job and were designed
  to avoid
   coupling parametrization stuff in code. Now it seems we return to
  the point
   were we started. It seems more a response to .NET than real
  desirable
   functionality, as we already had it with external configuration
  files.
  
   I have to agree w/ this 100%, XML still rocks.  After doing my
  latest project w/ EJB3 annotations, I don't see much added value.
  
   But the truth is, annotations are very sexy right now.  This
  project isn't lacking in users, but I think this would generate a
  lot more interest in MyFaces.
  
  Actually this is getting off topic. But I see annotations
  as a huge improvement over central configuration in certain situations.
  As someone mentioned it is first of all a good place to have
  configurations if it has to change with your code on the fly.
  Secondly it cuts down severely on artefacts because annotations work on
  introspection, which most xml based configurations dont.
 
  So you end up with two annotations per class, within the code instead of
  a 20-30 line extra xml artefact.
  Perfect example is for instance the @WebMethode or the @Transactional
  annotation
 
  There are scenarios where a central configuration in xml makes perfect
  sense. For application singletons for instance, or db connection
  configuration.
 
  But this is totally off topic for now.
 
 
  Off topic or not :-), you can get a sense of what it would feel like to
  use JSF-specific annotations today, using Shale's Tiger Extensions[1].
  They let you use annotations to define managed beans, register
  components/converters/renderers/validators, as well as get Shale's view
  controller functionality without having to implement the ViewController
  interface.  Requires JSF 1.1 and JavaSE 5.
 
  The SQL Browser example app uses these, so you can see what it looks
  like in action.  (NOTE - the app is currently bundled with MyFaces 1.1.1
  that has a bug, recently fixed, that prevents the actual data in the
  table from being displayed -- will switch to 1.1.2 once that's released.)
 
  For application developers, not having to declare managed beans in XML
  can quickly spoil you.
 
  On a more general note, I believe annotations make sense when your code
  is designed on the assumption that the configuration variable is set a
  certain way.  In JSF, for example, which scope the managed bean goes in
  can make a difference in what you do (thread safety issues, session
  scope beans should be Serializable, etc.).  Having the setting in the
  class lessens the likelihood that someone will unknowingly change the
  configuration setting, without understanding that it might need code
  changes too.
 
  I don't believe annotations should be used for everything.  Again, in
  the JSF case, I think navigation rules don't belong there -- actions
  should return an outcome that says this is what happened rather than
  this is where you should go next, and the overall flow should be
  managed separately (because 

Re: Playing round with 1.5 features

2006-03-29 Thread Adam Winer
On 3/29/06, Jacob Hookom [EMAIL PROTECTED] wrote:
 Craig McClanahan wrote:
 
 
 
  I was constrained in the stuff so far by what could be accomplished at
  runtime -- and there's no way to define a tag library on the fly at
  that point.  But what you're describing could certainly be done by
  processing annotations at compile time instead (using apt or
  equivalent).  That'd be an interesting area to explore, over and above
  the runtime stuff.
 I'm wondering if you couldn't provide a custom TagLibrary to Facelets
 (implements TagLibrary) that will lazily look up UIComponents from some
 other entity available on the ThreadLocal via the FacesContext to have
 them compiled into the page on first request.

I was thinking of something along the lines of a Facelets annotation
that defines the tag name and namespace on a component class, ditto
for validators, converters, and optionally a custom handler.

-- Adam


Re: Playing round with 1.5 features

2006-03-29 Thread Adam Winer
On 3/29/06, Werner Punz [EMAIL PROTECTED] wrote:
 Craig McClanahan schrieb:

  I was constrained in the stuff so far by what could be accomplished at
  runtime -- and there's no way to define a tag library on the fly at
  that point.  But what you're describing could certainly be done by
  processing annotations at compile time instead (using apt or
  equivalent).  That'd be an interesting area to explore, over and above
  the runtime stuff.
 
 Yes I was talking exactly the same issue over with Mario, definitely an
 area which as to be explored for the next JSP version, but for now
 having artefact codegens, via apt (probably a viable choice since it
 will be in 1.6 officially anyway) or via xdoclet2 and or velocity would
 be a good idea. The main point is just to have something which cuts down
 on the number of manual maintain artefacts. If there are codegen
 artefacts does not really matter.

Code-gen'd artifacts *do* matter, because they contribute to the
rebuild, redeploy mess that we're in now.  No codegen'd artifact is
better than the absence of that artifact in the first place.

Not that I'm against codegen - the ADF Faces code uses it extensively
- one source of metadata is used to generate the component class,
faces-config, the JSP tag, the TLD, the facelets taglib, and our docs.

-- Adam


Re: Playing round with 1.5 features

2006-03-29 Thread Adam Winer
On 3/29/06, Werner Punz [EMAIL PROTECTED] wrote:
 Travis Reeder schrieb:
  I'm all for anything that makes component writing easier, it's pretty
  complex right now, so many places to make mistakes and makes it hard for
  a newbie to start making components.
 
 Actually there are two areas which components probably have to tackle
 api wise.
 a) The number of artefacts and glue code which are a huge burden
 b) The way the markup is generated.

 The renderers have the basic problem of having to handcode the markup
 via sending strings to writer objects. This gives maximum performance
 due to linear runtime complexity, but is a huge burden on the component
 developers.

 a split between data and markup rendering programmingwise would be saner.
 pushing the whole subrendering into something more readable would
 improve comfort. For instance if they subrendering could be pushed into
 something like velocity you suddenly would have the component, the
 bingings to the jsp or whatever subsystems and the renderer basically
 would be gathering data (mostly just pushing the component directly in)
 and then rendering it away via a sane templating markup.

I've long wanted to build a declarative rendering engine for JSF.
I wouldn't want to use Velocity per se or any other existing engine,
because you'd lose all of the ResponseWriter goodness (which is very
important for tooling) and any ability to embed other JSF components -
any decent JSF component templating engine will support reusing
existing JSF components, and you'd have to extend it to support
some additional JSF commands anyway (e.g., render facet 'foo' here).

 The main problem I see is performance, so in the end we probably are
 stuck with it or have to move over to client side componentization
 (which is the other approach, omit the api entirely as much as possible
 and move to a higher abstraction level like facelets do it)

The key thing is that you use raw Java code for all of the primitives,
and get their performance as optimal as possible;  once that's done,
my hunch is that using a declarative engine only for some higher
level aggregates and seldom-used lower level components would have
relatively little impact on performance.  (But as usual, this is an
abstraction vs. performance issue.)

-- Adam


Re: Status of New Release

2006-03-29 Thread Mike Kienenberger
Do we need to address the sandbox dependencies on impl before a
release?We'll probably need to move some things from impl to
shared to fix them.   I'm pretty sure that I've identified the classes
involved in the following issue.

https://issues.apache.org/jira/browse/TOMAHAWK-220

-Mike


On 3/29/06, Sean Schofield [EMAIL PROTECTED] wrote:
 I haven't reviewed those discussions.  Are any of these issues so
 problematic that we don't want to release for several weeks?  That's
 the real decision here.  I agree that its a bit awkward to have to
 configure the logging with shared_impl and shared_tomahawk but
 ultimately I think the benefits of the shared solution outweigh the
 problems.

 Whatever solution we come up to solve the shared problem, its likely
 to have a few drawbacks.  So my vote would be to go forward.

 As for the sandbox, that's not an issue right now since we are
 planning on releasing the core for now (and then tomahawk.)  So we can
 cover that when the time comes.

 Sean

 On 3/29/06, Dennis Byrne [EMAIL PROTECTED] wrote:
  Basically I think the plan should be to merge down this single change.
   Create new branches for the core and shared.  Release shared.  Test
  Core and release core.  Before making the new branches I will change
  the dependency to the latest shale-test which is now available.
 
  Were there any conclusions from the discussion Mario started a while back?  
  There are a lot of classes that use scoped objects keyed by package name.
 
  What do we tell people about logging ?  Currently people have to do things 
  like this:
  org.apache.myfaces.shared_impl.StateUtils=TRACE
  org.apache.myfaces.shared_tomahawk.StateUtils=TRACE
 
  Any conclusions on Simon's static logger discussion ?
 
  I will help fix any of these.
 
  Dennis Byrne
 
 
 



Re: Status of New Release

2006-03-29 Thread Sean Schofield
No I don't think this has to be resolved right now.  It will just mean
some stuff will be in the core that won't be there the next time
around.  Especially if the dependencies are sandbox only I don't see
the need to slow things down.  Do you?

Sena

On 3/29/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
 Do we need to address the sandbox dependencies on impl before a
 release?We'll probably need to move some things from impl to
 shared to fix them.   I'm pretty sure that I've identified the classes
 involved in the following issue.

 https://issues.apache.org/jira/browse/TOMAHAWK-220

 -Mike


 On 3/29/06, Sean Schofield [EMAIL PROTECTED] wrote:
  I haven't reviewed those discussions.  Are any of these issues so
  problematic that we don't want to release for several weeks?  That's
  the real decision here.  I agree that its a bit awkward to have to
  configure the logging with shared_impl and shared_tomahawk but
  ultimately I think the benefits of the shared solution outweigh the
  problems.
 
  Whatever solution we come up to solve the shared problem, its likely
  to have a few drawbacks.  So my vote would be to go forward.
 
  As for the sandbox, that's not an issue right now since we are
  planning on releasing the core for now (and then tomahawk.)  So we can
  cover that when the time comes.
 
  Sean
 
  On 3/29/06, Dennis Byrne [EMAIL PROTECTED] wrote:
   Basically I think the plan should be to merge down this single change.
Create new branches for the core and shared.  Release shared.  Test
   Core and release core.  Before making the new branches I will change
   the dependency to the latest shale-test which is now available.
  
   Were there any conclusions from the discussion Mario started a while 
   back?  There are a lot of classes that use scoped objects keyed by 
   package name.
  
   What do we tell people about logging ?  Currently people have to do 
   things like this:
   org.apache.myfaces.shared_impl.StateUtils=TRACE
   org.apache.myfaces.shared_tomahawk.StateUtils=TRACE
  
   Any conclusions on Simon's static logger discussion ?
  
   I will help fix any of these.
  
   Dennis Byrne
  
  
  
 



Re: Status of New Release

2006-03-29 Thread Mike Kienenberger
On 3/29/06, Sean Schofield [EMAIL PROTECTED] wrote:
 No I don't think this has to be resolved right now.  It will just mean
 some stuff will be in the core that won't be there the next time
 around.  Especially if the dependencies are sandbox only I don't see
 the need to slow things down.  Do you?

No, that's also my thought on the matter.   I think now that we've
separated shared_impl and shared_tomahawk, moving things around won't
affect impl.   I wanted a second opinion in case I was overlooking
something.

I see the issue as a blocker for Tomahawk (or at least sandbox), but
not applicable for Impl.


Re: Playing round with 1.5 features

2006-03-29 Thread Werner Punz

Adam Winer schrieb:

On 3/29/06, Werner Punz [EMAIL PROTECTED] wrote:

Craig McClanahan schrieb:


I was constrained in the stuff so far by what could be accomplished at
runtime -- and there's no way to define a tag library on the fly at
that point.  But what you're describing could certainly be done by
processing annotations at compile time instead (using apt or
equivalent).  That'd be an interesting area to explore, over and above
the runtime stuff.


Yes I was talking exactly the same issue over with Mario, definitely an
area which as to be explored for the next JSP version, but for now
having artefact codegens, via apt (probably a viable choice since it
will be in 1.6 officially anyway) or via xdoclet2 and or velocity would
be a good idea. The main point is just to have something which cuts down
on the number of manual maintain artefacts. If there are codegen
artefacts does not really matter.


Code-gen'd artifacts *do* matter, because they contribute to the
rebuild, redeploy mess that we're in now.  No codegen'd artifact is
better than the absence of that artifact in the first place.

Not that I'm against codegen - the ADF Faces code uses it extensively
- one source of metadata is used to generate the component class,
faces-config, the JSP tag, the TLD, the facelets taglib, and our docs.

Adam we are talking pretty much about the same area where codegens make 
absolute sense, as you said you applied the adf codegens to the 
component boilerplate code, which always more or less is the same.
Now if we had a mechanism via xdoclet annotations or something else 
which could generate the taglib tlds, the taglib class and the facelet 
definitions out of a single component class, this would cut down on 
component development time at least 30%. To my understanding as John 
told me a while ago you went the opposite approach you started with a 
config file to generate the component skeletons, feasable, but I think 
having the boilerplate jsp code generated is a bigger timesaver, ideally 
a combination of both (skeleton generation for a kickstart, and optional 
boilerplate generation for development) probably would be the fastest.
Anyway I am talking theoretically here anyway, I just have applied 
similar techniques several times, and could cut down on development time 
tremendously (one application had about 50% codegen coverage, pretty 
much the same amount could be achieved for standard components, in my 
opinion)




Re: Playing round with 1.5 features

2006-03-29 Thread Werner Punz

Adam Winer schrieb:

On 3/28/06, Werner Punz [EMAIL PROTECTED] wrote:

Craig, the Shale Tiger extensions are a good startin point, I read the
docs, and liked what I saw. (I also highly recommend Seam which drives
annotations to the extreme)

Anyway, having had to hack components again for an extende period of
time I still hate the huge mess the whole component API is in (no
offence to the Sun guys they did their best given that they had to
enforce 1.3+ JDKs)


A gentle reminder:  JSF was not designed by the Sun guys;
there's an expert group too. ;)

Sorry, for the mistake, I know about its origins and who is in the 
expert group ;-)



Which means a total cut down of the code of at least 30% average and a
total cutdown of artefacts from 5 to 2.


Is the code reduction you're noting there from eliminating the JSP tag code?


Mostly yes, the tld definitions and taglib binding class is pure jsp,
there also could be a cut down on the faces-config parts
and standard behavior like save stating that way.
So it probably is 70% jsp gluecode elimination 30% jsf boilerplate code 
elimination.


I have to run statistics but I constantly get the eery feeling that 
every jsf component has a huge burden of jsp binding code, xml 
boilerplates and some burden of jsf boilerplate code.

(Probably the jsp bindings alone accounting for almost 30% of the code)



Re: Playing round with 1.5 features

2006-03-29 Thread Werner Punz

Sylvain Vieujot schrieb:
I don't think we should rule out the use of annotations for navigation 
rules.
Even if navigation rules are tied to the presentation layer, so are bean 
names.



Actually I do not think there is a need for that.
There is a more elegant solution to the problem, than using annotations.
Implicit nav handling, that could be done without even having to touch
annotations or breaking anything.

I will give an example

usually you have a nav handler
with a from outcode ... navigate to... structure

well what would happen if we would have a basic automatic outcome to ...
mapping mechanism easily doable with a custom navhandler, which then can 
be overridden by navigational entries.


What I am talking here is something along the lines:

void doAction() {
...
return mainPage
}

without any mapping would route into something like
/mainPage.jsf

and something like
void doAction() {
...
return submodule/detailPage
}

would route implicitely into
/submodule/detailPage.jsp

if you then want to override this behavior, set a custom nav entry for 
mainPage and for submodule/detailPage the way it used to be.



This is way more elegant than using annotations for such a thing.



Re: Playing round with 1.5 features

2006-03-29 Thread jacob
Adam Winer schrieb:
 Is the code reduction you're noting there from eliminating the JSP tag 
code?
 
Mostly yes, the tld definitions and taglib binding class is pure jsp,
there also could be a cut down on the faces-config parts
and standard behavior like save stating that way.
So it probably is 70% jsp gluecode elimination 30% jsf boilerplate code 
elimination.

I brought up to the WebTier EG that UIComponentTag should instead be 
implemented with the DynamicAttributes contract, but this I believe was dropped 
in favor of toolability.

Really, these next specs, JSP more than anything, needs to look at all of this 
extra configuration *crap* as optional metadata for tooling and special cases 
instead of requiring it.  All of JSF's component logic within JSP tags can be 
boiled down to simple rules by contract/implementation.  A 
UIComponentDynamicTag with the DyanmicAttributes contract would've made 
dropping in new UIComponents so much easier, but now with the other default 
'error when we see #{..}' in place, I don't know think even automating this 
logic is even feasible.

-- Jacob


I have to run statistics but I constantly get the eery feeling that 
every jsf component has a huge burden of jsp binding code, xml 
boilerplates and some burden of jsf boilerplate code.
(Probably the jsp bindings alone accounting for almost 30% of the code)



Re: Status of New Release

2006-03-29 Thread Sean Schofield
So does anyone have any objections to my new branch creation?  There
is certainly no harm (we can always abandon the branch again) but I'd
rather not go through with the work if we aren't committed to
releasing ASAP.

Sean

On 3/29/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
 On 3/29/06, Sean Schofield [EMAIL PROTECTED] wrote:
  No I don't think this has to be resolved right now.  It will just mean
  some stuff will be in the core that won't be there the next time
  around.  Especially if the dependencies are sandbox only I don't see
  the need to slow things down.  Do you?

 No, that's also my thought on the matter.   I think now that we've
 separated shared_impl and shared_tomahawk, moving things around won't
 affect impl.   I wanted a second opinion in case I was overlooking
 something.

 I see the issue as a blocker for Tomahawk (or at least sandbox), but
 not applicable for Impl.



Re: Status of New Release

2006-03-29 Thread Mike Kienenberger
Nothing that I remember.   However, JIRA is down right now.
I'm willing to test a release, and I know we have a lot of facelets
people waiting for a stable fix for duplicate id problems.

On 3/29/06, Sean Schofield [EMAIL PROTECTED] wrote:
 So does anyone have any objections to my new branch creation?  There
 is certainly no harm (we can always abandon the branch again) but I'd
 rather not go through with the work if we aren't committed to
 releasing ASAP.

 Sean

 On 3/29/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
  On 3/29/06, Sean Schofield [EMAIL PROTECTED] wrote:
   No I don't think this has to be resolved right now.  It will just mean
   some stuff will be in the core that won't be there the next time
   around.  Especially if the dependencies are sandbox only I don't see
   the need to slow things down.  Do you?
 
  No, that's also my thought on the matter.   I think now that we've
  separated shared_impl and shared_tomahawk, moving things around won't
  affect impl.   I wanted a second opinion in case I was overlooking
  something.
 
  I see the issue as a blocker for Tomahawk (or at least sandbox), but
  not applicable for Impl.
 



Re: Playing round with 1.5 features

2006-03-29 Thread Gary VanMatre

From: "Adam Winer" [EMAIL PROTECTED]  On 3/29/06, Werner Punz <[EMAIL PROTECTED]>wrote:   Travis Reeder schrieb:I'm all for anything that makes component writing easier, it's prettycomplex right now, so many places to make mistakes and makes it hard fora newbie to start making components.  Actually there are two areas which components probably have to tackle   api wise.   a) The number of artefacts and glue code which are a huge burden   b) The way the markup is generated. The renderers have the basic problem of having to handcode the markup   via sending strings to writer objects. This gives maximum performance   due to linear runtime complexity, but is a huge burden on the component   developers. a split between data an
 d markup rendering programmingwise would be saner.   pushing the whole subrendering into something more readable would   improve comfort. For instance if they subrendering could be pushed into   something like velocity you suddenly would have the component, the   bingings to the jsp or whatever subsystems and the renderer basically   would be gathering data (mostly just pushing the component directly in)   and then rendering it away via a sane templating markup.   I've long wanted to build a declarative rendering engine for JSF.  I wouldn't want to use Velocity per se or any other existing engine,  because you'd lose all of the ResponseWriter goodness (which is very  important for tooling) and any ability to embed other JSF components -  any decent JSF component templating engine will support reusing  existing JSF components, and you'd have to exten
 d it to support  some additional JSF commands anyway (e.g., "render facet 'foo' here").  

I've been playing with this idea of a renderer decorator (http://issues.apache.org/bugzilla/show_bug.cgi?id=37932). This example has a specific goal and that is to inject some _javascript_ into the onclick event of a command component. The reason is to support the immediate attribute on a command when using Shale commons validator and client side _javascript_ validation. 

I thought that this could be made into a shale extension. Craig thought that we could insert a custom response writer that build a DOM tree from the writer hooks. But I'm not sure how we would handle the case where the component developer used a string buffer and the writer's write method versus the startElement/writeAttribute methods.I assume that these methods are the goodness that your talking about. This is the same idea as the buffer component but at the renderer level.

What if velocity was used in the renderer. The velocity context was loaded with the target JSF component and faces context. The template with merged and then the product template was parsed with with an HTML/XML parser and the correct methods invoked on the response writer.

This is kind of the reverse role that Facelets and Clay adds. Probably too much overhead to consider for more than a one off case.
I apologize if this is offtopic.

Gary
  The main problem I see is performance, so in the end we probably are   stuck with it or have to move over to client side componentization   (which is the other approach, omit the api entirely as much as possible   and move to a higher abstraction level like facelets do it)   The key thing is that you use raw Java code for all of the primitives,  and get their performance as optimal as possible; once that's done,  my hunch is that using a declarative engine only for some higher  level aggregates and seldom-used lower level components would have  relatively little impact on performance. (But as usual, this is an  abstraction vs. performance issue.)   -- Adam 


Re: Status of New Release

2006-03-29 Thread Mario Ivankovits
Hi!
 So does anyone have any objections to my new branch creation?
I am fine with it. We use a current snapshot in our production
environment and it works.

---
Mario



[jira] Commented: (TOMAHAWK-220) Sandbox has many dependencies on MyFaces-Impl

2006-03-29 Thread Mike Kienenberger (JIRA)
[ 
http://issues.apache.org/jira/browse/TOMAHAWK-220?page=comments#action_12372290 
] 

Mike Kienenberger commented on TOMAHAWK-220:


Right, I only listed the components with dependencies, but each of those 
components has several dependencies (like the ones you listed) to fix.  About 
50 errors in all.

 Sandbox has many dependencies on MyFaces-Impl
 -

  Key: TOMAHAWK-220
  URL: http://issues.apache.org/jira/browse/TOMAHAWK-220
  Project: MyFaces Tomahawk
 Type: Bug
 Versions: 1.1.2-SNAPSHOT
 Reporter: Mike Kienenberger


 Sandbox has many dependencies on MyFaces-Impl:
 org.apache.myfaces.custom.accordion.HtmlAccordionPanelTag
 org.apache.myfaces.custom.convertDateTime.ConvertDateTimeTag
 org.apache.myfaces.custom.inputsuggestajax.HtmlOutputTextTag
 org.apache.myfaces.custom.outputlinkdynamic.OutputLinkDynamicTag
 org.apache.myfaces.custom.picklist.HtmlSelectManyPicklistTag
 org.apache.myfaces.custom.picklist.HtmlPicklistRenderer
 org.apache.myfaces.custom.statechangednotifier.StateChangedNotifierTag
 org.apache.myfaces.custom.statechangednotifier.StateChangedNotifierRenderer

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Created: (MYFACES-1193) MyFaces web site front page should start with Project Info expanded

2006-03-29 Thread Mike Kienenberger (JIRA)
MyFaces web site front page should start with Project Info expanded
-

 Key: MYFACES-1193
 URL: http://issues.apache.org/jira/browse/MYFACES-1193
 Project: MyFaces Core
Type: Improvement
Reporter: Mike Kienenberger
Priority: Minor


The MyFaces web site front page should start with Project Info expanded so 
the mailing list and issue tracker links are immediately visible.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



Re: Playing round with 1.5 features

2006-03-29 Thread Sylvain Vieujot




A custom navigation handler might be more elegant, but it's also more complex as you have to write this navigation handler, and learn a new way of configuring your application (even if it's simple). So maybe it's a good thing to have, but I would not take this as a reason not to have navigation rules as annotations.
Really I think the xdoclet jsf plugin is a good example of how to put those navigation rules in the code in a simple and useful way (even it it's not always the right solution). And for me any many other it did the job well.

The annotations plugin we wrote and we propose to commit to a sandbox 1.5 was ment at first to replace the jsf xdoclet plugin with an annotations plugin as it's quite hard to get this xdoclet plugin work with maven 2.
And it turns out that it works quite nicely, with the additional benefit of some kind of type safety over xdoclet. It's also much faster than the xdoclet plugin.

So my suggestion would be to start from this, and then to enhance it for those that would need more out this plugin.

On Wed, 2006-03-29 at 19:26 +0200, Werner Punz wrote:


Sylvain Vieujot schrieb:
 I don't think we should rule out the use of annotations for navigation 
 rules.
 Even if navigation rules are tied to the presentation layer, so are bean 
 names.
 
Actually I do not think there is a need for that.
There is a more elegant solution to the problem, than using annotations.
Implicit nav handling, that could be done without even having to touch
annotations or breaking anything.

I will give an example

usually you have a nav handler
with a from outcode ... navigate to... structure

well what would happen if we would have a basic automatic outcome to ...
mapping mechanism easily doable with a custom navhandler, which then can 
be overridden by navigational entries.

What I am talking here is something along the lines:

void doAction() {
...
	return mainPage
}

without any mapping would route into something like
/mainPage.jsf

and something like
void doAction() {
...
	return submodule/detailPage
}

would route implicitely into
/submodule/detailPage.jsp

if you then want to override this behavior, set a custom nav entry for 
mainPage and for submodule/detailPage the way it used to be.


This is way more elegant than using annotations for such a thing.







Moving the Tobago Resources from Incubator to MyFaces

2006-03-29 Thread Bernd Bohmann

Hello,

I would like to move the Tobago resources from Incubator to MyFaces.

The source should be moved to /repos/asf/myfaces/tobago and the site 
should be integrated as subproject of MyFaces.


Any objections?

Regards

Bernd
--
Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development
Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com
phone: +49 441 4082312, mobile: +49 173 8839471, fax: +49 441 4082333


Re: Playing round with 1.5 features

2006-03-29 Thread Bernd Bohmann


The annotations plugin we wrote and we propose to commit to a sandbox 
1.5 was ment at first to replace the jsf xdoclet plugin with an 
annotations plugin as it's quite hard to get this xdoclet plugin work 
with maven 2.


Tobago has already some annotations stuff. Can we share the efforts?
We are using a maven-apt-plugin and an AnnotationProcessor for 
generating the tld's.


Regards

Bernd


Re: websphere 6 and myfaces compatibility

2006-03-29 Thread Thomas Spiegl
I tested WAS 6.0 with the upcomming MyFaces 1.1.2.


1) Remove Jsf API and Jsf Impl from AppServer/lib dir

AppServer/lib/jsf-api.jar
AppServer/lib/ws-jsf.jar

2) Copy the MyFaces JSF Api to AppServer/lib dir
myfaces-api.jar

3) Copy commons classes to AppServer/lib dir
commons-beanutils.jar
commons-codec.jar
commons-collections.jar
commons-digester.jar
commons-lang.jar
for library versions see http://wiki.apache.org/myfaces/Library_dependencies

4) Remove myfaces-api.jar from your web archive

5) Deploy your web application on WAS
nothing special here, just use Classloader option Parent first

Optional / untested:
You may also add the MyFaces Jsf Implementation myfaces-impl.jar to
the AppServer/lib dir
Attention: It only works for a MyFaces release which is not depending
on myfaces-commons.jar
Reason: The commons project was refactored recently and is now called shared.
The shared classes are part of both myfaces-impl and myfaces-tomahawk. To avoid
classloader problems due to different versions of shared classes the
package names are
different in impl and tomahawk.

Regards,
Thomas
On 3/29/06, sia far [EMAIL PROTECTED] wrote:
 Websphere 6.0 loads IBM JSF jar files during the startup. You may need to
 remove them to avoid conflicts. Though I removed those jars and changing to
 Parent_Last, I was unable to run the sample apps on WAS6.0 fully. If this
 app is a production app, then good luck to you and let me know if you can
 make it work. If not, you may want to give it a break till things get more
 stable.



 From: Mohamed Inelhaj [EMAIL PROTECTED]
 Reply-To: MyFaces Development dev@myfaces.apache.org
 To: dev@myfaces.apache.org dev@myfaces.apache.org
 Subject: websphere 6 and myfaces compatibility
 Date: Wed, 29 Mar 2006 14:30:48 +0200
 
 I am trying to migrate an application based on myfaces 1.1.0 from tomcat
 to websphere 6 with no success.
 
 I get an nullPointerException
 
 
 
 [3/29/06 14:12:20:888 CEST] 0049 ServletWrappe E   SRVE0068E: Could
 not invoke the service() method on servlet Controller Servlet. Exception
 thrown : java.lang.NullPointerException
 
at
 javax.faces.component.UIComponentBase.processRestoreState(UIComponentBas
 e.java:1032)
 
at
 javax.faces.component.UIComponentBase.processRestoreState(UIComponentBas
 e.java:1043)
 
at
 javax.faces.component.UIComponentBase.processRestoreState(UIComponentBas
 e.java:1043)
 
at
 org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreComponentS
 tate(JspStateManagerImpl.java:129)
 
at
 org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspSt
 ateManagerImpl.java:185)
 
at
 org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspVie
 wHandlerImpl.java:255)
 
at
 org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.jav
 a:113)
 
at
 org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66
 )
 
 
 
 
 
 
 
 Has someone experienced something similar ?
 
 Any help is welcome !!
 
 
 
 
 The information contained in this electronic message and any attachments to
 this message are intended for the exclusive use of the addressee(s) and may
 contain confidential or privileged information.  Messages are susceptible
 to alteration. Netonomy shall not be liable for the message if altered,
 changed or falsified. If you are not the intended recipient, or the person
 responsible for delivering the e-mail to the intended recipient, be advised
 you have received this message in error and that any use, dissemination,
 forwarding, printing, or copying is strictly prohibited.  Please notify the
 sender immediately and destroy all copies of this message and any
 attachments.





--
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


[jira] Created: (MYFACES-1194) mvn install cannot be invoked multiple times

2006-03-29 Thread Mike Kienenberger (JIRA)
mvn install cannot be invoked multiple times


 Key: MYFACES-1194
 URL: http://issues.apache.org/jira/browse/MYFACES-1194
 Project: MyFaces Core
Type: Bug
  Components: build process  
Reporter: Mike Kienenberger


mvn install cannot be invoked multiple times in a row.
After the first mvn install command, a mvn clean (or mvn clean install) 
must be used to rebuild the project.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



Re: websphere 6 and myfaces compatibility

2006-03-29 Thread Thomas Spiegl
Sure, that's on my TODO list ;)

On 3/30/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
 Hey Thomas,

 Can you add this to the Wiki under the appserver config link so we can
 point users to it?

 http://wiki.apache.org/myfaces/Installation_and_Configuration

 On 3/29/06, Thomas Spiegl [EMAIL PROTECTED] wrote:
  I tested WAS 6.0 with the upcomming MyFaces 1.1.2.
 
 
  1) Remove Jsf API and Jsf Impl from AppServer/lib dir
 
  AppServer/lib/jsf-api.jar
  AppServer/lib/ws-jsf.jar
 
  2) Copy the MyFaces JSF Api to AppServer/lib dir
  myfaces-api.jar
 
  3) Copy commons classes to AppServer/lib dir
  commons-beanutils.jar
  commons-codec.jar
  commons-collections.jar
  commons-digester.jar
  commons-lang.jar
  for library versions see http://wiki.apache.org/myfaces/Library_dependencies
 
  4) Remove myfaces-api.jar from your web archive
 
  5) Deploy your web application on WAS
  nothing special here, just use Classloader option Parent first
 
  Optional / untested:
  You may also add the MyFaces Jsf Implementation myfaces-impl.jar to
  the AppServer/lib dir
  Attention: It only works for a MyFaces release which is not depending
  on myfaces-commons.jar
  Reason: The commons project was refactored recently and is now called 
  shared.
  The shared classes are part of both myfaces-impl and myfaces-tomahawk. To 
  avoid
  classloader problems due to different versions of shared classes the
  package names are
  different in impl and tomahawk.
 
  Regards,
  Thomas
  On 3/29/06, sia far [EMAIL PROTECTED] wrote:
   Websphere 6.0 loads IBM JSF jar files during the startup. You may need to
   remove them to avoid conflicts. Though I removed those jars and changing 
   to
   Parent_Last, I was unable to run the sample apps on WAS6.0 fully. If this
   app is a production app, then good luck to you and let me know if you can
   make it work. If not, you may want to give it a break till things get more
   stable.
  
  
  
   From: Mohamed Inelhaj [EMAIL PROTECTED]
   Reply-To: MyFaces Development dev@myfaces.apache.org
   To: dev@myfaces.apache.org dev@myfaces.apache.org
   Subject: websphere 6 and myfaces compatibility
   Date: Wed, 29 Mar 2006 14:30:48 +0200
   
   I am trying to migrate an application based on myfaces 1.1.0 from tomcat
   to websphere 6 with no success.
   
   I get an nullPointerException
   
   
   
   [3/29/06 14:12:20:888 CEST] 0049 ServletWrappe E   SRVE0068E: Could
   not invoke the service() method on servlet Controller Servlet. Exception
   thrown : java.lang.NullPointerException
   
  at
   javax.faces.component.UIComponentBase.processRestoreState(UIComponentBas
   e.java:1032)
   
  at
   javax.faces.component.UIComponentBase.processRestoreState(UIComponentBas
   e.java:1043)
   
  at
   javax.faces.component.UIComponentBase.processRestoreState(UIComponentBas
   e.java:1043)
   
  at
   org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreComponentS
   tate(JspStateManagerImpl.java:129)
   
  at
   org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspSt
   ateManagerImpl.java:185)
   
  at
   org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspVie
   wHandlerImpl.java:255)
   
  at
   org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.jav
   a:113)
   
  at
   org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66
   )
   
   
   
   
   
   
   
   Has someone experienced something similar ?
   
   Any help is welcome !!
   
   
   
   
   The information contained in this electronic message and any attachments 
   to
   this message are intended for the exclusive use of the addressee(s) and 
   may
   contain confidential or privileged information.  Messages are susceptible
   to alteration. Netonomy shall not be liable for the message if altered,
   changed or falsified. If you are not the intended recipient, or the 
   person
   responsible for delivering the e-mail to the intended recipient, be 
   advised
   you have received this message in error and that any use, dissemination,
   forwarding, printing, or copying is strictly prohibited.  Please notify 
   the
   sender immediately and destroy all copies of this message and any
   attachments.
  
  
  
 
 
  --
  http://www.irian.at
 
  Your JSF powerhouse -
  JSF Consulting, Development and
  Courses in English and German
 
  Professional Support for Apache MyFaces
 



--
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: websphere 6 and myfaces compatibility

2006-03-29 Thread Thomas Spiegl
Another thing I've on my harddisk is the Facelet-Taglib generator. It
generates the necessary facelets definitions for jsf-core, jsf-impl,
tomahawk and sandbox. The Maven plugin is ready, but needs to be
integrated in the MyFaces build.

Any volunteers here on this list to who can complete this task?

Thanks,
Thomas

On 3/30/06, Thomas Spiegl [EMAIL PROTECTED] wrote:
 Sure, that's on my TODO list ;)

 On 3/30/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
  Hey Thomas,
 
  Can you add this to the Wiki under the appserver config link so we can
  point users to it?
 
  http://wiki.apache.org/myfaces/Installation_and_Configuration
 
  On 3/29/06, Thomas Spiegl [EMAIL PROTECTED] wrote:
   I tested WAS 6.0 with the upcomming MyFaces 1.1.2.
  
  
   1) Remove Jsf API and Jsf Impl from AppServer/lib dir
  
   AppServer/lib/jsf-api.jar
   AppServer/lib/ws-jsf.jar
  
   2) Copy the MyFaces JSF Api to AppServer/lib dir
   myfaces-api.jar
  
   3) Copy commons classes to AppServer/lib dir
   commons-beanutils.jar
   commons-codec.jar
   commons-collections.jar
   commons-digester.jar
   commons-lang.jar
   for library versions see 
   http://wiki.apache.org/myfaces/Library_dependencies
  
   4) Remove myfaces-api.jar from your web archive
  
   5) Deploy your web application on WAS
   nothing special here, just use Classloader option Parent first
  
   Optional / untested:
   You may also add the MyFaces Jsf Implementation myfaces-impl.jar to
   the AppServer/lib dir
   Attention: It only works for a MyFaces release which is not depending
   on myfaces-commons.jar
   Reason: The commons project was refactored recently and is now called 
   shared.
   The shared classes are part of both myfaces-impl and myfaces-tomahawk. To 
   avoid
   classloader problems due to different versions of shared classes the
   package names are
   different in impl and tomahawk.
  
   Regards,
   Thomas
   On 3/29/06, sia far [EMAIL PROTECTED] wrote:
Websphere 6.0 loads IBM JSF jar files during the startup. You may need 
to
remove them to avoid conflicts. Though I removed those jars and 
changing to
Parent_Last, I was unable to run the sample apps on WAS6.0 fully. If 
this
app is a production app, then good luck to you and let me know if you 
can
make it work. If not, you may want to give it a break till things get 
more
stable.
   
   
   
From: Mohamed Inelhaj [EMAIL PROTECTED]
Reply-To: MyFaces Development dev@myfaces.apache.org
To: dev@myfaces.apache.org dev@myfaces.apache.org
Subject: websphere 6 and myfaces compatibility
Date: Wed, 29 Mar 2006 14:30:48 +0200

I am trying to migrate an application based on myfaces 1.1.0 from 
tomcat
to websphere 6 with no success.

I get an nullPointerException



[3/29/06 14:12:20:888 CEST] 0049 ServletWrappe E   SRVE0068E: Could
not invoke the service() method on servlet Controller Servlet. 
Exception
thrown : java.lang.NullPointerException

   at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBas
e.java:1032)

   at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBas
e.java:1043)

   at
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBas
e.java:1043)

   at
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreComponentS
tate(JspStateManagerImpl.java:129)

   at
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspSt
ateManagerImpl.java:185)

   at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspVie
wHandlerImpl.java:255)

   at
org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.jav
a:113)

   at
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66
)







Has someone experienced something similar ?

Any help is welcome !!




The information contained in this electronic message and any 
attachments to
this message are intended for the exclusive use of the addressee(s) 
and may
contain confidential or privileged information.  Messages are 
susceptible
to alteration. Netonomy shall not be liable for the message if altered,
changed or falsified. If you are not the intended recipient, or the 
person
responsible for delivering the e-mail to the intended recipient, be 
advised
you have received this message in error and that any use, 
dissemination,
forwarding, printing, or copying is strictly prohibited.  Please 
notify the
sender immediately and destroy all copies of this message and any
attachments.
   
   
   
  
  
   --
   http://www.irian.at
  
   Your JSF powerhouse -
   JSF Consulting, Development and
   Courses in English and German

Re: websphere 6 and myfaces compatibility

2006-03-29 Thread Mike Kienenberger
On 3/29/06, Thomas Spiegl [EMAIL PROTECTED] wrote:
 Another thing I've on my harddisk is the Facelet-Taglib generator. It
 generates the necessary facelets definitions for jsf-core, jsf-impl,
 tomahawk and sandbox. The Maven plugin is ready, but needs to be
 integrated in the MyFaces build.

 Any volunteers here on this list to who can complete this task?

Sure, that's on my TODO list ;)

However, I don't think it's possible yet to integrate facelets support
into MyFaces.   I don't think maven can download the facelets/EL jars
as they're not available anywhere.   There's also a dependency on JSF
RI 1.2 although maybe that's not important.   Hmm.   I wonder if the
EL jars are important.

Also, there shouldn't be any need to provide jsf-core or jsf-impl
taglibs as these would be part of the facelets jar.

We also need to decide how we're going to work in the Facelets taglib
component handler and tag handler java classes for tomahawk and
sandbox.


Re: websphere 6 and myfaces compatibility

2006-03-29 Thread Thomas Spiegl
it's the Facelet-Taglib files being generated. No Facelet/EL jars are
needed therefore.

It's the xml, you can download from our
wiki:http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk

The file on our wiki page is outdated and inconsistent. I think the
first step moving towards facelets is to provide the taglib files. I
know that we need to implement some TagHandlers as well. But to get
the most tomahawk components working with facelets, the taglib file is
sufficient.


On 3/30/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
 On 3/29/06, Thomas Spiegl [EMAIL PROTECTED] wrote:
  Another thing I've on my harddisk is the Facelet-Taglib generator. It
  generates the necessary facelets definitions for jsf-core, jsf-impl,
  tomahawk and sandbox. The Maven plugin is ready, but needs to be
  integrated in the MyFaces build.
 
  Any volunteers here on this list to who can complete this task?

 Sure, that's on my TODO list ;)

 However, I don't think it's possible yet to integrate facelets support
 into MyFaces.   I don't think maven can download the facelets/EL jars
 as they're not available anywhere.   There's also a dependency on JSF
 RI 1.2 although maybe that's not important.   Hmm.   I wonder if the
 EL jars are important.

 Also, there shouldn't be any need to provide jsf-core or jsf-impl
 taglibs as these would be part of the facelets jar.

 We also need to decide how we're going to work in the Facelets taglib
 component handler and tag handler java classes for tomahawk and
 sandbox.



--
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: websphere 6 and myfaces compatibility

2006-03-29 Thread Mike Kienenberger
On 3/29/06, Thomas Spiegl [EMAIL PROTECTED] wrote:
 it's the Facelet-Taglib files being generated. No Facelet/EL jars are
 needed therefore.

 It's the xml, you can download from our
 wiki:http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk

 The file on our wiki page is outdated and inconsistent. I think the
 first step moving towards facelets is to provide the taglib files. I
 know that we need to implement some TagHandlers as well. But to get
 the most tomahawk components working with facelets, the taglib file is
 sufficient.

Well, the question is how we're planning to bundle it.

If you just want to generate the file, that's fine.  But if you're
planning on installing it in Tomahawk/META-INF, then it has to be
complete since the end-user cannot easily override it once we put it
into the jar file.   Before we get to that stage, I think we need to
have a comprehensive plan in place for keeping the file up-to-date.

The file attached to the wiki page is outdated, but the inline
definitions are quite complete :)  I started another page for sandbox
components on the facelets wiki that contains some handler java code
as well.


Re: Moving the Tobago Resources from Incubator to MyFaces

2006-03-29 Thread Thomas Spiegl
has the incubation process completed?
+1 then

On 3/29/06, Bernd Bohmann [EMAIL PROTECTED] wrote:
 Hello,

 I would like to move the Tobago resources from Incubator to MyFaces.

 The source should be moved to /repos/asf/myfaces/tobago and the site
 should be integrated as subproject of MyFaces.

 Any objections?

 Regards

 Bernd
 --
 Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development
 Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com
 phone: +49 441 4082312, mobile: +49 173 8839471, fax: +49 441 4082333



--
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: websphere 6 and myfaces compatibility

2006-03-29 Thread Thomas Spiegl
Some definitions are complete, some are not. (eg. jscookMenu will not
work, cause the render-type is missing)

Yes, just want to generate the files as a first step. We had a
discussion a few month ago about facelet support within MyFaces. I
don't remember the output, if there was one. So how can we proceed?


On 3/30/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
 On 3/29/06, Thomas Spiegl [EMAIL PROTECTED] wrote:
  it's the Facelet-Taglib files being generated. No Facelet/EL jars are
  needed therefore.
 
  It's the xml, you can download from our
  wiki:http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk
 
  The file on our wiki page is outdated and inconsistent. I think the
  first step moving towards facelets is to provide the taglib files. I
  know that we need to implement some TagHandlers as well. But to get
  the most tomahawk components working with facelets, the taglib file is
  sufficient.

 Well, the question is how we're planning to bundle it.

 If you just want to generate the file, that's fine.  But if you're
 planning on installing it in Tomahawk/META-INF, then it has to be
 complete since the end-user cannot easily override it once we put it
 into the jar file.   Before we get to that stage, I think we need to
 have a comprehensive plan in place for keeping the file up-to-date.

 The file attached to the wiki page is outdated, but the inline
 definitions are quite complete :)  I started another page for sandbox
 components on the facelets wiki that contains some handler java code
 as well.



--
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: websphere 6 and myfaces compatibility

2006-03-29 Thread Mike Kienenberger
On 3/29/06, Thomas Spiegl [EMAIL PROTECTED] wrote:
 Some definitions are complete, some are not. (eg. jscookMenu will not
 work, cause the render-type is missing)

True, but by keeping it on the wiki, it's trivial to fix each of these
problems as we come across them.   Maybe at this point in time, it's
just a matter of running your generator and then updating the wiki to
match the output.

 Yes, just want to generate the files as a first step. We had a
 discussion a few month ago about facelet support within MyFaces. I
 don't remember the output, if there was one. So how can we proceed?

I don't think the thread really went anywhere, which is why you don't
remember the output.  :)

We needed to decide how to integrate facelets build support into
MyFaces.   I don't really understand Maven well enough to guess how
that should be done.

I'm thinking we can have a facelets directory for tomahawk and
sandbox that does this somehow.   Maybe with a dependency on the
facelets library (and EL and JSF RI 1.2 if necessary) to build the
component handlers.

My approach has been to start with cleaning up the examples.   My plan
was to get them to the point where we can have them working with jsp
(ie, make them work again), then jspx (get them into xhtml format),
then xhtml/facelets.


Moving a file with svn under Windows.

2006-03-29 Thread Mike Kienenberger
I'm on windows, and I'm trying to find a way to move

IMPL: 
src/main/java/org/apache/myfaces/application/ComponentNotFoundException.java

to

SANDBOX: 
src/main/java/org/apache/myfaces/custom/ajax/api/ComponentNotFoundException.java

without losing history.

I don't see any way to do it from TortoiseSVN, and (I'm guessing)
Eclipse seems like it's going to do a file remove followed by a file
add rather than an SVN move.

[Note: SANDBOX:
src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java
contains the only reference to ComponentNotFoundException which is why
I'm moving it here]


Re: Moving a file with svn under Windows.

2006-03-29 Thread Dennis Byrne
If you drag it from one folder to another, right click on the folder you 
dragged it to, and go to team - commit, it preserves history.  

I know, not very intuitive but it does work ;)

Dennis Byrne


-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 29, 2006 07:43 PM
To: 'MyFaces Dev mailing list'
Subject: Moving a file with svn under Windows.

I'm on windows, and I'm trying to find a way to move

IMPL: 
src/main/java/org/apache/myfaces/application/ComponentNotFoundException.java

to

SANDBOX: 
src/main/java/org/apache/myfaces/custom/ajax/api/ComponentNotFoundException.java

without losing history.

I don't see any way to do it from TortoiseSVN, and (I'm guessing)
Eclipse seems like it's going to do a file remove followed by a file
add rather than an SVN move.

[Note: SANDBOX:
src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java
contains the only reference to ComponentNotFoundException which is why
I'm moving it here]





Re: Moving a file with svn under Windows.

2006-03-29 Thread Mike Kienenberger
On 3/29/06, Dennis Byrne [EMAIL PROTECTED] wrote:
 If you drag it from one folder to another, right click on the folder you 
 dragged it to, and go to team - commit, it preserves history.

 I know, not very intuitive but it does work ;)

I'm assuming you mean from Eclipse.

That's what I did (dragged it from myfaces-impl to tomahawk-sandbox),
but it still looks like it's going to do an add rather than a move.

I wonder if the problem is because it changed projects.

Or maybe it'll do the right thing even though it looks like an add.  
I suppose it's a trivial enough class (just a trivial subclass of
FacesException) that it doesn't matter if history gets lost.


[jira] Commented: (MYFACES-1121) FacesContext.getCurrentContext is null after login on Tomcat/JBoss

2006-03-29 Thread Dave (JIRA)
[ 
http://issues.apache.org/jira/browse/MYFACES-1121?page=comments#action_12372348 
] 

Dave commented on MYFACES-1121:
---

This is an urgent issue.
Like many people, I need to upgrade to JBoss 4.0.4 to use EJB 3.0 RC5 new 
features, and take advantage of bug fixes and performance improvement.

Thanks !
Dave

 FacesContext.getCurrentContext is null after login on Tomcat/JBoss
 --

  Key: MYFACES-1121
  URL: http://issues.apache.org/jira/browse/MYFACES-1121
  Project: MyFaces Core
 Type: Bug
   Components: General
 Versions: 1.1.2-SNAPSHOT
  Environment: Windows XP; JBoss 4.0.4RC1
 Reporter: Ramon Casha


 FacesContext.getCurrentContext is null in the page following a successful 
 login. The login is a standard JSP forms-based login. The form redirects to 
 j_security_check as normal, then presumably it gets automatically redirected 
 to the originally requested page. That's when the error occurs (see stack 
 trace below). If I then refresh the page, it displays correctly.
 12:46:14,137 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces 
 Servlet threw exception
 java.lang.NullPointerException
 at 
 org.apache.myfaces.renderkit.html.HtmlRendererUtils.selectContentType(HtmlRendererUtils.java:995)
 at 
 org.apache.myfaces.renderkit.html.util.DefaultAddResource.writeResponse(DefaultAddResource.java:786)
 at 
 org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:143)
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at 
 org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
 at 
 org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
 at 
 org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
 at 
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:514)
 at 
 org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
 at 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 at 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 at 
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
 at 
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 at 
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
 at 
 org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
 at 
 org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
 at 
 org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
 at java.lang.Thread.run(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



Re: Moving a file with svn under Windows.

2006-03-29 Thread Dennis Byrne
I'm not sure why, but the history has always been preserved for me even though 
it looks as though you are literally deleting and adding a different file.  
This is how it is on projects here at my day job and w/ MyFaces repo ( w/ 
Eclipse ).

Dennis Byrne

-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 29, 2006 08:10 PM
To: 'MyFaces Development'
Subject: Re: Moving a file with svn under Windows.

On 3/29/06, Dennis Byrne [EMAIL PROTECTED] wrote:
 If you drag it from one folder to another, right click on the folder you 
 dragged it to, and go to team - commit, it preserves history.

 I know, not very intuitive but it does work ;)

I'm assuming you mean from Eclipse.

That's what I did (dragged it from myfaces-impl to tomahawk-sandbox),
but it still looks like it's going to do an add rather than a move.

I wonder if the problem is because it changed projects.

Or maybe it'll do the right thing even though it looks like an add.
I suppose it's a trivial enough class (just a trivial subclass of
FacesException) that it doesn't matter if history gets lost.





[jira] Closed: (MYFACES-1121) FacesContext.getCurrentContext is null after login on Tomcat/JBoss

2006-03-29 Thread Mike Kienenberger (JIRA)
 [ http://issues.apache.org/jira/browse/MYFACES-1121?page=all ]
 
Mike Kienenberger closed MYFACES-1121:
--

Resolution: Duplicate

This looks like a duplicate of TOMAHAWK-201 which I fixed on March 23rd.


 FacesContext.getCurrentContext is null after login on Tomcat/JBoss
 --

  Key: MYFACES-1121
  URL: http://issues.apache.org/jira/browse/MYFACES-1121
  Project: MyFaces Core
 Type: Bug
   Components: General
 Versions: 1.1.2-SNAPSHOT
  Environment: Windows XP; JBoss 4.0.4RC1
 Reporter: Ramon Casha


 FacesContext.getCurrentContext is null in the page following a successful 
 login. The login is a standard JSP forms-based login. The form redirects to 
 j_security_check as normal, then presumably it gets automatically redirected 
 to the originally requested page. That's when the error occurs (see stack 
 trace below). If I then refresh the page, it displays correctly.
 12:46:14,137 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces 
 Servlet threw exception
 java.lang.NullPointerException
 at 
 org.apache.myfaces.renderkit.html.HtmlRendererUtils.selectContentType(HtmlRendererUtils.java:995)
 at 
 org.apache.myfaces.renderkit.html.util.DefaultAddResource.writeResponse(DefaultAddResource.java:786)
 at 
 org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:143)
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at 
 org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
 at 
 org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
 at 
 org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
 at 
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:514)
 at 
 org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
 at 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 at 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 at 
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
 at 
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 at 
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
 at 
 org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
 at 
 org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
 at 
 org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
 at java.lang.Thread.run(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Closed: (TOMAHAWK-217) HtmlPopupRenderer does not render facet's direct child

2006-03-29 Thread Mike Kienenberger (JIRA)
 [ http://issues.apache.org/jira/browse/TOMAHAWK-217?page=all ]
 
Mike Kienenberger closed TOMAHAWK-217:
--


Duplicate of MYFACES-827, fixed on 11/15/2005

 HtmlPopupRenderer does not  render facet's direct child
 ---

  Key: TOMAHAWK-217
  URL: http://issues.apache.org/jira/browse/TOMAHAWK-217
  Project: MyFaces Tomahawk
 Type: Bug
   Components: Popup
 Versions: 1.1.1
  Environment: java version 1.4.2_10
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
 Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)
 JBoss-3.2.7
 Reporter: Michal Borowiecki
 Priority: Minor


 HtmlPopupRenderer does not  render facet's direct child. 
 Example 1 (facet has a single child with no grandchildren):
 jsft:popup
 jsfh:outputText value=popup/
 jsfc:facet name=popup
 jsfh:outputText value=test/
 /jsfc:facet
 /jsft:popup
 The popup is rendered with no content.
 Example 2:
 jsft:popup
 jsfh:outputText value=popup/
 jsfc:facet name=popup
 jsft:htmlTag value=span
 jsfh:outputText value=test/
 /jsft:htmlTag
 /jsfc:facet
 /jsft:popup
 The text test is rendered directly in the popup' div element. The span 
 element is missing.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



Re: Playing round with 1.5 features

2006-03-29 Thread Martin Marinschek
sure. It would be a good thing to revive commons for that, right?

regards,

Martin

On 3/29/06, Bernd Bohmann [EMAIL PROTECTED] wrote:

  The annotations plugin we wrote and we propose to commit to a sandbox
  1.5 was ment at first to replace the jsf xdoclet plugin with an
  annotations plugin as it's quite hard to get this xdoclet plugin work
  with maven 2.

 Tobago has already some annotations stuff. Can we share the efforts?
 We are using a maven-apt-plugin and an AnnotationProcessor for
 generating the tld's.

 Regards

 Bernd



--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


RE: [jira] Assigned: (TOMAHAWK-46) t:inputcalendar Duplicate component ID '_id0:scheduleNavigator_1141102800000_link'

2006-03-29 Thread Adrián Villegas
Hi Jurgen
I tried to update this issue but i can't, the service is unavailable.
Well, this error happened again, we used the schedule component in a
Critical Production Application, everything was fine until today, the appl
just doesn`t work, but if I change the server date to yesterday the appl
works fine.
I hope you have an idea that what is going on, I tested the appl and the it
isn't going to work fine until April 1st.
I am still debugging the appl, if I found anything I'll notify you.

Thank's a lot.
Adrian


-Mensaje original-
De: Jurgen Lust (JIRA) [mailto:[EMAIL PROTECTED] 
Enviado el: Sábado, 04 de Marzo de 2006 08:55 a.m.
Para: [EMAIL PROTECTED]
Asunto: [jira] Assigned: (TOMAHAWK-46) t:inputcalendar Duplicate component
ID '_id0:scheduleNavigator_114110280_link'

 [ http://issues.apache.org/jira/browse/TOMAHAWK-46?page=all ]

Jurgen Lust reassigned TOMAHAWK-46:
---

Assign To: (was: Jurgen Lust)

 t:inputcalendar Duplicate component ID
'_id0:scheduleNavigator_114110280_link'




  Key: TOMAHAWK-46
  URL: http://issues.apache.org/jira/browse/TOMAHAWK-46
  Project: MyFaces Tomahawk
 Type: Bug
   Components: Calendar
  Environment: Windows 2003 Server, Tomcata 5.x, Pentum IV 1gb RAM.
 Reporter: Adrián Villegas
  Attachments: My faces error.doc

 I run the examples of Myfaces
 On  January 31st , when i click on month's navigator links, the following
error happend:
 Duplicate component ID '_id0:scheduleNavigator_114110280_link'
 Previously on forward click from January go to March and another click
more the error page.
 This error  don't happend on february 1st.
 ¿?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.yahoo.com.mx/


Re: Status of New Release

2006-03-29 Thread Martin Marinschek
We use a snapshot as well, all fine for us.

regards,

Martin

On 3/29/06, Mario Ivankovits [EMAIL PROTECTED] wrote:
 Hi!
  So does anyone have any objections to my new branch creation?
 I am fine with it. We use a current snapshot in our production
 environment and it works.

 ---
 Mario




--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces