Hello!

On Sun, Dec 11, 2011 at 13:12, Alec Taylor <alec.tayl...@gmail.com> wrote:
> Would it be possible to just extract the generated javascript version
> and generated css version; and configure it to send just the XML with
> the form data to my server in the final submit stage?
I do not think so.
In theory, you can use WTabWidget with LoadPolicy=PreLoading and dump
all html, javascript and css. To send XML to (non-Wt) server, you
could connect clicked() signal of the button to JSlot with javascript
code, sending XML to a server. To get values of input widgets, you can
use  WWidget::jsRef().

However, this method has several disadvantages:
 * generated javascript/css would not be cross-browser since Wt adapts
it to current browser
 * generated code is likely to be patched to make it forget that it is
part of Wt (this may be hard to implement).

You'd better create normal Wt application for the wizard. This does
not force you to change XML-processing server. You can implement Wt
app as a client, sending XML to server (e.g. using Http::Client).

> I haven't locked in on Wt for my entire project [yet!], but would like
> to take in the advantages Wt has to offer; even if I only use it for
> the wizard.

>
> On Sun, Dec 11, 2011 at 7:51 PM, Nagaev Boris <bnag...@gmail.com> wrote:
>> Hello!
>>
>> You can use WMenu in conjunction with WStackedWidget.
>>
>> Boris Nagaev
>>
>> On Sun, Dec 11, 2011 at 12:29, Alec Taylor <alec.tayl...@gmail.com> wrote:
>>> Good afternoon,
>>>
>>> How would I go about building a simple wizard in Wt?
>>>
>>> Example wizard built manually in javascript:
>>> http://pastehtml.com/view/bgxm8y0b8.html
>>>
>>> Thanks for all suggestions,
>>>
>>> Alec Taylor
>>>
>>> ------------------------------------------------------------------------------
>>> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
>>> Microsoft is holding a special Learn Windows Azure training event for
>>> developers. It will provide a great way to learn Windows Azure and what it
>>> provides. You can attend the event by watching it streamed LIVE online.
>>> Learn more at http://p.sf.net/sfu/ms-windowsazure
>>> _______________________________________________
>>> witty-interest mailing list
>>> witty-interest@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>
>> ------------------------------------------------------------------------------
>> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
>> Microsoft is holding a special Learn Windows Azure training event for
>> developers. It will provide a great way to learn Windows Azure and what it
>> provides. You can attend the event by watching it streamed LIVE online.
>> Learn more at http://p.sf.net/sfu/ms-windowsazure
>> _______________________________________________
>> witty-interest mailing list
>> witty-interest@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
> ------------------------------------------------------------------------------
> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> Microsoft is holding a special Learn Windows Azure training event for
> developers. It will provide a great way to learn Windows Azure and what it
> provides. You can attend the event by watching it streamed LIVE online.
> Learn more at http://p.sf.net/sfu/ms-windowsazure
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to