Thanks for the response Koen...guess I'll do both.

Seems to me to be of use.

-----Original Message-----
From: witty-interest-requ...@lists.sourceforge.net
[mailto:witty-interest-requ...@lists.sourceforge.net] 
Sent: Tuesday, December 10, 2013 9:52 AM
To: witty-interest@lists.sourceforge.net
Subject: witty-interest Digest, Vol 91, Issue 6

Send witty-interest mailing list submissions to
        witty-interest@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/witty-interest
or, via email, send a message with subject or body 'help' to
        witty-interest-requ...@lists.sourceforge.net

You can reach the person managing the list at
        witty-interest-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of witty-interest digest..."


Today's Topics:

   1. Layout Size (Randy Yates)
   2. Re: Default Witty template IDs (Randy Yates)
   3. Re: HTTP redirects (Koen Deforche)
   4. Re: Layout Size (Wim Dumon)
   5. Re: Default Witty template IDs (Wim Dumon)


----------------------------------------------------------------------

Message: 1
Date: Sun, 08 Dec 2013 21:39:40 -0500
From: Randy Yates <ya...@digitalsignallabs.com>
Subject: [Wt-interest] Layout Size
To: witty-interest <witty-interest@lists.sourceforge.net>
Message-ID: <87a9gazr0z....@digitalsignallabs.com>
Content-Type: text/plain

Hello,

I'm trying to work with layout managers and I can't seem to resolve a
very fundamental question. If I have a container (WContainerWidget) that
has an associated layout (e.g., a WHBoxLayout), what sets the size: the
layout or the container?

The answer must be the container, because I can't find a resize or other
sizing method along the class inheritance lineage of WHBoxLayout. Maybe
I missed it.

However, I then come to my next problem: I'd like to set my
"sub" containers (conceptually, horizontal boxes inside the top-level
container's vertical box) to a specific height; for example

  subContainer->resize(Wt::WLength::Auto, Wt::WLength("800pt"));

But that doesn't work - the container just seems to retain a "natural"
size based on its internal widgets.

Can someone please shed some light?
-- 
Randy Yates
Digital Signal Labs
http://www.digitalsignallabs.com



------------------------------

Message: 2
Date: Mon, 09 Dec 2013 06:13:18 -0500
From: Randy Yates <ya...@digitalsignallabs.com>
Subject: Re: [Wt-interest] Default Witty template IDs
To: witty-interest@lists.sourceforge.net
Message-ID: <52a5a5ce.4010...@digitalsignallabs.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 12/08/2013 01:51 AM, Muhammad Nasser Al-Noimi wrote:
> Hi,
>
> I want to override some of Wt strings such as 
> "Wt.Auth.login-form-title" or login button text. Where can I find a 
> list of Witty template messages.

Hi Nasser,

What I've found to be effective is to install firebug in firefox. With 
that you can find out the class, id, style, etc. of any element in the 
browser window.

--Randy

>
> Reggards,
> Nasser Al-Noimi
>
>
>
----------------------------------------------------------------------------
--
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
>
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
>
>
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest




------------------------------

Message: 3
Date: Mon, 9 Dec 2013 15:56:20 +0100
From: Koen Deforche <k...@emweb.be>
Subject: Re: [Wt-interest] HTTP redirects
To: "witty-interest@lists.sourceforge.net"
        <witty-interest@lists.sourceforge.net>
Message-ID:
        <caawqso02knrp5fwwyozjksru6wz6qrofs87udks_wp_fcjp...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hey Daniel,

Following a redirect is not implemented currently. You thus have two
options (not mutually exclusive!):
- interpret the 302/303 yourself (i.e. interpret the 'Location' header of
the response)
- file a feature request for it.

Regards,
koen


2013/12/4 Daniel Horsey <dan.hor...@broadruntech.com>

> I'm using the http client to go out to a website for data.  Sometimes I
> get a redirect response.  What's the best way to handle this?  Do I need
to
> grab the new URL from the message and do a new get, or is there an
argument
> that will allow the client to just follow the redirect?
>
>
>
>
----------------------------------------------------------------------------
--
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
>
>
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 4
Date: Tue, 10 Dec 2013 15:44:11 +0100
From: Wim Dumon <w...@emweb.be>
Subject: Re: [Wt-interest] Layout Size
To: witty-interest@lists.sourceforge.net
Message-ID:
        <CAJ2=pvtafhx5i9cdfpnwuc_vwkr2loknsheh9ngspbxgdbp...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hello Randy,

A layout manager divides available space of the container among its
children.

The size of the container must somehow be set for a layout manager to work:
either you set a size to it by calling resize() (or applying CSS styles),
or the size of the container is managed by a layout manager of its parent.

If you don't set a size on the container, the preferred size of the
children will determine the size of the containers, which will pretty much
behave as if there was no layout manager on the container.

BR,
Wim.



2013/12/9 Randy Yates <ya...@digitalsignallabs.com>

> Hello,
>
> I'm trying to work with layout managers and I can't seem to resolve a
> very fundamental question. If I have a container (WContainerWidget) that
> has an associated layout (e.g., a WHBoxLayout), what sets the size: the
> layout or the container?
>
> The answer must be the container, because I can't find a resize or other
> sizing method along the class inheritance lineage of WHBoxLayout. Maybe
> I missed it.
>
> However, I then come to my next problem: I'd like to set my
> "sub" containers (conceptually, horizontal boxes inside the top-level
> container's vertical box) to a specific height; for example
>
>   subContainer->resize(Wt::WLength::Auto, Wt::WLength("800pt"));
>
> But that doesn't work - the container just seems to retain a "natural"
> size based on its internal widgets.
>
> Can someone please shed some light?
> --
> Randy Yates
> Digital Signal Labs
> http://www.digitalsignallabs.com
>
>
>
----------------------------------------------------------------------------
--
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
>
>
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 5
Date: Tue, 10 Dec 2013 15:45:35 +0100
From: Wim Dumon <w...@emweb.be>
Subject: Re: [Wt-interest] Default Witty template IDs
To: witty-interest@lists.sourceforge.net
Message-ID:
        <CAJ2=pvsxksigcmudmhscvcst5acmm01dk_9evgknzwwviyu...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

you don't have to modify that file; just provide your own resource bundles
with those id's, since the most recently loaded resource buffer will win.

Wim.


2013/12/8 Muhammad Nasser Al-Noimi <mnno...@gmail.com>

>  Thanks
>
>  On 08 ???, 2013 ? 11:18, Nagaev Boris wrote:
>
> Hello,
>
> Wt.Auth.login-form-title is in src/xml/auth_strings.xml
> Some Wt messages are in other XML files in same directory
>
> Regards,
> Boris Nagaev
>
>
> On Sun, Dec 8, 2013 at 10:51 AM, Muhammad Nasser
Al-Noimi<mnno...@gmail.com> <mnno...@gmail.com> wrote:
>
>  Hi,
>
> I want to override some of Wt strings such as "Wt.Auth.login-form-title"
or
> login button text. Where can I find a list of Witty template messages.
>
> Reggards,
> Nasser Al-Noimi
>
>
----------------------------------------------------------------------------
--
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free
now!http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.cl
ktrk
> _______________________________________________
> witty-interest mailing
listwitty-interest@lists.sourceforge.nethttps://lists.sourceforge.net/lists/
listinfo/witty-interest
>
>
----------------------------------------------------------------------------
--
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free
now!http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.cl
ktrk
> _______________________________________________
> witty-interest mailing
listwitty-interest@lists.sourceforge.nethttps://lists.sourceforge.net/lists/
listinfo/witty-interest
>
>
>
>
>
----------------------------------------------------------------------------
--
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
>
>
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

----------------------------------------------------------------------------
--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk

------------------------------

_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest


End of witty-interest Digest, Vol 91, Issue 6
*********************************************


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to