Phil, it may have something to do with your JSP container and the version of
the taglib.

Have you tried the same JSP on Java5+Tomcat6 or another taglib in your JSP
container?

Cheers,
Taras

On Wed, Feb 11, 2009 at 11:46 AM, phil darley <[email protected]
> wrote:

> Hi Ben,
>
> Nope it's not as simple as that unfortunately :(  I am importing the
> stripes TLD and assigning it 'stripes' as a prefix. To give you the
> full picture all other stripe tags in the same jsp are being parsed as
> expected (form, text, submit) even radio (when the value attribute
> contains no scriplet). E.g.
>
> JSP:
>
> scriplet test:<stripes:radio name="tribeAccountNumber"
> value="<%="test"%>"/>
> non-scriplet test:<stripes:radio name="tribeAccountNumber" value="test2"/>
>
> HTML:
>
> scriplet test:<stripes:radio name="tribeAccountNumber" value="test"/>
> non-scriplet test:<input value="test2" type="radio"
> name="tribeAccountNumber" />
>
> Does anybody have any expert knowledge on the Tag parsing classes
> involved with this process which might be able to shed some light on
> what is happening?
>
> Thanks,
> Phil
>
>
> On Tue, Feb 10, 2009 at 7:36 PM, Ben Gunter <[email protected]> wrote:
> > Phil, it looks like you forgot to include the <%@ taglib %> in the page
> for
> > the Stripes taglib, or your tag is using the wrong prefix. The scriptlet
> is
> > executing but the tag isn't being interpreted and the JSP is just
> spitting
> > it out verbatim.
> >
> > -Ben
> >
> > On Tue, Feb 10, 2009 at 11:37 AM, phil darley
> > <[email protected]> wrote:
> >>
> >> Hi Taras,
> >>
> >> Sorry for not been clear enough, it is a strange issue. Seems that
> >> putting a scriplet within a stripes tag is preventing the stripes tag
> >> from been rendered by Stripes.
> >>
> >> The type="radio" attribute which belongs to the input html tag is not
> >> been rendered in the HTML produced from a stripes:radio tag when a
> >> scriplet is put inside the value attribute. Example:
> >>
> >> JSP code:
> >>
> >> <stripes:radio name="tribeAccountNumber" value="<%="test"%>"/>
> >>
> >> Parsed HTML:
> >>
> >> <stripes:radio value="test" name="tribeAccountNumber" />
> >>
> >> Expected parsed HTML:
> >>
> >> <input value="test" type="radio" name="tribeAccountNumber" />
> >>
> >> Cheers,
> >> Phil
> >
> >
> >
> ------------------------------------------------------------------------------
> > Create and Deploy Rich Internet Apps outside the browser with
> > Adobe(R)AIR(TM)
> > software. With Adobe AIR, Ajax developers can use existing skills and
> code
> > to
> > build responsive, highly engaging applications that combine the power of
> > local
> > resources and data with the reach of the web. Download the Adobe AIR SDK
> and
> > Ajax docs to start building applications today-
> http://p.sf.net/sfu/adobe-com
> > _______________________________________________
> > Stripes-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/stripes-users
> >
> >
>
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code
> to
> build responsive, highly engaging applications that combine the power of
> local
> resources and data with the reach of the web. Download the Adobe AIR SDK
> and
> Ajax docs to start building applications today-
> http://p.sf.net/sfu/adobe-com
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to