Re: Submitted values lost - view is refilled everytime with model values

2007-05-01 Thread Torsten Krah
Got it - maybe.

This works:

!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
xmlns:f=http://java.sun.com/jsf/core;
xmlns:h=http://java.sun.com/jsf/html;
xmlns:clay=http://shale.apache.org/clay;
xmlns:s=http://shale.apache.org/core;
xmlns:t=http://myfaces.apache.org/tomahawk;
head
titlespan jsfid=h:outputText value=@title//title
meta http-equiv=Content-Type content=text/html; charset=utf-8 /
/head
body
div id=content
 span jsfid=clay clayjsfid=@content
allowbody=falseContent/span
/div
/body
/html

This works not:

!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
xmlns:f=http://java.sun.com/jsf/core;
xmlns:h=http://java.sun.com/jsf/html;
xmlns:clay=http://shale.apache.org/clay;
xmlns:s=http://shale.apache.org/core;
xmlns:t=http://myfaces.apache.org/tomahawk;
span id=view jsfid=f:view locale=en /
head
titlespan jsfid=h:outputText value=@title//title
meta http-equiv=Content-Type content=text/html; charset=utf-8 /
/head
body
div id=content
 span jsfid=clay clayjsfid=@content
allowbody=falseContent/span
/div
/body
/html


Removing the span for the f:view which assigns my locale (tested, i
can use a static value or a EL expression, both works assigning the
locale), but both breaks the formular.

Removing the span - magic my formular work, no values are lost.
Taking it back it breaks again.

Can anyone confirm this? If yes, i am going to open a jira issue.

Torsten


smime.p7s
Description: S/MIME cryptographic signature


s:inputSuggestAjax an Shale/Clay

2007-05-01 Thread Hermod Opstvedt
Hi

Has anybody made the inputSuggestAjax component work in a Shale/Clay
environment. It's posting to the server, but it's not calling my method on
the configured bean. It just disapears

Hermod