Dude, do you sleep?

On Fri, Mar 28, 2008 at 5:09 AM, me <[EMAIL PROTECTED]> wrote:

> Great! It works perfectly!
>
> Thank you very much!!!
>
> Marc
>
> [EMAIL PROTECTED] schrieb:
> > Try stack.findString('title') instead of ${title}
> >
> > On Fri, Mar 28, 2008 at 4:57 AM, me <[EMAIL PROTECTED]> wrote:
> >
> >
> >> [EMAIL PROTECTED] schrieb:
> >>
> >>> No problem bro
> >>>
> >>> Let's see what you added to your template to fetch the title from
> action
> >>>
> >> Okay, these are my files:
> >>
> >> template.ftl:
> >> --------------------------------------------------------------
> >> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> >> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> >> <html>
> >> <head>
> >>    <title>test - ${title}</title>
> >> </head>
> >> <body>
> >> ${body}
> >> </body>
> >> </html>
> >> --------------------------------------------------------------
> >>
> >> ContactAction:
> >> --------------------------------------------------------------
> >> package isi.services.pages;
> >>
> >> import com.opensymphony.xwork2.ActionSupport;
> >>
> >>
> >> public class ContactAction extends ActionSupport {
> >>
> >>  String title = "hallo";
> >>
> >>  public String execute() {
> >>    return "input";
> >>  }
> >>
> >>  public String getTitle() {
> >>    return this.title;
> >>  }
> >>
> >>  public void setTitle(final String value) {
> >>    this.title = value;
> >>  }
> >>
> >> }
> >> --------------------------------------------------------------
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Scott
[EMAIL PROTECTED]

Reply via email to