[OT] Just install NetBeans 5

2006-03-04 Thread PC Leung
I just install NetBeans 5.
It allows me to choose jsf or struts projects and it is bundled with
tomcat 5.5.9
It also let you add forms fields such as buttons and text box.

currently I am using Eclipse and I find it has more functions than Eclipse.

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



SV: Shale Container Managed Security

2006-03-04 Thread Hermod Opstvedt
Hei

This sort of functionality is very complex, especially when you start to
move into authentication for data. My take on this, is that this warrants a
project of its own - preferably on ASF. That way we could get input from
other ASF projects that might need something like this also and we all
benefit. I don not think that we should attempt to solve this completely
within the Shale realm.

Hermod


-Opprinnelig melding-
Fra: Niall Pemberton [mailto:[EMAIL PROTECTED] 
Sendt: 4. mars 2006 03:17
Til: Struts Users Mailing List
Emne: Re: Shale  Container Managed Security

On 3/4/06, Craig McClanahan [EMAIL PROTECTED] wrote:
 On 3/3/06, Niall Pemberton [EMAIL PROTECTED] wrote:
 
  If something like this is developed then it shouldn't be tied to
  container managed security (i.e. request.isUserInRole()) and should be
  easy to plug in custom implementations which could cater for other
  scenarios/criteria, such as the above.

 Just logged an RFE[1] to capture this idea.  Feel free to add any and all
 details about requirements (I just used one of the motivating examples)
...
 and/or volunteer to do any or all of the implementation work :-).

Thanks I added a comment. If it waits for me, it might be a while -
but then again commits count for more than opinions, so maybe I should
pull my finger out...

Niall

 Sorry, just wanted to put in my 2cents, in case someone actually does
  something about this - that way when I move to Shale :-)

 Resistance is futile ... :-).

 Niall


 Craig

 [1] http://issues.apache.org/bugzilla/show_bug.cgi?id=38849

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


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



validator framework in my Action class

2006-03-04 Thread Deepa Khetan
No body has any answers or work around for this?? :(

-- Forwarded message --
From: Deepa Khetan [EMAIL PROTECTED]
Date: Mar 2, 2006 9:01 PM
Subject: validator framework in my Action class
To: Struts Users Mailing List user@struts.apache.org

 Hi

Is there a way in which i can use the validator framework in my Action
class? Actually, i have a functionality in which the user can upload an
Excel sheet with a number of records. Now, this excel sheet needs to be in a
format and every column needs to be validated for minlength,maxlength, mask
etc. So, validator framework is good for me. but for validation pupose i
will need to open the Excel sheet and read each value. Cant figur out what
to do.
Please help.

Deepa


html:multibox for multiplecolumns

2006-03-04 Thread makarand sonawane
Hi
   
  I want informatio on how I can display multiple check boxes using 
html:multibox in different columns
  For example i have a Array of size 25 and I want display the 
checkboxes in 5*5 table i.e each column of the table will have 5 check boxes 
and each row will 5 check boxes.
   
  Regards
  Mak


-
 Yahoo! Mail
 Use Photomail to share photos without annoying attachments.

Shale vs. Action framework Statistics

2006-03-04 Thread Bernhard Slominski
Hi,

are there any download statistics availabe for Shale + the action framework?

Could give a rough estimated about the popularity of both framworks.

Thanks

Bernhard Slominski


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



Re: Shale vs. Action framework Statistics

2006-03-04 Thread Ted Husted
On 3/4/06, Bernhard Slominski [EMAIL PROTECTED] wrote:
 are there any download statistics availabe for Shale + the action framework?

 Could give a rough estimated about the popularity of both framworks.

The download statistics for the Apache Struts website are here:

* http://people.apache.org/~vgritsenko/stats/projects/struts

But it doesn't distinguish between Struts Action and Struts Shale.

Another good way to judge the popularity of a product is by the
articles and extensions other people publish about it. For more on
that score visit

* Planet Struts - http://www.PlanetStruts.org/
* Struts Central - http://www.StrutsCentral.net/

According to the OnJava 2005 reader survey, the Struts Action
framework was holding steady at a 60% share (among readers who
responded).

* http://www.planetstruts.org/roller/page/news?entry=struts_still_the_one_says

Of course, the best reason to select a product is because it meets
*your* needs. Every framework out there was created because someone
felt their specific needs were not being addressed. The best advice is
to try a portion of your application (a spike) in a couple of likely
choices, and then decide for yourself.  Besides Shale and Action,
other likely candiates might be Tapestry, Spring MVC, and Wicket,
along with WebWork (Action2).

If the choice is between Action and Shale, then first decide if you
want to use JSF. For more see,

* http://struts.apache.org/kickstart.html#choice

-- HTH, Ted.
** http://www.husted.com/ted/blog/

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



Re: Logic Tag Question

2006-03-04 Thread Laurie Harper

Change ${tz}.value to ${tz.value}.

Kalcevich, Daniel wrote:

The bean:write/ is fine.  I know that works.  The problem is with the
logic:equal comparion.  


logic:iterate id=tz name=timezones
logic:equal name=accountProfileForm property=timeZone
value=${tz}.value
bean:write name=tz property=label/
/logic:equal
/logic:iterate

How can I say that the value I want to check against if the getValue()
method from the tz variable?

-Original Message-
From: Michael Jouravlev [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 03, 2006 1:29 PM

To: Struts Users Mailing List
Subject: Re: Logic Tag Question

On 3/3/06, Kalcevich, Daniel [EMAIL PROTECTED] wrote:

bean:write name=tz property=label/
But the problem is that the value that I want to compare in the
logic:equal tag is really ${tz}.value.  But how can I set the value to
the getValue() from the tz variable.


None of these works?

bean:write name=tz.value property=label/
bean:write name=tz property=value.label/
bean:write name=tz.value.label/

Michael.

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



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



Re: Changing Tiles definition based on user role

2006-03-04 Thread Zoran Avtarovski
We were after something similar. Have you had a look at Dimensions
http://mutidimensions.sf.net/

We're still in the process of building but it looks like what you are after.

Z.

 On 3/2/06, Miller, John [EMAIL PROTECTED] wrote:
 
 I have used tiles basic functionality for some time both in Struts and
 JSF/MyFaces env. What I am trying to do is set my tiles definition based
 on user role so I would have two tiles defined the same, but based on
 user role the correct one would be rendered.
 
 
 I haven't tried it, but it seems to me you would have two _different_ Tiles
 definitions, and the page would include both, but only one of them would
 ever be displayed.  (Assuming the roles are mutually exclusive.)
 
 Have you looked at the debug log when your tiles config is processed?  I
 wouldn't be surprised if the second definition for the same name is just
 replacing the first definition.  By 'not working' do you mean that only the
 newCustomer tile gets displayed?  Or nothing?
 
 --
 Wendy



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