see: http://www.mail-archive.com/users%40myfaces.apache.org/msg12124.html
Volker
Sean Schofield wrote:
> Can you give an example of how this verbatim thing is causing you
> problems? I tend to agree with the reasoning that Adam gave on this
> one.
>
> sean
>
> On 11/17/05, Martin Marinschek <[EMAIL PROTECTED]> wrote:
>
>>yes, my old friend f:loadBundle.
>>
>>major PITA, this thing ;)
>>
>>both that it is only evaluated in the JSP processing, but there only
>>in the render response phase - shouldn't that happen much earlier?
>>couldn't it be that we need the reference to an I18n text much earlier
>>in the lifecycle?
>>
>>regards,
>>
>>Martin
>>
>>On 11/17/05, Volker Weber <[EMAIL PROTECTED]> wrote:
>>
>>>I see the problems, but i still think it should be possible to have
>>>verbatim content inside of ajax updated components. And i don't see any
>>>chance to partialy re-execute the relevant jsp files .
>>>
>>>
>>>
>>>> - <c:if> will not re-execute, so if its condition has changed,
>>>
>>>could be replaced by using rendered attribute on jsf tags
>>>
>>>
>>>> - Resource bundles provided by <f:loadBundle> will not be available
>>>
>>>could be solved by a session scoped resource bundle tag
>>>
>>>
>>>> - Any EL expressions evaluated inside tags will not re-evaluate
>>>
>>>I currently don't know of those, but IMHO the evaluation of EL
>>>expressions should moved inside component or renderer than.
>>>
>>>
>>>So, to enable ajax updated panels we need custom tags for verbatim and
>>>loadbundle.
>>>
>>>Any more problems or other solutions ?
>>>
>>>Regards
>>> Volker
>>>
>>>
>>>Adam Winer wrote:
>>>
>>>>This is required by the spec because:
>>>>
>>>> - Performance - in the general case, saving the state for these is a waste
>>>> - Re-evaluation - if you've got, say, ${} EL expressions inside
>>>> <f:verbatim>,
>>>> or any dynamically generated content from a tag, you'd better re-run the
>>>> JSP or you'll be showing stale content.
>>>>
>>>>The second problem is important and cannot be resolved by changing
>>>>"transient" on f:verbatim.
>>>>
>>>>Note that you've got other, likely bigger problems if you attempt to render
>>>>without re-executing the JSP:
>>>> - <c:if> will not re-execute, so if its condition has changed, ah well
>>>> - Resource bundles provided by <f:loadBundle> will not be available
>>>> - Any EL expressions evaluated inside tags will not re-evaluate
>>>>
>>>>-- Adam
>>>>
>>>>
>>>>
>>>>On 11/16/05, Volker Weber <[EMAIL PROTECTED]> wrote:
>>>>
>>>>
>>>>>Hi,
>>>>>
>>>>>i just came over a problem with verbatim tags in ajax enabled components.
>>>>>see:
>>>>>http://www.mail-archive.com/users%40myfaces.apache.org/msg12124.html
>>>>>
>>>>>The UIOutput components created for verbatim tags are not saved to state
>>>>>because there are explicitly set to transient.
>>>>>
>>>>>This makes it impossible to use verbatim tags in content of ajax
>>>>>components.
>>>>>
>>>>>Is there a spec reason for this, then we should have a tomahawk
>>>>>verbatim, or is this just because of performance?
>>>>>
>>>>>If not a spec reason this should be changed because seems to be a bug.
>>>>>
>>>>>Regards
>>>>> Volker
>>>>>--
>>>>>Don't answer to From: address!
>>>>>Mail to this account are droped if not recieved via mailinglist.
>>>>>To contact me direct create the mail address by
>>>>>concatenating my forename to my senders domain.
>>>>>
>>>>
>>>>
>>>--
>>>-------------------------------------------------------------------------
>>> Volker Weber Dietrichsweg 38a 26127 Oldenburg Germany
>>> MAILTO:[EMAIL PROTECTED] HTTP://www.weber-oldenburg.de
>>>
>>
>>
>>--
>>
>>http://www.irian.at
>>
>>Your JSF powerhouse -
>>JSF Consulting, Development and
>>Courses in English and German
>>
>>Professional Support for Apache MyFaces
>>
>
>
--
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.