boxed wrote:
Right, he should mean views. (We'll forgive him, Patrick gets them confused too ;-)I am working on a website that will have a completely different set ofDon't you mean different views? The whole idea of actions is that they are
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?
to be neutral as to what view they later lead to.
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