RE: How can I redirect from a servlet to a JSF page (that is backed by a bean)?

2006-01-16 Thread Jeffrey Porter
Hello all again. I've messed around with the Tobago code for 5 hours now and have achieved 1/2 what I want. I can redirect to a JSF page populate the backing bean, but... I now have this problem with the redirect code... The problem I have is when a commandButton on the JSF page is clicked

Re: Where to get myfaces libraries, preferably from maven2 repo

2006-01-16 Thread Wendy Smoak
On 1/15/06, Dave [EMAIL PROTECTED] wrote: Maven XSLT plugin Use Subversion to get plugin source from svn://svn.codehaus.org/mojo/scm/trunk/mojo/mojo-sandbox/xslt-maven-plugin https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/xslt-maven-plugin (if you are behind a

Re: dataList question

2006-01-16 Thread Marco
Here is the code it's in a file called alphabet.jsph:panelGrid align=center x:dataList styleClass=standardList var=alphabet value=#{alphabetGenerator.alphabetList} rowCountVar=rowCount rowIndexVar=rowIndex h:commandLink value=#{ alphabet.value} action=""> f:param name=alphabetValue

Re: dataList question

2006-01-16 Thread Simon Kitching
Hi, A subview tag is recommended when using jsp:include, but it isn't mandatory. All it does is establish a new namespace, so that any ids used in components in the included page can't conflict with ids in the including page. In this case, none of the components in the alphabet.jsp page have

Re: MyFaces Cherokee

2006-01-16 Thread Nicklas Karlsson
Has anyone heard of any progress on the ADF Faces donation? Jacobis logs mentions looking for a name so Cherokee is not final either? How about Apache Sundance *) since waiting for it is sort of self-inflicted torture? :-) *) native american ritual, google it up

Re: MyFaces Cherokee

2006-01-16 Thread Dudu
And somebody know what will be happened with current myfaces, when cherokee be on apache incubators? thanks On 1/16/06, Nicklas Karlsson [EMAIL PROTECTED] wrote: Has anyone heard of any progress on the ADF Faces donation? Jacobis logs mentions looking for a name so Cherokee is not final

Re: Overriding error message...

2006-01-16 Thread Marco
Here is my messages bundle file contentjavax.faces.component.UIInput.REQUIRED = Value is requiredjavax.faces.component.UIInput.CONVERSION = Invalid value typejavax.faces.component.UISelectOne.INVALID = Value is not a a valid option javax.faces.component.UISelectMany.INVALID = Value is not a valid

f:param

2006-01-16 Thread Wei Chiang
Hi, folks, I wonder if someone could explain if the following f:param tag does something useful in tree2*.jsp of the simple examples. h:commandLink immediate=true styleClass=#{t.nodeSelected ? 'documentSelected':'document'} actionListener=#{t.setNodeSelected} t:graphicImage

Shale and MyFaces

2006-01-16 Thread Miller, John
Can someone explain if there would be any reason to consider Shale if not converting an existing STRUTS application. I/We are currently moving an existing custom web app (not struts) to a standard framework (JSF/MyFaces). I have seen a lot of discussion about using Shale and MyFaces together.

RE: commandLink

2006-01-16 Thread Garner, Shawn
The point of my comment was that your business logic (say, the event handler for a submit button) should be setting up the variables that the next view will require. I would use a java method from a submit button on the previous page. However there is no previous page in this circomstance.

RE: JSF 1.2 support/plans

2006-01-16 Thread Balunas, Jay
I certainly appreciate all the responses to my questions about 1.2 support. Looking from the outside in, Craig McClanahan's arguments seem very compelling for moving towards 1.2, although I can certainly imagine it is not that simple. I am only a user at the moment although I am interested

Re: Shale and MyFaces

2006-01-16 Thread Andrew Robinson
This is not a direct answer, but wanted to also let you know there is a decision between shale and jboss-seam. Both have more robust dialog support than JSF and both implement a higher level of IoC (inversion of control) to be able to surround your functionality. Shale has a nice page view

Re: JSF 1.2 support/plans

2006-01-16 Thread Werner Punz
Craig McClanahan schrieb: Glad to hear it! But, please understand that at Apache I have just one voice among many. If the MyFaces community considers this to be an important issue, then you need to ask your PMC to raise the urgency of dealing with this with the Apache Board, and (in

Re: Shale and MyFaces

2006-01-16 Thread Werner Punz
Andrew Robinson schrieb: This is not a direct answer, but wanted to also let you know there is a decision between shale and jboss-seam. Both have more robust dialog support than JSF and both implement a higher level of IoC (inversion of control) to be able to surround your functionality. Shale

Re: ExecutingMethodsFromLinkButtonParameters

2006-01-16 Thread Vladimir Coutinho
Could someone help with this. I get a user input, query the database and show a list ( t:dataTable). The user choose a item ( t:commandLink t:updateActionListener), and I open a detail page. Almost is OK, but when the user clicks the browser back button in the detail page, the page (with the

RE: Shale and MyFaces

2006-01-16 Thread James Salt
Hi Yee I am currently using Seam + Facelets to develop web applications (I however have never used Shale-Clay). These are my experiences. Yes it does lean very heavily on top of Hibernate/EJB3 but this for me is a great asset as it handles the persistence aspect of my web

RE: Shale and MyFaces

2006-01-16 Thread Yee CN
Hi James, Thanks for sharing your experience. I am not against ejb3 as such I am using hibernate, just not ready to consider ejb3 yet. From your description hibernate is actually quite close to ejb3 then at least operationally? Also how difficult is it to migrate from pure JSF to

Ajax Tree refresh from other frame

2006-01-16 Thread Gal Kirpichnikov
Hello, I have a JSF page as: Div Div tree2 (from myfaces-extensions with added ajax functionality) as controller - each object in tree rendered as a commandLink to iframe content /Div Div iframe - contains different JSF pages, according to selection in a tree. Commits actions and

RE: Shale and MyFaces

2006-01-16 Thread James Salt
Hi The jboss-seam implementation of EJB3 is actually built on Hibernate Annotations with Hibernate EntityManager, so the functionality is very similar to pure Hibernate, just transferring your meta data from an xml file to annotations in the java file (which I personally like).

Re: easiest way to get a jsf page as pdf download

2006-01-16 Thread Matthias Wessendorf
Hansjoerg, we have worked with Apache FOP for creating pdfs. iText or JasperReports are also lib that help you on that task. inside of your backing bean method (referenced by a commandLink or cmdButton) you can do somthing like this: public String pdf() { FacesContext ctx =

Re: Shale and MyFaces

2006-01-16 Thread Andrew Robinson
Here are my experiences so far. Setup:I am using JBoss-Seam CVS (the released beta doesn't, to my knowledge, have @Factory support yet that I rely on)I am using Hibernate not EJB3 for persistence I am using Facelets 1.0.10 for view creatingI am using the JBoss Microcontainer within Tomcat to

Find label of component

2006-01-16 Thread Veit Guna
Hi. How can I get the label (outputLabel) for a specific component? I need this, to add the label text to a custom validation message. It seems that {0} isn't filled automatically with the label when I add a custom message with addMessage to the clientId (field). regards, Veit

Where is the error log for MyFaces in Tomcat?

2006-01-16 Thread Adam
Dear All, I have just started playing with Tomcat MyFaces. Std downloaded tomcat 5.5.12. The problem is that when I get an error I get told: The full stack trace of the root cause is available in the Apache Tomcat/5.5.12 logs. But.I can not see anything in the logs. Does MyFaces

Re: JSF 1.2 support/plans

2006-01-16 Thread Craig McClanahan
On 1/16/06, Werner Punz [EMAIL PROTECTED] wrote: Craig McClanahan schrieb: Glad to hear it!But, please understand that at Apache I have just one voice among many.If the MyFaces community considers this to be an important issue, then you need to ask your PMC to raise the urgency of dealing with

Re: Shale and MyFaces

2006-01-16 Thread Werner Punz
Yee CN schrieb: Hi Andrew, Can you please share your experience with SEAM? It is production ready? I heard something like that it is hilariously slow in starting up… I am not Andrew, but I can comment a little bit. First both Seam and Shale are beta, so if that is an issue stay away.

Re: Shale and MyFaces

2006-01-16 Thread Werner Punz
Actually Andrew, JSR220 persistence just went into the final draft shortly before christmas, so you can expect that things wont change that much anymore. You already can see implementations popping up left and right (there are at least 4 I know of) How much the current JBoss implementation

Re: Shale and MyFaces

2006-01-16 Thread Werner Punz
Yee CN schrieb: Hi James, Thanks for sharing your experience. I am not against ejb3 as such – I am using hibernate, just not ready to consider ejb3 yet. From your description – hibernate is actually quite close to ejb3 then – at least operationally? Yes, actually the EJB3 API is sort

Re: Where is the error log for MyFaces in Tomcat?

2006-01-16 Thread Andrew Robinson
Usually created by log4j file in the catalina.out file under your tomcat logs folderOn 1/16/06, Adam [EMAIL PROTECTED] wrote:Dear All,I have just started playing with Tomcat MyFaces. Std downloaded tomcat 5.5.12.The problem is that when I get an error I get told: The full stack trace of the root

Re: Shale and MyFaces

2006-01-16 Thread Craig McClanahan
On 1/16/06, Werner Punz [EMAIL PROTECTED] wrote:[snip] Well from the small project I have done, you basically can take all yourJSF knowledge with you, Seam is an extension which simplifies manythings in JSF.Yep ... like Shale, Seam is a layer of additional functionality built on top of JSF, not a

Re: JSF 1.2 support/plans

2006-01-16 Thread Bernd Bohmann
Why would Sun need to relicense the JSF 1.2 RI? It's already under an open source license (CDDL). It's up to Apache to decide whether or not to accept a dependency on CDDL-licensed code, as it does for (say) BSD licensed code. Craig Allows the CDDL a distribution over a maven repository?

Re: How to override the MyFaces 1.1.1 taglib listener registration?

2006-01-16 Thread Laurie Harper
OK, so here's the approach in summary: First, you'll need some way of mapping the view ID derived from the request URL to an actual Facelets view (.xhtml file or whatever). I have an XML file that defines regular expressions to match against the URL and substitution patterns to build the view

Re: Shale and MyFaces

2006-01-16 Thread Bernd Bohmann
If you like that idea, but for some reason don't want to buy in to the whole Seam stack, Shale can do this now as well (in nightly builds) when you add the shale-tiger.jar library to your project. See the overall description of the Shale Tiger extensions[1], and the javadocs for annotated

JSF version of html:rewrite

2006-01-16 Thread Garner, Shawn
What would be the JSF version of struts' html:rewrite tag? Shawn This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor

Re: Shale and MyFaces

2006-01-16 Thread Simon Kitching
On Mon, 2006-01-16 at 20:56 +0100, Werner Punz wrote: Well seam basically is JSF interwoven with EJB3, the thing is, basically every session bean becomes automatically a backend bean, so you program the entire backend code all three tiers in EJB3. If you do not like that stay away. A

Re: Shale and MyFaces

2006-01-16 Thread Craig McClanahan
On 1/16/06, Simon Kitching [EMAIL PROTECTED] wrote: On Mon, 2006-01-16 at 20:56 +0100, Werner Punz wrote: Well seam basically is JSF interwoven with EJB3, the thing is, basically every session bean becomes automatically a backend bean, so you program the entire backend code all three tiers in

myfaces seperate context for faces-config.xml

2006-01-16 Thread Garner, Shawn
I have a seperate faces-config.xml file for a seperate context for example faces-subcontext.xml However it seams the from-view-id and to-view-id are not context relative and I have to put /subcontext/view.jsp everytime. I would think since it was in the faces-subcontext.xml that it would assume

Re: Some questions regarding state-saving of components and Backing-Beans

2006-01-16 Thread Simon Kitching
On Tue, 2006-01-17 at 02:17 +0100, Matthias Kahlau wrote: Hi! I have some questions regarding the state-saving mechanisms of MyFaces. 1) Do the MyFaces state-saving mechanisms (client-side/server-side) differ in any way from the behaviour defined in the JSF 1.1 spec? Are there any

Re: Converter problem

2006-01-16 Thread Mike Kienenberger
This is a facelets issue, not a myfaces issue. Make sure you've registered your converter in a taglib.xml file. For example, tag tag-nameoptionalConverter/tag-name converter converter-idnet.sf.jsfcomp.validator.OptionalConverter/converter-id /converter /tag If

Re: Shale and MyFaces

2006-01-16 Thread Duong BaTien
On Mon, 2006-01-16 at 12:27 -0800, Craig McClanahan wrote: On 1/16/06, Werner Punz [EMAIL PROTECTED] wrote: [snip] Well from the small project I have done, you basically can take all your JSF knowledge with you, Seam is an extension which simplifies many

Re: Shale and MyFaces

2006-01-16 Thread Craig McClanahan
On 1/16/06, Duong BaTien [EMAIL PROTECTED] wrote: On Mon, 2006-01-16 at 12:27 -0800, Craig McClanahan wrote: On 1/16/06, Werner Punz [EMAIL PROTECTED] wrote: [snip] Well from the small project I have done, you basically can take all your JSF knowledge with you, Seam is an extension which

Fwd: tree2 problem: Encountered a node [0] + with an illogical state

2006-01-16 Thread Alex Burton
hi there, Is there a way to properly flush the tree2 client and server side components? I seem to get the below exception very regularly. I have a drop down selection list that on change shows a different tree. after a few goes i seem to get this pretty often i also seem to start getting