Re: MyFaces el functions like 'rich:clientId'

2008-09-17 Thread Stefano Panero
the server side id of the component, then find it in the component tree, once you have the component instance use UIComponent.getClientId(facescontext) to reach the client id. On Tue, Sep 16, 2008 at 8:24 PM, Stefano Panero [EMAIL PROTECTED] wrote: Hi, with Myfaces/Tomahawk how can I do something

MyFaces el functions like 'rich:clientId'

2008-09-16 Thread Stefano Panero
Hi, with Myfaces/Tomahawk how can I do something like richfaces rich:clientId el function? This function resolve the clientId of a componet passing the id, respecting name containers: For example: h:form id=workform h:inputText id=intputText / h:outputText

Re: Problems with WAS 6.1.0.15 and MyFaces and Facelets and Trinidad

2008-06-11 Thread Stefano Panero
+ Trinidad 1.2.8 +Tomahawk 1.1.7-SNAPSHOT. Seems to be working fine. S -Original Message- From: Stefano Panero [mailto:[EMAIL PROTECTED] Sent: 11. kesäkuuta 2008 13:30 To: MyFaces Discussion Subject: Re: Problems with WAS 6.1.0.15 and MyFaces and Facelets and Trinidad Hi, could

Re: Problems with WAS 6.1.0.15 and MyFaces and Facelets and Trinidad

2008-06-11 Thread Stefano Panero
Hi, could you tell me which of those stacks does work, please? IBM WAS 6.1.0.15 Embedded JSF implementation (Which is SUN JSF 1.1_something) + Facelets 1.1.11 + Trinidad 1.0.6 + Tomahawk 1.1.7-SNAPSHOT MyFaces 1.1.5 + Facelets 1.1.11 + Trinidad 1.0.6 + Tomahawk 1.1.7-SNAPSHOT MyFaces 1.2.3 +

[Orchestra] using orchestra conversation without a db connection

2008-05-16 Thread Stefano Panero
Hi, I can't understand if it's possible and, if it is, how to use orchestra conversation without a db connection. In the documentation - installation site section there is this spring configuration file !-- 1. initialization of all orchestra modules (required for core15 module) -- import

t:outputLabel renderer class

2008-02-27 Thread Stefano Panero
Hi, I can't find the class which render outputLabel tomahawk component. I need to extend it to use the escape attribute as well as in outputText component. Anybody could help me? Which configuration/faces-config file do I have to look at? Thanks. Stefano.

Tooltip on t:selectItems

2008-01-31 Thread Stefano Panero
Hi, Is there a way to add a tooltip using t:selectItems component? I need something rendered like: option value=xxx name=tooltip Thanks, Stefano.

Select tag: impossible to disable (client side)!

2007-09-25 Thread Stefano Panero
Hi guys, Who knows how to disable a t:selectOneMenu tag with the required attribute to true by a javascript function? In my code I have a javascript function to disable a SELECT tag with lines as: document.getElementById('idSelect').disabled = true; or

Re: Select tag: impossible to disable (client side)!

2007-09-25 Thread Stefano Panero
Thanks Tobias, but how the inputText could work? Stefano. 2007/9/25, Tobias Kilian [EMAIL PROTECTED]: Hi Stefano! If you disable the control on the client, how should the server know? He assumes required=true so he expects a value from that component. Try the server side disabled

Captcha

2007-07-09 Thread Stefano Panero
Hi, how could I implement a captcha with jsf? Does anybody integrated something like jcaptcha? Thanks.

Re: Captcha

2007-07-09 Thread Stefano Panero
is the nl.captcha.servlet.CaptchaServlet get the simplecaptcha.jar from http://simplecaptcha.sourceforge.net/ That's about it! Hope that helps! On Jul 9, 2007, at 10:36 AM, Stefano Panero wrote: Hi, how could I implement a captcha with jsf? Does anybody integrated something like jcaptcha? Thanks.

change view id before render

2007-07-06 Thread Stefano Panero
Hi everybody, I'm pretty sure that the answer is already in the list... but i can't find it... sorry. I've to do something like this: 1) click on a commndButton - outcome - new page 2) *before render* new page - some beans' initialization I knew I can do this either in the constructor of

Re: change view id before render

2007-07-06 Thread Stefano Panero
Or use the one from JBoss-Seam or Shale On 7/6/07, Stefano Panero [EMAIL PROTECTED] wrote: Hi everybody, I'm pretty sure that the answer is already in the list... but i can't find it... sorry. I've to do something like this: 1) click on a commndButton - outcome - new page 2) *before

Re: change view id before render

2007-07-06 Thread Stefano Panero
. I am not sure if when a new view is created as a result of navigation, if the lifecycle component re-fires the phase listeners. On 7/6/07, Stefano Panero [EMAIL PROTECTED] wrote: Thank you, your component is really interesting. I take a look at the source and It seems to me I need just

Re: Expression language, testing size of collections

2007-06-29 Thread Stefano Panero
Thank a lot! 2007/6/28, Christopher Cudennec [EMAIL PROTECTED]: Try those URLs to begin with: [1] http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro7.html [2] http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html Stefano Panero schrieb: Hi, extendig subject... where I can

Re: Expression language, testing size of collections

2007-06-28 Thread Stefano Panero
Hi, extendig subject... where I can find documentation about EL language (operator...)? Thanks. 2007/6/28, Christopher Cudennec [EMAIL PROTECTED]: Hi David, try this EL-Expression: rendered=#{not empty yourCollectionName} Cheers, Christopher David Delbecq schrieb: Hello, i'm facing

Re: Using Label value in custom validator

2007-06-06 Thread Stefano Panero
code for this component to figure out how it's done as well. On 6/4/07, Stefano Panero [EMAIL PROTECTED] wrote: Hi everybody, I've implemented a simple custum validator public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException

Commons Validation Shale style

2007-06-06 Thread Stefano Panero
Hi, is it possible to use shale validation framework in a myfaces - tomahawk - facelets application? I can use shale tags? And shale declarative xml validation? If I can't / won't use shale, I can directly and in simple way integrate Apache Commons Validation? Is anybody doing something like

Using Label value in custom validator

2007-06-04 Thread Stefano Panero
Hi everybody, I've implemented a simple custum validator public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException { List errors = validate(value); // do some validation logic if (!errors.isEmpty()) {

panelNavigation2 and client-side collapse logic

2007-05-16 Thread Stefano Panero
Hi, I've to use something like the panelNavigation2 component, but I need that all the collapsing logic resides in the client. Now, I think, when you click on link which have to be expanded the request is always sent to the server and it's same when a node have to be collapsed. Tree2