You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Matt Lupfer <ml...@floridasunonline.net> on 2002/07/19 19:19:24 UTC
Making the $tabs variable available outside $screen_placeholder
Hello Jetspeed community,
I am developing a community portal using Jetspeed and I would like to
include links to my "tabs" in the left.vm file. I know I could create hard
links, but I would rather these links generate dynamically (in case tabs are
added/removed). In jetspeed-tab.vm, I see that the current tabs are
available in an object called $tabs as evident in the example below:
#foreach ( $tab in $tabs )
...create each tab...
#end
However, this object is not yet available when velocity/turbine processes
the left.vm file. How can I make this object available earlier? Is there a
simple work-around?
Ideally, I would like to be able to do something like this in my left.vm
file:
#foreach ( $tab in $tabs )
...create each link...
#end
Thanks to the community in advance for any insights.
Matt Lupfer
Florida Sun Publications
Kissimmee, FL
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: XML validation
Posted by David Sean Taylor <da...@bluesunrise.com>.
It doesn't seem to be up-to-date in the cvs either
http://cvs.apache.org/viewcvs/jakarta-jetspeed/src/xml/psml.xsd
We have since added elements to the XML without updating the schema.
This is what is used by the code (a Castor mapping):
http://cvs.apache.org/viewcvs/jakarta-jetspeed/webapp/WEB-INF/conf/psml-mapp
ing.xml
Suppose we should drop Castor and move to JAXB one of these days when it
supports schemas and all the nice mappings that Castor has had for a long
time.
Last time I checked JAXB was working with DTDs, and just starting support of
schemas
> -----Original Message-----
> From: Hongbin Liu [mailto:holiu@indiana.edu]
> Sent: Sunday, July 21, 2002 9:17 PM
> To: Jetspeed Users List
> Subject: XML validation
>
>
>
>
> Good evening:
>
> I am interested in validating modified portlet
> registry and PSML XML document before putting
> them into use. Can anyone tell me where I can
> find the correspondent schema/dtd ? They are
> not in cvs checked out Jetspeed package, nor can
> I find on jakarta website. There are something
> on bluesunrise.com but I guess they are outdated.
>
> regards,
>
> Hongbin
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
XML validation
Posted by Hongbin Liu <ho...@indiana.edu>.
Good evening:
I am interested in validating modified portlet
registry and PSML XML document before putting
them into use. Can anyone tell me where I can
find the correspondent schema/dtd ? They are
not in cvs checked out Jetspeed package, nor can
I find on jakarta website. There are something
on bluesunrise.com but I guess they are outdated.
regards,
Hongbin
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>