Re: Urgent help Need :- Error while serving resource: calendar.HtmlCalendarRenderer/DB/drop1.gif, message : null

2008-10-29 Thread Simon Kitching
When a patch just affects one or two classes, it is sometimes easier to just put copies of those specific classes in your own project. As long as those classes come first on the classpath, the patched copies will override the original (buggy) ones. But you would still need to check out the source

Re: problem mapping subdirectories to facesServlet

2008-10-29 Thread Simon Kitching
Paul Hopton schrieb: Hi, I'm quite new to jsf, but know my way around tomcat and the servlet-api pretty well. I'm working on a relatively complicated project with a few dependencies, but to be able to track down my problem I have created a simple application based on the NumberGuess

Re: problem mapping subdirectories to facesServlet

2008-10-29 Thread Simon Kitching
Paul Hopton schrieb: strange indeed. To answer your question I'm running a Kubuntu desktop as dev machine. I also did a testSetup on another unix desktop this morning and everything worked as it should. I'm not sure I can run a debugger on a live server. Ive only ever done that locally where

Re: How to get my filter to execute after MyFaces?

2008-10-29 Thread Simon Kitching
laredotornado schrieb: Hi, I'm using MyFaces 1.1.6 with Tomahawk 1.1.7 on WebLogic 9.2.2 (Solaris 9). I'm noticing that when I add our company's servlet filter into our app filter-mapping filter-nameSSOFilter/filter-name url-pattern/*/url-pattern /filter-mapping

Re: Urgent help Need :- Error while serving resource: calendar.HtmlCalendarRenderer/DB/drop1.gif, message : null

2008-10-28 Thread Simon Kitching
Are you using Internet Explorer as the client? I found that IE has the very ugly habit when dealing with a page that references the same resource multiple times. When a page has: img src=foo.gif img src=foo.gif then ie sends two requests to the server concurrently (stupid, stupid). Worse, when

Re: Javascript wrapped in comment block

2008-10-28 Thread Simon Kitching
There is no switch to control this. Currently the script contents are always commented out. The two options you list below will not have any affect on this. It is probably about time that this behaviour was removed. It is there to support browsers that are too old to recognise the script tag, but

Re: Trinidad Large Tree

2008-10-26 Thread Simon Kitching
One thing I discovered recently is that Firefox handles large numbers of html components better than IE. I had to debug a jsp page that would run slower slower under IE, but appeared to work under firefox. The problem turned out to be a bug that caused an exponential increase in the number of

Re: h:messages valition-messages without formid ?

2008-10-24 Thread Simon Kitching
. but it cannot resolve my resource-bundles. if i set label=#{label.username} the message start with : ... when label=Username it looks fine. so it´s not the solution i´ve looked for. i can´t believe that such a behavior is wanted from myfaces. Simon Kitching wrote: While testing something else

[orchestra] [VOTE] Orchestra Core 1.3 Release

2008-10-24 Thread Simon Kitching
Hi All, A release-candidate has been prepared for Orchestra Core 1.3. The release-candidate source is currently at: http://svn.apache.org/repos/asf/myfaces/orchestra/branches/core-1_3-prepare and will be moved to tags dir when/if the release vote passes. The artifacts have been deployed to

Re: h:messages valition-messages without formid ?

2008-10-24 Thread Simon Kitching
the t:messages component describes this feature in more detail. So if you are willing to use t:messages instead of h:messages this might be useful... Regards, Simon Simon Kitching schrieb: Hmm. I know myfaces had a bug where resource-bundles are not available during the postback phase. I wonder

Re: [orchestra] Don't add ?conversationContext=x for external links

2008-10-23 Thread Simon Kitching
Juza Petr schrieb: Hello, is there a way to configure orchestra not to add ?conversationContext=x to outbound links? I have h:outputLink value=http://myfaces.apache.org/;link/h:outputLink but the rendered link goes to: http://myfaces.apache.org/?conversationContext=1 You can write

Re: how to call a setProperty(x) method in managed bean without form action and within ui:repeat tag

2008-10-23 Thread Simon Kitching
I think the answer is: don't do that. The view layer is about presenting information. Having it poking values into your backing beans as a side-effect feels very wrong to me. The ui:repeat tag sets up a variable for you (you call it orga); your inner loop should be just accessing properties of

Re: h:messages valition-messages without formid ?

2008-10-22 Thread Simon Kitching
As I said earlier in this thread: set an explicit requiredMessage string. IMO, expecting component ids to be meaningful as part of error messages is wrong. They (a) are names chosen by a programmer for coding purposes not ui purposes, and (b) are not localisable. The default behaviour of

Re: h:messages valition-messages without formid ?

2008-10-22 Thread Simon Kitching
the {0} parameter, eg h:input id=someProgrammerId label=someUserLabel required=true../ will generate whatever generic required message is configured, but with {0} set to someUserLabel. This feature still requires setting this on each component though. Regards, Simon Simon Kitching schrieb

Re: jsf component tree processing with ajax call

2008-10-17 Thread Simon Kitching
Moreno Cornaz schrieb: Hello everybody. I have a page that has two panel P1 and P2. When P1 is rendered P2 is not and vice versa. If a make an ajax call in P1 (for example an ajax support with ajaxSingle=true on a inputText ) that make P2 rendered and P1 not rendered I expected jsf

Re: Trouble deploying MyFaces app

2008-10-17 Thread Simon Kitching
Hi, What I suspect is happening is that an exception is occurring while trying to process your managed-property definition. As a result, processing of the faces-config.xml file by the ContextListener fails. And then later when the FacesServlet is initialised, the objects that the

Re: Trouble deploying MyFaces app

2008-10-17 Thread Simon Kitching
It's not the xml validator (as in schema/dtd validation) that would be the problem. Xml parsers simply refuse to process invalid xml. The word and should work in EL expressions. laredotornado schrieb: I agree that the is probably not the right way and can cause problems with the XML

Re: problem with jsf validation

2008-10-16 Thread Simon Kitching
Moreno Cornaz schrieb: Hello I have a page with some input field whose values when I enter the page are taken from a bean (and set in the onLoad of the page). If I insert a value that cause the validation of that fields to fail and than I quit the page, when I come back to that page I found

Re: h:messages valition-messages without formid ?

2008-10-16 Thread Simon Kitching
j.palleschitz schrieb: hi, in case of a required-field validation i get a message that starts with /formid:nameoffield: text of the validation/ is it possible to customize the validation-messages only to /nameoffield: text of the validation/ ??? i have already defined a custom message in my

Re: Multi file upload component

2008-10-15 Thread Simon Kitching
As Matthias noted, the HTML fileupload component only supports one file. And there is absolutely no way to implement file-uploading in plain html without this component. I would guess that they use DHTML to dynamically add multiple copies of the html fileupload control to the page. And

Re: How do I figure out what this means?

2008-10-14 Thread Simon Kitching
Hi, laredotornado schrieb: Hi, Im using MyFaces 1.1.6 with Tomahawk 1.1.7 on WebLogic 9.2.2. Upon visiting my JSF page, I'm getting the error: Exception while calling encodeEnd on : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/search_results.jsp][Class:

Re: [tomahawk] where can i find document for new component in tomahawk 1.1.7?

2008-10-14 Thread Simon Kitching
These jira issues should have been filed against the sandbox project, not against tomahawk. Because they were incorrectly created, they appeared in the release-notes for tomahawk when they should not. They are still sandbox components. Regards, Simon Hazem Saleh schrieb: - PDFExport and

Re: [tomahawk] where can i find document for new component in tomahawk 1.1.7?

2008-10-14 Thread Simon Kitching
Then we need a sandbox project registered in JIRA. Using the wrong category just causes further confusion. That's a topic for the dev list... Hazem Saleh schrieb: There is no sandbox entry in the JIRA, so I had to create it in MyFaces Tomahawk. On Tue, Oct 14, 2008 at 3:43 PM, Simon

Re: [MyFaces 1.2.3] changeValueListener not called on first change for dynamically added component. Ideas?

2008-10-14 Thread Simon Kitching
Paul Spencer schrieb: I am dynamically adding child components to a form via the forms's binding, h:form .. binding=#{myBean.form} /. My current challenge is related to the valueChangeListner. Specifically the listener is not called on the first change, but is called twice on the second

Re: [MyFaces 1.2.3] changeValueListener not called on first change for dynamically added component. Ideas?

2008-10-14 Thread Simon Kitching
Paul Spencer schrieb: Simon Kitching wrote: Paul Spencer schrieb: I am dynamically adding child components to a form via the forms's binding, h:form .. binding=#{myBean.form} /. My current challenge is related to the valueChangeListner. Specifically the listener is not called on the first

Re: [orchestra] FacesGoodies and myfaces-orchestra-examples-project / portal?

2008-10-13 Thread Simon Kitching
The error is at AccessScopeManager.java:55, ie clearly the problem is that the thread-local FrameworkAdapter variable has not been set up. This can be set in either of two ways: * in a servlet filter defined in the web.xml (eg BasicFrameworkAdapterFilter, JsfFrameworkAdapterFilter) * in the

Re: [Orchestra] SpringBasicFrameworkAdapterFilter problem

2008-10-10 Thread Simon Kitching
Simon Kitching wrote: But it should not be an error if such a bean does not exist. Like problem #1, this could be due to SpringBasicFrameworkAdapter reporting errors where we really just are checking whether something exists or not. Yep, and that looks to be the case

Re: [Orchestra] Problem using access scope with Trinidad Dialog Framework

2008-10-09 Thread Simon Kitching
Glauco P. Gomes schrieb: What's happening is that the conversation (from a bean in access scope) is destroyed when I open a trinidad dialog, and when I return form the dialog, the first bean has loosed his state. Is this the correct behavior? Well, it's obviously not what a user of trinidad

Re: [Orchestra] Problem using access scope with Trinidad Dialog Framework

2008-10-09 Thread Simon Kitching
Matthias Wessendorf schrieb: On Thu, Oct 9, 2008 at 9:31 AM, Simon Kitching [EMAIL PROTECTED] wrote: Glauco P. Gomes schrieb: What's happening is that the conversation (from a bean in access scope) is destroyed when I open a trinidad dialog, and when I return form the dialog, the first

Re: [Orchestra] Problem using access scope with Trinidad Dialog Framework

2008-10-09 Thread Simon Kitching
Glauco P. Gomes schrieb: Simon Kitching escreveu: Yes, it is a workaround, but not too ugly. I suggest you try again, and this time enable debugging output for Orchestra to see what happens. Orchestra uses commons-logging and generates a reasonably detailed amount of output. I can't see why

Re: orchestra conversation

2008-10-09 Thread Simon Kitching
On Tue, 2008-10-07 at 18:33 +0200, Moreno Cornaz wrote: Hello Simon. I tried your tip and it seems to work fine. I'm sorry to thank you so late... but thanks anyway I still have one problem with orchestra. I have a bean with 'conversation.access' that is accessed in a page. When I leave

Re: [Orchestra] SpringBasicFrameworkAdapterFilter problem

2008-10-09 Thread Simon Kitching
Hi Petr, On Tue, 2008-10-07 at 18:55 +0200, Juza Petr wrote: Hello, I have been solving the same problem as described here (http://www.nabble.com/-Orchestra--Mixed-evironment-installation-problem ---Complete-Mail-td16445245.html, http://issues.apache.org/jira/browse/ORCHESTRA-18) - Mixed

Re: (again) error handling in MyFaces

2008-10-07 Thread Simon Kitching
tkazmierczak schrieb: Leonardo Uribe wrote: That pages exposes several alternatives to handle server errors, not just one, so the information is not a tutorial about it. So, is there any tutorial about the subject? It seems that without some basic knowledge about error handling in

Re: Why am I getting copmliation errors about tag not being closed?

2008-10-07 Thread Simon Kitching
laredotornado schrieb: /h:penalGrid I guess I'm not following the panelGrid example correctly. What's wrong with the above? :s/ena/ane

Re: How to retrieve active managed-bean's of my session

2008-10-06 Thread Simon Kitching
Groovie schrieb: Hy there, image your control-flow is executing an action-method (i.e. button action-callback). While processing the button-pressed event, you want to change the state of another managed-bean, that is assigned to your current session. Does JSF provide for a retrieve methode, to

Re: JSF: Multiple browser windows sharing Same session

2008-10-02 Thread Simon Kitching
[EMAIL PROTECTED] schrieb: Eelco Hillenius schrieb: Again, I don't see this as being particularly a JSF problem. I can't imagine that struts or wicket or rails would be able to deal with this problem any easier. Actually, Wicket has an out-of-the-box solution for this. Wicket works

Travel Assistance to ApacheCon US 2008 - 3 days to apply!

2008-09-30 Thread Simon Kitching
The Travel Assistance Committee is taking in applications for those wanting to attend ApacheCon US 2008 between the 3rd and 7th November 2008 in New Orleans. The Travel Assistance Committee is looking for people who would like to be able to attend ApacheCon US 2008 who need some financial

Re: [Trinidad] Strange subform behavior

2008-09-30 Thread Simon Kitching
Hi Walter, I think this is the general approach needed for input components in tables (untested): int n = 0; dataTable.setRowIndex(n); while (dataTable.isRowAvailable()) { // here apply the resetValues code for each component in the table dataTable.setRowIndex(++n); }

Re: Tomahawk 1.1.7 t:columns problem in new build

2008-09-30 Thread Simon Kitching
Janap schrieb: Hello, Today I downloaded the latest version of tomahawk 1.1.7 to discover that none of my pages are working. Till date I worked with 1.1.7- snapshot which works fine. Exception caused : Stacktrace: at

Re: Tomahawk 1.1.7 t:columns problem in new build

2008-09-30 Thread Simon Kitching
Janap schrieb: Thank you for the reply. I do not precompile my JSP's . Anyways I made a complete clean build in Eclipse. The problem still persists. I'm not talking about explicitly precompiled JSPs. When precompilation is not used, servlet engines (eg tomcat) compile JSPs into java, then

Re: Tomahawk + Facelets+ state_saving_method = server navigation problem

2008-09-29 Thread Simon Kitching
ciscolos schrieb: Hi forum , we're using Tomahawk 1.1.7 with Myfaces 1.2.4 and Facelets 1.1.14. After changing the context-param javax.faces.STATE_SAVING_METHOD from client to server. We're not able use command links any more. if we try to perform a view action wich calls a bean we get the

Re: [TOBAGO] serious problems with managed-bean's

2008-09-29 Thread Simon Kitching
Do you have an h:messages page in your page so you can see conversion/validation error messages? If not, try adding one.. Regards, Simon Arvid Hülsebus schrieb: Hello The log message in ViewHandlerImpl:101 has the wrong level. It's just debug info, not an error. I fixed that in the code. I

Re: MyFaces shared version question

2008-09-25 Thread Simon Kitching
Simon Lessard schrieb: Hi all, How does shared version numbering works? Is it 2.0.x for 1.1 and 3.0.x for 1.2 or something completely different? Also, as a related question should 2.0 branch use its own version of shared? Yep. 2.0.x for JSF-1.1, kept here:

Re: Where are the Core examples?

2008-09-25 Thread Simon Kitching
Jochen Wuttke schrieb: Hi, I saw in the archive that this question has been asked about a year ago, but I couldn't find an answer to it: Where are the examples? http://myfaces.apache.org/core12/gettingstarted.html says they should be here http://myfaces.apache.org/download.html , but they

Re: wrong/missing validation behaviour - security problem.

2008-09-18 Thread Simon Kitching
, it happens with a simple h:inputText instead of the tr:inputText, too. Felix -Original Message- From: Simon Kitching [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2008 4:41 PM To: MyFaces Discussion Subject: Re: wrong/missing validation behaviour - security problem. Does

Re: MyFaces el functions like 'rich:clientId'

2008-09-17 Thread Simon Kitching
Hi Stefano, I'm not sure what Cagatay was suggesting here. The server side id is ambiguous, ie it is perfectly allowed to have multiple components in the view with the same server side id, as long as they are in different naming containers (forms, subviews, etc). So any function that looks

Re: Duplicate ID error in using myfaces and facelets

2008-09-17 Thread Simon Kitching
Yes, I would agree with Andrew: you should make sure that none of your binding expressions point to session-scoped beans. Bindings to anything that is not request-scoped has nasty effects. I would also agree with Andrew that c:if is best avoided. Some of the issues with c:if have been fixed

Re: [ANNOUNCE] Release of Tomahawk 1.1.7

2008-09-17 Thread Simon Kitching
Michael Heinen schrieb: Good news! Could someone please update the compatibility matrix? To quote from that page (http://wiki.apache.org/myfaces/CompatibilityMatrix): /* This is a common question, so let's repeat the answer:*/** as a *user*, it is *your* responsibility to update this

Re: SaveState Session or Not ?

2008-09-17 Thread Simon Kitching
The wiki page does look useful, but could be written more clearly. I'll try to find time to update it. The tomahawk saveState tag saves data in the *jsf view*. Therefore, that data lasts as long as the user is on the same view, and is then discarded. However when a JSF postback navigates to

Re: wrong/missing validation behaviour - security problem.

2008-09-17 Thread Simon Kitching
[EMAIL PROTECTED] schrieb: Hi! While testing our JSF Frontends we found out, that the server sided validation of the JSF components does not work corrrectly in some cases. I appended an example formular which we tested and where we found this bug. At first we changed the http request and

Re: [ANNOUNCE] Release of Tomahawk 1.1.7

2008-09-16 Thread Simon Kitching
Gertjan van Oosten schrieb: As quoted from Simon Kitching [EMAIL PROTECTED]: If you do want to use the sandbox jar, you should deploy a copy into your own maven repo. In trying to build 1.1.7 myself, I noticed that http://svn.apache.org/repos/asf/myfaces/tomahawk/tags/1_1_7/site

Re: orchestra conversation

2008-09-14 Thread Simon Kitching
Hi Moreno, On Tue, 2008-09-09 at 19:27 +0200, Moreno Cornaz wrote: Hello everybody. I'm using my-faces-orchestra 1.1 library with Tomcat 6.0, spring 2.0, myfaces 1.1.5 and I'm facing the following problem: - I define a bean with scope 'conversation.access'. When, from a window I

Re: Implementing Hibernate Open session per view in Apache MyFaces

2008-09-11 Thread Simon Kitching
Ayub Khan schrieb: Hi, I have impleted the phaseListener using the idea presented on http://www.jroller.com/HazemBlog/entry/implementing_hibernate_open_session_per I am getting org.hibernate.HibernateException: createQuery is not valid without active transaction error message. Below is

Re: t:selectItems still seems to need a converter

2008-09-10 Thread Simon Kitching
Hi, JSF must send down to the browser a list of (label,value) pairs for the user to select from, and then on postback the browser sends back the value part of the selected item. The label and value must both be strings; this is required by html. Therefore a converter of some sort is

Re: t:selectItems still seems to need a converter

2008-09-10 Thread Simon Kitching
but it is used with other lists e.g. tables, and I wonder that if setPropertyActionListener can keep a map between html values and backing objects then maybe it could be done elsewhere. Kind regards Martin Simon Kitching wrote: Hi, JSF must send down to the browser a list of (label,value) pairs

Re: Generation strategy of the j_id prefixes?

2008-09-09 Thread Simon Kitching
Hi Felix, [EMAIL PROTECTED] schrieb: Hi, i'm currently writing JMeter tests for a web frontend generated with myfaces. I tried to identify the input fields, buttons and drop downs via their html id attribute. For example the id of one of my input fields was: j_id36:inputContentText. After

Re: [Apache Tomcat Web Server] Memory leak problem

2008-09-09 Thread Simon Kitching
Hi, dushyant agarwal schrieb: Hi, I found an issue on the thread -https://issues.apache.org/jira/browse/MYFACES-1658 Also at-http://www.mail-archive.com/users@myfaces.apache.org/msg50352.html The problem is that of memory leak. In my implementation I am using

Re: Generation strategy of the j_id prefixes?

2008-09-09 Thread Simon Kitching
m4rkuz schrieb: Hi Everyone, I have a little big problem, I got a CRUD like app, in the main form I have a data table that shows the result of a query and every row has a link to jump to the edit page, everything works fine, until I try to go to the next page /*h:commandLink

Re: [tobago] parsing warning by org.apache.myfaces.renderkit.html.util.ReducedHTMLParser

2008-09-04 Thread Simon Kitching
From the comments on this email, it sounds like the html piece that is shown below is actually embedded within javascript. Can you please show the whole relevant section, including the script tag (if present)? Thanks, Simon Can you show the part of the page Zied Hamdi schrieb: Hi Volker

Re: Beginner question: facelets and selectManyPicklist

2008-09-04 Thread Simon Kitching
Yes, this confuses a few people. The myfaces websites all show information about the current trunk code, NOT about the most recent release. So newly-created components can be present on the website but not available except when using a nightly snapshot. Ideally we would have two websites, one

Re: statesaving - memory consumption

2008-09-02 Thread Simon Kitching
Daniel Niklas schrieb: Hi, i am using server-side state saving (because the environment is a portal). I noticed a high memory consumption for the view state, or exacting for the history of old view states. Now i have some questions on this: 1) Is view state history *only* for back-Button of

Re: statesaving - memory consumption

2008-09-02 Thread Simon Kitching
Simon Kitching schrieb: Daniel Niklas schrieb: Hi, i am using server-side state saving (because the environment is a portal). I noticed a high memory consumption for the view state, or exacting for the history of old view states. Now i have some questions on this: 1) Is view state history

Re: statesaving - memory consumption

2008-09-02 Thread Simon Kitching
Daniel Niklas schrieb: Hi Simon, Simon Kitching wrote: The idea is that by setting NUMBER_OF_VIEWS_IN_SESSION, a webapp can guarantee to support a certain number of back-button clicks - at the JSF level at least. Or that when two windows are open on the same webapp, that the user can

Re: [Orchestra] conversions and AJAX calls

2008-08-29 Thread Simon Kitching
Juza Petr schrieb: Hi Simon, I renamed myfaces-orchestra-core-1.2.jar to before-na-orchestra-core.jar and it helped! Thank you very much Simon. Where is implemented order of loading faces-config.xml files? Is it MyFaces feature only? It is not officially part of the JSF specification, but

MyFaces Orchestra 1.2 Released

2008-08-28 Thread Simon Kitching
The Apache MyFaces Orchestra team is pleased to announce the release of Apache MyFaces Orchestra Core 1.2. Get a full overview at Orchestra's homepage [1]. The distribution is available at * http://myfaces.apache.org/orchestra/download.html Apache MyFaces Orchestra is available in the central

Re: [Orchestra] conversions and AJAX calls

2008-08-27 Thread Simon Kitching
Hi Petr, Juza Petr schrieb: Hello, I have please problem with conversations and AJAX calls. I use grid view component from NetAdvantage (http://java.samples.infragistics.com/NetAdvantage/JSF/2008.1/featurebro wser/webgrid/rowSelection/index.faces) that is AJAX-based (pagination, sorting). I

Re: [Orchestra] conversions and AJAX calls

2008-08-27 Thread Simon Kitching
-Original Message- From: Simon Kitching [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2008 2:38 PM To: MyFaces Discussion Subject: Re: [Orchestra] conversions and AJAX calls Hi Petr, Juza Petr schrieb: Hello, I have please problem with conversations and AJAX calls. I use

Re: Composite view from several request managed beans

2008-08-20 Thread Simon Kitching
Anton Gavazuk schrieb: All necessary beans will be instantiated automatically by JSF as long as you define them in your faces-config.xml file. its clear, but I want to put some business related info in bean before showing them. like following JSF method { SomeBean = new SomeBean();

Re: [MyFaces][Core] Immediate problem

2008-08-18 Thread Simon Kitching
Guy Bashan schrieb: Hi, I have another problem with immediate: It seems like the hidden field always shows value=true no matter what I am doing. The UI functionality is good. I have a link the shows: active/inactive. But hidden field value always stays the same. I have the same

Re: commandLink in table not launching dialog

2008-08-13 Thread Simon Kitching
Just wanted to mention that problems with unusual components nested inside tables are not really weird. Tables are very special components; they namespace each row and they use the flyweight pattern (where the same components are reused for each row). Because of this, it is not unusual for

Re: Table rows without table

2008-08-11 Thread Simon Kitching
Christian Kaltepoth schrieb: On Sunday 10 August 2008 21:22:05 Markus Mehrwald wrote: Hello, actually this is not really a MyFaces problem but hopefully someone can help me although. I have got a panel grid with two columns and a few rows. In this panel grid I want to have something like a

Re: [MyFaces][Core]

2008-08-11 Thread Simon Kitching
Guy Bashan schrieb: Hi, I have a weird problem when h:graphicImage points to a broken image. For example in one case, I press on a link for removing an item, and the item is not removed. The graphic image is not the link, it's just an image near the link, but whenever the image link is

Re: [Orchestra] does orchestra require that Cglib proxies be used

2008-07-28 Thread Simon Kitching
Justin Miller-7 wrote: Does Orchestra require that Spring use cglib proxies rather than jdk proxies? It seems like no matter what I do, I can't get spring to use jdk proxies. My beans implement interfaces like they are supposed to, and I definitely do not have any proxy-target-class

SERIALIZE_IN_SESSION with Sun Mojarra?

2008-02-22 Thread Simon Kitching
Hi, Myfaces Core property SERIALIZE_IN_SESSION is true by default, meaning that when using server-side state saving the http session contains a byte-array representation of the viewtree as serialized by JSF itself. In particular, this means that the StateHolder methods are used to serialize data

RE: changing myfaces loglevel to debug causes different behavior

2008-02-11 Thread Simon Kitching
Michael Heinen [EMAIL PROTECTED] schrieb: Yes, that exactly is the problem. Data can be uninitialized if the parent should not be rendered (or it will be lazy initialized on each request if BackingBean is request scope and not saved in the request). Therefore I would prefer to skip

Re: changing myfaces loglevel to debug causes different behavior

2008-02-11 Thread Simon Kitching
Simon Kitching [EMAIL PROTECTED] schrieb: Michael Heinen [EMAIL PROTECTED] schrieb: I noticed today strange behavior if I change the loglevel for myfaces. Some getters of my backing beans are called although the rendered attribute of a parent component is false. I don't see

Re: changing myfaces loglevel to debug causes different behavior

2008-02-11 Thread Simon Kitching
Michael Heinen [EMAIL PROTECTED] schrieb: I noticed today strange behavior if I change the loglevel for myfaces. Some getters of my backing beans are called although the rendered attribute of a parent component is false. It is caused by class DebugUtils.traceView. I enabled

Re: MyFaces 1.1.5 Strange validation behaviour

2008-02-07 Thread Simon Kitching
Just the presence of a jar in the classpath can change the behaviour of a system sometime. A .tld file in the META-INF directory of a jarfile is automatically processed, and can specify servlet listener classes that a servlet container must register. A faces-config.xml file in the META-INF

Re: How can I have more than one bean in an orchestra conversation

2008-02-06 Thread Simon Kitching
Hi Wolfgang, This page talks about conversation names: http://myfaces.apache.org/orchestra/myfaces-orchestra-core/conversation.html However there isn't an actual code example on that page; I will try to find time to add one. An example of a conversation name is shown here:

Re: [Tomahawk] Bug - Could not find class for name: tree2.HtmlTreeRenderer

2008-02-05 Thread Simon Kitching
Łukasz Budnik [EMAIL PROTECTED] schrieb: Hi All, I'm using Tomahawk 1.1.7-SNAPSHOT, I am trying to use the t:tree2 / component but I get this strange error: ClassNotFoundException: tree2.HtmlTreeRenderer Looking at the API: http://myfaces.apache.org/tomahawk/tree2.html -there is a

Re: Portlet Environment and Orchestra

2008-02-05 Thread Simon Kitching
Thanks Scott, that two-threads thing might indeed be a problem. And so might the filters. Is there some good documentation on the difference between portlets and normal jsf available? Markus, which version of Orchestra are you using? 1.0 or a snapshot? Regards, Simon Scott O'Bryan [EMAIL

Re: h:form tag !

2008-02-05 Thread Simon Kitching
deathstar64 [EMAIL PROTECTED] schrieb: Hello, I am using the tag h:form supplied by myfaces to produce an html form. But I want to give a specific action that the form should have when it is rendered. But myFaces gives an ..automatic one when it renders the component. Any thoughts on

Re: ServletException: java.lang.IncompatibleClassChangeError

2008-02-05 Thread Simon Kitching
Tomcat 6.x comes with EL libraries already. Are you sure that these don't conflict with commons-el that you have added to your project? Also make sure you delete the tomcat work directory. Łukasz Budnik [EMAIL PROTECTED] schrieb: Hi All! I'm using Tomcat 6.0.14 with MyFaces 1.2.2,

Re: Portlet Environment and Orchestra

2008-02-05 Thread Simon Kitching
Hi Rashmi, Again, exact line numbers from the latest snapshot would be useful. In an email you sent to me directly you said that with the latest snapshot the exception was at line 83 of ConversationManager. But with the latest code, that line is in the middle of a javadoc comment, so perhaps

Re: Portlet Environment and Orchestra

2008-02-05 Thread Simon Kitching
BTW, you might try adding these elements to the OrchestraServletFilter filter-mapping clause: dispatcherREQUEST/dispatcher dispatcherFORWARD/dispatcher dispatcherINCLUDE/dispatcher Regards, Simon Simon Kitching [EMAIL PROTECTED] schrieb: Hi Rashmi, Again, exact line

Re: Portlet Environment and Orchestra

2008-02-05 Thread Simon Kitching
property name=mitarbeiterService ref=MitarbeiterService / property name=mitarbeiterDTO ref=MitarbeiterDTO / aop:scoped-proxy / /bean Regards, Rashmi Simon Kitching-4 wrote: Hi Rashmi, Again, exact line numbers from the latest

Re: [orchestra] Spring 2.5

2008-02-05 Thread Simon Kitching
Mario Ivankovits [EMAIL PROTECTED] schrieb: Hi! Are there any plans about migration over Spring 2.5 in Orchestra? Orchestra itself is compatible with Spring 2.5. We use this combination in our projects. I'd like to see if Spring 2.5 can simplify orchestra configuration and if we

RE: [tomahawk] oamSubmitForm causes parse error

2008-02-01 Thread Simon Kitching
Hi Michael, Are you generating html or xhtml? And which JSF implementation/version are you running tomahawk on? For html, a CDATA tag should not be needed, as script tags have special parsing rules in html. For xhtml, things like do indeed need to be escaped, and CDATA is best. This Jira

Re: Question about filling page objects

2008-02-01 Thread Simon Kitching
But f:setPropertyActionListener doesn't work well with redirects. Martyn, JSF does require a different view of the world. In many other frameworks, html and http are the only supported technologies. JSF instead is designed to work with things other than html (eg generating XUL) and view-logic

Re: Need Filter that caches resources - a more general Extensions Filter?

2008-02-01 Thread Simon Kitching
I have also done something like this in the past. It would be nice to add an implementation of this to one of the new myfaces-commons projects...but AFAIK there isn't like this anything available from the myfaces code at the moment. Matthias Wessendorf [EMAIL PROTECTED] schrieb: hey,

Re: performance comparison between 1.1.5 and 1.2.2?

2008-01-30 Thread Simon Kitching
Michael Heinen [EMAIL PROTECTED] schrieb: Another question is about the usage of jsf tags in 1.2.x Is it better to use plain html tags (if possible) instead of jsf-tags e.g. for images, divs etc when no EL expressions are used ? Yes, definitely. This is just a block of verbatim text,

Re: [Tomahawk] how to save input-values when pressed a button with immediate tag set?

2008-01-29 Thread Simon Kitching
Georg Füchsle [EMAIL PROTECTED] schrieb: Hallo! I have got a form with some input elements using the 'required'-tag. There is also a button that leads to an intermediate form with some extra input fields. This button has got the 'immediate'-tag set true, in order to allow this

Re: Tomahawk Sandbox promotion schedule?

2008-01-25 Thread Simon Kitching
+1 for subForm. Mike Kienenberger [EMAIL PROTECTED] schrieb: Leonardo, Thanks for volunteering. subForm and validateCompareTo definitely should be promoted, and have been requested frequently in the past (now becoming distant past). I'd also like to see submitOnEvent promoted.

Re: Long sessions (and IE)?

2008-01-24 Thread Simon Kitching
Bjørn T Johansen [EMAIL PROTECTED] schrieb: I am having a problem with an myfaces application... They are working on shifts, so I have set a long session timeout, so they don't have to login and out all the time... (Have set it to 720 ) The problem is, that when they have been away

Re: Long sessions (and IE)?

2008-01-24 Thread Simon Kitching
Simon Kitching [EMAIL PROTECTED] schrieb: Bjørn T Johansen [EMAIL PROTECTED] schrieb: I am having a problem with an myfaces application... They are working on shifts, so I have set a long session timeout, so they don't have to login and out all the time... (Have set it to 720

Re: navigation case

2008-01-23 Thread Simon Kitching
Kevin R. Gutch [EMAIL PROTECTED] schrieb: I have a method that returns a String value I use in a navigation-case. action=#{nav.step1} Can this value be used from a specific page defined in the from-view-id or must it be a wildcard? I cannot seem to get it to work with the former.

Re: Tomahawk Sandbox promotion schedule?

2008-01-23 Thread Simon Kitching
Jed Smallwood [EMAIL PROTECTED] schrieb: Hi, I'm a bit new to Tomahawk Sandbox components and they seem pretty useful, at least in the examples that I see on the irian.at web site. Unfortunately I'm having a hard time figuring out how to interact with he tags from a backing bean

Re: AW: t:saveState and redirect

2008-01-21 Thread Simon Kitching
Yes, RedirectTracker uses the server-side session. The combination of no-server-side-state, redirects and t:saveState is not possible. A redirect is by definition just a GET command. And there is no way to encode the state of anything in the query params of a GET command; they are just too

Re: [Myfaces] rendering images

2008-01-18 Thread Simon Kitching
Renzo Tomaselli [EMAIL PROTECTED] schrieb: Hi, in order to render attachments (images, documents, etc.) I use to follow the common pattern of catching the request in a phase listener, then inserting the contents in a response stream. Since I upgraded to Myfaces 1.1.5, I get the warning

RE: Myfaces-1.2.1-snapshot: Spring injected bean not available in @PostContruct method

2008-01-18 Thread Simon Kitching
Zheng schrieb: Yes, that's exactly how I inject spring beans. I am injecting a spring managed bean to a JSF managed bean. What do you mean by defining all beans in spring? Do you suggest I should have spring manage my JSF bean? Is it possible? Yes. Spring version 2.0 and later

<    1   2   3   4   5   6   7   8   9   >