Re: Locking a webapp against parallel using

2007-10-30 Thread Simon Kitching
ULA UVULA [EMAIL PROTECTED] schrieb: I have written a jsf application which is maintaining a java data structure (bean). (BTW: I never have written any jsp pages, I direct starting with jsf). Is there any way to inform the users that another user is already manipulating this

Re: session expiry

2007-10-30 Thread Simon Kitching
Arvind Pandey [EMAIL PROTECTED] schrieb: In my appln we have kept session time out as 2 minutes. once we go to login page , an unknown session gets created for that page. But I stay on the login page for more than 2 minutes without doing anything. Then I enter username and

RE: Locking a webapp against parallel using

2007-10-30 Thread Mark Millman
Of course, you'll have to deal with sessions that don't properly log out. My experience is that the SessionListener is not always reliable and, in any event it you probably don't want to leave this lock on for any reasonable session timeout period. You might consider creating a timer that you use

RE: Locking a webapp against parallel using

2007-10-30 Thread Mark Millman
You might create an Application Scoped bean with a lock property. Setting and releasing that lock will have to by synchronized. For example, create a class as follows: public class LockSet { private boolean locked = false; public LockSet() { } public synchronized void setLocked(boolean

Re: [Trinidad] bad position/size of tr:panelPopup after moving from 1.0.2 to 1.0.3

2007-10-30 Thread Renzo Tomaselli
Using proper styling on all contained components *can* end up in proper sizing of the popup panel. However this fights against the usage of this panel as a generic container (e.g. non knowing about its contents), as it was performing well till 1.0.2. I wonder if there is any way to play with

Problem with JSCookMenu and it's actions

2007-10-30 Thread Tobias Kühne
Hello all, I'm trying to use the jscookmenu component. The menu is diplayed correctly, but the actions belonging to the navigationMenuItems aren't working. All I got when clicking on an item is this: HTTP Status 404 - /easywords/idJsp0_navmenu_menu:A%5Dsuccess type Status report message

panelGrid causing javax.crypto.BadPaddingException: Given final block not properly padded ?!

2007-10-30 Thread Wolf Benz
Hi all, Has anyone come acrosos this: I have the situation where a user can type some keywords that will be added to a choice list by clicking on a +, and removed from that choice list by clicking on the -. I've put these elements in a choice list, but after entering a word and clicking on the +,

RE: [Trinidad]: multiline table rows tr:table with nested tr:column - Tags

2007-10-30 Thread Kuhn, Harald
Hi there, any comments on this issue? Should this scenario theoretically work? Kind regards Harald ** Harald Kuhn AirPlus International Business Information Services Phone: +49 (0) 61 02 204-821 Fax: +49 (0) 61 02 204-139 E-Mail: [EMAIL

[Trinidad] Change Translation / Resource Bundle

2007-10-30 Thread David Uebelacker
Hi, is there a way to change the translations used by trinidad ? In detail i want to change the translation of the selection column header (Auswählen in the german bundle). Thanks, David

Re: [Trinidad] Change Translation / Resource Bundle

2007-10-30 Thread Matthias Wessendorf
Hi David, you can replace those words with a custom skinning. You can see in the trinidad-skins.xml in the demo bundle how you can add a resource bundle name: skin id purple.desktop /id family purple /family render-kit-id org.apache.myfaces.trinidad.desktop /render-kit-id style-sheet-name

RE: Input components display wrong values

2007-10-30 Thread Michael Heinen
How do you open your pages? Do you use ajax? What is your environment, your libraries, etc ? I have a similar problem in combination with ajax4jsf and sticky local/submitted values. -Original Message- From: simon.s [mailto:[EMAIL PROTECTED] Sent: Dienstag, 30. Oktober 2007 14:27 To:

Redirect to URL with param from navigation-case

2007-10-30 Thread Stas Ostapenko
Hi ! I want to implement such kind of functionality : navigation-rule from-view-id/add.jsp/from-view-id navigation-case from-outcomeadded/from-outcome to-view-id/view.jsf?myParam=#{myManagedBean.id}/to-view-id redirect/ /navigation-case /navigation-rule Actually, I want to

Input components display wrong values

2007-10-30 Thread simon.s
Hello! I am despaired: I have some components that should display and update my model. Now the problem: When I open the page the first time everything is ok, the correct values are displayed. When I open the page a second time some components have the right, some have the values they had the

RE: Input components display wrong values

2007-10-30 Thread simon.s
Hi! No, I do not ajax. Just a simple page. Simon Michael Heinen wrote: How do you open your pages? Do you use ajax? What is your environment, your libraries, etc ? I have a similar problem in combination with ajax4jsf and sticky local/submitted values. -Original Message-

Re: Redirect to URL with param from navigation-case

2007-10-30 Thread Mario Ivankovits
Hi! navigation-case from-outcomeadded/from-outcome to-view-id/view.jsf?myParam=#{myManagedBean.id}/to-view-id redirect/ Have a look at MyFaces-Orchestra. Especially at urlParamNav package [1] to get an idea how this can be done. I hope we can provide an implementation without

Re: Problem with JSCookMenu and it's actions

2007-10-30 Thread Gerald Müllan
Hi, why do you have specified the javascript location? Maybe the paths are wrong. cheers, Gerald On 10/30/07, Tobias Kühne [EMAIL PROTECTED] wrote: Hello all, I'm trying to use the jscookmenu component. The menu is diplayed correctly, but the actions belonging to the navigationMenuItems

Re: session expiry

2007-10-30 Thread Anton Gavazuk
Why you just don't exclude login page from being processed by you is session live filter? 2007/10/30, Simon Kitching [EMAIL PROTECTED]: Arvind Pandey [EMAIL PROTECTED] schrieb: In my appln we have kept session time out as 2 minutes. once we go to login page , an unknown session

Re: Redirect to URL with param from navigation-case

2007-10-30 Thread Matthias Wessendorf
good candidate, indeed. -M On 10/30/07, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi! navigation-case from-outcomeadded/from-outcome to-view-id/view.jsf?myParam=#{myManagedBean.id}/to-view-id redirect/ Have a look at MyFaces-Orchestra. Especially at urlParamNav package [1]

RE: Input components display wrong values

2007-10-30 Thread simon.s
For everyone who has the same problem, this is the answer: http://wiki.apache.org/myfaces/ClearInputComponents Regards Simon simon.s wrote: Hi! No, I do not ajax. Just a simple page. Simon Michael Heinen wrote: How do you open your pages? Do you use ajax? What is your

Re: Redirect to URL with param from navigation-case

2007-10-30 Thread Andrew Robinson
JBoss Seam does this On 10/30/07, Stas Ostapenko [EMAIL PROTECTED] wrote: Hi ! I want to implement such kind of functionality : navigation-rule from-view-id/add.jsp/from-view-id navigation-case from-outcomeadded/from-outcome

Re: Problem with JSCookMenu and it's actions

2007-10-30 Thread Tobias Kühne
Hi Gerald why do you have specified the javascript location? Maybe the paths are wrong. I changed the location, because I created an own theme for the menu. The paths were right, but there was a file called MyFacesHack.js missing... It works now, when I use one of the default themes...

Default check for multiselection in a table through BackingBean

2007-10-30 Thread Glen
Hi, I have check boxes in one of the columns in tr:table. I have a requirement to set some of check boxes checked by default on page load through Backing Bean. Can any body please let me know the procedure. IDE: JDeveloper 10.1.3.2.0 Thanks in advance Glen -- View this message in

Re: Locking a webapp against parallel using

2007-10-30 Thread Mike Kienenberger
Well, if your ORM supports optimistic locking, then it's far simpler. You don't have to worry about session timeouts or deadlocks since there's no lock to clean up.The commit sql fails if someone else changes it first, and you can also write a recovery procedure if you want to try to handle

[Orchestra] Are you using Orchestra ?

2007-10-30 Thread Matthias Wessendorf
Hi, are you using Apache MyFaces Orchestra ? Please add your company to this list, if not already listed. http://wiki.apache.org/myfaces/Companies_Using_Orchestra Thanks! Matthias -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ mail:

[announcement] JTK: An Ajax JSF Component Development Framework

2007-10-30 Thread noah
Hi Guys, I've got a little sales pitch, but it's not too OT :) If you've ever had to develop a JSF component, you know it's not the simplest thing in the world. If you want to Ajax enable your component, you can either roll your own Ajax framework, which makes it a big hassle for anyone that

Custom component required message

2007-10-30 Thread pdt_p
Hi... I create a custom component. In this custom component, it's contained 4 input texts. If I set required to true, and submit the form by not entering any value into that component, the form won't submit but the required error message is not displayed. I think the validation is working fine

Problem while Requesting a .JSF page from Ajax Call

2007-10-30 Thread Kazim Raza
Hi, I want to request a JSF page within a JSF page as an AJAX Request using Prototype. I have done is:- I am writing a JSF page say welcome.faces and after this page loads up I am sending an Ajax Request Like -- Used prototype.js here. new Ajax.Request('another.faces',{method: 'post',