RE: Configurable UI Design

2002-06-04 Thread Galbreath, Mark

I think you can display Lurve in Struts using Flash and ASP with a DB2
backend via JCL.

-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 7:00 PM

Feel the Lurve! :-)

>-Original Message-
>From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
>Sent: Monday, June 03, 2002 4:34 PM
>
>Nah...you just suck.
>
>-Original Message-
>From: James Mitchell [mailto:[EMAIL PROTECTED]]
>Sent: Monday, June 03, 2002 5:16 PM
>
>I was hoping you wouldn't start a "James Mitchell is rude and ignorant"
>thread :-)
>
>James
>
>
>- Original Message -
>From: "Galbreath, Mark" <[EMAIL PROTECTED]>
>To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
>
>> If James thinks it's crazy, I'm not going to touch it(though the
>> invitation for insults was tempting)  ;-)
>>
>> -Original Message-
>> From: James Mitchell [mailto:[EMAIL PROTECTED]]
>> Sent: Monday, June 03, 2002 2:24 PM
>>
>> Either way, we should be able to finish this thread and anyone at
>> struts-users please give comments/insults accordingly (since I'm not
>> always 'the sharpest knife in the drawer' ;-)
>>
>> A lot of people familiar with Struts and MVC as a whole would ask you
>'why'
>> you would want to do this.
>>
>> It sounds a little crazy to me, but I think it can be done.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Configurable UI Design

2002-06-03 Thread Chappell, Simon P

Feel the Lurve! :-)

>-Original Message-
>From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
>Sent: Monday, June 03, 2002 4:34 PM
>To: 'Struts Users Mailing List'
>Subject: RE: Configurable UI Design
>
>
>Nah...you just suck.
>
>-Original Message-
>From: James Mitchell [mailto:[EMAIL PROTECTED]]
>Sent: Monday, June 03, 2002 5:16 PM
>
>I was hoping you wouldn't start a "James Mitchell is rude and ignorant"
>thread :-)
>
>James
>
>
>- Original Message -
>From: "Galbreath, Mark" <[EMAIL PROTECTED]>
>To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
>Sent: Monday, June 03, 2002 3:03 PM
>Subject: RE: Configurable UI Design
>
>
>> If James thinks it's crazy, I'm not going to touch it(though the
>> invitation for insults was tempting)  ;-)
>>
>> -Original Message-
>> From: James Mitchell [mailto:[EMAIL PROTECTED]]
>> Sent: Monday, June 03, 2002 2:24 PM
>>
>> Either way, we should be able to finish this thread and anyone at
>> struts-users please give comments/insults accordingly (since I'm not
>> always 'the sharpest knife in the drawer' ;-)
>>
>> A lot of people familiar with Struts and MVC as a whole would ask you
>'why'
>> you would want to do this.
>>
>> It sounds a little crazy to me, but I think it can be done.
>>
>> --
>> To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>>
>>
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>--
>To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Configurable UI Design

2002-06-03 Thread Galbreath, Mark

Nah...you just suck.

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 5:16 PM

I was hoping you wouldn't start a "James Mitchell is rude and ignorant"
thread :-)

James


- Original Message -
From: "Galbreath, Mark" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, June 03, 2002 3:03 PM
Subject: RE: Configurable UI Design


> If James thinks it's crazy, I'm not going to touch it(though the
> invitation for insults was tempting)  ;-)
>
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 03, 2002 2:24 PM
>
> Either way, we should be able to finish this thread and anyone at
> struts-users please give comments/insults accordingly (since I'm not
> always 'the sharpest knife in the drawer' ;-)
>
> A lot of people familiar with Struts and MVC as a whole would ask you
'why'
> you would want to do this.
>
> It sounds a little crazy to me, but I think it can be done.
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Configurable UI Design

2002-06-03 Thread James Mitchell

I was hoping you wouldn't start a "James Mitchell is rude and ignorant"
thread :-)

James


- Original Message -
From: "Galbreath, Mark" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, June 03, 2002 3:03 PM
Subject: RE: Configurable UI Design


> If James thinks it's crazy, I'm not going to touch it(though the
> invitation for insults was tempting)  ;-)
>
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 03, 2002 2:24 PM
>
> Either way, we should be able to finish this thread and anyone at
> struts-users please give comments/insults accordingly (since I'm not
> always 'the sharpest knife in the drawer' ;-)
>
> A lot of people familiar with Struts and MVC as a whole would ask you
'why'
> you would want to do this.
>
> It sounds a little crazy to me, but I think it can be done.
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Configurable UI Design

2002-06-03 Thread Galbreath, Mark

If James thinks it's crazy, I'm not going to touch it(though the
invitation for insults was tempting)  ;-)

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 2:24 PM

Either way, we should be able to finish this thread and anyone at
struts-users please give comments/insults accordingly (since I'm not
always 'the sharpest knife in the drawer' ;-)

A lot of people familiar with Struts and MVC as a whole would ask you 'why'
you would want to do this.

It sounds a little crazy to me, but I think it can be done.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Configurable UI Design

2002-06-03 Thread James Mitchell

I'm pulling this over to the Struts list from servlet interest.
Have you signed up for the struts-users list at apache yet?
It's a pretty high-volume list, so make your choice wisely ;-)

Either way, we should be able to finish this thread and anyone at
struts-users please give comments/insults accordingly (since I'm not
always 'the sharpest knife in the drawer' ;-)

A lot of people familiar with Struts and MVC as a whole would ask you 'why'
you would want to do this.

It sounds a little crazy to me, but I think it can be done.

I'm assuming that you are using some other means of 'remembering' your
users (db, ldap, whatever).  (if not then @see below)

** Inherent Problems:
(if you are depending on cookies to 'remember' your users)
  - users prefs are not remembered if they
  1. delete and/or disable cookie(s) (I mean this across sessions
and not specifically within a session)
  2. use a different computer (e.g. home pc vs. work pc)
  3. use a different browser (IE, NS, Mozilla)

** Validation:
 I have no idea how you would handle your input validation,
 perhaps some kind of PageManager tag that wraps the jsp and knows how
 to handle the validation (or clue-in your action as to what to do)

 The Validator framework is.welljust AWESOME if you've ever used it.
 I highly recommend *not* deviating from it if possible.

I have posted a few 'how-to's on wizards, so if I were given your
requirements, I would probably follow a similar approach.

My best guess is that this would need to be a highly customized solution,


**DISCLAIMER - I may be biting off more than I can chew.but
   here goes...

** Reusing your jsp
If you structure your jsp properly, you can break up a "really long"
form into several pages (keep in mind the impact on validation)

I think Ted Husted might have given some info on this already
 (can't remember, I know, I'm an idiot)

For your questionI'm envisioning/dreaming of something like
this.
(perhaps this could/should be packaged as a component/add-on specific
for jsp views of course)
* A jsp page manager (wizard) that:
- can manage the state of the pages/wizard, (e.g. remember
  the 'page ? of ?')
  [the verbage could even come from the bundle/config file]
wizards.version1.page1of.= You are viewing page {1} of {2}
wizards.version2.page1of.= Page {0} of {1}.
wizards.version3.page1of.= {0} of {1}

 - let's you specify that the user be able to configure the page layout
   and fields/views at runtime.

 - can figure out that if the user pushes the last input(s) to a page
   beyond the last one, it adjusts the "page ? of ?" accordingly.
   Also handles the inverse of that situation.

 - enforce the required fields/process flow for the fullfillment of
   the form (now that's a tongue twister, or as they say
   in AU...'teng twistah';) ...sorry, I have kids and we have
   the wiggles over here (US) too...LOL

 - auto-magically handles the previous-next-finish for you.

 - let's you i18n everything in the bundle(s) similar to what the
   validator header/footer requ'd





 
 if your form was 'flat', then it would be nice if you
 could use the DynaActionForm and be able to add a field to
 your application/wizard simply by adding it to the struts-config.xml
 and (optionally) the persistence layer (I have seen and worked with
 'dynamic db fields', done through the magic of a well designed RDBMS)
 [for those of you who know me, i'm talking about the concept of catalog
attributes]
 

 

 
 
  
 

 
  
 

 
  
 


 


  


Best of luck!!

James Mitchell
Software Engineer/Struts Evangalist



- Original Message -
From: "Suresh Addagalla" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, June 03, 2002 2:50 AM
Subject: RE: Configurable UI Design


>
> Thanks. I am familiarizing with the 'tiles' part of Struts, meanwhile a
> quick question.
>
> It seems like tiles can help me change personalize the layout of a
> single page. I have one more specific requirement. Let us say that my
> HTML form is distributed across 2 or 3 separate HTML pages, which are
> navigated using back, next buttons. I would like the end user to be able
> to personalise by specifying which components of the form are available
> on which page. For example, the user may want to move a not-so-important
> field for him from page 1 to page 3. Any ideas/design
> patterns/frameworks for this kind of a requirement?
>
> Suresh
>
>
>
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 31, 2002 11:31 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Configurable UI Design
>
>
> Ther