Realm timeout on file upload (Tomcat)

2006-11-27 Thread Daniel Haensse
--- Begin Message --- Dear list, max file upload size is set to 100MB, session timeout is set to 15 minutes. After 15 minutes of upload, the session timeouts. I this behaviour wanted? I would expect that there is no timeout as long as the file upload is in progess. Any hints how to modify this be

Realm timeout on file upload (Tomcat)

2006-11-26 Thread Daniel Haensse
Dear list, max file upload size is set to 100MB, session timeout is set to 15 minutes. After 15 minutes of upload, the session timeouts. I this behaviour wanted? I would expect that there is no timeout as long as the file upload is in progess. Any hints how to modify this behaviour? regards Dani

Re: Servlet and myfaces (resolved)

2006-08-13 Thread Daniel Haensse
Hi John, > My particular use is within a servlet filter. AbstractFacesServlet extends HttpServlet. I have no experiences with Filters. Below the source code of the AbstractFacesServlet class in case the link from previous email get broken. regards Dani import javax.servlet.ServletConfig; publi

Re: Servlet and myfaces

2006-08-13 Thread Daniel Haensse
Hey Dani, that is really a greenhorn's question ;-) check this http://wiki.apache.org/myfaces/AccessFacesContextFromServlet http://mail-archives.apache.org/mod_mbox/myfaces-users/200606.mbox/[EMAIL PROTECTED] The servled would look like this, the managed bean has the name "appModel" and class

Re: Unstable

2006-08-12 Thread Daniel Haensse
thanks you Mike and Murat, upgrading to the 1.1.4 snapshot solved the problem for me regards Dani

Unstable

2006-08-12 Thread Daniel Haensse
Dear list, I'm using myfaces-core 1.1.2 and tomahawk 1.1.3. Reloading the main page 8 times gives me the following error. Any hints to isolate the problem? I used myfaces-core 1.1.3 before, but this was not stable either ( http://www.mail-archive.com/users@myfaces.apache.org/msg25703.html ) lo

Re: Tree2 rebuild node expansion

2006-07-30 Thread Daniel Haensse
found it out, setTransient(true) must be set to load the state from the server Dani // Invalidate and rebuild tree this.treeModel = null; // this.htmlTree = new HtmlTree(); this.htmlTree = null; this.selectedNode = n

PhaseListener problem

2006-07-28 Thread Daniel Haensse
Hi list, after upgrade to MyFaces Core 1.1.3 Tomahawk 1.1.3 I get this, any clue? regards Dani 28.07.2006 18:36:20 org.apache.myfaces.lifecycle.PhaseListenerManager informPhaseListenersAfter SCHWERWIEGEND: Exception in PhaseListener RENDER_RESPONSE(6) afterPhase java.lang.NullPointerExcepti

Re: inputSecret

2006-07-28 Thread Daniel Haensse
Thank you Guy for the quick answer. Am Freitag, 28. Juli 2006 17.38 schrieb Guy Coleman: > On 28/07/2006 16:22, Daniel Haensse wrote: > > Dear list, > > > > using > > > > invokes the password manager in some browsers. This is used to > > administrat

inputSecret

2006-07-28 Thread Daniel Haensse
Dear list, using invokes the password manager in some browsers. This is used to administrate user passwords. Is there a way to influence this within myfaces, that the password manager does not get triggered, it's annoying to click it away. I don't want to completely switch the manager off.

Re: Tree2 rebuild node expansion

2006-07-25 Thread Daniel Haensse
> This question has been already asked several times. right but my question was rather where has it been answered :-) Could you please be more specific. I can't find it. It's also confusing as API has changed recently. Dani

Tree2 rebuild node expansion

2006-07-23 Thread Daniel Haensse
Dear list, I implemented some simple code that rebuilds my tree if necessary (serverside). Now I would like to expand all nodes, that were previously expanded before the rebuild. Any idea how this could be done? Function that rebuilds the tree: private void rebuildTreeData() {

Myfaces bean and servlet facescontext, need heelp!!

2006-06-11 Thread Daniel Haensse
Dear list, I have trouble to access baking bean or getLocale form a servlet. The mechanism should allow to set locale from a baking bean and then a button is drawn by the servlet, depending on locale setting and bean state. Maybe someone can help. Can't find a way to solve this, looks like I'm

Servlet and myfaces

2006-06-05 Thread Daniel Haensse
Dear list, I would like to combine servlet and myfaces in an application. In Myfaces, if a user logs in, a session is opened. A managed bean for the visual stuff and a managed bean for the model are started in this context (registered with session scope in faces-config). The servlet should now

Re: [tree2] Re: Get selected node with getNode()

2006-06-04 Thread Daniel Haensse
k the > tree what the current node is. > > Sean > > On 5/30/06, Daniel Haensse <[EMAIL PROTECTED]> wrote: > > Hi Sean, > > > > thanks for the quick reply. I don't understand your answer :-( > > > > My problem is that getNode() does not e

Re: [tree2] Re: Get selected node with getNode()

2006-05-29 Thread Daniel Haensse
Hi Sean, thanks for the quick reply. I don't understand your answer :-( My problem is that getNode() does not exist anymore in class TreeModelBase. Eclipse claims that "The method getNode() is undefined for the type TreeModelBase" in the line this.selectedNode = this._treeModel.getNode(); (see

Get selected node with getNode()

2006-05-27 Thread Daniel Haensse
Dear list, with tomahawk 1.1.2 in tree2 the getNode() member function is no longer implemented in the class TreeModelBase. Is their a work around, I would like to get the user selected item of the tree, currently I placed a action="#{mainScreenView.selectedNode}" as commandLink on each item.