bdm:browsenavigation appending another attribute value pair

X-Application Version: 3.1.2, 3.1.1
Tamino Version : 3.1.1
Platform : Solaris 8
WebContainer : Tomcat 4.03
JDK Version : 1.3.1

bdm:browsenavigation generates a url with ?:pos=# entries, is there somway i can pass the another attribute value pair to get appeneded like type=4
http://localhost.localdomain/myproj/list.jsp?:pos=10&type=4.

Or is there a work around so that the url can be generated without using bdm:browsenavigation. I did check on bdm:directcommand it does not seem to support navigation commands.

Regards,
Amit

Hello,

I checked the source code of X-Application to find out a solution for your problem, but my search was not successful. Currently, the browsenavigation tag creates a hyperlink and does not ? like other tags ?support hyperlinks or HTML input tags. If it would support this feature you could write

<bdm:browsenavigation …><a href=?list.jsp?type=4?>next</bdm:browsenavigation>

I will discus your problem with my colleagues.

Perhaps, anyone else finds out a workaround.

If there is none, I hope, next week we can make a proposal how to change the source code of the browsenavigation tag for the support of HTML tags as and .

Bye,
Christian.

Thanks
I Appreciate.
Amit

Hi Amit,

today we have contributed a protype of the new browsenavigation- and loopnavigation tag.

With the modifications we made, it is possible to customize the parameters the way you like.

The following two alternatives should give you a hint, how to add a additional parameter into the
browsenavigation tag

I’ll use your URL for explanation:

code:
http://localhost.localdomain/myproj/list.jsp?:pos=10&type=4

.

  • 1. Anchors.
    If you use anchors for navigation, then it is quite easy to add the parameter. The following
    code snippet will show you how it might work:
    code:
      
    <bdm:browsenavigation module=“bdProp” document=“yourDocument” direction=“next”>
    <a href="localhost.localdomain/myproj/list.jsp?type=4>next
    </bdm:browsenavigation>


  • 2. Input-Submit-Button
    If you like to use submit buttons instead to navigate, then try the following proposal:
    code:
    	

    //define a hidden field with your parameter you want supply
    //by pressing the submit button, your parameter will be also transmitted


    <bdm:browsenavigation module=“bdProp” document=“yourDocument” direction=“next” form=“browseForm”>

    </bdm:browsenavigation>



I hope these suggestions will help you.

Bye
Thorsten
X-Application Version: 3.1.2, 3.1.1
Tamino Version : 3.1.1
Platform : NT, Win2k, Solaris, …
WebContainer : Tomcat 3.3
JDK Version : 1.3.1

thank you, thats what i wanted.
appreciated
amit

Thorsten Raab
where is the prototype available, if it is ?
thanks
Amit

Hi Amit,

you will find the protoype in the Contribution Forum.
The Topic is called Enhanced Browse- and LoopNavigation

Just press the following hyperlink to get there:

Enhanced Browse- and LoopNavigation

Bye Thorsten
X-Application Version: 3.1.2, 3.1.1
Tamino Version : 3.1.1
Platform : NT, Win2k, Solaris, …
WebContainer : Tomcat 3.3
JDK Version : 1.3.1