Re: [Tomahawk Trinidad] Tomahawk's jsCookMenu seems to malfunction with Trinidad's PPR

2007-11-19 Thread Pedro Calcao
Greetings,

I solved this problem by explicitly setting the id of the t:jscookMenu
instead of letting it be handled automagically.

Seems like this id was getting scrambled somehow after a PPR request,
causing the next menu action not to be executed, after that, the menu
was reconstructed with a new ID and all worked like it should again. I
suppose this was caused by some mix up between the id's in the page,
and the id's stored in the server's copy of the component tree,
altough I cannot know for sure.

Best regards,
Pedro

On Nov 15, 2007 5:57 PM, Pedro Calcao [EMAIL PROTECTED] wrote:
 Hello,

 I currently face the exact same problem, everything works fine, except
 the request immediatly after a PPR. I have the content of the page and
 the menu in different forms (the menu in h:form and the content in
 tr:form). When I try to use a menu link after a PPR, the same page is
 redisplayed, if I try to do so again, it works correctly.

 I have tried to debug the myFacesHack.js that overrides the jscookmenu
 function, with no success, everything looks exactly the same, either
 following a PPR or not.

 Looking into the generated response after the first PPR request on a
 page, I see that the iframe element of the html has a copy of the
 jscookmenu currently on the page, with the same value for
 _jscook_action_Postscript, but I don't know what influence this might
 have on the next menu click.

 I would deeply appreciate any light anyone could shed on this subject.

 Thanks,

 Pedro


 On Nov 5, 2007 12:20 PM, Francisco Passos [EMAIL PROTECTED] wrote:
  Thank you for your help Alvaro.
 
  Try as I might, either with one form or with several forms, I can't get it
  to work. Are there any other things I might be doing (or not doing enough)
  that can cause this? Perhaps configuration parameters?
 
 
 
  Francisco
 
  On 10/31/07, alvaro tovar [EMAIL PROTECTED] wrote:
   i use myfaces 1.6, tomahawk 1.6
  
  
  
   On 10/31/07, Francisco Passos  [EMAIL PROTECTED] wrote:
Thank you Alvaro.
   
I can't get it to work though. What version of Tomahawk are you using?
  And are you using Sun RI or Myfaces?
   
   
Thank you,
Francisco
   
   
On 10/31/07, alvaro tovar [EMAIL PROTECTED] wrote:
 also the id of the form is jscook_action
 look my page

 %@ page contentType=text/html;charset=ISO-8859-1 language=java %
 %@ taglib uri= http://java.sun.com/jsf/html; prefix=h %
 %@ taglib uri=http://java.sun.com/jsf/core  prefix=f%
 %@ taglib uri= http://myfaces.apache.org/tomahawk; prefix=t%
 %@ taglib uri= http://myfaces.apache.org/sandbox  prefix=s%
 %@ taglib prefix=tiles uri=http://struts.apache.org/tags-tiles %

 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
 http://www.w3.org/TR/html4/loose.dtd;

 html

   head

 meta http-equiv=Content-Type content=text/html;
  charset=iso-8859-1 /
 link href=%=request.getContextPath()%/css/estilosHermes.css
  rel=stylesheet type=text/css /
 link href=%=request.getContextPath()%/css/hermes- bog.css
  rel=stylesheet type=text/css /
 link href=%=request.getContextPath()%/css/hermes-footer.css
  rel=stylesheet type=text/css /
 link href=%=request.getContextPath()%/css/hermes-header.css
  rel=stylesheet type=text/css /
 link href=%=request.getContextPath()%/css/hermes- jsf.css
  rel=stylesheet type=text/css /
   link href=%=request.getContextPath()%/css/menuhermes.css
  rel=stylesheet type=text/css //head

   f:view
   body

 f:verbatimdiv id=global/f:verbatim

   f:verbatimdiv id=cabecera/f:verbatim
   f:subview id=header
 tiles:insert attribute=header flush=false/
   /f:subview
   f:verbatim/div/f:verbatim
   f:verbatimdiv id=clear/div/f:verbatim

   f:verbatimdiv id=contenido/f:verbatim


 h:panelGrid columns=1
h:form id=jscook_action2
h:panelGroup id=opcionesHermes
  f:subview id=menuIzq 
 tiles:insert attribute=menu flush=false/
  /f:subview
 /h:panelGroup
  t:commandLink/%--no borrar, bug --%
 /h:form
 h:panelGroup

 h:panelGrid columns=1 cellspacing=5
  cellpadding=5

 h:panelGroup id=opcionesProyecto
  f:verbatimdiv id=izquierdaopciones
   pb/f:verbatim
h:outputText id=texto3Menu value=Usted
  puede acceder a los siguientes formularios para edición del proyecto:/
   f:verbatim/bbr //p/f:verbatim

   h:form id=jscook_action
   t:commandLink/%--no
  

Re: [Tomahawk Trinidad] Tomahawk's jsCookMenu seems to malfunction with Trinidad's PPR

2007-11-19 Thread Francisco Passos
After losing a great deal of time with that, I had postponed addressing that
issue in my app until a later non-specified time.

Thank you, it works!

Francisco

On Nov 19, 2007 11:05 AM, Pedro Calcao [EMAIL PROTECTED] wrote:

 Greetings,

 I solved this problem by explicitly setting the id of the t:jscookMenu
 instead of letting it be handled automagically.

 Seems like this id was getting scrambled somehow after a PPR request,
 causing the next menu action not to be executed, after that, the menu
 was reconstructed with a new ID and all worked like it should again. I
 suppose this was caused by some mix up between the id's in the page,
 and the id's stored in the server's copy of the component tree,
 altough I cannot know for sure.

 Best regards,
 Pedro

 On Nov 15, 2007 5:57 PM, Pedro Calcao [EMAIL PROTECTED] wrote:
  Hello,
 
  I currently face the exact same problem, everything works fine, except
  the request immediatly after a PPR. I have the content of the page and
  the menu in different forms (the menu in h:form and the content in
  tr:form). When I try to use a menu link after a PPR, the same page is
  redisplayed, if I try to do so again, it works correctly.
 
  I have tried to debug the myFacesHack.js that overrides the jscookmenu
  function, with no success, everything looks exactly the same, either
  following a PPR or not.
 
  Looking into the generated response after the first PPR request on a
  page, I see that the iframe element of the html has a copy of the
  jscookmenu currently on the page, with the same value for
  _jscook_action_Postscript, but I don't know what influence this might
  have on the next menu click.
 
  I would deeply appreciate any light anyone could shed on this subject.
 
  Thanks,
 
  Pedro
 
 
  On Nov 5, 2007 12:20 PM, Francisco Passos [EMAIL PROTECTED]
 wrote:
   Thank you for your help Alvaro.
  
   Try as I might, either with one form or with several forms, I can't
 get it
   to work. Are there any other things I might be doing (or not doing
 enough)
   that can cause this? Perhaps configuration parameters?
  
  
  
   Francisco
  
   On 10/31/07, alvaro tovar [EMAIL PROTECTED] wrote:
i use myfaces 1.6, tomahawk 1.6
   
   
   
On 10/31/07, Francisco Passos  [EMAIL PROTECTED] wrote:
 Thank you Alvaro.

 I can't get it to work though. What version of Tomahawk are you
 using?
   And are you using Sun RI or Myfaces?


 Thank you,
 Francisco


 On 10/31/07, alvaro tovar [EMAIL PROTECTED] wrote:
  also the id of the form is jscook_action
  look my page
 
  %@ page contentType=text/html;charset=ISO-8859-1
 language=java %
  %@ taglib uri= http://java.sun.com/jsf/html; prefix=h %
  %@ taglib uri=http://java.sun.com/jsf/core  prefix=f%
  %@ taglib uri= http://myfaces.apache.org/tomahawk;
 prefix=t%
  %@ taglib uri= http://myfaces.apache.org/sandbox 
 prefix=s%
  %@ taglib prefix=tiles uri=
 http://struts.apache.org/tags-tiles %
 
  !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
  http://www.w3.org/TR/html4/loose.dtd;
 
  html
 
head
 
  meta http-equiv=Content-Type content=text/html;
   charset=iso-8859-1 /
  link href=%=request.getContextPath
 ()%/css/estilosHermes.css
   rel=stylesheet type=text/css /
  link href=%=request.getContextPath()%/css/hermes-
 bog.css
   rel=stylesheet type=text/css /
  link href=%=request.getContextPath()%/css/hermes-
 footer.css
   rel=stylesheet type=text/css /
  link href=%=request.getContextPath()%/css/hermes-
 header.css
   rel=stylesheet type=text/css /
  link href=%=request.getContextPath()%/css/hermes-
 jsf.css
   rel=stylesheet type=text/css /
link href=%=request.getContextPath()%/css/menuhermes.css
   rel=stylesheet type=text/css //head
 
f:view
body
 
  f:verbatimdiv id=global/f:verbatim
 
f:verbatimdiv id=cabecera/f:verbatim
f:subview id=header
  tiles:insert attribute=header flush=false/
/f:subview
f:verbatim/div/f:verbatim
f:verbatimdiv id=clear/div/f:verbatim
 
f:verbatimdiv id=contenido/f:verbatim
 
 
  h:panelGrid columns=1
 h:form id=jscook_action2
 h:panelGroup id=opcionesHermes
   f:subview id=menuIzq 
  tiles:insert attribute=menu
 flush=false/
   /f:subview
  /h:panelGroup
   t:commandLink/%--no borrar, bug --%
  /h:form
  h:panelGroup
 
  h:panelGrid columns=1 cellspacing=5
   cellpadding=5
 
  h:panelGroup id=opcionesProyecto
   f:verbatimdiv
 id=izquierdaopciones
  

Re: [Tomahawk Trinidad] Tomahawk's jsCookMenu seems to malfunction with Trinidad's PPR

2007-11-15 Thread Pedro Calcao
Hello,

I currently face the exact same problem, everything works fine, except
the request immediatly after a PPR. I have the content of the page and
the menu in different forms (the menu in h:form and the content in
tr:form). When I try to use a menu link after a PPR, the same page is
redisplayed, if I try to do so again, it works correctly.

I have tried to debug the myFacesHack.js that overrides the jscookmenu
function, with no success, everything looks exactly the same, either
following a PPR or not.

Looking into the generated response after the first PPR request on a
page, I see that the iframe element of the html has a copy of the
jscookmenu currently on the page, with the same value for
_jscook_action_Postscript, but I don't know what influence this might
have on the next menu click.

I would deeply appreciate any light anyone could shed on this subject.

Thanks,

Pedro

On Nov 5, 2007 12:20 PM, Francisco Passos [EMAIL PROTECTED] wrote:
 Thank you for your help Alvaro.

 Try as I might, either with one form or with several forms, I can't get it
 to work. Are there any other things I might be doing (or not doing enough)
 that can cause this? Perhaps configuration parameters?



 Francisco

 On 10/31/07, alvaro tovar [EMAIL PROTECTED] wrote:
  i use myfaces 1.6, tomahawk 1.6
 
 
 
  On 10/31/07, Francisco Passos  [EMAIL PROTECTED] wrote:
   Thank you Alvaro.
  
   I can't get it to work though. What version of Tomahawk are you using?
 And are you using Sun RI or Myfaces?
  
  
   Thank you,
   Francisco
  
  
   On 10/31/07, alvaro tovar [EMAIL PROTECTED] wrote:
also the id of the form is jscook_action
look my page
   
%@ page contentType=text/html;charset=ISO-8859-1 language=java %
%@ taglib uri= http://java.sun.com/jsf/html; prefix=h %
%@ taglib uri=http://java.sun.com/jsf/core  prefix=f%
%@ taglib uri= http://myfaces.apache.org/tomahawk; prefix=t%
%@ taglib uri= http://myfaces.apache.org/sandbox  prefix=s%
%@ taglib prefix=tiles uri=http://struts.apache.org/tags-tiles %
   
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;
   
html
   
  head
   
meta http-equiv=Content-Type content=text/html;
 charset=iso-8859-1 /
link href=%=request.getContextPath()%/css/estilosHermes.css
 rel=stylesheet type=text/css /
link href=%=request.getContextPath()%/css/hermes- bog.css
 rel=stylesheet type=text/css /
link href=%=request.getContextPath()%/css/hermes-footer.css
 rel=stylesheet type=text/css /
link href=%=request.getContextPath()%/css/hermes-header.css
 rel=stylesheet type=text/css /
link href=%=request.getContextPath()%/css/hermes- jsf.css
 rel=stylesheet type=text/css /
  link href=%=request.getContextPath()%/css/menuhermes.css
 rel=stylesheet type=text/css //head
   
  f:view
  body
   
f:verbatimdiv id=global/f:verbatim
   
  f:verbatimdiv id=cabecera/f:verbatim
  f:subview id=header
tiles:insert attribute=header flush=false/
  /f:subview
  f:verbatim/div/f:verbatim
  f:verbatimdiv id=clear/div/f:verbatim
   
  f:verbatimdiv id=contenido/f:verbatim
   
   
h:panelGrid columns=1
   h:form id=jscook_action2
   h:panelGroup id=opcionesHermes
 f:subview id=menuIzq 
tiles:insert attribute=menu flush=false/
 /f:subview
/h:panelGroup
 t:commandLink/%--no borrar, bug --%
/h:form
h:panelGroup
   
h:panelGrid columns=1 cellspacing=5
 cellpadding=5
   
h:panelGroup id=opcionesProyecto
 f:verbatimdiv id=izquierdaopciones
  pb/f:verbatim
   h:outputText id=texto3Menu value=Usted
 puede acceder a los siguientes formularios para edición del proyecto:/
  f:verbatim/bbr //p/f:verbatim
   
  h:form id=jscook_action
  t:commandLink/%--no
 borrar, bug --%
  t:jscookMenu id=menuFormulario
 layout=hbl theme=ThemeOffice
   t:navigationMenuItem
 itemLabel=formularios Proyecto
   
   t:navigationMenuItem itemLabel=Datos
 básicos action=#{ manejadorMenuFormularios.iraDatosBasicos}
 rendered=#{manejadorMenuFormularios.posicionMenuActivo[0]}/
t:navigationMenuItem
 itemLabel=Empresas action=#{ manejadorMenuFormularios.iraEmpresas}
 rendered=#{(manejadorMenuFormularios.posicionMenuActivo[0]) 
 (manejadorMenuFormularios.esMostrarEmpresa)}/
   t:navigationMenuItem
 

Re: [Tomahawk Trinidad] Tomahawk's jsCookMenu seems to malfunction with Trinidad's PPR

2007-11-05 Thread Francisco Passos
Thank you for your help Alvaro.

Try as I might, either with one form or with several forms, I can't get it
to work. Are there any other things I might be doing (or not doing enough)
that can cause this? Perhaps configuration parameters?

Francisco

On 10/31/07, alvaro tovar [EMAIL PROTECTED] wrote:

 i use myfaces 1.6, tomahawk 1.6

 On 10/31/07, Francisco Passos [EMAIL PROTECTED] wrote:
 
  Thank you Alvaro.
 
  I can't get it to work though. What version of Tomahawk are you using?
  And are you using Sun RI or Myfaces?
 
  Thank you,
  Francisco
 
  On 10/31/07, alvaro tovar [EMAIL PROTECTED] wrote:
  
   also the id of the form is jscook_action
   look my page
  
   %@ page contentType=text/html;charset=ISO-8859-1 language=java %
   %@ taglib uri= http://java.sun.com/jsf/html; prefix=h %
   %@ taglib uri=http://java.sun.com/jsf/core  prefix=f%
   %@ taglib uri= http://myfaces.apache.org/tomahawk; prefix=t%
   %@ taglib uri= http://myfaces.apache.org/sandbox  prefix=s%
   %@ taglib prefix=tiles uri=http://struts.apache.org/tags-tiles %
  
   !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
   http://www.w3.org/TR/html4/loose.dtd;
  
   html
  
 head
  
   meta http-equiv=Content-Type content=text/html;
   charset=iso-8859-1 /
   link href=%=request.getContextPath()%/css/estilosHermes.css
   rel=stylesheet type=text/css /
   link href=%=request.getContextPath()%/css/hermes- bog.css
   rel=stylesheet type=text/css /
   link href=%=request.getContextPath()%/css/hermes-footer.css
   rel=stylesheet type=text/css /
   link href=%=request.getContextPath()%/css/hermes-header.css
   rel=stylesheet type=text/css /
   link href=%=request.getContextPath()%/css/hermes- jsf.css
   rel=stylesheet type=text/css /
 link href=%=request.getContextPath()%/css/menuhermes.css
   rel=stylesheet type=text/css //head
  
 f:view
 body
  
   f:verbatimdiv id=global/f:verbatim
  
 f:verbatimdiv id=cabecera/f:verbatim
 f:subview id=header
   tiles:insert attribute=header flush=false/
 /f:subview
 f:verbatim/div/f:verbatim
 f:verbatimdiv id=clear/div/f:verbatim
  
 f:verbatimdiv id=contenido/f:verbatim
  
  
   h:panelGrid columns=1
  h:form id=jscook_action2
  h:panelGroup id=opcionesHermes
f:subview id=menuIzq 
   tiles:insert attribute=menu flush=false/
/f:subview
   /h:panelGroup
t:commandLink/%--no borrar, bug --%
   /h:form
   h:panelGroup
  
   h:panelGrid columns=1 cellspacing=5
   cellpadding=5
  
   h:panelGroup id=opcionesProyecto
f:verbatimdiv id=izquierdaopciones
 pb/f:verbatim
  h:outputText id=texto3Menu value=Usted
   puede acceder a los siguientes formularios para edición del proyecto:/
 f:verbatim/bbr //p/f:verbatim
  
 h:form id=jscook_action
 t:commandLink/%--no
   borrar, bug --%
 t:jscookMenu id=menuFormulario
   layout=hbl theme=ThemeOffice
  t:navigationMenuItem
   itemLabel=formularios Proyecto
  
  t:navigationMenuItem itemLabel=Datos
   básicos action=#{ manejadorMenuFormularios.iraDatosBasicos}
   rendered=#{manejadorMenuFormularios.posicionMenuActivo[0]}/
   t:navigationMenuItem
   itemLabel=Empresas action=#{ manejadorMenuFormularios.iraEmpresas}
   rendered=#{(manejadorMenuFormularios.posicionMenuActivo[0])  (
   manejadorMenuFormularios.esMostrarEmpresa)}/
  t:navigationMenuItem
   itemLabel=Investigadores action=#{
   manejadorMenuFormularios.iraInvestigadores} rendered=#{
   manejadorMenuFormularios.posicionMenuActivo[1]}/
 t:navigationMenuItem
   itemLabel=Líneas action=#{ manejadorMenuFormularios.iraLineas}
   rendered=#{manejadorMenuFormularios.posicionMenuActivo[2]}/
 t:navigationMenuItem
   itemLabel=Objetivos y resultados action=#{
   manejadorMenuFormularios.iraObjetivosResultados} rendered=#{
   manejadorMenuFormularios.posicionMenuActivo[3]}/
t:navigationMenuItem
   itemLabel=Información específica action=#{
   manejadorMenuFormularios.iraInformacionEspecifica} rendered=#{
   manejadorMenuFormularios.posicionMenuActivo[4]}/
t:navigationMenuItem
   itemLabel=Actividades action=#{
   manejadorMenuFormularios.iraActividades} rendered=#{
   manejadorMenuFormularios.posicionMenuActivo[5]}/
 t:navigationMenuItem
  

[Tomahawk Trinidad] Tomahawk's jsCookMenu seems to malfunction with Trinidad's PPR

2007-10-31 Thread Francisco Passos
Good morning to all.

I've come to realize the following in an application using t:jsCookMenu and
Trinidad's PPR.

The menu always works properly, except if the last interaction with the web
app was a PPR request. In this case, selecting an option from the menu does
not send the user where intended, but instead a full page refresh of the
current page takes place. A second click (in the newly refreshed page)
always seems to work, but nevertheless now the last request is no longer a
PPR one.

Has anyone experienced this or has any idea what might be causing it?

More info: I'm using Trinidad 1.0.1 and Tomahawk 1.1.6 and have attempted to
migrate to Trinidad 1.0.2 and 1.0.3, but gave up on that because PPR ceases
to work on my app.

Thank you,
Francisco


Re: [Tomahawk Trinidad] Tomahawk's jsCookMenu seems to malfunction with Trinidad's PPR

2007-10-31 Thread alvaro tovar
yes, i solved this, using 2 form one for the jscookmenu and other for the
page

On 10/31/07, Francisco Passos [EMAIL PROTECTED] wrote:

 Good morning to all.

 I've come to realize the following in an application using t:jsCookMenu
 and Trinidad's PPR.

 The menu always works properly, except if the last interaction with the
 web app was a PPR request. In this case, selecting an option from the menu
 does not send the user where intended, but instead a full page refresh of
 the current page takes place. A second click (in the newly refreshed page)
 always seems to work, but nevertheless now the last request is no longer a
 PPR one.

 Has anyone experienced this or has any idea what might be causing it?

 More info: I'm using Trinidad 1.0.1 and Tomahawk 1.1.6 and have attempted
 to migrate to Trinidad 1.0.2 and 1.0.3, but gave up on that because PPR
 ceases to work on my app.

 Thank you,
 Francisco



Re: [Tomahawk Trinidad] Tomahawk's jsCookMenu seems to malfunction with Trinidad's PPR

2007-10-31 Thread Francisco Passos
Hello Alvaro, thanks for your hint.

Could you please post a copy of the xhtml you use for an example page? I've
tried placing jscookmenu within a form and the remainder of the page on a
different form, but the problem persists.

Thank you,
Francisco

On 10/31/07, alvaro tovar [EMAIL PROTECTED] wrote:

 yes, i solved this, using 2 form one for the jscookmenu and other for the
 page

 On 10/31/07, Francisco Passos  [EMAIL PROTECTED] wrote:
 
  Good morning to all.
 
  I've come to realize the following in an application using t:jsCookMenu
  and Trinidad's PPR.
 
  The menu always works properly, except if the last interaction with the
  web app was a PPR request. In this case, selecting an option from the menu
  does not send the user where intended, but instead a full page refresh of
  the current page takes place. A second click (in the newly refreshed page)
  always seems to work, but nevertheless now the last request is no longer a
  PPR one.
 
  Has anyone experienced this or has any idea what might be causing it?
 
  More info: I'm using Trinidad 1.0.1 and Tomahawk 1.1.6 and have
  attempted to migrate to Trinidad 1.0.2 and 1.0.3, but gave up on that
  because PPR ceases to work on my app.
 
  Thank you,
  Francisco
 




Re: [Tomahawk Trinidad] Tomahawk's jsCookMenu seems to malfunction with Trinidad's PPR

2007-10-31 Thread alvaro tovar
also the id of the form is jscook_action
look my page

%@ page contentType=text/html;charset=ISO-8859-1 language=java %
%@ taglib uri=http://java.sun.com/jsf/html; prefix=h %
%@ taglib uri=http://java.sun.com/jsf/core; prefix=f%
%@ taglib uri=http://myfaces.apache.org/tomahawk; prefix=t%
%@ taglib uri=http://myfaces.apache.org/sandbox; prefix=s%
%@ taglib prefix=tiles uri=http://struts.apache.org/tags-tiles%

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;

html

  head

meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
/
link href=%=request.getContextPath()%/css/estilosHermes.css
rel=stylesheet type=text/css /
link href=%=request.getContextPath()%/css/hermes-bog.css
rel=stylesheet type=text/css /
link href=%=request.getContextPath()%/css/hermes-footer.css
rel=stylesheet type=text/css /
link href=%=request.getContextPath()%/css/hermes-header.css
rel=stylesheet type=text/css /
link href=%=request.getContextPath()%/css/hermes-jsf.css
rel=stylesheet type=text/css /
  link href=%=request.getContextPath()%/css/menuhermes.css
rel=stylesheet type=text/css //head

  f:view
  body

f:verbatimdiv id=global/f:verbatim

  f:verbatimdiv id=cabecera/f:verbatim
  f:subview id=header
tiles:insert attribute=header flush=false/
  /f:subview
  f:verbatim/div/f:verbatim
  f:verbatimdiv id=clear/div/f:verbatim

  f:verbatimdiv id=contenido/f:verbatim


h:panelGrid columns=1
   h:form id=jscook_action2
   h:panelGroup id=opcionesHermes
 f:subview id=menuIzq 
tiles:insert attribute=menu flush=false/
 /f:subview
/h:panelGroup
 t:commandLink/%--no borrar, bug --%
/h:form
h:panelGroup

h:panelGrid columns=1 cellspacing=5
cellpadding=5

h:panelGroup id=opcionesProyecto
 f:verbatimdiv id=izquierdaopciones
  pb/f:verbatim
   h:outputText id=texto3Menu value=Usted puede
acceder a los siguientes formularios para edición del proyecto:/
  f:verbatim/bbr //p/f:verbatim

  h:form id=jscook_action
  t:commandLink/%--no borrar,
bug --%
  t:jscookMenu id=menuFormulario layout=hbl
theme=ThemeOffice
   t:navigationMenuItem itemLabel=formularios
Proyecto

   t:navigationMenuItem itemLabel=Datos
básicos action=#{manejadorMenuFormularios.iraDatosBasicos} rendered=#{
manejadorMenuFormularios.posicionMenuActivo[0]}/
t:navigationMenuItem itemLabel=Empresas
action=#{manejadorMenuFormularios.iraEmpresas} rendered=#{(
manejadorMenuFormularios.posicionMenuActivo[0])  (
manejadorMenuFormularios.esMostrarEmpresa)}/
   t:navigationMenuItem
itemLabel=Investigadores action=#{
manejadorMenuFormularios.iraInvestigadores} rendered=#{
manejadorMenuFormularios.posicionMenuActivo[1]}/
  t:navigationMenuItem itemLabel=Líneas
action=#{manejadorMenuFormularios.iraLineas} rendered=#{
manejadorMenuFormularios.posicionMenuActivo[2]}/
  t:navigationMenuItem itemLabel=Objetivos
y resultados action=#{manejadorMenuFormularios.iraObjetivosResultados}
rendered=#{manejadorMenuFormularios.posicionMenuActivo[3]}/
 t:navigationMenuItem
itemLabel=Información específica action=#{
manejadorMenuFormularios.iraInformacionEspecifica} rendered=#{
manejadorMenuFormularios.posicionMenuActivo[4]}/
 t:navigationMenuItem
itemLabel=Actividades action=#{manejadorMenuFormularios.iraActividades}
rendered=#{manejadorMenuFormularios.posicionMenuActivo[5]}/
  t:navigationMenuItem
itemLabel=Actividades Investigador action=#{
manejadorMenuFormularios.iraActividadesPersona}  rendered=#{(
manejadorMenuFormularios.posicionMenuActivo[5])  (
manejadorMenuFormularios.esMostrarEmpresa)}/
  t:navigationMenuItem
itemLabel=Bibliografia action=#{manejadorMenuFormularios.iraBibliografia}
rendered=#{manejadorMenuFormularios.posicionMenuActivo[6]}/
  t:navigationMenuItem itemLabel=Áreas
temáticas action=#{manejadorMenuFormularios.iraAreasTematicas}
rendered=#{manejadorMenuFormularios.posicionMenuActivo[7]}/
   t:navigationMenuItem itemLabel=Productos
action=#{manejadorMenuFormularios.iraProductos} rendered=#{
manejadorMenuFormularios.posicionMenuActivo[8]}/
  t:navigationMenuItem
itemLabel=Evaluadores action=#{manejadorMenuFormularios.iraEvaluadores}

Re: [Tomahawk Trinidad] Tomahawk's jsCookMenu seems to malfunction with Trinidad's PPR

2007-10-31 Thread Francisco Passos
Thank you Alvaro.

I can't get it to work though. What version of Tomahawk are you using? And
are you using Sun RI or Myfaces?

Thank you,
Francisco

On 10/31/07, alvaro tovar [EMAIL PROTECTED] wrote:

 also the id of the form is jscook_action
 look my page

 %@ page contentType=text/html;charset=ISO-8859-1 language=java %
 %@ taglib uri= http://java.sun.com/jsf/html; prefix=h %
 %@ taglib uri=http://java.sun.com/jsf/core; prefix=f%
 %@ taglib uri= http://myfaces.apache.org/tomahawk; prefix=t%
 %@ taglib uri=http://myfaces.apache.org/sandbox  prefix=s%
 %@ taglib prefix=tiles uri=http://struts.apache.org/tags-tiles%

 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
 http://www.w3.org/TR/html4/loose.dtd;

 html

   head

 meta http-equiv=Content-Type content=text/html;
 charset=iso-8859-1 /
 link href=%=request.getContextPath()%/css/estilosHermes.css
 rel=stylesheet type=text/css /
 link href=%=request.getContextPath()%/css/hermes- bog.css
 rel=stylesheet type=text/css /
 link href=%=request.getContextPath()%/css/hermes-footer.css
 rel=stylesheet type=text/css /
 link href=%=request.getContextPath()%/css/hermes-header.css
 rel=stylesheet type=text/css /
 link href=%=request.getContextPath()%/css/hermes- jsf.css
 rel=stylesheet type=text/css /
   link href=%=request.getContextPath()%/css/menuhermes.css
 rel=stylesheet type=text/css //head

   f:view
   body

 f:verbatimdiv id=global/f:verbatim

   f:verbatimdiv id=cabecera/f:verbatim
   f:subview id=header
 tiles:insert attribute=header flush=false/
   /f:subview
   f:verbatim/div/f:verbatim
   f:verbatimdiv id=clear/div/f:verbatim

   f:verbatimdiv id=contenido/f:verbatim


 h:panelGrid columns=1
h:form id=jscook_action2
h:panelGroup id=opcionesHermes
  f:subview id=menuIzq 
 tiles:insert attribute=menu flush=false/
  /f:subview
 /h:panelGroup
  t:commandLink/%--no borrar, bug --%
 /h:form
 h:panelGroup

 h:panelGrid columns=1 cellspacing=5
 cellpadding=5

 h:panelGroup id=opcionesProyecto
  f:verbatimdiv id=izquierdaopciones
   pb/f:verbatim
h:outputText id=texto3Menu value=Usted
 puede acceder a los siguientes formularios para edición del proyecto:/
   f:verbatim/bbr //p/f:verbatim

   h:form id=jscook_action
   t:commandLink/%--no
 borrar, bug --%
   t:jscookMenu id=menuFormulario
 layout=hbl theme=ThemeOffice
t:navigationMenuItem
 itemLabel=formularios Proyecto

t:navigationMenuItem itemLabel=Datos
 básicos action=#{ manejadorMenuFormularios.iraDatosBasicos}
 rendered=#{manejadorMenuFormularios.posicionMenuActivo[0]}/
 t:navigationMenuItem itemLabel=Empresas
 action=#{ manejadorMenuFormularios.iraEmpresas} rendered=#{(
 manejadorMenuFormularios.posicionMenuActivo[0])  (
 manejadorMenuFormularios.esMostrarEmpresa)}/
t:navigationMenuItem
 itemLabel=Investigadores action=#{
 manejadorMenuFormularios.iraInvestigadores} rendered=#{
 manejadorMenuFormularios.posicionMenuActivo[1]}/
   t:navigationMenuItem itemLabel=Líneas
 action=#{ manejadorMenuFormularios.iraLineas} rendered=#{
 manejadorMenuFormularios.posicionMenuActivo[2]}/
   t:navigationMenuItem
 itemLabel=Objetivos y resultados action=#{
 manejadorMenuFormularios.iraObjetivosResultados} rendered=#{
 manejadorMenuFormularios.posicionMenuActivo[3]}/
  t:navigationMenuItem
 itemLabel=Información específica action=#{
 manejadorMenuFormularios.iraInformacionEspecifica} rendered=#{
 manejadorMenuFormularios.posicionMenuActivo[4]}/
  t:navigationMenuItem
 itemLabel=Actividades action=#{ manejadorMenuFormularios.iraActividades}
 rendered=#{manejadorMenuFormularios.posicionMenuActivo[5]}/
   t:navigationMenuItem
 itemLabel=Actividades Investigador action=#{
 manejadorMenuFormularios.iraActividadesPersona}  rendered=#{(
 manejadorMenuFormularios.posicionMenuActivo[5])  (
 manejadorMenuFormularios.esMostrarEmpresa)}/
   t:navigationMenuItem
 itemLabel=Bibliografia action=#{
 manejadorMenuFormularios.iraBibliografia} rendered=#{
 manejadorMenuFormularios.posicionMenuActivo[6]}/
   t:navigationMenuItem itemLabel=Áreas
 temáticas action=#{ manejadorMenuFormularios.iraAreasTematicas}
 rendered=#{manejadorMenuFormularios.posicionMenuActivo[7]}/
 

Re: [Tomahawk Trinidad] Tomahawk's jsCookMenu seems to malfunction with Trinidad's PPR

2007-10-31 Thread alvaro tovar
i use myfaces 1.6, tomahawk 1.6

On 10/31/07, Francisco Passos [EMAIL PROTECTED] wrote:

 Thank you Alvaro.

 I can't get it to work though. What version of Tomahawk are you using? And
 are you using Sun RI or Myfaces?

 Thank you,
 Francisco

 On 10/31/07, alvaro tovar [EMAIL PROTECTED] wrote:
 
  also the id of the form is jscook_action
  look my page
 
  %@ page contentType=text/html;charset=ISO-8859-1 language=java %
  %@ taglib uri= http://java.sun.com/jsf/html; prefix=h %
  %@ taglib uri=http://java.sun.com/jsf/core  prefix=f%
  %@ taglib uri= http://myfaces.apache.org/tomahawk; prefix=t%
  %@ taglib uri= http://myfaces.apache.org/sandbox  prefix=s%
  %@ taglib prefix=tiles uri=http://struts.apache.org/tags-tiles %
 
  !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
  http://www.w3.org/TR/html4/loose.dtd;
 
  html
 
head
 
  meta http-equiv=Content-Type content=text/html;
  charset=iso-8859-1 /
  link href=%=request.getContextPath()%/css/estilosHermes.css
  rel=stylesheet type=text/css /
  link href=%=request.getContextPath()%/css/hermes- bog.css
  rel=stylesheet type=text/css /
  link href=%=request.getContextPath()%/css/hermes-footer.css
  rel=stylesheet type=text/css /
  link href=%=request.getContextPath()%/css/hermes-header.css
  rel=stylesheet type=text/css /
  link href=%=request.getContextPath()%/css/hermes- jsf.css
  rel=stylesheet type=text/css /
link href=%=request.getContextPath()%/css/menuhermes.css
  rel=stylesheet type=text/css //head
 
f:view
body
 
  f:verbatimdiv id=global/f:verbatim
 
f:verbatimdiv id=cabecera/f:verbatim
f:subview id=header
  tiles:insert attribute=header flush=false/
/f:subview
f:verbatim/div/f:verbatim
f:verbatimdiv id=clear/div/f:verbatim
 
f:verbatimdiv id=contenido/f:verbatim
 
 
  h:panelGrid columns=1
 h:form id=jscook_action2
 h:panelGroup id=opcionesHermes
   f:subview id=menuIzq 
  tiles:insert attribute=menu flush=false/
   /f:subview
  /h:panelGroup
   t:commandLink/%--no borrar, bug --%
  /h:form
  h:panelGroup
 
  h:panelGrid columns=1 cellspacing=5
  cellpadding=5
 
  h:panelGroup id=opcionesProyecto
   f:verbatimdiv id=izquierdaopciones
pb/f:verbatim
 h:outputText id=texto3Menu value=Usted
  puede acceder a los siguientes formularios para edición del proyecto:/
f:verbatim/bbr //p/f:verbatim
 
h:form id=jscook_action
t:commandLink/%--no
  borrar, bug --%
t:jscookMenu id=menuFormulario
  layout=hbl theme=ThemeOffice
 t:navigationMenuItem
  itemLabel=formularios Proyecto
 
 t:navigationMenuItem itemLabel=Datos
  básicos action=#{ manejadorMenuFormularios.iraDatosBasicos}
  rendered=#{manejadorMenuFormularios.posicionMenuActivo[0]}/
  t:navigationMenuItem
  itemLabel=Empresas action=#{ manejadorMenuFormularios.iraEmpresas}
  rendered=#{(manejadorMenuFormularios.posicionMenuActivo[0])  (
  manejadorMenuFormularios.esMostrarEmpresa)}/
 t:navigationMenuItem
  itemLabel=Investigadores action=#{
  manejadorMenuFormularios.iraInvestigadores} rendered=#{
  manejadorMenuFormularios.posicionMenuActivo[1]}/
t:navigationMenuItem
  itemLabel=Líneas action=#{ manejadorMenuFormularios.iraLineas}
  rendered=#{manejadorMenuFormularios.posicionMenuActivo[2]}/
t:navigationMenuItem
  itemLabel=Objetivos y resultados action=#{
  manejadorMenuFormularios.iraObjetivosResultados} rendered=#{
  manejadorMenuFormularios.posicionMenuActivo[3]}/
   t:navigationMenuItem
  itemLabel=Información específica action=#{
  manejadorMenuFormularios.iraInformacionEspecifica} rendered=#{
  manejadorMenuFormularios.posicionMenuActivo[4]}/
   t:navigationMenuItem
  itemLabel=Actividades action=#{
  manejadorMenuFormularios.iraActividades} rendered=#{
  manejadorMenuFormularios.posicionMenuActivo[5]}/
t:navigationMenuItem
  itemLabel=Actividades Investigador action=#{
  manejadorMenuFormularios.iraActividadesPersona}  rendered=#{(
  manejadorMenuFormularios.posicionMenuActivo[5])  (
  manejadorMenuFormularios.esMostrarEmpresa)}/
t:navigationMenuItem
  itemLabel=Bibliografia action=#{
  manejadorMenuFormularios.iraBibliografia} rendered=#{
  manejadorMenuFormularios.posicionMenuActivo[6]}/