Re: New Apache MyFaces Sandbox component (CAPTCHA)

2008-03-04 Thread Gerald Müllan
Hi, and here is the component in action (only valid for today): http://example.irian.at/example-sandbox-20080304/home.jsf cheers, Gerald On Mon, Mar 3, 2008 at 6:34 PM, Matthias Wessendorf [EMAIL PROTECTED] wrote: Hi, On Mon, Mar 3, 2008 at 6:18 PM, Hazem Saleh [EMAIL PROTECTED] wrote

Force id on a panelTab...eventually to make it disabled

2008-03-04 Thread Janap
Hello all, I could not find a solution to disable tabs dynamically after reading the old posts. I use the TabbedPane component. So , I did it manually using js..document.getElementById(form1:tab1_headerCell).disabled = true; which works like a charm. But I would like to use direct id's so that

Re: [Trinidad] subform defaultCommand

2008-03-04 Thread Martin Marinschek
Hi Matthias, it would certainly make sense, but the way the defaultCommand currently works, it exchanges the onkeypress-handler of the form. In the case of subforms, there is no HTML-element for which the default-command can be registered. regards, Martin On 3/3/08, Mathias Walter [EMAIL

Re: Doubt about ADF Faces Trinidad

2008-03-04 Thread Martin Marinschek
Yeah, it took a while to get Trinidad out of incubation, but I think that good stuff needs time to mature. The Apache folks take good care that no rubbish appears on their website and that all projects are with a healthy community driving them. Frankly - I am quite thankful for this. *

Re: Checkbox and required=true

2008-03-04 Thread Martin Marinschek
Hi Michael, you are on the right track - the required==true flag will not help in the case of the checkbox, as for checkboxes, JSF will _always_ set a value (either true or false, due to the problems you mentioned above - there is no way to distinguish between false and value not set at all...).

Re: Doubt about ADF Faces Trinidad

2008-03-04 Thread Matthias Wessendorf
* Oracle employees still do most of the work but you have seen a flow of commits/patches coming in from other yes; that happens, right! We recently voted in another commiter (outside of Oracle) people as well, if not, we should not have moved Trinidad out of the incubator. I doubt

Re: tiles vs facelets

2008-03-04 Thread Martin Marinschek
Hi, there are no additional features in Facelets for templating - Facelets also offers dynamic, template-based components, however. regards, Martin On 2/25/08, aaa java [EMAIL PROTECTED] wrote: Hi I developed a sample application using JSF and tiles. Now I want to implement the same using

Re: MyFaces @PostConstruct and DI issue

2008-03-04 Thread Martin Marinschek
Hi Curtiss, I don't think Bernhard ever got around to commit something which works based on the discussion he had with Paul. Do you have a patch which takes this into consideration? @Bernhard: please, if you can spare a few hours, it would be great if you could close this out... regards,

AW: Why is the styleClass Property always overridden?

2008-03-04 Thread thomas.asel
Hi Simon, thanks for your reply Well, I also tried the contentStyle attribute but again the only class that shows up in the vlass Attribute of the rendered input tag is 'af_inputText_content'. So it seems to me that the trinidad renderer overwrites what ever is ment to show up in the class

Re: SERIALIZE_IN_SESSION with Sun Mojarra?

2008-03-04 Thread Martin Marinschek
Hi Simon, I think I remember from discussions before (haven't checked the source) that no, it doesn't serialize. regards, Martin On 2/22/08, Simon Kitching [EMAIL PROTECTED] wrote: Hi, Myfaces Core property SERIALIZE_IN_SESSION is true by default, meaning that when using server-side state

Re: Why is the styleClass Property always overridden?

2008-03-04 Thread Simon Lessard
Hello Thomas, contentStyle add direct CSS style, it's the inlineStyle equivalent applied to the content area. As for your use case, here's what you should be able to do: In the skin: af|inputText:error af|inputText::content { border-color: red; border-style: solid; border-width: 2px; }

Re: Checkbox and required=true

2008-03-04 Thread [EMAIL PROTECTED]
The required=true flag means that the user *must supply a value*, but doesn't ensure that they provide a specific value. With a checkbox, the user *always* effectively provides a value: unchecked=false, checked=true. So as Martin says, required=true is in fact pointless for checkboxes. And his

Re: Why is the styleClass Property always overridden?

2008-03-04 Thread Simon Lessard
Oups, should be p_AFError, sorry. On Tue, Mar 4, 2008 at 9:08 AM, Simon Lessard [EMAIL PROTECTED] wrote: Hello Thomas, contentStyle add direct CSS style, it's the inlineStyle equivalent applied to the content area. As for your use case, here's what you should be able to do: In the skin:

[Trinidad] XmlMenuModel + launchListener

2008-03-04 Thread Rottstock, Sven
Hi, i'm unable to use the launchListener attribute in the XmlMenuModel because i don't know how i could define it in my page. I've got the following xml menu declaration: menu xmlns=http://myfaces.apache.org/trinidad/menu; resourceBundle=MyMessages var=msgBundle itemNode

[Trinidad] How to PPR with tree using nodeStamp facet and tr:commandLink ?

2008-03-04 Thread wolfgang . toepfer
Hi, We use a tr:tree outlined as follows: tr:tree value=#{treeController.tree.tree} var=var f:facet name=nodeStamp ui:fragment tr:commandLink id=#{var.action} action=jump text=#{var.label} partialSubmit=true / /ui:fragment /f:facet /tr:tree However, this does not

Re: [Trinidad] subform defaultCommand

2008-03-04 Thread Andrew Robinson
Perhaps the code can still be in the form and the form can have knowledge of the subform's defaultCommand so the form needs only to determine if the component is in a subform or just in the form? On Tue, Mar 4, 2008 at 5:35 AM, Martin Marinschek [EMAIL PROTECTED] wrote: Hi Matthias, it would

Loop through the Mbeans in Session Scope

2008-03-04 Thread Reto Huber
Hi I would like to loop at runtime through all registred MBeans (in session scope) in the current session. Is there an easy way to do this? I don't have the name of each MBean to call them. Regards, Reto

Re: [Trinidad] How to PPR with tree using nodeStamp facet and tr:commandLink ?

2008-03-04 Thread Andrew Robinson
Why do you need to set the ID of the link? If you need what link was clicked, use f:setPropertyActionListener. 2008/3/4 [EMAIL PROTECTED]: Hi, We use a tr:tree outlined as follows: tr:tree value=#{treeController.tree.tree} var=var f:facet name=nodeStamp ui:fragment

[Trinidad] No PPR-capable 'id' found

2008-03-04 Thread Mathias Walter
Hi, I'm using PPR to partially render a table row. The cells contain tr:inputText elements which are read-only, if the row is not in edit mode. tr:inputText value=#{sample.value} readOnly=#{pm.visibleOnly} partialTriggers=sEdit sSave sReset / If I submit the form (tr:commandLink id=sSave

[Trinidad] Problem invoking queue.sendRequest from Javascript API in IE7

2008-03-04 Thread Davide Bonicelli
Hi all, I'm trying to invoke the sendRequest() method from the Javascript Trinidad API. Here is an example of the code I'm using for testing purpose: [code] function doAjax(){ var queue = TrPage.getInstance().getRequestQueue(); queue.sendRequest(null, this.myCompletionMethod,

PDF+JSF question

2008-03-04 Thread daniel ccss
In Struts I do this for join 2 jasperreport pdfs: PdfReader reader1 = new PdfReader(bytes); PdfReader reader2 = new PdfReader(bytes2); PdfCopyFields copy = new PdfCopyFields(new FileOutputStream( context.getRealPath(/reportes/Calificación de Derechos por Beneficio Familiar - Resolución Nº +

Re: PDF+JSF question

2008-03-04 Thread daniel ccss
Anybody?? On Tue, Mar 4, 2008 at 11:05 AM, daniel ccss [EMAIL PROTECTED] wrote: In Struts I do this for join 2 jasperreport pdfs: PdfReader reader1 = new PdfReader(bytes); PdfReader reader2 = new PdfReader(bytes2); PdfCopyFields copy = new PdfCopyFields(new FileOutputStream(

tr:selectOneListbox throws on empty map

2008-03-04 Thread Paul van Rossem
If the last item in a selectOneListbox is removed the renderer throws. But an empty list should be allowed. Also the exception message makes no sense (submittedValue's index 0 should be between 0 and -1). The same holds for selectOneChoice. Example jsf file: ?xml version=1.0 encoding=UTF-8 ?

Re: Loop through the Mbeans in Session Scope

2008-03-04 Thread Gerhard Petracek
hello reto, managed beans are stored within maps. concerning your question: to get the map of all session scoped objects use: FacesContext.getCurrentInstance().getExternalContext().getSessionMap(); please note: within this map there are all session scoped objects (not only beans). what is your

t:inputCalendar

2008-03-04 Thread Jan Linders
Hi ALL,   Is there anyone that can help me in getting the following scenario to work in Tomahawk.   I have an date input field created like below.   The problem is that I want the input date retrieved from the Calendar pop-up submitted to the backing bean. The moment I put in a date myself,

Re: [Trinidad] subform defaultCommand

2008-03-04 Thread Gerhard Petracek
hello mathias, i implemented a javascript which is much more powerful. i've to check if it makes sense to provide this implementation as an alternative. regards, gerhard 2008/3/4, Andrew Robinson [EMAIL PROTECTED]: Perhaps the code can still be in the form and the form can have knowledge

RE: [Trinidad] subform defaultCommand

2008-03-04 Thread Mathias Walter
Hi Gerhard, i implemented a javascript which is much more powerful. i've to check if it makes sense to provide this implementation as an alternative. That would be great! -- Regards, Mathias 2008/3/4, Andrew Robinson [EMAIL PROTECTED]: Perhaps the code can still be in the form and the form

RE: New Apache MyFaces Sandbox component (CAPTCHA)

2008-03-04 Thread Kito D. Mann
Sandbox component (CAPTCHA) Hi, and here is the component in action (only valid for today): http://example.irian.at/example-sandbox-20080304/home.jsf cheers, Gerald On Mon, Mar 3, 2008 at 6:34 PM, Matthias Wessendorf [EMAIL PROTECTED] wrote: Hi, On Mon, Mar 3, 2008 at 6:18 PM

ExtensionsFilter - Disable Multipart Wrapping

2008-03-04 Thread Jose de Castro
Hello, I've been a MyFaces/Tomawahk user for the last few years. For the longest time, it completely served my needs and was very happy with the level of support that I received from the community. About a year ago, I decided to adopt JBoss Seam and a way to augment my own implementation

About Portlets 2.0 and JSF

2008-03-04 Thread Rogerio Pereira
Hi guys! I saw the list of speakers at JSFDays and the topics to be discussed, I'm specially interested about portlets and jsf topic because I have been working on portlets recently, I could use jsf and facelets without any problems on liferay and some others portal implementations but now I need

Re: About Portlets 2.0 and JSF

2008-03-04 Thread Scott O'Bryan
There is going to be a spec covering this as part of JSR-301, but although it's well under design, there is not a public draft released yet. We are trying to get the 168 bridge out first. Scott Rogerio Pereira wrote: Hi guys! I saw the list of speakers at JSFDays and the topics to be

[Trinidad] Rendering Context

2008-03-04 Thread Shane Petroff
Hello, I have what seems to be a configuration problem. It doesn't seem to affect much (although it isn't the only issue I have at the moment, so I'm not sure), but it is unnerving to see in the trace. Mar 4, 2008 4:52:58 PM org.apache.myfaces.trinidad.context.RenderingContext attach