At this location and at this time, it has to be Java and struts2. 

BTW, it's for an internal web application. This mini-app rides along in the
same struts2 framework as other mini-apps.

Thanks for the tips. Originally, my request was aimed at just how to make
the webpages look nice with minor energy being applied. Tables (Grid) are
the main thing here. 


Since struts2 does layout for you in forms when using the xhtml theme, I
wanted to know what else it provides out of the box. I believe getting
approval for external plug-ins will take longer than I have right now for
this project. I see "Bundled Plugins" at
http://struts.apache.org/2.x/docs/guides.html 


A perfect example of an external plug-in for Grids that I do not have time
to dive further into yet is http://displaytag.sourceforge.net/11/ "Display
tag library". I saw that mentioned in this email discussion group. 


For the internal web app:
We're talking about: 
 - A page with a grid which shows the contents of a table and lets you
select a row to edit. 
 - A page to update the selected row. Some fields are not editable but
should be shown. Some prepopulation is done based on values of other fields.
So, there is prepopulation "logic".
 - A page for adding a new row.
 - A staging area for the data modifications/additions. So... the data can
be played with and then when ready, promoted to live. (Maybe that means a
staging table is involved then. We'll see.)

We created an HTML table which shows the contents of the DB table. It looks
plain. So, I thought it'd be cool to throw a CSS on to it or use something
other than just raw html TR TD tags.
http://struts.apache.org/2.x/docs/crud-demo-i.html touches on spicing up
rows in a table briefly with the example of:
        <s:iterator value="employees" status="status">
            <tr class="<s:if
test="#status.even">even</s:if><s:else>odd</s:else>">


I looked at Codebehind and the REST Plugin.  I do not think we need the
Codebehind plugin is applicable for our situation. We use 2.0.x of struts so
the REST Plugin is not even an option at this time.

Again, the tiny web app modifies/displays/adds-to whatever is in a DB table.
Minor data transformation occurs and some prepopulation logic. Example: a
null value in the DB really means "N"; "N" ,means "N"; and "Y" equals yes. 

Thanks,
Mike

-- 
Michael Finney - "Always Striving To Serve You Better Every Day"
[EMAIL PROTECTED]
http://www.SmilingSoftwareSolutions.com

-----Original Message-----
From: Dave Newton [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 06, 2008 9:00 AM
To: Struts Users Mailing List
Subject: Re: Nice looking struts2 small app?

--- On Sat, 12/6/08, Michael Finney wrote:
> What is the easiest way to make a site look nice with struts 2 and
> something like this http://www.oswd.org/design/preview/id/3686/ 
> or some other design?

What kind of information are you looking for?

This is just my opinion, but I'd lean towards RoR/JRoR for a four-page
CRUD-ish site. That said, the Codebehind and REST plugins make quick S2 S2
sites pretty easy--the issue then becomes one of templating (Tiles and
SiteMesh both seem a bit heavy for four pages; sometimes jsp:include is all
one needs) and database integration.

Dave


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

No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.15/1833 - Release Date: 12/5/2008
7:08 PM


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

Reply via email to