Messages posted by: MichaelBreu  XML
Profile for MichaelBreu -> Messages posted by MichaelBreu [18] Go to Page: Previous  1, 2
Author Message

I'm just upgrading a simple TextArea to an RichTextInput.

This works quite straight forward. However there was a character count feature attached to the old text area that limited the input to 3000 characters.

OK, I know all that issues with character counting in HTML code. However I would like to get something similar with the RichTextInput.

The best proposal for the FCKEditor I have found, was http://cksource.com/forums/viewtopic.php?f=5&t=4875&p=12120.
But it makes use of the FCKeditor_OnComplete mechanism, which is unfortunately already used by ICEFaces itself. Is there any other way to "hook" on the JavaScript-Code of FCKEditor?

Thank you for your support


I'm experiencing a problem with session timeouts:

Due to some specific security requriements, we have to handle page access control not via J2EE <security-constraints>, but through an explicit Security Servlet-Filter that checks whether the user has the approriate access rights.

If not, the user is redirected to a login-page.

This works perfect in standard J2EE-applications, however with ICE-Faces / Ajax it seems no create problems:

Pushing a Button after Session expiration, causes the Security-Filter to redirect (http-Status 307) the java-script-Request to the internal login-page, which seems to be misinterpreted by the calling java-script. The page get's stuck.

The logfile shows this problem:

2011-10-28 13:20:19,965 DEBUG [XXX.login.servlet.filter.SecLoginFilter] - access to protected resource 'XXX_Plattform_WebApp/faces/ui/admin/StatusMaintenance.xhtml' requires authentication.

2011-10-28 13:20:19,965 DEBUG [XXX.login.servlet.filter.SecLoginFilter] - serviceAuthorizeRequest() - redirect to: https://localhost:8443/XXX_Plattform_WebApp/faces/login/login.xhtml?faces-redirect=true&redir=%2FXXX_Plattform_WebApp%2Ffaces%2Fui%2Fadmin%2FStatusMaintenance.xhtml

My expectation would have been, that ICEFaces could deal with this situation, but it seems not.

I have no clue, how to resolve this problem.

Any hint is appreciated.


I'm working with ICE-Faces now quite some time. However I now have a serious problem, for which I didn't find any solution, although the requirement seems quite simple:

- I have a page with a (quite complex) presentation of data in three stacked data tables. This data table is generated on the fly using some filter configuration.

- On top of the page I have a filter form, that allows to set the filter configuration for data in the table. The filter uses some autocompletion according to
http://wiki.icefaces.org/display/ICE/Auto-Complete .

- The filter has a button "Apply" which should update the data table.

This work's fine with standard input text and drop-down boxes.

However entering data into the auto-complete fields updates the table immediately.

I suspect that this is due to the partial-commit effect of the auto-complete.

So my question is, how could I avoid the update of the datatable?

I have tried the following things, which didn't help

- Put the filter form into an extra <view><form>...</form></view>

- Use immediate="true" in the inputText

- Enclose it in a <iceCore:singleCommt>...</iceCore:singleCommit>

Thank you


Profile for MichaelBreu -> Messages posted by MichaelBreu [18] Go to Page: Previous  1, 2
Go to:   
Powered by JForum 2.1.7ice © JForum Team