Stan,

I'd love to get you aboard for getting rid of this problem - you see
the very long thread this has grown to be ;)

can you have a look at:

http://issues.apache.org/jira/browse/MYFACES-434

and decide if it would make a good addition to the codebase?

regards,

Martin

On 12/22/05, Dave Brondsema <[EMAIL PROTECTED]> wrote:
> See http://issues.apache.org/jira/browse/MYFACES-434
>
> Also, you can change components to add JS & CSS inline instead of to the
> head.  There's a method in AddResource for that, and I think it'll work
> just fine.  However, I think that for valid HTML you may only be allowed
> to put them in <head>
>
> Louis Burroughs wrote:
> >
> > The AddResource class parses the html to add tags in the head.  I am
> > assuming that because the head is rendered outside of the portlet (it
> > belongs to the entire page), that it is not in to the resource stream
> > the AddResource class is using.  I will be spending at least some of my
> > Christmas break reading up on this and if it is possible to create an
> > AddPortletResource that has access to the html wrapping my portlet, so I
> > can insert text into the head.
> >
> >
> > Louis M. Burroughs III
> >
> >
> >       *CD <[EMAIL PROTECTED]>*
> >
> > 12/22/2005 04:06 PM
> > Please respond to "MyFaces Discussion"
> >
> >
> >
> >         To:        MyFaces Discussion <users@myfaces.apache.org>,
> > [EMAIL PROTECTED]
> >         cc:
> >         bcc:
> >         Subject:        Re: Popup calendar javascript - loadPopupScript
> > not defined
> >
> >
> >
> >
> >
> > Louis,
> >
> > Did you try adding the script tags to include the js manually?  I'm
> > noticing that it is not placing it between the <head> tags in the
> > rendered html.
> >
> >
> >
> > On 12/22/05, *Martin Marinschek* <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:No. not that I know of.. so
> > you'll need to write it from scratch.
> >
> > regards,
> >
> > Martin
> >
> > On 12/22/05, *Louis Burroughs* <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> > When you say add the resources myself do you mean adding the javascript
> > files using the script tag?
> >
> > <script language="JavaScript" src="jscookmenu/JSCookMenu.js"
> > type="text/javascript">
> > <script language="JavaScript" src="jscookmenu/ThemeOffice/theme.js"/>
> > <link rel="stylesheet" href="jscookmenu/ThemeOffice/theme.css"
> > type="text/css"/>
> > <script language="JavaScript" src="jscookmenu/ThemeMiniBlack/theme.js"/>
> > <link rel="stylesheet" href="jscookmenu/ThemeMiniBlack/theme.css"
> > type="text/css"/>
> > <script language="JavaScript" src="jscookmenu/ThemeIE/theme.js"/>
> > <link rel="stylesheet" href="jscookmenu/ThemeIE/theme.css"
> > type="text/css"/>
> > <script language="JavaScript" src="jscookmenu/ThemePanel/theme.js"/>
> > <link rel="stylesheet" href="jscookmenu/ThemePanel/theme.css"
> > type="text/css"/>
> >
> > The only reason I ask is because adding stylesheets can be done easily
> > using the <t:stylesheet> tag and my url encoding is handled.  The script
> > tags on the otherhand will fail url encoding, which means that I will
> > have to write a <x:script> component (unless one already exists)
> >
> >
> >
> >
> >
> >
> > Louis M. Burroughs III
> >
> >
> >
> >       *Martin Marinschek <[EMAIL PROTECTED] _*
> > <mailto:[EMAIL PROTECTED]>*> *
> >
> > 12/22/2005 03:08 PM
> > Please respond to "MyFaces Discussion"
> >
> >
> >
> >         To:        MyFaces Discussion <_ [EMAIL PROTECTED]
> > <mailto:users@myfaces.apache.org>>
> >         cc:
> >         bcc:
> >         Subject:        Re: Popup calendar javascript - loadPopupScript
> > not defined
> >
> >
> >
> >
> > Well, you can work around the issues.
> >
> > just add the resources yourself! this is not ideal, but better than
> > nothing.
> >
> > I don't know of any of the MyFaces committers being involved with
> > portals, so I really don't know about a timetable, sorry.
> >
> > regards,
> >
> > Martin
> >
> > On 12/22/05, CD <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
> >  > D'oh!  Do you know what the timetable is on MyFaces supporting a portal
> >  > environment?
> >  >
> >  >
> >  >
> >  > On 12/22/05, Martin Marinschek <[EMAIL PROTECTED] _
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >  > > Well, what I remember it wouldn't work as we used the ServletRequest
> >  > > in the filter - and that wasn't available in the portlet environment?
> >  > >
> >  > > But actually, upon reflection, people complained about class-cast
> >  > > exceptions then...
> >  > >
> >  > > Hmmm...
> >  > >
> >  > > There is one huge patch in jira attributed to Stan Silvert which never
> >  > > got committed which was about enabling ExtensionFilter for portlets.
> >  > >
> >  > > regards,
> >  > >
> >  > > Martin
> >  > >
> >  > >
> >  > > On 12/22/05, Mike Kienenberger <_ [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >  > > > On 12/22/05, Mike Kienenberger < [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >  > > > > Is it a matter of the
> >  > /faces/myfacesExtensionResource/* resources not
> >  > > > > being available?  Maybe this could be addressed by a filter.
> >  > > >
> >  > > > Oops.  I meant replaced with a phase-listener, not a filter.
> >  > > >
> >  > >
> >  > >
> >  > > --
> >  > >
> >  > > _http://www.irian.at_ <http://www.irian.at/>
> >  > >
> >  > > Your JSF powerhouse -
> >  > > JSF Consulting, Development and
> >  > > Courses in English and German
> >  > >
> >  > > Professional Support for Apache MyFaces
> >  > >
> >  >
> >  >
> >
> >
> > --
> >
> > _http://www.irian.at_ <http://www.irian.at/>
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
> >
> >
> > --
> >
> >
> > _http://www.irian.at_ <http://www.irian.at/>
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
> >
>
>
> --
> Dave Brondsema : [EMAIL PROTECTED]
> http://www.brondsema.net : personal
> http://www.splike.com : programming
>                 <><
>
>
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to