Re: t:schedule - out of memory

2007-05-12 Thread Thorbjørn Ravn Andersen
Tomek Szpinda skrev den 11-05-2007 16:35: java.lang.OutOfMemoryError: Java heap space It looks to me(probably I'm wrong:)) that Tomcat doesn't release memory after session.invalidate()? You need to ensure yourself that your objects can be garbage collected by removing all the reference

Re: [ABOT] Sending pdf file from webserver to browser?

2007-01-17 Thread Thorbjørn Ravn Andersen
Bjørn T Johansen skrev den 16-01-2007 14:42: I have a myfaces webapp that uses a report component to generate a pdf file on the server. This file is sent to the browser and the user then get a choice of saving the file or opening the file, eg. in Acrobat. And I was wondering, it is possible t

Re: getDataModel is not called on dataTable

2006-12-30 Thread Thorbjørn Ravn Andersen
Igor Laberov skrev den 22-08-2006 08:12: I think that the problem is not only in dataTable - all actions in commandLinks aren't invoked in this page. Are you sure that the data in the fields on the page passes validation? -- Thorbjørn smime.p7s Description: S/MIME Cryptographic Signature

Re: Changing a JSP-file does not rebuild view properly.

2006-12-28 Thread Thorbjørn Ravn Andersen
Mike Kienenberger skrev den 18-08-2006 17:00: Search for "facelets" :-) I was wondering on that too. At the current moment facelets are not an immediate option. But if you're really stuck with JSPs, then I'd recommend searching the container documentation for the ability to turn off cach

Re: javax.servlet.ServletException: Client-id : _idJsp0 is duplicated in the faces tree.

2006-12-01 Thread Thorbjørn Ravn Andersen
behrangsa skrev den 16-11-2006 03:12: Also, sometimes when I change the value attribute of an outputText and press F5 to see the changes, the changes are not reflected... any ideas what should I do to make these glitches go away? I have only found the work-around to give the surrounding h:for

Re: How can I debug a MyFace application

2006-11-13 Thread Thorbjørn Ravn Andersen
ying lcs skrev den 07-11-2006 21:34: but when I click the 'button', nothing happens. Are you sure that all fields in your form passes validation? If not, the action is not invoked but the page redisplayed in order to show the corresponding error messages. The log of the webserver may als

Re: [O/T] JSF Best Practices for Authentication/Authorization

2006-11-04 Thread Thorbjørn Ravn Andersen
Jeff Bischoff skrev den 03-11-2006 22:19: I have a simple intranet application. There is a public (no auth) section, and a secure section for logged-in users. My main requirement is simple. I want to force the users to authenticate (log in) before they access the restricted portion of the ap

Re: Problems with and

2006-09-25 Thread Thorbjørn Ravn Andersen
Mike Kienenberger skrev den 18-09-2006 01:52: Hey Greg, I finished doing this in my application a couple of weeks ago. I used t:selectOneRadio and t:radio. I had to extend t:radio to allow it to take an onclick attribute. I was going to hold off until the 1.1.4 Tomahawk branch before commit

Re: InputCalendar: replace default date converter

2006-09-17 Thread Thorbjørn Ravn Andersen
Volker Weber skrev den 16-09-2006 23:15: Just took a look at the sources, and you are right :-(. There is a hardcoded default converter inside the calendarRenderer. So the only solution is adding the converter attribute to all your tags. Sounds like it would be nice to have. Perhaps raise a bu

Re: f:attribute problem

2006-09-15 Thread Thorbjørn Ravn Andersen
Iordanov, Borislav (GIC) skrev den 15-09-2006 18:33: Well, thanks, but still, isn't that a bug in f:attribute? As I understand it, the f:attribute expression is evaluated at a different time where the sRequest variable is not in scope anymore. -- Thorbjørn smime.p7s Description: S/MIME

Re: f:attribute problem

2006-09-15 Thread Thorbjørn Ravn Andersen
Iordanov, Borislav (GIC) skrev den 15-09-2006 18:25: Hi, Given the code: The value of #{sRequest.id} in the outputText tag is correctly evaluated (it displays), but not so for the f:attribute where the evaluation returns null. Any idea why? I need to attach th

How to disable component caching when recompiling JSP-page?

2006-09-12 Thread Thorbjørn Ravn Andersen
I have found that during development I often have to manually increment a id attribute on the h:form tag in order to have changes picked up in the view. My gut feeling is that changing attributes is not discovered. Is there a way to tell myfaces + tomahawk (both 1.1.3) to build a page view co

Re: Source for anything in 1.1.4?

2006-09-11 Thread Thorbjørn Ravn Andersen
Wendy Smoak skrev den 11-09-2006 22:13: On 9/11/06, Thorbjørn Ravn Andersen <[EMAIL PROTECTED]> wrote: Unfortunately I feel rather noobish right now. Which 2.0.x snapshot is the one corresponding to 1.1.3? MyFaces Core 1.1.3 goes with Shared 2.0.1 Tomahawk 1.1.3 goes with Shared

Re: Source for anything in 1.1.4?

2006-09-11 Thread Thorbjørn Ravn Andersen
Mike Kienenberger skrev den 11-09-2006 21:39: Thorbjørn, I don't think it's even necessary to get the source from svn. I think all you need to do is go to the maven repository containing 1.1.3 and grab the prebuilt source jar from there. http://people.apache.org/maven-snapshot-repository/org/a

Re: AW: RE: Problem with

2006-09-11 Thread Thorbjørn Ravn Andersen
[EMAIL PROTECTED] skrev den 11-09-2006 14:10: I can confirm - multiple jsp:include's - session scope bean - subview does not fix it. I had some mysterious errors when I had a form inside a form. Perhaps this is the issue here too? -- Thorbjørn smime.p7s Description: S/MIME Cryptograp

Re: RichList and SelectBooleanCheckbox

2006-09-11 Thread Thorbjørn Ravn Andersen
[EMAIL PROTECTED] skrev den 11-09-2006 17:02: The problem I have now is that I would like the user to select some persons in this list and getting the list of selected persons in my program. I was thinking of putting a SelectBooleanCheckbox in front of each row of this table but then I cannot ge

Re: SelectOneMenu

2006-09-11 Thread Thorbjørn Ravn Andersen
Gerald Müllan skrev den 11-09-2006 12:25: The value of the selectOneMenu in the backend will then include the id of the entity. Just being curious. Will an malicious attempt to set the id to a value NOT in the list given (by handcrafting a response) be allowed to update the property in the

Re: Source for anything in 1.1.4?

2006-09-11 Thread Thorbjørn Ravn Andersen
Jeff Bischoff skrev den 11-09-2006 19:35: And they've already announced (back in May) that releases 1.1.4 and foward will again have sources as part of the release. Mike Kienenberger wrote: It's already there. The refactored source is in a jar in the target directory for shared-tomahawk and

Source for anything in 1.1.4?

2006-09-11 Thread Thorbjørn Ravn Andersen
Wendy Smoak skrev den 11-09-2006 18:09: The shared code gets re-packaged at compile time, so the package name won't match exactly. Would it be a big effort to release the sources corresponding to the binaries when creating a new version? I have had to understand some rather mysterious excep

Changing a JSP-file does not rebuild view properly.

2006-08-18 Thread Thorbjørn Ravn Andersen
I have had a problem for a while and I would appreciate a hint regarding which words I should use with google to find the solution :) I do iterative development of JSF in JSP-pages, and I have found that apparently the view built in the page is somehow cached, and that cache is not correctly i