Greg,

Some comments/questions in the text below


Greg Brown wrote:
> 
> You currently use XSLT to generate HTML from your XML, correct? You could
> write another XSLT file that generates BXML (for example, one that
> produces a TablePane containing Labels vs. an HTML <table> containing
> text).
> 

Is there a sample somewhere how to to do this? This sounds like a
possibility. For convenience, I attached one of the XSLT file we use to
generate the view.

http://apache-pivot-users.399431.n3.nabble.com/file/n1954269/XSL_delegationMsgToHtml.xsl
XSL_delegationMsgToHtml.xsl 


The message is displayed in the application, when the user selects the
message in the table, the application checks a specific key and its value,
based on this value, calls the right XSLT config file.

With your approach, are we able to do the colors as well?

Regards,

MSafiri

On Nov 23, 2010, at 10:32 AM, MSafiri wrote:

> 
> Dear Greg,
> 
> I am obliged to revisit this topic, sorry for that. I try to explain what
> we
> have today - this is what we have to migrate to PIVOT.
> 
> The two systems are exchanging data via a specific XML message. Each XML
> message has a key, which stores the action to be fired when such message
> arrives. When the XML message is selected by the user, the application
> checks this action and selects the appropriate XSLT config file. Then
> creates a specific XML message, which then displayed as the sample I sent.
> 
> It is, basically, as you said, a TextArea inside a ScrollPane within the
> Pane. The issue is, that XSLT allows us to create the config file (what to
> display) outside of the application. When we need to customize the
> application to different Clients, we simply modify the config file and
> voila.
> 
> If I understood you well, we should build the table, within the ScrollPane
> from the code. How this allows us to create a custom implementation? Is
> there a way to create a config file, which then loaded by PIVOT, which
> then
> generates the TableView?
> 
> Regards,
> 
> MSafiri
> -- 
> View this message in context:
> http://apache-pivot-users.399431.n3.nabble.com/How-to-build-similar-interface-tp1922947p1954022.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.




-- 
View this message in context: 
http://apache-pivot-users.399431.n3.nabble.com/How-to-build-similar-interface-tp1922947p1954269.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to