RE: Re: JSF and Command EJB and XA Transactions

2005-12-15 Thread TRIFILETTI, Mel
Thanks for the phase listener tip. The problem with a filter is that it puts entire request, including streaming the response back to the browser, in a transaction. Still looking for a better solution ... -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz

JBoss Seam JSF

2005-12-15 Thread Nicola Benaglia
Hi ! I am experimenting this application framework that unifies the component models of JSF and EJB 3.0. I'd like to know if any of you is also experimenting it and know his/her impressions. Thank you, Nico --- Questa mail ed eventuali suoi allegati sono strettamente confidenziali. Se

Re: MyFaces Cherokee

2005-12-15 Thread Martin Marinschek
That's already a problem with the Tobago component set. Or, to get more precise, even within the MyFaces component set we have overlap - look at t:tree and t:tree2. We'll still try to workout a solution so that users are not overwhelmed with choice - but, right, choice is not categorically a bad

Re: JBoss Seam JSF

2005-12-15 Thread Werner Punz
I did some experiments with it a while ago, but gave it up due to a unsolvable bug (the faces context was not injected) but I loved it. There are some huge plusses compared to plain JSF or JSF and Spring + Hibernate (which I normally use) a) The session beans automatically are managed beans b)

Re: Fwd: some doubts in JSF implementation

2005-12-15 Thread Werner Punz
Hi Manfred, thans for forwarding this Going a dynamic javascript route for form alteration, is a huge problem in JSF, you have to bring the tree into sync (some people managed it already, the dynamic ajax data table does it, as well as ajax anywhere). It is way easier to create a a form from the

Re: JBoss Seam JSF

2005-12-15 Thread Mario Ivankovits
Hi! From what I could gather, the seam people already work on a Rails like crud generation mechanism. Isnt it they use templating? So once you modified the resulting jsp you cant recreate it without loosing all your modifications? --- Mario

Re: AW: MyFaces Cherokee

2005-12-15 Thread Werner Punz
This is awesome, MyFaces is becoming slowly the central core of all opensource components. Btw, where are the Tobago components located nowadays, I could not find them in the myfaces codebase. And any word when the Cherokee source will be in the MyFaces codebase on SVN? Werner [EMAIL

RE: Re: JBoss Seam JSF

2005-12-15 Thread James Salt
Hi Werner I am currently trying out Seam+EJB3+JBPM and Portal. The portal element is a very new addition to the mix. This framework seams to be a large step forward for the integration of these valuable technologies. I am very impressed as a newbie with the ease of pickup. The current

Re: JBoss Seam JSF

2005-12-15 Thread Werner Punz
Mario Ivankovits wrote: Hi! From what I could gather, the seam people already work on a Rails like crud generation mechanism. Isnt it they use templating? So once you modified the resulting jsp you cant recreate it without loosing all your modifications? Actually, Mario, I do not

Re: JBoss Seam JSF

2005-12-15 Thread Marius Oancea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yes, templating is used Werner Punz wrote: Mario Ivankovits wrote: Hi! From what I could gather, the seam people already work on a Rails like crud generation mechanism. Isnt it they use templating? So once you modified the resulting jsp you cant

RE: Retrieving component values in validation methods

2005-12-15 Thread Conway. Fintan \(IT Solutions\)
2) Which is the right method to get the values of other components in the validator method, getSubmittedValue(), getLocalValue(), dependent on configuration issues (immediate) of the component owning the validator and other components asked in the validator method? Would the following

AW: Retrieving component values in validation methods

2005-12-15 Thread Matthias Kahlau
Hi! Yes, your approach described should work. But there are other possible constellations, as I found out in the meantime (see also the email of Simon Skitching: http://www.mail-archive.com/users%40myfaces.apache.org/msg13438.html). When implementing cross-component validation, it's very

Re: Apache Con Talks

2005-12-15 Thread Werner Punz
Sean Schofield wrote: Speaking of second looks, I'm installing Sun Java Studio Creator 2 (now that its free.) Craig recommended that I take a look at some of the new features. Be sure to download the latest EA release (you have to hunt around for it - its not the standard download.)

Re: Apache Con Talks

2005-12-15 Thread Werner Punz
The Seam session today was full as well, even though there were several objections mouthed against Seam in the questions after the session - so it wasn't all positive there. Interesting, what objections? To my mind only a handful come to my mind a) Too many dependency libs b) startup times

inputFileUpload tag attributes

2005-12-15 Thread Matthias Kahlau
Hi! I get a conversion error in the model update phase when using inputFileUpload. 1) Which data types are supported for the value attribute? 2) Which role playes the accept attribute? 3) Which role playes the storage attribute? Regards, Matthias

Re: MyFaces Cherokee

2005-12-15 Thread Werner Punz
Martin Marinschek wrote: That's already a problem with the Tobago component set. Or, to get more precise, even within the MyFaces component set we have overlap - look at t:tree and t:tree2. We'll still try to workout a solution so that users are not overwhelmed with choice - but, right,

Re: Newbie actionListener attribute question

2005-12-15 Thread Hans Sowa
Hi You can use more than 1 actionListener: h:commandLink h:outputText value=dummy/ f:actionListener type=blalbla / f:actionListener type=blalbla / /h:commandLink Instead of using the attribute actionListener use the tag actionListener. best regards Hans 2005/12/15, Saumil Mehta [EMAIL

Re: Apache Con Talks

2005-12-15 Thread Martin Marinschek
People were saying that Seam gets rid of a layer that was actually said to be necessary the last years. Plus obviously the EJB EG had doubts that the annotation support was properly aligned with what EJB 3.0 has to offer. regards, Martin On 12/15/05, Werner Punz [EMAIL PROTECTED] wrote:

Notification of request in managed beans?

2005-12-15 Thread Aleksei Valikov
Hi. Probably something for FAQ. I have a managed bean (stored in the session scope) and I'd like this bean to receive notifications of the requests. Say, every time client sends the request, a certain method of the managed bean should be invoked. How is this done? Bye. /lexi

Problem with panelTabbedPane

2005-12-15 Thread Marco Nady
Hi all;I have a panelTabbedPane containing two tabs "tab1" and "tab2".In tab1 i have a required inputText and a commandButton. In tab2 i have a selectOneMenu, commandButton and an inputText.Tips:1) The immediate attribute of the commandButton in the tab2 is true.2) The

Re: datatable - parameter passing - workaround?

2005-12-15 Thread Mathias Brökelmann
is your problem solved now? 2005/12/14, Harald Müller [EMAIL PROTECTED]: Hi! Thank you for your answer! I'm using 1.0.9! Just tried to replace all myfaces-jars with the latest version (1.1.1) - the output of t:colums is not visible/rendered anymore but h:column is - very strange!

Re: Apache Con Talks

2005-12-15 Thread Sean Schofield
The interest level for the whole session was very high, we got the large conference room assigned and that one filled up pretty well (around 700 out of 900 seats taken). There weren't any major glitches, as far as the session went. Wow! That's a huge turnout - especially for a three hour

Re: MyFaces Cherokee

2005-12-15 Thread Sean Schofield
The Oracle stuff will likely be in the incubator for a while. I definitely agree that there should be a single subproject that hosts the components. Tobago is a little different but there is some overlap and that needs to be worked on. I think the big priority now is Maven, a new release and

Re: datatable - parameter passing - workaround?

2005-12-15 Thread Harald Müller
Hi! No ... not at all :-( ... thanks for asking. I've fixed the tabs look like buttons-issue by adding MyFacesExtensionsFilter to web.xml. filter filter-nameMyFacesExtensionsFilter/filter-name filter-classorg.apache.myfaces.component.html.util.ExtensionsFilter/filter-class

Re: Notification of request in managed beans?

2005-12-15 Thread Werner Punz
Aleksei Valikov wrote: Hi. Probably something for FAQ. I have a managed bean (stored in the session scope) and I'd like this bean to receive notifications of the requests. Say, every time client sends the request, a certain method of the managed bean should be invoked. How is this

Can the rendered attribute act as DHTML show and hide?

2005-12-15 Thread Emily Gu
HI, Can we use the rendered attribute to show and hide some components? Such as: h:panelGroup id=box rendered=false h:inputText id=one value= abcdefg / /h:panelGroup The input text box can be shown and hidden by setting the rendered attubute? Thanks!!

Re: Can the rendered attribute act as DHTML show and hide?

2005-12-15 Thread Martin Marinschek
Yes you can. what you'd actually do is use the rendered attribut on the input-text itself, such as: h:inputText id=one value= abcdefg rendered=false/ and instead of just putting false there, you'd use a value-binding: h:inputText id=one value= abcdefg rendered=#{myBean.oneRendered}/ The

Re: Can the rendered attribute act as DHTML show and hide?

2005-12-15 Thread Emily Gu
HI Martin, Thanks for your quick reponse. I have tried it. It didn't work for me. It should. I must have done something wrong. For example, public MyBean { private booleanrendered = true; public void setRendered(boolean r) { ...} public boolean getRendered() {} public

RE: MyFaces Portlet Issue on WebSphere 5.1

2005-12-15 Thread Stan Silvert
You have to use MyFacesGenericPortlet or a subclass. Does BodyPortlet extend MyFacesGenericPortlet? Stan Silvert JBoss, Inc. [EMAIL PROTECTED] callto://stansilvert From: Louis Burroughs [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 4:16 PM To: MyFaces

Re: Newbie actionListener attribute question

2005-12-15 Thread Kurt Edegger
Hi, but with f:actionListener type=class you can only specify a class implementing the ActionListener interface, right? It's not possible to register a '#{beanName.methodName}' as asked by Saumil in the first posting. Best regards, Kurt on 12/15/2005 4:06 AM Hans Sowa stated: Hi

Re: Can the rendered attribute act as DHTML show and hide?

2005-12-15 Thread Jeremy Green
Thanks for your quick reponse. I have tried it. It didn't work for me. It should. I must have done something wrong. For example, public MyBean { private boolean rendered = true; public void setRendered(boolean r) { ...} public boolean getRendered() {}

RE: MyFaces Portlet Issue on WebSphere 5.1

2005-12-15 Thread Louis Burroughs
Yes it does, I extended the MyFacesGenericPortlet according to the wiki entry in order to use edit and help modes. Louis M. Burroughs III Stan Silvert [EMAIL PROTECTED] 12/15/2005 11:50 AM Please respond to MyFaces Discussion To: MyFaces Discussion users@myfaces.apache.org

RE: Newbie actionListener attribute question

2005-12-15 Thread Saumil Mehta
Aaah okay, that helps a bunch. Thanks guys! -Original Message- From: Kurt Edegger [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 9:33 AM To: MyFaces Discussion Subject: Re: Newbie actionListener attribute question Hi, but with f:actionListener type=class you can only

Why do h:message Tags Need to be enclosed in h:panelGroup or h:panelGrid Tags

2005-12-15 Thread Mike Duffy
I am using the MyFaces t:div tag to layout my pages, which works fine. However, because the h:message tags are not contained in an h:panelGroup or h:panelGrid tag, errors like the following are generated when the page loads: 00:01:52,097 ERROR [HtmlMessageRendererBase] Could not render Message.

Re: MyFaces Cherokee

2005-12-15 Thread Nicklas Karlsson
I think the big priority now is Maven, a new release and incorporatingTobago into MyFaces.Once we've absorbed Tobago, the next logical step seems to be the ADF donation.There is a lot of work to do thereto bring the ADF stuff into alignment with MyFaces but Oracle has saidthey are willing and able

Anyway to show SelectOneRadio in multiple table rows?

2005-12-15 Thread Emily Gu
Hi, I would like to show radio button in multiple table rows. Such as: table tr tdinput type=radio name=type value=1One/td tdinput type=text name=branch/td /tr tr tdinput type=radio name=type value=2two/td tdinput type=text name=branch/td /tr /table It seems cannot be easily

Re: JBoss Seam JSF

2005-12-15 Thread Werner Punz
Nicola Benaglia wrote: Hi ! I am experimenting this application framework that unifies the component models of JSF and EJB 3.0. I'd like to know if any of you is also experimenting it and know his/her impressions. Ok thanks to the message that the bug which stopped me was fixed I started

RE: Why do h:message Tags Need to be enclosed in h:panelGroup or h:panelGrid Tags

2005-12-15 Thread Gert Vanthienen
L.S., I have the same problem when using a Sandbox s:fieldset/ tag. Wouldn't it make sense to add this behaviour to both the fieldset and div tags (as they are meant to group other UI elements anyway)? Another option could be to include a 'rendersChildren=true/false' attribute to the tag

Re: Dynamic Drop Down Lists

2005-12-15 Thread Mike Duffy
What I am looking for is a way to automatically propagate a change from one drop down list to another without having to submit the form. This can be easily done in a pure Java Script approach using an onClick function. However, this approach breaks in JSF. As a very simple example, if

RE: Why do h:message Tags Need to be enclosed in h:panelGroup or h:panelGrid Tags

2005-12-15 Thread Mike Duffy
Thx. Any suggestions for a hack that could make this work? --- Gert Vanthienen [EMAIL PROTECTED] wrote: L.S., I have the same problem when using a Sandbox s:fieldset/ tag. Wouldn't it make sense to add this behaviour to both the fieldset and div tags (as they are meant to group other

Object/Embed JSF component request

2005-12-15 Thread Darren Hartford
Hello all, I'm wondering if there is an existing component to handle Object/Embed HTML tags for using native browser plugins/viewers? Something where if you supply a source and the mimetype, it will attempt to use a browser native plugin to view the source. My usecase is "image/tiff"

RE: Need help please - java.lang.IllegalStateException: Unknown object type

2005-12-15 Thread Fu, Lieyong
Title: Message Resolved - Just update to 1.1.1 and it solve the porblem. -Original Message-From: Fu, Lieyong [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 1:32 PMTo: users@myfaces.apache.orgSubject: Need help please - java.lang.IllegalStateException:

Re: Stream closed exceptions

2005-12-15 Thread Michael Hartman
I believe the issue to lie in the buffer tag. I'm suspicious of the org.apache.myfaces.custom.buffer.HtmlBufferResponseWriterWrapper and its toString() method which closes the writer. Using the buffer tag on a page exposes this issue under a moderate load (approx 20 users with an 'intense'

Alternatives for onclick for NavigationMenuItem

2005-12-15 Thread Neal Haggard
We are using the JSCookMenu as action menus for many of our tables and as such we would like to add to the JavaScript by adding an onclick attribute like you can with an commandlink or button. Specifically, we'd like to be able to add a confirm check on delete actions to make sure they

Re: Alternatives for onclick for NavigationMenuItem

2005-12-15 Thread Simon Kitching
Hi, The JSF JSCookMenu component is basically a wrapper around the jscookmenu javascript library. Does that library have the functionality you desire? If not, I would suggest contacting the jscookmenu project first, and seeing whether it can be added there. I wouldn't like to see the

Re: Can the rendered attribute act as DHTML show and hide?

2005-12-15 Thread Emily Gu
Thanks, I used the submit when selection changes. I will look into it and see .. I have another question, I will post it as another thread. The flexibility of JSF seems little... Thanks, Emily On 12/15/05, Jeremy Green [EMAIL PROTECTED] wrote: Thanks for your quick reponse. I have tried it. It

Re: Object/Embed JSF component request

2005-12-15 Thread Kurt Edegger
Hi Darren, I was looking for such a component to be able to embed SVG graphics in a faces page eg. with the embed tag . I did some research but couldn't find any ready to use components, so I looked into implementing own components. It was pretty much straight forward to implement a custom

Re: MyFaces Cherokee

2005-12-15 Thread Martin van den Bemt
The goal is that cherokee works with all jsf implementations, if you mean that by standalone that is.. Mvgr, Martin Nicklas Karlsson wrote: I think the big priority now is Maven, a new release and incorporating Tobago into MyFaces. Once we've absorbed Tobago, the next logical

Re: Having a Default commandButton

2005-12-15 Thread Travis Reeder
I think I'm seeing this exact same thing, and the strange thing is that the model values look like they get set in both scenarios, but in the first, the action isn't called. If more than one text field, the action does appear to execute. TravisOn 9/29/05, CONNER, BRENDAN (SBCSI) [EMAIL PROTECTED]

Re: Notification of request in managed beans?

2005-12-15 Thread Aleksei Valikov
Hi. Various ways... you could use Spring application events on the servlet core you could use phase listeners etc yes, I've considered using phase listeners. The ide was that phase listener gets notified of the phase, then it takes the HTTP session from the faces context, iterates over

Re: Having a Default commandButton

2005-12-15 Thread Simon Kitching
The behaviour described would be exactly what would happen if the form is being submitted by the browser without having run the onclick scripting associated with the button. Every form has a hidden input field. When a button or link is clicked, the hidden field's value is updated with the

Re: Notification of request in managed beans?

2005-12-15 Thread Craig McClanahan
On 12/15/05, Aleksei Valikov [EMAIL PROTECTED] wrote: Hi. Various ways... you could use Spring application events on the servlet core you could use phase listeners etcyes, I've considered using phase listeners.The ide was that phase listener gets notified of the phase, then it takes the HTTP