|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
[Trinidad] need Naming-Container "without visible html output" for partialTriggersHi,
i need a trinidad component with an attribute "partialTriggers", that doesn't have a "visible html output". How can i realize something like that? I am using facelets an need this feature especially for templating with <ui:define> etc. Any suggestions? best regards Daniel |
|
|
Re: [Trinidad] need Naming-Container "without visible html output" for partialTriggersThat is not valid. For AJAX/PPR to work there has to be HTML output to replace. Use css to hide the data if you want (display: none)
On Jan 17, 2008 7:02 AM, Daniel Niklas <daniel.niklas@...> wrote:
|
|
|
Re: [Trinidad] need Naming-Container "without visible html output" for partialTriggersHi Andrew,
I don't want to hide "html-regions". I need a ppr/trinidad naming-container with an attribute "partialTriggers ". This container shoud not affect my layout. I need partialTriggers for a <ui:define>. Because facelets doesn't know the ppr-features of trinidad, i had to put in another trinidad component here. I want to realize something like this: <ui:define name="myArea" partialTriggers="one two" /> Daniel |
|
|
Re: [Trinidad] need Naming-Container "without visible html output" for partialTriggersui:define is not a JSF component. It is only a tag handler. To be able to support partialTriggers, there must be a component and there must be a corresponding HTML element for the component. These are not optional.
You have to put a component inside the define that produces HTML with the partialTriggers. If you are feeling adventurous, you can create you own custom component that uses a custom tag handler that extends DefineHandler. It should be feasible, but would require some research into the facelets code on your part. There may be other ways to do this, but all involve in depth knowledge of the facelets code and writing custom components and tag handlers. On Jan 18, 2008 5:55 AM, Daniel Niklas <
daniel.niklas@...> wrote:
|
|
|
Re: [Trinidad] need Naming-Container "without visible html output" for partialTriggers> There may be other ways to do this, but all involve in depth knowledge of
> the facelets code and writing custom components and tag handlers. the tobago project has some facelets extension code already. -M > > > > On Jan 18, 2008 5:55 AM, Daniel Niklas < daniel.niklas@...> > wrote: > > > > Hi Andrew, > > > > > > > > Andrew Robinson-5 wrote: > > > > > > That is not valid. For AJAX/PPR to work there has to be HTML output to > > > replace. Use css to hide the data if you want (display: none) > > > > > > > I don't want to hide "html-regions". I need a ppr/trinidad > naming-container > > with an attribute "partialTriggers ". This container shoud not affect my > > layout. > > > > I need partialTriggers for a <ui:define>. Because facelets doesn't know > the > > ppr-features of trinidad, i had to put in another trinidad component here. > > > > I want to realize something like this: > > > > <ui:define name="myArea" partialTriggers="one two" /> > > > > Daniel > > -- > > View this message in context: > http://www.nabble.com/-Trinidad--need-Naming-Container-%22without-visible-html-output%22-for-partialTriggers-tp14919183p14949370.html > > > > > > > > Sent from the MyFaces - Users mailing list archive at Nabble.com. > > > > > > -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf mail: matzew-at-apache-dot-org |
|
|
RE: [Trinidad] need Naming-Container "without visible html output" for partialTriggersHi Daniel,
could you find a solution for your problem? I'm looking for similar component. I thought I could use tr:group, but that would most of time not rendered. Is there no simple component (i. e. which creates just a div) which could be used? Currently, I'm using tr:panelHorizontalLayout, but that's a big overkill. -- Kind regards, Mathias > -----Original Message----- > From: Daniel Niklas [mailto:daniel.niklas@...] > Sent: Friday, January 18, 2008 1:56 PM > To: users@... > Subject: Re: [Trinidad] need Naming-Container "without > visible html output" for partialTriggers > > > > Hi Andrew, > > > Andrew Robinson-5 wrote: > > > > That is not valid. For AJAX/PPR to work there has to be > HTML output to > > replace. Use css to hide the data if you want (display: none) > > > > I don't want to hide "html-regions". I need a ppr/trinidad > naming-container > with an attribute "partialTriggers ". This container shoud > not affect my > layout. > > I need partialTriggers for a <ui:define>. Because facelets > doesn't know the > ppr-features of trinidad, i had to put in another trinidad > component here. > > I want to realize something like this: > > <ui:define name="myArea" partialTriggers="one two" /> > > Daniel > -- > View this message in context: > http://www.nabble.com/-Trinidad--need-Naming-Container-%22with Sent from the MyFaces - Users mailing list archive at Nabble.com. |
|
|
RE: [Trinidad] need Naming-Container "without visible html output" for partialTriggersHi Mathias,
This is my "solution", too. A simple component for that, could be nice, perhaps with an attribute inline="true/false". I don't know, how big the overill of panelHorizontallayout is. Best regards Daniel |
|
|
Re: [Trinidad] need Naming-Container "without visible html output" for partialTriggersProbably the simplest component would be panelGroupLayout
layout="default". Though, perhaps the trh taglib should have a tr:div component added to it? Regards, Matt On Mon, Jul 21, 2008 at 6:33 AM, Daniel Niklas <conti@...> wrote: > > Hi Mathias, > > > Mathias Walter wrote: >> >> could you find a solution for your problem? I'm looking for similar >> component. >> I thought I could use tr:group, but that would most of time not rendered. >> >> Is there no simple component (i. e. which creates just a div) which could >> be >> used? >> >> Currently, I'm using tr:panelHorizontalLayout, but that's a big overkill. >> > > This is my "solution", too. A simple component for that, could be nice, > perhaps with an attribute inline="true/false". I don't know, how big the > overill of panelHorizontallayout is. > > Best regards > Daniel > > > > > -- > View this message in context: http://www.nabble.com/-Trinidad--need-Naming-Container-%22without-visible-html-output%22-for-partialTriggers-tp14919183p18567188.html > Sent from the MyFaces - Users mailing list archive at Nabble.com. > > |
| Free Forum Powered by Nabble | Forum Help |