on 10-24-2005 1:01 PM
Let's image to generate our feed (RSS/ATOM) via java classes or xslt; now how is it possibile to expose it to the end-user?
From the development point of view it is similar to expose other Web Dynpro UI and it would be nice to use the same "prospective" and project also for this kind of comunication method...
Sergio,
What is so special about RSS/ATOM? It's just special XML format. So you can either:
1. Parse XML directly (SAX / DOM) in WebDynpro application and construct contex value nodes
2. Use some Java <-> XML mapping tool (JAXB or Jakarta Commons Digester) for mapping, then create JavaBean model and use model nodes with generated model classes.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Valery, thanks for the replay.
I agree with you: "nothing of special about RSS/ATOM and
No problem also building the XML object".
Let me try again:
- user contacts the url of the WD application
- the system should response just with the RSS xml data and not with UI objects (tableView, textEdit, ...)
But the WD does not allow you "to send out raw XML" even "send out raw HTML".
It allows "only" to build nice UI via objects it knows.
When you say "construct contex value nodes" do you mean that you are able to replay with the raw XML data?
Are you really able to response to a browser as the following url https://forums.sdn.sap.com/rss/rssmessages.jsp?threadID=75910
does? (It is the feed of this post)
Sergio
For displaying RSS feeds in a Web Dynpro view, you can
1. parse the RSS feed using any available RSS parser
2. implement a Web Dynpro component that builds a context from the received feeds and dynamically builds a view from these data.
I implemented such a thing a while ago for a prototype using the free RSS parser from Sun.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.