Components using AddResource and Ajax

2006-09-24 Thread ElishaMoshe
I have a jspx with t:inputCalendar wrapped within a h:form. In this form I also have an a4j:commandButton that renders only the form. When I press the a4j button the page loses the components. In the console I see: 21:06:04,281 WARN [DefaultAddResource] Response has no head or body tag I saw

Re: MyFaces 1.1.4 with Struts-Faces 1.3.5

2006-09-24 Thread Matthias Wessendorf
http://issues.apache.org/jira/browse/MYFACES-1421 On 9/24/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: that is a bug in myfaces, I'll fix it next days. The problem is caused by _ComponentUtils. On 9/23/06, Colin Doyle [EMAIL PROTECTED] wrote: Hello, I had a struts-faces form

STATE_SAVING_METHOD client security

2006-09-24 Thread fischman_98
I am using STATE_SAVING_METHOD set to client. I have a session scoped bean that performs login/logout methods and has two properties with public getter/setters, username password. The problem: 1. A user logs in successfully, does some work, logs out. 2. The session is invalidated when the

STATE_SAVING_METHOD client state resubmitted

2006-09-24 Thread fischman_98
I am using STATE_SAVING_METHOD set to client. I have a session scoped bean that performs login/logout methods and has two properties with public getter/setters, username password. The problem: 1. A user logs in successfully, does some work, logs out. 2. The session is invalidated when the

Re: STATE_SAVING_METHOD client security

2006-09-24 Thread Gerald Müllan
Hi, never had this requirement, but you can hang in a javascript function after hitting the back button and delete the state which is saved on the client. E.g. the dojo toolkit has a nice mechanism to pointcut in between. But it is just a quick thought, don`t know if it would work correctly :)

Does myfaces has grid component?

2006-09-24 Thread Anthony Hong
Currently I use tomahawk t:dataTable component. I'd like something like activewidget grid component. Is there an existing components I can use? If not, how to add column sizing function to table column -- Anthony Hong

Re: Does myfaces has grid component?

2006-09-24 Thread Andrew Robinson
t:column style=width: 150px/t:column ? On 9/24/06, Anthony Hong [EMAIL PROTECTED] wrote: Currently I use tomahawk t:dataTable component. I'd like something like activewidget grid component. Is there an existing components I can use? If not, how to add column sizing function to table column --

Re: Errors on page

2006-09-24 Thread Martin Marinschek
Yes, it's necessary for the command-links of the tabbed-pane to have a form around them. That's only true of recent releases - before we tried to render a dummy-form for the links. We got rid of the dummyForm behaviour a while ago - as it was incompatible with the RI-way of doing things.

Re: STATE_SAVING_METHOD client security

2006-09-24 Thread Martin Marinschek
No, wouldn't work, I suppose. With javascript functions, you can only edit the DOM-content - but not the existing HTML-page in the browser cache. So the state will still remain there. You need to provide a token in the client-side saved state - much like the session-id in server-side state

Re: Omit component from serializeView()?

2006-09-24 Thread Martin Marinschek
Hi Jeff, this is most probably a problem with com.crystaldecisions.reports.reportengineinterface.JPEReportSource not implementing the StateHolder - interface properly. It would need to have a line implements StateHolder and the two methods restoreState and saveSate available, plus a public

Re: Crystal renderer-type unsupported?

2006-09-24 Thread Martin Marinschek
Hmm, interesting. I would have thought this exact error-message stems from the fact that the component does not set the default renderer type in its constructor, and is added dynamically to the page. Haven't got a clue why putting a form around the component would change anything. Having a

Re: Does myfaces has grid component?

2006-09-24 Thread Anthony Hong
I mean dynamic column sizing. On 9/25/06, Andrew Robinson [EMAIL PROTECTED] wrote: t:column style=width: 150px/t:column ? On 9/24/06, Anthony Hong [EMAIL PROTECTED] wrote: Currently I use tomahawk t:dataTable component. I'd like something like activewidget grid component. Is there an