Erik,
Thankyou for the quick response it was quite helpful and it has
brought up some new questions and an answer or two.
>> 1) If I need to pass the filled out instance data in XML format and
>> session data to a servlet/JSP on another server how can I accomplish
>> this from within the Orbeon environment?
>
>You could do this with an HTTP POST (which we cannot do right now
>without writing a custom processor, but we have been planning to
>include this for a while). You could also use a regular Web service,
>with the Delegation processor.
>
>If the Servlet / JSP was in the same Servlet container, you could use
>the Scope serializer to store the XML document into the Servlet
>request object, and then forward the request to that Servlet / JSP.
What is the Scope serializer, I didn�t see that in the documentation under
serializers?
>> 3) Can the intermediate solution to the input label be included in
>> the released war file?
>
>Not sure what you mean by this�
Though I should not have used the term intermediate, I was referring to
the xforms-to-xhtml.xsl label change pointed out in
http://www.orbeon.com/ois/doc/processors-xforms where it states:
An XHTML input field is generated and the label is not used, even if one
if provided on the XForms control. Say that if a label is provided, you
want to display it followed by a ":", just in front of the text field. You
can do this by modifying the above template in xforms-to-xhtml.xsl with:
��<xsl:template match="xforms:input">
�� <xsl:if test="xforms:label">
�� <xsl:value-of select="xforms:label"/>
�� <xsl:text>:</xsl:text>
�� </xsl:if>
�� <xhtml:input type="text"
name="{xxforms:encrypt-name(@xxforms:name)}" value="[EMAIL PROTECTED]:value}">
�� <xsl:call-template name="copy-other-attributes"/>
�� </xhtml:input>
��</xsl:template>
>> 4) Per Micah Dubinko, who contributed to the XForms specification,
>> the CSS3 entry:
>>
>> @namespace xforms url(http://www.w3.org/2002/xforms/);
>> /* Display a red asterisk after all required form controls */
>> *:required::after {content: red; color:red;}
>>
>> should function with an xforms implementation. Obviously, I have
>> tried this and had no success. Is there some way to accomplish this
>> in Orbeon"s servlet? At the very least would it be possible to pass
>> along CSS attributes (class="") for xforms elements within the
>> servlet?
>
>Once the HTML code reaches your web browser, it no longer has any
>XForms in it. So, of course, the CSS doesn"t match on any element with
>an xforms namespace.
>
>What you could do though, is, in xforms-to-xhtml.xsl, annotate
>specially the required fields. You could directly add the "*", or
>annotate the XHTML produced, and then style it in theme.xsl.
I should have investigated this a bit more. It seems the ::after
pseudoclass is not supported in IE anyway, but I thank you for your
suggestion, it will probably work out better your way.
Lastly, I was hoping someone might have an example that works in Orbeon of
an itemset used in a select statement. That is if the itemset CAN be used
in a select or select1 in Orbeon. I keep getting:
Expression '/form/states/state' must return an element or an attribute
Where /form/states is
<form>
<states>
<state abbr="AL">ALABAMA</state>
<state abbr="AK">ALASKA</state>
<state abbr="AS">AMERICAN SAMOA</state>
<state abbr="AZ">ARIZONA</state>
<state abbr="AR">ARKANSAS</state>
...
</states>
</form>
I understand that it has to be in the model instance since Orbeon doesn't
recognize multiple instances (a very unfortunate limitation) but it
doesn't seem to like the fact that it is more than one item either. If
this can only be used in the Repeat then that would definitely be
unfortunate.
Per http://www.orbeon.com/ois/doc/reference-xforms :
5. XForms Repeat
The XForms repeat module lets you easily create pages where XForms
controls are repeated, like an invoice made of invoice lines (with a
description, unit price, quantity), where new lines can be added, and
existing lines can be edited or deleted. Presentation Server supports the
following elements in the XForms repeat module: repeat, itemset, insert,
and delete.
-----------------------------------------
This electronic message contains information from CACI International Inc or
subsidiary companies, which may be company sensitive, proprietary,
privileged or otherwise protected from disclosure. The information is
intended to be used solely by the recipient(s) named above. If you are not
an intended recipient, be aware that any review, disclosure, copying,
distribution or use of this transmission or its contents is prohibited. If
you have received this transmission in error, please notify us immediately
at [EMAIL PROTECTED] With the exception of messages sent by authorized
CACI contracts or purchasing personnel, nothing in this message may be
interpreted as a digital or electronic signature that can be used to: (a)
authenticate either the submission or the acceptance of a proposal or offer
to contract, or (b) modify an existing contract.
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user