Re: forum in xforms - free to all

Posted by Alessandro Vernet on
URL: https://discuss.orbeon.com/Separate-portlet-app-deploy-OrbeonPortletXFormFilter-getContent-tp2955736p3004674.html

Carl,

Thank you for sharing this with us. Have you tried to run it on Orbeon
Forms, or was it tested only on the Mozilla XForms plugin?

Alex

On Tue, Oct 5, 2010 at 3:56 AM, cray99 <[hidden email]> wrote:

> I've spent years on an XForms project that I can no longer maintain because
> I'm a bit overloaded with other professional duties.  I really hate to see
> all my efforts go to waste (holding back tears here). It is written 100% in
> XForms 1.0---even the bulletin board style editor (some XBL1 but it is not
> essential and can be removed). Without getting into specifics, it needs to
> run on a more universal platform or processor than the one it was designed
> on.   It is a highly intuitive forum/blog style single page application that
> can be modified on the fly--even the headings when the page is unlocked.  If
> you could kindly take a look at the link provided and the flash tutorial
> called OVERVIEW and see if its worth your or any of your clients efforts to
> modify for your favorite xforms processor I'd appreciate it -- open source
> and free, so take a look.
>
> Give me some feedback, maybe it's not as useful or intuitive as I think. At
> any rate, here's to hoping it'll find a home somewhere (wiping cheek).
>
> http://ztags4xforms.com/xfBBthings/xfBBlogCasts.html
>
> Thank you.
>
> Sincerely,
> Carl
>
> Carl Ray, Jr., Ed.D.
> Cheng Shiu University, Taiwan
>
>
>
> Stian Sigvartsen wrote:
>>
>> Hi
>>
>> I've been trying to the separate portlet app deployment method to work
>> (http://wiki.orbeon.com/forms/doc/developer-guide/xforms-separate-deploy
>> ment-with-portlets).
>>
>> However, when the OrbeonPortletXFormsFilter processes the response from
>> my .jsp, it doesn't appear to find any content.  This is reflected by
>> responseWrapper.getContent() returning null or empty string (I used
>> Eclipse debugger to determine this is the issue).
>>
>> The code snippet which evaluates this from
>> OrbeonPortletXFormsFilter.doFilter() is:
>>
>>        // Set document if not present AND output was intercepted
>>        final boolean isEmptyContent;
>>        if
>> (renderRequest.getAttribute(OrbeonXFormsFilter.RENDERER_DOCUMENT_ATTRIBU
>> TE_NAME) == null) {
>>            final String content = responseWrapper.getContent();
>>            if (content != null) {
>>  renderRequest.setAttribute(OrbeonXFormsFilter.RENDERER_DOCUMENT_ATTRIBUT
>> E_NAME, content);
>>            }
>>            isEmptyContent = OrbeonXFormsFilter.isBlank(content);
>>        } else {
>>            // Assume content is not blank
>>            isEmptyContent = false;
>>        }
>>
>> After this code runs, isEmptyContent is set to false and hence the
>> OrbeonTrampolineServlet is never used to replace xforms markup with
>> HTML.
>>
>> Has anyone encountered this problem before?
>>
>> I'm using an Orbeon xforms nightly build from the end of August.
>>
>> I've spent a lot of time researching this issue with no luck.  I
>> encountered a forum post describing the same problem, but no solution
>> was posted
>> (http://orbeon-forms-ops-users.24843.n4.nabble.com/OrbeonXFormsFilter-ne
>> ver-forwards-to-Orbeon-td931256.html).
>> I would really appreciate any help anyone can offer.
>>
>> Kind regards,
>> Stian Sigvartsen
>>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet