Re: [S2] How to add a custom parameter to an existing Struts UI Tag?

2010-10-09 Thread Li Ying
Hi Burton: The error message looks like the TLD file does not defined the new attribute correctly. So i think maybe the execute environment is not using the modified TLD file but the old one. Can you show us how you do apply your TLD file to the execute environment? -

Re: [S2] How to add a custom parameter to an existing Struts UI Tag?

2010-10-09 Thread Burton Rhodes
Thanks for the email. I was afraid it might be a bit more involved. I will probably shy away from that sort of surgery. Once you start modifying the Struts source, it can make future Struts upgrades painful. On Sat, Oct 9, 2010 at 5:26 PM, Mead Lai wrote: > Hi Burton, > > I see, that would be t

Re: [S2] How to add a custom parameter to an existing Struts UI Tag?

2010-10-09 Thread Mead Lai
Hi Burton, I see, that would be the problem cause that ERROR. You have to download the struts2 source, and take a look at the both org.apache.struts2.views.jsp.ui.CheckboxListTag and org.apache.struts2.components,CheckboxList. I think you must add the attribute "breakCount" into CheckboxList.java,

Re: [S2] How to add a custom parameter to an existing Struts UI Tag?

2010-10-09 Thread Burton Rhodes
I ended up not having to create a new tag. I simply overrode the current template (template/simple/checkboxlist.tld) to do what I wanted. Essentially I just did what it says on this page entitled "Creating And Applying Your Own Themes For Struts 2 Tags": http://struts.apache.org/2.2.1/docs/strut

Re: [S2] How to add a custom parameter to an existing Struts UI Tag?

2010-10-09 Thread Mead Lai
I mean in the modified "struts-tags.tld": checkboxlist org.apache.struts2.views.jsp.ui.CheckboxListTag JSP It seems nothing changed about the tag-class

Re: [S2] How to add a custom parameter to an existing Struts UI Tag?

2010-10-09 Thread Mead Lai
Hello all, I am trying to create my struts2 UI-Tag too. Did you change the org.apache.struts2.views.jsp.ui.CheckboxListTag to your rewritten the Tag-class and the correspond CheckboxList yet? Regards, Mead

Re: [S2] How to add a custom parameter to an existing Struts UI Tag?

2010-10-09 Thread Burton Rhodes
Agreed. I think an upgrade to the checklistbox tag is in warranted. Through my searches there are many posts looking for ways to "layout" the checkboxlist better. Most frustrating on this tag is the actual checkbox and the label will break lines making this unacceptable from a UI perspective. Al

Re: [S2] How to add a custom parameter to an existing Struts UI Tag?

2010-10-09 Thread Dave Newton
Much cleaner to encapsulate the behavior, especially if it's used often. It might be easier to use a JSP-based tag, though, than to extend an S2 tag. On Saturday, October 9, 2010, Maurizio Cucchiara wrote: > Dave you're right, > I was not clear > I'll try to explain better: > > >   value="checkb

Re: [S2] How to add a custom parameter to an existing Struts UI Tag?

2010-10-09 Thread Maurizio Cucchiara
Dave you're right, I was not clear I'll try to explain better: insert breaking string Maurizio Cucchiara 2010/10/9 Dave Newton : > I think encapsulating this kind of behavior in a custom tag is why > custom tags exist--and since the iteration is handled by the > checkboxlist tag i

Re: [S2] How to add a custom parameter to an existing Struts UI Tag?

2010-10-09 Thread Dave Newton
I think encapsulating this kind of behavior in a custom tag is why custom tags exist--and since the iteration is handled by the checkboxlist tag internally, using an iterator/etc. doesn't really work. Dave On Saturday, October 9, 2010, Maurizio Cucchiara wrote: > Do you need to insert a breaking

Re: [S2] How to add a custom parameter to an existing Struts UI Tag?

2010-10-09 Thread Maurizio Cucchiara
Do you need to insert a breaking string every 3 items? I think this approach is too much expansive in term of time. Furthermore, after that, you should deal with subcassing process. You should have valid reasons for do that. Why don't you simply use mod operator?: insert breaking string

[S2] How to add a custom parameter to an existing Struts UI Tag?

2010-10-09 Thread Burton Rhodes
I am trying to override a struts tag template (specifically ), and I can't figure out how to add a parameter to the tag. I have successfully overridden the template by copying "checkboxlist.tld" to my template/simple directory and all works well. Now I would like to add a parameter. It appears t

How to control the rendering of struts UI tags? [Solved]

2010-05-27 Thread Ken
Searching I found something to the effect "did you change the rendering mode to css"... and then the OP went on his way... Where is this switch flicked? Oh, just because I've got inertia found the answer in "Struts 2 in Action", but was looking user the wrong headings... I'm going to answer my own

Re: download link for struts UI Tags?

2009-06-22 Thread Nils-Helge Garli Hegvik
The Struts 2 core already includes the tag libraries. So if you have downloaded struts 2, then you also have the tag libraries you need. Struts distributions can be downloaded here: http://struts.apache.org/downloads.html Nils-H On Mon, Jun 22, 2009 at 10:46 AM, Sam Wun wrote: > Hi, > > Can anyon

Re: download link for struts UI Tags?

2009-06-22 Thread Sam Wun
Hi, I actually want to use the struts UI tags " Zip+4 " Thanks On Mon, Jun 22, 2009 at 6:46 PM, Sam Wun wrote: > Hi, > > Can anyone tell me where can I downnload struts (2) UI Tags  

download link for struts UI Tags?

2009-06-22 Thread Sam Wun
Hi, Can anyone tell me where can I downnload struts (2) UI Tags library? Thanks - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: How to develop a Wireframe using Struts UI?

2009-05-07 Thread Dave Newton
kunduruswaroop wrote: I tried several ways to resolve the issue my self. But here is the problem I did not find a UI framework for it. I used tables and did the work. It is very hard putting everything in Tables I expected the API for it. S2 is the *back-end* of a webapp, not the front-end. If

RE: How to develop a Wireframe using Struts UI?

2009-05-07 Thread kunduruswaroop
Ce message sert à l'information seulement et > n'aura pas n'importe quel effet légalement obligatoire. Étant donné que > les email peuvent facilement être sujets à la manipulation, nous ne > pouvons accepter aucune responsabilité pour le contenu fourni. > > > > &

RE: How to develop a Wireframe using Struts UI?

2009-05-03 Thread Martin Gainty
acilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Sat, 2 May 2009 16:00:00 -0400 > From: d...@newfield.org > To: user@struts.apache.org > Subject: Re: How to develop a Wireframe using Struts UI? > > dusty

Re: How to develop a Wireframe using Struts UI?

2009-05-02 Thread Dave Newton
Dale Newfield wrote: 4) If your problem is still not solved then spend time authoring a thoughtful question to the mailing list, including your relevant code/configuration and what you have already tried. The greatest part about this portion of the solution is that 4 times out of 5 it help

Re: How to develop a Wireframe using Struts UI?

2009-05-02 Thread Dale Newfield
dusty wrote: 4) If your problem is still not solved then spend time authoring a thoughtful question to the mailing list, including your relevant code/configuration and what you have already tried. The greatest part about this portion of the solution is that 4 times out of 5 it helps me tra

Re: How to develop a Wireframe using Struts UI?

2009-05-02 Thread dusty
a wireframe. I need a expand and collapse version too as shown > picture below. > > Thanks in advance. > > Regards, > > Swaroop Kunduru http://www.nabble.com/file/p23318872/Temp1.PNG Temp1.PNG > -- View this message in context: http://www.nabble.com/How-to-develop-

Re: How to develop a Wireframe using Struts UI?

2009-04-30 Thread Jim Kiley
file/p23318872/Temp1.PNG Temp1.PNG > > > > > Thanks in advance. > > Regards, > > Swaroop Kunduru > -- > View this message in context: > http://www.nabble.com/How-to-develop-a-Wireframe-using-Struts-UI--tp23317576p23318872.html >

Re: How to develop a Wireframe using Struts UI?

2009-04-30 Thread kunduruswaroop
context: http://www.nabble.com/How-to-develop-a-Wireframe-using-Struts-UI--tp23317576p23318872.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For

Re: How to develop a Wireframe using Struts UI?

2009-04-30 Thread Nils-Helge Garli Hegvik
e. > http://www.nabble.com/file/p23317576/Temp.PNG Temp.PNG > > > > > Thanks in advance. > > Regards, > > Swaroop Kunduru > -- > View this message in context: > http://www.nabble.com/How-to-develop-a-Wireframe-using-Struts-UI--tp23317576p23317576.html > Sent from t

How to develop a Wireframe using Struts UI?

2009-04-30 Thread kunduruswaroop
Please see the UI drawing below and let me know the steps to follow to develop a wireframe. http://www.nabble.com/file/p23317576/Temp.PNG Temp.PNG Thanks in advance. Regards, Swaroop Kunduru -- View this message in context: http://www.nabble.com/How-to-develop-a-Wireframe-using-Struts

Overriding Struts UI Controls

2008-12-28 Thread Narayana S
Hi, i am overriding the struts UI controls for my role based UI rendering. based on user role i have to decide few attributes of UI component like editability,visibility etc. for that i have implemented logic required. to achieve this i am extending TextFieldTag and in the overriding method

Overriding Struts UI Controls

2008-12-24 Thread Ganesh123
Hi, i am overriding the struts UI controls for my role based UI rendering. based on user role i have to decide few attributes of UI component like editability,visibility etc. for that i have implemented logic required. to achieve this i am extending TextFieldTag and in the overriding method

RE: Disabling struts UI objects

2007-10-04 Thread Jiang, Jane (NIH/NCI) [C]
, 2007 4:18 AM To: user@struts.apache.org Subject: Disabling struts UI objects Hi, I tried to set some UI elements (button, select, ...) to be disabled, but they are still clickable. I would like to disable certain UI objects from an action code, where some logical verification will occur as the

Disabling struts UI objects

2007-08-08 Thread Session A Mwamufiya
Hi, I tried to set some UI elements (button, select, ...) to be disabled, but they are still clickable. I would like to disable certain UI objects from an action code, where some logical verification will occur as the form is prepared. Any ideas about how this can be done? Thanks, Session

Re: Struts ui components inside in a single line.

2007-04-04 Thread Mark Menard
Ugh... I missed this thread. On 3/29/07 9:16 PM, "Felipe Rodrigues" <[EMAIL PROTECTED]> wrote: > I found the solution to my case. I got the rendered html and put it direct on > my jsp page. But I've thinking. Could anyone figure out how to create an > attribute like autoLayout="true" to the forms

Re: Struts ui components inside in a single line.

2007-04-04 Thread tobinibot
Someone has already created a theme that allows you to place multiple form elements on the same row. http://www.vitarara.org/cms/node/85 http://www.vitarara.org/cms/node/85 Tobin -- View this message in context: http://www.nabble.com/Struts-ui-components-inside-%3Ctable%3E-in-a-single-line

Re: Struts ui components inside in a single line.

2007-03-29 Thread joey
f components in a single line? > > I tried this, but did not worked: > > > > some text > other text > > > > > > > Thanks, > > Felipe > -- View this message in context: http://www.nabble.com/Struts-ui-components-inside-%3

Re: Struts ui components inside in a single line.

2007-03-29 Thread Ted Husted
I believe most of the Ajax/Dojo plugin is already done in the HEAD. The one that's still in the talking stage is moving the porlet support to a plugin. :) On 3/29/07, Dave Newton <[EMAIL PROTECTED]> wrote: I know there's some talk about making the ajax support a plugin... I don't know exactly

Re: Struts ui components inside in a single line.

2007-03-29 Thread Felipe Rodrigues
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. >> http://autos.yahoo.com/green_center/ >> >> --------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional c

Re: Struts ui components inside in a single line.

2007-03-29 Thread Felipe Rodrigues
es somebody have an example about how make a form using the struts tags, > with all of components in a single line? > > I tried this, but did not worked: > > > > some text > other text > > > > > > > Thanks, > >

Re: Struts ui components inside in a single line.

2007-03-29 Thread Musachy Barroso
For the autocompleter and datetimepicker, if the "label" attribute is set, it renders a row, with the 2 cells, like in the xhtml now, but the submit tag doesn't. This could change based on feedback, and now it would be a good time for it :) regards musachy On 3/29/07, Dave Newton <[EMAIL PROTECT

Re: Struts ui components inside in a single line.

2007-03-29 Thread Dave Newton
--- Felipe Rodrigues <[EMAIL PROTECTED]> wrote: > It worked. I only needed some clue like that. Sometimes the answer is right in front of you and you just can't see it... happens to me a *LOT* :/ > PS.: But I still think we could create some attribute > to set this behavior or not to the ajax the

Re: Struts ui components inside in a single line.

2007-03-29 Thread Ted Husted
For Struts 2.1.x, the Ajax theme is being migrated to a plugin, and I don't know how much of this would apply. On 3/29/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote: PS.: But I still think we could create some attribute to set this behavior or not to the ajax theme. Something like ( automatciLa

Re: Struts ui components inside in a single line.

2007-03-29 Thread Felipe Rodrigues
> To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts-ui-co

Re: Struts ui components inside in a single line.

2007-03-29 Thread Dave Newton
--- Felipe Rodrigues <[EMAIL PROTECTED]> wrote: > Are you sure the only way to do that is by extending > a theme? I'm sure there's all sorts of ways to do what you want. Frankly, if I had been doing it, I would have just looked at how the button rendered with the ajax theme and just put that in

Re: Struts ui components inside in a single line.

2007-03-29 Thread Felipe Rodrigues
; - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts-ui-components-inside-%3Ctable%3E-i

Re: Struts ui components inside in a single line.

2007-03-29 Thread Dave Newton
--- Felipe Rodrigues <[EMAIL PROTECTED]> wrote: > Did you take a look at my code, in the this thread? His suggestion to consider modifying/creating a theme was probably a good idea. d. Food fight? Enjoy some

Re: Struts ui components inside in a single line.

2007-03-29 Thread Felipe Rodrigues
gt;> I tried this, but did not worked: >> >> >> >> some text >> other text >> >> >> >> >> >> >> Thanks, >> >> Felipe > > ------

Re: Struts ui components inside in a single line.

2007-03-29 Thread Ted Husted
To include your own formatting, use the simple theme. The default theme can be specified for the application in the struts configuration. A different theme can be specified for individual forms as needed. http://struts.apache.org/2.x/docs/template-loading.html HTH, Ted

Re: Struts ui components inside in a single line.

2007-03-29 Thread Felipe Rodrigues
To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts-ui-components-inside-%3Ctable%3E-in-a-single-line.-tf3489297.html#a9744831 Sent from the Struts - User mailing list archive at

Re: Struts ui components inside in a single line.

2007-03-29 Thread Dave Newton
--- Felipe Rodrigues <[EMAIL PROTECTED]> wrote: > Does somebody have an example about how make a form > using the struts tags, > with all of components in a single line? I believe you already got the answer to this, but for the sake of completeness... setting theme="simple" on a component will ke

Struts ui components inside in a single line.

2007-03-29 Thread Felipe Rodrigues
Hi guys, Does somebody have an example about how make a form using the struts tags, with all of components in a single line? I tried this, but did not worked: some text other text Thanks, Felipe -- View this message in context: http://www.nabble.com/Struts

Re: Struts UI

2006-08-06 Thread Thomas Joseph
ccess. - Original Message - From: Parimala KV To: user@struts.apache.org Sent: Monday, August 07, 2006 10:53 AM Subject: Struts UI Hi I am writing a custom tag library. In this library I want to create the Struts input elements from the custom Taglib. Can I hav

Struts UI

2006-08-06 Thread Parimala KV
Hi I am writing a custom tag library. In this library I want to create the Struts input elements from the custom Taglib. Can I have any samples for the same. Ex: Public class CustomTagLib extends TagSubbort{ Public int doTag() {