DataTable Single Row Selection with Radio button column

2005-10-05 Thread Cenk Çivici
I have written a small component to do this. If anyone is interested the url is http://jroller.com/trackback/cenkcivici/Weblog/jsf_datatable_single_row_selection

1.1.1 rc2 out and ready for testing

2005-10-05 Thread Bill Dudney
Hi All, The next RC is out on http://svn.apache.org/builds/myfaces/release Please test, don't use in production environments, don't use if you don't have time to experience bugs, etc, etc etc. Thanks for testing! TTFN, Bill Dudney Virtuas - www.virtuas.com EiC Eclipse Developer Journal -

Re: t:saveState server/client ... or request/session

2005-10-05 Thread Martin Marinschek
Ok, to shed some light on this: - in the JSF RI, there is encryption on the client side - we have not implemented it so far, (this was after 1.1) cause we have no one here with too much time and experience in this. It should be not too hard though with the RI as an example and the java security

Re: Tiles standalone

2005-10-05 Thread Carl
I've found that I have been able to do everything I have wanted using jsf. You can, for example, "include" a bullet list in another page by doing something like this: h:outputText value="ulli#{index.HomePageText3}/li li#{index.HomePageText4}/li li#{index.HomePageText5}/li

Re: Tiles standalone

2005-10-05 Thread Cenk Çivici
Sorry the correct link is http://www.jroller.com/page/cenkcivici?entry=jsf_datatable_single_row_selection

Re: Tiles standalone

2005-10-05 Thread Martin Marinschek
Fancy contributing this to MyFaces? regards, Martin On 10/5/05, Cenk Çivici [EMAIL PROTECTED] wrote: Sorry the correct link is http://www.jroller.com/page/cenkcivici?entry=jsf_datatable_single_row_selection -- http://www.irian.at Your JSF powerhouse - JSF Trainings in English and German

Re: t:saveState + ListDataModel+ client state saving = NotSerializableException

2005-10-05 Thread Mathias Brökelmann
The resulting state object will not be serialized if state is held on server. It is simply put into the session as it is. 2005/10/5, Dennis Byrne [EMAIL PROTECTED]: Can someone please explain the behavioral differences of the following two scenarios? The JSP in both cases has t:saveState

Re: t:saveState + ListDataModel+ client state saving = NotSerializableException

2005-10-05 Thread Martin Marinschek
? the last time I looked, MyFaces serialized the session objects whatever the state-saving setting was, actually something we should make configurable. Has this changed? regards, Martin On 10/5/05, Mathias Brökelmann [EMAIL PROTECTED] wrote: The resulting state object will not be serialized

deleting nodes in tree2

2005-10-05 Thread Alban Coulange
Hello, I would like to know if I was deleting nodes correctly in the tree. I get the tree : * FacesContext facesContext = FacesContext.getCurrentInstance(); ht = (HtmlTree) facesContext.getViewRoot()

Re: t:saveState + ListDataModel+ client state saving = NotSerializableException

2005-10-05 Thread Werner Punz
I have written a non serializing scope control based upon savestate a while ago, it still is lingering in jsf-comp I will dump it in the sandbox next weekend. What I did basically was to bypass the entire serialisation within the component entirely and to dump it into the session and having a

Re: Login system security

2005-10-05 Thread Grigoras Cristinel
Hi, The standard approach is the best. Is most easy to set and, is working always, and will not need other library. Cristi. Darren Hartford wrote: The approached I've been using is the normal webapp JAAS/security-constraint approach. As far as integrating this within the JSF framework, I use

JavaScript submit() valueChangeListener wrong Phase

2005-10-05 Thread Felix Japs
Hi, I use JavaScript to submit the form when a user clicks on a checkbox. The checkbox fires a valueChangeEvent. I have implemented a valueChangeListener. When the valueChangeListener is called the attributes which are bind to the inputText Components have the old values. Probably because the

Re: Portlet Modes (was: Issue with MyFacesGenericPortlet)

2005-10-05 Thread Dave Brondsema
Patrick Dalla Bernardina wrote: How can I call an managed bean action when portlet mode (EDIT,VIEW) is changed and process the navigation rules to discover the page to be rendered? You can use http://wiki.apache.org/myfaces/UsingPortletModes as a starting point. To invoke a managed bean

Re: Sun's blueprints and MyFaces

2005-10-05 Thread Dave Brondsema
Benjamin Shrom wrote: Hello, Was anybody was able to get Sun's blueprints Progress Bar to work with MyFaces? Whatever they did - it's not crossplatform compatible... :-( Please, share if you have any other suggestions for Progress Bar and JSF component. Regards, Benjamin.

Re: Sun's blueprints and MyFaces

2005-10-05 Thread Matthias Wessendorf
Benjamin- I ran into several issues with the code back then. a) The code had dependencies into the com.sun hierarchy which is not in MyFaces and also cannot be they are posting back the full state of client side state saving info. That parameter is not specified (will be in 1.2). So state

Re: deleting nodes in tree2

2005-10-05 Thread Christian Froelich
Hi, could you explain HOW you delete the nodes? Do you click on a node, represented by a commandLink or do you use checkboxes..or.. I had a similar problem changing the treeModel of tree (not tree2). I implemented my own sorting for a treeTable using t:tree. After a click on a commandLink which

Re: MYFACES-656

2005-10-05 Thread Boris Kovalenko
Hello! Hmm... but TimeZone.getDefault() returns type of TimeZone, not the Date! your right, it must be public TimeZone getTimeZone() { return TimeZone.getDefault();} but this is the object type as expected by the timeZones valueExpression in the converter. Ok, this helps... now local dates

Re: Login system security

2005-10-05 Thread Duncan Mills
Several Points here 1) Using Security Attributes within your pages. I'm about to release 1.0 of the jsf-security project on SourceForge (www.sourceforge.net/projects/jsf-security) this provides extensions to EL which will give you a new scope #{securityScope} and a bunch of attributes and

DataTable Single Row Selection using Radio Button

2005-10-05 Thread Cenk Çivici
Correct url is http://www.jroller.com/page/cenkcivici?entry=jsf_datatable_single_row_selection

JSCookMenu + Facelets

2005-10-05 Thread Marco Barbi
Hi, I've been experiencing many problems using JSCookMenu + Facelets: 1) x:jscookMenu layout=hbr theme=ThemeOffice id=app_menu x:navigationMenuItem itemLabel=#{bundle.menu_Exit} action=#{login.logout} icon=/ /x:jscookMenu This raises the following Exception: VE: Error Rendering View

AW: JavaScript submit() valueChangeListener wrong Phase

2005-10-05 Thread Felix Japs
could you please post some code snippets?? ValueChangeListener/JSP/JSF/JS for form submit... I've found a solution: HtmlSelectBooleanCheckbox booleanEingabe = (HtmlSelectBooleanCheckbox) application.createComponent(HtmlSelectBooleanCheckbox.COMPONENT_TYPE);

Re: Portlet Modes

2005-10-05 Thread Patrick Dalla Bernardina
Ok, I had already seen this wiki page. An implemented a subclass o MyFacesGenericPortlet that implements these methods. But it has some limitations. First: I can't call an managed bean action when the mode is changed. Second: The rules in navigation rules are not followed. Third: It don't

MyFaces/Facelets integration

2005-10-05 Thread Ryan Wynn
Has anyone come across a problem where the facelet viewHandler does not interpret MyFaces core tags (e.g. h:commandLink)? In my case it is simply writing the source to the response. I think my namespaces are all correct. When I first access the page the myfaces RenderKitFactoryImpl successfully

Re: new thought about saveState

2005-10-05 Thread Zhong Li
Thank you all for comments. I go deeper for the path, I added DataSaveListener for it, you can use DataSaveListener to process DataSaveEvent . Also added another Contructor for SaveData with addtional parameters isLocked and isAutoRemovable. isLocked means pages have to have consume at least one

Re: Portlet Modes

2005-10-05 Thread Patrick Dalla Bernardina
With your help I've made an improvement to the implementation in wiki page. Before calling nonFacesRequest I call an action of an bean called PortletBackBean. If this bean is not declared in managed beans, no method is called. I'm showing only doEdit, but the same can be applied to doView.

Re: Portlet Modes

2005-10-05 Thread Patrick Dalla Bernardina
It can be improved by getting the action to be executed from portlet preferences. instead of fctx.getApplication().createMethodBinding(#{PortletBackBean.edit}, null); use fctx.getApplication().createMethodBinding(request.getPreferences().getValue(VIEW_ACTION,#{PortletBackBean.view}), null);

Re: Portlet Modes

2005-10-05 Thread Patrick Dalla Bernardina
What is setPortletRequestFlag(request); for? Dave Brondsema wrote: Cool. Make sure you call setPortletRequestFlag(request); before nonFacesRequest. It might be useful to include part of this on the wiki page as an example for anyone else who wants to do that. Patrick Dalla Bernardina

tree2: How to get the expand event to load more data?

2005-10-05 Thread Marcel Ruff
Hi, when a user clicks on the '+' image of the tree to expand it, i would like to intercept this click to load more data into my tree model. How can i register for such an event? Some code snippets showing the work flow would be very helpful, thanks Marcel PS: I have found some older

Re: JSF Webflow support?

2005-10-05 Thread Craig McClanahan
On 10/4/05, Boyce, Keith Garry [EMAIL PROTECTED] wrote: Hi Craig, Did you ever get back to helping the Spring Webflow project with jsf integration. As a matter of fact, I have. I'm corresponding with Coiin and Keith as they took my starting prototype and are making it into a high quality,

Re: Tree2 does not select node

2005-10-05 Thread Carsten Burghardt
Am Sunday 02 October 2005 23:43 schrieb Carsten Burghardt: Am Thursday 29 September 2005 16:08 schrieb Sean Schofield: At a glance there doesn't seem to be anything wrong with your approach. Perhaps your styles are not available. Try replacing #{t.nodeSelected ? 'nodeSelected':'node'}

Re: Portlet Modes

2005-10-05 Thread Patrick Dalla Bernardina
New release of doEdit and doView: In this code, facesRender is called. An action configured in EDIT_ACTION portlet preference is called and the result is passed to handleNavigation. handle navigation looks for an navigation rule where from can be * or value of DEFAULT_EDIT portlet init

RE: JSF Webflow support?

2005-10-05 Thread Dani Kenan
Hi, Do you have an estimation when to expect the first version? Also, does this mean we better not use shale dialog but rather wait for the spring webflow integration? Thanks, Dani From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig McClanahan Sent:

Re: Login system security

2005-10-05 Thread Dave
This is great! I posted a message before about how to login without any protected page. I looked at authenticator package where thereis FormAuthenticator. I like to do similar, but without a protected page. User can click a login link and register all necessary info with session after successful

Re: t:saveState server/client ... or request/session

2005-10-05 Thread Simon Kitching
Martin Marinschek wrote: Ok, to shed some light on this: Thanks for all the info! - in the JSF RI, there is encryption on the client side - we have not implemented it so far, (this was after 1.1) cause we have no one here with too much time and experience in this. It should be not too hard

Tree2 - on-demand load capable?

2005-10-05 Thread Eric Pias
Hello, I would like to implement a Tree2 that loads child nodes on demand. What I would like to do is sub-class TreeNode or something else and when the user clicks the + on a node, at that point my code would go out and get just the first level children under that node. I have tried

Re: t:saveState server/client ... or request/session

2005-10-05 Thread Martin Marinschek
You may not use it as a reference, but as an example! regards, Martin On 10/5/05, Simon Kitching [EMAIL PROTECTED] wrote: Martin Marinschek wrote: Ok, to shed some light on this: Thanks for all the info! - in the JSF RI, there is encryption on the client side - we have not