Re: Custom error handler and ajax requests (a4j)

2007-08-03 Thread Pawel . Czerwinski
Unfortunatelly, this is not it, I don't use Shale :( Thanks though. -- Regards Paweł Czerwiński [EMAIL PROTECTED] (Gary VanMatre) wrote on 2007-08-02 15:32:02: Are you using Shale ViewController [1]? If so, try the nightly. [1] https://issues.apache.org/struts/browse/SHALE-409

Re: EL 2 Ref/Tut

2007-08-03 Thread David Delbecq
http://www.coreservlets.com/JSF-Tutorial/ Section 4 But it's not complete. En l'instant précis du 02/08/07 21:43, Wolf Benz s'exprimait en ces termes: That one I had :-) I hoped someone might have made a typical dev's summary (By that I mean cut the crap, just the rules and e few

Re: [Trinidad] faces-config.xml error: Document is invalid: no grammar found.

2007-08-03 Thread Martin Marinschek
Hi Jessica, the only reason why you can get something like this is if you have the JSF-API (myfaces-api-xxx.jar, jsf-api-xxx.jar) in more than one version on your classpath. Please check the WEB-INF/lib directory carefully, and also all lib-directories of your container! regards, Martin On

Re: EL 2 Ref/Tut

2007-08-03 Thread Wolf Benz
Thx David - that was what I was looking for! -Wolf On 8/3/07, David Delbecq [EMAIL PROTECTED] wrote: http://www.coreservlets.com/JSF-Tutorial/ Section 4 But it's not complete. En l'instant précis du 02/08/07 21:43, Wolf Benz s'exprimait en ces termes: That one I had :-) I hoped

Re: EL 2 Ref/Tut

2007-08-03 Thread Wolf Benz
David, In the doc I found that you could get to the session via #{facesContext.externalContext.session} Are session request accessible *directly* as well? To do simple stuff like e.g. #{request.requestURI} (would this work?) -Wolf On 8/3/07, Wolf Benz [EMAIL PROTECTED] wrote: Thx David - that

last version of jscook menu is broken

2007-08-03 Thread Bogdan Sava
jscook menu does not work in lasts versions. It is stuck! http://www.irian.at/myfaces/jscookmenu.jsf http://example.irian.at/example-simple-20070803/jscookmenu.jsf Any ideea ? Thank you! B

Re: EL 2 Ref/Tut

2007-08-03 Thread Wolf Benz
If you are in a JSP view handler, JSP implicit variable are accessible. -- I'm not - I'm a fresh facelets convert! However if you are not in JSP context (eg using Facelets as view handler) am not sure session, request, headers, etc are available. -- Well, they must be, I guess, although I'm

Re: EL 2 Ref/Tut

2007-08-03 Thread Wolf Benz
I'm starting to fall in love with ELv2! :-) Thx Bruno, -Wolf On 8/3/07, Bruno Aranda [EMAIL PROTECTED] wrote: You can use implicit objects such as request, session and header with Facelets too, so #{request.requestURI} should be perfectly valid, but of course, you can always go through

Re: [Trinidad] not working with richfaces suggestion box

2007-08-03 Thread Renzo Tomaselli
Matthias, I really don't know how to capture a PPR response, unless I dive deeply into the involved js code (which is compacted as far as I can see). Btw, someone on the Richfaces forum just answered that this duplicated class issue is old, but I just installed the very last snapshot - same

Re: [Trinidad] not working with richfaces suggestion box

2007-08-03 Thread Renzo Tomaselli
I will try to create one ASAP, with/without Trinidad. -- Renzo Matthias Wessendorf wrote: can you create a simple WAR, that can be easily deployed to a standalone tomcat ? -M On 8/3/07, Renzo Tomaselli [EMAIL PROTECTED] wrote: There isn't much more I can say. First I had a

Re: [Trinidad] not working with richfaces suggestion box

2007-08-03 Thread Matthias Wessendorf
can you create a simple WAR, that can be easily deployed to a standalone tomcat ? -M On 8/3/07, Renzo Tomaselli [EMAIL PROTECTED] wrote: There isn't much more I can say. First I had a table in a Facelet component, no problems. Then I wanted to add a suggestion box on each row. I soon

Re: [Trinidad] not working with richfaces suggestion box

2007-08-03 Thread Matthias Wessendorf
Right, that is all JBoss stuff, a quick google search on the rendered class values make that clear a) http://jira.jboss.com/jira/browse/RF-516 b) http://jsourcery.com/api/jboss.org/richfaces/3.0.0/org/richfaces/component/html/HtmlSuggestionBox.source.html HTH, Matthias On 8/3/07, Renzo

Re: [Trinidad] not working with richfaces suggestion box

2007-08-03 Thread Renzo Tomaselli
Oh yes, from firebug I got it. Indeed there are several duplicated class attributes in the respose body: table border="0" cellpadding="0" cellspacing="0" class="dr-sb-int-decor-table rich-sb-int-decor-table" id="browser:splitty0:navvy:query:f:sb:suggest" duplicate_class="" colgroup

RE: 1.1.7 source? ConversationTag details?

2007-08-03 Thread Roger Alix-Gaudreau
Hi Martin, Thanks for that link. I had seen the Orchestra project information, but I was hoping for a solution that didn't require me to add another framework to my application. :-) Still, at least I can look through their stuff and get some ideas. We're using Spring in our application, but we

Re: Scrollable Tree2

2007-08-03 Thread Andrew Robinson
Oops, didn't paste all of the code in from my text editor. Here is more: public class PagedTreeNode extends TreeNodeBase { private ListPagedTreeNode children = new ArrayListPagedTreeNode(); private ListPagedTreeNode visibleChildren = new ArrayListPagedTreeNode(); private int startAt = 0;

[AJAX] choosing an AJAX solution...

2007-08-03 Thread Andrew Robinson
I've started a project on the side using JSF and am trying to decide on an AJAX component library. I'm debating between using A4J, which I have used before and Trinidad, which I have not. Here are the libraries that I have decided it must work with: MyFaces 1.1.5 (or 1.2.0) Tomahawk 1.1.6

[TRINIDAD] Trinidad and Seam

2007-08-03 Thread Kito D. Mann
Is anyone out there using Trinidad with JBoss Seam? ~~~ Kito D. Mann - Author, JavaServer Faces in Action http://www.virtua.com/ http://www.virtua.com - JSF/Java EE consulting, training, and mentoring http://www.jsfcentral.com/

Re: [Trinidad] not working with richfaces suggestion box

2007-08-03 Thread Renzo Tomaselli
There isn't much more I can say. First I had a table in a Facelet component, no problems. Then I wanted to add a suggestion box on each row. I soon discovered that it doesn't work, even when placed alone outside the table. I get the reported warning at each keypress within the input field -

Re: [AJAX] choosing an AJAX solution...

2007-08-03 Thread Adam Winer
On 8/3/07, Andrew Robinson [EMAIL PROTECTED] wrote: I've started a project on the side using JSF and am trying to decide on an AJAX component library. I'm debating between using A4J, which I have used before and Trinidad, which I have not. Here are the libraries that I have decided it must

[Trinidad] not working with richfaces suggestion box

2007-08-03 Thread Renzo Tomaselli
In the past I had quite a number of troubles getting these two systems working together, and issues still keep on. I tried to attach a suggestion box to a h:inputText when Trinidad is also in the game. No way, server reports: 3-ago-2007 10.28.00

Re: [Trinidad] not working with richfaces suggestion box

2007-08-03 Thread Matthias Wessendorf
for some reasons the renderer renders two HTML class attributes, so Trinidad renders the second as dublicate_class so, the HTML is looking like element class=foo duplicate_class=bar ... can you provide a bit more infos? like for instance, what the HTML looks like Not familiar w/ jboss

Re: [TRINIDAD] Trinidad and Seam

2007-08-03 Thread Ulath (AKA: Murat HAZER)
http://www.mail-archive.com/users@myfaces.apache.org/msg40316.html On 8/3/07, Kito D. Mann [EMAIL PROTECTED] wrote: What kind of problems did you run into? *From:* Ulath (AKA: Murat HAZER) [mailto:[EMAIL PROTECTED] *Sent:* Friday, August 03, 2007 12:32 PM *To:* MyFaces Discussion; [EMAIL

Re: [TRINIDAD] Trinidad and Seam

2007-08-03 Thread Chris Hane
They did for the next version (1.3) that has not been released yet. Although, on the Seam forums they say you can replace the RI with Myfaces if you want. I have been waiting for a GA release (or maybe one more beta) before I try it out. Chris Grant Smith wrote: Hmm.. I thought Seam

RE: [Trinidad] faces-config.xml error: Document is invalid: no grammar found.

2007-08-03 Thread Jan Linders
Did some further investigation. Shale-Tiger is validating against (so it seems) against local DTD's included in org.apache.shale.tiger.resources. DTD 1.0 and DTD 1.1 Looks like Shale-Tiger does not support the new 1.2 XSD schema yet. Probably a question for the Shale team but I'll give it a try

s:modaldialog and assigning via valuebinding

2007-08-03 Thread Michael Librodo
Hi- I just started working with jsf about a month ago. So far so good except I ran into a road block about a few days ago. I have been searching on the mailing list for some answers but I am not having any luck. I believe there was a few responses in the mailing list regarding this but I

A serious bug in MyFaces?

2007-08-03 Thread Paul Dermody
I have a project that uses MyFaces 1.2.0, Servlets API 2.5, Tiles 2.0.4, Hibernate 3.2.0, Tomcat 6. Now, I have only recently upgraded to MyFaces 1.2.0 and the new Servlep API. Recently I tried to start using immediate JSP EL expressions but I am getting an odd behaviour which I would like to

JSPX syntax delima

2007-08-03 Thread Bryan Basham
Hi all, I am using JSPX syntax for my JSF pages. I occasionally need to use raw HTML surrounded by f:verbatim tags. However, I am hitting a problem with the Jasper compiler of these verbatim tags break the start/end tags of the HTML. Here's an example: f:verbatim div class=addItemTable

RE: MyFaces AJAX commons?

2007-08-03 Thread Kito D. Mann
+10 ~~~ Kito D. Mann - Author, JavaServer Faces in Action http://www.virtua.com/ http://www.virtua.com - JSF/Java EE consulting, training, and mentoring http://www.jsfcentral.com/ http://www.JSFCentral.com - JavaServer Faces

Re: JSPX syntax delima

2007-08-03 Thread Andrew Robinson
Use Facelets instead of JSP. You will not need verbatim tags anymore with it On 8/3/07, Bryan Basham [EMAIL PROTECTED] wrote: Hi all, I am using JSPX syntax for my JSF pages. I occasionally need to use raw HTML surrounded by f:verbatim tags. However, I am hitting a problem with the Jasper

RE: [Tomahawk] facelets

2007-08-03 Thread Nebinger, David
I thought: why not putting this file facelets defn file for tomahawk right away in the meta-inf of the Tomahawk jar? Won't harm nobody but will certainly help a lot of people. Although I still subscribe to that idea, he had a point also: MF and facelets are indeed 2 different

Re: JSPX syntax delima

2007-08-03 Thread Bryan Basham
Thanks for the suggestion. I've never used facelets, so would you be willing to sketch how this chunk of code would look using that technology? Is there any other solution without using facelets? For example, is there a JSP (or Jasper) configuration that will relax the parser? Thanks, Bryan

Re: [TRINIDAD] Trinidad and Seam

2007-08-03 Thread Chris Hane
I had to tweak the frameworks so that Seam conversations and Trinidad Dialogs played together nicely. Which is a reason I haven't tried out Seam 1.3 yet - I haven't wanted to invest the time to migrate the tweaks. A description of the tweaks is documented in the Seam forum (search for

Re: [Tomahawk] facelets

2007-08-03 Thread Mike Kienenberger
Actually, as far as I know, all of the MyFaces committers are +1 for making a tomahawk.taglib.xml file for MyFaces part of the distribution. The problem is that we don't have an automated process in place to keep the file up to date yet. Hence Bruno's comment that we'll address it in Tomahawk

Re: JSPX syntax delima

2007-08-03 Thread Mike Kienenberger
It would look like this: div class=addItemTable ul class=addItem li h:commandLink action=#{globalOptionsMgr.addOption} value=LABEL / /li /ul /div [ie, what you had without any verbatim tags] I think your only other option would be to xml-escape all of

Re: [Tomahawk] facelets

2007-08-03 Thread Andrew Robinson
It would be nice to have it automated, but really, is it necessary for the short term? The taglib requires hardly any data, so is extremely easy to maintain. To keep the maven site updated already requires modifying its documents, so this is no harder. Sandbox already requires even more work to

Re: JSPX syntax delima

2007-08-03 Thread simon
On Fri, 2007-08-03 at 14:31 -0600, Bryan Basham wrote: Is there any other solution without using facelets? For example, is there a JSP (or Jasper) configuration that will relax the parser? Yep, it's called JSP (not JSPX) :-) That's the point of JSPX - that the input is valid XML. And that

Re: JSPX syntax delima

2007-08-03 Thread Andrew Robinson
Use facelets as you think it *should* look: div class=addItemTable ul class=addItem lih:commandLink action=#{globalOptionsMgr.addOption} value=LABEL //li /ul /div Since it doesn't use JSP and therefore JSP tags, there is no need for verbatim components, as all the source is JSF

Re: [AJAX] choosing an AJAX solution...

2007-08-03 Thread Andrew Robinson
* ability to skip the update phase to just check for validation/conversion errors (would be nice functionality) Trinidad has probably the most extensive set of fully client-side conversion/validation checking out there, obviating the need to post back to the server. While client side

Re: [AJAX] choosing an AJAX solution...

2007-08-03 Thread Adam Winer
On 8/3/07, Andrew Robinson [EMAIL PROTECTED] wrote: * ability to skip the update phase to just check for validation/conversion errors (would be nice functionality) Trinidad has probably the most extensive set of fully client-side conversion/validation checking out there, obviating

Re: JSPX syntax delima

2007-08-03 Thread Bryan Basham
Thanks everyone for the helpful suggestions so far. I decided to try facelets. I have walked through the setup in section 1.4 of the facelets.dev.java.net docbook. But I immediately hit the following error: [03 Aug 2007 14:09:58,648] ERROR [http-443-Processor24]

Re: [Tomahawk] facelets

2007-08-03 Thread Kem Elbrader
Not sure which method I think is better but I would definitely like there to be a standard, updated way to do this for tomahawk. I vote in that vain if it counts for anything :) Also, won't there be more involved than just the taglib.xml file, such as a Tag Handler to get the tree2 component to