Will this work for your case ? (This time I am not answering but asking!!)

   @Parameter(defaultPrefix = BindingConstants.LITERAL)
   private String link;

   @SetupRender
   void setup(){
      if(link == null){
         link = resources.createEventLink("testEvent", new
Object[]{}).toAbsoluteURI();
      }
   }

regards
Taha


On Sun, Nov 28, 2010 at 3:48 PM, Alessio Gambi <[email protected]> wrote:

> On Sun, Nov 28, 2010 at 11:45 AM, Taha Hafeez <[email protected]
> >wrote:
>
> > Will this work ?
> >
> >   @Parameter(defaultPrefix = BindingConstants.LITERAL, value="testEvent")
>  private String event;
>
> This is not generating the exception (good) but is not what I want as I
> need
> the eventLink to be the parameter...
>
> I workaround this by "building" by hand the link itself.
>
> -- Alessio
>

Reply via email to