javasf@googlegroups.com
[Top] [All Lists]

Re: [javasf] [OFF] richfaces toolbar alguem pode ajudar

Subject: Re: [javasf] [OFF] richfaces toolbar alguem pode ajudar
From: Rafael Trindade Chiappetta
Date: Tue, 30 Mar 2010 15:56:53 -0300
você colocou seu menu dentro de um <h:form></h:form> ?
      

=====
Rafael Trindade Chiappetta



2010/3/30 Bruno Maomeh <brunomaomeh@xxxxxxxxx>
cola essa index.jsp

Em 30 de março de 2010 15:27, Rafael A. de Oliveira <rafael170985@xxxxxxxxx> escreveu:

Isso mesmo quando estiver an index e acionar o botao iria para a pagina cadastro, mas isso nao esta acontecendo nao acontece nada...

Ja to ficnado desesperado e mto simples o probelma para ficar td esse tempo procurando...rsrsrs

Abraços!

Em 30 de março de 2010 15:10, Bruno Maomeh <brunomaomeh@xxxxxxxxx> escreveu:

e qual problema você teve?


<from-view-id>/sys/funcionario/index.jsp</from-view-id>
com isso você está falando que só quando estiver nessa página (...index.jsp) ele irá acionar essa navegação..
a regra é essa mesmo?

Em 30 de março de 2010 14:39, Rafael A. de Oliveira <rafael170985@xxxxxxxxx> escreveu:

Cara eo seguinte ficaria assim? ja tentei de 2 formas.....

    <a4j:commandLink action="" value="aaa" ></a4j:commandLink>
 
E assim:

      <rich:menuItem value="Label aaBotao" action=""


Meu navigation rule esta assim:

    <navigation-rule>
        <display-name>sys/funcionario/index</display-name>
        <from-view-id>/sys/funcionario/index.jsp</from-view-id>
        <navigation-case>
            <from-outcome>adicionar</from-outcome>
            <to-view-id>/sys/funcionario/cadastro.jsp</to-view-id>
        </navigation-case>
    </navigation-rule>





Em 30 de março de 2010 13:39, Bruno Maomeh <brunomaomeh@xxxxxxxxx> escreveu:

sinceramente, eu prefiro chamar via _javascript_ mesmo..

mas nesse seu caso.. acho que fazendo assim dará certo..


    <rich:toolBar height="25" itemSeparator="line">
        <rich:toolBarGroup>
            <rich:menuItem>
                <a4j:commandLink action="">
                    <h:graphicImage id="Add" value="Add.png" />
                </a4j:commandLink>

            </rich:menuItem>  
        </rich:toolBarGroup>
    </rich:toolBar>

mas creio que você terá que clicar em cima do Add.png, para a ação ser chamada..


Em 30 de março de 2010 13:30, Rafael A. de Oliveira <rafael170985@xxxxxxxxx> escreveu:

Eh bruno talvez seja isso mesmo, e que pensei em não fazer via _javascript_...

Se eu fizese uma navigation-rule tem como apartir do evento do command link ou o que quer que seja envia para a pagina?

Olha rafael pensei nisso...abaixo:

        <rich:toolBar height="25" itemSeparator="line">
        <rich:toolBarGroup>
            <h:graphicImage id="Add" value="Add.png" />
                    ???????? Aqui que não sei o que colocar ????
        </rich:menuItem>  
        </rich:toolBarGroup>
    </rich:toolBar>

Em 30 de março de 2010 13:21, Bruno Maomeh <brunomaomeh@xxxxxxxxx> escreveu:
vc não pode fazer um request normal? = 'tuaPagina.faces'"
algo assim.. ?

Em 30 de março de 2010 12:23, Rafael Trindade Chiappetta <rafaeltscs@xxxxxxxxx> escreveu:

como está o código da sua toolbox?

=====
Rafael Trindade Chiappetta




On Tue, Mar 30, 2010 at 11:44 AM, Rafael A. de Oliveira <rafael170985@xxxxxxxxx> wrote:
Sim sim ja vi estes exemplo ams como eu faço a ação deste botão chamar outra pagina..

2010/3/30 Bruno Hahn Barreto <brunohahn@xxxxxxxxxxx>

Oi Rafael,

Dá uma olhada na página de DEMOS do richfaces;

http://livedemo.exadel.com/richfaces-demo/richfaces/toolBar.jsf;jsessionid=6708E70673CA78649E9CB2341E840633?c=toolBar&tab=usage

lá tem um exemplo de uso da toolbar:

 


Transforme-se em personagens engraçados. Conheça o novo site de I Love Messenger.

--
http://groups.google.com/group/javasf
 
You received this message because you are subscribed to the Google
Groups "javasf: JavaServer Faces Group" group.
To post to this group, send email to javasf@xxxxxxxxxxxxxxxx
 
To unsubscribe from this group, send email to javasf+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.



--
-----------------------------------
Rafael A. de Oliveira
Analista de Sistemas.
(11) 8197-0270

--
http://groups.google.com/group/javasf
 
You received this message because you are subscribed to the Google
Groups "javasf: JavaServer Faces Group" group.
To post to this group, send email to javasf@xxxxxxxxxxxxxxxx
 
To unsubscribe from this group, send email to javasf+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

--
http://groups.google.com/group/javasf
 
You received this message because you are subscribed to the Google
Groups "javasf: JavaServer Faces Group" group.
To post to this group, send email to javasf@xxxxxxxxxxxxxxxx
 
To unsubscribe from this group, send email to javasf+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.



--
Bruno Maomeh
  http://brunomaomeh.wordpress.com

--
http://groups.google.com/group/javasf
 
You received this message because you are subscribed to the Google
Groups "javasf: JavaServer Faces Group" group.
To post to this group, send email to javasf@xxxxxxxxxxxxxxxx
 
To unsubscribe from this group, send email to javasf+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.



--
-----------------------------------
Rafael A. de Oliveira
Analista de Sistemas.
(11) 8197-0270

--
http://groups.google.com/group/javasf
 
You received this message because you are subscribed to the Google
Groups "javasf: JavaServer Faces Group" group.
To post to this group, send email to javasf@xxxxxxxxxxxxxxxx
 
To unsubscribe from this group, send email to javasf+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.



--
Bruno Maomeh
  http://brunomaomeh.wordpress.com

--
http://groups.google.com/group/javasf
 
You received this message because you are subscribed to the Google
Groups "javasf: JavaServer Faces Group" group.
To post to this group, send email to javasf@xxxxxxxxxxxxxxxx
 
To unsubscribe from this group, send email to javasf+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.



--
-----------------------------------
Rafael A. de Oliveira
Analista de Sistemas.
(11) 8197-0270

--
http://groups.google.com/group/javasf
 
You received this message because you are subscribed to the Google
Groups "javasf: JavaServer Faces Group" group.
To post to this group, send email to javasf@xxxxxxxxxxxxxxxx
 
To unsubscribe from this group, send email to javasf+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.



--
Bruno Maomeh
  http://brunomaomeh.wordpress.com

--
http://groups.google.com/group/javasf
 
You received this message because you are subscribed to the Google
Groups "javasf: JavaServer Faces Group" group.
To post to this group, send email to javasf@xxxxxxxxxxxxxxxx
 
To unsubscribe from this group, send email to javasf+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.



--
-----------------------------------
Rafael A. de Oliveira
Analista de Sistemas.
(11) 8197-0270

--
http://groups.google.com/group/javasf
 
You received this message because you are subscribed to the Google
Groups "javasf: JavaServer Faces Group" group.
To post to this group, send email to javasf@xxxxxxxxxxxxxxxx
 
To unsubscribe from this group, send email to javasf+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.



--
Bruno Maomeh
  http://brunomaomeh.wordpress.com

--
http://groups.google.com/group/javasf
 
You received this message because you are subscribed to the Google
Groups "javasf: JavaServer Faces Group" group.
To post to this group, send email to javasf@xxxxxxxxxxxxxxxx
 
To unsubscribe from this group, send email to javasf+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

--
http://groups.google.com/group/javasf
 
You received this message because you are subscribed to the Google
Groups "javasf: JavaServer Faces Group" group.
To post to this group, send email to javasf@xxxxxxxxxxxxxxxx
 
To unsubscribe from this group, send email to javasf+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
<Prev in Thread] Current Thread [Next in Thread>