Re: Reference to documentation for implementing functions to be used in EL

2008-09-05 Thread Gary VanMatre
-- Original message -- From: Jacob Mathew [EMAIL PROTECTED] I'm looking for documentation on implementing functions that can be used in EL in jsf pages. Maybe I'm missing something, but the best info I can find is that the a FunctionMapper object is used to

Re: [Trinidad] [Proposal] Tree Expand All handling

2008-08-21 Thread Gary VanMatre
+1 Sounds like a solid plan that could result in a significant performance boost Gary -- Original message -- From: Kamran Kashanian [EMAIL PROTECTED] There is some code in the Trinidad UIXTree which is intended to prevent the user from doing an unbounded Expand

Re: Partial submit is not working on Weblogic 10

2008-08-12 Thread Gary VanMatre
] https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=507 thx, Matthias Gary On Mon, Aug 11, 2008 at 10:50 PM, Gary VanMatre [EMAIL PROTECTED] wrote: -- Original message -- From: Matthias Wessendorf [EMAIL PROTECTED] On Mon, Sep 17, 2007

Re: Partial submit is not working on Weblogic 10

2008-08-11 Thread Gary VanMatre
-- Original message -- From: Matthias Wessendorf [EMAIL PROTECTED] On Mon, Sep 17, 2007 at 2:35 PM, mjdenham [EMAIL PROTECTED] wrote: I worked out that you need to enable the jstl 1.2 shared library in Weblogic 10 as it is not enabled by default. Now I

Re: v:commonsValidator maxlength

2008-08-07 Thread Gary VanMatre
-- Original message -- From: PutoDemonio [EMAIL PROTECTED] I'm searching info about how to use v:commonsValidator, something more than check a required field or an email, but I don't find anything. Where can I find something like documentation, and not just

RE: [Trinidad] polling problem with dialogs

2008-06-06 Thread Gary VanMatre
You might try bumping up the token cache. context-param param-nameorg.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS/param-name param-value500/param-value /context-param Gary -- Original message -- From: Perkins, Nate-P63196 [EMAIL

Re: Can a JSF page be in database?

2008-04-11 Thread Gary VanMatre
From: Dave [EMAIL PROTECTED] The servlet container should have a PageLocator layer that makes JSP page location transparent to upper layer, so that JSP can be in filesystem, database or internet. The an issue here is that it breaks the deployment model for an enterprise application.

Re: Is it possible for JSF h:commandButton to execute MethodBinding and JavaScript

2008-01-25 Thread Gary VanMatre
You might give shale remoting a look[1]. I have not tried to use it with Trinidad but all I think you would need is the shale-core and shale-remoting jars. [1] http://shale.apache.org/shale-remoting/index.html Gary -- Original message -- From: bansi [EMAIL PROTECTED]

Re: [Trnidad] Is there a way to use Trinidad API to load Resources for our Custom Components?

2008-01-23 Thread Gary VanMatre
From: Samba [EMAIL PROTECTED] Hi all, I'm building a couple of custom components based on trinidad core, more like adding some enhancements... I would like to know if Trinidad expose any API to be used by Coustom components to load our own JavaScript, CSS , and Images. You can plug

Re: [Trnidad] Is there a way to use Trinidad API to load Resources for our Custom Components?

2008-01-23 Thread Gary VanMatre
From: Andrew Robinson [EMAIL PROTECTED] Looks like something dying to be in the WIKI Gary :) Not a bad idea. I'll see what I can do. -Andrew Gary On Jan 23, 2008 10:28 AM, Gary VanMatre [EMAIL PROTECTED] wrote: From: Samba [EMAIL PROTECTED] Hi all, I'm building a couple of custom

Re: [Trinidad] Pure HTML Component

2007-10-12 Thread Gary VanMatre
From: Michael Borchert [EMAIL PROTECTED] Hi, I have the problem, that I have a web service call that renders pure HTML an gives the page back as HTML. How can I open a dialog, that contains pure HTML. I tried outputDocument but this interprets the HTML code. I want to avoid writing a

Re: [Trinidad] Dynamic content in a popup?

2007-10-11 Thread Gary VanMatre
From: Dave Syer [EMAIL PROTECTED] Thanks. I checked out the demo of the dialog framework. I actually don't want a dialog - they drive users potty. I want to use the tr:popupPanel (or similar mechanism with floating div). Is there any way to do that? Rich ADF Faces has support for these

Re: Custom UIViewRoot

2007-09-18 Thread Gary VanMatre
From: Manfred K. [EMAIL PROTECTED] Hi Gary, thank you very much for your great answer. I already tried to access the rendered HTML content in a custom ViewHandler. In a similar way as the ClayViewHandler does it and the recursiveRender method was exactly what I was looking for.

Re: Custom UIViewRoot

2007-09-17 Thread Gary VanMatre
From: Manfred K. [EMAIL PROTECTED] Hi Martin, thanks for your reply. I get the correct instance of my custom UIViewRoot, but the encodeBegin and encodeEnd methods never get called. I need a place, where I can access the ResponseWriter to replace it with a StringWriter

Re: [Trinidad] ppr: partialTriggers doesn't work if there are validation messages?

2007-08-28 Thread Gary VanMatre
From: Andrew Robinson [EMAIL PROTECTED] It is a simple case of showing the effects of the failed validation. Take the following use case as an example: User clicks on a register button to create a user account for a web site. The user enters a username that is already in use and hits

Re: [Trinidad] Integration with Tiles

2007-08-16 Thread Gary VanMatre
From: Edward Dowgiallo [EMAIL PROTECTED] Pdt, I'm not sure what you mean in the alternate handler part of the message. Would you post an example of what the web.xml should look like? I suspect that tomahawk tiles will need some refactoring to work with JSF 1.2. At least Shale Tiles has

Re: [JSF] Custom component - commandLink

2007-08-09 Thread Gary VanMatre
It sounds like you need to add the nested component to the component tree. Try something like this: HtmlCommandButton b = (HtmlCommandButton) this.getChildren().get(0); if (b == null) { HtmlCommandButton b = (HtmlCommandButton) context.getApplication().createComponent

Re: Custom error handler and ajax requests (a4j)

2007-08-02 Thread Gary VanMatre
From: [EMAIL PROTECTED] Anybody? : Are you using Shale ViewController [1]? If so, try the nightly. [1] https://issues.apache.org/struts/browse/SHALE-409 -- Regards Pawe³ Czerwiñski [EMAIL PROTECTED] wrote on 2007-07-31 14:38:59: Hi, I made my own error handler (works like the

Re: Testing JSF 1.2 Managed Beans vs. JSF 1.1

2007-07-18 Thread Gary VanMatre
From: mraible [EMAIL PROTECTED] I had the following BasePageTestCase class that I've been using to test my JSF 1.1 pages. Unfortunately, after upgrading to JSF 1.2, it no longer works. Here's the stack trace: Sorta looks like there is not a mock implementation for the JspFactory. Just

Re: [Trinidad] Renderer Listeners

2007-07-18 Thread Gary VanMatre
From: Simon Lessard [EMAIL PROTECTED] Yes, that would be awesome. I actually made a wrapper component doing just that in a project. JSF 1.2 also allows that on f:view which is better than nothing, but support on most component would be more useful and interesting to trap evil components not

Re: [Trinidad] Renderer Listeners

2007-07-18 Thread Gary VanMatre
From: Adam Winer [EMAIL PROTECTED] I'd like to see this as a javax.faces.component.UIComponent feature, not anything specific to one library. +1 That would be the place for it (JSF 2.0) -- Adam On 7/18/07, Gary VanMatre wrote: From: Simon Lessard Yes, that would

Re: [Trinidad] PPR duplicating transient components

2007-07-06 Thread Gary VanMatre
From: noah [EMAIL PROTECTED] Thought I'd post this before creating a JIRA issue, in case I've overlooked something. I just now produced this with 1.2.1 but I think I've seen it in 1.0.x before. In the following page, clicking the link correctly updates 'Foo=' to 'Foo=1' but it renders

Re: [Trinidad] PPR duplicating transient components

2007-07-06 Thread Gary VanMatre
From: noah [EMAIL PROTECTED] On 7/6/07, Gary VanMatre wrote: From: noah Thought I'd post this before creating a JIRA issue, in case I've overlooked something. I just now produced this with 1.2.1 but I think I've seen it in 1.0.x before. In the following page

Re: [Trinidad] PPR duplicating transient components

2007-07-06 Thread Gary VanMatre
From: noah [EMAIL PROTECTED] On 7/6/07, Gary VanMatre wrote: From: noah On 7/6/07, Gary VanMatre wrote: From: noah Thought I'd post this before creating a JIRA issue, in case I've overlooked something. I just now produced this with 1.2.1 but I think

Re: Commons Validation Shale style

2007-06-06 Thread Gary VanMatre
From: Stefano Panero [EMAIL PROTECTED] Hi, is it possible to use shale validation framework in a myfaces - tomahawk - facelets application? One thing to beware of when you create the facelets definition for this validator is that the tag attributes don't match the component attributes [1].

Re: Qeestion about jsf

2007-06-04 Thread Gary VanMatre
From: [EMAIL PROTECTED] Hi, I have a question about the JSF mechanism used to set a component: If I have to jars both defining: component component-typejavax.faces.ViewRoot/component-type component-classxxx.myClassXXX/component-class /component Witch is the component type used for

Re: Make changes on component using ViewHandler

2007-05-25 Thread Gary VanMatre
From: Pich [EMAIL PROTECTED] Hi, I declared a viewhandler that goes through all components and childrens components checking for the attribute permission, which is set on some using f:attribute. If it is found I do some stuff finding out if this component should be rendered. If no,

Re: How to include a subview more than once

2007-05-23 Thread Gary VanMatre
From: Helmut Swaczinna [EMAIL PROTECTED] Hi, I want to include the same subview more than once in my page but I get a error message saying the id of the subview is not unique. This is correct. But how can I make the ids of the subview unique? Is it possible to pass the subview id as

Re: Started using Myfaces 1.1.5 and every page is broken (duplicate ID in the faces tree Component)

2007-05-23 Thread Gary VanMatre
From: Andrew Robinson [EMAIL PROTECTED] Could you post some of the XHTML code? Also the full error from the duplicate component ID may be helpful. That component path should directly indicate which component is getting the error (it is in a dataTable, and doesn't have an ID assigned to

Re: Philosophy of JSF

2007-05-18 Thread Gary VanMatre
From: Ted Husted [EMAIL PROTECTED] On 5/17/07, lightbulb432 wrote: How do alternatives to JSF like Struts, Struts2, and others handle the concept of view state? For the most part, they don't have the concept of View State. If a control uses data that is not in the post, and the page

RE: [Announcement] MyFaces 1.2 - 100%

2007-05-11 Thread Gary VanMatre
Not doubt, congratulations! That is a huge accomplishment given that it was home-grown - not donated by a commercial vendor. Gary From: Jesse Alexander (KSFD 121) [EMAIL PROTECTED] Congrats Finally another player in the JSF 1.2 arena Alexander -Original Message- From:

Re: inputSuggestAjax - no backing-bean method called

2007-05-03 Thread Gary VanMatre
Got it. Actually, my Renderer gots wrapped - the Wrapper itself however does not implement AjaxRenderer (renderere instanceof AjaxRenderer), so the Ajax Request is stopped silently - no warning or error message. Ahh, good catch. That wrapper renderer has to do with shales validator. If it's

RE: unable to turn off log messages...

2007-05-01 Thread Gary VanMatre
From: Joost Schouten [EMAIL PROTECTED] Hi, I see that your logging output format does *not* contain the category string. Add [%c] to get this displayed. If I'm not mistaken, Category %C has been replaced by Logger %l (see [1]). [2] shows you a line from my log file. So the Logger

Re: panelNavigation2 did not refresh if t:navigationMenuItems changed

2007-04-21 Thread Gary VanMatre
From: Dave [EMAIL PROTECTED] t:panelNavigation2 ... t:navigationMenuItems value=#{bean.menuItems} /t:panelNavigation2 If bean.menuItems value changes, the panelNavigation2 will not read the changes. How to make panelNavigation2 react to the changes? I'd try using the action attribute on

Re: Modifying a JSf application to load pages from a database by default

2007-04-18 Thread Gary VanMatre
From: Eugine F [EMAIL PROTECTED] Hello experts, I have asked this question before but may be not properly. I am designing a JSF application. I would like that the views to be rendered should be taken by default from a data base. As far as I know the viewhandler is responsible for the

Re: Exception handling in JSF

2007-04-17 Thread Gary VanMatre
From: Mike Quilleash [EMAIL PROTECTED] Hi all, I am trying to come up with a way to catch all exceptions that occur during the JSF lifecycle. When this happens I want to display a debug page with useful info; stack trace, current view, component tree, session state etc. I'm having trouble

RE: Re: New to MyFaces

2007-04-06 Thread Gary VanMatre
From: Iordanov, Borislav (GIC) [EMAIL PROTECTED] I think the existence of facelets, the motivation behind it, show JSF's failure to deliver on its promise (after so many years!). I haven't looked into Facelets, not that I'm afraid to learn some new view technology. I just don't want to

RE: Re: New to MyFaces

2007-04-06 Thread Gary VanMatre
options and showing what works and what doesn’t, and it does with a lot of mistakes. Well, you can make a difference if you have the answers. After all, this is open source and these decisions are not made in a vacuum. Gary From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Friday, April

Re: New to MyFaces

2007-04-05 Thread Gary VanMatre
From: Scott O'Bryan [EMAIL PROTECTED] Facelets are cool. :) Ba Humbug. Shale Clay is for Java developers :-) Iordanov, Borislav (GIC) wrote: I’m not sure what “statistics” you are looking for. I haven’t done an industry analysis. But in general, JSF is heavyweight machinery

Re: Possible bug in t:inputHidden tag/component?

2007-03-27 Thread Gary VanMatre
From: Christian Kaltepoth [EMAIL PROTECTED] Hi Eivind, Suddenly all my commandLinks and commandButtons didn't work anymore, I could press them and the form would submit (causing a reload of the page), but no actions would be fired, and the updateActionListeners stopped working as

Re: Custom ViewHandlers

2007-03-27 Thread Gary VanMatre
From: Jörn Zaefferer [EMAIL PROTECTED] Isn't the delegation supposed to allow registering of more then one view handler? Yes, but you can not control the order they are registered. You might have a scenario where your view handler is registered before a greedy view handler that wants the

Re: Custom ViewHandlers

2007-03-26 Thread Gary VanMatre
From: Simon Kitching [EMAIL PROTECTED] Brad Smith wrote: I was wondering how a custom ViewHandler is managed in MyFaces. A custom view handler seems to be an elegant solution to a problem I am dealing with, yet I will also be using Facelets. Facelets uses a decorator pattern in

Re: How to make Reusable JSP

2007-02-21 Thread Gary VanMatre
From: [EMAIL PROTECTED] Hi All, A) I have a common address JSP which i want to use it in several other Jsps. Having the content below and i want to set this address value in a common AddressVO object(POJO). h:outputText value=Enter the address / h:inputText id=add1

Re: How do I pass row data from a data table to a pop up

2007-02-12 Thread Gary VanMatre
From: Sam_arb [EMAIL PROTECTED] Hi, I want to pass a row data from a data table to be displayed in a pop up. The var property is local only to the data table tag. So how can I pass the row data where it is referenced using var to a pop up? Your suggestions and help are greatly

RE: Tomahawk + Facelets + Shale

2007-01-26 Thread Gary VanMatre
From: Reynolds, James [EMAIL PROTECTED] Solved - except I have one more issue. I incorrectly assumed that I had to update the path to the component as it exists in the tomahawk jar. Changing it back to the specifications in the wiki, plus adding the proper renderer-type (that was

Re: Trinidad and Weblogic 8.1 SP5: EXCEPTION_ACCESS_VIOLATION

2007-01-23 Thread Gary VanMatre
From: Christopher Cudennec [EMAIL PROTECTED] Hi, I also have difficulties running the latest demo.war - although they are different from yours. See the trinidad mailing list. Trinidad takes advantage of the JDK 1.5 API. It is hard to believe this stuff is a couple years old.

Re: Trinidad and Weblogic 8.1 SP5: EXCEPTION_ACCESS_VIOLATION

2007-01-23 Thread Gary VanMatre
From: Matthias Wessendorf [EMAIL PROTECTED] Gary, there has been an overhaul :) Ah, the chrome, headers and super charger was added in the incubator? -M On 1/23/07, Gary VanMatre wrote: From: Christopher Cudennec Hi, I also have difficulties running

Re: AW: Access to param

2007-01-19 Thread Gary VanMatre
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 event) { FacesContext context =

Re: action listener is not executed

2007-01-19 Thread Gary VanMatre
From: [EMAIL PROTECTED] [EMAIL PROTECTED] The action listener is not executed. What could be the reason? I already made an action in overview.jsp I get the url http://localhost:8080/troedel3/overview.jsf; jsessionid=C53F2E019B32424FC35F7682D18F2C46 category.jsp content will be

Re: Problem with immediate=true button

2006-12-28 Thread Gary VanMatre
From: Adrian Mitev [EMAIL PROTECTED] Yes. I've done it thisway already but it seems hack to me. You might also try adding a navigation rule back to the same view that matches your action's outcome. If the navigation handler find a matching rule, it will recreate the view versus restoring the

Re: t:document tags and xhtml

2006-12-19 Thread Gary VanMatre
Good morning Mario - I tried to create an issue, but Jira is not working correctly as it throws a javascript error in firefox. 'id' is not a required attribute of body, but it can be very handy at times for use with css styles. So it would be nice that when it is in the t:documentbody tag it is

Re: t:document tags and xhtml

2006-12-18 Thread Gary VanMatre
I have seen recommendations on the myfaces wiki that performance of JSF can be improved if t:document tags are used. Will these tags produce valid and well formed xhtml? Or can they be configured to do so? The documentation seems sparse. I think this component has a couple hidden purposes.

Re: t:document tags and xhtml

2006-12-18 Thread Gary VanMatre
Hi Mario I did not experience problems but I also did not get what I am looking for. Specifically, I would like the following basic outline in a web page: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html

Re: panelNavigation2 collapses on a new page

2006-12-15 Thread Gary VanMatre
From: Bharath Belagodu [EMAIL PROTECTED] In trying to get panelNavigation2 as a menu option, I’m facing this issue of not able to retain the component’s active/selected view when opening a link from the menu onto a new page. I’m using facelets, tomahawk 1.1.3 and myfaces. If the menu looks

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

2006-12-03 Thread Gary VanMatre
From: Simon Kitching [EMAIL PROTECTED] 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 one

Re: commandLink - action not invoked when actionListener is a child of it, which gets called - however the action is ignored

2006-11-12 Thread Gary VanMatre
Using a commandLink with an action and an action listener does notinvoke the action, neither the page is redisplayed correct.h:commandLink action="" f:actionListener type="my.class"/h:commandLinkMy action listener is called and does its job.But the action from the commandLink isn't - but it

Re: Corporate Open Source Strategy

2006-10-04 Thread Gary VanMatre
From: "Ryan Wynn" [EMAIL PROTECTED] Trying to get approval for a myfaces-shale stack in a corporate environment and facing the question of what is the strategy for fixing a production showstopper in the open source code. Anyone have any recommendations on this topic? Or any links regarding

Re: Configurable views via XML File

2006-09-25 Thread Gary VanMatre
From: "Mosimann Matthias" [EMAIL PROTECTED] Hy Everyone I experimented a little bit with JSF with Kito Mann's book "Java Server Faces in Action". Now I'm wonder if it is possible to make a JSP(View) configurable with a simple XML File. So you will be able to disable and enable some elements

Re: managed-beans, spring references, and serializable

2006-09-25 Thread Gary VanMatre
From: Ingo Düppe [EMAIL PROTECTED] Hi, I have a conceptional question. Within my application I define a managed-bean "registrationController" that gets a reference to a spring bean "registrationService" by the jsf property injection. The spring bean is stateless and is not serializable, so

Re: setTransient()

2006-09-19 Thread Gary VanMatre
From: "Pfau, Oliver" [EMAIL PROTECTED] Hi, what is the method setTransient(boolean) from UIComponent good for ? When you set a components transient property to true, the component will not be serialized to the saved state of the view. This also means that if you are using client side state

Re: Custom component, loses attribute value?

2006-08-18 Thread Gary VanMatre
From: "Robert Campbell" [EMAIL PROTECTED] Hello,I have a custom component - a class extending UIComponentTag, a class extending UIComponentBase, and a class extending Renderer. The entire control works as it should, that is until I hit refresh. Upon a refresh, my UIComponentBase class getter

RE: More than one org.apache.myfaces.ADD_RESOURCE_CLASS ?

2006-08-18 Thread Gary VanMatre
From: "Jaya Saluja" [EMAIL PROTECTED] Hi, I am trying to add messages to my application. How to I do that in JSF? Eg: If I delete a user I would like to have a message on my jsf page which says “User deleted” Add a "global" messages component to your view. h:messages globalOnly="true"/

RE: Shale Validation Framework Issue.

2006-07-07 Thread Gary VanMatre
The commons validator was upgradedfor1.3 support. The method for registering a new validation rule has changed. The original ticket: http://issues.apache.org/struts/browse/SHALE-36 There is a bit of java doc on this here:

Re: Tomahawk Maven2 oddity: 1.1.3 requires Shale and Struts1.2.8. Why?

2006-06-29 Thread Gary VanMatre
From: "David Friedman" [EMAIL PROTECTED] I just added Tomahawk 1.1.3 to my Maven2 build with: dependency groupIdorg.apache.myfaces.tomahawk/groupId artifactIdtomahawk/artifactId version1.1.3/version/dependency And it suddenly added Struts-1.2.8 to my .war file. The tomahawk-1.1.3.pom file

Re: Alternative ways for component creation

2006-06-19 Thread Gary VanMatre
I agree that facelets can be used. But I have created simple util methods that use clay api to load a component or a sub tree. I cannot plug this into Myfaces implementation as createComponentInstance is private. It can be plugged into sun implementation. Clay as it is adds a clay component to

Re: Mixing plain HTML and JSF-Tags

2006-05-21 Thread Gary VanMatre
From: Chrisi [EMAIL PROTECTED] Hi Gerald, you wrote:It`s not best practice to have jsf corresponding tags and plain html on the same page ... Sure, it would be nice to have jsf pages without plain html. But in reallity this wouldn't happen: In 90% of the projects I know, HTML is

Re: WebLogic 8.1

2006-05-12 Thread Gary VanMatre
From: Quintin Kerby [EMAIL PROTECTED] I developed a webapp using MyFaces, Spring, and Hibernate which runs beautifully on Tomcat 5.5 and JDK 1.5. I now have to deploy to WebLogic which uses JDK 1.4.2. I had to take the following steps to get where I am (which is still not very far). 1) Downgrade

Re: There is a string com.sun.faces.saveStateFieldMarker on my screen, even though my managed bean implements Serializable?

2006-05-09 Thread Gary VanMatre
From: "Todd Patrick" [EMAIL PROTECTED] There is a string "com.sun.faces.saveStateFieldMarker" on my screen, even though my managed bean implements Serializable? In my web.xml, I do have the context: context-param param-namejavax.faces.STATE_SAVING_METHOD/param-name

RE: There is a string com.sun.faces.saveStateFieldMarker on my screen, even though my managed bean implements Serializable?

2006-05-09 Thread Gary VanMatre
runtimes. I've seen this with WAS 6 and I just had to delete the RI jars for the servers lib folder. Gary Thanks, --Todd ____ From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Tue 5/9/2006 4:55 PM To: MyFaces Discussion Subject: R

Re: Unit tests

2006-05-05 Thread Gary VanMatre
From: Axel Karst [EMAIL PROTECTED] Hi, I'm also searching for an possibility to unit test my JSF Component, which implements UIInput. I'm using MyFaces and Facelets. As far as I understood, Cactus does not directly support JSF in container testing. Shale Test FW (using Mock Objects) can

Re: [shale] Shale Clay symbol problems

2006-04-22 Thread Gary VanMatre
Hi,I try to use Shale Clay and to build reusable components. One simple component for example could be an input box.But I have problems with passing parameters from one Clay component to another. I did the following definition in a clay-config.xml File: view component jsfid="coBaseLabel"

RE: Constructing Datatable with Columns Having Foreign Key references

2006-04-20 Thread Gary VanMatre
strips out the '/' chars making them '$' chars andremoves the suffix ".jsp". TR From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 5:51 PMTo: MyFaces DiscussionSubject: RE: Constructing Datatable with Columns Having Foreign Key references How about something

Re: Faces Trace

2006-04-19 Thread Gary VanMatre
From: "Adam Winer" [EMAIL PROTECTED] On 4/19/06, Hubert Rabago <[EMAIL PROTECTED]>wrote: Sure there are problems. -Original Message-From: Adam Winer [mailto:[EMAIL PROTECTED] The Shale incorporation of commons-validator is not a goodrole model... First off, you

Re: Faces Trace

2006-04-19 Thread Gary VanMatre
From: "Hubert Rabago" [EMAIL PROTECTED] On 4/19/06, Gary VanMatre <[EMAIL PROTECTED]>wrote:It'd be OK to have a convenience tag - like - forusing a new custom commons-validator, without any attributes at allother than "type". There's no good reason to

Re: Custom validation message

2006-04-19 Thread Gary VanMatre
From: "Alexandre Poitras" [EMAIL PROTECTED] Cool but my problem is there are two messages (detailled and summary) and I want to support runtime parameters. So I was thinking of adding children UIParam components but I don't know how I would specify to which message a parameters belong. You

RE: Constructing Datatable with Columns Having Foreign Key references

2006-04-19 Thread Gary VanMatre
You might give the dataList component a look. The rowIndexVar will give you the current row (http://myfaces.apache.org/tomahawk/dataList.html). t:dataList id="data1" styleClass="standardList" var="country" value="#{countryList.countries}" layout="simple" rowCountVar="rowCount"

RE: Constructing Datatable with Columns Having Foreign Key references

2006-04-19 Thread Gary VanMatre
s used for the datatable, and another used by the particular column. I could then synchronize those lists myself,andwrite some spaghetti to increment a counter every time I grab the data for the particular multi-row column. However, that is a pretty ugly way of handling this, andI'm hoping there is

RE: Converter with parameters

2006-04-18 Thread Gary VanMatre
From: "Lindholm, Greg" [EMAIL PROTECTED] Hello Massimiliano, You need you write a custom tag, you can't do it with the f:converter tag. You could also bind the target component to a managed bean and manually register a converter. Then you could use transparent attributes on the component to

Re: Converter with parameters

2006-04-18 Thread Gary VanMatre
From: "Matthias Wessendorf" [EMAIL PROTECTED] MyConverter converter = new MyConverter(); converter.setCustom((String) idCmp.getAttributes("custom")); idCmp.setConverter(converter); getAttributes().get("custom"); Oh yeah, that's the ticket. Thanks Matthias. ;-) -Matthias

Re: Convertes for components in h:dataTable

2006-04-06 Thread Gary VanMatre
From: "Konstantin Shaposhnikov" [EMAIL PROTECTED] Hello, I am developing web application using facelets and have problem, that I do not the best way to solve. Consider following example: I have managed bean registered under name "locales" of following class: Locales { Locale[]

Re: tag to truncate outputText?

2006-04-06 Thread Gary VanMatre
From: "Lindholm, Greg" [EMAIL PROTECTED] Is there a way to truncate outputText and specify the size you want from a jsp page? I have an object with a long description property. When it's listed in a dataTable I want to truncate the description column to X characters. Where X can be

Re: JSF and Tiles

2006-03-24 Thread Gary VanMatre
From: "Murat Hazer" [EMAIL PROTECTED] Hi,Is there a good tutorial introduces tiles and usage of it with JSF, or is there any other good templating framework for JSF? A couple alternatives to JSP that have rich composition options are Clay and Facelets:

Re: how to detect in the backing bean (the shale viewcontroller) that the user navigates to another page?

2006-03-10 Thread Gary VanMatre
From: Costa Basil [EMAIL PROTECTED] I use shale and I was wondering if there is there an easy way to know in a backing bean on the postback that the user actually pressed a commandLink that navigates to another page than the one the backing bean is for. I want to avoid unecessary database

Re: how to detect in the backing bean (the shale viewcontroller) that the user navigates to another page?

2006-03-10 Thread Gary VanMatre
From: Costa Basil [EMAIL PROTECTED] Yes, I think your approach is good. But unfortunatelly, if I do this the table row events (the clicks on commandLink links stored in the table) are not fired because the table is not populated at that time (apply request values) and in the end I have to use

Re: Running MyFaces on WebSphere 6.0

2006-02-27 Thread Gary VanMatre
ing jars like ws-jsf solved the problem.Cagatay, On 2/27/06, Gary VanMatre [EMAIL PROTECTED] wrote: In WAS 6, the JSF runtime is packaged in with the server. In the WAS_INSTALL_ROOT\lib you will find jsf-api.jar and ws-jsf.jar. It looks like the ws-jsf.jar is a mix of the RI and the IBM JSF r

Re: setting value of attributes like binding, value, validator, converter, and required in java

2006-02-27 Thread Gary VanMatre
Clay makes easy work of reusing a view fragment with what it calls symbols. Symbols are a substitution layer before the EL becomes a binding object (http://struts.apache.org/struts-shale/features-reusable-views.html). For example: span jsfid=/widgets.html label=submit bean=mybean action="">

Re: MYFACES-703 (Have to manually specify renderer type for ExtendedDataTable)

2006-02-25 Thread Gary VanMatre
From: "Enrique Medina" [EMAIL PROTECTED] http://issues.apache.org/jira/browse/MYFACES-703To my surprise, it seems this bug was ignored. I don't know exactly why, but if you let me say it, you should be careful with this type of things. It's highly dissapointing to upgrade to one new version and

RE: [JSF] Tiles and Reusable Template

2006-02-24 Thread Gary VanMatre
From: "Garner, Shawn" [EMAIL PROTECTED] Alright, I looked at the symbols example in the usecases example. Thing I don't like about usecases is it tries to show ever feature and its hard for me to tell one feature from another. Even with the clay example there are 4 different options displayed

Re: [JSF] Tiles and Reusable Template

2006-02-24 Thread Gary VanMatre
From: "Mike Kienenberger" [EMAIL PROTECTED] In my opinion, you're better off using facelets. Facelets appears to be more widely-accepted than Clay. For instance, Oracle ADF Faces supports facelets out of the box. Jenia4Faces supports facelets. Exadel supports facelets. I don't think any of

RE: [JSF] Tiles and Reusable Template

2006-02-24 Thread Gary VanMatre
No, that's the facelets composition mechanism. Using Clay, you would need a separate HTML template for the body. clay:clay jsfid="/layout.html" id="layout" clay:symbol name="title" value="Welcome to the Add User Page"/ clay:symbol name="header" value="/header.html"/ clay:symbol

Re: WAS 6.0.2.7 RSA 6.0.11 myfaces

2006-02-22 Thread Gary VanMatre
From: "sia far" [EMAIL PROTECTED] Hello All: I have been trying to run sample applications for myfaces in Rational Software Architect using Websphere 6.0.2.7. I get the following message in most of the pages I run: "com.sun.faces.saveStateFieldMarker" which makes the page useless as

Re: Shale Clay vs. Facelets templating

2006-02-22 Thread Gary VanMatre
From: Laurie Harper [EMAIL PROTECTED] Yee CN wrote: I am in the middle of migrating to facelets and at the same time planning for Shale. It seems to me that Shale Clay and Facelets templating overlaps to a large degree. Is there any guideline on whether the two should/can coexist and

Re: Shale Clay vs. Facelets templating

2006-02-22 Thread Gary VanMatre
From: Laurie Harper [EMAIL PROTECTED] Yee CN wrote: I am in the middle of migrating to facelets and at the same time planning for Shale. It seems to me that Shale Clay and Facelets templating overlaps to a large degree. Is there any guideline on whether the two should/can coexist and

Re: another commandLink problem

2006-01-17 Thread Gary VanMatre
From: "Garner, Shawn" [EMAIL PROTECTED] I've noticed my commandLinks don't go to the page the first time. It seems to reload the page and then if I click on it again it goes to the next view. This is common behavior in MyFaces when you use the brower back button to a dirty page and repost

RE: another commandLink problem

2006-01-17 Thread Gary VanMatre
From: "Garner, Shawn" [EMAIL PROTECTED] I tried client and now it blows up on every link on pages that use to work. I don't use the back button. I just use the same url from a new browser window after I restart the server. What does the exception say? Shawn Gary

RE: another commandLink problem

2006-01-17 Thread Gary VanMatre
That's weird. Itlooks like your page doesn't have a view root defined. Do you have the f:view /f:viewtag in your jsp? -- Original message -- From: "Garner, Shawn" [EMAIL PROTECTED] I don't think it's meaningful: javax.faces.FacesException: Unhandled exception thrown

RE: another commandLink problem

2006-01-17 Thread Gary VanMatre
Sorry, I was off a few lines. What is your faces servlet mapping? Is it mapped to *.faces. I'mguessing that that view handler thinks this is an external mapping that's why it's doing the dispatchversus swapping out the view. Are you using /context07/personal.jsp from your browser or

RE: another commandLink problem

2006-01-17 Thread Gary VanMatre
From the stack it doesn't look like your are using Shale or Clay so you can remove all but the *.faces mapping.I don'tthink that's yourproblem. I can't see what is going on here. I'm afraid that I'm just giving you bad information. Gary -- Original message -- From:

Re: JSF 1.2 support/plans

2006-01-13 Thread Gary VanMatre
From: "Balunas, Jay" [EMAIL PROTECTED] Hello all, I have been lurking for some time, and have been investigating JSF for a new project at my company. Please forgive me is this has come up already - I did search through several pages of archives and could not find a reference to 1.2 support

Re: MyFaces + Shale + Facelets

2006-01-11 Thread Gary VanMatre
From: Julián García [EMAIL PROTECTED] Hi, I am using Hibernate + Spring + Myfaces. It's been working but I think that I am writing a LOT of code in the view layer. I have a small custom validation framework of my own, and my own init mechanisms in my beans. I use tiles. I'd like to do

  1   2   >