Re: Orchestra vs Spring-Annotations

2007-05-26 Thread Craig McClanahan
On 5/25/07, Mario Ivankovits [EMAIL PROTECTED] wrote: [snip] * We really introduce a conversation scope comparable to session, request etc ... you use scope=conversation in your managed bean config to do the magic [snip] You can certainly get away with this in JSF 1.1, because even though the

Re: JSF Session

2007-05-21 Thread Craig McClanahan
On 5/21/07, Carlos Ortiz [EMAIL PROTECTED] wrote: Hi , Is there a way for dont show jsessionid in the adress bar , for my app it may be a potential problem with security ?¡ Whether the session id shows in the URL (and therefore the address bar) or not makes no difference at all from a

Re: how to execute one-time start-up code?

2007-05-18 Thread Craig McClanahan
On 5/18/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Calling FacesContext.getCurrentInstance() returns null from my own ServletContextListener.contextInitialized(), even though I've written the web.xml like so: listener listener-class

Re: Component Binding issues

2007-04-09 Thread Craig McClanahan
On 4/9/07, Andrew Robinson [EMAIL PROTECTED] wrote: They can also cause issue with duplicate IDs if the ID of the bound component is auto-generated Even worse will be big problems when (and not if) you have multiple simultaneous requests on the same session (and therefore the same component

Re: Sharing myfaces libraries

2007-03-08 Thread Craig McClanahan
On 3/7/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have more than one application developed with same version of shale/myfaces/tomahawk. Is it correct install these libraries in Shared Libraries not remove them from WEB-INF/lib of each application? It depends on your situation.

Re: Change visibility dinamically

2007-02-27 Thread Craig McClanahan
On 2/27/07, Volker Weber [EMAIL PROTECTED] wrote: 2007/2/27, Craig McClanahan [EMAIL PROTECTED]: On 2/27/07, Volker Weber [EMAIL PROTECTED] wrote: The places where the rendered flag is referenced are actually: * In Apply Request Values ... decoding of request parameters will not occur

Re: t:datatable with commandLink and parameter

2007-02-27 Thread Craig McClanahan
On 2/27/07, Mike Kienenberger [EMAIL PROTECTED] wrote: Simon, I don't have any JSF books handy. What's the difference between from-action and from-outcome? I thought outcome was the string returned from an action method? You can use either or both. * from-action describes the EL

Re: Loading application scoped managed beans on server startup

2007-02-20 Thread Craig McClanahan
On 2/20/07, Steve Torrefranca [EMAIL PROTECTED] wrote: Does it have to be a managed bean? I am afraid so, though i could be wrong. The List is used by the view as source for select Items. But yes I can use this a work around. It's not really a workaround. The only thing special about

Re: Automated transaction handling

2007-02-07 Thread Craig McClanahan
On 2/7/07, Werner Punz [EMAIL PROTECTED] wrote: Jochen Wiedmann schrieb: On 2/7/07, Werner Punz [EMAIL PROTECTED] wrote: Right idea wrong tier of the application stack, automated transaction handling is in the realm of the middleware, I highly can recommend to have a look at EJB3 and/or

Re: JSF lifecyle - managed-bean

2007-02-04 Thread Craig McClanahan
rendering, respectively. thanks L -- View this message in context: http://www.nabble.com/JSF-lifecyle---managed-bean-tf3172695.html#a8801378 Sent from the MyFaces - Users mailing list archive at Nabble.com. Craig McClanahan [1] http://shale.apache.org/shale-view/index.html

Re: Source code

2007-01-25 Thread Craig McClanahan
On 1/25/07, lightbulb432 [EMAIL PROTECTED] wrote: Thanks for your insights. Is there a name for this type of interface-style (if not SPI)? Is it correct to say that SPI-style interfaces the spec includes the spec classes and the implementers generally wouldn't package the spec classes along,

Re: AW: Access to param

2007-01-19 Thread Craig McClanahan
On 1/19/07, Gary VanMatre [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] [EMAIL PROTECTED] The request attribute works fine. I made a mess. But I am still interested how I can set a parameter und its value within a bean method. Consider: public void actionListener(ActionEvent

Re: JSTL and JSF

2007-01-17 Thread Craig McClanahan
On 1/17/07, Jeff Bischoff [EMAIL PROTECTED] wrote: Matthias Wessendorf wrote: well, with facelets or jsf 1.2 that can be done ;) True, but why? Rendered seems to fit his needs perfectly. :) Agreed :-). I've also seen table components (such as the one that comes with Creator or VWP)

Re: anyone know what the holdup on jsf 1.2 is?

2007-01-16 Thread Craig McClanahan
On 1/16/07, kal stevens [EMAIL PROTECTED] wrote: The Specification was approved over 8 months ago, is myfaces undergoing active development? It is under active development. The best way to keep track, if you are interested, is to subscribe to the developer list and you'll see *lots* of

Re: how to configure dynafaces with myfaces

2007-01-14 Thread Craig McClanahan
On 1/14/07, Madhav Bhargava [EMAIL PROTECTED] wrote: Hi All, I was going through the following link for configuration details for dynafaces: https://jsf-extensions.dev.java.net/nonav/mvn/gettingstarted-ajax.html Apparently they have targeted sun JSF RI and therefore have the following

Re: Download file component by jsf?

2007-01-05 Thread Craig McClanahan
On 1/5/07, Holger Prause [EMAIL PROTECTED] wrote: Chen, Wei schrieb: Hi, JSF has the uploadFile component and can use this to upload a file onto the server. But how can I download a file? Or what I want is: if I click a hyber-link, a download file dialog will be shown and the file will

Re: Inline validation method

2007-01-03 Thread Craig McClanahan
On 1/3/07, Simon Kitching [EMAIL PROTECTED] wrote: Thanks David. Is this validator attribute something added in JSF 1.2? I'm sure it doesn't exist in JSF 1.1 (which is what MyFaces 1.1.x supports). The validator attribute has been there since JSF 1.0 ... it corresponds to the getValidator()

Re: Action not called when the value for rendered attribute changes

2006-12-23 Thread Craig McClanahan
On 12/23/06, Marek Zachara [EMAIL PROTECTED] wrote: certainly, though it boils down to extremely simple scenario: bean1 (scope=request): public String testAction() { System.out.print(Test Action); return null; } bean2 (scope=request): private boolean show = false; public

Re: Why does JSF submit through JavaScript?

2006-12-21 Thread Craig McClanahan
On 12/21/06, lightbulb432 [EMAIL PROTECTED] wrote: Why does JSF always use JavaScript to submit a form rather than through the regular method of form submission? That only happens for a commandLink component (i.e. a hyperlink that is to submit a form). If you use a commandButton component,

Re: Managed-bean vs. Backing-beans

2006-12-19 Thread Craig McClanahan
On 12/19/06, Behrang Saeedzadeh [EMAIL PROTECTED] wrote: Hi all, It looks like that I am not the only one confused by JSF terminology, as there's not an official glossary of terms in the spec. The best thing would be to ask the EG to add a glossary of terms in the next release. Till then, it

Re: Managed-bean vs. Backing-beans

2006-12-19 Thread Craig McClanahan
On 12/19/06, Behrang Saeedzadeh [EMAIL PROTECTED] wrote: Craig, Thanks for the explanation. Historically, backing bean is a design idiom, not a required feature of the specification. OK, but the term backing bean is used in a few places of the spec, and it would be nice if the spec defined

Re: Tomahawk and JBoss

2006-12-14 Thread Craig McClanahan
On 12/14/06, Aneesha Govil [EMAIL PROTECTED] wrote: Hi all, I was looking for information on JBoss Seam and posted a thread on the JBoss Seam forum. I would like you to see [1]. I do not understand why they have such an opinion. What are your thoughts on this? Does anybody have any experience

Re: Tomahawk and JBoss

2006-12-14 Thread Craig McClanahan
On 12/14/06, Aneesha Govil [EMAIL PROTECTED] wrote: On 12/14/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 12/14/06, Aneesha Govil [EMAIL PROTECTED] wrote: Hi all, I was looking for information on JBoss Seam and posted a thread on the JBoss Seam forum. I would like you

Re: Shale's s:token to prevent double click

2006-12-14 Thread Craig McClanahan
On 12/14/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi , I have tried using Shale 1.0.3 on IBM RAD 6.0.1 and Websphere Portal 5.1 But everytime i try to use this shale-core.jar for s:token i get the exception : ServletContext lookup for /.SynchronizedToken returned the portal context. It

Re: singleton validators and converters

2006-12-08 Thread Craig McClanahan
On 12/8/06, Iordanov, Borislav (GIC) [EMAIL PROTECTED] wrote: No problem with concurrency, as I said they have no state. A lot of patterns would make sense, but JSF API/taglib doesn't seem to facilitate any of them, hence my question. Object creation and GC overhead was a very significant

Re: Interest in knowing benefits of myfaces+shale

2006-12-05 Thread Craig McClanahan
On 12/5/06, Jorge Vásquez [EMAIL PROTECTED] wrote: Hello, I have been reading lately lots of answers that recommend an integration of faces with shale but I really can´t imagine what specific benefits can this bring to a project. Is there some document or reference that anyone knows that

Re: Newbie question: How to generate a jsf component dynamically

2006-12-03 Thread Craig McClanahan
On 12/3/06, Simon Kitching [EMAIL PROTECTED] wrote: Hi Koshi, Generally, having the component tree vary dynamically is not done with JSF. If you want a choice of two different components, then typically you define both of them in the page, then use the rendered property to ensure that only the

Re: Newbie question: How to generate a jsf component dynamically

2006-12-03 Thread Craig McClanahan
On 12/3/06, Simon Kitching [EMAIL PROTECTED] wrote: Craig McClanahan wrote: On 12/3/06, *Simon Kitching* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Koshi, Generally, having the component tree vary dynamically is not done with JSF. If you want a choice of two

Re: Newbie question: How to generate a jsf component dynamically

2006-12-03 Thread Craig McClanahan
On 12/3/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 12/3/06, Simon Kitching [EMAIL PROTECTED] wrote: How would you recommend an app do this on first render of a page (eg when user setting is X, add this component else add that component)? Perhaps in a binding setter method? That's

Re: Saving state in page

2006-11-29 Thread Craig McClanahan
On 11/29/06, Naresh Bhatia [EMAIL PROTECTED] wrote: Hi Simon, Thanks for a quick response. When I said navigates through a link, I had first tried h:commandLink. However, as you mention below, it was posting back to page A and causing an unnecessary database read (I was doing lazy loading in

Re: Saving state in page

2006-11-29 Thread Craig McClanahan
On 11/29/06, Simon Kitching [EMAIL PROTECTED] wrote: Craig McClanahan wrote: On 11/29/06, *Naresh Bhatia* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Simon, Thanks for a quick response. When I said navigates through a link, I had first tried h:commandLink

Re: PhaseListener behaviour

2006-11-17 Thread Craig McClanahan
On 11/16/06, Pfau, Oliver [EMAIL PROTECTED] wrote: Another question...is there a difference is I register a phase listener in my backing bean constructor or in the faces-config.xml ? One of the issues not yet addressed in this thread is really important ... when does your phase listener get

Re: Best Practice Suggestions

2006-11-16 Thread Craig McClanahan
Some thoughts intermixed below. On 11/16/06, Nick77 [EMAIL PROTECTED] wrote: Separation of Model, View and Controller: The Model is the 'backing' bean, 1 bean per JSP page, I'll call it the ModelBean. Contains only the data that is required for display in the view, and also id fields (the

Re: text-align: center - without h:dataTable

2006-11-15 Thread Craig McClanahan
On 11/15/06, Jeff Bischoff [EMAIL PROTECTED] wrote: Monkeyden, You may try Facelets, where you can be more granular by using the actual tr and td elements... Or, whether you use facelets or not, experiment with the columnClasses and rowClasses attributes of h:panelGrid. You can specify

Re: JSF EL

2006-11-13 Thread Craig McClanahan
On 11/13/06, Rene Guenther [EMAIL PROTECTED] wrote: Thanks. I am going to examine commons-el package then!The other hint might be helpful too.Over the longer term, keep an eye also on the Unified EL that is used by JSF 1.2 and JSP 2.1. There's a maintenance JSR in progress as we speak to separate

Re: Problem with RESTORE_VIEW

2006-11-09 Thread Craig McClanahan
On 11/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:Hi Simon,thx for your answer! I've added my comments inline: When using client-side caching, it happens automatically, because after the user clicks back then submits a form, the old saved component tree gets submitted back to the server

Re: Best practices to add MyFaces to an existing Hibernate project

2006-11-03 Thread Craig McClanahan
On 11/3/06, Nebinger, David [EMAIL PROTECTED] wrote: The easiest method would be simply to expose a getter method on your backing bean that returns the hibernate pojo. Through EL, you can then do #{backingbean.pojo.field} w/o having to replicate your various getters/setters or include

Re: JSF and ajax using phaselistener approach

2006-11-01 Thread Craig McClanahan
On 10/31/06, Aneesha Govil [EMAIL PROTECTED] wrote: On 10/31/06, Craig McClanahan [EMAIL PROTECTED] wrote: In addition to the other references people have given, you might want to look at the Remoting feature in Shale[1]. It includes a built-in phase listener that tries to do all the hard stuff

Re: JSF and ajax using phaselistener approach

2006-11-01 Thread Craig McClanahan
On 11/1/06, Jeff Bischoff [EMAIL PROTECTED] wrote: Sounds painful.I really hope that a future version of the JSF spec integrates AJAX moredirectly into the framework. For now, I am seeing more ajax componentsshowing up in Tomahawk/Sandbox and that at least is something. You don't have to wait for

Re: Solved, but not happy with solution Re: question about BackingBeans and POJO's

2006-11-01 Thread Craig McClanahan
Resource Bundles now. Thank you so much!!! On 10/31/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 10/31/06, Mick Knutson [EMAIL PROTECTED] wrote: I solved the issue, but am not happy with it. It seems that using a dot notation in the Resource Bundle is not allowed. Hold up a sec

Re: JSF and ajax using phaselistener approach

2006-10-31 Thread Craig McClanahan
On 10/31/06, Aneesha Govil [EMAIL PROTECTED] wrote: Hi,Can anyone give me links to any resources/examples on Ajax with JSF using the PhaseListener approach. I found it on the J2EE Blueprints but they work only with Java EE 5. I am using myfaces 1.1.4 (J2EE 1.4). Does this approach work with that

Re: Disabled with value binding expression

2006-10-31 Thread Craig McClanahan
On 10/31/06, Toppac [EMAIL PROTECTED] wrote: Also I am usingc:set var=disabled value=false scope=page/This is not going to work. JSF expressions do not have access to page scope in a JSP page. You'll need to us something in request scope instead. Craig I typed the wrong thing from memory

Re: Disabled with value binding expression

2006-10-31 Thread Craig McClanahan
that logonBean actually exists on the subsequent renderings? If it does not (as someone else in this thread pointed out), your _expression_ will evaluate to false with no errors or exceptions. Craig Craig McClanahan-3 wrote: On 10/31/06, Toppac [EMAIL PROTECTED] wrote: Also I am using c:set var=disabled

Re: Solved, but not happy with solution Re: question about BackingBeans and POJO's

2006-10-31 Thread Craig McClanahan
On 10/31/06, Mick Knutson [EMAIL PROTECTED] wrote: I solved the issue, but am not happy with it.It seems that using a dot notation in the Resource Bundle is not allowed.Hold up a sec on the changes!EL expressions use the same syntax for variable references that _javascript_ expressions do. Thus,

Re: JSF and ajax using phaselistener approach

2006-10-31 Thread Craig McClanahan
On 10/31/06, Aneesha Govil [EMAIL PROTECTED] wrote: Well silly question but what does PPR stand for?Sorry to throw about so many TLAs (three letter acronyms :-). PPR == Partial Page Refresh.Craig Thanks,AneeshaOn 10/31/06, Gerald Müllan [EMAIL PROTECTED] wrote:Hi,have a look at the sandbox

Re: Problem in marking an InputText to 'readonly' and 'disabled'

2006-10-29 Thread Craig McClanahan
On 10/29/06, Simon Kitching [EMAIL PROTECTED] wrote: I don't know whether the behaviour you see with the normal one(required=true causes error for components when readonly=true) alsoapplies to Sun's JSF implementation but I wouldn't be at all surprised.Web browsers don't send data back unless the

Re: Custom Renderer for SelectItem

2006-10-28 Thread Craig McClanahan
On 10/24/06, Greg Reddin [EMAIL PROTECTED] wrote: I have a situation where I *think* the solution is to write a customrenderer.It has brought up some issues with renderers I wanted toask about as well.Here's my problem:I need to display a combo box with hierarchical select items.IOW, the list of

Re: MyFaces dialog framework

2006-10-17 Thread Craig McClanahan
On 10/17/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: Like that ?http://www.irian.at/trinidad-demo/faces/components/inputListOfValues.jspxif so, go with Trinidad incubator.apache.org/adffacesOr, if you want to look at an alternative that doesn't tie you to any specific component library, take

Re: Backing Bean Constructor

2006-10-02 Thread Craig McClanahan
On 10/2/06, Baker,Jonathan [EMAIL PROTECTED] wrote: Troy,You may be interested in looking at Shale. (http://shale.apache.org/)The shale view controller is an interface that gives you some extraplug-in points in the JSF lifecycle.One of these points is an init call, which is guaranteed to run after

Re: Low level myFaces component maniulation...

2006-09-30 Thread Craig McClanahan
On 9/30/06, Jorge Vásquez [EMAIL PROTECTED] wrote: Regards, I have run into a very complex situation due to the fact that I use dynamic includes in my application. I need to change the whole component tree of an include and I have found that the bound components inside an include are

Re: Low level myFaces component maniulation...

2006-09-30 Thread Craig McClanahan
On 9/30/06, Jorge Vásquez [EMAIL PROTECTED] wrote: Thanks Craig, Another question: After finding a component how can I erase it from the tree in order to force its "rebinding" during the RenderResponse phase. Every component has a couple of very useful properties that tie the tree

Re: Offtopic: Why the Jackrabbit mailing list is so slow?

2006-09-29 Thread Craig McClanahan
On 9/29/06, Behrang Saeedzadeh [EMAIL PROTECTED] wrote: Hi,While my posts to every Apache mailing list I am a member of arepublished in just a matter of seconds, my posts to the Jackrabbitmailing list usually take days to be published. Any ideas what's wrong with that mailing list and who should I

Re: managed-beans, spring references, and serializable

2006-09-26 Thread Craig McClanahan
On 9/25/06, Ingo Düppe [EMAIL PROTECTED] wrote: Well I guess you are totally right. I have to rethink my design andmaybe I should take a deep look at shale. What is your opinion, is shaleproduction ready, cause I'm in a really tight time schedule. Does theDialog feature safe the state over several

Re: managed-beans, spring references, and serializable

2006-09-26 Thread Craig McClanahan
On 9/26/06, Ingo Düppe [EMAIL PROTECTED] wrote: I configured acegisecurity filter to listen on servlet forwards. But theproblem came from facelets, as soon I integrated facelets there were nomore forwards during the lifecycle :-(, so the security filter is not informed about view changes. So I

Re: Navigation in response to an Exception

2006-09-25 Thread Craig McClanahan
On 9/25/06, Lindholm, Greg [EMAIL PROTECTED] wrote: -Original Message-From: Gerald Müllan [mailto:[EMAIL PROTECTED]]Sent: Monday, September 25, 2006 10:41 AMTo: MyFaces DiscussionSubject: Re: Navigation in response to an Exception Hi, what about catching the exception in the action method

Re: managed-beans, spring references, and serializable

2006-09-25 Thread Craig McClanahan
On 9/25/06, Gerald Müllan [EMAIL PROTECTED] wrote: Maybe there are also other solutions. We did it and it works very finein combinationwith t:saveState.Shale supports a similar pattern if your session-scoped beans extend AbstractSessionBean. The passivate() method will be called when the bean is

Re: managed-beans, spring references, and serializable

2006-09-25 Thread Craig McClanahan
On 9/25/06, Ingo Düppe [EMAIL PROTECTED] wrote: Hi Gerald,as soon a have a running version, I will setup a wiki page :-)But I still have some trouble to get the facescontext.My FacesContext.getCurrentInstance() return null. Maybe something is wrong with my application.This is the expected behavior

Re: managed-beans, spring references, and serializable

2006-09-25 Thread Craig McClanahan
On 9/25/06, Ingo Düppe [EMAIL PROTECTED] wrote: Craig McClanahan schrieb: Shale supports a similar pattern if your session-scoped beans extend AbstractSessionBean.The passivate() method will be called when the bean is about to be swapped out (perhaps to be transferred to another server) so you

Re: managed-beans, spring references, and serializable

2006-09-25 Thread Craig McClanahan
On 9/25/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 9/25/06, Ingo Düppe [EMAIL PROTECTED] wrote: Craig McClanahan schrieb: Shale supports a similar pattern if your session-scoped beans extend AbstractSessionBean.The passivate() method will be called when the bean is about to be swapped out

Re: managed-beans, spring references, and serializable

2006-09-25 Thread Craig McClanahan
On 9/25/06, Ingo Düppe [EMAIL PROTECTED] wrote: Craig McClanahan schrieb: Actually, I'd be surprised (and impressed) if Spring 2.0 did something different.The basic philosophy of all the IoC frameworks I've looked at is that they only need to do their magic once, when the bean is initially

Re: managed-beans, spring references, and serializable

2006-09-25 Thread Craig McClanahan
On 9/25/06, Ingo Düppe [EMAIL PROTECTED] wrote: Craig McClanahan schrieb: Actually, I'd be surprised (and impressed) if Spring 2.0 did something different.The basic philosophy of all the IoC frameworks I've looked at is that they only need to do their magic once, when the bean is initially

Re: managed-beans, spring references, and serializable

2006-09-25 Thread Craig McClanahan
On 9/25/06, Craig McClanahan [EMAIL PROTECTED] wrote: What do you thing about this?I would tend to maintain the temporary state information in a separate model bean of some sort, explicitly designed to be Serializable, so that there would not be anything special about migrating from one server

Re: how to access a managed bean from a button action listener ?

2006-09-22 Thread Craig McClanahan
On 9/21/06, Legolas Woodland [EMAIL PROTECTED] wrote: Hithank you for reading my posthow i can access a managed bean from a button action listener ?for example i have a managed bean named session and its scope is session, i used it to store user details until he/she logout and when he/she pressed

Re: Drill Down help

2006-09-14 Thread Craig McClanahan
On 9/14/06, Titi Wangsa [EMAIL PROTECTED] wrote: hello,i'm using myfaces 1.1.3 and shale 1.0.3 and tomahawak 1.1.3i have a page, list.jspcontaining a list of itemsthe list is initialized by a shale backed backed bean thatexecute's its init() method prior to loading the page the init method checks

Re: Direct usage of myfaces out of a Java program and save/restoreState issues

2006-09-07 Thread Craig McClanahan
On 9/7/06, Martin Grotzke [EMAIL PROTECTED] wrote: On Tue, 2006-09-05 at 17:12 +0200, Ricardo Tercero Lozano wrote: Forgot to say than If you really want to complete restore a previous rendered view you must extend the NavigationHander functionality or use a 'dialog' functionality like Shale

Re: Shale 1.0.x change to servlet 2.4 spec

2006-08-17 Thread Craig McClanahan
workaround, I'd be open to having it made available in a sandbox project for people in your position to try out. CraigOn 8/17/06, Joe Shevland [EMAIL PROTECTED] wrote: Ryan Wynn wrote: On 8/16/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 8/16/06, Joe Shevland [EMAIL PROTECTED] wrote: Hi

Re: Shale 1.0.x change to servlet 2.4 spec

2006-08-16 Thread Craig McClanahan
On 8/16/06, Joe Shevland [EMAIL PROTECTED] wrote: Hi,Sorry if this has been discussed but I haven't found a huge amount ofdiscussion on it, just a few comments describing that it was animportant and necessary change. Some time around Shale 1.0.3 changes were introduced which meant you needed to

Re: how deeply into a bean does myfaces update value references?

2006-07-31 Thread Craig McClanahan
On 7/31/06, Andrew Robinson [EMAIL PROTECTED] wrote: It should never look for (or set) myBean.myBean unless you use itsomewhere in the EL or have it as a managed property in the facesconfig. What code (including EL and managed properties) refers to the myBean property?To be more specific, here are

Re: how deeply into a bean does myfaces update value references?

2006-07-31 Thread Craig McClanahan
On 7/31/06, Dhananjay Prasanna [EMAIL PROTECTED] wrote: Craig, is there any thought to add namespace support to the EL? Example: #{myBean.blah} As opposed to: #{myModule:myBean} This would help greatly, especially for those of us who have huge numbers of managed

Re: NetBeans 5.5

2006-07-21 Thread Craig McClanahan
On 7/21/06, Francesco Consumi [EMAIL PROTECTED] wrote: Hi, I just downloaded and installed NetBeans 5.5 beta 2, and stilldoesn't recognize myfaces tag libraries.Does someone know something about this problem ?NetBeans has built in support for the JSF standard TLDs (and they are identical for the

Re: Shale, Spring Tiger Annotations

2006-07-05 Thread Craig McClanahan
On 7/4/06, Enrique Medina Montenegro [EMAIL PROTECTED] wrote: Hi,I'm starting a new development where I will use MyFaces together with Shale and Spring. I've been reading the documentation regarding the integration between Spring and Shale, in terms of the delegating VariableResolver. Furthermore,

Re: Shale, Spring Tiger Annotations

2006-07-05 Thread Craig McClanahan
instance would be created every time you asked for it.Craig On 7/4/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 7/4/06, Enrique Medina Montenegro [EMAIL PROTECTED] wrote: Hi,I'm starting a new development where I will use MyFaces together with Shale and Spring. I've been reading the documentation

Re: Shale, Spring Tiger Annotations

2006-07-05 Thread Craig McClanahan
the kids next door *finally* ran out of fireworks, so maybe this will need to wait until tomorrow :-).Craig On 7/5/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 7/4/06, Enrique Medina Montenegro [EMAIL PROTECTED] wrote: Craig,So in the documentation at the web site regarding Shale-Spring

Re: Shale and Trinidad

2006-07-03 Thread Craig McClanahan
, but no ViewController callbacks) I've keep out permutations with Facelets wrapping Trinidad, because docs explicitly say that it is no good. My conclusion: the problem isn't related to view hander delegation stack. I'll try something else, stay tuned ;-) Cosma 2006/6/21, Craig McClanahan [EMAIL PROTECTED

Re: managed properties

2006-06-25 Thread Craig McClanahan
On 6/25/06, Dhananjay Prasanna [EMAIL PROTECTED] wrote: Good to know. Btw what are the semantics of using mixed-scope managed properties inside each other? Example: Backing bean A has request scope Backing bean B has application scope but contains a managed reference to A.

Re: managed properties

2006-06-25 Thread Craig McClanahan
. In the latter case, you get managed beans configuration via annotations as well. Craig[1] http://struts.apache.org/struts-shale/ From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Craig McClanahan Sent: Monday, 26 June 2006 10:16 AM To: MyFaces Discussion Subject: Re: managed

Re: Shale and Trinidad

2006-06-21 Thread Craig McClanahan
On 6/21/06, Cosma Colanicchia [EMAIL PROTECTED] wrote: Hi,do you know if Shale can be easily plugged in a MyFaces/Trinidadproject? I'm interested in the ViewController pattern, but I can'tmake it work.In principle, this kind of mixing should work, although I haven't tried it myself. I setup the

Re: managed properties

2006-06-21 Thread Craig McClanahan
On 6/21/06, Rick [EMAIL PROTECTED] wrote: managed-beanmanaged-bean-namebusinessDelegate/managed-bean-namemanaged-bean-classcom.delegates.BusinessDelegate/managed-bean-classmanaged-bean-scoperequest/managed-bean-scope

Re: managed properties

2006-06-21 Thread Craig McClanahan
On 6/21/06, Dhananjay Prasanna [EMAIL PROTECTED] wrote: Thanks craig rick, As a follow up, is there any way to organize namespaces in managed-bean-names? Apart from using underscores can I do something like: managed-bean-namedelegates.businessDelegate/managed-bean-name Im

Re: ValueChangeEvent getSource()

2006-06-08 Thread Craig McClanahan
On 6/8/06, Jeff Bischoff [EMAIL PROTECTED] wrote: Tonio,Your description of the phases sounds about right, and it makes sensewhy you ran into that problem.Let me check the diagram in Core JSF, to double-check... yep, Backingbean shouldn't have been updated when your listener is called. Sounds like

Re: ValueChangeEvent getSource()

2006-06-08 Thread Craig McClanahan
On 6/8/06, Craig McClanahan [EMAIL PROTECTED] wrote: @Martin ... check particularly the API javadocs for UIInput.validate() ... in there you will see that setValue() is supposed to be called immediately after the validations have succeeded for a particular component. Value change listeners aren't

Re: ValueChangeEvent getSource()

2006-06-08 Thread Craig McClanahan
to be reported as a bug against MyFaces. Hope not to mess things upTonioCraigOn Thu, 2006-06-08 at 09:36 -0700, Craig McClanahan wrote: On 6/8/06, Jeff Bischoff [EMAIL PROTECTED] wrote: Tonio, Your description of the phases sounds about right, and it makes sense why you ran into that problem. Let me

Re: ValueChangeEvent getSource()

2006-06-08 Thread Craig McClanahan
On 6/8/06, Tonio Caputo [EMAIL PROTECTED] wrote: ===Just to make it clear, as I understood from the earlier mails:(1) if you use value binding (JSP attribute value) this binding will not be updated until UpdateModel

Re: [OT] scope trick

2006-06-01 Thread Craig McClanahan
On 6/1/06, Dennis Byrne [EMAIL PROTECTED] wrote: The spec says higher scoped managed beans cannot be injected into lower scoped managed beans.This doesn't mean we can't inject session scoped data into request scope managed beans ...managed-bean managed-bean-namegeographyProducer/managed-bean-name

Re: [OT] scope trick

2006-06-01 Thread Craig McClanahan
On 6/1/06, Dennis Byrne [EMAIL PROTECTED] wrote: As long as you don't also have a sharedData bean in request scope, thiswill pick up the session scoped bean for you (and also create it ifnecessary, if it is a managed bean).Hi Craig, I can only see how the first part is correct.If sharedData is a

Re: does h:commandLink need a h:form

2006-05-25 Thread Craig McClanahan
On 5/24/06, Kevin Hale Boyes [EMAIL PROTECTED] wrote: I have the following findex.jsp file%@ taglib uri=http://java.sun.com/jsf/html prefix=h %%@ taglib uri= http://java.sun.com/jsf/core prefix=f %htmlheadtitletitle/title/headbodyf:viewh:commandLink action="" value=Go / /f:view/body/htmlbut when I

Re: Netbeans integration with MyFaces

2006-05-25 Thread Craig McClanahan
On 5/24/06, Sean Schofield [EMAIL PROTECTED] wrote: Note that making such a change today on Glassfish would turn it into a non-JavaEE5 container, since MyFaces is a 1.1 implementation and the EE spec requires JSF 1.2.Right.But its lame that you can't easily switch to another implementation.Lets

Re: Unit testing backing beans / custom components in JSF

2006-05-24 Thread Craig McClanahan
On 5/24/06, Murat Hazer [EMAIL PROTECTED] wrote: We are using shale-test for unit testing JSF backing beans, shale is not invasive, you can use only this part of the shale without including other parts of it to build path.To be precise, you need both shale-core.jar and shale-test.jar in the

Re: Netbeans integration with MyFaces

2006-05-24 Thread Craig McClanahan
On 5/24/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: Sun AS + Myfaces is a huge problem as of JEE5 the default implementation of the jsf implementation is not overridable anymore within the WEB-INF/lib dir.I don't think that this is really a problem. It is convenience for the users! Like JSP-

Re: Unit testing backing beans / custom components in JSF

2006-05-24 Thread Craig McClanahan
On 5/24/06, Dennis Byrne [EMAIL PROTECTED] wrote: To be precise, you need both shale-core.jar and shale-test.jar in theclasspath for your unit tests, but you need neither in the classpath foryour runtime application (unless you are actually using Shale in the application itself, of course).Am I

Re: JSF Backing Bean Unit Testing

2006-05-14 Thread Craig McClanahan
On 5/14/06, Murat Hazer [EMAIL PROTECTED] wrote: Hi,I am trying to write unit tests on my backing beans' action, actionListener and other methods, and using shale-test framework to accomplish this. From TDD principles i know every unit test should test only itself not other functions or layers

Re: Shale setup

2006-05-13 Thread Craig McClanahan
On 5/13/06, Kevin Galligan [EMAIL PROTECTED] wrote: Anybody use shale? Is there anything special for configuration? I set up the shale filter, and it is set to catch everything '/*'.Complete configuration instructions are on the website[1]. You can also download a blank starter app from the

Re: Shale setup

2006-05-13 Thread Craig McClanahan
On 5/13/06, Kevin Galligan [EMAIL PROTECTED] wrote: Wild. Thanks for the response. I can honestly say I saw nothing like that in the docs I had come across, but my research tends to happen when I'm too tired to code, so I could've easily missed it.I just tried it, and it certainly does pick it up,

Re: Need web pages for both PCs and palms... (JSF? ADF?...)

2006-05-12 Thread Craig McClanahan
On 5/12/06, I. Venuti [EMAIL PROTECTED] wrote: Hi, have to start a new web project, that will be accessed both from PCsand palms, smartphones and so on.I thing that there could be 2 main architectural decisions:1) use different pages for different devices (at least 2: one for PCS, one for others

Re: which method will be invoked in the invoke application phase.

2006-05-11 Thread Craig McClanahan
On 5/11/06, Arash Bijanzadeh [EMAIL PROTECTED] wrote: I want to implement a security layer based on listener. I need to find out wich action in wich class of application would be called in the PhaseListener and the decide if the user allowed to do it or not. After 2 days of googling I couldn't

Re: Undocumented JSF trick? (was: Emulation of the action link being clicked)

2006-05-08 Thread Craig McClanahan
On 5/7/06, Hubert Rabago [EMAIL PROTECTED] wrote: On 5/5/06, Craig McClanahan [EMAIL PROTECTED] wrote: My question actually isn't about an alternate way to do it, but rather where is it stated that giving a particular hidden field some particular value will result in some particular JSF

Re: What to do when form depends on querystring params?

2006-05-01 Thread Craig McClanahan
On 5/1/06, Andrew Robinson [EMAIL PROTECTED] wrote: I agree, I have not given up in trying to find a built in way ofdoing it in JSF, but still have not found a way. The problem is thatJSF is all about actions when execution Java code. The problem is that actions are never run on the first time a

Re: What to do when form depends on querystring params?

2006-05-01 Thread Craig McClanahan
). -AndrewCraig On 5/1/06, Craig McClanahan [EMAIL PROTECTED] wrote: On 5/1/06, Andrew Robinson [EMAIL PROTECTED] wrote: I agree, I have not given up in trying to find a built in way of doing it in JSF, but still have not found a way. The problem is that JSF is all about actions when execution Java

Re: [shale] JSF AJAX components using Shale

2006-04-21 Thread Craig McClanahan
On 4/20/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: [snip]What I don't like on that bean is, that it creates viajavax.faces.context.ResponseWriter the markup (here a xml list). Justmy $0.02Just FYI, using a response writer is optional. The handler function has the responsibility to create the

Re: [shale] JSF AJAX components using Shale

2006-04-21 Thread Craig McClanahan
On 4/21/06, Werner Punz [EMAIL PROTECTED] wrote: Richard Wallace schrieb: Hey everyone, I hope you don't mind the cross post, but I just wanted to point this out to everyone. https://blueprints.dev.java.net/ajaxcomponents.html The AJAX components use Dojo for the client-side and build on

  1   2   3   4   >