AW: velocityPortlet and link

2004-09-03 Thread Bo van Weert

Acuse de recibo
   
SuAW: velocityPortlet and link 
document   
o: 
   
Ha sido   Boudewijn van Weert/srvNotes 
recibido   
por:   
   
Con   03/09/2004 09.36.45  
fecha: 
   





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



velocityPortlet and link

2004-09-02 Thread Ajonjolis
I have a problem with VelocityPortlets and VelocityPortletAction
My PortletA is define in registry  with default ActionA and TemplateA
In TemplateA i've got a link like this :
a href='$jslink.setAction(ActionB).addQueryData(eventSubmit_doDetail , 1)More 
Info/a

When i want to go to the DoDetail , it execute fine and there I set another template 
with de setTemplate(rundata, TemplateB), but when  finalize the execution of method 
doDetail, inmediatly execute  the buildNormalContext of ActionA again, and so never 
foward to templateB.


What it´s wrong here? I suppose the link is bad.  It's possible to execute 2 
differents actions (with there respective templates) in the same VelocityPortlet?

Really appreciate your help. 
Best regards
Alfonsina
 


AW: velocityPortlet and link

2004-09-02 Thread dp
Hello,

you cant change this behaviour :(

dave

-Ursprüngliche Nachricht-
Von: Ajonjolis [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 2. September 2004 18:57
An: [EMAIL PROTECTED]
Betreff: velocityPortlet and link


I have a problem with VelocityPortlets and VelocityPortletAction
My PortletA is define in registry  with default ActionA and TemplateA
In TemplateA i've got a link like this :
a href='$jslink.setAction(ActionB).addQueryData(eventSubmit_doDetail ,
1)More Info/a

When i want to go to the DoDetail , it execute fine and there I set another
template with de setTemplate(rundata, TemplateB), but when  finalize the
execution of method doDetail, inmediatly execute  the buildNormalContext of
ActionA again, and so never foward to templateB.


What it´s wrong here? I suppose the link is bad.  It's possible to execute 2
differents actions (with there respective templates) in the same
VelocityPortlet?

Really appreciate your help. 
Best regards
Alfonsina
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: velocityPortlet and link

2004-09-02 Thread Jeremy Ford
It looksl like the problem is in the fact that you have the setAction.  Try 
removing this.  Also, you may want to add the portlet id to the URL 
(uniquely identifies which portlet should fire the action, otherwise, if 
another instance of the same portlet exists, its action might fire).

Jeremy Ford
[EMAIL PROTECTED]

From: Ajonjolis [EMAIL PROTECTED]
Reply-To: Jetspeed Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: velocityPortlet and link
Date: Thu, 2 Sep 2004 13:57:22 -0300
I have a problem with VelocityPortlets and VelocityPortletAction
My PortletA is define in registry  with default ActionA and TemplateA
In TemplateA i've got a link like this :
a href='$jslink.setAction(ActionB).addQueryData(eventSubmit_doDetail , 
1)More Info/a

When i want to go to the DoDetail , it execute fine and there I set another 
template with de setTemplate(rundata, TemplateB), but when  finalize the 
execution of method doDetail, inmediatly execute  the buildNormalContext of 
ActionA again, and so never foward to templateB.

What it´s wrong here? I suppose the link is bad.  It's possible to execute 
2 differents actions (with there respective templates) in the same 
VelocityPortlet?

Really appreciate your help.
Best regards
Alfonsina
_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AW: velocityPortlet and link

2004-09-02 Thread dp
Hello Jeremy,

so how has the link has to look like?

btw: how can I open an vm  action by javascript within a portlet?

thanks

-Ursprüngliche Nachricht-
Von: Jeremy Ford [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 2. September 2004 19:22
An: [EMAIL PROTECTED]
Betreff: RE: velocityPortlet and link


It looksl like the problem is in the fact that you have the setAction.  Try 
removing this.  Also, you may want to add the portlet id to the URL 
(uniquely identifies which portlet should fire the action, otherwise, if 
another instance of the same portlet exists, its action might fire).

Jeremy Ford
[EMAIL PROTECTED]


From: Ajonjolis [EMAIL PROTECTED]
Reply-To: Jetspeed Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: velocityPortlet and link
Date: Thu, 2 Sep 2004 13:57:22 -0300

I have a problem with VelocityPortlets and VelocityPortletAction
My PortletA is define in registry  with default ActionA and TemplateA
In TemplateA i've got a link like this :
a href='$jslink.setAction(ActionB).addQueryData(eventSubmit_doDetail ,

1)More Info/a

When i want to go to the DoDetail , it execute fine and there I set another

template with de setTemplate(rundata, TemplateB), but when  finalize the 
execution of method doDetail, inmediatly execute  the buildNormalContext of

ActionA again, and so never foward to templateB.


What it´s wrong here? I suppose the link is bad.  It's possible to execute 
2 differents actions (with there respective templates) in the same 
VelocityPortlet?

Really appreciate your help.
Best regards
Alfonsina


_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: velocityPortlet and link

2004-09-02 Thread Ajonjolis
But if i remove the setAction(), how could i do to set the new action to my
portlet ?
With the portletID in the url, it behaves the same way.
Any other idea? The solution  would be to use only one Action, with the
logic of both ActionA and ActionB ?

Thank you very much
ALfonsina




- Original Message - 
From: Jeremy Ford [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:22 PM
Subject: RE: velocityPortlet and link


 It looksl like the problem is in the fact that you have the setAction.
Try
 removing this.  Also, you may want to add the portlet id to the URL
 (uniquely identifies which portlet should fire the action, otherwise, if
 another instance of the same portlet exists, its action might fire).

 Jeremy Ford
 [EMAIL PROTECTED]


 From: Ajonjolis [EMAIL PROTECTED]
 Reply-To: Jetspeed Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: velocityPortlet and link
 Date: Thu, 2 Sep 2004 13:57:22 -0300
 
 I have a problem with VelocityPortlets and VelocityPortletAction
 My PortletA is define in registry  with default ActionA and TemplateA
 In TemplateA i've got a link like this :
 a href='$jslink.setAction(ActionB).addQueryData(eventSubmit_doDetail
,
 1)More Info/a
 
 When i want to go to the DoDetail , it execute fine and there I set
another
 template with de setTemplate(rundata, TemplateB), but when  finalize
the
 execution of method doDetail, inmediatly execute  the buildNormalContext
of
 ActionA again, and so never foward to templateB.
 
 
 What it´s wrong here? I suppose the link is bad.  It's possible to
execute
 2 differents actions (with there respective templates) in the same
 VelocityPortlet?
 
 Really appreciate your help.
 Best regards
 Alfonsina
 

 _
 Is your PC infected? Get a FREE online computer virus scan from McAfee®
 Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: velocityPortlet and link

2004-09-02 Thread dp
maybe it's possible to add some querydata to the link an redirect within the
actionclass...

-Ursprüngliche Nachricht-
Von: Ajonjolis [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 2. September 2004 20:25
An: Jetspeed Users List; [EMAIL PROTECTED]
Betreff: Re: velocityPortlet and link


But if i remove the setAction(), how could i do to set the new action to my
portlet ?
With the portletID in the url, it behaves the same way.
Any other idea? The solution  would be to use only one Action, with the
logic of both ActionA and ActionB ?

Thank you very much
ALfonsina




- Original Message - 
From: Jeremy Ford [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:22 PM
Subject: RE: velocityPortlet and link


 It looksl like the problem is in the fact that you have the setAction.
Try
 removing this.  Also, you may want to add the portlet id to the URL
 (uniquely identifies which portlet should fire the action, otherwise, if
 another instance of the same portlet exists, its action might fire).

 Jeremy Ford
 [EMAIL PROTECTED]


 From: Ajonjolis [EMAIL PROTECTED]
 Reply-To: Jetspeed Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: velocityPortlet and link
 Date: Thu, 2 Sep 2004 13:57:22 -0300
 
 I have a problem with VelocityPortlets and VelocityPortletAction
 My PortletA is define in registry  with default ActionA and TemplateA
 In TemplateA i've got a link like this :
 a href='$jslink.setAction(ActionB).addQueryData(eventSubmit_doDetail
,
 1)More Info/a
 
 When i want to go to the DoDetail , it execute fine and there I set
another
 template with de setTemplate(rundata, TemplateB), but when  finalize
the
 execution of method doDetail, inmediatly execute  the buildNormalContext
of
 ActionA again, and so never foward to templateB.
 
 
 What it´s wrong here? I suppose the link is bad.  It's possible to
execute
 2 differents actions (with there respective templates) in the same
 VelocityPortlet?
 
 Really appreciate your help.
 Best regards
 Alfonsina
 

 _
 Is your PC infected? Get a FREE online computer virus scan from McAfee®
 Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: AW: velocityPortlet and link

2004-09-02 Thread Jeremy Ford
The link should look like $jslink.addPathInfo(js_peid, 
$portlet.ID).addQueryData(eventSubmit_doDetail , 1)

To use javascript, try this:
form name=myform action=$jslink.addPathInfo(js_peid, 
$portlet.ID).addQueryData(eventSubmit_doDetail , 1)

/form
script
 function submitMyform() {
  document.myform.submit();
 }
/script

From: dp [EMAIL PROTECTED]
Reply-To: Jetspeed Users List [EMAIL PROTECTED]
To: 'Jetspeed Users List' 
[EMAIL PROTECTED],[EMAIL PROTECTED]
Subject: AW: velocityPortlet and link
Date: Thu, 2 Sep 2004 19:34:45 +0200

Hello Jeremy,
so how has the link has to look like?
btw: how can I open an vm  action by javascript within a portlet?
thanks
-Ursprüngliche Nachricht-
Von: Jeremy Ford [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 2. September 2004 19:22
An: [EMAIL PROTECTED]
Betreff: RE: velocityPortlet and link
It looksl like the problem is in the fact that you have the setAction.  Try
removing this.  Also, you may want to add the portlet id to the URL
(uniquely identifies which portlet should fire the action, otherwise, if
another instance of the same portlet exists, its action might fire).
Jeremy Ford
[EMAIL PROTECTED]
From: Ajonjolis [EMAIL PROTECTED]
Reply-To: Jetspeed Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: velocityPortlet and link
Date: Thu, 2 Sep 2004 13:57:22 -0300

I have a problem with VelocityPortlets and VelocityPortletAction
My PortletA is define in registry  with default ActionA and TemplateA
In TemplateA i've got a link like this :
a href='$jslink.setAction(ActionB).addQueryData(eventSubmit_doDetail 
,

1)More Info/a

When i want to go to the DoDetail , it execute fine and there I set 
another

template with de setTemplate(rundata, TemplateB), but when  finalize 
the
execution of method doDetail, inmediatly execute  the buildNormalContext 
of

ActionA again, and so never foward to templateB.


What it´s wrong here? I suppose the link is bad.  It's possible to 
execute
2 differents actions (with there respective templates) in the same
VelocityPortlet?

Really appreciate your help.
Best regards
Alfonsina


_
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: AW: velocityPortlet and link

2004-09-02 Thread Jeremy Ford
Jetspeed is geared towards one action per portlet.  If you wish to use more 
than one action, you will need to put your action event into the main action 
that is used by your portlet.  You then should delegate to the other action 
which contains the actual logic.

Jeremy Ford
[EMAIL PROTECTED]

From: dp [EMAIL PROTECTED]
Reply-To: Jetspeed Users List [EMAIL PROTECTED]
To: 'Jetspeed Users List' [EMAIL PROTECTED]
Subject: AW: velocityPortlet and link
Date: Thu, 2 Sep 2004 20:28:06 +0200
maybe it's possible to add some querydata to the link an redirect within 
the
actionclass...

-Ursprüngliche Nachricht-
Von: Ajonjolis [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 2. September 2004 20:25
An: Jetspeed Users List; [EMAIL PROTECTED]
Betreff: Re: velocityPortlet and link
But if i remove the setAction(), how could i do to set the new action to my
portlet ?
With the portletID in the url, it behaves the same way.
Any other idea? The solution  would be to use only one Action, with the
logic of both ActionA and ActionB ?
Thank you very much
ALfonsina

- Original Message -
From: Jeremy Ford [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:22 PM
Subject: RE: velocityPortlet and link
 It looksl like the problem is in the fact that you have the setAction.
Try
 removing this.  Also, you may want to add the portlet id to the URL
 (uniquely identifies which portlet should fire the action, otherwise, if
 another instance of the same portlet exists, its action might fire).

 Jeremy Ford
 [EMAIL PROTECTED]


 From: Ajonjolis [EMAIL PROTECTED]
 Reply-To: Jetspeed Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: velocityPortlet and link
 Date: Thu, 2 Sep 2004 13:57:22 -0300
 
 I have a problem with VelocityPortlets and VelocityPortletAction
 My PortletA is define in registry  with default ActionA and TemplateA
 In TemplateA i've got a link like this :
 a 
href='$jslink.setAction(ActionB).addQueryData(eventSubmit_doDetail
,
 1)More Info/a
 
 When i want to go to the DoDetail , it execute fine and there I set
another
 template with de setTemplate(rundata, TemplateB), but when  finalize
the
 execution of method doDetail, inmediatly execute  the 
buildNormalContext
of
 ActionA again, and so never foward to templateB.
 
 
 What it´s wrong here? I suppose the link is bad.  It's possible to
execute
 2 differents actions (with there respective templates) in the same
 VelocityPortlet?
 
 Really appreciate your help.
 Best regards
 Alfonsina
 

 _
 Is your PC infected? Get a FREE online computer virus scan from McAfee®
 Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AW: velocityPortlet and link

2004-09-02 Thread Bo van Weert

Acuse de recibo
   
SuAW: velocityPortlet and link 
document   
o: 
   
Ha sido   Boudewijn van Weert/srvNotes 
recibido   
por:   
   
Con   02/09/2004 20.33.59  
fecha: 
   





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]