You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/11/22 07:24:43 UTC

DO NOT REPLY [Bug 24909] New: - add new tag for css stylesheet linking

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24909>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24909

add new tag for css stylesheet linking

           Summary: add new tag for css stylesheet linking
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: ramon.casha@linux.org.mt


add a new tag, similar to LinkTag, to generate &lt;link rel='stylesheet' ...> tags, with 
url rewriting etc. (or maybe alter the existing &lt;html:link> tag?)

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Variable value in logic:equal tag Help Req

Posted by Shakti <sh...@hotmail.com>.
With reference this mail :
I trid this code but i am getting the error :can not resolve symbol refValue
:\bea\user_projects\mydomain\myserver\.wlnotdelete\mcc_mcc_4346456\jsp_servl
et\__reassignta.java:376: cannot resolve symbol
probably occurred due to an error in /reassignta.jsp line 118:
<logic:equal name="reassignedTaId" value="<%= refValue %>" >

I want to compare values from one arraylist with another using logic equal
tag but in the value="" tag how i can give a variable ??
Plz Help !!!
Thanks & Regards,
Shakti



----- Original Message -----
From: "Nicolas De Loof" <ni...@cgey.com>
To: "Struts Developers List" <st...@jakarta.apache.org>
Sent: Monday, November 24, 2003 4:38 PM
Subject: Re: variable value in logic notEqual tag


> Use this :
>
> <bean:define id="refValue" name="beanRef" property="foo"/>
> <logic:equal name="beanToCompare" property="bar" value="<%= refValue %>" >
> ...
> </logic:equal>
>
>
> Nico.
>
> ----- Original Message -----
> From: "Baljinder Singh" <ba...@interglobetechnologies.com>
> To: "Struts Developers List" <st...@jakarta.apache.org>
> Sent: Monday, November 24, 2003 12:03 PM
> Subject: variable value in logic notEqual tag
>
>
> > Hi All,
> >
> > I want to compare the variable in notEqual tag to value of another
variable
> > instead of comparing it to a fixed value. How can I do that ?
> >
> > Thanks
> > BS
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-dev-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Variable value in logic:equal tag Help Req

Posted by Shakti <sh...@hotmail.com>.
With reference this mail :
I trid this code but i am getting the error :can not resolve symbol refValue
:\bea\user_projects\mydomain\myserver\.wlnotdelete\mcc_mcc_4346456\jsp_servl
et\__reassignta.java:376: cannot resolve symbol
probably occurred due to an error in /reassignta.jsp line 118:
<logic:equal name="reassignedTaId" value="<%= refValue %>" >

I want to compare values from one arraylist with another using logic equal
tag but in the value="" tag how i can give a variable ??
Plz Help !!!
Thanks & Regards,
Shakti



----- Original Message -----
From: "Nicolas De Loof" <ni...@cgey.com>
To: "Struts Developers List" <st...@jakarta.apache.org>
Sent: Monday, November 24, 2003 4:38 PM
Subject: Re: variable value in logic notEqual tag


> Use this :
>
> <bean:define id="refValue" name="beanRef" property="foo"/>
> <logic:equal name="beanToCompare" property="bar" value="<%= refValue %>" >
> ...
> </logic:equal>
>
>
> Nico.
>
> ----- Original Message -----
> From: "Baljinder Singh" <ba...@interglobetechnologies.com>
> To: "Struts Developers List" <st...@jakarta.apache.org>
> Sent: Monday, November 24, 2003 12:03 PM
> Subject: variable value in logic notEqual tag
>
>
> > Hi All,
> >
> > I want to compare the variable in notEqual tag to value of another
variable
> > instead of comparing it to a fixed value. How can I do that ?
> >
> > Thanks
> > BS
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-dev-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Re: variable value in logic notEqual tag

Posted by Nicolas De Loof <ni...@cgey.com>.
Use this :

<bean:define id="refValue" name="beanRef" property="foo"/>
<logic:equal name="beanToCompare" property="bar" value="<%= refValue %>" >
...
</logic:equal>


Nico.

----- Original Message ----- 
From: "Baljinder Singh" <ba...@interglobetechnologies.com>
To: "Struts Developers List" <st...@jakarta.apache.org>
Sent: Monday, November 24, 2003 12:03 PM
Subject: variable value in logic notEqual tag


> Hi All,
> 
> I want to compare the variable in notEqual tag to value of another variable
> instead of comparing it to a fixed value. How can I do that ?
> 
> Thanks
> BS
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-dev-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Re: variable value in logic notEqual tag

Posted by Nicolas De Loof <ni...@cgey.com>.
First, please ask such things on struts users-list.

Second, using <%= pageCount %> as attribute for a jsp tag is'nt a scriptlet, it is a "runtime experssion". This is not
considered beeing a bad design (you cannot split java code in multiple blocs as you can with scriptlets)

You can use Expression Language with struts-el tags if you consider it better (and if you use a modern servlet
container).

Nico.


----- Original Message ----- 
From: "Baljinder Singh" <ba...@interglobetechnologies.com>
To: "Struts Developers List" <st...@jakarta.apache.org>
Sent: Monday, November 24, 2003 12:17 PM
Subject: RE: variable value in logic notEqual tag


> In continuation to my previous message, I want to do this without using
> scriptlets.
>
> Not something like following:
>
> <bean:define id="pageCount" name="countryAF" property="pageCount" />
> <logic:notEqual name="countryAF" property="pageNo" value="<%=pageCount%>">
> ..
> </logic:notEqual>
>
> -----Original Message-----
> From: Baljinder Singh
> [mailto:baljinder.singh@interglobetechnologies.com]
> Sent: Monday, November 24, 2003 4:34 PM
> To: Struts Developers List
> Subject: variable value in logic notEqual tag
>
>
> Hi All,
>
> I want to compare the variable in notEqual tag to value of another variable
> instead of comparing it to a fixed value. How can I do that ?
>
> Thanks
> BS
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-dev-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


RE: variable value in logic notEqual tag

Posted by Baljinder Singh <ba...@interglobetechnologies.com>.
In continuation to my previous message, I want to do this without using
scriptlets.

Not something like following:

<bean:define id="pageCount" name="countryAF" property="pageCount" />
<logic:notEqual name="countryAF" property="pageNo" value="<%=pageCount%>">
..
</logic:notEqual>

-----Original Message-----
From: Baljinder Singh
[mailto:baljinder.singh@interglobetechnologies.com]
Sent: Monday, November 24, 2003 4:34 PM
To: Struts Developers List
Subject: variable value in logic notEqual tag


Hi All,

I want to compare the variable in notEqual tag to value of another variable
instead of comparing it to a fixed value. How can I do that ?

Thanks
BS


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


variable value in logic notEqual tag

Posted by Baljinder Singh <ba...@interglobetechnologies.com>.
Hi All,

I want to compare the variable in notEqual tag to value of another variable
instead of comparing it to a fixed value. How can I do that ?

Thanks
BS


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Re: DO NOT REPLY [Bug 24909] New: - add new tag for css stylesheet linking

Posted by James Mitchell <jm...@apache.org>.
On Sat, 22 Nov 2003, Robert Leland wrote:


I'm about to roll off of one project and onto another so I should have
some free time in between.

I'll take care of this in a couple days...along with the long-promised
(errr threatened) rewrite of the struts-example ;).




> Ted Husted wrote:
>
> > If there are no objections on technical grounds, I would favor adding
> > it. You can do this sort of thing with rewrite, but it's clumsy and
> > counter-intuitive.
>
>
> +1,. It's a hole in the html tags, and a good fit.
>
> -Rob
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-dev-help@jakarta.apache.org
>
>

-- 
James Mitchell
Software Developer / Struts Evangelist
http://www.struts-atlanta.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Re: DO NOT REPLY [Bug 24909] New: - add new tag for css stylesheet linking

Posted by Robert Leland <rl...@apache.org>.
Ted Husted wrote:

> If there are no objections on technical grounds, I would favor adding 
> it. You can do this sort of thing with rewrite, but it's clumsy and 
> counter-intuitive.


+1,. It's a hole in the html tags, and a good fit.

-Rob



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Re: DO NOT REPLY [Bug 24909] New: - add new tag for css stylesheet linking

Posted by Ted Husted <hu...@apache.org>.
If there are no objections on technical grounds, I would favor adding 
it. You can do this sort of thing with rewrite, but it's clumsy and 
counter-intuitive.

The argument may have had something to do with JSTL, but I think we are 
past that now. Since a large segment of the Struts Community is using 
the original tags, it's our job to do what we can to help.

-Ted.

James Mitchell wrote:
> On Fri, 22 Nov 2003 bugzilla@apache.org wrote:
> 
> I created such a tag over a year ago and have been using it successfully
> in several of my apps, but I seem to recall a few committers not wanting to
> add it to the struts tags.  I don't remember who was or wasn't in favor,
> but I remember someone saying that it should be hosted somewhere like
> sourceforge.
> 
> Doing this would be pretty straightfoward (especially after David's
> refactoring).
> 
> 
> 
> 
> 
>>DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
>>RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
>><http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24909>.
>>ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
>>INSERTED IN THE BUG DATABASE.
>>
>>http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24909
>>
>>add new tag for css stylesheet linking
>>
>>           Summary: add new tag for css stylesheet linking
>>           Product: Struts
>>           Version: Nightly Build
>>          Platform: All
>>        OS/Version: All
>>            Status: NEW
>>          Severity: Enhancement
>>          Priority: Other
>>         Component: Custom Tags
>>        AssignedTo: struts-dev@jakarta.apache.org
>>        ReportedBy: ramon.casha@linux.org.mt
>>
>>
>>add a new tag, similar to LinkTag, to generate &lt;link rel='stylesheet' ...> tags, with
>>url rewriting etc. (or maybe alter the existing &lt;html:link> tag?)
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: struts-dev-help@jakarta.apache.org
>>
>>
> 
> 

-- 
Ted Husted,
   Junit in Action  - <http://www.manning.com/massol/>,
   Struts in Action - <http://husted.com/struts/book.html>,
   JSP Site Design  - <http://www.amazon.com/exec/obidos/ISBN=1861005512>.



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Re: DO NOT REPLY [Bug 24909] New: - add new tag for css stylesheet linking

Posted by James Mitchell <jm...@apache.org>.
On Fri, 22 Nov 2003 bugzilla@apache.org wrote:

I created such a tag over a year ago and have been using it successfully
in several of my apps, but I seem to recall a few committers not wanting to
add it to the struts tags.  I don't remember who was or wasn't in favor,
but I remember someone saying that it should be hosted somewhere like
sourceforge.

Doing this would be pretty straightfoward (especially after David's
refactoring).




> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24909>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
> INSERTED IN THE BUG DATABASE.
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24909
>
> add new tag for css stylesheet linking
>
>            Summary: add new tag for css stylesheet linking
>            Product: Struts
>            Version: Nightly Build
>           Platform: All
>         OS/Version: All
>             Status: NEW
>           Severity: Enhancement
>           Priority: Other
>          Component: Custom Tags
>         AssignedTo: struts-dev@jakarta.apache.org
>         ReportedBy: ramon.casha@linux.org.mt
>
>
> add a new tag, similar to LinkTag, to generate &lt;link rel='stylesheet' ...> tags, with
> url rewriting etc. (or maybe alter the existing &lt;html:link> tag?)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-dev-help@jakarta.apache.org
>
>

-- 
James Mitchell
Software Developer / Struts Evangelist
http://www.struts-atlanta.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org