Hi Geert,
as always your code works fine, but I have not seen that there was a
method call clearing the global directly before rendering.
Sorry for wasting your time, :-[
erverything works fine now.
Ciao
Matze
Geert Bevin schrieb:
> Hi Matze,
>
> what does your site structure look like? Are you sure that the other
> element also have the same global variable?
> Best regards,
>
> Geert
>
> On 30 Aug 2007, at 20:19, Matthias Barmeier wrote:
>
>
>> Hi,
>>
>> this is for sure a simple question, but I cannot find an answer.
>> What I
>> want to achieve is that the expanded user name (full real name) and
>> name
>> of the company the user is assigned to will be displayed in the
>> header.
>>
>> I thought that a globalvar is perfect for this. I declared one
>> insite a
>> group where all relevant sub sites are in.
>>
>> <globalvar name="glcompany"/>
>>
>> When I set the var in my entry element which every user must pass
>> to get
>> access to the application I call setOutput("glcompany","myCompany").
>>
>> After this I can see that every exit URL has a parameter:
>>
>> ...?glcompany=myCompany
>>
>> Looks great I thought, but when I call getInput("glcompany") in the
>> next
>> processElement method I always get null.
>>
>> Searching the wiki was interesting but does not help.
>>
>> Where is my fault ??
>>
>> Thanks.
>>
>> Ciao
>> Matze
>>
>> --
>> -------------------------------------------------------
>> SOURCEPARK mbH Gesellschaft
>> für Softwareentwicklung
>>
>> Dipl.-Inform. Matthias Barmeier
>> Helmholtzstr. 2 - 9, Gebäude 6 (M)
>> 10587 Berlin
>>
>> Tel.: +49 (0) 30 / 39 80 68 30
>> Fax: +49 (0) 30 / 39 80 68 39
>> e-mail: [EMAIL PROTECTED]
>> www: www.sourcepark.de
>> ------------------------------------------------------
>>
>> Diese Email kann vertrauliche und/oder rechtlich
>> geschützte Informationen enthalten. Wenn sie nicht der
>> richtige Adressat sind oder diese E-Mail irrtümlich
>> erhalten haben, informieren Sie bitte sofort den
>> Absender und vernichten Sie diese E-Mail. Das unerlaubte
>> Kopieren sowie die unbefugte Weitergabe dieser E-Mail
>> ist nicht gestattet.
>>
>>
>>
>
> --
> Geert Bevin
> Terracotta - http://www.terracotta.org
> Uwyn "Use what you need" - http://uwyn.com
> RIFE Java application framework - http://rifers.org
> Music and words - http://gbevin.com
>
>
> >
>
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"rife-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---