first click fails

2006-02-16 Thread Csík Norbert
Hi! I have a frameset with a menu and a main frame. When I load the page for the first time in a new borwser instance the first click on the menu always fails. The returnd document is the menu.jsf displayed in the main frame. When I click on the same link for the second time the desired result

JSF log activity

2006-02-15 Thread Csík Norbert
Hi! I would like to log the activity of my JSF application. Which actions/pages are used frequently, and which ones run too slowly. Is there any framework or library where I can do this? I tried to write my simple one using a Filter, but in that case getting the name of the page is not so easy

Re: Installing MyFaces under Tomcat

2005-07-02 Thread Csík Norbert
. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. -- Csík Norbert http://norbert.web.elte.hu/ Programtervező matematikus Trilobita Informatikai Rt

Re: How to open page and download file in one turn?

2005-07-02 Thread Csík Norbert
Hi! I think you should send 2 requests to the server. On the first request you generate the response page, and the response file, and send the generated page. On the response page You should put some trick (eg. a non-visible iframe) to post the second request to download the generated file too.

Re: Adding a validator programmatically

2005-06-15 Thread Csík Norbert
Maybe the encodeChildren method is never called. Due to the spec This method will only be called if the rendersChildren property is true. On 6/14/05, Balaji Saranathan [EMAIL PROTECTED] wrote: Hi, I'm trying to create a custom component and one of my requirements is to attach the Regular

Re: hi.

2005-06-09 Thread Csík Norbert
On 6/8/05, Mariano Petrakovsky [EMAIL PROTECTED] wrote: This mailing list is working? Yes, of course ;) -- Norbert Csík

Re: tabbed pane problem

2005-05-27 Thread Csík Norbert
Hi! I think this is becase your backing beans are request scope. When you display the second tab it is empty, because submitting the page with the first tab doesn't set those values. I've implemented a tab change eventlistener, which reloads the request scope backing bean's data. It is working

Re: selectall function

2005-05-24 Thread Csík Norbert
Hi! I have a dataTable column as follows, with an invert select checkbox in the header: h:column f:facet name=header h:panelGroup h:outputText value=#{bundle.memberLabel}/ h:commandButton onclick=selectInvertCheckbox('form',

Re: taglibs pointing to internet?

2005-05-24 Thread Csík Norbert
Those aren't real web pages. Those are just identifiers. The tld files are located in jar files. For example in the myfaces-extensions.jar/META-INF/myfaces_ext.tld. It defines this uri: taglib xmlns=http://java.sun.com/JSP/TagLibraryDescriptor; tlib-version0.9.0/tlib-version

Re: modify id if not set

2005-05-24 Thread Csík Norbert
Hi I am creating an own component, which contains a child component. If the page author didn't set the id of the child component, then JSF didn't generate the id attribute for that HTML component in the generated HTML page, and the modifications made by my component is useless. So I have to check

Re: modify id if not set

2005-05-24 Thread Csík Norbert
Yes, you're right. I don't care what the id is, but it have to render. On 5/24/05, Sean Schofield [EMAIL PROTECTED] wrote: So you want to force the component to render the child's id even if there was none supplied by the page author? Do you care what the id is? sean On 5/24/05, Csk

Re: modify id if not set

2005-05-24 Thread Csík Norbert
But he can put an id '_myId' too. So I can't decide. On 5/24/05, Martin Marinschek [EMAIL PROTECTED] wrote: Well, if the id starts with an underscore, it was created by the JSF implementation, else it was set by the page author? regards, Martin

Re: Serious problems with MyFaces ID allocation which is not conform to XHTML!

2005-05-20 Thread Csík Norbert
Hi! I'm generating XHTML output without any problem at page validation (using Firefox). -- Csk Norbert http://norbert.web.elte.hu/ Programtervez matematikus Trilobita Informatikai Rt. - rendszertervez fejlesztmrnk ___ keep sm:)ing _ooo__C( O O )L__ooo__

Re: Wildcards in navigation-rule

2005-05-11 Thread Csík Norbert
AFAIK there is no one, mybe your own NavigationHandler. On 5/8/05, Thomas Schueppel [EMAIL PROTECTED] wrote: hi, in my faces app, I encode the businessobject, the user is currently working on, in the URI. So editing product 13 would be done on the URI: /products/13/edit For this it would

Re: NullPointerException in trivial example

2005-05-11 Thread Csík Norbert
servlet now. (I assume that the mapping from test.jsf to test.jsp is somehow built into the JSF Servlet, right? 'Cause I didn't define it nowhere.) Thanks. Not at all. It's the deafult behaiour. You can define it as follows: context-param

Special layout

2005-05-09 Thread Csík Norbert
Hi! A would like to achieve a layout with three columns and in every other row one cell with a column span set to 3. It is important to make it in one table because the three columns must have the same width, so I can't put a table into another table's cell. I would like to use a component,

Re: x:popup - no popup!

2005-05-06 Thread Csík Norbert
But the popup uses /faces/ url mapping to access the necessary javascript code. So the ExtensionsFilter needs the /faces/* mapping too. On 5/6/05, Patrick B Haggood [EMAIL PROTECTED] wrote: On Tue, 2005-05-03 at 21:40 -0400, Sylvain Vieujot wrote: You didn't add the /faces/* mapping for the

Re: Enhacement to dataTable

2005-05-05 Thread Csík Norbert
On 5/5/05, Sean Radford [EMAIL PROTECTED] wrote: Sean Schofield wrote: You can pretty much achieve all of this with the existing MyFaces components AFAIK. Not sure about the highlighting of the row as you mouseover but that is easy enough. The rest could be done with a combination of

Re: Dynamic Subview

2005-05-05 Thread Csík Norbert
The panelStack component does this functionality, doesn't it? On 5/5/05, Cenk Çivici [EMAIL PROTECTED] wrote: Is it possible to dynamically get the page name of a subview from the backing bean? Is something like to following possible? f:subview id=userPanel jsp:include

Re: Enhacement to dataTable

2005-05-05 Thread Csík Norbert
On 5/5/05, Sean Schofield [EMAIL PROTECTED] wrote: Row highlighting should be easy. We have that in our current app at work (not JSF) so I'm interested in getting that feature added. I'll try to look into that next week. Currently we use IFrames for scrolling as Martin mentions. But with

Re: UTF-8 support

2005-05-03 Thread Csík Norbert
I am using the natvie2ascii ant task in my ant build file to solve the problem. Once configured, it works fine. On 5/2/05, Korhonen, Kalle [EMAIL PROTECTED] wrote: Interestingly, I didn't get any responses to my original mail on the topic. Since we need UTF-8 support and because part of our

submit form on enter

2005-05-02 Thread Csík Norbert
Hi! I know I can prevent submitting the form on enter in an input with writing a javascript function on the onkeypress event. But it isn't so easy when I have 10+ input fields on the page (and there are 10-15 pages as well). Is there another way to prevent submitting the form on enter? --

Re: commandLink in dataList does not work

2005-04-29 Thread Csík Norbert
Hi! I had the same problem with a dataTable. Check: h:dataTable value=#{PegeBean.lists} var=item h:column h:commandLink action=#{PageBean.details} value=#{item.name}/ /h:column /h:dataTable The problem was that, when I clicked on the link JSF called my backing bean's getLists() method

Re: resetting a form

2005-04-27 Thread Csík Norbert
Check out my clear button. In faces-config I have a navigation rule for the clear outcome: from page.jspx to page.jspx. It works for me. public class PageBean { private String id; private String name; public PageBean() { } public String save() {

Re: commandButton's action vs rendered

2005-04-27 Thread Csík Norbert
Hi! I've worked out a solution for my problem (see the attachments for details). The problem was when I clicked on the delete button nothing happend, the original page rerendered but the delete method never invoked. The problem was that when I clicked the delete button the JSF checked the

subscirbe? how?

2005-04-21 Thread Csík Norbert
As myfaces.apache.org says I can subscribe at [EMAIL PROTECTED] But the reply is so sad: Hi. This is the qmail-send program at apache.org. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL

display errors

2005-04-19 Thread Csík Norbert
HI! I have the following code: h:panelGrid columns=1 rendered=#{FrameworkBean.errorToDisplay} h:commandLink value=Details action=showErrors/ h:messages globalOnly=true layout=table/ /h:panelGrid The FrameworkBean.errorToDisplay returns true if there is an error to display. The

Re: Antwort: display errors

2005-04-19 Thread Csík Norbert
Srikanth Madarapu wrote: In your initial post you did not have action=#{SomeBean.showErrors} but you had action=showErrors. Make sure you have the method binding correctly. Trust me, it is correct ;-) If you are looking for the messeges in the context, in your showErrors method, the messages may

auto page include

2005-04-01 Thread Csík Norbert
Hi! I would like to include a default header and a default footer automatically to my generated JSF pages. Just like include-prelude and include-coda does in the web.xml file for JSP pages. I tried this one, but didn't worked. How can I include these pages automatically in JSF? -- Norbert Csk

Re: auto page include

2005-04-01 Thread Csík Norbert
Yes kind of, but I would like to use a mechanism like include-prelude and include-coda. The most important thing is make it automatic. I don't want to write an include command in the JSF pages. A configuration setting like this would be nice (buit this isn't works for me). jsp-config

Re: auto page include

2005-04-01 Thread Csík Norbert
Yes kind of, but I would like to use a mechanism like include-prelude and include-coda. The most important thing is make it automatic. I don't want to write an include command in the JSF pages. A configuration setting like this would be nice (buit this isn't works for me). jsp-config

Re: commandButton's action vs rendered

2005-03-31 Thread Csík Norbert
yes. the only difference between the two cases is the existence of the rendered property. Slawek rta: sure that in case 1 your button is inside somme form?:P thats my favorite bug;) slawek Yes I've tried, but nothing happend. The button is still does nothing. The action method is uncalled.

Re: commandButton's action vs rendered

2005-03-31 Thread Csík Norbert
I've made a property named loaded (boolean type, with set/is methods), and the result was the same: the button rendered as I expected (rendered when the loaded is true, not rendered when it is false), but a click on the button has no effect, the referenced method in the backing bean didn't

Re: commandButton's action vs rendered

2005-03-31 Thread Csík Norbert
yes. the only difference between the two cases is the existence of the rendered property. Slawek rta: sure that in case 1 your button is inside somme form?:P thats my favorite bug;) slawek Yes I've tried, but nothing happend. The button is still does nothing. The action method is uncalled.

popup element

2005-03-21 Thread Csík Norbert
Hi! I've tried to use the popup element in the MyFaces extensions components, but I failed. I use Sun's JSF 1.1 RI with MyFaces 1.0.8 extensions. I've put the following code into an h:panelGrid, but nothing happend. x:popup styleClass=popup closePopupOnExitingElement=true