cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: Woody and links
Date Tue, 03 Feb 2004 19:04:15 GMT
On Tue, 2004-02-03 at 14:24, Vasyl Stashuk wrote:
> Upayavira wrote:
> 
> > Vasyl Stashuk wrote:
> >
> >> Joerg Heinicke wrote:
> >>
> >>> On 31.01.2004 15:44, Vasyl Stashuk wrote:
> >>>
> >>>> Hi!
> >>>>
> >>>> How do i render a link using Woody widgets?
> >>>
> >>>
> >>>
> >>>
> >>> A link is not a form widget and has nothing to do with Woody.
> >>>
> >>> Joerg
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> >>> For additional commands, e-mail: users-help@cocoon.apache.org
> >>>
> >>>
> >> But how do i render a link in a repeater's row (which will contain 
> >> row id for further processing)?
> >
> >
> > Do you want a link, or an image? Could you use an image button? Then 
> > you do <wt:widget id="rowsubmit"><wi:styling type="image" 
> > src="submit.gif"/></wt:widget> (or something close to that).
> >
> > Then you can get at the row submitted via flow.
> >
> > Regards, Upayavira
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
> So, to make a link I should write my own styling (something like 
> <wi:styling type="link"/>) and hack woody-styling.xsl?

yes, but you don't need to hack woody-styling.xsl, instead create your
own xsl in which you import the standard woody XSL's and define
additional templates.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


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


Mime
View raw message