cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Chicchiriccò <ilgro...@apache.org>
Subject Re: accessing a spring bean methods from sitemap
Date Sat, 10 Nov 2012 17:41:17 GMT
On 10/11/2012 18:38, Mansour Al Akeel wrote:
> I need to link documents through some identification. For example,
> assuming that I have:
>
> articles/my-first-article.xml
> articles/second-one.xml
> articles/hello-world-article.xml
>
> books/book1.xml  which has  references to  artice-1 and article-3
> identified by an id of the form: A001
>
> I need to create a hashtable linking both so that I pass query param
> by ID or by name. The idea I have is to initialize spring bean that
> will extract the data from these files,
> and construct a Map<String,String>.
>
> My question is how can I access this HashTable from sitemap ??
>
> I am using C2.2.

Hi,
I don't think there is any direct way to access an Hashtable from the
sitemap: maybe the only chance is to get to it through flowscript...

Don't have idea of how to access a Spring bean from flowscript,
though... any C2.2. expert around?

Regards.

-- 
Francesco Chicchiriccò

ASF Member, Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/


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


Mime
View raw message