thanks Geert, always there when in need , with the right answer.
 as Eddy Young said here:
http://article.gmane.org/gmane.comp.java.rife.user/2284
quote: "It would be great if those who have used embedded elements to create
components could share their
experience here." .
that is exactly what i want to create, some user system components
[login/registration/forgot password/remember me .... ]
and then reuse these in my different projects.

it would be great if there would be such a list somewhere of reusable rife
components.
and then, most of us just play with the templates.

gabi

On Thu, Jun 12, 2008 at 1:18 PM, Geert Bevin <[EMAIL PROTECTED]> wrote:

>
> Hi Gaby,
>
> this should explain what you need:
> http://rifers.org/wiki/display/RIFE/Embedded+elements
>
> Hope this helps,
>
> Geert
>
>
> On 12 Jun 2008, at 11:56, gabriel munteanu wrote:
>
> > Hi all,
> > in php i have boxes like userLogin box, Categories box, header and
> > footer , and all of them are separate files that include both the
> > html [rife template i would say] and the logic [ in php , the
> > userLogin has the action of the form, knows what to do if the user
> > is logged in etc...] .
> >
> > I figure that same thing can be done with rife , but can't figure how.
> >
> > i have an index page with header and footer.
> > i cannot have them in 2 files, and from what i have seen in the
> > examples, the way to go in this case, is to have them in the same
> > file called a template, and there will be a VALUE tag or a BV tag
> > where the BODY goes, and i will replace it with some html in my
> > implementation of the index element.
> > now, the userLogin element, has a template and a java
> > implementation, and it is part of a subsite actually, called
> > usersystem, that i want to reuse in many websites.
> > How can i integrate this userlogin box with as few changes as
> > possible - ideally none - into my index page ?
> >
> > i found a good example of what i want in the bamboo sources.
> > there is a template there bamboo-1.0rc3-source/src/templates/common/
> > loginform.html
> > unfortunately i do not find where this template is used.
> >
> > thank you in advance
> > Gabi
> >
> > >
>
> --
> Geert Bevin
> Terracotta - http://www.terracotta.org
> Uwyn "Use what you need" - http://uwyn.com
> RIFE Java application framework - http://rifers.org
> Music and words - http://gbevin.com
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"rife-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to