Note that part of being helped is teaching how to frame questions in the
correct context.

As far as how to solve the original poster's problem, I'd just use
sitemesh and render according to useragent type in the decorator...

---------------------------------------------------------
Joseph B. Ottinger                 [EMAIL PROTECTED]
http://enigmastation.com                    IT Consultant

On Tue, 5 Nov 2002, Maurice Parker wrote:

>
> boxed wrote:
>
> >>I am working on a website that will have a completely different set of
> >>actions based on the user-agent. Think of IE6 and Pocket PC. What is the
> >>best technique in a WebWork framework to serve up this site?
> >>
> >>
> >
> >Don't you mean different views? The whole idea of actions is that they are
> >to be neutral as to what view they later lead to.
> >
> >
> Right, he should mean views.  (We'll forgive him, Patrick gets them
> confused too  ;-)
>
> But Anders, you didn't really help him any did you?  One of the best
> ways to earn the respect of an Open Source community is to help new
> users.  I understand you were helping people in IRC.  Excellent.  I also
> see many new users questions going unanswered on this list, so your help
> would be appreciated there.  *Don't* answer, if you don't know the
> answer, or at least quantify it with something like "Try this, it might
> work".
>
> James, remember on the list when Chris, Jason, and I were talking about
> Actions not being bound to an absolute path?  Skinning?  Check out the
> HelloWorld demo app bundled with WebWork for an example of this.  What
> you want to do is check the user agent with a Servlet or a JSP and
> redirect into a directory with a set of Views appropriate for that user
> agent. This will allow you to code one set of Actions and present them
> to a multitude of devices.
>
> -Maurice
>
> >// Anders Hovmöller
> >
> >
> >
> >-------------------------------------------------------
> >This sf.net email is sponsored by: See the NEW Palm
> >Tungsten T handheld. Power & Color in a compact size!
> >http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> >_______________________________________________
> >Opensymphony-webwork mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> >
> >
> >
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: See the NEW Palm
> Tungsten T handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
>



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to