« Return to Thread: Dynamic ui:include not working

Re: Dynamic ui:include not working

by Vivian Steller :: Rate this Message:

Reply to Author | View in Thread

You might want to check out the a4j:include control of Richfaces.

I think it does what you want:

"The  <a4j:include>  component is used for page areas update after an  
Ajax request according to
the faces-config Navigation Rules and for implementation of wizard-
like parts work in Ajax mode."

HTH.
Cheers,
Vivian

Am 22.04.2009 um 10:14 schrieb IGC:

>
> I have a similar problem and I would be extremely grateful to anyone
> providing a solution (or at least a workaround) for this problem.
> My scenario is as follows: I'm using Myfaces, Richfaces and  
> facelets. I have
> a .xhtml page divided in two sections and the content in both of  
> them are
> .xhtml pages provided by ui:include. I want to change the content of  
> each
> section from the other (when pressing a button or whatever) without
> reloading the whole page, because that would probably lead to  
> loosing the
> data the user has entered for the components on the other section -
> i.e. the
> "state" of the components.
> In other words, I'm trying to emulate a page with two frames where one
> frame's data is loaded dynamically when some action is done on the  
> other
> frame (and of course without loosing any data of any of both frames  
> on the
> way).
> Is there a way to achieve this purpose with facelets or should I  
> choose
> another technology (if this is the case, please tell me which other
> technology)?
>
> I repeat, I urgently need a solution to this problem, the whole  
> project I'm
> working on depends on it.
>
> Thank you very much in advance to anyone sharing some light on this  
> issue.
>
>
>
> PabloS wrote:
>>
>>
>>
>> I have a page with an ui:include defined as follows:
>>
>> <ui:include src="#{ANC.nextPage}" />
>>
>> where nextPage is a variable that is being changed by different
>> commandButtons.
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Dynamic-ui%3Ainclude-not-working-tp5414001p23171769.html
> Sent from the java.net - facelets users mailing list archive at  
> Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Dynamic ui:include not working